2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for courierlogger 0.10.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
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
='courierlogger'
730 PACKAGE_TARNAME
='courierlogger'
731 PACKAGE_VERSION
='0.10'
732 PACKAGE_STRING
='courierlogger 0.10'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="logger.c"
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 courierlogger 0.10 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/courierlogger]
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 courierlogger 0.10:";;
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
]
1488 --with-syslog=XXX syslog facility
[MAIL
]
1490 Some influential environment variables
:
1491 CC C compiler
command
1492 CFLAGS C compiler flags
1493 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1494 nonstandard directory
<lib dir
>
1495 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1496 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1497 you have headers
in a nonstandard directory
<include dir
>
1499 CXX C
++ compiler
command
1500 CXXFLAGS C
++ compiler flags
1501 CXXCPP C
++ preprocessor
1502 F77 Fortran
77 compiler
command
1503 FFLAGS Fortran
77 compiler flags
1505 Use these variables to override the choices made by
`configure' or to help
1506 it to find libraries and programs with nonstandard names/locations.
1508 Report bugs to <courier-users@lists.sourceforge.net>.
1513 if test "$ac_init_help" = "recursive"; then
1514 # If there are subdirs, report their specific --help.
1515 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1516 test -d "$ac_dir" || continue
1520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1523 # A ".." for each directory in $ac_dir_suffix.
1524 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1525 case $ac_top_builddir_sub in
1526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1530 ac_abs_top_builddir=$ac_pwd
1531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1532 # for backward compatibility:
1533 ac_top_builddir=$ac_top_build_prefix
1536 .) # We are building in place.
1538 ac_top_srcdir=$ac_top_builddir_sub
1539 ac_abs_top_srcdir=$ac_pwd ;;
1540 [\\/]* | ?:[\\/]* ) # Absolute name.
1541 ac_srcdir=$srcdir$ac_dir_suffix;
1542 ac_top_srcdir=$srcdir
1543 ac_abs_top_srcdir=$srcdir ;;
1545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1546 ac_top_srcdir=$ac_top_build_prefix$srcdir
1547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1551 cd "$ac_dir" || { ac_status=$?; continue; }
1552 # Check for guested configure.
1553 if test -f "$ac_srcdir/configure.gnu"; then
1555 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1556 elif test -f "$ac_srcdir/configure"; then
1558 $SHELL "$ac_srcdir/configure" --help=recursive
1560 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1562 cd "$ac_pwd" || { ac_status=$?; break; }
1566 test -n "$ac_init_help" && exit $ac_status
1567 if $ac_init_version; then
1569 courierlogger configure 0.10
1570 generated by GNU Autoconf 2.61
1572 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1573 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1574 This configure script is free software; the Free Software Foundation
1575 gives unlimited permission to copy, distribute and modify it.
1579 cat >config.log <<_ACEOF
1580 This file contains any messages produced by compilers while
1581 running configure, to aid debugging if configure makes a mistake.
1583 It was created by courierlogger $as_me 0.10, which was
1584 generated by GNU Autoconf 2.61. Invocation command line was
1596 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1597 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1598 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1599 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1600 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1602 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1603 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1605 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1606 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1607 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1608 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1609 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1610 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1611 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1619 test -z "$as_dir" && as_dir=.
1620 echo "PATH: $as_dir"
1636 # Keep a trace of the command line.
1637 # Strip out --no-create and --no-recursion so they do not pile up.
1638 # Strip out --silent because we don't want to record it for future runs.
1639 # Also quote any args containing shell meta-characters.
1640 # Make two passes to allow for proper duplicate-argument suppression.
1644 ac_must_keep_next=false
1650 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1652 | -silent | --silent | --silen | --sile | --sil)
1655 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1658 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1660 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1661 if test $ac_must_keep_next = true; then
1662 ac_must_keep_next=false # Got value, back to normal.
1665 *=* | --config-cache | -C | -disable-* | --disable-* \
1666 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1667 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1668 | -with-* | --with-* | -without-* | --without-* | --x)
1669 case "$ac_configure_args0 " in
1670 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1673 -* ) ac_must_keep_next=true ;;
1676 ac_configure_args="$ac_configure_args '$ac_arg'"
1681 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1682 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1684 # When interrupted or exit'd, cleanup temporary files, and complete
1685 # config.log. We remove comments because anyway the quotes in there
1686 # would cause problems or look ugly.
1687 # WARNING: Use '\'' to represent an apostrophe within the trap.
1688 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1689 trap 'exit_status=$?
1690 # Save into config.log some information that might help in debugging.
1695 ## ---------------- ##
1696 ## Cache variables. ##
1697 ## ---------------- ##
1700 # The following way of writing the cache mishandles newlines in values,
1702 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1703 eval ac_val=\$$ac_var
1707 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1708 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1711 _ | IFS | as_nl) ;; #(
1712 *) $as_unset $ac_var ;;
1717 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1718 *${as_nl}ac_space=\ *)
1720 "s/'\''/'\''\\\\'\'''\''/g;
1721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1724 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1732 ## ----------------- ##
1733 ## Output variables. ##
1734 ## ----------------- ##
1737 for ac_var in $ac_subst_vars
1739 eval ac_val=\$$ac_var
1741 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1743 echo "$ac_var='\''$ac_val'\''"
1747 if test -n "$ac_subst_files"; then
1749 ## ------------------- ##
1750 ## File substitutions. ##
1751 ## ------------------- ##
1754 for ac_var in $ac_subst_files
1756 eval ac_val=\$$ac_var
1758 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1760 echo "$ac_var='\''$ac_val'\''"
1765 if test -s confdefs.h; then
1775 test "$ac_signal" != 0 &&
1776 echo "$as_me: caught signal $ac_signal"
1777 echo "$as_me: exit $exit_status"
1779 rm -f core *.core core.conftest.* &&
1780 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1783 for ac_signal in 1 2 13 15; do
1784 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1788 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1789 rm -f -r conftest* confdefs.h
1791 # Predefined preprocessor variables.
1793 cat >>confdefs.h <<_ACEOF
1794 #define PACKAGE_NAME "$PACKAGE_NAME"
1798 cat >>confdefs.h <<_ACEOF
1799 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1808 cat >>confdefs.h <<_ACEOF
1809 #define PACKAGE_STRING "$PACKAGE_STRING"
1813 cat >>confdefs.h <<_ACEOF
1814 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1818 # Let the site file select an alternate cache file if it wants to.
1819 # Prefer explicitly selected file to automatically selected ones.
1820 if test -n "$CONFIG_SITE"; then
1821 set x "$CONFIG_SITE"
1822 elif test "x$prefix" != xNONE; then
1823 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1825 set x "$ac_default_prefix/share/config.site" \
1826 "$ac_default_prefix/etc/config.site"
1831 if test -r "$ac_site_file"; then
1832 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1833 echo "$as_me: loading site script $ac_site_file" >&6;}
1834 sed 's/^/| /' "$ac_site_file" >&5
1839 if test -r "$cache_file"; then
1840 # Some versions of bash will fail to source /dev/null (special
1841 # files actually), so we avoid doing that.
1842 if test -f "$cache_file"; then
1843 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1844 echo "$as_me: loading cache $cache_file" >&6;}
1846 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1847 *) . "./$cache_file";;
1851 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1852 echo "$as_me: creating cache $cache_file" >&6;}
1856 # Check that the precious variables saved in the cache have kept the same
1858 ac_cache_corrupted=false
1859 for ac_var in $ac_precious_vars; do
1860 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1861 eval ac_new_set=\$ac_env_${ac_var}_set
1862 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1863 eval ac_new_val=\$ac_env_${ac_var}_value
1864 case $ac_old_set,$ac_new_set in
1866 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1867 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1868 ac_cache_corrupted=: ;;
1870 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1871 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1872 ac_cache_corrupted=: ;;
1875 if test "x$ac_old_val" != "x$ac_new_val"; then
1876 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1877 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1878 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1879 echo "$as_me: former value
: $ac_old_val" >&2;}
1880 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1881 echo "$as_me: current value
: $ac_new_val" >&2;}
1882 ac_cache_corrupted=:
1885 # Pass precious variables to config.status.
1886 if test "$ac_new_set" = set; then
1888 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1889 *) ac_arg=$ac_var=$ac_new_val ;;
1891 case " $ac_configure_args " in
1892 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1893 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1897 if $ac_cache_corrupted; then
1898 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1899 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1900 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1901 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1902 { (exit 1); exit 1; }; }
1930 ac_cpp='$CPP $CPPFLAGS'
1931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1937 >confdefs.h # Kill PACKAGE_ macros.
1938 LPATH="$PATH:/usr/local/bin"
1940 am__api_version='1.10'
1943 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1944 if test -f "$ac_dir/install-sh"; then
1946 ac_install_sh="$ac_aux_dir/install-sh -c"
1948 elif test -f "$ac_dir/install.sh"; then
1950 ac_install_sh="$ac_aux_dir/install.sh -c"
1952 elif test -f "$ac_dir/shtool"; then
1954 ac_install_sh="$ac_aux_dir/shtool install -c"
1958 if test -z "$ac_aux_dir"; then
1959 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1960 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1961 { (exit 1); exit 1; }; }
1964 # These three variables are undocumented and unsupported,
1965 # and are intended to be withdrawn in a future Autoconf release.
1966 # They can cause serious problems if a builder's source tree is in a directory
1967 # whose full name contains unusual characters.
1968 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1969 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1970 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1973 # Find a good install program. We prefer a C program (faster),
1974 # so one script is as good as another. But avoid the broken or
1975 # incompatible versions:
1976 # SysV /etc/install, /usr/sbin/install
1977 # SunOS /usr/etc/install
1978 # IRIX /sbin/install
1980 # AmigaOS /C/install, which installs bootblocks on floppy discs
1981 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1982 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1983 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1984 # OS/2's system install, which has a completely different semantic
1985 # ./install, which can be erroneously created by make from ./install.sh.
1986 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1987 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1988 if test -z "$INSTALL"; then
1989 if test "${ac_cv_path_install+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1996 test -z "$as_dir" && as_dir=.
1997 # Account for people who put trailing slashes in PATH elements.
1999 ./ | .// | /cC/* | \
2000 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2001 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2004 # OSF1 and SCO ODT 3.0 have their own names for install.
2005 # Don't use installbsd from OSF since it installs stuff as root
2007 for ac_prog in ginstall scoinst install; do
2008 for ac_exec_ext in '' $ac_executable_extensions; do
2009 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2010 if test $ac_prog = install &&
2011 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2012 # AIX install. It has an incompatible calling convention.
2014 elif test $ac_prog = install &&
2015 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2016 # program-specific install script used by HP pwplus--don't use.
2019 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2032 if test "${ac_cv_path_install+set}" = set; then
2033 INSTALL=$ac_cv_path_install
2035 # As a last resort, use the slow shell script. Don't cache a
2036 # value for INSTALL within a source directory, because that will
2037 # break other packages using the cache if that directory is
2038 # removed, or if the value is a relative name.
2039 INSTALL=$ac_install_sh
2042 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2043 echo "${ECHO_T}$INSTALL" >&6; }
2045 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2046 # It thinks the first close brace ends the variable substitution.
2047 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2049 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2051 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2053 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2054 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2057 echo timestamp > conftest.file
2058 # Do `set' in a subshell so we don't clobber the current shell
's
2059 # arguments. Must try -L first in case configure is actually a
2060 # symlink; some systems play weird games with the mod time of symlinks
2061 # (eg FreeBSD returns the mod time of the symlink's containing
2064 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2065 if test "$*" = "X"; then
2067 set X
`ls -t $srcdir/configure conftest.file`
2070 if test "$*" != "X $srcdir/configure conftest.file" \
2071 && test "$*" != "X conftest.file $srcdir/configure"; then
2073 # If neither matched, then we have a broken ls. This can happen
2074 # if, for instance, CONFIG_SHELL is bash and it inherits a
2075 # broken ls alias from the environment. This has actually
2076 # happened. Such a system could not be considered "sane".
2077 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2078 alias in your environment" >&5
2079 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2080 alias in your environment" >&2;}
2081 { (exit 1); exit 1; }; }
2084 test "$2" = conftest.
file
2090 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2091 Check your system clock" >&5
2092 echo "$as_me: error: newly created file is older than distributed files!
2093 Check your system clock" >&2;}
2094 { (exit 1); exit 1; }; }
2096 { echo "$as_me:$LINENO: result: yes" >&5
2097 echo "${ECHO_T}yes" >&6; }
2098 test "$program_prefix" != NONE
&&
2099 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2100 # Use a double $ so make ignores it.
2101 test "$program_suffix" != NONE
&&
2102 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2103 # Double any \ or $. echo might interpret backslashes.
2104 # By default was `s,x,x', remove it if useless.
2105 cat <<\_ACEOF
>conftest.
sed
2106 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2108 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2111 # expand $ac_aux_dir to an absolute path
2112 am_aux_dir
=`cd $ac_aux_dir && pwd`
2114 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2115 # Use eval to expand $SHELL
2116 if eval "$MISSING --run true"; then
2117 am_missing_run
="$MISSING --run "
2120 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2121 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2124 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2125 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2126 if test -z "$MKDIR_P"; then
2127 if test "${ac_cv_path_mkdir+set}" = set; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2134 test -z "$as_dir" && as_dir
=.
2135 for ac_prog
in mkdir gmkdir
; do
2136 for ac_exec_ext
in '' $ac_executable_extensions; do
2137 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2138 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2139 'mkdir (GNU coreutils) '* | \
2140 'mkdir (coreutils) '* | \
2141 'mkdir (fileutils) '4.1*)
2142 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2152 if test "${ac_cv_path_mkdir+set}" = set; then
2153 MKDIR_P
="$ac_cv_path_mkdir -p"
2155 # As a last resort, use the slow shell script. Don't cache a
2156 # value for MKDIR_P within a source directory, because that will
2157 # break other packages using the cache if that directory is
2158 # removed, or if the value is a relative name.
2159 test -d .
/--version && rmdir .
/--version
2160 MKDIR_P
="$ac_install_sh -d"
2163 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2164 echo "${ECHO_T}$MKDIR_P" >&6; }
2168 [\\/$
]* | ?
:[\\/]*) ;;
2169 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2172 for ac_prog
in gawk mawk nawk
awk
2174 # Extract the first word of "$ac_prog", so it can be a program name with args.
2175 set dummy
$ac_prog; ac_word
=$2
2176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2178 if test "${ac_cv_prog_AWK+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 if test -n "$AWK"; then
2182 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2188 test -z "$as_dir" && as_dir
=.
2189 for ac_exec_ext
in '' $ac_executable_extensions; do
2190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191 ac_cv_prog_AWK
="$ac_prog"
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202 if test -n "$AWK"; then
2203 { echo "$as_me:$LINENO: result: $AWK" >&5
2204 echo "${ECHO_T}$AWK" >&6; }
2206 { echo "$as_me:$LINENO: result: no" >&5
2207 echo "${ECHO_T}no" >&6; }
2211 test -n "$AWK" && break
2214 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2215 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2216 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2217 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 cat >conftest.
make <<\_ACEOF
2223 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2225 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2226 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2228 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2230 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2234 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2235 { echo "$as_me:$LINENO: result: yes" >&5
2236 echo "${ECHO_T}yes" >&6; }
2239 { echo "$as_me:$LINENO: result: no" >&5
2240 echo "${ECHO_T}no" >&6; }
2241 SET_MAKE
="MAKE=${MAKE-make}"
2244 rm -rf .tst
2>/dev
/null
2245 mkdir .tst
2>/dev
/null
2246 if test -d .tst
; then
2251 rmdir .tst
2>/dev
/null
2253 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2254 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2255 # is not polluted with repeated "-I."
2256 am__isrc
=' -I$(srcdir)'
2257 # test to see if srcdir already configured
2258 if test -f $srcdir/config.status
; then
2259 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2260 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2261 { (exit 1); exit 1; }; }
2265 # test whether we have cygpath
2266 if test -z "$CYGPATH_W"; then
2267 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2268 CYGPATH_W
='cygpath -w'
2275 # Define the identity of the package.
2276 PACKAGE
='courierlogger'
2280 # Some tools Automake needs.
2282 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2285 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2288 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2291 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2294 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2296 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2298 # Installed binaries are usually stripped using `strip' when the user
2299 # run `make install-strip'. However `strip' might not be the right
2300 # tool to use in cross-compilation environments, therefore Automake
2301 # will honor the `STRIP' environment variable to overrule this program.
2302 if test "$cross_compiling" != no
; then
2303 if test -n "$ac_tool_prefix"; then
2304 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2305 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2308 if test "${ac_cv_prog_STRIP+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 if test -n "$STRIP"; then
2312 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir
=.
2319 for ac_exec_ext
in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 STRIP
=$ac_cv_prog_STRIP
2332 if test -n "$STRIP"; then
2333 { echo "$as_me:$LINENO: result: $STRIP" >&5
2334 echo "${ECHO_T}$STRIP" >&6; }
2336 { echo "$as_me:$LINENO: result: no" >&5
2337 echo "${ECHO_T}no" >&6; }
2342 if test -z "$ac_cv_prog_STRIP"; then
2344 # Extract the first word of "strip", so it can be a program name with args.
2345 set dummy strip
; ac_word
=$2
2346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2348 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 if test -n "$ac_ct_STRIP"; then
2352 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2358 test -z "$as_dir" && as_dir
=.
2359 for ac_exec_ext
in '' $ac_executable_extensions; do
2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361 ac_cv_prog_ac_ct_STRIP
="strip"
2362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2371 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2372 if test -n "$ac_ct_STRIP"; then
2373 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2374 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2376 { echo "$as_me:$LINENO: result: no" >&5
2377 echo "${ECHO_T}no" >&6; }
2380 if test "x$ac_ct_STRIP" = x
; then
2383 case $cross_compiling:$ac_tool_warned in
2385 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2386 whose name does not start with the host triplet. If you think this
2387 configuration is useful to you, please write to autoconf@gnu.org." >&5
2388 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2389 whose name does not start with the host triplet. If you think this
2390 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2391 ac_tool_warned
=yes ;;
2396 STRIP
="$ac_cv_prog_STRIP"
2400 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2402 # We need awk for the "check" target. The system "awk" is bad on
2404 # Always define AMTAR for backward compatibility.
2406 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2408 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2414 ac_config_headers
="$ac_config_headers config.h"
2418 ac_cpp
='$CPP $CPPFLAGS'
2419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2422 if test -n "$ac_tool_prefix"; then
2423 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2424 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2427 if test "${ac_cv_prog_CC+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 if test -n "$CC"; then
2431 ac_cv_prog_CC
="$CC" # Let the user override the test.
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 for ac_exec_ext
in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test -n "$CC"; then
2452 { echo "$as_me:$LINENO: result: $CC" >&5
2453 echo "${ECHO_T}$CC" >&6; }
2455 { echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6; }
2461 if test -z "$ac_cv_prog_CC"; then
2463 # Extract the first word of "gcc", so it can be a program name with args.
2464 set dummy gcc
; ac_word
=$2
2465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2467 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 if test -n "$ac_ct_CC"; then
2471 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2477 test -z "$as_dir" && as_dir
=.
2478 for ac_exec_ext
in '' $ac_executable_extensions; do
2479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480 ac_cv_prog_ac_ct_CC
="gcc"
2481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2491 if test -n "$ac_ct_CC"; then
2492 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2493 echo "${ECHO_T}$ac_ct_CC" >&6; }
2495 { echo "$as_me:$LINENO: result: no" >&5
2496 echo "${ECHO_T}no" >&6; }
2499 if test "x$ac_ct_CC" = x
; then
2502 case $cross_compiling:$ac_tool_warned in
2504 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2505 whose name does not start with the host triplet. If you think this
2506 configuration is useful to you, please write to autoconf@gnu.org." >&5
2507 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2508 whose name does not start with the host triplet. If you think this
2509 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2510 ac_tool_warned
=yes ;;
2518 if test -z "$CC"; then
2519 if test -n "$ac_tool_prefix"; then
2520 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2521 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2524 if test "${ac_cv_prog_CC+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 if test -n "$CC"; then
2528 ac_cv_prog_CC
="$CC" # Let the user override the test.
2530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2534 test -z "$as_dir" && as_dir
=.
2535 for ac_exec_ext
in '' $ac_executable_extensions; do
2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 if test -n "$CC"; then
2549 { echo "$as_me:$LINENO: result: $CC" >&5
2550 echo "${ECHO_T}$CC" >&6; }
2552 { echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6; }
2559 if test -z "$CC"; then
2560 # Extract the first word of "cc", so it can be a program name with args.
2561 set dummy cc
; ac_word
=$2
2562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2564 if test "${ac_cv_prog_CC+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 if test -n "$CC"; then
2568 ac_cv_prog_CC
="$CC" # Let the user override the test.
2571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2575 test -z "$as_dir" && as_dir
=.
2576 for ac_exec_ext
in '' $ac_executable_extensions; do
2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2578 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2579 ac_prog_rejected
=yes
2583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 if test $ac_prog_rejected = yes; then
2591 # We found a bogon in the path, so make sure we never use it.
2592 set dummy
$ac_cv_prog_CC
2594 if test $# != 0; then
2595 # We chose a different compiler from the bogus one.
2596 # However, it has the same basename, so the bogon will be chosen
2597 # first if we set CC to just the basename; use the full file name.
2599 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2605 if test -n "$CC"; then
2606 { echo "$as_me:$LINENO: result: $CC" >&5
2607 echo "${ECHO_T}$CC" >&6; }
2609 { echo "$as_me:$LINENO: result: no" >&5
2610 echo "${ECHO_T}no" >&6; }
2615 if test -z "$CC"; then
2616 if test -n "$ac_tool_prefix"; then
2617 for ac_prog
in cl.exe
2619 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2620 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2623 if test "${ac_cv_prog_CC+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 if test -n "$CC"; then
2627 ac_cv_prog_CC
="$CC" # Let the user override the test.
2629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2633 test -z "$as_dir" && as_dir
=.
2634 for ac_exec_ext
in '' $ac_executable_extensions; do
2635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2636 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2647 if test -n "$CC"; then
2648 { echo "$as_me:$LINENO: result: $CC" >&5
2649 echo "${ECHO_T}$CC" >&6; }
2651 { echo "$as_me:$LINENO: result: no" >&5
2652 echo "${ECHO_T}no" >&6; }
2656 test -n "$CC" && break
2659 if test -z "$CC"; then
2661 for ac_prog
in cl.exe
2663 # Extract the first word of "$ac_prog", so it can be a program name with args.
2664 set dummy
$ac_prog; ac_word
=$2
2665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 if test -n "$ac_ct_CC"; then
2671 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir
=.
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680 ac_cv_prog_ac_ct_CC
="$ac_prog"
2681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2691 if test -n "$ac_ct_CC"; then
2692 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2693 echo "${ECHO_T}$ac_ct_CC" >&6; }
2695 { echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6; }
2700 test -n "$ac_ct_CC" && break
2703 if test "x$ac_ct_CC" = x
; then
2706 case $cross_compiling:$ac_tool_warned in
2708 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2709 whose name does not start with the host triplet. If you think this
2710 configuration is useful to you, please write to autoconf@gnu.org." >&5
2711 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2712 whose name does not start with the host triplet. If you think this
2713 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2714 ac_tool_warned
=yes ;;
2723 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2724 See \`config.log' for more details." >&5
2725 echo "$as_me: error: no acceptable C compiler found in \$PATH
2726 See \`config.log' for more details." >&2;}
2727 { (exit 1); exit 1; }; }
2729 # Provide some information about the compiler.
2730 echo "$as_me:$LINENO: checking for C compiler version" >&5
2731 ac_compiler
=`set X $ac_compile; echo $2`
2732 { (ac_try
="$ac_compiler --version >&5"
2734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2738 (eval "$ac_compiler --version >&5") 2>&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }
2742 { (ac_try="$ac_compiler -v >&5"
2744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2745 *) ac_try_echo
=$ac_try;;
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_compiler -v >&5") 2>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }
2752 { (ac_try
="$ac_compiler -V >&5"
2754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2758 (eval "$ac_compiler -V >&5") 2>&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }
2763 cat >conftest.$ac_ext <<_ACEOF
2766 cat confdefs.h >>conftest.$ac_ext
2767 cat >>conftest.$ac_ext <<_ACEOF
2768 /* end confdefs.h. */
2778 ac_clean_files_save=$ac_clean_files
2779 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2780 # Try to create an executable without -o first, disregard a.out.
2781 # It will help us diagnose broken compilers, and finding out an intuition
2783 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2784 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2785 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2787 # List of possible output files, starting from the most likely.
2788 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2789 # only as a last resort. b.out is created by i960 compilers.
2790 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2792 # The IRIX 6 linker writes into existing files which may not be
2793 # executable, retaining their permissions. Remove them first so a
2794 # subsequent execution test works.
2796 for ac_file in $ac_files
2799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2800 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2805 if { (ac_try="$ac_link_default"
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2811 (eval "$ac_link_default") 2>&5
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; then
2815 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2816 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2817 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2818 # so that the user can short-circuit this test for compilers unknown to
2820 for ac_file
in $ac_files ''
2822 test -f "$ac_file" ||
continue
2824 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2827 # We found the default executable, but exeext='' is most
2831 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2833 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2835 # We set ac_cv_exeext here because the later test for it is not
2836 # safe: cross compilers may not add the suffix if given an `-o'
2837 # argument, so we may need to know it at that point already.
2838 # Even if this section looks crufty: it has the advantage of
2845 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2851 { echo "$as_me:$LINENO: result: $ac_file" >&5
2852 echo "${ECHO_T}$ac_file" >&6; }
2853 if test -z "$ac_file"; then
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.
$ac_ext >&5
2857 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2858 See \`config.log' for more details." >&5
2859 echo "$as_me: error: C compiler cannot create executables
2860 See \`config.log' for more details." >&2;}
2861 { (exit 77); exit 77; }; }
2864 ac_exeext
=$ac_cv_exeext
2866 # Check that the compiler produces executables we can run. If not, either
2867 # the compiler is broken, or we cross compile.
2868 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2869 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2870 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2871 # If not cross compiling, check that we can run a simple program.
2872 if test "$cross_compiling" != yes; then
2873 if { ac_try
='./$ac_file'
2874 { (case "(($ac_try" in
2875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2876 *) ac_try_echo=$ac_try;;
2878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2879 (eval "$ac_try") 2>&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; }; then
2885 if test "$cross_compiling" = maybe; then
2888 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2889 If you meant to cross compile, use \`--host'.
2890 See \`config.log' for more details.
" >&5
2891 echo "$as_me: error
: cannot run C compiled programs.
2892 If you meant to cross compile
, use \
`--host'.
2893 See \`config.log
' for more details." >&2;}
2894 { (exit 1); exit 1; }; }
2898 { echo "$as_me:$LINENO: result: yes" >&5
2899 echo "${ECHO_T}yes" >&6; }
2901 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2902 ac_clean_files=$ac_clean_files_save
2903 # Check that the compiler produces executables we can run. If not, either
2904 # the compiler is broken, or we cross compile.
2905 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2906 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2907 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2908 echo "${ECHO_T}$cross_compiling" >&6; }
2910 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2911 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2912 if { (ac_try="$ac_link"
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2918 (eval "$ac_link") 2>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; then
2922 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2923 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2924 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2926 for ac_file
in conftest.exe conftest conftest.
*; do
2927 test -f "$ac_file" ||
continue
2929 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2930 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2936 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2937 See \`config.log' for more details." >&5
2938 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2939 See \`config.log' for more details." >&2;}
2940 { (exit 1); exit 1; }; }
2943 rm -f conftest
$ac_cv_exeext
2944 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2945 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2947 rm -f conftest.
$ac_ext
2948 EXEEXT
=$ac_cv_exeext
2950 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2951 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2952 if test "${ac_cv_objext+set}" = set; then
2953 echo $ECHO_N "(cached) $ECHO_C" >&6
2955 cat >conftest.
$ac_ext <<_ACEOF
2958 cat confdefs.h
>>conftest.
$ac_ext
2959 cat >>conftest.
$ac_ext <<_ACEOF
2960 /* end confdefs.h. */
2970 rm -f conftest.o conftest.obj
2971 if { (ac_try
="$ac_compile"
2973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2977 (eval "$ac_compile") 2>&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; then
2981 for ac_file in conftest.o conftest.obj conftest.*; do
2982 test -f "$ac_file" || continue;
2984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2985 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2990 echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2993 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2994 See \`config.log
' for more details." >&5
2995 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2996 See \`config.log' for more details.
" >&2;}
2997 { (exit 1); exit 1; }; }
3000 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3002 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3003 echo "${ECHO_T}$ac_cv_objext" >&6; }
3004 OBJEXT=$ac_cv_objext
3006 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3007 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3008 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3009 echo $ECHO_N "(cached
) $ECHO_C" >&6
3011 cat >conftest.$ac_ext <<_ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3029 rm -f conftest.$ac_objext
3030 if { (ac_try="$ac_compile"
3032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033 *) ac_try_echo=$ac_try;;
3035 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3036 (eval "$ac_compile") 2>conftest.er1
3038 grep -v '^ *+' conftest.er1 >conftest.err
3040 cat conftest.err >&5
3041 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3042 (exit $ac_status); } && {
3043 test -z "$ac_c_werror_flag" ||
3044 test ! -s conftest.err
3045 } && test -s conftest.$ac_objext; then
3048 echo "$as_me: failed program was
:" >&5
3049 sed 's/^/| /' conftest.$ac_ext >&5
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3058 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3059 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3060 GCC=`test $ac_compiler_gnu = yes && echo yes`
3061 ac_test_CFLAGS=${CFLAGS+set}
3062 ac_save_CFLAGS=$CFLAGS
3063 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3064 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3065 if test "${ac_cv_prog_cc_g+set}" = set; then
3066 echo $ECHO_N "(cached
) $ECHO_C" >&6
3068 ac_save_c_werror_flag=$ac_c_werror_flag
3069 ac_c_werror_flag=yes
3072 cat >conftest.$ac_ext <<_ACEOF
3075 cat confdefs.h >>conftest.$ac_ext
3076 cat >>conftest.$ac_ext <<_ACEOF
3077 /* end confdefs.h. */
3087 rm -f conftest.$ac_objext
3088 if { (ac_try="$ac_compile"
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3094 (eval "$ac_compile") 2>conftest.er1
3096 grep -v '^ *+' conftest.er1 >conftest.err
3098 cat conftest.err >&5
3099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3100 (exit $ac_status); } && {
3101 test -z "$ac_c_werror_flag" ||
3102 test ! -s conftest.err
3103 } && test -s conftest.$ac_objext; then
3106 echo "$as_me: failed program was
:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3110 cat >conftest.$ac_ext <<_ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3125 rm -f conftest.$ac_objext
3126 if { (ac_try="$ac_compile"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3132 (eval "$ac_compile") 2>conftest.er1
3134 grep -v '^ *+' conftest.er1 >conftest.err
3136 cat conftest.err >&5
3137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3138 (exit $ac_status); } && {
3139 test -z "$ac_c_werror_flag" ||
3140 test ! -s conftest.err
3141 } && test -s conftest.$ac_objext; then
3144 echo "$as_me: failed program was
:" >&5
3145 sed 's/^/| /' conftest.$ac_ext >&5
3147 ac_c_werror_flag=$ac_save_c_werror_flag
3149 cat >conftest.$ac_ext <<_ACEOF
3152 cat confdefs.h >>conftest.$ac_ext
3153 cat >>conftest.$ac_ext <<_ACEOF
3154 /* end confdefs.h. */
3164 rm -f conftest.$ac_objext
3165 if { (ac_try="$ac_compile"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_compile") 2>conftest.er1
3173 grep -v '^ *+' conftest.er1 >conftest.err
3175 cat conftest.err >&5
3176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3177 (exit $ac_status); } && {
3178 test -z "$ac_c_werror_flag" ||
3179 test ! -s conftest.err
3180 } && test -s conftest.$ac_objext; then
3183 echo "$as_me: failed program was
:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196 ac_c_werror_flag=$ac_save_c_werror_flag
3198 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3199 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3200 if test "$ac_test_CFLAGS" = set; then
3201 CFLAGS=$ac_save_CFLAGS
3202 elif test $ac_cv_prog_cc_g = yes; then
3203 if test "$GCC" = yes; then
3209 if test "$GCC" = yes; then
3215 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3216 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3217 if test "${ac_cv_prog_cc_c89+set}" = set; then
3218 echo $ECHO_N "(cached
) $ECHO_C" >&6
3220 ac_cv_prog_cc_c89=no
3222 cat >conftest.$ac_ext <<_ACEOF
3225 cat confdefs.h >>conftest.$ac_ext
3226 cat >>conftest.$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3230 #include <sys/types.h>
3231 #include <sys/stat.h>
3232 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3233 struct buf { int x; };
3234 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3235 static char *e (p, i)
3241 static char *f (char * (*g) (char **, int), char **p, ...)
3246 s = g (p, va_arg (v,int));
3251 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3252 function prototypes and stuff, but not '\xHH' hex character constants.
3253 These don't provoke an error unfortunately, instead are silently treated
3254 as 'x'. The following induces an error, until -std is added to get
3255 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3256 array size at least. It's necessary to write '\x00'==0 to get something
3257 that's true only with -std. */
3258 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3260 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3261 inside strings and character constants. */
3263 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3265 int test (int i, double x);
3266 struct s1 {int (*f) (int a);};
3267 struct s2 {int (*f) (double a);};
3268 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3274 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3279 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3280 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3282 CC="$ac_save_CC $ac_arg"
3283 rm -f conftest.$ac_objext
3284 if { (ac_try="$ac_compile"
3286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287 *) ac_try_echo=$ac_try;;
3289 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3290 (eval "$ac_compile") 2>conftest.er1
3292 grep -v '^ *+' conftest.er1 >conftest.err
3294 cat conftest.err >&5
3295 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3296 (exit $ac_status); } && {
3297 test -z "$ac_c_werror_flag" ||
3298 test ! -s conftest.err
3299 } && test -s conftest.$ac_objext; then
3300 ac_cv_prog_cc_c89=$ac_arg
3302 echo "$as_me: failed program was
:" >&5
3303 sed 's/^/| /' conftest.$ac_ext >&5
3308 rm -f core conftest.err conftest.$ac_objext
3309 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3311 rm -f conftest.$ac_ext
3316 case "x
$ac_cv_prog_cc_c89" in
3318 { echo "$as_me:$LINENO: result
: none needed
" >&5
3319 echo "${ECHO_T}none needed
" >&6; } ;;
3321 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3322 echo "${ECHO_T}unsupported
" >&6; } ;;
3324 CC="$CC $ac_cv_prog_cc_c89"
3325 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3326 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3331 ac_cpp='$CPP $CPPFLAGS'
3332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3335 DEPDIR="${am__leading_dot}deps
"
3337 ac_config_commands="$ac_config_commands depfiles
"
3340 am_make=${MAKE-make}
3341 cat > confinc << 'END'
3346 # If we don't find an include directive, just comment out the code.
3347 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3348 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3352 # First try GNU make style include.
3353 echo "include confinc" > confmf
3354 # We grep out `Entering directory' and `Leaving directory'
3355 # messages which can occur if `w' ends up in MAKEFLAGS.
3356 # In particular we don't look at `^make:' because GNU make might
3357 # be invoked under some other name (usually "gmake"), in which
3358 # case it prints its new name instead of `make'.
3359 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3364 # Now try BSD make style include.
3365 if test "$am__include" = "#"; then
3366 echo '.include "confinc"' > confmf
3367 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3368 am__include
=.include
3375 { echo "$as_me:$LINENO: result: $_am_result" >&5
3376 echo "${ECHO_T}$_am_result" >&6; }
3377 rm -f confinc confmf
3379 # Check whether --enable-dependency-tracking was given.
3380 if test "${enable_dependency_tracking+set}" = set; then
3381 enableval
=$enable_dependency_tracking;
3384 if test "x$enable_dependency_tracking" != xno
; then
3385 am_depcomp
="$ac_aux_dir/depcomp"
3388 if test "x$enable_dependency_tracking" != xno; then
3398 depcc
="$CC" am_compiler_list
=
3400 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3401 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3402 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3403 echo $ECHO_N "(cached) $ECHO_C" >&6
3405 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3406 # We make a subdir and do the tests there. Otherwise we can end up
3407 # making bogus files that we don't know about and never remove. For
3408 # instance it was reported that on HP-UX the gcc test will end up
3409 # making a dummy file named `D' -- because `-MD' means `put the output
3412 # Copy depcomp to subdir because otherwise we won't find it if we're
3413 # using a relative directory.
3414 cp "$am_depcomp" conftest.dir
3416 # We will build objects and dependencies in a subdirectory because
3417 # it helps to detect inapplicable dependency modes. For instance
3418 # both Tru64's cc and ICC support -MD to output dependencies as a
3419 # side effect of compilation, but ICC will put the dependencies in
3420 # the current directory while Tru64 will put them in the object
3424 am_cv_CC_dependencies_compiler_type
=none
3425 if test "$am_compiler_list" = ""; then
3426 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3428 for depmode
in $am_compiler_list; do
3429 # Setup a source with many dependencies, because some compilers
3430 # like to wrap large dependency lists on column 80 (with \), and
3431 # we should not choose a depcomp mode which is confused by this.
3433 # We need to recreate these files for each test, as the compiler may
3434 # overwrite some of them when testing with obscure command lines.
3435 # This happens at least with the AIX C compiler.
3437 for i
in 1 2 3 4 5 6; do
3438 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3439 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3440 # Solaris 8's {/usr,}/bin/sh.
3441 touch sub
/conftst
$i.h
3443 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3447 # after this tag, mechanisms are not by side-effect, so they'll
3448 # only be used when explicitly requested
3449 if test "x$enable_dependency_tracking" = xyes
; then
3457 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3458 # mode. It turns out that the SunPro C++ compiler does not properly
3459 # handle `-M -o', and we need to detect this.
3460 if depmode
=$depmode \
3461 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3462 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3463 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3464 >/dev
/null
2>conftest.err
&&
3465 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3466 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3467 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3468 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3469 # icc doesn't choke on unknown options, it will just issue warnings
3470 # or remarks (even with -Werror). So we grep stderr for any message
3471 # that says an option was ignored or not supported.
3472 # When given -MP, icc 7.0 and 7.1 complain thusly:
3473 # icc: Command line warning: ignoring option '-M'; no argument required
3474 # The diagnosis changed in icc 8.0:
3475 # icc: Command line remark: option '-MP' not supported
3476 if (grep 'ignoring option' conftest.err ||
3477 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3478 am_cv_CC_dependencies_compiler_type
=$depmode
3487 am_cv_CC_dependencies_compiler_type
=none
3491 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3492 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3493 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3496 test "x$enable_dependency_tracking" != xno \
3497 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3499 am__fastdepCC_FALSE
='#'
3501 am__fastdepCC_TRUE
='#'
3502 am__fastdepCC_FALSE
=
3506 # Find a good install program. We prefer a C program (faster),
3507 # so one script is as good as another. But avoid the broken or
3508 # incompatible versions:
3509 # SysV /etc/install, /usr/sbin/install
3510 # SunOS /usr/etc/install
3511 # IRIX /sbin/install
3513 # AmigaOS /C/install, which installs bootblocks on floppy discs
3514 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3515 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3516 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3517 # OS/2's system install, which has a completely different semantic
3518 # ./install, which can be erroneously created by make from ./install.sh.
3519 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3520 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3521 if test -z "$INSTALL"; then
3522 if test "${ac_cv_path_install+set}" = set; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3529 test -z "$as_dir" && as_dir
=.
3530 # Account for people who put trailing slashes in PATH elements.
3532 .
/ | .
// |
/cC
/* | \
3533 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3534 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3537 # OSF1 and SCO ODT 3.0 have their own names for install.
3538 # Don't use installbsd from OSF since it installs stuff as root
3540 for ac_prog
in ginstall scoinst
install; do
3541 for ac_exec_ext
in '' $ac_executable_extensions; do
3542 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3543 if test $ac_prog = install &&
3544 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3545 # AIX install. It has an incompatible calling convention.
3547 elif test $ac_prog = install &&
3548 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3549 # program-specific install script used by HP pwplus--don't use.
3552 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3565 if test "${ac_cv_path_install+set}" = set; then
3566 INSTALL
=$ac_cv_path_install
3568 # As a last resort, use the slow shell script. Don't cache a
3569 # value for INSTALL within a source directory, because that will
3570 # break other packages using the cache if that directory is
3571 # removed, or if the value is a relative name.
3572 INSTALL
=$ac_install_sh
3575 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3576 echo "${ECHO_T}$INSTALL" >&6; }
3578 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3579 # It thinks the first close brace ends the variable substitution.
3580 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3582 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3584 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3586 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3587 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3589 if test "$LN_S" = "ln -s"; then
3590 { echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6; }
3593 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3594 echo "${ECHO_T}no, using $LN_S" >&6; }
3597 # Check whether --enable-shared was given.
3598 if test "${enable_shared+set}" = set; then
3599 enableval
=$enable_shared; p
=${PACKAGE-default}
3601 yes) enable_shared
=yes ;;
3602 no
) enable_shared
=no
;;
3605 # Look at the argument we got. We use all the common list separators.
3606 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3607 for pkg
in $enableval; do
3609 if test "X$pkg" = "X$p"; then
3621 # Check whether --enable-static was given.
3622 if test "${enable_static+set}" = set; then
3623 enableval
=$enable_static; p
=${PACKAGE-default}
3625 yes) enable_static
=yes ;;
3626 no
) enable_static
=no
;;
3629 # Look at the argument we got. We use all the common list separators.
3630 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3631 for pkg
in $enableval; do
3633 if test "X$pkg" = "X$p"; then
3645 # Check whether --enable-fast-install was given.
3646 if test "${enable_fast_install+set}" = set; then
3647 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3649 yes) enable_fast_install
=yes ;;
3650 no
) enable_fast_install
=no
;;
3652 enable_fast_install
=no
3653 # Look at the argument we got. We use all the common list separators.
3654 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3655 for pkg
in $enableval; do
3657 if test "X$pkg" = "X$p"; then
3658 enable_fast_install
=yes
3665 enable_fast_install
=yes
3669 # Make sure we can run config.sub.
3670 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3671 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3672 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3673 { (exit 1); exit 1; }; }
3675 { echo "$as_me:$LINENO: checking build system type" >&5
3676 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3677 if test "${ac_cv_build+set}" = set; then
3678 echo $ECHO_N "(cached) $ECHO_C" >&6
3680 ac_build_alias
=$build_alias
3681 test "x$ac_build_alias" = x
&&
3682 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3683 test "x$ac_build_alias" = x
&&
3684 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3685 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3686 { (exit 1); exit 1; }; }
3687 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3688 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3689 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3690 { (exit 1); exit 1; }; }
3693 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3694 echo "${ECHO_T}$ac_cv_build" >&6; }
3695 case $ac_cv_build in
3697 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3698 echo "$as_me: error: invalid value of canonical build" >&2;}
3699 { (exit 1); exit 1; }; };;
3702 ac_save_IFS
=$IFS; IFS
='-'
3708 # Remember, the first character of IFS is used to create $*,
3709 # except with old shells:
3712 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3715 { echo "$as_me:$LINENO: checking host system type" >&5
3716 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3717 if test "${ac_cv_host+set}" = set; then
3718 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 if test "x$host_alias" = x
; then
3721 ac_cv_host
=$ac_cv_build
3723 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3724 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3725 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3726 { (exit 1); exit 1; }; }
3730 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3731 echo "${ECHO_T}$ac_cv_host" >&6; }
3734 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3735 echo "$as_me: error: invalid value of canonical host" >&2;}
3736 { (exit 1); exit 1; }; };;
3739 ac_save_IFS
=$IFS; IFS
='-'
3745 # Remember, the first character of IFS is used to create $*,
3746 # except with old shells:
3749 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3752 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3753 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3754 if test "${lt_cv_path_SED+set}" = set; then
3755 echo $ECHO_N "(cached) $ECHO_C" >&6
3757 # Loop through the user's path and test for sed and gsed.
3758 # Then use that list of sed's as ones to test for truncation.
3759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3763 test -z "$as_dir" && as_dir
=.
3764 for lt_ac_prog
in sed gsed
; do
3765 for ac_exec_ext
in '' $ac_executable_extensions; do
3766 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3767 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3775 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3776 # along with /bin/sed that truncates output.
3777 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3778 test ! -f $lt_ac_sed && continue
3779 cat /dev
/null
> conftest.
in
3781 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3782 # Check for GNU sed and select it if it is found.
3783 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3784 lt_cv_path_SED
=$lt_ac_sed
3788 cat conftest.
in conftest.
in >conftest.tmp
3789 mv conftest.tmp conftest.
in
3790 cp conftest.
in conftest.
nl
3792 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3793 cmp -s conftest.out conftest.
nl ||
break
3794 # 10000 chars as input seems more than enough
3795 test $lt_ac_count -gt 10 && break
3796 lt_ac_count
=`expr $lt_ac_count + 1`
3797 if test $lt_ac_count -gt $lt_ac_max; then
3798 lt_ac_max
=$lt_ac_count
3799 lt_cv_path_SED
=$lt_ac_sed
3808 { echo "$as_me:$LINENO: result: $SED" >&5
3809 echo "${ECHO_T}$SED" >&6; }
3811 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3812 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3813 if test "${ac_cv_path_GREP+set}" = set; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3816 # Extract the first word of "grep ggrep" to use in msg output
3817 if test -z "$GREP"; then
3818 set dummy
grep ggrep
; ac_prog_name
=$2
3819 if test "${ac_cv_path_GREP+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 ac_path_GREP_found
=false
3823 # Loop through the user's path and test for each of PROGNAME-LIST
3824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3825 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3828 test -z "$as_dir" && as_dir
=.
3829 for ac_prog
in grep ggrep
; do
3830 for ac_exec_ext
in '' $ac_executable_extensions; do
3831 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3832 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3833 # Check for GNU ac_path_GREP and select it if it is found.
3834 # Check for GNU $ac_path_GREP
3835 case `"$ac_path_GREP" --version 2>&1` in
3837 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3840 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3843 cat "conftest.in" "conftest.in" >"conftest.tmp"
3844 mv "conftest.tmp" "conftest.in"
3845 cp "conftest.in" "conftest.nl"
3846 echo 'GREP' >> "conftest.nl"
3847 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3848 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3849 ac_count
=`expr $ac_count + 1`
3850 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3851 # Best one so far, save it but keep looking for a better one
3852 ac_cv_path_GREP
="$ac_path_GREP"
3853 ac_path_GREP_max
=$ac_count
3855 # 10*(2^10) chars as input seems more than enough
3856 test $ac_count -gt 10 && break
3858 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3862 $ac_path_GREP_found && break 3
3872 GREP
="$ac_cv_path_GREP"
3873 if test -z "$GREP"; then
3874 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3875 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3876 { (exit 1); exit 1; }; }
3880 ac_cv_path_GREP
=$GREP
3885 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3886 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3887 GREP
="$ac_cv_path_GREP"
3890 { echo "$as_me:$LINENO: checking for egrep" >&5
3891 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3892 if test "${ac_cv_path_EGREP+set}" = set; then
3893 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3896 then ac_cv_path_EGREP
="$GREP -E"
3898 # Extract the first word of "egrep" to use in msg output
3899 if test -z "$EGREP"; then
3900 set dummy
egrep; ac_prog_name
=$2
3901 if test "${ac_cv_path_EGREP+set}" = set; then
3902 echo $ECHO_N "(cached) $ECHO_C" >&6
3904 ac_path_EGREP_found
=false
3905 # Loop through the user's path and test for each of PROGNAME-LIST
3906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3907 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3910 test -z "$as_dir" && as_dir
=.
3911 for ac_prog
in egrep; do
3912 for ac_exec_ext
in '' $ac_executable_extensions; do
3913 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3914 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3915 # Check for GNU ac_path_EGREP and select it if it is found.
3916 # Check for GNU $ac_path_EGREP
3917 case `"$ac_path_EGREP" --version 2>&1` in
3919 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3922 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3925 cat "conftest.in" "conftest.in" >"conftest.tmp"
3926 mv "conftest.tmp" "conftest.in"
3927 cp "conftest.in" "conftest.nl"
3928 echo 'EGREP' >> "conftest.nl"
3929 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3930 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3931 ac_count
=`expr $ac_count + 1`
3932 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3933 # Best one so far, save it but keep looking for a better one
3934 ac_cv_path_EGREP
="$ac_path_EGREP"
3935 ac_path_EGREP_max
=$ac_count
3937 # 10*(2^10) chars as input seems more than enough
3938 test $ac_count -gt 10 && break
3940 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3944 $ac_path_EGREP_found && break 3
3954 EGREP
="$ac_cv_path_EGREP"
3955 if test -z "$EGREP"; then
3956 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3957 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3958 { (exit 1); exit 1; }; }
3962 ac_cv_path_EGREP
=$EGREP
3968 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3969 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3970 EGREP
="$ac_cv_path_EGREP"
3974 # Check whether --with-gnu-ld was given.
3975 if test "${with_gnu_ld+set}" = set; then
3976 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
3982 if test "$GCC" = yes; then
3983 # Check if gcc -print-prog-name=ld gives a path.
3984 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3985 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3988 # gcc leaves a trailing carriage return which upsets mingw
3989 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3991 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3994 # Accept absolute paths.
3996 re_direlt
='/[^/][^/]*/\.\./'
3997 # Canonicalize the pathname of ld
3998 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
3999 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4000 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4002 test -z "$LD" && LD
="$ac_prog"
4005 # If it fails, then pretend we aren't using GCC.
4009 # If it is relative, then search for the first ld in PATH.
4013 elif test "$with_gnu_ld" = yes; then
4014 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4015 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4017 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4018 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4020 if test "${lt_cv_path_LD+set}" = set; then
4021 echo $ECHO_N "(cached) $ECHO_C" >&6
4023 if test -z "$LD"; then
4024 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4025 for ac_dir
in $PATH; do
4027 test -z "$ac_dir" && ac_dir
=.
4028 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4029 lt_cv_path_LD
="$ac_dir/$ac_prog"
4030 # Check to see if the program is GNU ld. I'd rather use --version,
4031 # but apparently some variants of GNU ld only accept -v.
4032 # Break only if it was the GNU/non-GNU ld that we prefer.
4033 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4034 *GNU
* |
*'with BFD'*)
4035 test "$with_gnu_ld" != no
&& break
4038 test "$with_gnu_ld" != yes && break
4045 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4050 if test -n "$LD"; then
4051 { echo "$as_me:$LINENO: result: $LD" >&5
4052 echo "${ECHO_T}$LD" >&6; }
4054 { echo "$as_me:$LINENO: result: no" >&5
4055 echo "${ECHO_T}no" >&6; }
4057 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4058 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4059 { (exit 1); exit 1; }; }
4060 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4061 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4062 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4063 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4066 case `$LD -v 2>&1 </dev/null` in
4067 *GNU
* |
*'with BFD'*)
4068 lt_cv_prog_gnu_ld
=yes
4071 lt_cv_prog_gnu_ld
=no
4075 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4076 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4077 with_gnu_ld
=$lt_cv_prog_gnu_ld
4080 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4081 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4082 if test "${lt_cv_ld_reload_flag+set}" = set; then
4083 echo $ECHO_N "(cached) $ECHO_C" >&6
4085 lt_cv_ld_reload_flag
='-r'
4087 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4088 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4089 reload_flag
=$lt_cv_ld_reload_flag
4090 case $reload_flag in
4092 *) reload_flag
=" $reload_flag" ;;
4094 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4097 if test "$GCC" = yes; then
4098 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4100 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4105 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4106 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4107 if test "${lt_cv_path_NM+set}" = set; then
4108 echo $ECHO_N "(cached) $ECHO_C" >&6
4110 if test -n "$NM"; then
4111 # Let the user override the test.
4114 lt_nm_to_check
="${ac_tool_prefix}nm"
4115 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4116 lt_nm_to_check
="$lt_nm_to_check nm"
4118 for lt_tmp_nm
in $lt_nm_to_check; do
4119 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4120 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4122 test -z "$ac_dir" && ac_dir
=.
4123 tmp_nm
="$ac_dir/$lt_tmp_nm"
4124 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4125 # Check to see if the nm accepts a BSD-compat flag.
4126 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4127 # nm: unknown option "B" ignored
4128 # Tru64's nm complains that /dev/null is an invalid object file
4129 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4130 */dev
/null
* |
*'Invalid file or object type'*)
4131 lt_cv_path_NM
="$tmp_nm -B"
4135 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4137 lt_cv_path_NM
="$tmp_nm -p"
4141 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4142 continue # so that we can try to find one that supports BSD flags
4151 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4154 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4155 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4158 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4159 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4160 if test "${lt_cv_deplibs_check_method+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4164 lt_cv_file_magic_test_file
=
4165 lt_cv_deplibs_check_method
='unknown'
4166 # Need to set the preceding variable on all platforms that support
4167 # interlibrary dependencies.
4168 # 'none' -- dependencies not supported.
4169 # `unknown' -- same as none, but documents that we really don't know.
4170 # 'pass_all' -- all dependencies passed with no checks.
4171 # 'test_compile' -- check by making test program.
4172 # 'file_magic [[regex]]' -- check by looking for files in library path
4173 # which responds to the $file_magic_cmd with a given extended regex.
4174 # If you have `file' or equivalent on your system and you're not sure
4175 # whether `pass_all' will *always* work, you probably want this one.
4179 lt_cv_deplibs_check_method
=pass_all
4183 lt_cv_deplibs_check_method
=pass_all
4187 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4188 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4189 lt_cv_file_magic_test_file
=/shlib
/libc.so
4193 # func_win32_libid is a shell function defined in ltmain.sh
4194 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4195 lt_cv_file_magic_cmd
='func_win32_libid'
4199 # Base MSYS/MinGW do not provide the 'file' command needed by
4200 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4201 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4202 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4205 darwin
* | rhapsody
*)
4206 lt_cv_deplibs_check_method
=pass_all
4209 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4210 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4213 # Not sure whether the presence of OpenBSD here was a mistake.
4214 # Let's accept both of them until this is cleared up.
4215 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4216 lt_cv_file_magic_cmd
=/usr
/bin
/file
4217 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4221 lt_cv_deplibs_check_method
=pass_all
4226 lt_cv_deplibs_check_method
=pass_all
4229 hpux10.20
* | hpux11
*)
4230 lt_cv_file_magic_cmd
=/usr
/bin
/file
4233 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4234 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4237 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]'
4238 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4241 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4242 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4248 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4249 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4252 irix5
* | irix6
* | nonstopux
*)
4254 *-32|
*"-32 ") libmagic
=32-bit;;
4255 *-n32|
*"-n32 ") libmagic
=N32
;;
4256 *-64|
*"-64 ") libmagic
=64-bit;;
4257 *) libmagic
=never-match
;;
4259 lt_cv_deplibs_check_method
=pass_all
4262 # This must be Linux ELF.
4264 lt_cv_deplibs_check_method
=pass_all
4268 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4269 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4271 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4276 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4277 lt_cv_file_magic_cmd
=/usr
/bin
/file
4278 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4282 lt_cv_deplibs_check_method
=unknown
4286 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4287 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4289 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4293 osf3
* | osf4
* | osf5
*)
4294 lt_cv_deplibs_check_method
=pass_all
4298 lt_cv_deplibs_check_method
=pass_all
4302 case $host_vendor in
4304 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]'
4305 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4308 lt_cv_deplibs_check_method
=pass_all
4311 lt_cv_file_magic_cmd
='/bin/file'
4312 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4315 lt_cv_file_magic_cmd
='/bin/file'
4316 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4317 lt_cv_file_magic_test_file
=/lib
/libc.so
4320 lt_cv_deplibs_check_method
=pass_all
4323 lt_cv_deplibs_check_method
=pass_all
4328 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4329 lt_cv_deplibs_check_method
=pass_all
4334 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4335 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4336 file_magic_cmd
=$lt_cv_file_magic_cmd
4337 deplibs_check_method
=$lt_cv_deplibs_check_method
4338 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4343 # If no C compiler was specified, use CC.
4346 # If no C compiler flags were specified, use CFLAGS.
4347 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4349 # Allow CC to be a program name with arguments.
4353 # Check whether --enable-libtool-lock was given.
4354 if test "${enable_libtool_lock+set}" = set; then
4355 enableval
=$enable_libtool_lock;
4358 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4360 # Some flags need to be propagated to the compiler or linker for good
4364 # Find out which ABI we are using.
4365 echo 'int i;' > conftest.
$ac_ext
4366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4367 (eval $ac_compile) 2>&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); }; then
4371 case `/usr/bin/file conftest.$ac_objext` in
4383 # Find out which ABI we are using.
4384 echo '#line 4384 "configure"' > conftest.
$ac_ext
4385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4386 (eval $ac_compile) 2>&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); }; then
4390 if test "$lt_cv_prog_gnu_ld" = yes; then
4391 case `/usr/bin/file conftest.$ac_objext` in
4393 LD
="${LD-ld} -melf32bsmip"
4396 LD
="${LD-ld} -melf32bmipn32"
4399 LD
="${LD-ld} -melf64bmip"
4403 case `/usr/bin/file conftest.$ac_objext` in
4419 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4420 # Find out which ABI we are using.
4421 echo 'int i;' > conftest.
$ac_ext
4422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4423 (eval $ac_compile) 2>&5
4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 (exit $ac_status); }; then
4427 case `/usr/bin/file conftest.o` in
4431 LD
="${LD-ld} -m elf_i386"
4433 ppc64-
*linux
*|powerpc64-
*linux
*)
4434 LD
="${LD-ld} -m elf32ppclinux"
4437 LD
="${LD-ld} -m elf_s390"
4440 LD
="${LD-ld} -m elf32_sparc"
4447 LD
="${LD-ld} -m elf_x86_64"
4449 ppc
*-*linux
*|powerpc
*-*linux
*)
4450 LD
="${LD-ld} -m elf64ppc"
4453 LD
="${LD-ld} -m elf64_s390"
4456 LD
="${LD-ld} -m elf64_sparc"
4466 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4467 SAVE_CFLAGS
="$CFLAGS"
4468 CFLAGS
="$CFLAGS -belf"
4469 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4470 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4471 if test "${lt_cv_cc_needs_belf+set}" = set; then
4472 echo $ECHO_N "(cached) $ECHO_C" >&6
4475 ac_cpp
='$CPP $CPPFLAGS'
4476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4480 cat >conftest.
$ac_ext <<_ACEOF
4483 cat confdefs.h
>>conftest.
$ac_ext
4484 cat >>conftest.
$ac_ext <<_ACEOF
4485 /* end confdefs.h. */
4495 rm -f conftest.
$ac_objext conftest
$ac_exeext
4496 if { (ac_try
="$ac_link"
4498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4499 *) ac_try_echo=$ac_try;;
4501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4502 (eval "$ac_link") 2>conftest.er1
4504 grep -v '^ *+' conftest.er1 >conftest.err
4506 cat conftest.err >&5
4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508 (exit $ac_status); } && {
4509 test -z "$ac_c_werror_flag" ||
4510 test ! -s conftest.err
4511 } && test -s conftest$ac_exeext &&
4512 $as_test_x conftest$ac_exeext; then
4513 lt_cv_cc_needs_belf=yes
4515 echo "$as_me: failed program was:" >&5
4516 sed 's/^/| /' conftest.$ac_ext >&5
4518 lt_cv_cc_needs_belf=no
4521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4522 conftest$ac_exeext conftest.$ac_ext
4524 ac_cpp='$CPP $CPPFLAGS'
4525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4530 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4531 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4532 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4533 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4534 CFLAGS="$SAVE_CFLAGS"
4538 # Find out which ABI we are using.
4539 echo 'int i;' > conftest.$ac_ext
4540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4541 (eval $ac_compile) 2>&5
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); }; then
4545 case `/usr
/bin
/file conftest.o
` in
4547 case $lt_cv_prog_gnu_ld in
4548 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4549 *) LD="${LD-ld} -64" ;;
4560 need_locks="$enable_libtool_lock"
4564 ac_cpp='$CPP $CPPFLAGS'
4565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4568 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4569 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4570 # On Suns, sometimes $CPP names a directory.
4571 if test -n "$CPP" && test -d "$CPP"; then
4574 if test -z "$CPP"; then
4575 if test "${ac_cv_prog_CPP+set}" = set; then
4576 echo $ECHO_N "(cached) $ECHO_C" >&6
4578 # Double quotes because CPP needs to be expanded
4579 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4582 for ac_c_preproc_warn_flag in '' yes
4584 # Use a header file that comes with gcc, so configuring glibc
4585 # with a fresh cross-compiler works.
4586 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4587 # <limits.h> exists even on freestanding compilers.
4588 # On the NeXT, cc -E runs the code through the compiler's parser,
4589 # not just through cpp. "Syntax error" is here to catch this case.
4590 cat >conftest.$ac_ext <<_ACEOF
4593 cat confdefs.h >>conftest.$ac_ext
4594 cat >>conftest.$ac_ext <<_ACEOF
4595 /* end confdefs.h. */
4597 # include <limits.h>
4599 # include <assert.h>
4603 if { (ac_try="$ac_cpp conftest.$ac_ext"
4605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4606 *) ac_try_echo
=$ac_try;;
4608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4611 grep -v '^ *+' conftest.er1
>conftest.err
4613 cat conftest.err
>&5
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); } >/dev
/null
&& {
4616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4617 test ! -s conftest.err
4621 echo "$as_me: failed program was:" >&5
4622 sed 's/^/| /' conftest.
$ac_ext >&5
4624 # Broken: fails on valid input.
4628 rm -f conftest.err conftest.
$ac_ext
4630 # OK, works on sane cases. Now check whether nonexistent headers
4631 # can be detected and how.
4632 cat >conftest.
$ac_ext <<_ACEOF
4635 cat confdefs.h
>>conftest.
$ac_ext
4636 cat >>conftest.
$ac_ext <<_ACEOF
4637 /* end confdefs.h. */
4638 #include <ac_nonexistent.h>
4640 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4643 *) ac_try_echo=$ac_try;;
4645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4646 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4648 grep -v '^ *+' conftest.er1 >conftest.err
4650 cat conftest.err >&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); } >/dev/null && {
4653 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4654 test ! -s conftest.err
4656 # Broken: success on invalid input.
4659 echo "$as_me: failed program was:" >&5
4660 sed 's/^/| /' conftest.$ac_ext >&5
4662 # Passes both tests.
4667 rm -f conftest.err conftest.$ac_ext
4670 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4671 rm -f conftest.err conftest.
$ac_ext
4672 if $ac_preproc_ok; then
4684 { echo "$as_me:$LINENO: result: $CPP" >&5
4685 echo "${ECHO_T}$CPP" >&6; }
4687 for ac_c_preproc_warn_flag
in '' yes
4689 # Use a header file that comes with gcc, so configuring glibc
4690 # with a fresh cross-compiler works.
4691 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4692 # <limits.h> exists even on freestanding compilers.
4693 # On the NeXT, cc -E runs the code through the compiler's parser,
4694 # not just through cpp. "Syntax error" is here to catch this case.
4695 cat >conftest.
$ac_ext <<_ACEOF
4698 cat confdefs.h
>>conftest.
$ac_ext
4699 cat >>conftest.
$ac_ext <<_ACEOF
4700 /* end confdefs.h. */
4702 # include <limits.h>
4704 # include <assert.h>
4708 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4711 *) ac_try_echo=$ac_try;;
4713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4714 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4716 grep -v '^ *+' conftest.er1 >conftest.err
4718 cat conftest.err >&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); } >/dev/null && {
4721 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4722 test ! -s conftest.err
4726 echo "$as_me: failed program was:" >&5
4727 sed 's/^/| /' conftest.$ac_ext >&5
4729 # Broken: fails on valid input.
4733 rm -f conftest.err conftest.$ac_ext
4735 # OK, works on sane cases. Now check whether nonexistent headers
4736 # can be detected and how.
4737 cat >conftest.$ac_ext <<_ACEOF
4740 cat confdefs.h >>conftest.$ac_ext
4741 cat >>conftest.$ac_ext <<_ACEOF
4742 /* end confdefs.h. */
4743 #include <ac_nonexistent.h>
4745 if { (ac_try="$ac_cpp conftest.$ac_ext"
4747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4748 *) ac_try_echo
=$ac_try;;
4750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4751 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4753 grep -v '^ *+' conftest.er1
>conftest.err
4755 cat conftest.err
>&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); } >/dev
/null
&& {
4758 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4759 test ! -s conftest.err
4761 # Broken: success on invalid input.
4764 echo "$as_me: failed program was:" >&5
4765 sed 's/^/| /' conftest.
$ac_ext >&5
4767 # Passes both tests.
4772 rm -f conftest.err conftest.
$ac_ext
4775 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4776 rm -f conftest.err conftest.
$ac_ext
4777 if $ac_preproc_ok; then
4780 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4781 See \`config.log' for more details." >&5
4782 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4783 See \`config.log' for more details." >&2;}
4784 { (exit 1); exit 1; }; }
4788 ac_cpp
='$CPP $CPPFLAGS'
4789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4794 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4795 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4796 if test "${ac_cv_header_stdc+set}" = set; then
4797 echo $ECHO_N "(cached) $ECHO_C" >&6
4799 cat >conftest.
$ac_ext <<_ACEOF
4802 cat confdefs.h
>>conftest.
$ac_ext
4803 cat >>conftest.
$ac_ext <<_ACEOF
4804 /* end confdefs.h. */
4818 rm -f conftest.
$ac_objext
4819 if { (ac_try
="$ac_compile"
4821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4822 *) ac_try_echo=$ac_try;;
4824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4825 (eval "$ac_compile") 2>conftest.er1
4827 grep -v '^ *+' conftest.er1 >conftest.err
4829 cat conftest.err >&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); } && {
4832 test -z "$ac_c_werror_flag" ||
4833 test ! -s conftest.err
4834 } && test -s conftest.$ac_objext; then
4835 ac_cv_header_stdc=yes
4837 echo "$as_me: failed program was:" >&5
4838 sed 's/^/| /' conftest.$ac_ext >&5
4840 ac_cv_header_stdc=no
4843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845 if test $ac_cv_header_stdc = yes; then
4846 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4847 cat >conftest.$ac_ext <<_ACEOF
4850 cat confdefs.h >>conftest.$ac_ext
4851 cat >>conftest.$ac_ext <<_ACEOF
4852 /* end confdefs.h. */
4856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4857 $EGREP "memchr" >/dev/null 2>&1; then
4860 ac_cv_header_stdc=no
4866 if test $ac_cv_header_stdc = yes; then
4867 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4868 cat >conftest.$ac_ext <<_ACEOF
4871 cat confdefs.h >>conftest.$ac_ext
4872 cat >>conftest.$ac_ext <<_ACEOF
4873 /* end confdefs.h. */
4877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4878 $EGREP "free" >/dev/null 2>&1; then
4881 ac_cv_header_stdc=no
4887 if test $ac_cv_header_stdc = yes; then
4888 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4889 if test "$cross_compiling" = yes; then
4892 cat >conftest.$ac_ext <<_ACEOF
4895 cat confdefs.h >>conftest.$ac_ext
4896 cat >>conftest.$ac_ext <<_ACEOF
4897 /* end confdefs.h. */
4900 #if ((' ' & 0x0FF) == 0x020)
4901 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4902 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4904 # define ISLOWER(c) \
4905 (('a' <= (c) && (c) <= 'i') \
4906 || ('j' <= (c) && (c) <= 'r') \
4907 || ('s' <= (c) && (c) <= 'z'))
4908 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4911 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4916 for (i = 0; i < 256; i++)
4917 if (XOR (islower (i), ISLOWER (i))
4918 || toupper (i) != TOUPPER (i))
4923 rm -f conftest$ac_exeext
4924 if { (ac_try="$ac_link"
4926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4927 *) ac_try_echo
=$ac_try;;
4929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4930 (eval "$ac_link") 2>&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4934 { (case "(($ac_try" in
4935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4936 *) ac_try_echo=$ac_try;;
4938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4939 (eval "$ac_try") 2>&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); }; }; then
4945 echo "$as_me: program exited with status $ac_status" >&5
4946 echo "$as_me: failed program was:" >&5
4947 sed 's/^/| /' conftest.$ac_ext >&5
4950 ac_cv_header_stdc=no
4952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4958 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4959 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4960 if test $ac_cv_header_stdc = yes; then
4962 cat >>confdefs.h <<\_ACEOF
4963 #define STDC_HEADERS 1
4968 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4978 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4979 inttypes.h stdint.h unistd.h
4981 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4982 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4984 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6
4987 cat >conftest.$ac_ext <<_ACEOF
4990 cat confdefs.h >>conftest.$ac_ext
4991 cat >>conftest.$ac_ext <<_ACEOF
4992 /* end confdefs.h. */
4993 $ac_includes_default
4995 #include <$ac_header>
4997 rm -f conftest.$ac_objext
4998 if { (ac_try="$ac_compile"
5000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5001 *) ac_try_echo
=$ac_try;;
5003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5004 (eval "$ac_compile") 2>conftest.er1
5006 grep -v '^ *+' conftest.er1
>conftest.err
5008 cat conftest.err
>&5
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); } && {
5011 test -z "$ac_c_werror_flag" ||
5012 test ! -s conftest.err
5013 } && test -s conftest.
$ac_objext; then
5014 eval "$as_ac_Header=yes"
5016 echo "$as_me: failed program was:" >&5
5017 sed 's/^/| /' conftest.
$ac_ext >&5
5019 eval "$as_ac_Header=no"
5022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5024 ac_res
=`eval echo '${'$as_ac_Header'}'`
5025 { echo "$as_me:$LINENO: result: $ac_res" >&5
5026 echo "${ECHO_T}$ac_res" >&6; }
5027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5028 cat >>confdefs.h
<<_ACEOF
5029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5038 for ac_header
in dlfcn.h
5040 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5041 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5042 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5044 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5045 echo $ECHO_N "(cached) $ECHO_C" >&6
5047 ac_res
=`eval echo '${'$as_ac_Header'}'`
5048 { echo "$as_me:$LINENO: result: $ac_res" >&5
5049 echo "${ECHO_T}$ac_res" >&6; }
5051 # Is the header compilable?
5052 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5054 cat >conftest.
$ac_ext <<_ACEOF
5057 cat confdefs.h
>>conftest.
$ac_ext
5058 cat >>conftest.
$ac_ext <<_ACEOF
5059 /* end confdefs.h. */
5060 $ac_includes_default
5061 #include <$ac_header>
5063 rm -f conftest.
$ac_objext
5064 if { (ac_try
="$ac_compile"
5066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5067 *) ac_try_echo=$ac_try;;
5069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5070 (eval "$ac_compile") 2>conftest.er1
5072 grep -v '^ *+' conftest.er1 >conftest.err
5074 cat conftest.err >&5
5075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076 (exit $ac_status); } && {
5077 test -z "$ac_c_werror_flag" ||
5078 test ! -s conftest.err
5079 } && test -s conftest.$ac_objext; then
5080 ac_header_compiler=yes
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.$ac_ext >&5
5085 ac_header_compiler=no
5088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5089 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5090 echo "${ECHO_T}$ac_header_compiler" >&6; }
5092 # Is the header present?
5093 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5094 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5095 cat >conftest.$ac_ext <<_ACEOF
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5101 #include <$ac_header>
5103 if { (ac_try="$ac_cpp conftest.$ac_ext"
5105 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5106 *) ac_try_echo
=$ac_try;;
5108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5109 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5111 grep -v '^ *+' conftest.er1
>conftest.err
5113 cat conftest.err
>&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); } >/dev
/null
&& {
5116 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5117 test ! -s conftest.err
5119 ac_header_preproc
=yes
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.
$ac_ext >&5
5124 ac_header_preproc
=no
5127 rm -f conftest.err conftest.
$ac_ext
5128 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5129 echo "${ECHO_T}$ac_header_preproc" >&6; }
5131 # So? What about this header?
5132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5134 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5138 ac_header_preproc
=yes
5141 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5143 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5145 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5147 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5148 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5151 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5154 ## -------------------------------------------------- ##
5155 ## Report this to courier-users@lists.sourceforge.net ##
5156 ## -------------------------------------------------- ##
5158 ) |
sed "s/^/$as_me: WARNING: /" >&2
5161 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5163 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5164 echo $ECHO_N "(cached) $ECHO_C" >&6
5166 eval "$as_ac_Header=\$ac_header_preproc"
5168 ac_res
=`eval echo '${'$as_ac_Header'}'`
5169 { echo "$as_me:$LINENO: result: $ac_res" >&5
5170 echo "${ECHO_T}$ac_res" >&6; }
5173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5174 cat >>confdefs.h
<<_ACEOF
5175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5183 ac_cpp
='$CXXCPP $CPPFLAGS'
5184 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5185 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5186 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5187 if test -z "$CXX"; then
5188 if test -n "$CCC"; then
5191 if test -n "$ac_tool_prefix"; then
5192 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5194 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5195 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5198 if test "${ac_cv_prog_CXX+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5201 if test -n "$CXX"; then
5202 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5208 test -z "$as_dir" && as_dir
=.
5209 for ac_exec_ext
in '' $ac_executable_extensions; do
5210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5211 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5222 if test -n "$CXX"; then
5223 { echo "$as_me:$LINENO: result: $CXX" >&5
5224 echo "${ECHO_T}$CXX" >&6; }
5226 { echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6; }
5231 test -n "$CXX" && break
5234 if test -z "$CXX"; then
5236 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5238 # Extract the first word of "$ac_prog", so it can be a program name with args.
5239 set dummy
$ac_prog; ac_word
=$2
5240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5243 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 if test -n "$ac_ct_CXX"; then
5246 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5252 test -z "$as_dir" && as_dir
=.
5253 for ac_exec_ext
in '' $ac_executable_extensions; do
5254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5255 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5266 if test -n "$ac_ct_CXX"; then
5267 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5268 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5270 { echo "$as_me:$LINENO: result: no" >&5
5271 echo "${ECHO_T}no" >&6; }
5275 test -n "$ac_ct_CXX" && break
5278 if test "x$ac_ct_CXX" = x
; then
5281 case $cross_compiling:$ac_tool_warned in
5283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5284 whose name does not start with the host triplet. If you think this
5285 configuration is useful to you, please write to autoconf@gnu.org." >&5
5286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5287 whose name does not start with the host triplet. If you think this
5288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5289 ac_tool_warned
=yes ;;
5297 # Provide some information about the compiler.
5298 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5299 ac_compiler
=`set X $ac_compile; echo $2`
5300 { (ac_try
="$ac_compiler --version >&5"
5302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5303 *) ac_try_echo=$ac_try;;
5305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5306 (eval "$ac_compiler --version >&5") 2>&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); }
5310 { (ac_try="$ac_compiler -v >&5"
5312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5313 *) ac_try_echo
=$ac_try;;
5315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5316 (eval "$ac_compiler -v >&5") 2>&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); }
5320 { (ac_try
="$ac_compiler -V >&5"
5322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5323 *) ac_try_echo=$ac_try;;
5325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5326 (eval "$ac_compiler -V >&5") 2>&5
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); }
5331 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5332 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5333 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5334 echo $ECHO_N "(cached) $ECHO_C" >&6
5336 cat >conftest.$ac_ext <<_ACEOF
5339 cat confdefs.h >>conftest.$ac_ext
5340 cat >>conftest.$ac_ext <<_ACEOF
5341 /* end confdefs.h. */
5354 rm -f conftest.$ac_objext
5355 if { (ac_try="$ac_compile"
5357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5358 *) ac_try_echo
=$ac_try;;
5360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5361 (eval "$ac_compile") 2>conftest.er1
5363 grep -v '^ *+' conftest.er1
>conftest.err
5365 cat conftest.err
>&5
5366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367 (exit $ac_status); } && {
5368 test -z "$ac_cxx_werror_flag" ||
5369 test ! -s conftest.err
5370 } && test -s conftest.
$ac_objext; then
5373 echo "$as_me: failed program was:" >&5
5374 sed 's/^/| /' conftest.
$ac_ext >&5
5379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5380 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5383 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5384 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5385 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5386 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5387 ac_save_CXXFLAGS
=$CXXFLAGS
5388 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5389 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5390 if test "${ac_cv_prog_cxx_g+set}" = set; then
5391 echo $ECHO_N "(cached) $ECHO_C" >&6
5393 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5394 ac_cxx_werror_flag
=yes
5397 cat >conftest.
$ac_ext <<_ACEOF
5400 cat confdefs.h
>>conftest.
$ac_ext
5401 cat >>conftest.
$ac_ext <<_ACEOF
5402 /* end confdefs.h. */
5412 rm -f conftest.
$ac_objext
5413 if { (ac_try
="$ac_compile"
5415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5416 *) ac_try_echo=$ac_try;;
5418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5419 (eval "$ac_compile") 2>conftest.er1
5421 grep -v '^ *+' conftest.er1 >conftest.err
5423 cat conftest.err >&5
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); } && {
5426 test -z "$ac_cxx_werror_flag" ||
5427 test ! -s conftest.err
5428 } && test -s conftest.$ac_objext; then
5429 ac_cv_prog_cxx_g=yes
5431 echo "$as_me: failed program was:" >&5
5432 sed 's/^/| /' conftest.$ac_ext >&5
5435 cat >conftest.$ac_ext <<_ACEOF
5438 cat confdefs.h >>conftest.$ac_ext
5439 cat >>conftest.$ac_ext <<_ACEOF
5440 /* end confdefs.h. */
5450 rm -f conftest.$ac_objext
5451 if { (ac_try="$ac_compile"
5453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5454 *) ac_try_echo
=$ac_try;;
5456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5457 (eval "$ac_compile") 2>conftest.er1
5459 grep -v '^ *+' conftest.er1
>conftest.err
5461 cat conftest.err
>&5
5462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5463 (exit $ac_status); } && {
5464 test -z "$ac_cxx_werror_flag" ||
5465 test ! -s conftest.err
5466 } && test -s conftest.
$ac_objext; then
5469 echo "$as_me: failed program was:" >&5
5470 sed 's/^/| /' conftest.
$ac_ext >&5
5472 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5474 cat >conftest.
$ac_ext <<_ACEOF
5477 cat confdefs.h
>>conftest.
$ac_ext
5478 cat >>conftest.
$ac_ext <<_ACEOF
5479 /* end confdefs.h. */
5489 rm -f conftest.
$ac_objext
5490 if { (ac_try
="$ac_compile"
5492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5493 *) ac_try_echo=$ac_try;;
5495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5496 (eval "$ac_compile") 2>conftest.er1
5498 grep -v '^ *+' conftest.er1 >conftest.err
5500 cat conftest.err >&5
5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); } && {
5503 test -z "$ac_cxx_werror_flag" ||
5504 test ! -s conftest.err
5505 } && test -s conftest.$ac_objext; then
5506 ac_cv_prog_cxx_g=yes
5508 echo "$as_me: failed program was:" >&5
5509 sed 's/^/| /' conftest.$ac_ext >&5
5514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5521 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5523 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5524 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5525 if test "$ac_test_CXXFLAGS" = set; then
5526 CXXFLAGS=$ac_save_CXXFLAGS
5527 elif test $ac_cv_prog_cxx_g = yes; then
5528 if test "$GXX" = yes; then
5534 if test "$GXX" = yes; then
5541 ac_cpp='$CXXCPP $CPPFLAGS'
5542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5546 depcc="$CXX" am_compiler_list=
5548 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5549 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5550 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5554 # We make a subdir and do the tests there. Otherwise we can end up
5555 # making bogus files that we don't know about and never remove. For
5556 # instance it was reported that on HP-UX the gcc test will end up
5557 # making a dummy file named `D
' -- because `-MD' means
`put the output
5560 # Copy depcomp to subdir because otherwise we won't find it if we're
5561 # using a relative directory.
5562 cp "$am_depcomp" conftest.dir
5564 # We will build objects and dependencies in a subdirectory because
5565 # it helps to detect inapplicable dependency modes. For instance
5566 # both Tru64's cc and ICC support -MD to output dependencies as a
5567 # side effect of compilation, but ICC will put the dependencies in
5568 # the current directory while Tru64 will put them in the object
5572 am_cv_CXX_dependencies_compiler_type=none
5573 if test "$am_compiler_list" = ""; then
5574 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5576 for depmode in $am_compiler_list; do
5577 # Setup a source with many dependencies, because some compilers
5578 # like to wrap large dependency lists on column 80 (with \), and
5579 # we should not choose a depcomp mode which is confused by this.
5581 # We need to recreate these files for each test, as the compiler may
5582 # overwrite some of them when testing with obscure command lines.
5583 # This happens at least with the AIX C compiler.
5585 for i in 1 2 3 4 5 6; do
5586 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5587 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5588 # Solaris 8's
{/usr
,}/bin
/sh.
5589 touch sub
/conftst
$i.h
5591 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5595 # after this tag, mechanisms are not by side-effect, so they'll
5596 # only be used when explicitly requested
5597 if test "x$enable_dependency_tracking" = xyes
; then
5605 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5606 # mode. It turns out that the SunPro C++ compiler does not properly
5607 # handle `-M -o', and we need to detect this.
5608 if depmode
=$depmode \
5609 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5610 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5611 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5612 >/dev
/null
2>conftest.err
&&
5613 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5614 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5615 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5616 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5617 # icc doesn't choke on unknown options, it will just issue warnings
5618 # or remarks (even with -Werror). So we grep stderr for any message
5619 # that says an option was ignored or not supported.
5620 # When given -MP, icc 7.0 and 7.1 complain thusly:
5621 # icc: Command line warning: ignoring option '-M'; no argument required
5622 # The diagnosis changed in icc 8.0:
5623 # icc: Command line remark: option '-MP' not supported
5624 if (grep 'ignoring option' conftest.err ||
5625 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5626 am_cv_CXX_dependencies_compiler_type
=$depmode
5635 am_cv_CXX_dependencies_compiler_type
=none
5639 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5640 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5641 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5644 test "x$enable_dependency_tracking" != xno \
5645 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5646 am__fastdepCXX_TRUE
=
5647 am__fastdepCXX_FALSE
='#'
5649 am__fastdepCXX_TRUE
='#'
5650 am__fastdepCXX_FALSE
=
5656 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5657 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5658 (test "X$CXX" != "Xg++"))) ; then
5660 ac_cpp
='$CXXCPP $CPPFLAGS'
5661 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5662 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5663 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5664 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5665 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5666 if test -z "$CXXCPP"; then
5667 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5668 echo $ECHO_N "(cached) $ECHO_C" >&6
5670 # Double quotes because CXXCPP needs to be expanded
5671 for CXXCPP
in "$CXX -E" "/lib/cpp"
5674 for ac_cxx_preproc_warn_flag
in '' yes
5676 # Use a header file that comes with gcc, so configuring glibc
5677 # with a fresh cross-compiler works.
5678 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5679 # <limits.h> exists even on freestanding compilers.
5680 # On the NeXT, cc -E runs the code through the compiler's parser,
5681 # not just through cpp. "Syntax error" is here to catch this case.
5682 cat >conftest.
$ac_ext <<_ACEOF
5685 cat confdefs.h
>>conftest.
$ac_ext
5686 cat >>conftest.
$ac_ext <<_ACEOF
5687 /* end confdefs.h. */
5689 # include <limits.h>
5691 # include <assert.h>
5695 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5698 *) ac_try_echo=$ac_try;;
5700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5703 grep -v '^ *+' conftest.er1 >conftest.err
5705 cat conftest.err >&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); } >/dev/null && {
5708 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5709 test ! -s conftest.err
5713 echo "$as_me: failed program was:" >&5
5714 sed 's/^/| /' conftest.$ac_ext >&5
5716 # Broken: fails on valid input.
5720 rm -f conftest.err conftest.$ac_ext
5722 # OK, works on sane cases. Now check whether nonexistent headers
5723 # can be detected and how.
5724 cat >conftest.$ac_ext <<_ACEOF
5727 cat confdefs.h >>conftest.$ac_ext
5728 cat >>conftest.$ac_ext <<_ACEOF
5729 /* end confdefs.h. */
5730 #include <ac_nonexistent.h>
5732 if { (ac_try="$ac_cpp conftest.$ac_ext"
5734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5735 *) ac_try_echo
=$ac_try;;
5737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5740 grep -v '^ *+' conftest.er1
>conftest.err
5742 cat conftest.err
>&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); } >/dev
/null
&& {
5745 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5746 test ! -s conftest.err
5748 # Broken: success on invalid input.
5751 echo "$as_me: failed program was:" >&5
5752 sed 's/^/| /' conftest.
$ac_ext >&5
5754 # Passes both tests.
5759 rm -f conftest.err conftest.
$ac_ext
5762 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5763 rm -f conftest.err conftest.
$ac_ext
5764 if $ac_preproc_ok; then
5769 ac_cv_prog_CXXCPP
=$CXXCPP
5772 CXXCPP
=$ac_cv_prog_CXXCPP
5774 ac_cv_prog_CXXCPP
=$CXXCPP
5776 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5777 echo "${ECHO_T}$CXXCPP" >&6; }
5779 for ac_cxx_preproc_warn_flag
in '' yes
5781 # Use a header file that comes with gcc, so configuring glibc
5782 # with a fresh cross-compiler works.
5783 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5784 # <limits.h> exists even on freestanding compilers.
5785 # On the NeXT, cc -E runs the code through the compiler's parser,
5786 # not just through cpp. "Syntax error" is here to catch this case.
5787 cat >conftest.
$ac_ext <<_ACEOF
5790 cat confdefs.h
>>conftest.
$ac_ext
5791 cat >>conftest.
$ac_ext <<_ACEOF
5792 /* end confdefs.h. */
5794 # include <limits.h>
5796 # include <assert.h>
5800 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5803 *) ac_try_echo=$ac_try;;
5805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5806 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5808 grep -v '^ *+' conftest.er1 >conftest.err
5810 cat conftest.err >&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); } >/dev/null && {
5813 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5814 test ! -s conftest.err
5818 echo "$as_me: failed program was:" >&5
5819 sed 's/^/| /' conftest.$ac_ext >&5
5821 # Broken: fails on valid input.
5825 rm -f conftest.err conftest.$ac_ext
5827 # OK, works on sane cases. Now check whether nonexistent headers
5828 # can be detected and how.
5829 cat >conftest.$ac_ext <<_ACEOF
5832 cat confdefs.h >>conftest.$ac_ext
5833 cat >>conftest.$ac_ext <<_ACEOF
5834 /* end confdefs.h. */
5835 #include <ac_nonexistent.h>
5837 if { (ac_try="$ac_cpp conftest.$ac_ext"
5839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5840 *) ac_try_echo
=$ac_try;;
5842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5843 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5845 grep -v '^ *+' conftest.er1
>conftest.err
5847 cat conftest.err
>&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); } >/dev
/null
&& {
5850 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5851 test ! -s conftest.err
5853 # Broken: success on invalid input.
5856 echo "$as_me: failed program was:" >&5
5857 sed 's/^/| /' conftest.
$ac_ext >&5
5859 # Passes both tests.
5864 rm -f conftest.err conftest.
$ac_ext
5867 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5868 rm -f conftest.err conftest.
$ac_ext
5869 if $ac_preproc_ok; then
5872 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5873 See \`config.log' for more details." >&5
5874 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5875 See \`config.log' for more details." >&2;}
5876 { (exit 1); exit 1; }; }
5880 ac_cpp
='$CXXCPP $CPPFLAGS'
5881 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5882 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5883 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5889 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5890 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5891 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5892 if test -n "$ac_tool_prefix"; then
5893 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
5895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5896 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5899 if test "${ac_cv_prog_F77+set}" = set; then
5900 echo $ECHO_N "(cached) $ECHO_C" >&6
5902 if test -n "$F77"; then
5903 ac_cv_prog_F77
="$F77" # Let the user override the test.
5905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5909 test -z "$as_dir" && as_dir
=.
5910 for ac_exec_ext
in '' $ac_executable_extensions; do
5911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5912 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 if test -n "$F77"; then
5924 { echo "$as_me:$LINENO: result: $F77" >&5
5925 echo "${ECHO_T}$F77" >&6; }
5927 { echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6; }
5932 test -n "$F77" && break
5935 if test -z "$F77"; then
5937 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
5939 # Extract the first word of "$ac_prog", so it can be a program name with args.
5940 set dummy
$ac_prog; ac_word
=$2
5941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5943 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5944 echo $ECHO_N "(cached) $ECHO_C" >&6
5946 if test -n "$ac_ct_F77"; then
5947 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5953 test -z "$as_dir" && as_dir
=.
5954 for ac_exec_ext
in '' $ac_executable_extensions; do
5955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5956 ac_cv_prog_ac_ct_F77
="$ac_prog"
5957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5966 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5967 if test -n "$ac_ct_F77"; then
5968 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5969 echo "${ECHO_T}$ac_ct_F77" >&6; }
5971 { echo "$as_me:$LINENO: result: no" >&5
5972 echo "${ECHO_T}no" >&6; }
5976 test -n "$ac_ct_F77" && break
5979 if test "x$ac_ct_F77" = x
; then
5982 case $cross_compiling:$ac_tool_warned in
5984 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5985 whose name does not start with the host triplet. If you think this
5986 configuration is useful to you, please write to autoconf@gnu.org." >&5
5987 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5988 whose name does not start with the host triplet. If you think this
5989 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5990 ac_tool_warned
=yes ;;
5997 # Provide some information about the compiler.
5998 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5999 ac_compiler
=`set X $ac_compile; echo $2`
6000 { (ac_try
="$ac_compiler --version >&5"
6002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6003 *) ac_try_echo=$ac_try;;
6005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6006 (eval "$ac_compiler --version >&5") 2>&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); }
6010 { (ac_try="$ac_compiler -v >&5"
6012 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6013 *) ac_try_echo
=$ac_try;;
6015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6016 (eval "$ac_compiler -v >&5") 2>&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); }
6020 { (ac_try
="$ac_compiler -V >&5"
6022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6023 *) ac_try_echo=$ac_try;;
6025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6026 (eval "$ac_compiler -V >&5") 2>&5
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); }
6032 # If we don't use `.F
' as extension, the preprocessor is not run on the
6033 # input file. (Note that this only needs to work for GNU compilers.)
6036 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6037 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6038 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6039 echo $ECHO_N "(cached) $ECHO_C" >&6
6041 cat >conftest.$ac_ext <<_ACEOF
6049 rm -f conftest.$ac_objext
6050 if { (ac_try="$ac_compile"
6052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6053 *) ac_try_echo=$ac_try;;
6055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6056 (eval "$ac_compile") 2>conftest.er1
6058 grep -v '^
*+' conftest.er1 >conftest.err
6060 cat conftest.err >&5
6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 (exit $ac_status); } && {
6063 test -z "$ac_f77_werror_flag" ||
6064 test ! -s conftest.err
6065 } && test -s conftest.$ac_objext; then
6068 echo "$as_me: failed program was:" >&5
6069 sed 's
/^
/|
/' conftest.$ac_ext >&5
6074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6075 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6078 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6079 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6081 ac_test_FFLAGS=${FFLAGS+set}
6082 ac_save_FFLAGS=$FFLAGS
6084 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6085 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6086 if test "${ac_cv_prog_f77_g+set}" = set; then
6087 echo $ECHO_N "(cached) $ECHO_C" >&6
6090 cat >conftest.$ac_ext <<_ACEOF
6095 rm -f conftest.$ac_objext
6096 if { (ac_try="$ac_compile"
6098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6099 *) ac_try_echo=$ac_try;;
6101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6102 (eval "$ac_compile") 2>conftest.er1
6104 grep -v '^
*+' conftest.er1 >conftest.err
6106 cat conftest.err >&5
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); } && {
6109 test -z "$ac_f77_werror_flag" ||
6110 test ! -s conftest.err
6111 } && test -s conftest.$ac_objext; then
6112 ac_cv_prog_f77_g=yes
6114 echo "$as_me: failed program was:" >&5
6115 sed 's
/^
/|
/' conftest.$ac_ext >&5
6120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6123 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6124 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6125 if test "$ac_test_FFLAGS" = set; then
6126 FFLAGS=$ac_save_FFLAGS
6127 elif test $ac_cv_prog_f77_g = yes; then
6128 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6134 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6141 G77=`test $ac_compiler_gnu = yes && echo yes`
6143 ac_cpp='$CPP $CPPFLAGS'
6144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6145 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6150 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6152 # find the maximum length of command line arguments
6153 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6154 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6155 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6156 echo $ECHO_N "(cached) $ECHO_C" >&6
6163 # On DJGPP, this test can blow up pretty badly due to problems in libc
6164 # (any single argument exceeding 2000 bytes causes a buffer overrun
6165 # during glob expansion). Even if it were fixed, the result of this
6166 # check would be larger than it should be.
6167 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6171 # Under GNU Hurd, this test is not required because there is
6172 # no limit to the length of command line arguments.
6173 # Libtool will interpret -1 as no limit whatsoever
6174 lt_cv_sys_max_cmd_len
=-1;
6178 # On Win9x/ME, this test blows up -- it succeeds, but takes
6179 # about 5 minutes as the teststring grows exponentially.
6180 # Worse, since 9x/ME are not pre-emptively multitasking,
6181 # you end up with a "frozen" computer, even though with patience
6182 # the test eventually succeeds (with a max line length of 256k).
6183 # Instead, let's just punt: use the minimum linelength reported by
6184 # all of the supported platforms: 8192 (on NT/2K/XP).
6185 lt_cv_sys_max_cmd_len
=8192;
6189 # On AmigaOS with pdksh, this test takes hours, literally.
6190 # So we just punt and use a minimum line length of 8192.
6191 lt_cv_sys_max_cmd_len
=8192;
6194 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6195 # This has been around since 386BSD, at least. Likely further.
6196 if test -x /sbin
/sysctl
; then
6197 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6198 elif test -x /usr
/sbin
/sysctl
; then
6199 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6201 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6203 # And add a safety zone
6204 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6205 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6209 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6210 lt_cv_sys_max_cmd_len
=196608
6214 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6215 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6216 # nice to cause kernel panics so lets avoid the loop below.
6217 # First set a reasonable default.
6218 lt_cv_sys_max_cmd_len
=16384
6220 if test -x /sbin
/sysconfig
; then
6221 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6222 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6227 lt_cv_sys_max_cmd_len
=102400
6229 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6230 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6231 if test -n "$kargmax"; then
6232 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6234 lt_cv_sys_max_cmd_len
=32768
6238 # If test is not a shell built-in, we'll probably end up computing a
6239 # maximum length that is only half of the actual maximum length, but
6241 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6242 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6243 = "XX$teststring") >/dev
/null
2>&1 &&
6244 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6245 lt_cv_sys_max_cmd_len
=$new_result &&
6246 test $i != 17 # 1/2 MB should be enough
6249 teststring
=$teststring$teststring
6252 # Add a significant safety factor because C++ compilers can tack on massive
6253 # amounts of additional arguments before passing them to the linker.
6254 # It appears as though 1/2 is a usable value.
6255 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6261 if test -n $lt_cv_sys_max_cmd_len ; then
6262 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6263 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6265 { echo "$as_me:$LINENO: result: none" >&5
6266 echo "${ECHO_T}none" >&6; }
6272 # Check for command to grab the raw symbol name followed by C symbol from nm.
6273 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6274 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6275 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6276 echo $ECHO_N "(cached) $ECHO_C" >&6
6279 # These are sane defaults that work on at least a few old systems.
6280 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6282 # Character class describing NM global symbol codes.
6283 symcode
='[BCDEGRST]'
6285 # Regexp to match symbols that can be accessed directly from C.
6286 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6288 # Transform an extracted symbol line into a proper C declaration
6289 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6291 # Transform an extracted symbol line into symbol name and symbol address
6292 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'"
6294 # Define system-specific variables.
6299 cygwin
* | mingw
* | pw32
*)
6300 symcode
='[ABCDGISTW]'
6302 hpux
*) # Its linker distinguishes data from code symbols
6303 if test "$host_cpu" = ia64
; then
6304 symcode
='[ABCDEGRST]'
6306 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6307 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'"
6310 if test "$host_cpu" = ia64
; then
6311 symcode
='[ABCDGIRSTW]'
6312 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6313 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'"
6317 symcode
='[BCDEGRST]'
6320 symcode
='[BCDEGQRST]'
6331 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6339 # Handle CRLF in mingw tool chain
6343 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6347 # If we're using GNU nm, then use its standard symbol codes.
6348 case `$NM -V 2>&1` in
6349 *GNU
* |
*'with BFD'*)
6350 symcode
='[ABCDGIRSTW]' ;;
6353 # Try without a prefix undercore, then with it.
6354 for ac_symprfx
in "" "_"; do
6356 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6357 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6359 # Write the raw and C identifiers.
6360 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6362 # Check to see that the pipe works correctly.
6366 cat > conftest.
$ac_ext <<EOF
6371 void nm_test_func(){}
6375 int main(){nm_test_var='a';nm_test_func();return(0);}
6378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6379 (eval $ac_compile) 2>&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); }; then
6383 # Now try to grab the symbols.
6385 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6386 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389 (exit $ac_status); } && test -s "$nlist"; then
6390 # Try sorting and uniquifying the output.
6391 if sort "$nlist" |
uniq > "$nlist"T
; then
6392 mv -f "$nlist"T
"$nlist"
6397 # Make sure that we snagged all the symbols we need.
6398 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6399 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6400 cat <<EOF > conftest.$ac_ext
6406 # Now generate the symbol file.
6407 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6409 cat <<EOF >> conftest.$ac_ext
6410 #if defined (__STDC__) && __STDC__
6411 # define lt_ptr_t void *
6413 # define lt_ptr_t char *
6417 /* The mapping between symbol names and symbols. */
6422 lt_preloaded_symbols[] =
6425 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6426 cat <<\EOF
>> conftest.
$ac_ext
6434 # Now try linking the two files.
6435 mv conftest.
$ac_objext conftstm.
$ac_objext
6436 lt_save_LIBS
="$LIBS"
6437 lt_save_CFLAGS
="$CFLAGS"
6438 LIBS
="conftstm.$ac_objext"
6439 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6441 (eval $ac_link) 2>&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6447 LIBS
="$lt_save_LIBS"
6448 CFLAGS
="$lt_save_CFLAGS"
6450 echo "cannot find nm_test_func in $nlist" >&5
6453 echo "cannot find nm_test_var in $nlist" >&5
6456 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6459 echo "$progname: failed program was:" >&5
6460 cat conftest.
$ac_ext >&5
6462 rm -f conftest
* conftst
*
6464 # Do not use the global_symbol_pipe unless it works.
6465 if test "$pipe_works" = yes; then
6468 lt_cv_sys_global_symbol_pipe
=
6474 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6475 lt_cv_sys_global_symbol_to_cdecl
=
6477 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6478 { echo "$as_me:$LINENO: result: failed" >&5
6479 echo "${ECHO_T}failed" >&6; }
6481 { echo "$as_me:$LINENO: result: ok" >&5
6482 echo "${ECHO_T}ok" >&6; }
6485 { echo "$as_me:$LINENO: checking for objdir" >&5
6486 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6487 if test "${lt_cv_objdir+set}" = set; then
6488 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 rm -f .libs
2>/dev
/null
6491 mkdir .libs
2>/dev
/null
6492 if test -d .libs
; then
6495 # MS-DOS does not allow filenames that begin with a dot.
6498 rmdir .libs
2>/dev
/null
6500 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6501 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6502 objdir
=$lt_cv_objdir
6510 # AIX sometimes has problems with the GCC collect2 program. For some
6511 # reason, if we set the COLLECT_NAMES environment variable, the problems
6512 # vanish in a puff of smoke.
6513 if test "X${COLLECT_NAMES+set}" != Xset
; then
6515 export COLLECT_NAMES
6520 # Sed substitution that helps us do robust quoting. It backslashifies
6521 # metacharacters that are still active within double-quoted strings.
6522 Xsed
='sed -e 1s/^X//'
6523 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6525 # Same as above, but do not quote variable references.
6526 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6528 # Sed substitution to delay expansion of an escaped shell variable in a
6529 # double_quote_subst'ed string.
6530 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6532 # Sed substitution to avoid accidental globbing in evaled expressions
6533 no_glob_subst
='s/\*/\\\*/g'
6539 default_ofile
=libtool
6540 can_build_shared
=yes
6542 # All known linkers require a `.a' archive for static linking (except MSVC,
6543 # which needs '.lib').
6545 ltmain
="$ac_aux_dir/ltmain.sh"
6546 ofile
="$default_ofile"
6547 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6549 if test -n "$ac_tool_prefix"; then
6550 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6551 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6554 if test "${ac_cv_prog_AR+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6557 if test -n "$AR"; then
6558 ac_cv_prog_AR
="$AR" # Let the user override the test.
6560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6564 test -z "$as_dir" && as_dir
=.
6565 for ac_exec_ext
in '' $ac_executable_extensions; do
6566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6567 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6578 if test -n "$AR"; then
6579 { echo "$as_me:$LINENO: result: $AR" >&5
6580 echo "${ECHO_T}$AR" >&6; }
6582 { echo "$as_me:$LINENO: result: no" >&5
6583 echo "${ECHO_T}no" >&6; }
6588 if test -z "$ac_cv_prog_AR"; then
6590 # Extract the first word of "ar", so it can be a program name with args.
6591 set dummy
ar; ac_word
=$2
6592 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6594 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6595 echo $ECHO_N "(cached) $ECHO_C" >&6
6597 if test -n "$ac_ct_AR"; then
6598 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6604 test -z "$as_dir" && as_dir
=.
6605 for ac_exec_ext
in '' $ac_executable_extensions; do
6606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6607 ac_cv_prog_ac_ct_AR
="ar"
6608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6617 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6618 if test -n "$ac_ct_AR"; then
6619 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6620 echo "${ECHO_T}$ac_ct_AR" >&6; }
6622 { echo "$as_me:$LINENO: result: no" >&5
6623 echo "${ECHO_T}no" >&6; }
6626 if test "x$ac_ct_AR" = x
; then
6629 case $cross_compiling:$ac_tool_warned in
6631 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6632 whose name does not start with the host triplet. If you think this
6633 configuration is useful to you, please write to autoconf@gnu.org." >&5
6634 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6635 whose name does not start with the host triplet. If you think this
6636 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6637 ac_tool_warned
=yes ;;
6645 if test -n "$ac_tool_prefix"; then
6646 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6647 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6650 if test "${ac_cv_prog_RANLIB+set}" = set; then
6651 echo $ECHO_N "(cached) $ECHO_C" >&6
6653 if test -n "$RANLIB"; then
6654 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6660 test -z "$as_dir" && as_dir
=.
6661 for ac_exec_ext
in '' $ac_executable_extensions; do
6662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6663 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6673 RANLIB
=$ac_cv_prog_RANLIB
6674 if test -n "$RANLIB"; then
6675 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6676 echo "${ECHO_T}$RANLIB" >&6; }
6678 { echo "$as_me:$LINENO: result: no" >&5
6679 echo "${ECHO_T}no" >&6; }
6684 if test -z "$ac_cv_prog_RANLIB"; then
6685 ac_ct_RANLIB
=$RANLIB
6686 # Extract the first word of "ranlib", so it can be a program name with args.
6687 set dummy ranlib
; ac_word
=$2
6688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6690 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6691 echo $ECHO_N "(cached) $ECHO_C" >&6
6693 if test -n "$ac_ct_RANLIB"; then
6694 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6700 test -z "$as_dir" && as_dir
=.
6701 for ac_exec_ext
in '' $ac_executable_extensions; do
6702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6703 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6713 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6714 if test -n "$ac_ct_RANLIB"; then
6715 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6716 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6718 { echo "$as_me:$LINENO: result: no" >&5
6719 echo "${ECHO_T}no" >&6; }
6722 if test "x$ac_ct_RANLIB" = x
; then
6725 case $cross_compiling:$ac_tool_warned in
6727 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6728 whose name does not start with the host triplet. If you think this
6729 configuration is useful to you, please write to autoconf@gnu.org." >&5
6730 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6731 whose name does not start with the host triplet. If you think this
6732 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6733 ac_tool_warned
=yes ;;
6735 RANLIB
=$ac_ct_RANLIB
6738 RANLIB
="$ac_cv_prog_RANLIB"
6741 if test -n "$ac_tool_prefix"; then
6742 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6743 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6746 if test "${ac_cv_prog_STRIP+set}" = set; then
6747 echo $ECHO_N "(cached) $ECHO_C" >&6
6749 if test -n "$STRIP"; then
6750 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6756 test -z "$as_dir" && as_dir
=.
6757 for ac_exec_ext
in '' $ac_executable_extensions; do
6758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6759 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6769 STRIP
=$ac_cv_prog_STRIP
6770 if test -n "$STRIP"; then
6771 { echo "$as_me:$LINENO: result: $STRIP" >&5
6772 echo "${ECHO_T}$STRIP" >&6; }
6774 { echo "$as_me:$LINENO: result: no" >&5
6775 echo "${ECHO_T}no" >&6; }
6780 if test -z "$ac_cv_prog_STRIP"; then
6782 # Extract the first word of "strip", so it can be a program name with args.
6783 set dummy strip
; ac_word
=$2
6784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6786 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6787 echo $ECHO_N "(cached) $ECHO_C" >&6
6789 if test -n "$ac_ct_STRIP"; then
6790 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6796 test -z "$as_dir" && as_dir
=.
6797 for ac_exec_ext
in '' $ac_executable_extensions; do
6798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6799 ac_cv_prog_ac_ct_STRIP
="strip"
6800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6809 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6810 if test -n "$ac_ct_STRIP"; then
6811 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6812 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6814 { echo "$as_me:$LINENO: result: no" >&5
6815 echo "${ECHO_T}no" >&6; }
6818 if test "x$ac_ct_STRIP" = x
; then
6821 case $cross_compiling:$ac_tool_warned in
6823 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6824 whose name does not start with the host triplet. If you think this
6825 configuration is useful to you, please write to autoconf@gnu.org." >&5
6826 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6827 whose name does not start with the host triplet. If you think this
6828 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6829 ac_tool_warned
=yes ;;
6834 STRIP
="$ac_cv_prog_STRIP"
6839 old_CFLAGS
="$CFLAGS"
6841 # Set sane defaults for various variables
6842 test -z "$AR" && AR
=ar
6843 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6844 test -z "$AS" && AS
=as
6845 test -z "$CC" && CC
=cc
6846 test -z "$LTCC" && LTCC
=$CC
6847 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6848 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6849 test -z "$LD" && LD
=ld
6850 test -z "$LN_S" && LN_S
="ln -s"
6851 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6852 test -z "$NM" && NM
=nm
6853 test -z "$SED" && SED
=sed
6854 test -z "$OBJDUMP" && OBJDUMP
=objdump
6855 test -z "$RANLIB" && RANLIB
=:
6856 test -z "$STRIP" && STRIP
=:
6857 test -z "$ac_objext" && ac_objext
=o
6859 # Determine commands to create old-style static archives.
6860 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6861 old_postinstall_cmds
='chmod 644 $oldlib'
6862 old_postuninstall_cmds
=
6864 if test -n "$RANLIB"; then
6867 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6870 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6873 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6876 for cc_temp
in $compiler""; do
6878 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6879 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6884 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6887 # Only perform the check for file, if the check method requires it
6888 case $deplibs_check_method in
6890 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6891 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6892 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6893 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6894 echo $ECHO_N "(cached) $ECHO_C" >&6
6898 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6901 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6902 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6903 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6904 for ac_dir
in $ac_dummy; do
6906 test -z "$ac_dir" && ac_dir
=.
6907 if test -f $ac_dir/${ac_tool_prefix}file; then
6908 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6909 if test -n "$file_magic_test_file"; then
6910 case $deplibs_check_method in
6912 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6913 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6914 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6915 $EGREP "$file_magic_regex" > /dev
/null
; then
6920 *** Warning: the command libtool uses to detect shared libraries,
6921 *** $file_magic_cmd, produces output that libtool cannot recognize.
6922 *** The result is that libtool may fail to recognize shared libraries
6923 *** as such. This will affect the creation of libtool libraries that
6924 *** depend on shared libraries, but programs linked with such libtool
6925 *** libraries will work regardless of this problem. Nevertheless, you
6926 *** may want to report the problem to your system manager and/or to
6927 *** bug-libtool@gnu.org
6937 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6942 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6943 if test -n "$MAGIC_CMD"; then
6944 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6945 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6947 { echo "$as_me:$LINENO: result: no" >&5
6948 echo "${ECHO_T}no" >&6; }
6951 if test -z "$lt_cv_path_MAGIC_CMD"; then
6952 if test -n "$ac_tool_prefix"; then
6953 { echo "$as_me:$LINENO: checking for file" >&5
6954 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6955 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6956 echo $ECHO_N "(cached) $ECHO_C" >&6
6960 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6963 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6964 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6965 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6966 for ac_dir
in $ac_dummy; do
6968 test -z "$ac_dir" && ac_dir
=.
6969 if test -f $ac_dir/file; then
6970 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6971 if test -n "$file_magic_test_file"; then
6972 case $deplibs_check_method in
6974 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6975 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6976 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6977 $EGREP "$file_magic_regex" > /dev
/null
; then
6982 *** Warning: the command libtool uses to detect shared libraries,
6983 *** $file_magic_cmd, produces output that libtool cannot recognize.
6984 *** The result is that libtool may fail to recognize shared libraries
6985 *** as such. This will affect the creation of libtool libraries that
6986 *** depend on shared libraries, but programs linked with such libtool
6987 *** libraries will work regardless of this problem. Nevertheless, you
6988 *** may want to report the problem to your system manager and/or to
6989 *** bug-libtool@gnu.org
6999 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7004 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7005 if test -n "$MAGIC_CMD"; then
7006 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7007 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7009 { echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6; }
7025 # Check whether --enable-libtool-lock was given.
7026 if test "${enable_libtool_lock+set}" = set; then
7027 enableval
=$enable_libtool_lock;
7030 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7033 # Check whether --with-pic was given.
7034 if test "${with_pic+set}" = set; then
7035 withval
=$with_pic; pic_mode
="$withval"
7040 test -z "$pic_mode" && pic_mode
=default
7042 # Use C for the default configuration in the libtool script
7046 ac_cpp
='$CPP $CPPFLAGS'
7047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7052 # Source file extension for C test sources.
7055 # Object file extension for compiled C test sources.
7059 # Code to be used in simple compile tests
7060 lt_simple_compile_test_code
="int some_variable = 0;\n"
7062 # Code to be used in simple link tests
7063 lt_simple_link_test_code
='int main(){return(0);}\n'
7066 # If no C compiler was specified, use CC.
7069 # If no C compiler flags were specified, use CFLAGS.
7070 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7072 # Allow CC to be a program name with arguments.
7076 # save warnings/boilerplate of simple test code
7077 ac_outfile
=conftest.
$ac_objext
7078 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7079 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7080 _lt_compiler_boilerplate
=`cat conftest.err`
7083 ac_outfile
=conftest.
$ac_objext
7084 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7085 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7086 _lt_linker_boilerplate
=`cat conftest.err`
7091 lt_prog_compiler_no_builtin_flag
=
7093 if test "$GCC" = yes; then
7094 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7097 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7098 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7099 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7100 echo $ECHO_N "(cached) $ECHO_C" >&6
7102 lt_cv_prog_compiler_rtti_exceptions
=no
7103 ac_outfile
=conftest.
$ac_objext
7104 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7105 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7106 # Insert the option either (1) after the last *FLAGS variable, or
7107 # (2) before a word containing "conftest.", or (3) at the end.
7108 # Note that $ac_compile itself does not contain backslashes and begins
7109 # with a dollar sign (not a hyphen), so the echo should work correctly.
7110 # The option is referenced via a variable to avoid confusing sed.
7111 lt_compile
=`echo "$ac_compile" | $SED \
7112 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7113 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7114 -e 's:$: $lt_compiler_flag:'`
7115 (eval echo "\"\$as_me:7115: $lt_compile\"" >&5)
7116 (eval "$lt_compile" 2>conftest.err
)
7118 cat conftest.err
>&5
7119 echo "$as_me:7119: \$? = $ac_status" >&5
7120 if (exit $ac_status) && test -s "$ac_outfile"; then
7121 # The compiler can only warn and ignore the option if not recognized
7122 # So say no if there are warnings other than the usual output.
7123 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7124 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7125 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7126 lt_cv_prog_compiler_rtti_exceptions
=yes
7132 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7133 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7135 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7136 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7143 lt_prog_compiler_wl
=
7144 lt_prog_compiler_pic
=
7145 lt_prog_compiler_static
=
7147 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7148 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7150 if test "$GCC" = yes; then
7151 lt_prog_compiler_wl
='-Wl,'
7152 lt_prog_compiler_static
='-static'
7156 # All AIX code is PIC.
7157 if test "$host_cpu" = ia64
; then
7158 # AIX 5 now supports IA64 processor
7159 lt_prog_compiler_static
='-Bstatic'
7164 # FIXME: we need at least 68020 code to build shared libraries, but
7165 # adding the `-m68020' flag to GCC prevents building anything better,
7167 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7170 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7171 # PIC is the default for these OSes.
7174 mingw
* | pw32
* | os2
*)
7175 # This hack is so that the source file can tell whether it is being
7176 # built for inclusion in a dll (and should export symbols for example).
7177 lt_prog_compiler_pic
='-DDLL_EXPORT'
7180 darwin
* | rhapsody
*)
7181 # PIC is the default on this platform
7182 # Common symbols not allowed in MH_DYLIB files
7183 lt_prog_compiler_pic
='-fno-common'
7187 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7188 # Instead, we relocate shared libraries at runtime.
7192 # Just because we use GCC doesn't mean we suddenly get shared libraries
7193 # on systems that don't support them.
7194 lt_prog_compiler_can_build_shared
=no
7199 if test -d /usr
/nec
; then
7200 lt_prog_compiler_pic
=-Kconform_pic
7205 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7212 lt_prog_compiler_pic
='-fPIC'
7218 lt_prog_compiler_pic
='-fPIC'
7222 # PORTME Check for flag to pass linker flags through the system compiler.
7225 lt_prog_compiler_wl
='-Wl,'
7226 if test "$host_cpu" = ia64
; then
7227 # AIX 5 now supports IA64 processor
7228 lt_prog_compiler_static
='-Bstatic'
7230 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7234 # PIC is the default on this platform
7235 # Common symbols not allowed in MH_DYLIB files
7236 case $cc_basename in
7238 lt_prog_compiler_pic
='-qnocommon'
7239 lt_prog_compiler_wl
='-Wl,'
7244 mingw
* | pw32
* | os2
*)
7245 # This hack is so that the source file can tell whether it is being
7246 # built for inclusion in a dll (and should export symbols for example).
7247 lt_prog_compiler_pic
='-DDLL_EXPORT'
7250 hpux9
* | hpux10
* | hpux11
*)
7251 lt_prog_compiler_wl
='-Wl,'
7252 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7259 lt_prog_compiler_pic
='+Z'
7262 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7263 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7266 irix5
* | irix6
* | nonstopux
*)
7267 lt_prog_compiler_wl
='-Wl,'
7268 # PIC (with -KPIC) is the default.
7269 lt_prog_compiler_static
='-non_shared'
7273 lt_prog_compiler_pic
='-KPIC'
7274 lt_prog_compiler_static
='-Bstatic'
7278 case $cc_basename in
7280 lt_prog_compiler_wl
='-Wl,'
7281 lt_prog_compiler_pic
='-KPIC'
7282 lt_prog_compiler_static
='-static'
7284 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7285 # Portland Group compilers (*not* the Pentium gcc compiler,
7286 # which looks to be a dead project)
7287 lt_prog_compiler_wl
='-Wl,'
7288 lt_prog_compiler_pic
='-fpic'
7289 lt_prog_compiler_static
='-Bstatic'
7292 lt_prog_compiler_wl
='-Wl,'
7293 # All Alpha code is PIC.
7294 lt_prog_compiler_static
='-non_shared'
7299 osf3
* | osf4
* | osf5
*)
7300 lt_prog_compiler_wl
='-Wl,'
7301 # All OSF/1 code is PIC.
7302 lt_prog_compiler_static
='-non_shared'
7306 lt_prog_compiler_pic
='-KPIC'
7307 lt_prog_compiler_static
='-Bstatic'
7308 case $cc_basename in
7310 lt_prog_compiler_wl
='-Qoption ld ';;
7312 lt_prog_compiler_wl
='-Wl,';;
7317 lt_prog_compiler_wl
='-Qoption ld '
7318 lt_prog_compiler_pic
='-PIC'
7319 lt_prog_compiler_static
='-Bstatic'
7322 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7323 lt_prog_compiler_wl
='-Wl,'
7324 lt_prog_compiler_pic
='-KPIC'
7325 lt_prog_compiler_static
='-Bstatic'
7329 if test -d /usr
/nec
;then
7330 lt_prog_compiler_pic
='-Kconform_pic'
7331 lt_prog_compiler_static
='-Bstatic'
7335 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7336 lt_prog_compiler_wl
='-Wl,'
7337 lt_prog_compiler_pic
='-KPIC'
7338 lt_prog_compiler_static
='-Bstatic'
7342 lt_prog_compiler_wl
='-Wl,'
7343 lt_prog_compiler_can_build_shared
=no
7347 lt_prog_compiler_pic
='-pic'
7348 lt_prog_compiler_static
='-Bstatic'
7352 lt_prog_compiler_can_build_shared
=no
7357 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7358 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7361 # Check to make sure the PIC flag actually works.
7363 if test -n "$lt_prog_compiler_pic"; then
7365 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7366 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7367 if test "${lt_prog_compiler_pic_works+set}" = set; then
7368 echo $ECHO_N "(cached) $ECHO_C" >&6
7370 lt_prog_compiler_pic_works
=no
7371 ac_outfile
=conftest.
$ac_objext
7372 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7373 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7374 # Insert the option either (1) after the last *FLAGS variable, or
7375 # (2) before a word containing "conftest.", or (3) at the end.
7376 # Note that $ac_compile itself does not contain backslashes and begins
7377 # with a dollar sign (not a hyphen), so the echo should work correctly.
7378 # The option is referenced via a variable to avoid confusing sed.
7379 lt_compile
=`echo "$ac_compile" | $SED \
7380 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7381 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7382 -e 's:$: $lt_compiler_flag:'`
7383 (eval echo "\"\$as_me:7383: $lt_compile\"" >&5)
7384 (eval "$lt_compile" 2>conftest.err
)
7386 cat conftest.err
>&5
7387 echo "$as_me:7387: \$? = $ac_status" >&5
7388 if (exit $ac_status) && test -s "$ac_outfile"; then
7389 # The compiler can only warn and ignore the option if not recognized
7390 # So say no if there are warnings other than the usual output.
7391 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7392 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7393 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7394 lt_prog_compiler_pic_works
=yes
7400 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7401 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7403 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7404 case $lt_prog_compiler_pic in
7406 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7409 lt_prog_compiler_pic
=
7410 lt_prog_compiler_can_build_shared
=no
7415 # For platforms which do not support PIC, -DPIC is meaningless:
7417 lt_prog_compiler_pic
=
7420 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7425 # Check to make sure the static flag actually works.
7427 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7428 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7429 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7430 if test "${lt_prog_compiler_static_works+set}" = set; then
7431 echo $ECHO_N "(cached) $ECHO_C" >&6
7433 lt_prog_compiler_static_works
=no
7434 save_LDFLAGS
="$LDFLAGS"
7435 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7436 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7437 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7438 # The linker can only warn and ignore the option if not recognized
7439 # So say no if there are warnings
7440 if test -s conftest.err
; then
7441 # Append any errors to the config.log.
7442 cat conftest.err
1>&5
7443 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7444 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7445 if diff conftest.exp conftest.er2
>/dev
/null
; then
7446 lt_prog_compiler_static_works
=yes
7449 lt_prog_compiler_static_works
=yes
7453 LDFLAGS
="$save_LDFLAGS"
7456 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7457 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7459 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7462 lt_prog_compiler_static
=
7466 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7467 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7468 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7469 echo $ECHO_N "(cached) $ECHO_C" >&6
7471 lt_cv_prog_compiler_c_o
=no
7472 $rm -r conftest
2>/dev
/null
7476 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7478 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7479 # Insert the option either (1) after the last *FLAGS variable, or
7480 # (2) before a word containing "conftest.", or (3) at the end.
7481 # Note that $ac_compile itself does not contain backslashes and begins
7482 # with a dollar sign (not a hyphen), so the echo should work correctly.
7483 lt_compile
=`echo "$ac_compile" | $SED \
7484 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7485 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7486 -e 's:$: $lt_compiler_flag:'`
7487 (eval echo "\"\$as_me:7487: $lt_compile\"" >&5)
7488 (eval "$lt_compile" 2>out
/conftest.err
)
7490 cat out
/conftest.err
>&5
7491 echo "$as_me:7491: \$? = $ac_status" >&5
7492 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7494 # The compiler can only warn and ignore the option if not recognized
7495 # So say no if there are warnings
7496 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7497 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7498 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7499 lt_cv_prog_compiler_c_o
=yes
7504 # SGI C++ compiler will create directory out/ii_files/ for
7505 # template instantiation
7506 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7507 $rm out
/* && rmdir out
7513 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7514 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7517 hard_links
="nottested"
7518 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7519 # do not overwrite the value of need_locks provided by the user
7520 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7521 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7524 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7526 ln conftest.a conftest.b
2>&5 || hard_links
=no
7527 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7528 { echo "$as_me:$LINENO: result: $hard_links" >&5
7529 echo "${ECHO_T}$hard_links" >&6; }
7530 if test "$hard_links" = no
; then
7531 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7532 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7539 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7540 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7543 allow_undefined_flag
=
7544 enable_shared_with_static_runtimes
=no
7546 archive_expsym_cmds
=
7547 old_archive_From_new_cmds
=
7548 old_archive_from_expsyms_cmds
=
7549 export_dynamic_flag_spec
=
7550 whole_archive_flag_spec
=
7551 thread_safe_flag_spec
=
7552 hardcode_libdir_flag_spec
=
7553 hardcode_libdir_flag_spec_ld
=
7554 hardcode_libdir_separator
=
7557 hardcode_shlibpath_var
=unsupported
7558 link_all_deplibs
=unknown
7559 hardcode_automatic
=no
7562 always_export_symbols
=no
7563 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7564 # include_expsyms should be a list of space-separated symbols to be *always*
7565 # included in the symbol list
7567 # exclude_expsyms can be an extended regexp of symbols to exclude
7568 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7569 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7570 # as well as any symbol that contains `d'.
7571 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7572 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7573 # platforms (ab)use it in PIC code, but their linkers get confused if
7574 # the symbol is explicitly referenced. Since portable code cannot
7575 # rely on this symbol name, it's probably fine to never include it in
7576 # preloaded symbol tables.
7577 extract_expsyms_cmds
=
7578 # Just being paranoid about ensuring that cc_basename is set.
7579 for cc_temp
in $compiler""; do
7581 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7582 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7587 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7590 cygwin
* | mingw
* | pw32
*)
7591 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7592 # When not using gcc, we currently assume that we are using
7593 # Microsoft Visual C++.
7594 if test "$GCC" != yes; then
7599 # we just hope/assume this is gcc and not c89 (= MSVC++)
7608 if test "$with_gnu_ld" = yes; then
7609 # If archive_cmds runs LD, not CC, wlarc should be empty
7612 # Set some defaults for GNU ld with shared library support. These
7613 # are reset later if shared libraries are not supported. Putting them
7614 # here allows them to be overridden if necessary.
7615 runpath_var
=LD_RUN_PATH
7616 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7617 export_dynamic_flag_spec
='${wl}--export-dynamic'
7618 # ancient GNU ld didn't support --whole-archive et. al.
7619 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7620 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7622 whole_archive_flag_spec
=
7624 supports_anon_versioning
=no
7625 case `$LD -v 2>/dev/null` in
7626 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7627 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7628 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7629 *\
2.11.
*) ;; # other 2.11 versions
7630 *) supports_anon_versioning
=yes ;;
7633 # See if GNU ld supports shared libraries.
7635 aix3
* | aix4
* | aix5
*)
7636 # On AIX/PPC, the GNU linker is very broken
7637 if test "$host_cpu" != ia64
; then
7641 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7642 *** to be unable to reliably create shared libraries on AIX.
7643 *** Therefore, libtool is disabling shared libraries support. If you
7644 *** really care for shared libraries, you may want to modify your PATH
7645 *** so that a non-GNU linker is found, and then restart.
7652 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)'
7653 hardcode_libdir_flag_spec
='-L$libdir'
7654 hardcode_minus_L
=yes
7656 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7657 # that the semantics of dynamic libraries on AmigaOS, at least up
7658 # to version 4, is to share data among multiple programs linked
7659 # with the same dynamic library. Since this doesn't match the
7660 # behavior of shared libraries on other platforms, we can't use
7666 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7667 allow_undefined_flag
=unsupported
7668 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7669 # support --undefined. This deserves some investigation. FIXME
7670 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7676 cygwin
* | mingw
* | pw32
*)
7677 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7678 # as there is no search path for DLLs.
7679 hardcode_libdir_flag_spec
='-L$libdir'
7680 allow_undefined_flag
=unsupported
7681 always_export_symbols
=no
7682 enable_shared_with_static_runtimes
=yes
7683 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7685 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7686 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7687 # If the export-symbols file already is a .def file (1st line
7688 # is EXPORTS), use it as is; otherwise, prepend...
7689 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7690 cp $export_symbols $output_objdir/$soname.def;
7692 echo EXPORTS > $output_objdir/$soname.def;
7693 cat $export_symbols >> $output_objdir/$soname.def;
7695 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7703 hardcode_shlibpath_var
=no
7704 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7705 export_dynamic_flag_spec
='${wl}-E'
7706 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7707 # Instead, shared libraries are loaded at an image base (0x10000000 by
7708 # default) and relocated if they conflict, which is a slow very memory
7709 # consuming and fragmenting process. To avoid this, we pick a random,
7710 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7711 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7712 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7713 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'
7717 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7719 case $cc_basename,$host_cpu in
7720 pgcc
*) # Portland Group C compiler
7721 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'
7722 tmp_addflag
=' $pic_flag'
7724 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7725 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'
7726 tmp_addflag
=' $pic_flag -Mnomain' ;;
7727 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7728 tmp_addflag
=' -i_dynamic' ;;
7729 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7730 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7731 ifc
* | ifort
*) # Intel Fortran compiler
7732 tmp_addflag
=' -nofor_main' ;;
7734 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7736 if test $supports_anon_versioning = yes; then
7737 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7738 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7739 $echo "local: *; };" >> $output_objdir/$libname.ver~
7740 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7748 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7749 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7752 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7753 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7758 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7762 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7763 *** create shared libraries on Solaris systems. Therefore, libtool
7764 *** is disabling shared libraries support. We urge you to upgrade GNU
7765 *** binutils to release 2.9.1 or newer. Another option is to modify
7766 *** your PATH or compiler configuration so that the native linker is
7767 *** used, and then restart.
7770 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7771 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7772 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7778 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7779 case `$LD -v 2>&1` in
7780 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7784 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7785 *** reliably create shared libraries on SCO systems. Therefore, libtool
7786 *** is disabling shared libraries support. We urge you to upgrade GNU
7787 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7788 *** your PATH or compiler configuration so that the native linker is
7789 *** used, and then restart.
7794 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7795 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7796 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7797 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7806 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7809 hardcode_shlibpath_var
=no
7813 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7814 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7815 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7822 if test "$ld_shlibs" = no
; then
7824 hardcode_libdir_flag_spec
=
7825 export_dynamic_flag_spec
=
7826 whole_archive_flag_spec
=
7829 # PORTME fill in a description of your system's linker (not GNU ld)
7832 allow_undefined_flag
=unsupported
7833 always_export_symbols
=yes
7834 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'
7835 # Note: this linker hardcodes the directories in LIBPATH if there
7836 # are no directories specified by -L.
7837 hardcode_minus_L
=yes
7838 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7839 # Neither direct hardcoding nor static linking is supported with a
7841 hardcode_direct
=unsupported
7846 if test "$host_cpu" = ia64
; then
7847 # On IA64, the linker does run time linking by default, so we don't
7848 # have to do anything special.
7849 aix_use_runtimelinking
=no
7850 exp_sym_flag
='-Bexport'
7853 # If we're using GNU nm, then we don't want the "-C" option.
7854 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7855 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7856 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'
7858 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'
7860 aix_use_runtimelinking
=no
7862 # Test if we are trying to use run time linking or normal
7863 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7864 # need to do runtime linking.
7865 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7866 for ld_flag
in $LDFLAGS; do
7867 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7868 aix_use_runtimelinking
=yes
7875 exp_sym_flag
='-bexport'
7876 no_entry_flag
='-bnoentry'
7879 # When large executables or shared objects are built, AIX ld can
7880 # have problems creating the table of contents. If linking a library
7881 # or program results in "error TOC overflow" add -mminimal-toc to
7882 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7883 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7887 hardcode_libdir_separator
=':'
7888 link_all_deplibs
=yes
7890 if test "$GCC" = yes; then
7891 case $host_os in aix4.
[012]|aix4.
[012].
*)
7892 # We only want to do this on AIX 4.2 and lower, the check
7893 # below for broken collect2 doesn't work under 4.3+
7894 collect2name
=`${CC} -print-prog-name=collect2`
7895 if test -f "$collect2name" && \
7896 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7898 # We have reworked collect2
7901 # We have old collect2
7902 hardcode_direct
=unsupported
7903 # It fails to find uninstalled libraries when the uninstalled
7904 # path is not listed in the libpath. Setting hardcode_minus_L
7905 # to unsupported forces relinking
7906 hardcode_minus_L
=yes
7907 hardcode_libdir_flag_spec
='-L$libdir'
7908 hardcode_libdir_separator
=
7912 shared_flag
='-shared'
7913 if test "$aix_use_runtimelinking" = yes; then
7914 shared_flag
="$shared_flag "'${wl}-G'
7918 if test "$host_cpu" = ia64
; then
7919 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7920 # chokes on -Wl,-G. The following line is correct:
7923 if test "$aix_use_runtimelinking" = yes; then
7924 shared_flag
='${wl}-G'
7926 shared_flag
='${wl}-bM:SRE'
7931 # It seems that -bexpall does not export symbols beginning with
7932 # underscore (_), so it is better to generate a list of symbols to export.
7933 always_export_symbols
=yes
7934 if test "$aix_use_runtimelinking" = yes; then
7935 # Warning - without using the other runtime loading flags (-brtl),
7936 # -berok will link without error, but may produce a broken library.
7937 allow_undefined_flag
='-berok'
7938 # Determine the default libpath from the value encoded in an empty executable.
7939 cat >conftest.
$ac_ext <<_ACEOF
7942 cat confdefs.h
>>conftest.
$ac_ext
7943 cat >>conftest.
$ac_ext <<_ACEOF
7944 /* end confdefs.h. */
7954 rm -f conftest.
$ac_objext conftest
$ac_exeext
7955 if { (ac_try
="$ac_link"
7957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7958 *) ac_try_echo=$ac_try;;
7960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7961 (eval "$ac_link") 2>conftest.er1
7963 grep -v '^ *+' conftest.er1 >conftest.err
7965 cat conftest.err >&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); } && {
7968 test -z "$ac_c_werror_flag" ||
7969 test ! -s conftest.err
7970 } && test -s conftest$ac_exeext &&
7971 $as_test_x conftest$ac_exeext; then
7973 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7975 # Check for a 64-bit object if we didn't find anything.
7976 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7979 echo "$as_me: failed program was:" >&5
7980 sed 's/^/| /' conftest.$ac_ext >&5
7985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7986 conftest$ac_exeext conftest.$ac_ext
7987 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7989 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7990 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"
7992 if test "$host_cpu" = ia64; then
7993 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7994 allow_undefined_flag="-z nodefs"
7995 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"
7997 # Determine the default libpath from the value encoded in an empty executable.
7998 cat >conftest.$ac_ext <<_ACEOF
8001 cat confdefs.h >>conftest.$ac_ext
8002 cat >>conftest.$ac_ext <<_ACEOF
8003 /* end confdefs.h. */
8013 rm -f conftest.$ac_objext conftest$ac_exeext
8014 if { (ac_try="$ac_link"
8016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8017 *) ac_try_echo
=$ac_try;;
8019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8020 (eval "$ac_link") 2>conftest.er1
8022 grep -v '^ *+' conftest.er1
>conftest.err
8024 cat conftest.err
>&5
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); } && {
8027 test -z "$ac_c_werror_flag" ||
8028 test ! -s conftest.err
8029 } && test -s conftest
$ac_exeext &&
8030 $as_test_x conftest
$ac_exeext; then
8032 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8034 # Check for a 64-bit object if we didn't find anything.
8035 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8038 echo "$as_me: failed program was:" >&5
8039 sed 's/^/| /' conftest.
$ac_ext >&5
8044 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8045 conftest
$ac_exeext conftest.
$ac_ext
8046 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8048 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8049 # Warning - without using the other run time loading flags,
8050 # -berok will link without error, but may produce a broken library.
8051 no_undefined_flag
=' ${wl}-bernotok'
8052 allow_undefined_flag
=' ${wl}-berok'
8053 # Exported symbols can be pulled into shared objects from archives
8054 whole_archive_flag_spec
='$convenience'
8055 archive_cmds_need_lc
=yes
8056 # This is similar to how AIX traditionally builds its shared libraries.
8057 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'
8063 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)'
8064 hardcode_libdir_flag_spec
='-L$libdir'
8065 hardcode_minus_L
=yes
8066 # see comment about different semantics on the GNU ld section
8071 export_dynamic_flag_spec
=-rdynamic
8074 cygwin
* | mingw
* | pw32
*)
8075 # When not using gcc, we currently assume that we are using
8076 # Microsoft Visual C++.
8077 # hardcode_libdir_flag_spec is actually meaningless, as there is
8078 # no search path for DLLs.
8079 hardcode_libdir_flag_spec
=' '
8080 allow_undefined_flag
=unsupported
8081 # Tell ltmain to make .lib files, not .a files.
8083 # Tell ltmain to make .dll files, not .so files.
8085 # FIXME: Setting linknames here is a bad hack.
8086 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8087 # The linker will automatically build a .lib file if we build a DLL.
8088 old_archive_From_new_cmds
='true'
8089 # FIXME: Should let the user specify the lib program.
8090 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8091 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8092 enable_shared_with_static_runtimes
=yes
8095 darwin
* | rhapsody
*)
8097 rhapsody
* | darwin1.
[012])
8098 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8101 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8102 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8104 case ${MACOSX_DEPLOYMENT_TARGET} in
8106 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8109 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8115 archive_cmds_need_lc
=no
8117 hardcode_automatic
=yes
8118 hardcode_shlibpath_var
=unsupported
8119 whole_archive_flag_spec
=''
8120 link_all_deplibs
=yes
8121 if test "$GCC" = yes ; then
8122 output_verbose_link_cmd
='echo'
8123 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8124 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8125 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8126 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8127 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}'
8129 case $cc_basename in
8131 output_verbose_link_cmd
='echo'
8132 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8133 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8134 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8135 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8136 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}'
8146 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8147 hardcode_libdir_flag_spec
='-L$libdir'
8148 hardcode_shlibpath_var
=no
8155 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8156 # support. Future versions do this automatically, but an explicit c++rt0.o
8157 # does not break anything, and helps significantly (at the cost of a little
8160 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8161 hardcode_libdir_flag_spec
='-R$libdir'
8163 hardcode_shlibpath_var
=no
8166 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8168 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8170 hardcode_minus_L
=yes
8171 hardcode_shlibpath_var
=no
8174 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8175 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8176 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8177 hardcode_libdir_flag_spec
='-R$libdir'
8179 hardcode_shlibpath_var
=no
8183 if test "$GCC" = yes; then
8184 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'
8186 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'
8188 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8189 hardcode_libdir_separator
=:
8192 # hardcode_minus_L: Not really in the search PATH,
8193 # but as the default location of the library.
8194 hardcode_minus_L
=yes
8195 export_dynamic_flag_spec
='${wl}-E'
8199 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8200 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8202 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8204 if test "$with_gnu_ld" = no
; then
8205 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8206 hardcode_libdir_separator
=:
8209 export_dynamic_flag_spec
='${wl}-E'
8211 # hardcode_minus_L: Not really in the search PATH,
8212 # but as the default location of the library.
8213 hardcode_minus_L
=yes
8218 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8221 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8224 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8227 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8233 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8236 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8239 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8243 if test "$with_gnu_ld" = no
; then
8244 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8245 hardcode_libdir_separator
=:
8249 hardcode_libdir_flag_spec_ld
='+b $libdir'
8251 hardcode_shlibpath_var
=no
8255 export_dynamic_flag_spec
='${wl}-E'
8257 # hardcode_minus_L: Not really in the search PATH,
8258 # but as the default location of the library.
8259 hardcode_minus_L
=yes
8265 irix5
* | irix6
* | nonstopux
*)
8266 if test "$GCC" = yes; then
8267 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'
8269 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'
8270 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8272 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8273 hardcode_libdir_separator
=:
8274 link_all_deplibs
=yes
8278 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8279 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8281 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8283 hardcode_libdir_flag_spec
='-R$libdir'
8285 hardcode_shlibpath_var
=no
8289 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8291 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8292 hardcode_libdir_separator
=:
8293 hardcode_shlibpath_var
=no
8298 hardcode_shlibpath_var
=no
8299 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8300 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8301 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8302 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8303 export_dynamic_flag_spec
='${wl}-E'
8306 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8307 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8308 hardcode_libdir_flag_spec
='-R$libdir'
8311 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8312 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8319 hardcode_libdir_flag_spec
='-L$libdir'
8320 hardcode_minus_L
=yes
8321 allow_undefined_flag
=unsupported
8322 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'
8323 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8327 if test "$GCC" = yes; then
8328 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8329 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'
8331 allow_undefined_flag
=' -expect_unresolved \*'
8332 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'
8334 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8335 hardcode_libdir_separator
=:
8338 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8339 if test "$GCC" = yes; then
8340 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8341 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'
8342 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8344 allow_undefined_flag
=' -expect_unresolved \*'
8345 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'
8346 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8347 $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'
8349 # Both c and cxx compiler support -rpath directly
8350 hardcode_libdir_flag_spec
='-rpath $libdir'
8352 hardcode_libdir_separator
=:
8356 no_undefined_flag
=' -z text'
8357 if test "$GCC" = yes; then
8359 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8360 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8361 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8364 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8365 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8366 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8368 hardcode_libdir_flag_spec
='-R$libdir'
8369 hardcode_shlibpath_var
=no
8371 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8373 # The compiler driver will combine linker options so we
8374 # cannot just pass the convience library names through
8375 # without $wl, iff we do not link with $LD.
8376 # Luckily, gcc supports the same syntax we need for Sun Studio.
8377 # Supported since Solaris 2.6 (maybe 2.5.1?)
8380 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8382 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8385 link_all_deplibs
=yes
8389 if test "x$host_vendor" = xsequent
; then
8390 # Use $CC to link under sequent, because it throws in some extra .o
8391 # files that make .init and .fini sections work.
8392 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8394 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8396 hardcode_libdir_flag_spec
='-L$libdir'
8398 hardcode_minus_L
=yes
8399 hardcode_shlibpath_var
=no
8403 case $host_vendor in
8405 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8406 hardcode_direct
=yes # is this really true???
8409 ## LD is ld it makes a PLAMLIB
8410 ## CC just makes a GrossModule.
8411 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8412 reload_cmds
='$CC -r -o $output$reload_objs'
8416 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8417 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8420 runpath_var
='LD_RUN_PATH'
8421 hardcode_shlibpath_var
=no
8425 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8426 hardcode_shlibpath_var
=no
8427 export_dynamic_flag_spec
='-Bexport'
8431 if test -d /usr
/nec
; then
8432 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8433 hardcode_shlibpath_var
=no
8434 runpath_var
=LD_RUN_PATH
8435 hardcode_runpath_var
=yes
8440 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8441 no_undefined_flag
='${wl}-z,text'
8442 archive_cmds_need_lc
=no
8443 hardcode_shlibpath_var
=no
8444 runpath_var
='LD_RUN_PATH'
8446 if test "$GCC" = yes; then
8447 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8448 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8450 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8451 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8455 sysv5
* | sco3.2v5
* | sco5v6
*)
8456 # Note: We can NOT use -z defs as we might desire, because we do not
8457 # link with -lc, and that would cause any symbols used from libc to
8458 # always be unresolved, which means just about no library would
8459 # ever link correctly. If we're not using GNU ld we use -z text
8460 # though, which does catch some bad symbols but isn't as heavy-handed
8462 no_undefined_flag
='${wl}-z,text'
8463 allow_undefined_flag
='${wl}-z,nodefs'
8464 archive_cmds_need_lc
=no
8465 hardcode_shlibpath_var
=no
8466 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8467 hardcode_libdir_separator
=':'
8468 link_all_deplibs
=yes
8469 export_dynamic_flag_spec
='${wl}-Bexport'
8470 runpath_var
='LD_RUN_PATH'
8472 if test "$GCC" = yes; then
8473 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8474 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8476 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8477 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8482 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8483 hardcode_libdir_flag_spec
='-L$libdir'
8484 hardcode_shlibpath_var
=no
8493 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8494 echo "${ECHO_T}$ld_shlibs" >&6; }
8495 test "$ld_shlibs" = no
&& can_build_shared
=no
8498 # Do we need to explicitly link libc?
8500 case "x$archive_cmds_need_lc" in
8502 # Assume -lc should be added
8503 archive_cmds_need_lc
=yes
8505 if test "$enable_shared" = yes && test "$GCC" = yes; then
8506 case $archive_cmds in
8508 # FIXME: we may have to deal with multi-command sequences.
8511 # Test whether the compiler implicitly links with -lc since on some
8512 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8513 # to ld, don't add -lc before -lgcc.
8514 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8515 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8517 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8520 (eval $ac_compile) 2>&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } 2>conftest.err
; then
8526 libobjs
=conftest.
$ac_objext
8528 wl
=$lt_prog_compiler_wl
8529 pic_flag
=$lt_prog_compiler_pic
8535 lt_save_allow_undefined_flag
=$allow_undefined_flag
8536 allow_undefined_flag
=
8537 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8538 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); }
8543 archive_cmds_need_lc
=no
8545 archive_cmds_need_lc
=yes
8547 allow_undefined_flag
=$lt_save_allow_undefined_flag
8549 cat conftest.err
1>&5
8552 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8553 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8560 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8561 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8563 libname_spec
='lib$name'
8571 shlibpath_overrides_runpath
=unknown
8573 dynamic_linker
="$host_os ld.so"
8574 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8575 if test "$GCC" = yes; then
8576 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8577 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8578 # if the path contains ";" then we assume it to be the separator
8579 # otherwise default to the standard path separator (i.e. ":") - it is
8580 # assumed that no part of a normal pathname contains ";" but that should
8581 # okay in the real world where ";" in dirpaths is itself problematic.
8582 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8584 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8587 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8589 need_lib_prefix
=unknown
8590 hardcode_into_libs
=no
8592 # when you set need_version to no, make sure it does not cause -set_version
8593 # flags to be left without arguments
8594 need_version
=unknown
8599 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8600 shlibpath_var
=LIBPATH
8602 # AIX 3 has no versioning support, so we append a major version to the name.
8603 soname_spec
='${libname}${release}${shared_ext}$major'
8610 hardcode_into_libs
=yes
8611 if test "$host_cpu" = ia64
; then
8612 # AIX 5 supports IA64
8613 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8614 shlibpath_var
=LD_LIBRARY_PATH
8616 # With GCC up to 2.95.x, collect2 would create an import file
8617 # for dependence libraries. The import file would start with
8618 # the line `#! .'. This would cause the generated library to
8619 # depend on `.', always an invalid library. This was fixed in
8620 # development snapshots of GCC prior to 3.0.
8622 aix4 | aix4.
[01] | aix4.
[01].
*)
8623 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8625 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8632 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8633 # soname into executable. Probably we can add versioning support to
8634 # collect2, so additional links can be useful in future.
8635 if test "$aix_use_runtimelinking" = yes; then
8636 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8637 # instead of lib<name>.a to let people know that these are not
8638 # typical AIX shared libraries.
8639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8641 # We preserve .a as extension for shared libraries through AIX4.2
8642 # and later when we are not doing run time linking.
8643 library_names_spec
='${libname}${release}.a $libname.a'
8644 soname_spec
='${libname}${release}${shared_ext}$major'
8646 shlibpath_var
=LIBPATH
8651 library_names_spec
='$libname.ixlibrary $libname.a'
8652 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8653 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'
8657 library_names_spec
='${libname}${shared_ext}'
8658 dynamic_linker
="$host_os ld.so"
8659 shlibpath_var
=LIBRARY_PATH
8665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8666 soname_spec
='${libname}${release}${shared_ext}$major'
8667 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8668 shlibpath_var
=LD_LIBRARY_PATH
8669 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8670 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8671 # the default ld.so.conf also contains /usr/contrib/lib and
8672 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8673 # libtool to hard-code these into programs
8676 cygwin
* | mingw
* | pw32
*)
8677 version_type
=windows
8682 case $GCC,$host_os in
8683 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8684 library_names_spec
='$libname.dll.a'
8685 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8686 postinstall_cmds
='base_file=`basename \${file}`~
8687 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8688 dldir=$destdir/`dirname \$dlpath`~
8689 test -d \$dldir || mkdir -p \$dldir~
8690 $install_prog $dir/$dlname \$dldir/$dlname~
8691 chmod a+x \$dldir/$dlname'
8692 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8693 dlpath=$dir/\$dldll~
8695 shlibpath_overrides_runpath
=yes
8699 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8700 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8701 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8704 # MinGW DLLs use traditional 'lib' prefix
8705 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8706 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8707 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8708 # It is most probably a Windows format PATH printed by
8709 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8710 # path with ; separators, and with drive letters. We can handle the
8711 # drive letters (cygwin fileutils understands them), so leave them,
8712 # especially as we might pass files found there to a mingw objdump,
8713 # which wouldn't understand a cygwinified path. Ahh.
8714 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8716 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8720 # pw32 DLLs use 'pw' prefix rather than 'lib'
8721 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8727 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8730 dynamic_linker
='Win32 ld.exe'
8731 # FIXME: first we should search . and the directory the executable is in
8735 darwin
* | rhapsody
*)
8736 dynamic_linker
="$host_os dyld"
8740 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8741 soname_spec
='${libname}${release}${major}$shared_ext'
8742 shlibpath_overrides_runpath
=yes
8743 shlibpath_var
=DYLD_LIBRARY_PATH
8744 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8745 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8746 if test "$GCC" = yes; then
8747 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8749 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8751 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8759 soname_spec
='${libname}${release}${shared_ext}$major'
8760 shlibpath_var
=LD_LIBRARY_PATH
8771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8772 soname_spec
='${libname}${release}${shared_ext}$major'
8773 shlibpath_var
=LD_LIBRARY_PATH
8774 shlibpath_overrides_runpath
=no
8775 hardcode_into_libs
=yes
8776 dynamic_linker
='GNU ld.so'
8779 freebsd
* | dragonfly
*)
8780 # DragonFly does not have aout. When/if they implement a new
8781 # versioning mechanism, adjust this.
8782 if test -x /usr
/bin
/objformat
; then
8783 objformat
=`/usr/bin/objformat`
8786 freebsd
[123]*) objformat
=aout
;;
8790 version_type
=freebsd-
$objformat
8791 case $version_type in
8793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8798 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8802 shlibpath_var
=LD_LIBRARY_PATH
8805 shlibpath_overrides_runpath
=yes
8807 freebsd3.
[01]* | freebsdelf3.
[01]*)
8808 shlibpath_overrides_runpath
=yes
8809 hardcode_into_libs
=yes
8811 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8812 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8813 shlibpath_overrides_runpath
=no
8814 hardcode_into_libs
=yes
8816 freebsd
*) # from 4.6 on
8817 shlibpath_overrides_runpath
=yes
8818 hardcode_into_libs
=yes
8827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8828 soname_spec
='${libname}${release}${shared_ext}$major'
8829 shlibpath_var
=LD_LIBRARY_PATH
8830 hardcode_into_libs
=yes
8833 hpux9
* | hpux10
* | hpux11
*)
8834 # Give a soname corresponding to the major version so that dld.sl refuses to
8835 # link against other versions.
8842 hardcode_into_libs
=yes
8843 dynamic_linker
="$host_os dld.so"
8844 shlibpath_var
=LD_LIBRARY_PATH
8845 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8847 soname_spec
='${libname}${release}${shared_ext}$major'
8848 if test "X$HPUX_IA64_MODE" = X32
; then
8849 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8851 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8853 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8857 hardcode_into_libs
=yes
8858 dynamic_linker
="$host_os dld.sl"
8859 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8860 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8862 soname_spec
='${libname}${release}${shared_ext}$major'
8863 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8864 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8868 dynamic_linker
="$host_os dld.sl"
8869 shlibpath_var
=SHLIB_PATH
8870 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8872 soname_spec
='${libname}${release}${shared_ext}$major'
8875 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8876 postinstall_cmds
='chmod 555 $lib'
8883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8884 soname_spec
='${libname}${release}${shared_ext}$major'
8885 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8886 shlibpath_var
=LD_LIBRARY_PATH
8887 shlibpath_overrides_runpath
=no
8888 hardcode_into_libs
=yes
8891 irix5
* | irix6
* | nonstopux
*)
8893 nonstopux
*) version_type
=nonstopux
;;
8895 if test "$lt_cv_prog_gnu_ld" = yes; then
8903 soname_spec
='${libname}${release}${shared_ext}$major'
8904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8906 irix5
* | nonstopux
*)
8910 case $LD in # libtool.m4 will add one of these switches to LD
8911 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8912 libsuff
= shlibsuff
= libmagic
=32-bit;;
8913 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8914 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8915 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8916 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8917 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8921 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8922 shlibpath_overrides_runpath
=no
8923 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8924 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8925 hardcode_into_libs
=yes
8928 # No shared lib support for Linux oldld, aout, or coff.
8929 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8933 # This must be Linux ELF.
8938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8939 soname_spec
='${libname}${release}${shared_ext}$major'
8940 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8941 shlibpath_var
=LD_LIBRARY_PATH
8942 shlibpath_overrides_runpath
=no
8943 # This implies no fast_install, which is unacceptable.
8944 # Some rework will be needed to allow for fast_install
8945 # before this can be enabled.
8946 hardcode_into_libs
=yes
8948 # find out which ABI we are using
8951 x86_64
*|s390x
*|powerpc64
*)
8952 echo '#line 8952 "configure"' > conftest.
$ac_ext
8953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8954 (eval $ac_compile) 2>&5
8956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957 (exit $ac_status); }; then
8958 case `/usr/bin/file conftest.$ac_objext` in
8961 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8969 # Append ld.so.conf contents to the search path
8970 if test -f /etc
/ld.so.conf
; then
8971 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8972 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
8975 # We used to test for /lib/ld.so.1 and disable shared libraries on
8976 # powerpc, because MkLinux only supported shared libraries with the
8977 # GNU dynamic linker. Since this was broken with cross compilers,
8978 # most powerpc-linux boxes support dynamic linking these days and
8979 # people can always --disable-shared, the test was removed, and we
8980 # assume the GNU/Linux dynamic linker is in use.
8981 dynamic_linker
='GNU/Linux ld.so'
8988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8989 soname_spec
='${libname}${release}${shared_ext}$major'
8990 shlibpath_var
=LD_LIBRARY_PATH
8991 shlibpath_overrides_runpath
=no
8992 hardcode_into_libs
=yes
8993 dynamic_linker
='GNU ld.so'
9000 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9002 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9003 dynamic_linker
='NetBSD (a.out) ld.so'
9005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9006 soname_spec
='${libname}${release}${shared_ext}$major'
9007 dynamic_linker
='NetBSD ld.elf_so'
9009 shlibpath_var
=LD_LIBRARY_PATH
9010 shlibpath_overrides_runpath
=yes
9011 hardcode_into_libs
=yes
9016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9017 shlibpath_var
=LD_LIBRARY_PATH
9018 shlibpath_overrides_runpath
=yes
9025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9026 soname_spec
='${libname}${release}${shared_ext}$major'
9027 shlibpath_var
=LD_LIBRARY_PATH
9028 shlibpath_overrides_runpath
=yes
9033 sys_lib_dlsearch_path_spec
="/usr/lib"
9035 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9037 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9038 *) need_version
=no
;;
9040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9041 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9042 shlibpath_var
=LD_LIBRARY_PATH
9043 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9045 openbsd2.
[89] | openbsd2.
[89].
*)
9046 shlibpath_overrides_runpath
=no
9049 shlibpath_overrides_runpath
=yes
9053 shlibpath_overrides_runpath
=yes
9058 libname_spec
='$name'
9061 library_names_spec
='$libname${shared_ext} $libname.a'
9062 dynamic_linker
='OS/2 ld.exe'
9063 shlibpath_var
=LIBPATH
9066 osf3
* | osf4
* | osf5
*)
9070 soname_spec
='${libname}${release}${shared_ext}$major'
9071 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9072 shlibpath_var
=LD_LIBRARY_PATH
9073 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9074 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9082 soname_spec
='${libname}${release}${shared_ext}$major'
9083 shlibpath_var
=LD_LIBRARY_PATH
9084 shlibpath_overrides_runpath
=yes
9085 hardcode_into_libs
=yes
9086 # ldd complains unless libraries are executable
9087 postinstall_cmds
='chmod +x $lib'
9092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9093 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9094 shlibpath_var
=LD_LIBRARY_PATH
9095 shlibpath_overrides_runpath
=yes
9096 if test "$with_gnu_ld" = yes; then
9104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9105 soname_spec
='${libname}${release}${shared_ext}$major'
9106 shlibpath_var
=LD_LIBRARY_PATH
9107 case $host_vendor in
9109 shlibpath_overrides_runpath
=no
9111 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9112 runpath_var
=LD_RUN_PATH
9120 shlibpath_overrides_runpath
=no
9121 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9127 if test -d /usr
/nec
;then
9129 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9130 soname_spec
='$libname${shared_ext}.$major'
9131 shlibpath_var
=LD_LIBRARY_PATH
9135 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9136 version_type
=freebsd-elf
9139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9140 soname_spec
='${libname}${release}${shared_ext}$major'
9141 shlibpath_var
=LD_LIBRARY_PATH
9142 hardcode_into_libs
=yes
9143 if test "$with_gnu_ld" = yes; then
9144 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9145 shlibpath_overrides_runpath
=no
9147 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9148 shlibpath_overrides_runpath
=yes
9151 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9155 sys_lib_dlsearch_path_spec
='/usr/lib'
9160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9161 soname_spec
='${libname}${release}${shared_ext}$major'
9162 shlibpath_var
=LD_LIBRARY_PATH
9169 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9170 echo "${ECHO_T}$dynamic_linker" >&6; }
9171 test "$dynamic_linker" = no
&& can_build_shared
=no
9173 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9174 if test "$GCC" = yes; then
9175 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9178 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9179 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9181 if test -n "$hardcode_libdir_flag_spec" || \
9182 test -n "$runpath_var" || \
9183 test "X$hardcode_automatic" = "Xyes" ; then
9185 # We can hardcode non-existant directories.
9186 if test "$hardcode_direct" != no
&&
9187 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9188 # have to relink, otherwise we might link with an installed library
9189 # when we should be linking with a yet-to-be-installed one
9190 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9191 test "$hardcode_minus_L" != no
; then
9192 # Linking always hardcodes the temporary library directory.
9193 hardcode_action
=relink
9195 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9196 hardcode_action
=immediate
9199 # We cannot hardcode anything, or else we can only hardcode existing
9201 hardcode_action
=unsupported
9203 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9204 echo "${ECHO_T}$hardcode_action" >&6; }
9206 if test "$hardcode_action" = relink
; then
9207 # Fast installation is not supported
9208 enable_fast_install
=no
9209 elif test "$shlibpath_overrides_runpath" = yes ||
9210 test "$enable_shared" = no
; then
9211 # Fast installation is not necessary
9212 enable_fast_install
=needless
9217 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9218 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9219 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9220 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9221 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9222 { echo "$as_me:$LINENO: result: yes" >&5
9223 echo "${ECHO_T}yes" >&6; }
9225 # FIXME - insert some real tests, host_os isn't really good enough
9228 if test -n "$STRIP" ; then
9229 striplib
="$STRIP -x"
9230 { echo "$as_me:$LINENO: result: yes" >&5
9231 echo "${ECHO_T}yes" >&6; }
9233 { echo "$as_me:$LINENO: result: no" >&5
9234 echo "${ECHO_T}no" >&6; }
9238 { echo "$as_me:$LINENO: result: no" >&5
9239 echo "${ECHO_T}no" >&6; }
9244 if test "x$enable_dlopen" != xyes
; then
9245 enable_dlopen
=unknown
9246 enable_dlopen_self
=unknown
9247 enable_dlopen_self_static
=unknown
9254 lt_cv_dlopen
="load_add_on"
9256 lt_cv_dlopen_self
=yes
9260 lt_cv_dlopen
="LoadLibrary"
9265 lt_cv_dlopen
="dlopen"
9270 # if libdl is installed we need to link against it
9271 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9272 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9273 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 ac_check_lib_save_LIBS
=$LIBS
9278 cat >conftest.
$ac_ext <<_ACEOF
9281 cat confdefs.h
>>conftest.
$ac_ext
9282 cat >>conftest.
$ac_ext <<_ACEOF
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9300 rm -f conftest.
$ac_objext conftest
$ac_exeext
9301 if { (ac_try
="$ac_link"
9303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9304 *) ac_try_echo=$ac_try;;
9306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9307 (eval "$ac_link") 2>conftest.er1
9309 grep -v '^ *+' conftest.er1 >conftest.err
9311 cat conftest.err >&5
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); } && {
9314 test -z "$ac_c_werror_flag" ||
9315 test ! -s conftest.err
9316 } && test -s conftest$ac_exeext &&
9317 $as_test_x conftest$ac_exeext; then
9318 ac_cv_lib_dl_dlopen=yes
9320 echo "$as_me: failed program was:" >&5
9321 sed 's/^/| /' conftest.$ac_ext >&5
9323 ac_cv_lib_dl_dlopen=no
9326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9327 conftest$ac_exeext conftest.$ac_ext
9328 LIBS=$ac_check_lib_save_LIBS
9330 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9331 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9332 if test $ac_cv_lib_dl_dlopen = yes; then
9333 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9338 lt_cv_dlopen_self=yes
9345 { echo "$as_me:$LINENO: checking for shl_load" >&5
9346 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9347 if test "${ac_cv_func_shl_load+set}" = set; then
9348 echo $ECHO_N "(cached) $ECHO_C" >&6
9350 cat >conftest.$ac_ext <<_ACEOF
9353 cat confdefs.h >>conftest.$ac_ext
9354 cat >>conftest.$ac_ext <<_ACEOF
9355 /* end confdefs.h. */
9356 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9358 #define shl_load innocuous_shl_load
9360 /* System header to define __stub macros and hopefully few prototypes,
9361 which can conflict with char shl_load (); below.
9362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9363 <limits.h> exists even on freestanding compilers. */
9366 # include <limits.h>
9368 # include <assert.h>
9373 /* Override any GCC internal prototype to avoid an error.
9374 Use char because int might match the return type of a GCC
9375 builtin and then its argument prototype would still apply. */
9380 /* The GNU C library defines this for functions which it implements
9381 to always fail with ENOSYS. Some functions are actually named
9382 something starting with __ and the normal name is an alias. */
9383 #if defined __stub_shl_load || defined __stub___shl_load
9395 rm -f conftest.$ac_objext conftest$ac_exeext
9396 if { (ac_try="$ac_link"
9398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9399 *) ac_try_echo
=$ac_try;;
9401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9402 (eval "$ac_link") 2>conftest.er1
9404 grep -v '^ *+' conftest.er1
>conftest.err
9406 cat conftest.err
>&5
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); } && {
9409 test -z "$ac_c_werror_flag" ||
9410 test ! -s conftest.err
9411 } && test -s conftest
$ac_exeext &&
9412 $as_test_x conftest
$ac_exeext; then
9413 ac_cv_func_shl_load
=yes
9415 echo "$as_me: failed program was:" >&5
9416 sed 's/^/| /' conftest.
$ac_ext >&5
9418 ac_cv_func_shl_load
=no
9421 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9422 conftest
$ac_exeext conftest.
$ac_ext
9424 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9425 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9426 if test $ac_cv_func_shl_load = yes; then
9427 lt_cv_dlopen
="shl_load"
9429 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9430 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9431 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9432 echo $ECHO_N "(cached) $ECHO_C" >&6
9434 ac_check_lib_save_LIBS
=$LIBS
9436 cat >conftest.
$ac_ext <<_ACEOF
9439 cat confdefs.h
>>conftest.
$ac_ext
9440 cat >>conftest.
$ac_ext <<_ACEOF
9441 /* end confdefs.h. */
9443 /* Override any GCC internal prototype to avoid an error.
9444 Use char because int might match the return type of a GCC
9445 builtin and then its argument prototype would still apply. */
9458 rm -f conftest.
$ac_objext conftest
$ac_exeext
9459 if { (ac_try
="$ac_link"
9461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9462 *) ac_try_echo=$ac_try;;
9464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9465 (eval "$ac_link") 2>conftest.er1
9467 grep -v '^ *+' conftest.er1 >conftest.err
9469 cat conftest.err >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); } && {
9472 test -z "$ac_c_werror_flag" ||
9473 test ! -s conftest.err
9474 } && test -s conftest$ac_exeext &&
9475 $as_test_x conftest$ac_exeext; then
9476 ac_cv_lib_dld_shl_load=yes
9478 echo "$as_me: failed program was:" >&5
9479 sed 's/^/| /' conftest.$ac_ext >&5
9481 ac_cv_lib_dld_shl_load=no
9484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9485 conftest$ac_exeext conftest.$ac_ext
9486 LIBS=$ac_check_lib_save_LIBS
9488 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9489 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9490 if test $ac_cv_lib_dld_shl_load = yes; then
9491 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9493 { echo "$as_me:$LINENO: checking for dlopen" >&5
9494 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9495 if test "${ac_cv_func_dlopen+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9498 cat >conftest.$ac_ext <<_ACEOF
9501 cat confdefs.h >>conftest.$ac_ext
9502 cat >>conftest.$ac_ext <<_ACEOF
9503 /* end confdefs.h. */
9504 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9506 #define dlopen innocuous_dlopen
9508 /* System header to define __stub macros and hopefully few prototypes,
9509 which can conflict with char dlopen (); below.
9510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9511 <limits.h> exists even on freestanding compilers. */
9514 # include <limits.h>
9516 # include <assert.h>
9521 /* Override any GCC internal prototype to avoid an error.
9522 Use char because int might match the return type of a GCC
9523 builtin and then its argument prototype would still apply. */
9528 /* The GNU C library defines this for functions which it implements
9529 to always fail with ENOSYS. Some functions are actually named
9530 something starting with __ and the normal name is an alias. */
9531 #if defined __stub_dlopen || defined __stub___dlopen
9543 rm -f conftest.$ac_objext conftest$ac_exeext
9544 if { (ac_try="$ac_link"
9546 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9547 *) ac_try_echo
=$ac_try;;
9549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9550 (eval "$ac_link") 2>conftest.er1
9552 grep -v '^ *+' conftest.er1
>conftest.err
9554 cat conftest.err
>&5
9555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556 (exit $ac_status); } && {
9557 test -z "$ac_c_werror_flag" ||
9558 test ! -s conftest.err
9559 } && test -s conftest
$ac_exeext &&
9560 $as_test_x conftest
$ac_exeext; then
9561 ac_cv_func_dlopen
=yes
9563 echo "$as_me: failed program was:" >&5
9564 sed 's/^/| /' conftest.
$ac_ext >&5
9566 ac_cv_func_dlopen
=no
9569 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9570 conftest
$ac_exeext conftest.
$ac_ext
9572 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9573 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9574 if test $ac_cv_func_dlopen = yes; then
9575 lt_cv_dlopen
="dlopen"
9577 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9578 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9579 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9580 echo $ECHO_N "(cached) $ECHO_C" >&6
9582 ac_check_lib_save_LIBS
=$LIBS
9584 cat >conftest.
$ac_ext <<_ACEOF
9587 cat confdefs.h
>>conftest.
$ac_ext
9588 cat >>conftest.
$ac_ext <<_ACEOF
9589 /* end confdefs.h. */
9591 /* Override any GCC internal prototype to avoid an error.
9592 Use char because int might match the return type of a GCC
9593 builtin and then its argument prototype would still apply. */
9606 rm -f conftest.
$ac_objext conftest
$ac_exeext
9607 if { (ac_try
="$ac_link"
9609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9610 *) ac_try_echo=$ac_try;;
9612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9613 (eval "$ac_link") 2>conftest.er1
9615 grep -v '^ *+' conftest.er1 >conftest.err
9617 cat conftest.err >&5
9618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9619 (exit $ac_status); } && {
9620 test -z "$ac_c_werror_flag" ||
9621 test ! -s conftest.err
9622 } && test -s conftest$ac_exeext &&
9623 $as_test_x conftest$ac_exeext; then
9624 ac_cv_lib_dl_dlopen=yes
9626 echo "$as_me: failed program was:" >&5
9627 sed 's/^/| /' conftest.$ac_ext >&5
9629 ac_cv_lib_dl_dlopen=no
9632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9633 conftest$ac_exeext conftest.$ac_ext
9634 LIBS=$ac_check_lib_save_LIBS
9636 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9637 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9638 if test $ac_cv_lib_dl_dlopen = yes; then
9639 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9641 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9642 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9643 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9644 echo $ECHO_N "(cached) $ECHO_C" >&6
9646 ac_check_lib_save_LIBS=$LIBS
9648 cat >conftest.$ac_ext <<_ACEOF
9651 cat confdefs.h >>conftest.$ac_ext
9652 cat >>conftest.$ac_ext <<_ACEOF
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9670 rm -f conftest.$ac_objext conftest$ac_exeext
9671 if { (ac_try="$ac_link"
9673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9674 *) ac_try_echo
=$ac_try;;
9676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9677 (eval "$ac_link") 2>conftest.er1
9679 grep -v '^ *+' conftest.er1
>conftest.err
9681 cat conftest.err
>&5
9682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 (exit $ac_status); } && {
9684 test -z "$ac_c_werror_flag" ||
9685 test ! -s conftest.err
9686 } && test -s conftest
$ac_exeext &&
9687 $as_test_x conftest
$ac_exeext; then
9688 ac_cv_lib_svld_dlopen
=yes
9690 echo "$as_me: failed program was:" >&5
9691 sed 's/^/| /' conftest.
$ac_ext >&5
9693 ac_cv_lib_svld_dlopen
=no
9696 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9697 conftest
$ac_exeext conftest.
$ac_ext
9698 LIBS
=$ac_check_lib_save_LIBS
9700 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9701 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9702 if test $ac_cv_lib_svld_dlopen = yes; then
9703 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9705 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9706 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9707 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9708 echo $ECHO_N "(cached) $ECHO_C" >&6
9710 ac_check_lib_save_LIBS
=$LIBS
9712 cat >conftest.
$ac_ext <<_ACEOF
9715 cat confdefs.h
>>conftest.
$ac_ext
9716 cat >>conftest.
$ac_ext <<_ACEOF
9717 /* end confdefs.h. */
9719 /* Override any GCC internal prototype to avoid an error.
9720 Use char because int might match the return type of a GCC
9721 builtin and then its argument prototype would still apply. */
9734 rm -f conftest.
$ac_objext conftest
$ac_exeext
9735 if { (ac_try
="$ac_link"
9737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9738 *) ac_try_echo=$ac_try;;
9740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9741 (eval "$ac_link") 2>conftest.er1
9743 grep -v '^ *+' conftest.er1 >conftest.err
9745 cat conftest.err >&5
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); } && {
9748 test -z "$ac_c_werror_flag" ||
9749 test ! -s conftest.err
9750 } && test -s conftest$ac_exeext &&
9751 $as_test_x conftest$ac_exeext; then
9752 ac_cv_lib_dld_dld_link=yes
9754 echo "$as_me: failed program was:" >&5
9755 sed 's/^/| /' conftest.$ac_ext >&5
9757 ac_cv_lib_dld_dld_link=no
9760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9761 conftest$ac_exeext conftest.$ac_ext
9762 LIBS=$ac_check_lib_save_LIBS
9764 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9765 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9766 if test $ac_cv_lib_dld_dld_link = yes; then
9767 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9788 if test "x$lt_cv_dlopen" != xno; then
9794 case $lt_cv_dlopen in
9796 save_CPPFLAGS="$CPPFLAGS"
9797 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9799 save_LDFLAGS="$LDFLAGS"
9800 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9803 LIBS="$lt_cv_dlopen_libs $LIBS"
9805 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9806 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9807 if test "${lt_cv_dlopen_self+set}" = set; then
9808 echo $ECHO_N "(cached) $ECHO_C" >&6
9810 if test "$cross_compiling" = yes; then :
9811 lt_cv_dlopen_self=cross
9813 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9814 lt_status=$lt_dlunknown
9815 cat > conftest.$ac_ext <<EOF
9816 #line 9816 "configure"
9817 #include "confdefs.h"
9826 # define LT_DLGLOBAL RTLD_GLOBAL
9829 # define LT_DLGLOBAL DL_GLOBAL
9831 # define LT_DLGLOBAL 0
9835 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9836 find out it does not work in some platform. */
9837 #ifndef LT_DLLAZY_OR_NOW
9839 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9842 # define LT_DLLAZY_OR_NOW DL_LAZY
9845 # define LT_DLLAZY_OR_NOW RTLD_NOW
9848 # define LT_DLLAZY_OR_NOW DL_NOW
9850 # define LT_DLLAZY_OR_NOW 0
9858 extern "C" void exit (int);
9861 void fnord() { int i=42;}
9864 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9865 int status = $lt_dlunknown;
9869 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9870 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9871 /* dlclose (self); */
9879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9880 (eval $ac_link) 2>&5
9882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9884 (./conftest; exit; ) >&5 2>/dev/null
9887 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9888 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9889 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9892 # compilation failed
9893 lt_cv_dlopen_self=no
9900 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9901 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9903 if test "x$lt_cv_dlopen_self" = xyes; then
9904 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9905 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9906 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9907 if test "${lt_cv_dlopen_self_static+set}" = set; then
9908 echo $ECHO_N "(cached) $ECHO_C" >&6
9910 if test "$cross_compiling" = yes; then :
9911 lt_cv_dlopen_self_static=cross
9913 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9914 lt_status=$lt_dlunknown
9915 cat > conftest.$ac_ext <<EOF
9916 #line 9916 "configure"
9917 #include "confdefs.h"
9926 # define LT_DLGLOBAL RTLD_GLOBAL
9929 # define LT_DLGLOBAL DL_GLOBAL
9931 # define LT_DLGLOBAL 0
9935 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9936 find out it does not work in some platform. */
9937 #ifndef LT_DLLAZY_OR_NOW
9939 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9942 # define LT_DLLAZY_OR_NOW DL_LAZY
9945 # define LT_DLLAZY_OR_NOW RTLD_NOW
9948 # define LT_DLLAZY_OR_NOW DL_NOW
9950 # define LT_DLLAZY_OR_NOW 0
9958 extern "C" void exit (int);
9961 void fnord() { int i=42;}
9964 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9965 int status = $lt_dlunknown;
9969 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9970 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9971 /* dlclose (self); */
9979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9980 (eval $ac_link) 2>&5
9982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9983 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9984 (./conftest; exit; ) >&5 2>/dev/null
9987 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9988 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9989 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9992 # compilation failed
9993 lt_cv_dlopen_self_static=no
10000 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10001 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10004 CPPFLAGS="$save_CPPFLAGS"
10005 LDFLAGS="$save_LDFLAGS"
10010 case $lt_cv_dlopen_self in
10011 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10012 *) enable_dlopen_self=unknown ;;
10015 case $lt_cv_dlopen_self_static in
10016 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10017 *) enable_dlopen_self_static=unknown ;;
10022 # Report which library types will actually be built
10023 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10024 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10025 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10026 echo "${ECHO_T}$can_build_shared" >&6; }
10028 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10029 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10030 test "$can_build_shared" = "no" && enable_shared=no
10032 # On AIX, shared libraries and static libraries use the same namespace, and
10033 # are all built from PIC.
10036 test "$enable_shared" = yes && enable_static=no
10037 if test -n "$RANLIB"; then
10038 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10039 postinstall_cmds='$RANLIB $lib'
10044 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10045 test "$enable_shared" = yes && enable_static=no
10049 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10050 echo "${ECHO_T}$enable_shared" >&6; }
10052 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10053 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10054 # Make sure either enable_shared or enable_static is yes.
10055 test "$enable_shared" = yes || enable_static=yes
10056 { echo "$as_me:$LINENO: result: $enable_static" >&5
10057 echo "${ECHO_T}$enable_static" >&6; }
10059 # The else clause should only fire when bootstrapping the
10060 # libtool distribution, otherwise you forgot to ship ltmain.sh
10061 # with your package, and you will get complaints that there are
10062 # no rules to generate ltmain.sh.
10063 if test -f "$ltmain"; then
10064 # See if we are running on zsh, and set the options which allow our commands through
10065 # without removal of \ escapes.
10066 if test -n "${ZSH_VERSION+set}" ; then
10067 setopt NO_GLOB_SUBST
10069 # Now quote all the things that may contain metacharacters while being
10070 # careful not to overquote the AC_SUBSTed values. We take copies of the
10071 # variables and quote the copies for generation of the libtool script.
10072 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10074 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10075 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10076 deplibs_check_method reload_flag reload_cmds need_locks \
10077 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10078 lt_cv_sys_global_symbol_to_c_name_address \
10079 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10080 old_postinstall_cmds old_postuninstall_cmds \
10084 lt_prog_compiler_wl \
10085 lt_prog_compiler_pic \
10086 lt_prog_compiler_static \
10087 lt_prog_compiler_no_builtin_flag \
10088 export_dynamic_flag_spec \
10089 thread_safe_flag_spec \
10090 whole_archive_flag_spec \
10091 enable_shared_with_static_runtimes \
10093 old_archive_from_new_cmds \
10098 compiler_lib_search_path \
10100 archive_expsym_cmds \
10102 postuninstall_cmds \
10103 old_archive_from_expsyms_cmds \
10104 allow_undefined_flag \
10105 no_undefined_flag \
10106 export_symbols_cmds \
10107 hardcode_libdir_flag_spec \
10108 hardcode_libdir_flag_spec_ld \
10109 hardcode_libdir_separator \
10110 hardcode_automatic \
10112 module_expsym_cmds \
10113 lt_cv_prog_compiler_c_o \
10115 include_expsyms; do
10118 old_archive_cmds | \
10119 old_archive_from_new_cmds | \
10121 archive_expsym_cmds | \
10123 module_expsym_cmds | \
10124 old_archive_from_expsyms_cmds | \
10125 export_symbols_cmds | \
10126 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10127 postinstall_cmds | postuninstall_cmds | \
10128 old_postinstall_cmds | old_postuninstall_cmds | \
10129 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10130 # Double-quote double-evaled strings.
10131 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10134 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10140 *'\$0 --fallback-echo"')
10141 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10145 cfgfile="${ofile}T"
10146 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10148 { echo "$as_me:$LINENO: creating $ofile" >&5
10149 echo "$as_me: creating $ofile" >&6;}
10151 cat <<__EOF__ >> "$cfgfile"
10154 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10155 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10156 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10158 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10159 # Free Software Foundation, Inc.
10161 # This file is part of GNU Libtool:
10162 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10164 # This program is free software; you can redistribute it and/or modify
10165 # it under the terms of the GNU General Public License as published by
10166 # the Free Software Foundation; either version 2 of the License, or
10167 # (at your option) any later version.
10169 # This program is distributed in the hope that it will be useful, but
10170 # WITHOUT ANY WARRANTY; without even the implied warranty of
10171 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10172 # General Public License for more details.
10174 # You should have received a copy of the GNU General Public License
10175 # along with this program; if not, write to the Free Software
10176 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10178 # As a special exception to the GNU General Public License, if you
10179 # distribute this file as part of a program that contains a
10180 # configuration script generated by Autoconf, you may include it under
10181 # the same distribution terms that you use for the rest of that program.
10183 # A sed program that does not truncate output.
10186 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10187 Xsed="$SED -e 1s/^X//"
10189 # The HP-UX ksh and POSIX shell print the target directory to stdout
10190 # if CDPATH is set.
10191 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10193 # The names of the tagged configurations supported by this script.
10196 # ### BEGIN LIBTOOL CONFIG
10198 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10200 # Shell to use when invoking shell scripts.
10203 # Whether or not to build shared libraries.
10204 build_libtool_libs=$enable_shared
10206 # Whether or not to build static libraries.
10207 build_old_libs=$enable_static
10209 # Whether or not to add -lc for building shared libraries.
10210 build_libtool_need_lc=$archive_cmds_need_lc
10212 # Whether or not to disallow shared libs when runtime libs are static
10213 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10215 # Whether or not to optimize for fast installation.
10216 fast_install=$enable_fast_install
10219 host_alias=$host_alias
10223 # The build system.
10224 build_alias=$build_alias
10228 # An echo program that does not interpret backslashes.
10233 AR_FLAGS=$lt_AR_FLAGS
10238 # LTCC compiler flags.
10239 LTCFLAGS=$lt_LTCFLAGS
10241 # A language-specific compiler.
10244 # Is the compiler the GNU C compiler?
10250 # The linker used to build libraries.
10253 # Whether we need hard or soft links.
10256 # A BSD-compatible nm program.
10259 # A symbol stripping program
10262 # Used to examine libraries when file_magic_cmd begins "file"
10263 MAGIC_CMD=$MAGIC_CMD
10265 # Used on cygwin: DLL creation program.
10268 # Used on cygwin: object dumper.
10271 # Used on cygwin: assembler.
10274 # The name of the directory that contains temporary libtool files.
10277 # How to create reloadable object files.
10278 reload_flag=$lt_reload_flag
10279 reload_cmds=$lt_reload_cmds
10281 # How to pass a linker flag through the compiler.
10282 wl=$lt_lt_prog_compiler_wl
10284 # Object file suffix (normally "o").
10285 objext="$ac_objext"
10287 # Old archive suffix (normally "a").
10290 # Shared library suffix (normally ".so").
10291 shrext_cmds='$shrext_cmds'
10293 # Executable file suffix (normally "").
10296 # Additional compiler flags for building library objects.
10297 pic_flag=$lt_lt_prog_compiler_pic
10300 # What is the maximum length of a command?
10301 max_cmd_len=$lt_cv_sys_max_cmd_len
10303 # Does compiler simultaneously support -c and -o options?
10304 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10306 # Must we lock files when doing compilation?
10307 need_locks=$lt_need_locks
10309 # Do we need the lib prefix for modules?
10310 need_lib_prefix=$need_lib_prefix
10312 # Do we need a version for libraries?
10313 need_version=$need_version
10315 # Whether dlopen is supported.
10316 dlopen_support=$enable_dlopen
10318 # Whether dlopen of programs is supported.
10319 dlopen_self=$enable_dlopen_self
10321 # Whether dlopen of statically linked programs is supported.
10322 dlopen_self_static=$enable_dlopen_self_static
10324 # Compiler flag to prevent dynamic linking.
10325 link_static_flag=$lt_lt_prog_compiler_static
10327 # Compiler flag to turn off builtin functions.
10328 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10330 # Compiler flag to allow reflexive dlopens.
10331 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10333 # Compiler flag to generate shared objects directly from archives.
10334 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10336 # Compiler flag to generate thread-safe objects.
10337 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10339 # Library versioning type.
10340 version_type=$version_type
10342 # Format of library name prefix.
10343 libname_spec=$lt_libname_spec
10345 # List of archive names. First name is the real one, the rest are links.
10346 # The last name is the one that the linker finds with -lNAME.
10347 library_names_spec=$lt_library_names_spec
10349 # The coded name of the library, if different from the real name.
10350 soname_spec=$lt_soname_spec
10352 # Commands used to build and install an old-style archive.
10354 old_archive_cmds=$lt_old_archive_cmds
10355 old_postinstall_cmds=$lt_old_postinstall_cmds
10356 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10358 # Create an old-style archive from a shared archive.
10359 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10361 # Create a temporary old-style archive to link instead of a shared archive.
10362 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10364 # Commands used to build and install a shared archive.
10365 archive_cmds=$lt_archive_cmds
10366 archive_expsym_cmds=$lt_archive_expsym_cmds
10367 postinstall_cmds=$lt_postinstall_cmds
10368 postuninstall_cmds=$lt_postuninstall_cmds
10370 # Commands used to build a loadable module (assumed same as above if empty)
10371 module_cmds=$lt_module_cmds
10372 module_expsym_cmds=$lt_module_expsym_cmds
10374 # Commands to strip libraries.
10375 old_striplib=$lt_old_striplib
10376 striplib=$lt_striplib
10378 # Dependencies to place before the objects being linked to create a
10380 predep_objects=$lt_predep_objects
10382 # Dependencies to place after the objects being linked to create a
10384 postdep_objects=$lt_postdep_objects
10386 # Dependencies to place before the objects being linked to create a
10388 predeps=$lt_predeps
10390 # Dependencies to place after the objects being linked to create a
10392 postdeps=$lt_postdeps
10394 # The library search path used internally by the compiler when linking
10395 # a shared library.
10396 compiler_lib_search_path=$lt_compiler_lib_search_path
10398 # Method to check whether dependent libraries are shared objects.
10399 deplibs_check_method=$lt_deplibs_check_method
10401 # Command to use when deplibs_check_method == file_magic.
10402 file_magic_cmd=$lt_file_magic_cmd
10404 # Flag that allows shared libraries with undefined symbols to be built.
10405 allow_undefined_flag=$lt_allow_undefined_flag
10407 # Flag that forces no undefined symbols.
10408 no_undefined_flag=$lt_no_undefined_flag
10410 # Commands used to finish a libtool library installation in a directory.
10411 finish_cmds=$lt_finish_cmds
10413 # Same as above, but a single script fragment to be evaled but not shown.
10414 finish_eval=$lt_finish_eval
10416 # Take the output of nm and produce a listing of raw symbols and C names.
10417 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10419 # Transform the output of nm in a proper C declaration
10420 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10422 # Transform the output of nm in a C name address pair
10423 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10425 # This is the shared library runtime path variable.
10426 runpath_var=$runpath_var
10428 # This is the shared library path variable.
10429 shlibpath_var=$shlibpath_var
10431 # Is shlibpath searched before the hard-coded library search path?
10432 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10434 # How to hardcode a shared library path into an executable.
10435 hardcode_action=$hardcode_action
10437 # Whether we should hardcode library paths into libraries.
10438 hardcode_into_libs=$hardcode_into_libs
10440 # Flag to hardcode \$libdir into a binary during linking.
10441 # This must work even if \$libdir does not exist.
10442 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10444 # If ld is used when linking, flag to hardcode \$libdir into
10445 # a binary during linking. This must work even if \$libdir does
10447 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10449 # Whether we need a single -rpath flag with a separated argument.
10450 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10452 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10453 # resulting binary.
10454 hardcode_direct=$hardcode_direct
10456 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10457 # resulting binary.
10458 hardcode_minus_L=$hardcode_minus_L
10460 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10461 # the resulting binary.
10462 hardcode_shlibpath_var=$hardcode_shlibpath_var
10464 # Set to yes if building a shared library automatically hardcodes DIR into the library
10465 # and all subsequent libraries and executables linked against it.
10466 hardcode_automatic=$hardcode_automatic
10468 # Variables whose values should be saved in libtool wrapper scripts and
10469 # restored at relink time.
10470 variables_saved_for_relink="$variables_saved_for_relink"
10472 # Whether libtool must link a program against all its dependency libraries.
10473 link_all_deplibs=$link_all_deplibs
10475 # Compile-time system search path for libraries
10476 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10478 # Run-time system search path for libraries
10479 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10481 # Fix the shell variable \$srcfile for the compiler.
10482 fix_srcfile_path="$fix_srcfile_path"
10484 # Set to yes if exported symbols are required.
10485 always_export_symbols=$always_export_symbols
10487 # The commands to list exported symbols.
10488 export_symbols_cmds=$lt_export_symbols_cmds
10490 # The commands to extract the exported symbol list from a shared archive.
10491 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10493 # Symbols that should not be listed in the preloaded symbols.
10494 exclude_expsyms=$lt_exclude_expsyms
10496 # Symbols that must always be exported.
10497 include_expsyms=$lt_include_expsyms
10499 # ### END LIBTOOL CONFIG
10506 cat <<\EOF >> "$cfgfile"
10508 # AIX sometimes has problems with the GCC collect2 program. For some
10509 # reason, if we set the COLLECT_NAMES environment variable, the problems
10510 # vanish in a puff of smoke.
10511 if test "X${COLLECT_NAMES+set}" != Xset; then
10513 export COLLECT_NAMES
10519 # We use sed instead of cat because bash on DJGPP gets confused if
10520 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10521 # text mode, it properly converts lines to CR/LF. This bash problem
10522 # is reportedly fixed, but why not run on old versions too?
10523 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10525 mv -f "$cfgfile" "$ofile" || \
10526 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10530 # If there is no Makefile yet, we rely on a make rule to execute
10531 # `config.status
--recheck' to rerun these tests and create the
10532 # libtool script then.
10533 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10534 if test -f "$ltmain_in"; then
10535 test -f Makefile && make "$ltmain"
10541 ac_cpp='$CPP $CPPFLAGS'
10542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10543 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10549 # Check whether --with-tags was given.
10550 if test "${with_tags+set}" = set; then
10551 withval=$with_tags; tagnames="$withval"
10555 if test -f "$ltmain" && test -n "$tagnames"; then
10556 if test ! -f "${ofile}"; then
10557 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10558 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10561 if test -z "$LTCC"; then
10562 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10563 if test -z "$LTCC"; then
10564 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10565 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10567 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10568 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10571 if test -z "$LTCFLAGS"; then
10572 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10575 # Extract list of available tagged configurations in $ofile.
10576 # Note that this assumes the entire list is on one line.
10577 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10579 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10580 for tagname in $tagnames; do
10582 # Check whether tagname contains only valid characters
10583 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10585 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10586 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10587 { (exit 1); exit 1; }; }
10591 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10593 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10594 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10595 { (exit 1); exit 1; }; }
10598 # Update the list of available tags.
10599 if test -n "$tagname"; then
10600 echo appending configuration tag \"$tagname\" to $ofile
10604 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10605 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10606 (test "X$CXX" != "Xg++"))) ; then
10608 ac_cpp='$CXXCPP $CPPFLAGS'
10609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10616 archive_cmds_need_lc_CXX=no
10617 allow_undefined_flag_CXX=
10618 always_export_symbols_CXX=no
10619 archive_expsym_cmds_CXX=
10620 export_dynamic_flag_spec_CXX=
10621 hardcode_direct_CXX=no
10622 hardcode_libdir_flag_spec_CXX=
10623 hardcode_libdir_flag_spec_ld_CXX=
10624 hardcode_libdir_separator_CXX=
10625 hardcode_minus_L_CXX=no
10626 hardcode_shlibpath_var_CXX=unsupported
10627 hardcode_automatic_CXX=no
10629 module_expsym_cmds_CXX=
10630 link_all_deplibs_CXX=unknown
10631 old_archive_cmds_CXX=$old_archive_cmds
10632 no_undefined_flag_CXX=
10633 whole_archive_flag_spec_CXX=
10634 enable_shared_with_static_runtimes_CXX=no
10636 # Dependencies to place before and after the object being linked:
10637 predep_objects_CXX=
10638 postdep_objects_CXX=
10641 compiler_lib_search_path_CXX=
10643 # Source file extension for C++ test sources.
10646 # Object file extension for compiled C++ test sources.
10650 # Code to be used in simple compile tests
10651 lt_simple_compile_test_code="int some_variable = 0;\n"
10653 # Code to be used in simple link tests
10654 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10656 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10658 # If no C compiler was specified, use CC.
10661 # If no C compiler flags were specified, use CFLAGS.
10662 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10664 # Allow CC to be a program name with arguments.
10668 # save warnings/boilerplate of simple test code
10669 ac_outfile=conftest.$ac_objext
10670 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10671 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10672 _lt_compiler_boilerplate=`cat conftest.err
`
10675 ac_outfile=conftest.$ac_objext
10676 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10677 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10678 _lt_linker_boilerplate=`cat conftest.err
`
10682 # Allow CC to be a program name with arguments.
10687 lt_save_with_gnu_ld=$with_gnu_ld
10688 lt_save_path_LD=$lt_cv_path_LD
10689 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10690 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10692 $as_unset lt_cv_prog_gnu_ld
10694 if test -n "${lt_cv_path_LDCXX+set}"; then
10695 lt_cv_path_LD=$lt_cv_path_LDCXX
10697 $as_unset lt_cv_path_LD
10699 test -z "${LDCXX+set}" || LD=$LDCXX
10703 for cc_temp in $compiler""; do
10705 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10706 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10711 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10714 # We don't want -fno-exception wen compiling C++ code, so set the
10715 # no_builtin_flag separately
10716 if test "$GXX" = yes; then
10717 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10719 lt_prog_compiler_no_builtin_flag_CXX=
10722 if test "$GXX" = yes; then
10723 # Set up default GNU C++ configuration
10726 # Check whether --with-gnu-ld was given.
10727 if test "${with_gnu_ld+set}" = set; then
10728 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10734 if test "$GCC" = yes; then
10735 # Check if gcc -print-prog-name=ld gives a path.
10736 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10737 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10740 # gcc leaves a trailing carriage return which upsets mingw
10741 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10743 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10746 # Accept absolute paths.
10748 re_direlt='/[^/][^/]*/\.\./'
10749 # Canonicalize the pathname of ld
10750 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10751 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10752 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10754 test -z "$LD" && LD="$ac_prog"
10757 # If it fails, then pretend we aren't using GCC.
10761 # If it is relative, then search for the first ld in PATH.
10762 with_gnu_ld=unknown
10765 elif test "$with_gnu_ld" = yes; then
10766 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10767 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10769 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10770 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10772 if test "${lt_cv_path_LD+set}" = set; then
10773 echo $ECHO_N "(cached) $ECHO_C" >&6
10775 if test -z "$LD"; then
10776 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10777 for ac_dir in $PATH; do
10779 test -z "$ac_dir" && ac_dir=.
10780 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10781 lt_cv_path_LD="$ac_dir/$ac_prog"
10782 # Check to see if the program is GNU ld. I'd rather use --version,
10783 # but apparently some variants of GNU ld only accept -v.
10784 # Break only if it was the GNU/non-GNU ld that we prefer.
10785 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10786 *GNU* | *'with BFD'*)
10787 test "$with_gnu_ld" != no && break
10790 test "$with_gnu_ld" != yes && break
10797 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10801 LD="$lt_cv_path_LD"
10802 if test -n "$LD"; then
10803 { echo "$as_me:$LINENO: result: $LD" >&5
10804 echo "${ECHO_T}$LD" >&6; }
10806 { echo "$as_me:$LINENO: result: no" >&5
10807 echo "${ECHO_T}no" >&6; }
10809 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10810 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10811 { (exit 1); exit 1; }; }
10812 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10813 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10814 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10815 echo $ECHO_N "(cached) $ECHO_C" >&6
10817 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10818 case `$LD -v 2>&1 </dev
/null
` in
10819 *GNU* | *'with BFD'*)
10820 lt_cv_prog_gnu_ld=yes
10823 lt_cv_prog_gnu_ld=no
10827 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10828 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10829 with_gnu_ld=$lt_cv_prog_gnu_ld
10833 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10834 # archiving commands below assume that GNU ld is being used.
10835 if test "$with_gnu_ld" = yes; then
10836 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10837 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'
10839 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10840 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10842 # If archive_cmds runs LD, not CC, wlarc should be empty
10843 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10844 # investigate it a little bit more. (MM)
10847 # ancient GNU ld didn't support --whole-archive et. al.
10848 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10849 grep 'no-whole-archive' > /dev/null; then
10850 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10852 whole_archive_flag_spec_CXX=
10858 # A generic and very simple default shared library creation
10859 # command for GNU C++ for the case where it uses the native
10860 # linker, instead of GNU ld. If possible, this setting should
10861 # overridden to take advantage of the native linker features on
10862 # the platform it is being used on.
10863 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10866 # Commands to make compiler produce verbose output that lists
10867 # what "hidden" libraries, object files and flags are used when
10868 # linking a shared library.
10869 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10877 # PORTME: fill in a description of your system's C++ link characteristics
10878 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10879 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10883 # FIXME: insert proper C++ library support
10887 if test "$host_cpu" = ia64; then
10888 # On IA64, the linker does run time linking by default, so we don't
10889 # have to do anything special.
10890 aix_use_runtimelinking=no
10891 exp_sym_flag='-Bexport'
10894 aix_use_runtimelinking=no
10896 # Test if we are trying to use run time linking or normal
10897 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10898 # need to do runtime linking.
10899 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10900 for ld_flag in $LDFLAGS; do
10903 aix_use_runtimelinking=yes
10911 exp_sym_flag='-bexport'
10912 no_entry_flag='-bnoentry'
10915 # When large executables or shared objects are built, AIX ld can
10916 # have problems creating the table of contents. If linking a library
10917 # or program results in "error TOC overflow" add -mminimal-toc to
10918 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10919 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10921 archive_cmds_CXX=''
10922 hardcode_direct_CXX=yes
10923 hardcode_libdir_separator_CXX=':'
10924 link_all_deplibs_CXX=yes
10926 if test "$GXX" = yes; then
10927 case $host_os in aix4.[012]|aix4.[012].*)
10928 # We only want to do this on AIX 4.2 and lower, the check
10929 # below for broken collect2 doesn't work under 4.3+
10930 collect2name=`${CC} -print-prog-name=collect2
`
10931 if test -f "$collect2name" && \
10932 strings "$collect2name" | grep resolve_lib_name >/dev/null
10934 # We have reworked collect2
10935 hardcode_direct_CXX=yes
10937 # We have old collect2
10938 hardcode_direct_CXX=unsupported
10939 # It fails to find uninstalled libraries when the uninstalled
10940 # path is not listed in the libpath. Setting hardcode_minus_L
10941 # to unsupported forces relinking
10942 hardcode_minus_L_CXX=yes
10943 hardcode_libdir_flag_spec_CXX='-L$libdir'
10944 hardcode_libdir_separator_CXX=
10948 shared_flag='-shared'
10949 if test "$aix_use_runtimelinking" = yes; then
10950 shared_flag="$shared_flag "'${wl}-G'
10954 if test "$host_cpu" = ia64; then
10955 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10956 # chokes on -Wl,-G. The following line is correct:
10959 if test "$aix_use_runtimelinking" = yes; then
10960 shared_flag='${wl}-G'
10962 shared_flag='${wl}-bM:SRE'
10967 # It seems that -bexpall does not export symbols beginning with
10968 # underscore (_), so it is better to generate a list of symbols to export.
10969 always_export_symbols_CXX=yes
10970 if test "$aix_use_runtimelinking" = yes; then
10971 # Warning - without using the other runtime loading flags (-brtl),
10972 # -berok will link without error, but may produce a broken library.
10973 allow_undefined_flag_CXX='-berok'
10974 # Determine the default libpath from the value encoded in an empty executable.
10975 cat >conftest.$ac_ext <<_ACEOF
10978 cat confdefs.h >>conftest.$ac_ext
10979 cat >>conftest.$ac_ext <<_ACEOF
10980 /* end confdefs.h. */
10990 rm -f conftest.$ac_objext conftest$ac_exeext
10991 if { (ac_try="$ac_link"
10992 case "(($ac_try" in
10993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10994 *) ac_try_echo
=$ac_try;;
10996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10997 (eval "$ac_link") 2>conftest.er1
10999 grep -v '^ *+' conftest.er1
>conftest.err
11001 cat conftest.err
>&5
11002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11003 (exit $ac_status); } && {
11004 test -z "$ac_cxx_werror_flag" ||
11005 test ! -s conftest.err
11006 } && test -s conftest
$ac_exeext &&
11007 $as_test_x conftest
$ac_exeext; then
11009 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11011 # Check for a 64-bit object if we didn't find anything.
11012 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11015 echo "$as_me: failed program was:" >&5
11016 sed 's/^/| /' conftest.
$ac_ext >&5
11021 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11022 conftest
$ac_exeext conftest.
$ac_ext
11023 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11025 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11027 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"
11029 if test "$host_cpu" = ia64
; then
11030 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11031 allow_undefined_flag_CXX
="-z nodefs"
11032 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"
11034 # Determine the default libpath from the value encoded in an empty executable.
11035 cat >conftest.
$ac_ext <<_ACEOF
11038 cat confdefs.h
>>conftest.
$ac_ext
11039 cat >>conftest.
$ac_ext <<_ACEOF
11040 /* end confdefs.h. */
11050 rm -f conftest.
$ac_objext conftest
$ac_exeext
11051 if { (ac_try
="$ac_link"
11052 case "(($ac_try" in
11053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11054 *) ac_try_echo=$ac_try;;
11056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11057 (eval "$ac_link") 2>conftest.er1
11059 grep -v '^ *+' conftest.er1 >conftest.err
11061 cat conftest.err >&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); } && {
11064 test -z "$ac_cxx_werror_flag" ||
11065 test ! -s conftest.err
11066 } && test -s conftest$ac_exeext &&
11067 $as_test_x conftest$ac_exeext; then
11069 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11071 # Check for a 64-bit object if we didn't find anything.
11072 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11075 echo "$as_me: failed program was:" >&5
11076 sed 's/^/| /' conftest.$ac_ext >&5
11081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11082 conftest$ac_exeext conftest.$ac_ext
11083 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11085 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11086 # Warning - without using the other run time loading flags,
11087 # -berok will link without error, but may produce a broken library.
11088 no_undefined_flag_CXX=' ${wl}-bernotok'
11089 allow_undefined_flag_CXX=' ${wl}-berok'
11090 # Exported symbols can be pulled into shared objects from archives
11091 whole_archive_flag_spec_CXX='$convenience'
11092 archive_cmds_need_lc_CXX=yes
11093 # This is similar to how AIX traditionally builds its shared libraries.
11094 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'
11100 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11101 allow_undefined_flag_CXX=unsupported
11102 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11103 # support --undefined. This deserves some investigation. FIXME
11104 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11111 case $cc_basename in
11113 # FIXME: insert proper C++ library support
11119 cygwin* | mingw* | pw32*)
11120 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11121 # as there is no search path for DLLs.
11122 hardcode_libdir_flag_spec_CXX='-L$libdir'
11123 allow_undefined_flag_CXX=unsupported
11124 always_export_symbols_CXX=no
11125 enable_shared_with_static_runtimes_CXX=yes
11127 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11128 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'
11129 # If the export-symbols file already is a .def file (1st line
11130 # is EXPORTS), use it as is; otherwise, prepend...
11131 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11132 cp $export_symbols $output_objdir/$soname.def;
11134 echo EXPORTS > $output_objdir/$soname.def;
11135 cat $export_symbols >> $output_objdir/$soname.def;
11137 $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'
11142 darwin* | rhapsody*)
11144 rhapsody* | darwin1.[012])
11145 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11148 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11149 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11151 case ${MACOSX_DEPLOYMENT_TARGET} in
11153 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11156 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11162 archive_cmds_need_lc_CXX=no
11163 hardcode_direct_CXX=no
11164 hardcode_automatic_CXX=yes
11165 hardcode_shlibpath_var_CXX=unsupported
11166 whole_archive_flag_spec_CXX=''
11167 link_all_deplibs_CXX=yes
11169 if test "$GXX" = yes ; then
11170 lt_int_apple_cc_single_mod=no
11171 output_verbose_link_cmd='echo'
11172 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11173 lt_int_apple_cc_single_mod=yes
11175 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11176 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11178 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'
11180 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11181 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11182 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11183 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11185 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11187 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}'
11189 case $cc_basename in
11191 output_verbose_link_cmd='echo'
11192 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11193 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11194 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11195 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11196 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}'
11206 case $cc_basename in
11208 # FIXME: insert proper C++ library support
11212 # Green Hills C++ Compiler
11213 # FIXME: insert proper C++ library support
11217 # FIXME: insert proper C++ library support
11223 # C++ shared libraries reported to be fairly broken before switch to ELF
11227 archive_cmds_need_lc_CXX=no
11229 freebsd* | kfreebsd*-gnu | dragonfly*)
11230 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11237 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11238 hardcode_libdir_separator_CXX=:
11239 export_dynamic_flag_spec_CXX='${wl}-E'
11240 hardcode_direct_CXX=yes
11241 hardcode_minus_L_CXX=yes # Not in the search PATH,
11242 # but as the default
11243 # location of the library.
11245 case $cc_basename in
11247 # FIXME: insert proper C++ library support
11251 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'
11252 # Commands to make compiler produce verbose output that lists
11253 # what "hidden" libraries, object files and flags are used when
11254 # linking a shared library.
11256 # There doesn't appear to be a way to prevent this compiler from
11257 # explicitly linking system object files so we need to strip them
11258 # from the output so that they don't get included in the library
11260 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'
11263 if test "$GXX" = yes; then
11264 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'
11266 # FIXME: insert proper C++ library support
11273 if test $with_gnu_ld = no; then
11274 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11275 hardcode_libdir_separator_CXX=:
11279 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11282 export_dynamic_flag_spec_CXX='${wl}-E'
11288 hardcode_direct_CXX=no
11289 hardcode_shlibpath_var_CXX=no
11292 hardcode_direct_CXX=yes
11293 hardcode_minus_L_CXX=yes # Not in the search PATH,
11294 # but as the default
11295 # location of the library.
11299 case $cc_basename in
11301 # FIXME: insert proper C++ library support
11307 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11310 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11313 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11316 # Commands to make compiler produce verbose output that lists
11317 # what "hidden" libraries, object files and flags are used when
11318 # linking a shared library.
11320 # There doesn't appear to be a way to prevent this compiler from
11321 # explicitly linking system object files so we need to strip them
11322 # from the output so that they don't get included in the library
11324 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'
11327 if test "$GXX" = yes; then
11328 if test $with_gnu_ld = no; then
11331 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11334 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11337 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'
11342 # FIXME: insert proper C++ library support
11349 hardcode_direct_CXX=no
11350 hardcode_shlibpath_var_CXX=no
11351 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11352 export_dynamic_flag_spec_CXX='${wl}-E'
11353 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11354 # Instead, shared libraries are loaded at an image base (0x10000000 by
11355 # default) and relocated if they conflict, which is a slow very memory
11356 # consuming and fragmenting process. To avoid this, we pick a random,
11357 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11358 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11359 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'
11360 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'
11363 case $cc_basename in
11366 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'
11368 # Archives containing C++ object files must be created using
11369 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11370 # necessary to make sure instantiated templates are included
11372 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11375 if test "$GXX" = yes; then
11376 if test "$with_gnu_ld" = no; then
11377 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'
11379 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'
11382 link_all_deplibs_CXX=yes
11385 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11386 hardcode_libdir_separator_CXX=:
11389 case $cc_basename in
11391 # Kuck and Associates, Inc. (KAI) C++ Compiler
11393 # KCC will only create a shared library if the output file
11394 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11395 # to its proper name (with version) after linking.
11396 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'
11397 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'
11398 # Commands to make compiler produce verbose output that lists
11399 # what "hidden" libraries, object files and flags are used when
11400 # linking a shared library.
11402 # There doesn't appear to be a way to prevent this compiler from
11403 # explicitly linking system object files so we need to strip them
11404 # from the output so that they don't get included in the library
11406 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'
11408 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11409 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11411 # Archives containing C++ object files must be created using
11412 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11413 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11418 # version 8.0 and above of icpc choke on multiply defined symbols
11419 # if we add $predep_objects and $postdep_objects, however 7.1 and
11420 # earlier do not add the objects themselves.
11421 case `$CC -V 2>&1` in
11423 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11424 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'
11426 *) # Version 8.0 or newer
11429 ia64
*) tmp_idyn
=' -i_dynamic';;
11431 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11432 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'
11435 archive_cmds_need_lc_CXX
=no
11436 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11437 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11438 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11441 # Portland Group C++ compiler
11442 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11443 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'
11445 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11446 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11447 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'
11451 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11452 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'
11454 runpath_var
=LD_RUN_PATH
11455 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11456 hardcode_libdir_separator_CXX
=:
11458 # Commands to make compiler produce verbose output that lists
11459 # what "hidden" libraries, object files and flags are used when
11460 # linking a shared library.
11462 # There doesn't appear to be a way to prevent this compiler from
11463 # explicitly linking system object files so we need to strip them
11464 # from the output so that they don't get included in the library
11466 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'
11471 # FIXME: insert proper C++ library support
11475 # FIXME: insert proper C++ library support
11479 case $cc_basename in
11481 # FIXME: insert proper C++ library support
11485 # FIXME: insert proper C++ library support
11491 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11492 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11494 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11495 hardcode_direct_CXX
=yes
11496 hardcode_shlibpath_var_CXX
=no
11498 # Workaround some broken pre-1.5 toolchains
11499 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11502 # C++ shared libraries are fairly broken
11506 hardcode_direct_CXX
=yes
11507 hardcode_shlibpath_var_CXX
=no
11508 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11509 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11510 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11511 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11512 export_dynamic_flag_spec_CXX
='${wl}-E'
11513 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11515 output_verbose_link_cmd
='echo'
11518 case $cc_basename in
11520 # Kuck and Associates, Inc. (KAI) C++ Compiler
11522 # KCC will only create a shared library if the output file
11523 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11524 # to its proper name (with version) after linking.
11525 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'
11527 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11528 hardcode_libdir_separator_CXX
=:
11530 # Archives containing C++ object files must be created using
11531 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11532 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11536 # Rational C++ 2.4.1
11537 # FIXME: insert proper C++ library support
11541 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11542 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'
11544 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11545 hardcode_libdir_separator_CXX
=:
11547 # Commands to make compiler produce verbose output that lists
11548 # what "hidden" libraries, object files and flags are used when
11549 # linking a shared library.
11551 # There doesn't appear to be a way to prevent this compiler from
11552 # explicitly linking system object files so we need to strip them
11553 # from the output so that they don't get included in the library
11555 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'
11558 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11559 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11560 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'
11562 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11563 hardcode_libdir_separator_CXX
=:
11565 # Commands to make compiler produce verbose output that lists
11566 # what "hidden" libraries, object files and flags are used when
11567 # linking a shared library.
11568 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11571 # FIXME: insert proper C++ library support
11578 case $cc_basename in
11580 # Kuck and Associates, Inc. (KAI) C++ Compiler
11582 # KCC will only create a shared library if the output file
11583 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11584 # to its proper name (with version) after linking.
11585 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'
11587 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11588 hardcode_libdir_separator_CXX
=:
11590 # Archives containing C++ object files must be created using
11591 # the KAI C++ compiler.
11592 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11595 # Rational C++ 2.4.1
11596 # FIXME: insert proper C++ library support
11600 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11601 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'
11602 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11603 echo "-hidden">> $lib.exp~
11604 $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~
11607 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11608 hardcode_libdir_separator_CXX
=:
11610 # Commands to make compiler produce verbose output that lists
11611 # what "hidden" libraries, object files and flags are used when
11612 # linking a shared library.
11614 # There doesn't appear to be a way to prevent this compiler from
11615 # explicitly linking system object files so we need to strip them
11616 # from the output so that they don't get included in the library
11618 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'
11621 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11622 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11623 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'
11625 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11626 hardcode_libdir_separator_CXX
=:
11628 # Commands to make compiler produce verbose output that lists
11629 # what "hidden" libraries, object files and flags are used when
11630 # linking a shared library.
11631 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11634 # FIXME: insert proper C++ library support
11641 # FIXME: insert proper C++ library support
11645 case $cc_basename in
11648 # FIXME: insert proper C++ library support
11653 # FIXME: insert proper C++ library support
11657 # FIXME: insert proper C++ library support
11663 case $cc_basename in
11665 # Sun C++ 4.2, 5.x and Centerline C++
11666 archive_cmds_need_lc_CXX
=yes
11667 no_undefined_flag_CXX
=' -zdefs'
11668 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11669 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11670 $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'
11672 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11673 hardcode_shlibpath_var_CXX
=no
11675 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11677 # The C++ compiler is used as linker so we must use $wl
11678 # flag to pass the commands to the underlying system
11679 # linker. We must also pass each convience library through
11680 # to the system linker between allextract/defaultextract.
11681 # The C++ compiler will combine linker options so we
11682 # cannot just pass the convience library names through
11684 # Supported since Solaris 2.6 (maybe 2.5.1?)
11685 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11688 link_all_deplibs_CXX
=yes
11690 output_verbose_link_cmd
='echo'
11692 # Archives containing C++ object files must be created using
11693 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11694 # necessary to make sure instantiated templates are included
11696 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11699 # Green Hills C++ Compiler
11700 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11702 # The C++ compiler must be used to create the archive.
11703 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11706 # GNU C++ compiler with Solaris linker
11707 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11708 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11709 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11710 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11711 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11712 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11714 # Commands to make compiler produce verbose output that lists
11715 # what "hidden" libraries, object files and flags are used when
11716 # linking a shared library.
11717 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11719 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11721 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11722 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11723 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11725 # Commands to make compiler produce verbose output that lists
11726 # what "hidden" libraries, object files and flags are used when
11727 # linking a shared library.
11728 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11731 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11736 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11737 no_undefined_flag_CXX
='${wl}-z,text'
11738 archive_cmds_need_lc_CXX
=no
11739 hardcode_shlibpath_var_CXX
=no
11740 runpath_var
='LD_RUN_PATH'
11742 case $cc_basename in
11744 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11745 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11748 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11749 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11753 sysv5
* | sco3.2v5
* | sco5v6
*)
11754 # Note: We can NOT use -z defs as we might desire, because we do not
11755 # link with -lc, and that would cause any symbols used from libc to
11756 # always be unresolved, which means just about no library would
11757 # ever link correctly. If we're not using GNU ld we use -z text
11758 # though, which does catch some bad symbols but isn't as heavy-handed
11760 # For security reasons, it is highly recommended that you always
11761 # use absolute paths for naming shared libraries, and exclude the
11762 # DT_RUNPATH tag from executables and libraries. But doing so
11763 # requires that you compile everything twice, which is a pain.
11764 # So that behaviour is only enabled if SCOABSPATH is set to a
11765 # non-empty value in the environment. Most likely only useful for
11766 # creating official distributions of packages.
11767 # This is a hack until libtool officially supports absolute path
11768 # names for shared libraries.
11769 no_undefined_flag_CXX
='${wl}-z,text'
11770 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11771 archive_cmds_need_lc_CXX
=no
11772 hardcode_shlibpath_var_CXX
=no
11773 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11774 hardcode_libdir_separator_CXX
=':'
11775 link_all_deplibs_CXX
=yes
11776 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11777 runpath_var
='LD_RUN_PATH'
11779 case $cc_basename in
11781 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11782 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11785 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11786 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11791 case $cc_basename in
11793 # NonStop-UX NCC 3.20
11794 # FIXME: insert proper C++ library support
11798 # FIXME: insert proper C++ library support
11804 # FIXME: insert proper C++ library support
11808 # FIXME: insert proper C++ library support
11812 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11813 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11814 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11820 cat > conftest.
$ac_ext <<EOF
11824 Foo (void) { a = 0; }
11830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11831 (eval $ac_compile) 2>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); }; then
11835 # Parse the compiler output and extract the necessary
11836 # objects, libraries and library flags.
11838 # Sentinel used to keep track of whether or not we are before
11839 # the conftest object file.
11840 pre_test_object_deps_done
=no
11842 # The `*' in the case matches for architectures that use `case' in
11843 # $output_verbose_cmd can trigger glob expansion during the loop
11844 # eval without this substitution.
11845 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11847 for p
in `eval $output_verbose_link_cmd`; do
11851 # Some compilers place space between "-{L,R}" and the path.
11852 # Remove the space.
11853 if test $p = "-L" \
11854 ||
test $p = "-R"; then
11861 if test "$pre_test_object_deps_done" = no
; then
11864 # Internal compiler library paths should come after those
11865 # provided the user. The postdeps already come after the
11866 # user supplied libs so there is no need to process them.
11867 if test -z "$compiler_lib_search_path_CXX"; then
11868 compiler_lib_search_path_CXX
="${prev}${p}"
11870 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11873 # The "-l" case would never come before the object being
11874 # linked, so don't bother handling this case.
11877 if test -z "$postdeps_CXX"; then
11878 postdeps_CXX
="${prev}${p}"
11880 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11886 # This assumes that the test object file only shows up
11887 # once in the compiler output.
11888 if test "$p" = "conftest.$objext"; then
11889 pre_test_object_deps_done
=yes
11893 if test "$pre_test_object_deps_done" = no
; then
11894 if test -z "$predep_objects_CXX"; then
11895 predep_objects_CXX
="$p"
11897 predep_objects_CXX
="$predep_objects_CXX $p"
11900 if test -z "$postdep_objects_CXX"; then
11901 postdep_objects_CXX
="$p"
11903 postdep_objects_CXX
="$postdep_objects_CXX $p"
11908 *) ;; # Ignore the rest.
11916 echo "libtool.m4: error: problem compiling CXX test program"
11919 $rm -f confest.
$objext
11921 # PORTME: override above test on systems where it is broken
11924 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11925 # hack all around it, let's just trust "g++" to DTRT.
11926 predep_objects_CXX
=
11927 postdep_objects_CXX
=
11932 case $cc_basename in
11934 # Adding this requires a known-good setup of shared libraries for
11935 # Sun compiler versions before 5.6, else PIC objects from an old
11936 # archive will be linked into the output, leading to subtle bugs.
11937 postdeps_CXX
='-lCstd -lCrun'
11944 case " $postdeps_CXX " in
11945 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11948 lt_prog_compiler_wl_CXX
=
11949 lt_prog_compiler_pic_CXX
=
11950 lt_prog_compiler_static_CXX
=
11952 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11953 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11955 # C++ specific cases for pic, static, wl, etc.
11956 if test "$GXX" = yes; then
11957 lt_prog_compiler_wl_CXX
='-Wl,'
11958 lt_prog_compiler_static_CXX
='-static'
11962 # All AIX code is PIC.
11963 if test "$host_cpu" = ia64
; then
11964 # AIX 5 now supports IA64 processor
11965 lt_prog_compiler_static_CXX
='-Bstatic'
11969 # FIXME: we need at least 68020 code to build shared libraries, but
11970 # adding the `-m68020' flag to GCC prevents building anything better,
11972 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11974 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11975 # PIC is the default for these OSes.
11977 mingw
* | os2
* | pw32
*)
11978 # This hack is so that the source file can tell whether it is being
11979 # built for inclusion in a dll (and should export symbols for example).
11980 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11982 darwin
* | rhapsody
*)
11983 # PIC is the default on this platform
11984 # Common symbols not allowed in MH_DYLIB files
11985 lt_prog_compiler_pic_CXX
='-fno-common'
11988 # DJGPP does not support shared libraries at all
11989 lt_prog_compiler_pic_CXX
=
11992 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11993 # Instead, we relocate shared libraries at runtime.
11996 if test -d /usr
/nec
; then
11997 lt_prog_compiler_pic_CXX
=-Kconform_pic
12001 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12002 # not for PA HP-UX.
12007 lt_prog_compiler_pic_CXX
='-fPIC'
12012 lt_prog_compiler_pic_CXX
='-fPIC'
12018 # All AIX code is PIC.
12019 if test "$host_cpu" = ia64
; then
12020 # AIX 5 now supports IA64 processor
12021 lt_prog_compiler_static_CXX
='-Bstatic'
12023 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12027 case $cc_basename in
12029 # Green Hills C++ Compiler
12030 # _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"
12035 # PIC is the default on this platform
12036 # Common symbols not allowed in MH_DYLIB files
12037 case $cc_basename in
12039 lt_prog_compiler_pic_CXX
='-qnocommon'
12040 lt_prog_compiler_wl_CXX
='-Wl,'
12045 case $cc_basename in
12047 lt_prog_compiler_pic_CXX
='-KPIC'
12050 # Green Hills C++ Compiler
12051 lt_prog_compiler_pic_CXX
='-pic'
12057 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12058 # FreeBSD uses GNU C++
12060 hpux9
* | hpux10
* | hpux11
*)
12061 case $cc_basename in
12063 lt_prog_compiler_wl_CXX
='-Wl,'
12064 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12065 if test "$host_cpu" != ia64
; then
12066 lt_prog_compiler_pic_CXX
='+Z'
12070 lt_prog_compiler_wl_CXX
='-Wl,'
12071 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12077 lt_prog_compiler_pic_CXX
='+Z'
12086 # This is c89, which is MS Visual C++ (no shared libs)
12087 # Anyone wants to do a port?
12089 irix5
* | irix6
* | nonstopux
*)
12090 case $cc_basename in
12092 lt_prog_compiler_wl_CXX
='-Wl,'
12093 lt_prog_compiler_static_CXX
='-non_shared'
12094 # CC pic flag -KPIC is the default.
12101 case $cc_basename in
12104 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12105 lt_prog_compiler_pic_CXX
='-fPIC'
12109 lt_prog_compiler_wl_CXX
='-Wl,'
12110 lt_prog_compiler_pic_CXX
='-KPIC'
12111 lt_prog_compiler_static_CXX
='-static'
12114 # Portland Group C++ compiler.
12115 lt_prog_compiler_wl_CXX
='-Wl,'
12116 lt_prog_compiler_pic_CXX
='-fpic'
12117 lt_prog_compiler_static_CXX
='-Bstatic'
12121 # Make sure the PIC flag is empty. It appears that all Alpha
12122 # Linux and Compaq Tru64 Unix objects are PIC.
12123 lt_prog_compiler_pic_CXX
=
12124 lt_prog_compiler_static_CXX
='-non_shared'
12135 case $cc_basename in
12137 lt_prog_compiler_pic_CXX
='-W c,exportall'
12145 osf3
* | osf4
* | osf5
*)
12146 case $cc_basename in
12148 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12151 # Rational C++ 2.4.1
12152 lt_prog_compiler_pic_CXX
='-pic'
12155 # Digital/Compaq C++
12156 lt_prog_compiler_wl_CXX
='-Wl,'
12157 # Make sure the PIC flag is empty. It appears that all Alpha
12158 # Linux and Compaq Tru64 Unix objects are PIC.
12159 lt_prog_compiler_pic_CXX
=
12160 lt_prog_compiler_static_CXX
='-non_shared'
12169 case $cc_basename in
12171 # Sun C++ 4.2, 5.x and Centerline C++
12172 lt_prog_compiler_pic_CXX
='-KPIC'
12173 lt_prog_compiler_static_CXX
='-Bstatic'
12174 lt_prog_compiler_wl_CXX
='-Qoption ld '
12177 # Green Hills C++ Compiler
12178 lt_prog_compiler_pic_CXX
='-PIC'
12185 case $cc_basename in
12188 lt_prog_compiler_pic_CXX
='-pic'
12189 lt_prog_compiler_static_CXX
='-Bstatic'
12193 lt_prog_compiler_pic_CXX
='-pic'
12200 case $cc_basename in
12202 # NonStop-UX NCC 3.20
12203 lt_prog_compiler_pic_CXX
='-KPIC'
12209 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12210 case $cc_basename in
12212 lt_prog_compiler_wl_CXX
='-Wl,'
12213 lt_prog_compiler_pic_CXX
='-KPIC'
12214 lt_prog_compiler_static_CXX
='-Bstatic'
12221 lt_prog_compiler_can_build_shared_CXX
=no
12226 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12227 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12230 # Check to make sure the PIC flag actually works.
12232 if test -n "$lt_prog_compiler_pic_CXX"; then
12234 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12235 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12236 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12237 echo $ECHO_N "(cached) $ECHO_C" >&6
12239 lt_prog_compiler_pic_works_CXX
=no
12240 ac_outfile
=conftest.
$ac_objext
12241 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12242 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12243 # Insert the option either (1) after the last *FLAGS variable, or
12244 # (2) before a word containing "conftest.", or (3) at the end.
12245 # Note that $ac_compile itself does not contain backslashes and begins
12246 # with a dollar sign (not a hyphen), so the echo should work correctly.
12247 # The option is referenced via a variable to avoid confusing sed.
12248 lt_compile
=`echo "$ac_compile" | $SED \
12249 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12250 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12251 -e 's:$: $lt_compiler_flag:'`
12252 (eval echo "\"\$as_me:12252: $lt_compile\"" >&5)
12253 (eval "$lt_compile" 2>conftest.err
)
12255 cat conftest.err
>&5
12256 echo "$as_me:12256: \$? = $ac_status" >&5
12257 if (exit $ac_status) && test -s "$ac_outfile"; then
12258 # The compiler can only warn and ignore the option if not recognized
12259 # So say no if there are warnings other than the usual output.
12260 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12261 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12262 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12263 lt_prog_compiler_pic_works_CXX
=yes
12269 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12270 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12272 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12273 case $lt_prog_compiler_pic_CXX in
12275 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12278 lt_prog_compiler_pic_CXX
=
12279 lt_prog_compiler_can_build_shared_CXX
=no
12284 # For platforms which do not support PIC, -DPIC is meaningless:
12286 lt_prog_compiler_pic_CXX
=
12289 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12294 # Check to make sure the static flag actually works.
12296 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12297 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12298 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12299 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12300 echo $ECHO_N "(cached) $ECHO_C" >&6
12302 lt_prog_compiler_static_works_CXX
=no
12303 save_LDFLAGS
="$LDFLAGS"
12304 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12305 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12306 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12307 # The linker can only warn and ignore the option if not recognized
12308 # So say no if there are warnings
12309 if test -s conftest.err
; then
12310 # Append any errors to the config.log.
12311 cat conftest.err
1>&5
12312 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12313 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12314 if diff conftest.exp conftest.er2
>/dev
/null
; then
12315 lt_prog_compiler_static_works_CXX
=yes
12318 lt_prog_compiler_static_works_CXX
=yes
12322 LDFLAGS
="$save_LDFLAGS"
12325 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12326 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12328 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12331 lt_prog_compiler_static_CXX
=
12335 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12336 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12337 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12338 echo $ECHO_N "(cached) $ECHO_C" >&6
12340 lt_cv_prog_compiler_c_o_CXX
=no
12341 $rm -r conftest
2>/dev
/null
12345 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12347 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12348 # Insert the option either (1) after the last *FLAGS variable, or
12349 # (2) before a word containing "conftest.", or (3) at the end.
12350 # Note that $ac_compile itself does not contain backslashes and begins
12351 # with a dollar sign (not a hyphen), so the echo should work correctly.
12352 lt_compile
=`echo "$ac_compile" | $SED \
12353 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12354 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12355 -e 's:$: $lt_compiler_flag:'`
12356 (eval echo "\"\$as_me:12356: $lt_compile\"" >&5)
12357 (eval "$lt_compile" 2>out
/conftest.err
)
12359 cat out
/conftest.err
>&5
12360 echo "$as_me:12360: \$? = $ac_status" >&5
12361 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12363 # The compiler can only warn and ignore the option if not recognized
12364 # So say no if there are warnings
12365 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12366 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12367 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12368 lt_cv_prog_compiler_c_o_CXX
=yes
12373 # SGI C++ compiler will create directory out/ii_files/ for
12374 # template instantiation
12375 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12376 $rm out
/* && rmdir out
12382 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12383 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12386 hard_links
="nottested"
12387 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12388 # do not overwrite the value of need_locks provided by the user
12389 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12390 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12393 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12395 ln conftest.a conftest.b
2>&5 || hard_links
=no
12396 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12397 { echo "$as_me:$LINENO: result: $hard_links" >&5
12398 echo "${ECHO_T}$hard_links" >&6; }
12399 if test "$hard_links" = no
; then
12400 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12401 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12408 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12409 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12411 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12414 # If we're using GNU nm, then we don't want the "-C" option.
12415 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12416 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12417 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'
12419 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'
12423 export_symbols_cmds_CXX
="$ltdll_cmds"
12426 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'
12429 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12433 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12434 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12435 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12438 # Do we need to explicitly link libc?
12440 case "x$archive_cmds_need_lc_CXX" in
12442 # Assume -lc should be added
12443 archive_cmds_need_lc_CXX
=yes
12445 if test "$enable_shared" = yes && test "$GCC" = yes; then
12446 case $archive_cmds_CXX in
12448 # FIXME: we may have to deal with multi-command sequences.
12451 # Test whether the compiler implicitly links with -lc since on some
12452 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12453 # to ld, don't add -lc before -lgcc.
12454 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12455 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12457 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12460 (eval $ac_compile) 2>&5
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); } 2>conftest.err
; then
12466 libobjs
=conftest.
$ac_objext
12468 wl
=$lt_prog_compiler_wl_CXX
12469 pic_flag
=$lt_prog_compiler_pic_CXX
12475 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12476 allow_undefined_flag_CXX
=
12477 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12478 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }
12483 archive_cmds_need_lc_CXX
=no
12485 archive_cmds_need_lc_CXX
=yes
12487 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12489 cat conftest.err
1>&5
12492 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12493 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12500 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12501 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12502 library_names_spec
=
12503 libname_spec
='lib$name'
12507 postuninstall_cmds
=
12511 shlibpath_overrides_runpath
=unknown
12513 dynamic_linker
="$host_os ld.so"
12514 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12515 if test "$GCC" = yes; then
12516 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12517 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12518 # if the path contains ";" then we assume it to be the separator
12519 # otherwise default to the standard path separator (i.e. ":") - it is
12520 # assumed that no part of a normal pathname contains ";" but that should
12521 # okay in the real world where ";" in dirpaths is itself problematic.
12522 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12524 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12527 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12529 need_lib_prefix
=unknown
12530 hardcode_into_libs
=no
12532 # when you set need_version to no, make sure it does not cause -set_version
12533 # flags to be left without arguments
12534 need_version
=unknown
12539 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12540 shlibpath_var
=LIBPATH
12542 # AIX 3 has no versioning support, so we append a major version to the name.
12543 soname_spec
='${libname}${release}${shared_ext}$major'
12550 hardcode_into_libs
=yes
12551 if test "$host_cpu" = ia64
; then
12552 # AIX 5 supports IA64
12553 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12554 shlibpath_var
=LD_LIBRARY_PATH
12556 # With GCC up to 2.95.x, collect2 would create an import file
12557 # for dependence libraries. The import file would start with
12558 # the line `#! .'. This would cause the generated library to
12559 # depend on `.', always an invalid library. This was fixed in
12560 # development snapshots of GCC prior to 3.0.
12562 aix4 | aix4.
[01] | aix4.
[01].
*)
12563 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12565 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12568 can_build_shared
=no
12572 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12573 # soname into executable. Probably we can add versioning support to
12574 # collect2, so additional links can be useful in future.
12575 if test "$aix_use_runtimelinking" = yes; then
12576 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12577 # instead of lib<name>.a to let people know that these are not
12578 # typical AIX shared libraries.
12579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12581 # We preserve .a as extension for shared libraries through AIX4.2
12582 # and later when we are not doing run time linking.
12583 library_names_spec
='${libname}${release}.a $libname.a'
12584 soname_spec
='${libname}${release}${shared_ext}$major'
12586 shlibpath_var
=LIBPATH
12591 library_names_spec
='$libname.ixlibrary $libname.a'
12592 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12593 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'
12597 library_names_spec
='${libname}${shared_ext}'
12598 dynamic_linker
="$host_os ld.so"
12599 shlibpath_var
=LIBRARY_PATH
12605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12606 soname_spec
='${libname}${release}${shared_ext}$major'
12607 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12608 shlibpath_var
=LD_LIBRARY_PATH
12609 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12610 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12611 # the default ld.so.conf also contains /usr/contrib/lib and
12612 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12613 # libtool to hard-code these into programs
12616 cygwin
* | mingw
* | pw32
*)
12617 version_type
=windows
12622 case $GCC,$host_os in
12623 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12624 library_names_spec
='$libname.dll.a'
12625 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12626 postinstall_cmds
='base_file=`basename \${file}`~
12627 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12628 dldir=$destdir/`dirname \$dlpath`~
12629 test -d \$dldir || mkdir -p \$dldir~
12630 $install_prog $dir/$dlname \$dldir/$dlname~
12631 chmod a+x \$dldir/$dlname'
12632 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12633 dlpath=$dir/\$dldll~
12635 shlibpath_overrides_runpath
=yes
12639 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12640 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12641 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12644 # MinGW DLLs use traditional 'lib' prefix
12645 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12646 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12647 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12648 # It is most probably a Windows format PATH printed by
12649 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12650 # path with ; separators, and with drive letters. We can handle the
12651 # drive letters (cygwin fileutils understands them), so leave them,
12652 # especially as we might pass files found there to a mingw objdump,
12653 # which wouldn't understand a cygwinified path. Ahh.
12654 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12656 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12660 # pw32 DLLs use 'pw' prefix rather than 'lib'
12661 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12667 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12670 dynamic_linker
='Win32 ld.exe'
12671 # FIXME: first we should search . and the directory the executable is in
12675 darwin
* | rhapsody
*)
12676 dynamic_linker
="$host_os dyld"
12677 version_type
=darwin
12680 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12681 soname_spec
='${libname}${release}${major}$shared_ext'
12682 shlibpath_overrides_runpath
=yes
12683 shlibpath_var
=DYLD_LIBRARY_PATH
12684 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12685 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12686 if test "$GCC" = yes; then
12687 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12689 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12691 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12699 soname_spec
='${libname}${release}${shared_ext}$major'
12700 shlibpath_var
=LD_LIBRARY_PATH
12711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12712 soname_spec
='${libname}${release}${shared_ext}$major'
12713 shlibpath_var
=LD_LIBRARY_PATH
12714 shlibpath_overrides_runpath
=no
12715 hardcode_into_libs
=yes
12716 dynamic_linker
='GNU ld.so'
12719 freebsd
* | dragonfly
*)
12720 # DragonFly does not have aout. When/if they implement a new
12721 # versioning mechanism, adjust this.
12722 if test -x /usr
/bin
/objformat
; then
12723 objformat
=`/usr/bin/objformat`
12726 freebsd
[123]*) objformat
=aout
;;
12727 *) objformat
=elf
;;
12730 version_type
=freebsd-
$objformat
12731 case $version_type in
12733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12738 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12742 shlibpath_var
=LD_LIBRARY_PATH
12745 shlibpath_overrides_runpath
=yes
12747 freebsd3.
[01]* | freebsdelf3.
[01]*)
12748 shlibpath_overrides_runpath
=yes
12749 hardcode_into_libs
=yes
12751 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12752 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12753 shlibpath_overrides_runpath
=no
12754 hardcode_into_libs
=yes
12756 freebsd
*) # from 4.6 on
12757 shlibpath_overrides_runpath
=yes
12758 hardcode_into_libs
=yes
12767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12768 soname_spec
='${libname}${release}${shared_ext}$major'
12769 shlibpath_var
=LD_LIBRARY_PATH
12770 hardcode_into_libs
=yes
12773 hpux9
* | hpux10
* | hpux11
*)
12774 # Give a soname corresponding to the major version so that dld.sl refuses to
12775 # link against other versions.
12782 hardcode_into_libs
=yes
12783 dynamic_linker
="$host_os dld.so"
12784 shlibpath_var
=LD_LIBRARY_PATH
12785 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12787 soname_spec
='${libname}${release}${shared_ext}$major'
12788 if test "X$HPUX_IA64_MODE" = X32
; then
12789 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12791 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12793 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12797 hardcode_into_libs
=yes
12798 dynamic_linker
="$host_os dld.sl"
12799 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12800 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12802 soname_spec
='${libname}${release}${shared_ext}$major'
12803 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12804 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12808 dynamic_linker
="$host_os dld.sl"
12809 shlibpath_var
=SHLIB_PATH
12810 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12812 soname_spec
='${libname}${release}${shared_ext}$major'
12815 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12816 postinstall_cmds
='chmod 555 $lib'
12823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12824 soname_spec
='${libname}${release}${shared_ext}$major'
12825 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12826 shlibpath_var
=LD_LIBRARY_PATH
12827 shlibpath_overrides_runpath
=no
12828 hardcode_into_libs
=yes
12831 irix5
* | irix6
* | nonstopux
*)
12833 nonstopux
*) version_type
=nonstopux
;;
12835 if test "$lt_cv_prog_gnu_ld" = yes; then
12843 soname_spec
='${libname}${release}${shared_ext}$major'
12844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12846 irix5
* | nonstopux
*)
12847 libsuff
= shlibsuff
=
12850 case $LD in # libtool.m4 will add one of these switches to LD
12851 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12852 libsuff
= shlibsuff
= libmagic
=32-bit;;
12853 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12854 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12855 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12856 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12857 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12861 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12862 shlibpath_overrides_runpath
=no
12863 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12864 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12865 hardcode_into_libs
=yes
12868 # No shared lib support for Linux oldld, aout, or coff.
12869 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12873 # This must be Linux ELF.
12878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12879 soname_spec
='${libname}${release}${shared_ext}$major'
12880 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12881 shlibpath_var
=LD_LIBRARY_PATH
12882 shlibpath_overrides_runpath
=no
12883 # This implies no fast_install, which is unacceptable.
12884 # Some rework will be needed to allow for fast_install
12885 # before this can be enabled.
12886 hardcode_into_libs
=yes
12888 # find out which ABI we are using
12890 case "$host_cpu" in
12891 x86_64
*|s390x
*|powerpc64
*)
12892 echo '#line 12892 "configure"' > conftest.
$ac_ext
12893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12894 (eval $ac_compile) 2>&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; then
12898 case `/usr/bin/file conftest.$ac_objext` in
12901 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12909 # Append ld.so.conf contents to the search path
12910 if test -f /etc
/ld.so.conf
; then
12911 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12912 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12915 # We used to test for /lib/ld.so.1 and disable shared libraries on
12916 # powerpc, because MkLinux only supported shared libraries with the
12917 # GNU dynamic linker. Since this was broken with cross compilers,
12918 # most powerpc-linux boxes support dynamic linking these days and
12919 # people can always --disable-shared, the test was removed, and we
12920 # assume the GNU/Linux dynamic linker is in use.
12921 dynamic_linker
='GNU/Linux ld.so'
12928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12929 soname_spec
='${libname}${release}${shared_ext}$major'
12930 shlibpath_var
=LD_LIBRARY_PATH
12931 shlibpath_overrides_runpath
=no
12932 hardcode_into_libs
=yes
12933 dynamic_linker
='GNU ld.so'
12940 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12942 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12943 dynamic_linker
='NetBSD (a.out) ld.so'
12945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12946 soname_spec
='${libname}${release}${shared_ext}$major'
12947 dynamic_linker
='NetBSD ld.elf_so'
12949 shlibpath_var
=LD_LIBRARY_PATH
12950 shlibpath_overrides_runpath
=yes
12951 hardcode_into_libs
=yes
12956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12957 shlibpath_var
=LD_LIBRARY_PATH
12958 shlibpath_overrides_runpath
=yes
12965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12966 soname_spec
='${libname}${release}${shared_ext}$major'
12967 shlibpath_var
=LD_LIBRARY_PATH
12968 shlibpath_overrides_runpath
=yes
12973 sys_lib_dlsearch_path_spec
="/usr/lib"
12975 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12977 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12978 *) need_version
=no
;;
12980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12981 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12982 shlibpath_var
=LD_LIBRARY_PATH
12983 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12985 openbsd2.
[89] | openbsd2.
[89].
*)
12986 shlibpath_overrides_runpath
=no
12989 shlibpath_overrides_runpath
=yes
12993 shlibpath_overrides_runpath
=yes
12998 libname_spec
='$name'
13001 library_names_spec
='$libname${shared_ext} $libname.a'
13002 dynamic_linker
='OS/2 ld.exe'
13003 shlibpath_var
=LIBPATH
13006 osf3
* | osf4
* | osf5
*)
13010 soname_spec
='${libname}${release}${shared_ext}$major'
13011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13012 shlibpath_var
=LD_LIBRARY_PATH
13013 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13014 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13022 soname_spec
='${libname}${release}${shared_ext}$major'
13023 shlibpath_var
=LD_LIBRARY_PATH
13024 shlibpath_overrides_runpath
=yes
13025 hardcode_into_libs
=yes
13026 # ldd complains unless libraries are executable
13027 postinstall_cmds
='chmod +x $lib'
13032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13033 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13034 shlibpath_var
=LD_LIBRARY_PATH
13035 shlibpath_overrides_runpath
=yes
13036 if test "$with_gnu_ld" = yes; then
13044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13045 soname_spec
='${libname}${release}${shared_ext}$major'
13046 shlibpath_var
=LD_LIBRARY_PATH
13047 case $host_vendor in
13049 shlibpath_overrides_runpath
=no
13051 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13052 runpath_var
=LD_RUN_PATH
13060 shlibpath_overrides_runpath
=no
13061 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13067 if test -d /usr
/nec
;then
13069 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13070 soname_spec
='$libname${shared_ext}.$major'
13071 shlibpath_var
=LD_LIBRARY_PATH
13075 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13076 version_type
=freebsd-elf
13079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13080 soname_spec
='${libname}${release}${shared_ext}$major'
13081 shlibpath_var
=LD_LIBRARY_PATH
13082 hardcode_into_libs
=yes
13083 if test "$with_gnu_ld" = yes; then
13084 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13085 shlibpath_overrides_runpath
=no
13087 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13088 shlibpath_overrides_runpath
=yes
13091 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13095 sys_lib_dlsearch_path_spec
='/usr/lib'
13100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13101 soname_spec
='${libname}${release}${shared_ext}$major'
13102 shlibpath_var
=LD_LIBRARY_PATH
13109 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13110 echo "${ECHO_T}$dynamic_linker" >&6; }
13111 test "$dynamic_linker" = no
&& can_build_shared
=no
13113 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13114 if test "$GCC" = yes; then
13115 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13118 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13119 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13120 hardcode_action_CXX
=
13121 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13122 test -n "$runpath_var_CXX" || \
13123 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13125 # We can hardcode non-existant directories.
13126 if test "$hardcode_direct_CXX" != no
&&
13127 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13128 # have to relink, otherwise we might link with an installed library
13129 # when we should be linking with a yet-to-be-installed one
13130 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13131 test "$hardcode_minus_L_CXX" != no
; then
13132 # Linking always hardcodes the temporary library directory.
13133 hardcode_action_CXX
=relink
13135 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13136 hardcode_action_CXX
=immediate
13139 # We cannot hardcode anything, or else we can only hardcode existing
13141 hardcode_action_CXX
=unsupported
13143 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13144 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13146 if test "$hardcode_action_CXX" = relink
; then
13147 # Fast installation is not supported
13148 enable_fast_install
=no
13149 elif test "$shlibpath_overrides_runpath" = yes ||
13150 test "$enable_shared" = no
; then
13151 # Fast installation is not necessary
13152 enable_fast_install
=needless
13156 # The else clause should only fire when bootstrapping the
13157 # libtool distribution, otherwise you forgot to ship ltmain.sh
13158 # with your package, and you will get complaints that there are
13159 # no rules to generate ltmain.sh.
13160 if test -f "$ltmain"; then
13161 # See if we are running on zsh, and set the options which allow our commands through
13162 # without removal of \ escapes.
13163 if test -n "${ZSH_VERSION+set}" ; then
13164 setopt NO_GLOB_SUBST
13166 # Now quote all the things that may contain metacharacters while being
13167 # careful not to overquote the AC_SUBSTed values. We take copies of the
13168 # variables and quote the copies for generation of the libtool script.
13169 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13171 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13172 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13173 deplibs_check_method reload_flag reload_cmds need_locks \
13174 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13175 lt_cv_sys_global_symbol_to_c_name_address \
13176 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13177 old_postinstall_cmds old_postuninstall_cmds \
13181 lt_prog_compiler_wl_CXX \
13182 lt_prog_compiler_pic_CXX \
13183 lt_prog_compiler_static_CXX \
13184 lt_prog_compiler_no_builtin_flag_CXX \
13185 export_dynamic_flag_spec_CXX \
13186 thread_safe_flag_spec_CXX \
13187 whole_archive_flag_spec_CXX \
13188 enable_shared_with_static_runtimes_CXX \
13189 old_archive_cmds_CXX \
13190 old_archive_from_new_cmds_CXX \
13191 predep_objects_CXX \
13192 postdep_objects_CXX \
13195 compiler_lib_search_path_CXX \
13197 archive_expsym_cmds_CXX \
13198 postinstall_cmds_CXX \
13199 postuninstall_cmds_CXX \
13200 old_archive_from_expsyms_cmds_CXX \
13201 allow_undefined_flag_CXX \
13202 no_undefined_flag_CXX \
13203 export_symbols_cmds_CXX \
13204 hardcode_libdir_flag_spec_CXX \
13205 hardcode_libdir_flag_spec_ld_CXX \
13206 hardcode_libdir_separator_CXX \
13207 hardcode_automatic_CXX \
13209 module_expsym_cmds_CXX \
13210 lt_cv_prog_compiler_c_o_CXX \
13211 exclude_expsyms_CXX \
13212 include_expsyms_CXX
; do
13215 old_archive_cmds_CXX | \
13216 old_archive_from_new_cmds_CXX | \
13217 archive_cmds_CXX | \
13218 archive_expsym_cmds_CXX | \
13219 module_cmds_CXX | \
13220 module_expsym_cmds_CXX | \
13221 old_archive_from_expsyms_cmds_CXX | \
13222 export_symbols_cmds_CXX | \
13223 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13224 postinstall_cmds | postuninstall_cmds | \
13225 old_postinstall_cmds | old_postuninstall_cmds | \
13226 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13227 # Double-quote double-evaled strings.
13228 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13231 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13237 *'\$0 --fallback-echo"')
13238 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13244 cat <<__EOF__ >> "$cfgfile"
13245 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13247 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13249 # Shell to use when invoking shell scripts.
13252 # Whether or not to build shared libraries.
13253 build_libtool_libs=$enable_shared
13255 # Whether or not to build static libraries.
13256 build_old_libs=$enable_static
13258 # Whether or not to add -lc for building shared libraries.
13259 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13261 # Whether or not to disallow shared libs when runtime libs are static
13262 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13264 # Whether or not to optimize for fast installation.
13265 fast_install=$enable_fast_install
13268 host_alias=$host_alias
13272 # The build system.
13273 build_alias=$build_alias
13277 # An echo program that does not interpret backslashes.
13282 AR_FLAGS=$lt_AR_FLAGS
13287 # LTCC compiler flags.
13288 LTCFLAGS=$lt_LTCFLAGS
13290 # A language-specific compiler.
13291 CC=$lt_compiler_CXX
13293 # Is the compiler the GNU C compiler?
13299 # The linker used to build libraries.
13302 # Whether we need hard or soft links.
13305 # A BSD-compatible nm program.
13308 # A symbol stripping program
13311 # Used to examine libraries when file_magic_cmd begins "file"
13312 MAGIC_CMD=$MAGIC_CMD
13314 # Used on cygwin: DLL creation program.
13317 # Used on cygwin: object dumper.
13320 # Used on cygwin: assembler.
13323 # The name of the directory that contains temporary libtool files.
13326 # How to create reloadable object files.
13327 reload_flag=$lt_reload_flag
13328 reload_cmds=$lt_reload_cmds
13330 # How to pass a linker flag through the compiler.
13331 wl=$lt_lt_prog_compiler_wl_CXX
13333 # Object file suffix (normally "o").
13334 objext="$ac_objext"
13336 # Old archive suffix (normally "a").
13339 # Shared library suffix (normally ".so").
13340 shrext_cmds='$shrext_cmds'
13342 # Executable file suffix (normally "").
13345 # Additional compiler flags for building library objects.
13346 pic_flag=$lt_lt_prog_compiler_pic_CXX
13349 # What is the maximum length of a command?
13350 max_cmd_len=$lt_cv_sys_max_cmd_len
13352 # Does compiler simultaneously support -c and -o options?
13353 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13355 # Must we lock files when doing compilation?
13356 need_locks=$lt_need_locks
13358 # Do we need the lib prefix for modules?
13359 need_lib_prefix=$need_lib_prefix
13361 # Do we need a version for libraries?
13362 need_version=$need_version
13364 # Whether dlopen is supported.
13365 dlopen_support=$enable_dlopen
13367 # Whether dlopen of programs is supported.
13368 dlopen_self=$enable_dlopen_self
13370 # Whether dlopen of statically linked programs is supported.
13371 dlopen_self_static=$enable_dlopen_self_static
13373 # Compiler flag to prevent dynamic linking.
13374 link_static_flag=$lt_lt_prog_compiler_static_CXX
13376 # Compiler flag to turn off builtin functions.
13377 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13379 # Compiler flag to allow reflexive dlopens.
13380 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13382 # Compiler flag to generate shared objects directly from archives.
13383 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13385 # Compiler flag to generate thread-safe objects.
13386 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13388 # Library versioning type.
13389 version_type=$version_type
13391 # Format of library name prefix.
13392 libname_spec=$lt_libname_spec
13394 # List of archive names. First name is the real one, the rest are links.
13395 # The last name is the one that the linker finds with -lNAME.
13396 library_names_spec=$lt_library_names_spec
13398 # The coded name of the library, if different from the real name.
13399 soname_spec=$lt_soname_spec
13401 # Commands used to build and install an old-style archive.
13403 old_archive_cmds=$lt_old_archive_cmds_CXX
13404 old_postinstall_cmds=$lt_old_postinstall_cmds
13405 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13407 # Create an old-style archive from a shared archive.
13408 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13410 # Create a temporary old-style archive to link instead of a shared archive.
13411 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13413 # Commands used to build and install a shared archive.
13414 archive_cmds=$lt_archive_cmds_CXX
13415 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13416 postinstall_cmds=$lt_postinstall_cmds
13417 postuninstall_cmds=$lt_postuninstall_cmds
13419 # Commands used to build a loadable module (assumed same as above if empty)
13420 module_cmds=$lt_module_cmds_CXX
13421 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13423 # Commands to strip libraries.
13424 old_striplib=$lt_old_striplib
13425 striplib=$lt_striplib
13427 # Dependencies to place before the objects being linked to create a
13429 predep_objects=$lt_predep_objects_CXX
13431 # Dependencies to place after the objects being linked to create a
13433 postdep_objects=$lt_postdep_objects_CXX
13435 # Dependencies to place before the objects being linked to create a
13437 predeps=$lt_predeps_CXX
13439 # Dependencies to place after the objects being linked to create a
13441 postdeps=$lt_postdeps_CXX
13443 # The library search path used internally by the compiler when linking
13444 # a shared library.
13445 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13447 # Method to check whether dependent libraries are shared objects.
13448 deplibs_check_method=$lt_deplibs_check_method
13450 # Command to use when deplibs_check_method == file_magic.
13451 file_magic_cmd=$lt_file_magic_cmd
13453 # Flag that allows shared libraries with undefined symbols to be built.
13454 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13456 # Flag that forces no undefined symbols.
13457 no_undefined_flag=$lt_no_undefined_flag_CXX
13459 # Commands used to finish a libtool library installation in a directory.
13460 finish_cmds=$lt_finish_cmds
13462 # Same as above, but a single script fragment to be evaled but not shown.
13463 finish_eval=$lt_finish_eval
13465 # Take the output of nm and produce a listing of raw symbols and C names.
13466 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13468 # Transform the output of nm in a proper C declaration
13469 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13471 # Transform the output of nm in a C name address pair
13472 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13474 # This is the shared library runtime path variable.
13475 runpath_var=$runpath_var
13477 # This is the shared library path variable.
13478 shlibpath_var=$shlibpath_var
13480 # Is shlibpath searched before the hard-coded library search path?
13481 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13483 # How to hardcode a shared library path into an executable.
13484 hardcode_action=$hardcode_action_CXX
13486 # Whether we should hardcode library paths into libraries.
13487 hardcode_into_libs=$hardcode_into_libs
13489 # Flag to hardcode \$libdir into a binary during linking.
13490 # This must work even if \$libdir does not exist.
13491 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13493 # If ld is used when linking, flag to hardcode \$libdir into
13494 # a binary during linking. This must work even if \$libdir does
13496 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13498 # Whether we need a single -rpath flag with a separated argument.
13499 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13501 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13502 # resulting binary.
13503 hardcode_direct=$hardcode_direct_CXX
13505 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13506 # resulting binary.
13507 hardcode_minus_L=$hardcode_minus_L_CXX
13509 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13510 # the resulting binary.
13511 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13513 # Set to yes if building a shared library automatically hardcodes DIR into the library
13514 # and all subsequent libraries and executables linked against it.
13515 hardcode_automatic=$hardcode_automatic_CXX
13517 # Variables whose values should be saved in libtool wrapper scripts and
13518 # restored at relink time.
13519 variables_saved_for_relink="$variables_saved_for_relink"
13521 # Whether libtool must link a program against all its dependency libraries.
13522 link_all_deplibs=$link_all_deplibs_CXX
13524 # Compile-time system search path for libraries
13525 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13527 # Run-time system search path for libraries
13528 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13530 # Fix the shell variable \$srcfile for the compiler.
13531 fix_srcfile_path="$fix_srcfile_path_CXX"
13533 # Set to yes if exported symbols are required.
13534 always_export_symbols=$always_export_symbols_CXX
13536 # The commands to list exported symbols.
13537 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13539 # The commands to extract the exported symbol list from a shared archive.
13540 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13542 # Symbols that should not be listed in the preloaded symbols.
13543 exclude_expsyms=$lt_exclude_expsyms_CXX
13545 # Symbols that must always be exported.
13546 include_expsyms=$lt_include_expsyms_CXX
13548 # ### END LIBTOOL TAG CONFIG: $tagname
13554 # If there is no Makefile yet, we rely on a make rule to execute
13555 # `config.status --recheck' to rerun these tests and create the
13556 # libtool script then.
13557 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13558 if test -f "$ltmain_in"; then
13559 test -f Makefile
&& make "$ltmain"
13565 ac_cpp
='$CPP $CPPFLAGS'
13566 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13567 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13568 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13574 with_gnu_ldcxx
=$with_gnu_ld
13575 with_gnu_ld
=$lt_save_with_gnu_ld
13576 lt_cv_path_LDCXX
=$lt_cv_path_LD
13577 lt_cv_path_LD
=$lt_save_path_LD
13578 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13579 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13587 if test -n "$F77" && test "X$F77" != "Xno"; then
13590 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13591 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13592 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13595 archive_cmds_need_lc_F77
=no
13596 allow_undefined_flag_F77
=
13597 always_export_symbols_F77
=no
13598 archive_expsym_cmds_F77
=
13599 export_dynamic_flag_spec_F77
=
13600 hardcode_direct_F77
=no
13601 hardcode_libdir_flag_spec_F77
=
13602 hardcode_libdir_flag_spec_ld_F77
=
13603 hardcode_libdir_separator_F77
=
13604 hardcode_minus_L_F77
=no
13605 hardcode_automatic_F77
=no
13607 module_expsym_cmds_F77
=
13608 link_all_deplibs_F77
=unknown
13609 old_archive_cmds_F77
=$old_archive_cmds
13610 no_undefined_flag_F77
=
13611 whole_archive_flag_spec_F77
=
13612 enable_shared_with_static_runtimes_F77
=no
13614 # Source file extension for f77 test sources.
13617 # Object file extension for compiled f77 test sources.
13621 # Code to be used in simple compile tests
13622 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13624 # Code to be used in simple link tests
13625 lt_simple_link_test_code
=" program t\n end\n"
13627 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13629 # If no C compiler was specified, use CC.
13632 # If no C compiler flags were specified, use CFLAGS.
13633 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13635 # Allow CC to be a program name with arguments.
13639 # save warnings/boilerplate of simple test code
13640 ac_outfile
=conftest.
$ac_objext
13641 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13642 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13643 _lt_compiler_boilerplate
=`cat conftest.err`
13646 ac_outfile
=conftest.
$ac_objext
13647 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13648 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13649 _lt_linker_boilerplate
=`cat conftest.err`
13653 # Allow CC to be a program name with arguments.
13658 for cc_temp
in $compiler""; do
13660 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13661 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13666 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13669 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13670 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13671 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13672 echo "${ECHO_T}$can_build_shared" >&6; }
13674 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13675 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13676 test "$can_build_shared" = "no" && enable_shared
=no
13678 # On AIX, shared libraries and static libraries use the same namespace, and
13679 # are all built from PIC.
13682 test "$enable_shared" = yes && enable_static
=no
13683 if test -n "$RANLIB"; then
13684 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13685 postinstall_cmds
='$RANLIB $lib'
13689 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13690 test "$enable_shared" = yes && enable_static
=no
13694 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13695 echo "${ECHO_T}$enable_shared" >&6; }
13697 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13698 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13699 # Make sure either enable_shared or enable_static is yes.
13700 test "$enable_shared" = yes || enable_static
=yes
13701 { echo "$as_me:$LINENO: result: $enable_static" >&5
13702 echo "${ECHO_T}$enable_static" >&6; }
13707 lt_prog_compiler_wl_F77
=
13708 lt_prog_compiler_pic_F77
=
13709 lt_prog_compiler_static_F77
=
13711 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13712 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13714 if test "$GCC" = yes; then
13715 lt_prog_compiler_wl_F77
='-Wl,'
13716 lt_prog_compiler_static_F77
='-static'
13720 # All AIX code is PIC.
13721 if test "$host_cpu" = ia64
; then
13722 # AIX 5 now supports IA64 processor
13723 lt_prog_compiler_static_F77
='-Bstatic'
13728 # FIXME: we need at least 68020 code to build shared libraries, but
13729 # adding the `-m68020' flag to GCC prevents building anything better,
13731 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13734 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13735 # PIC is the default for these OSes.
13738 mingw
* | pw32
* | os2
*)
13739 # This hack is so that the source file can tell whether it is being
13740 # built for inclusion in a dll (and should export symbols for example).
13741 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13744 darwin
* | rhapsody
*)
13745 # PIC is the default on this platform
13746 # Common symbols not allowed in MH_DYLIB files
13747 lt_prog_compiler_pic_F77
='-fno-common'
13751 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13752 # Instead, we relocate shared libraries at runtime.
13756 # Just because we use GCC doesn't mean we suddenly get shared libraries
13757 # on systems that don't support them.
13758 lt_prog_compiler_can_build_shared_F77
=no
13763 if test -d /usr
/nec
; then
13764 lt_prog_compiler_pic_F77
=-Kconform_pic
13769 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13770 # not for PA HP-UX.
13776 lt_prog_compiler_pic_F77
='-fPIC'
13782 lt_prog_compiler_pic_F77
='-fPIC'
13786 # PORTME Check for flag to pass linker flags through the system compiler.
13789 lt_prog_compiler_wl_F77
='-Wl,'
13790 if test "$host_cpu" = ia64
; then
13791 # AIX 5 now supports IA64 processor
13792 lt_prog_compiler_static_F77
='-Bstatic'
13794 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13798 # PIC is the default on this platform
13799 # Common symbols not allowed in MH_DYLIB files
13800 case $cc_basename in
13802 lt_prog_compiler_pic_F77
='-qnocommon'
13803 lt_prog_compiler_wl_F77
='-Wl,'
13808 mingw
* | pw32
* | os2
*)
13809 # This hack is so that the source file can tell whether it is being
13810 # built for inclusion in a dll (and should export symbols for example).
13811 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13814 hpux9
* | hpux10
* | hpux11
*)
13815 lt_prog_compiler_wl_F77
='-Wl,'
13816 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13817 # not for PA HP-UX.
13823 lt_prog_compiler_pic_F77
='+Z'
13826 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13827 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13830 irix5
* | irix6
* | nonstopux
*)
13831 lt_prog_compiler_wl_F77
='-Wl,'
13832 # PIC (with -KPIC) is the default.
13833 lt_prog_compiler_static_F77
='-non_shared'
13837 lt_prog_compiler_pic_F77
='-KPIC'
13838 lt_prog_compiler_static_F77
='-Bstatic'
13842 case $cc_basename in
13844 lt_prog_compiler_wl_F77
='-Wl,'
13845 lt_prog_compiler_pic_F77
='-KPIC'
13846 lt_prog_compiler_static_F77
='-static'
13848 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13849 # Portland Group compilers (*not* the Pentium gcc compiler,
13850 # which looks to be a dead project)
13851 lt_prog_compiler_wl_F77
='-Wl,'
13852 lt_prog_compiler_pic_F77
='-fpic'
13853 lt_prog_compiler_static_F77
='-Bstatic'
13856 lt_prog_compiler_wl_F77
='-Wl,'
13857 # All Alpha code is PIC.
13858 lt_prog_compiler_static_F77
='-non_shared'
13863 osf3
* | osf4
* | osf5
*)
13864 lt_prog_compiler_wl_F77
='-Wl,'
13865 # All OSF/1 code is PIC.
13866 lt_prog_compiler_static_F77
='-non_shared'
13870 lt_prog_compiler_pic_F77
='-KPIC'
13871 lt_prog_compiler_static_F77
='-Bstatic'
13872 case $cc_basename in
13873 f77
* | f90
* | f95
*)
13874 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13876 lt_prog_compiler_wl_F77
='-Wl,';;
13881 lt_prog_compiler_wl_F77
='-Qoption ld '
13882 lt_prog_compiler_pic_F77
='-PIC'
13883 lt_prog_compiler_static_F77
='-Bstatic'
13886 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13887 lt_prog_compiler_wl_F77
='-Wl,'
13888 lt_prog_compiler_pic_F77
='-KPIC'
13889 lt_prog_compiler_static_F77
='-Bstatic'
13893 if test -d /usr
/nec
;then
13894 lt_prog_compiler_pic_F77
='-Kconform_pic'
13895 lt_prog_compiler_static_F77
='-Bstatic'
13899 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13900 lt_prog_compiler_wl_F77
='-Wl,'
13901 lt_prog_compiler_pic_F77
='-KPIC'
13902 lt_prog_compiler_static_F77
='-Bstatic'
13906 lt_prog_compiler_wl_F77
='-Wl,'
13907 lt_prog_compiler_can_build_shared_F77
=no
13911 lt_prog_compiler_pic_F77
='-pic'
13912 lt_prog_compiler_static_F77
='-Bstatic'
13916 lt_prog_compiler_can_build_shared_F77
=no
13921 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13922 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13925 # Check to make sure the PIC flag actually works.
13927 if test -n "$lt_prog_compiler_pic_F77"; then
13929 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13930 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13931 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13932 echo $ECHO_N "(cached) $ECHO_C" >&6
13934 lt_prog_compiler_pic_works_F77
=no
13935 ac_outfile
=conftest.
$ac_objext
13936 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
13937 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
13938 # Insert the option either (1) after the last *FLAGS variable, or
13939 # (2) before a word containing "conftest.", or (3) at the end.
13940 # Note that $ac_compile itself does not contain backslashes and begins
13941 # with a dollar sign (not a hyphen), so the echo should work correctly.
13942 # The option is referenced via a variable to avoid confusing sed.
13943 lt_compile
=`echo "$ac_compile" | $SED \
13944 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13945 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13946 -e 's:$: $lt_compiler_flag:'`
13947 (eval echo "\"\$as_me:13947: $lt_compile\"" >&5)
13948 (eval "$lt_compile" 2>conftest.err
)
13950 cat conftest.err
>&5
13951 echo "$as_me:13951: \$? = $ac_status" >&5
13952 if (exit $ac_status) && test -s "$ac_outfile"; then
13953 # The compiler can only warn and ignore the option if not recognized
13954 # So say no if there are warnings other than the usual output.
13955 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
13956 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13957 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13958 lt_prog_compiler_pic_works_F77
=yes
13964 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13965 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13967 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
13968 case $lt_prog_compiler_pic_F77 in
13970 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
13973 lt_prog_compiler_pic_F77
=
13974 lt_prog_compiler_can_build_shared_F77
=no
13979 # For platforms which do not support PIC, -DPIC is meaningless:
13981 lt_prog_compiler_pic_F77
=
13984 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
13989 # Check to make sure the static flag actually works.
13991 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
13992 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13993 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13994 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13995 echo $ECHO_N "(cached) $ECHO_C" >&6
13997 lt_prog_compiler_static_works_F77
=no
13998 save_LDFLAGS
="$LDFLAGS"
13999 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14000 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14001 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14002 # The linker can only warn and ignore the option if not recognized
14003 # So say no if there are warnings
14004 if test -s conftest.err
; then
14005 # Append any errors to the config.log.
14006 cat conftest.err
1>&5
14007 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14008 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14009 if diff conftest.exp conftest.er2
>/dev
/null
; then
14010 lt_prog_compiler_static_works_F77
=yes
14013 lt_prog_compiler_static_works_F77
=yes
14017 LDFLAGS
="$save_LDFLAGS"
14020 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14021 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14023 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14026 lt_prog_compiler_static_F77
=
14030 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14031 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14032 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14035 lt_cv_prog_compiler_c_o_F77
=no
14036 $rm -r conftest
2>/dev
/null
14040 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14042 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14043 # Insert the option either (1) after the last *FLAGS variable, or
14044 # (2) before a word containing "conftest.", or (3) at the end.
14045 # Note that $ac_compile itself does not contain backslashes and begins
14046 # with a dollar sign (not a hyphen), so the echo should work correctly.
14047 lt_compile
=`echo "$ac_compile" | $SED \
14048 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14049 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14050 -e 's:$: $lt_compiler_flag:'`
14051 (eval echo "\"\$as_me:14051: $lt_compile\"" >&5)
14052 (eval "$lt_compile" 2>out
/conftest.err
)
14054 cat out
/conftest.err
>&5
14055 echo "$as_me:14055: \$? = $ac_status" >&5
14056 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14058 # The compiler can only warn and ignore the option if not recognized
14059 # So say no if there are warnings
14060 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14061 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14062 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14063 lt_cv_prog_compiler_c_o_F77
=yes
14068 # SGI C++ compiler will create directory out/ii_files/ for
14069 # template instantiation
14070 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14071 $rm out
/* && rmdir out
14077 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14078 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14081 hard_links
="nottested"
14082 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14083 # do not overwrite the value of need_locks provided by the user
14084 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14085 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14088 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14090 ln conftest.a conftest.b
2>&5 || hard_links
=no
14091 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14092 { echo "$as_me:$LINENO: result: $hard_links" >&5
14093 echo "${ECHO_T}$hard_links" >&6; }
14094 if test "$hard_links" = no
; then
14095 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14096 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14103 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14104 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14107 allow_undefined_flag_F77
=
14108 enable_shared_with_static_runtimes_F77
=no
14110 archive_expsym_cmds_F77
=
14111 old_archive_From_new_cmds_F77
=
14112 old_archive_from_expsyms_cmds_F77
=
14113 export_dynamic_flag_spec_F77
=
14114 whole_archive_flag_spec_F77
=
14115 thread_safe_flag_spec_F77
=
14116 hardcode_libdir_flag_spec_F77
=
14117 hardcode_libdir_flag_spec_ld_F77
=
14118 hardcode_libdir_separator_F77
=
14119 hardcode_direct_F77
=no
14120 hardcode_minus_L_F77
=no
14121 hardcode_shlibpath_var_F77
=unsupported
14122 link_all_deplibs_F77
=unknown
14123 hardcode_automatic_F77
=no
14125 module_expsym_cmds_F77
=
14126 always_export_symbols_F77
=no
14127 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14128 # include_expsyms should be a list of space-separated symbols to be *always*
14129 # included in the symbol list
14130 include_expsyms_F77
=
14131 # exclude_expsyms can be an extended regexp of symbols to exclude
14132 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14133 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14134 # as well as any symbol that contains `d'.
14135 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14136 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14137 # platforms (ab)use it in PIC code, but their linkers get confused if
14138 # the symbol is explicitly referenced. Since portable code cannot
14139 # rely on this symbol name, it's probably fine to never include it in
14140 # preloaded symbol tables.
14141 extract_expsyms_cmds
=
14142 # Just being paranoid about ensuring that cc_basename is set.
14143 for cc_temp
in $compiler""; do
14145 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14146 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14151 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14154 cygwin
* | mingw
* | pw32
*)
14155 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14156 # When not using gcc, we currently assume that we are using
14157 # Microsoft Visual C++.
14158 if test "$GCC" != yes; then
14163 # we just hope/assume this is gcc and not c89 (= MSVC++)
14172 if test "$with_gnu_ld" = yes; then
14173 # If archive_cmds runs LD, not CC, wlarc should be empty
14176 # Set some defaults for GNU ld with shared library support. These
14177 # are reset later if shared libraries are not supported. Putting them
14178 # here allows them to be overridden if necessary.
14179 runpath_var
=LD_RUN_PATH
14180 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14181 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14182 # ancient GNU ld didn't support --whole-archive et. al.
14183 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14184 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14186 whole_archive_flag_spec_F77
=
14188 supports_anon_versioning
=no
14189 case `$LD -v 2>/dev/null` in
14190 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14191 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14192 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14193 *\
2.11.
*) ;; # other 2.11 versions
14194 *) supports_anon_versioning
=yes ;;
14197 # See if GNU ld supports shared libraries.
14199 aix3
* | aix4
* | aix5
*)
14200 # On AIX/PPC, the GNU linker is very broken
14201 if test "$host_cpu" != ia64
; then
14205 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14206 *** to be unable to reliably create shared libraries on AIX.
14207 *** Therefore, libtool is disabling shared libraries support. If you
14208 *** really care for shared libraries, you may want to modify your PATH
14209 *** so that a non-GNU linker is found, and then restart.
14216 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)'
14217 hardcode_libdir_flag_spec_F77
='-L$libdir'
14218 hardcode_minus_L_F77
=yes
14220 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14221 # that the semantics of dynamic libraries on AmigaOS, at least up
14222 # to version 4, is to share data among multiple programs linked
14223 # with the same dynamic library. Since this doesn't match the
14224 # behavior of shared libraries on other platforms, we can't use
14230 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14231 allow_undefined_flag_F77
=unsupported
14232 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14233 # support --undefined. This deserves some investigation. FIXME
14234 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14240 cygwin
* | mingw
* | pw32
*)
14241 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14242 # as there is no search path for DLLs.
14243 hardcode_libdir_flag_spec_F77
='-L$libdir'
14244 allow_undefined_flag_F77
=unsupported
14245 always_export_symbols_F77
=no
14246 enable_shared_with_static_runtimes_F77
=yes
14247 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14249 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14250 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14251 # If the export-symbols file already is a .def file (1st line
14252 # is EXPORTS), use it as is; otherwise, prepend...
14253 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14254 cp $export_symbols $output_objdir/$soname.def;
14256 echo EXPORTS > $output_objdir/$soname.def;
14257 cat $export_symbols >> $output_objdir/$soname.def;
14259 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14266 hardcode_direct_F77
=no
14267 hardcode_shlibpath_var_F77
=no
14268 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14269 export_dynamic_flag_spec_F77
='${wl}-E'
14270 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14271 # Instead, shared libraries are loaded at an image base (0x10000000 by
14272 # default) and relocated if they conflict, which is a slow very memory
14273 # consuming and fragmenting process. To avoid this, we pick a random,
14274 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14275 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14276 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'
14277 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'
14281 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14283 case $cc_basename,$host_cpu in
14284 pgcc
*) # Portland Group C compiler
14285 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'
14286 tmp_addflag
=' $pic_flag'
14288 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14289 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'
14290 tmp_addflag
=' $pic_flag -Mnomain' ;;
14291 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14292 tmp_addflag
=' -i_dynamic' ;;
14293 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14294 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14295 ifc
* | ifort
*) # Intel Fortran compiler
14296 tmp_addflag
=' -nofor_main' ;;
14298 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14300 if test $supports_anon_versioning = yes; then
14301 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14302 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14303 $echo "local: *; };" >> $output_objdir/$libname.ver~
14304 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14312 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14313 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14316 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14317 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14322 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14326 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14327 *** create shared libraries on Solaris systems. Therefore, libtool
14328 *** is disabling shared libraries support. We urge you to upgrade GNU
14329 *** binutils to release 2.9.1 or newer. Another option is to modify
14330 *** your PATH or compiler configuration so that the native linker is
14331 *** used, and then restart.
14334 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14335 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14336 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14342 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14343 case `$LD -v 2>&1` in
14344 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14348 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14349 *** reliably create shared libraries on SCO systems. Therefore, libtool
14350 *** is disabling shared libraries support. We urge you to upgrade GNU
14351 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14352 *** your PATH or compiler configuration so that the native linker is
14353 *** used, and then restart.
14358 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14359 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14360 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14361 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14370 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14372 hardcode_direct_F77
=yes
14373 hardcode_shlibpath_var_F77
=no
14377 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14378 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14379 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14386 if test "$ld_shlibs_F77" = no
; then
14388 hardcode_libdir_flag_spec_F77
=
14389 export_dynamic_flag_spec_F77
=
14390 whole_archive_flag_spec_F77
=
14393 # PORTME fill in a description of your system's linker (not GNU ld)
14396 allow_undefined_flag_F77
=unsupported
14397 always_export_symbols_F77
=yes
14398 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'
14399 # Note: this linker hardcodes the directories in LIBPATH if there
14400 # are no directories specified by -L.
14401 hardcode_minus_L_F77
=yes
14402 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14403 # Neither direct hardcoding nor static linking is supported with a
14405 hardcode_direct_F77
=unsupported
14410 if test "$host_cpu" = ia64
; then
14411 # On IA64, the linker does run time linking by default, so we don't
14412 # have to do anything special.
14413 aix_use_runtimelinking
=no
14414 exp_sym_flag
='-Bexport'
14417 # If we're using GNU nm, then we don't want the "-C" option.
14418 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14419 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14420 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'
14422 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'
14424 aix_use_runtimelinking
=no
14426 # Test if we are trying to use run time linking or normal
14427 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14428 # need to do runtime linking.
14429 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14430 for ld_flag
in $LDFLAGS; do
14431 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14432 aix_use_runtimelinking
=yes
14439 exp_sym_flag
='-bexport'
14440 no_entry_flag
='-bnoentry'
14443 # When large executables or shared objects are built, AIX ld can
14444 # have problems creating the table of contents. If linking a library
14445 # or program results in "error TOC overflow" add -mminimal-toc to
14446 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14447 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14449 archive_cmds_F77
=''
14450 hardcode_direct_F77
=yes
14451 hardcode_libdir_separator_F77
=':'
14452 link_all_deplibs_F77
=yes
14454 if test "$GCC" = yes; then
14455 case $host_os in aix4.
[012]|aix4.
[012].
*)
14456 # We only want to do this on AIX 4.2 and lower, the check
14457 # below for broken collect2 doesn't work under 4.3+
14458 collect2name
=`${CC} -print-prog-name=collect2`
14459 if test -f "$collect2name" && \
14460 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14462 # We have reworked collect2
14463 hardcode_direct_F77
=yes
14465 # We have old collect2
14466 hardcode_direct_F77
=unsupported
14467 # It fails to find uninstalled libraries when the uninstalled
14468 # path is not listed in the libpath. Setting hardcode_minus_L
14469 # to unsupported forces relinking
14470 hardcode_minus_L_F77
=yes
14471 hardcode_libdir_flag_spec_F77
='-L$libdir'
14472 hardcode_libdir_separator_F77
=
14476 shared_flag
='-shared'
14477 if test "$aix_use_runtimelinking" = yes; then
14478 shared_flag
="$shared_flag "'${wl}-G'
14482 if test "$host_cpu" = ia64
; then
14483 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14484 # chokes on -Wl,-G. The following line is correct:
14487 if test "$aix_use_runtimelinking" = yes; then
14488 shared_flag
='${wl}-G'
14490 shared_flag
='${wl}-bM:SRE'
14495 # It seems that -bexpall does not export symbols beginning with
14496 # underscore (_), so it is better to generate a list of symbols to export.
14497 always_export_symbols_F77
=yes
14498 if test "$aix_use_runtimelinking" = yes; then
14499 # Warning - without using the other runtime loading flags (-brtl),
14500 # -berok will link without error, but may produce a broken library.
14501 allow_undefined_flag_F77
='-berok'
14502 # Determine the default libpath from the value encoded in an empty executable.
14503 cat >conftest.
$ac_ext <<_ACEOF
14508 rm -f conftest.
$ac_objext conftest
$ac_exeext
14509 if { (ac_try
="$ac_link"
14510 case "(($ac_try" in
14511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14512 *) ac_try_echo=$ac_try;;
14514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14515 (eval "$ac_link") 2>conftest.er1
14517 grep -v '^ *+' conftest.er1 >conftest.err
14519 cat conftest.err >&5
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); } && {
14522 test -z "$ac_f77_werror_flag" ||
14523 test ! -s conftest.err
14524 } && test -s conftest$ac_exeext &&
14525 $as_test_x conftest$ac_exeext; then
14527 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14529 # Check for a 64-bit object if we didn't find anything.
14530 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14533 echo "$as_me: failed program was:" >&5
14534 sed 's/^/| /' conftest.$ac_ext >&5
14539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14540 conftest$ac_exeext conftest.$ac_ext
14541 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14543 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14544 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"
14546 if test "$host_cpu" = ia64; then
14547 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14548 allow_undefined_flag_F77="-z nodefs"
14549 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"
14551 # Determine the default libpath from the value encoded in an empty executable.
14552 cat >conftest.$ac_ext <<_ACEOF
14557 rm -f conftest.$ac_objext conftest$ac_exeext
14558 if { (ac_try="$ac_link"
14559 case "(($ac_try" in
14560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14561 *) ac_try_echo
=$ac_try;;
14563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14564 (eval "$ac_link") 2>conftest.er1
14566 grep -v '^ *+' conftest.er1
>conftest.err
14568 cat conftest.err
>&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); } && {
14571 test -z "$ac_f77_werror_flag" ||
14572 test ! -s conftest.err
14573 } && test -s conftest
$ac_exeext &&
14574 $as_test_x conftest
$ac_exeext; then
14576 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14578 # Check for a 64-bit object if we didn't find anything.
14579 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.
$ac_ext >&5
14588 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14589 conftest
$ac_exeext conftest.
$ac_ext
14590 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14592 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14593 # Warning - without using the other run time loading flags,
14594 # -berok will link without error, but may produce a broken library.
14595 no_undefined_flag_F77
=' ${wl}-bernotok'
14596 allow_undefined_flag_F77
=' ${wl}-berok'
14597 # Exported symbols can be pulled into shared objects from archives
14598 whole_archive_flag_spec_F77
='$convenience'
14599 archive_cmds_need_lc_F77
=yes
14600 # This is similar to how AIX traditionally builds its shared libraries.
14601 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'
14607 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)'
14608 hardcode_libdir_flag_spec_F77
='-L$libdir'
14609 hardcode_minus_L_F77
=yes
14610 # see comment about different semantics on the GNU ld section
14615 export_dynamic_flag_spec_F77
=-rdynamic
14618 cygwin
* | mingw
* | pw32
*)
14619 # When not using gcc, we currently assume that we are using
14620 # Microsoft Visual C++.
14621 # hardcode_libdir_flag_spec is actually meaningless, as there is
14622 # no search path for DLLs.
14623 hardcode_libdir_flag_spec_F77
=' '
14624 allow_undefined_flag_F77
=unsupported
14625 # Tell ltmain to make .lib files, not .a files.
14627 # Tell ltmain to make .dll files, not .so files.
14629 # FIXME: Setting linknames here is a bad hack.
14630 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14631 # The linker will automatically build a .lib file if we build a DLL.
14632 old_archive_From_new_cmds_F77
='true'
14633 # FIXME: Should let the user specify the lib program.
14634 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14635 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14636 enable_shared_with_static_runtimes_F77
=yes
14639 darwin
* | rhapsody
*)
14641 rhapsody
* | darwin1.
[012])
14642 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14645 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14646 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14648 case ${MACOSX_DEPLOYMENT_TARGET} in
14650 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14653 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14659 archive_cmds_need_lc_F77
=no
14660 hardcode_direct_F77
=no
14661 hardcode_automatic_F77
=yes
14662 hardcode_shlibpath_var_F77
=unsupported
14663 whole_archive_flag_spec_F77
=''
14664 link_all_deplibs_F77
=yes
14665 if test "$GCC" = yes ; then
14666 output_verbose_link_cmd
='echo'
14667 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14668 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14669 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14670 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14671 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}'
14673 case $cc_basename in
14675 output_verbose_link_cmd
='echo'
14676 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14677 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14678 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14679 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14680 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}'
14690 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14691 hardcode_libdir_flag_spec_F77
='-L$libdir'
14692 hardcode_shlibpath_var_F77
=no
14699 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14700 # support. Future versions do this automatically, but an explicit c++rt0.o
14701 # does not break anything, and helps significantly (at the cost of a little
14704 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14705 hardcode_libdir_flag_spec_F77
='-R$libdir'
14706 hardcode_direct_F77
=yes
14707 hardcode_shlibpath_var_F77
=no
14710 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14712 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14713 hardcode_direct_F77
=yes
14714 hardcode_minus_L_F77
=yes
14715 hardcode_shlibpath_var_F77
=no
14718 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14719 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14720 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14721 hardcode_libdir_flag_spec_F77
='-R$libdir'
14722 hardcode_direct_F77
=yes
14723 hardcode_shlibpath_var_F77
=no
14727 if test "$GCC" = yes; then
14728 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'
14730 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'
14732 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14733 hardcode_libdir_separator_F77
=:
14734 hardcode_direct_F77
=yes
14736 # hardcode_minus_L: Not really in the search PATH,
14737 # but as the default location of the library.
14738 hardcode_minus_L_F77
=yes
14739 export_dynamic_flag_spec_F77
='${wl}-E'
14743 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14744 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14746 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14748 if test "$with_gnu_ld" = no
; then
14749 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14750 hardcode_libdir_separator_F77
=:
14752 hardcode_direct_F77
=yes
14753 export_dynamic_flag_spec_F77
='${wl}-E'
14755 # hardcode_minus_L: Not really in the search PATH,
14756 # but as the default location of the library.
14757 hardcode_minus_L_F77
=yes
14762 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14765 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14768 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14771 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14777 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14780 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14783 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14787 if test "$with_gnu_ld" = no
; then
14788 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14789 hardcode_libdir_separator_F77
=:
14793 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14794 hardcode_direct_F77
=no
14795 hardcode_shlibpath_var_F77
=no
14798 hardcode_direct_F77
=yes
14799 export_dynamic_flag_spec_F77
='${wl}-E'
14801 # hardcode_minus_L: Not really in the search PATH,
14802 # but as the default location of the library.
14803 hardcode_minus_L_F77
=yes
14809 irix5
* | irix6
* | nonstopux
*)
14810 if test "$GCC" = yes; then
14811 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'
14813 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'
14814 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14816 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14817 hardcode_libdir_separator_F77
=:
14818 link_all_deplibs_F77
=yes
14822 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14823 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14825 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14827 hardcode_libdir_flag_spec_F77
='-R$libdir'
14828 hardcode_direct_F77
=yes
14829 hardcode_shlibpath_var_F77
=no
14833 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14834 hardcode_direct_F77
=yes
14835 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14836 hardcode_libdir_separator_F77
=:
14837 hardcode_shlibpath_var_F77
=no
14841 hardcode_direct_F77
=yes
14842 hardcode_shlibpath_var_F77
=no
14843 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14844 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14845 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14846 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14847 export_dynamic_flag_spec_F77
='${wl}-E'
14850 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14851 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14852 hardcode_libdir_flag_spec_F77
='-R$libdir'
14855 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14856 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14863 hardcode_libdir_flag_spec_F77
='-L$libdir'
14864 hardcode_minus_L_F77
=yes
14865 allow_undefined_flag_F77
=unsupported
14866 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'
14867 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14871 if test "$GCC" = yes; then
14872 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14873 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'
14875 allow_undefined_flag_F77
=' -expect_unresolved \*'
14876 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'
14878 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14879 hardcode_libdir_separator_F77
=:
14882 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14883 if test "$GCC" = yes; then
14884 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14885 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'
14886 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14888 allow_undefined_flag_F77
=' -expect_unresolved \*'
14889 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'
14890 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~
14891 $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'
14893 # Both c and cxx compiler support -rpath directly
14894 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14896 hardcode_libdir_separator_F77
=:
14900 no_undefined_flag_F77
=' -z text'
14901 if test "$GCC" = yes; then
14903 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14904 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14905 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14908 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14909 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14910 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14912 hardcode_libdir_flag_spec_F77
='-R$libdir'
14913 hardcode_shlibpath_var_F77
=no
14915 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14917 # The compiler driver will combine linker options so we
14918 # cannot just pass the convience library names through
14919 # without $wl, iff we do not link with $LD.
14920 # Luckily, gcc supports the same syntax we need for Sun Studio.
14921 # Supported since Solaris 2.6 (maybe 2.5.1?)
14924 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14926 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14929 link_all_deplibs_F77
=yes
14933 if test "x$host_vendor" = xsequent
; then
14934 # Use $CC to link under sequent, because it throws in some extra .o
14935 # files that make .init and .fini sections work.
14936 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14938 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14940 hardcode_libdir_flag_spec_F77
='-L$libdir'
14941 hardcode_direct_F77
=yes
14942 hardcode_minus_L_F77
=yes
14943 hardcode_shlibpath_var_F77
=no
14947 case $host_vendor in
14949 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14950 hardcode_direct_F77
=yes # is this really true???
14953 ## LD is ld it makes a PLAMLIB
14954 ## CC just makes a GrossModule.
14955 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14956 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14957 hardcode_direct_F77
=no
14960 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14961 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14964 runpath_var
='LD_RUN_PATH'
14965 hardcode_shlibpath_var_F77
=no
14969 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14970 hardcode_shlibpath_var_F77
=no
14971 export_dynamic_flag_spec_F77
='-Bexport'
14975 if test -d /usr
/nec
; then
14976 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14977 hardcode_shlibpath_var_F77
=no
14978 runpath_var
=LD_RUN_PATH
14979 hardcode_runpath_var
=yes
14984 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
14985 no_undefined_flag_F77
='${wl}-z,text'
14986 archive_cmds_need_lc_F77
=no
14987 hardcode_shlibpath_var_F77
=no
14988 runpath_var
='LD_RUN_PATH'
14990 if test "$GCC" = yes; then
14991 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14992 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14994 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14995 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14999 sysv5
* | sco3.2v5
* | sco5v6
*)
15000 # Note: We can NOT use -z defs as we might desire, because we do not
15001 # link with -lc, and that would cause any symbols used from libc to
15002 # always be unresolved, which means just about no library would
15003 # ever link correctly. If we're not using GNU ld we use -z text
15004 # though, which does catch some bad symbols but isn't as heavy-handed
15006 no_undefined_flag_F77
='${wl}-z,text'
15007 allow_undefined_flag_F77
='${wl}-z,nodefs'
15008 archive_cmds_need_lc_F77
=no
15009 hardcode_shlibpath_var_F77
=no
15010 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15011 hardcode_libdir_separator_F77
=':'
15012 link_all_deplibs_F77
=yes
15013 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15014 runpath_var
='LD_RUN_PATH'
15016 if test "$GCC" = yes; then
15017 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15018 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15020 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15021 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15026 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15027 hardcode_libdir_flag_spec_F77
='-L$libdir'
15028 hardcode_shlibpath_var_F77
=no
15037 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15038 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15039 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15042 # Do we need to explicitly link libc?
15044 case "x$archive_cmds_need_lc_F77" in
15046 # Assume -lc should be added
15047 archive_cmds_need_lc_F77
=yes
15049 if test "$enable_shared" = yes && test "$GCC" = yes; then
15050 case $archive_cmds_F77 in
15052 # FIXME: we may have to deal with multi-command sequences.
15055 # Test whether the compiler implicitly links with -lc since on some
15056 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15057 # to ld, don't add -lc before -lgcc.
15058 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15059 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15061 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15064 (eval $ac_compile) 2>&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); } 2>conftest.err
; then
15070 libobjs
=conftest.
$ac_objext
15072 wl
=$lt_prog_compiler_wl_F77
15073 pic_flag
=$lt_prog_compiler_pic_F77
15079 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15080 allow_undefined_flag_F77
=
15081 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15082 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); }
15087 archive_cmds_need_lc_F77
=no
15089 archive_cmds_need_lc_F77
=yes
15091 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15093 cat conftest.err
1>&5
15096 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15097 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15104 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15105 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15106 library_names_spec
=
15107 libname_spec
='lib$name'
15111 postuninstall_cmds
=
15115 shlibpath_overrides_runpath
=unknown
15117 dynamic_linker
="$host_os ld.so"
15118 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15119 if test "$GCC" = yes; then
15120 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15121 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15122 # if the path contains ";" then we assume it to be the separator
15123 # otherwise default to the standard path separator (i.e. ":") - it is
15124 # assumed that no part of a normal pathname contains ";" but that should
15125 # okay in the real world where ";" in dirpaths is itself problematic.
15126 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15128 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15131 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15133 need_lib_prefix
=unknown
15134 hardcode_into_libs
=no
15136 # when you set need_version to no, make sure it does not cause -set_version
15137 # flags to be left without arguments
15138 need_version
=unknown
15143 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15144 shlibpath_var
=LIBPATH
15146 # AIX 3 has no versioning support, so we append a major version to the name.
15147 soname_spec
='${libname}${release}${shared_ext}$major'
15154 hardcode_into_libs
=yes
15155 if test "$host_cpu" = ia64
; then
15156 # AIX 5 supports IA64
15157 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15158 shlibpath_var
=LD_LIBRARY_PATH
15160 # With GCC up to 2.95.x, collect2 would create an import file
15161 # for dependence libraries. The import file would start with
15162 # the line `#! .'. This would cause the generated library to
15163 # depend on `.', always an invalid library. This was fixed in
15164 # development snapshots of GCC prior to 3.0.
15166 aix4 | aix4.
[01] | aix4.
[01].
*)
15167 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15169 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15172 can_build_shared
=no
15176 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15177 # soname into executable. Probably we can add versioning support to
15178 # collect2, so additional links can be useful in future.
15179 if test "$aix_use_runtimelinking" = yes; then
15180 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15181 # instead of lib<name>.a to let people know that these are not
15182 # typical AIX shared libraries.
15183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15185 # We preserve .a as extension for shared libraries through AIX4.2
15186 # and later when we are not doing run time linking.
15187 library_names_spec
='${libname}${release}.a $libname.a'
15188 soname_spec
='${libname}${release}${shared_ext}$major'
15190 shlibpath_var
=LIBPATH
15195 library_names_spec
='$libname.ixlibrary $libname.a'
15196 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15197 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'
15201 library_names_spec
='${libname}${shared_ext}'
15202 dynamic_linker
="$host_os ld.so"
15203 shlibpath_var
=LIBRARY_PATH
15209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15210 soname_spec
='${libname}${release}${shared_ext}$major'
15211 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15212 shlibpath_var
=LD_LIBRARY_PATH
15213 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15214 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15215 # the default ld.so.conf also contains /usr/contrib/lib and
15216 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15217 # libtool to hard-code these into programs
15220 cygwin
* | mingw
* | pw32
*)
15221 version_type
=windows
15226 case $GCC,$host_os in
15227 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15228 library_names_spec
='$libname.dll.a'
15229 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15230 postinstall_cmds
='base_file=`basename \${file}`~
15231 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15232 dldir=$destdir/`dirname \$dlpath`~
15233 test -d \$dldir || mkdir -p \$dldir~
15234 $install_prog $dir/$dlname \$dldir/$dlname~
15235 chmod a+x \$dldir/$dlname'
15236 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15237 dlpath=$dir/\$dldll~
15239 shlibpath_overrides_runpath
=yes
15243 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15244 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15245 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15248 # MinGW DLLs use traditional 'lib' prefix
15249 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15250 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15251 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15252 # It is most probably a Windows format PATH printed by
15253 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15254 # path with ; separators, and with drive letters. We can handle the
15255 # drive letters (cygwin fileutils understands them), so leave them,
15256 # especially as we might pass files found there to a mingw objdump,
15257 # which wouldn't understand a cygwinified path. Ahh.
15258 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15260 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15264 # pw32 DLLs use 'pw' prefix rather than 'lib'
15265 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15271 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15274 dynamic_linker
='Win32 ld.exe'
15275 # FIXME: first we should search . and the directory the executable is in
15279 darwin
* | rhapsody
*)
15280 dynamic_linker
="$host_os dyld"
15281 version_type
=darwin
15284 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15285 soname_spec
='${libname}${release}${major}$shared_ext'
15286 shlibpath_overrides_runpath
=yes
15287 shlibpath_var
=DYLD_LIBRARY_PATH
15288 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15289 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15290 if test "$GCC" = yes; then
15291 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15293 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15295 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15303 soname_spec
='${libname}${release}${shared_ext}$major'
15304 shlibpath_var
=LD_LIBRARY_PATH
15315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15316 soname_spec
='${libname}${release}${shared_ext}$major'
15317 shlibpath_var
=LD_LIBRARY_PATH
15318 shlibpath_overrides_runpath
=no
15319 hardcode_into_libs
=yes
15320 dynamic_linker
='GNU ld.so'
15323 freebsd
* | dragonfly
*)
15324 # DragonFly does not have aout. When/if they implement a new
15325 # versioning mechanism, adjust this.
15326 if test -x /usr
/bin
/objformat
; then
15327 objformat
=`/usr/bin/objformat`
15330 freebsd
[123]*) objformat
=aout
;;
15331 *) objformat
=elf
;;
15334 version_type
=freebsd-
$objformat
15335 case $version_type in
15337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15342 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15346 shlibpath_var
=LD_LIBRARY_PATH
15349 shlibpath_overrides_runpath
=yes
15351 freebsd3.
[01]* | freebsdelf3.
[01]*)
15352 shlibpath_overrides_runpath
=yes
15353 hardcode_into_libs
=yes
15355 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15356 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15357 shlibpath_overrides_runpath
=no
15358 hardcode_into_libs
=yes
15360 freebsd
*) # from 4.6 on
15361 shlibpath_overrides_runpath
=yes
15362 hardcode_into_libs
=yes
15371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15372 soname_spec
='${libname}${release}${shared_ext}$major'
15373 shlibpath_var
=LD_LIBRARY_PATH
15374 hardcode_into_libs
=yes
15377 hpux9
* | hpux10
* | hpux11
*)
15378 # Give a soname corresponding to the major version so that dld.sl refuses to
15379 # link against other versions.
15386 hardcode_into_libs
=yes
15387 dynamic_linker
="$host_os dld.so"
15388 shlibpath_var
=LD_LIBRARY_PATH
15389 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15391 soname_spec
='${libname}${release}${shared_ext}$major'
15392 if test "X$HPUX_IA64_MODE" = X32
; then
15393 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15395 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15397 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15401 hardcode_into_libs
=yes
15402 dynamic_linker
="$host_os dld.sl"
15403 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15404 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15406 soname_spec
='${libname}${release}${shared_ext}$major'
15407 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15408 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15412 dynamic_linker
="$host_os dld.sl"
15413 shlibpath_var
=SHLIB_PATH
15414 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15416 soname_spec
='${libname}${release}${shared_ext}$major'
15419 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15420 postinstall_cmds
='chmod 555 $lib'
15427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15428 soname_spec
='${libname}${release}${shared_ext}$major'
15429 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15430 shlibpath_var
=LD_LIBRARY_PATH
15431 shlibpath_overrides_runpath
=no
15432 hardcode_into_libs
=yes
15435 irix5
* | irix6
* | nonstopux
*)
15437 nonstopux
*) version_type
=nonstopux
;;
15439 if test "$lt_cv_prog_gnu_ld" = yes; then
15447 soname_spec
='${libname}${release}${shared_ext}$major'
15448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15450 irix5
* | nonstopux
*)
15451 libsuff
= shlibsuff
=
15454 case $LD in # libtool.m4 will add one of these switches to LD
15455 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15456 libsuff
= shlibsuff
= libmagic
=32-bit;;
15457 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15458 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15459 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15460 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15461 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15465 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15466 shlibpath_overrides_runpath
=no
15467 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15468 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15469 hardcode_into_libs
=yes
15472 # No shared lib support for Linux oldld, aout, or coff.
15473 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15477 # This must be Linux ELF.
15482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15483 soname_spec
='${libname}${release}${shared_ext}$major'
15484 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15485 shlibpath_var
=LD_LIBRARY_PATH
15486 shlibpath_overrides_runpath
=no
15487 # This implies no fast_install, which is unacceptable.
15488 # Some rework will be needed to allow for fast_install
15489 # before this can be enabled.
15490 hardcode_into_libs
=yes
15492 # find out which ABI we are using
15494 case "$host_cpu" in
15495 x86_64
*|s390x
*|powerpc64
*)
15496 echo '#line 15496 "configure"' > conftest.
$ac_ext
15497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15498 (eval $ac_compile) 2>&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); }; then
15502 case `/usr/bin/file conftest.$ac_objext` in
15505 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15513 # Append ld.so.conf contents to the search path
15514 if test -f /etc
/ld.so.conf
; then
15515 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15516 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15519 # We used to test for /lib/ld.so.1 and disable shared libraries on
15520 # powerpc, because MkLinux only supported shared libraries with the
15521 # GNU dynamic linker. Since this was broken with cross compilers,
15522 # most powerpc-linux boxes support dynamic linking these days and
15523 # people can always --disable-shared, the test was removed, and we
15524 # assume the GNU/Linux dynamic linker is in use.
15525 dynamic_linker
='GNU/Linux ld.so'
15532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15533 soname_spec
='${libname}${release}${shared_ext}$major'
15534 shlibpath_var
=LD_LIBRARY_PATH
15535 shlibpath_overrides_runpath
=no
15536 hardcode_into_libs
=yes
15537 dynamic_linker
='GNU ld.so'
15544 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15546 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15547 dynamic_linker
='NetBSD (a.out) ld.so'
15549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15550 soname_spec
='${libname}${release}${shared_ext}$major'
15551 dynamic_linker
='NetBSD ld.elf_so'
15553 shlibpath_var
=LD_LIBRARY_PATH
15554 shlibpath_overrides_runpath
=yes
15555 hardcode_into_libs
=yes
15560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15561 shlibpath_var
=LD_LIBRARY_PATH
15562 shlibpath_overrides_runpath
=yes
15569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15570 soname_spec
='${libname}${release}${shared_ext}$major'
15571 shlibpath_var
=LD_LIBRARY_PATH
15572 shlibpath_overrides_runpath
=yes
15577 sys_lib_dlsearch_path_spec
="/usr/lib"
15579 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15581 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15582 *) need_version
=no
;;
15584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15585 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15586 shlibpath_var
=LD_LIBRARY_PATH
15587 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15589 openbsd2.
[89] | openbsd2.
[89].
*)
15590 shlibpath_overrides_runpath
=no
15593 shlibpath_overrides_runpath
=yes
15597 shlibpath_overrides_runpath
=yes
15602 libname_spec
='$name'
15605 library_names_spec
='$libname${shared_ext} $libname.a'
15606 dynamic_linker
='OS/2 ld.exe'
15607 shlibpath_var
=LIBPATH
15610 osf3
* | osf4
* | osf5
*)
15614 soname_spec
='${libname}${release}${shared_ext}$major'
15615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15616 shlibpath_var
=LD_LIBRARY_PATH
15617 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15618 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15626 soname_spec
='${libname}${release}${shared_ext}$major'
15627 shlibpath_var
=LD_LIBRARY_PATH
15628 shlibpath_overrides_runpath
=yes
15629 hardcode_into_libs
=yes
15630 # ldd complains unless libraries are executable
15631 postinstall_cmds
='chmod +x $lib'
15636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15637 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15638 shlibpath_var
=LD_LIBRARY_PATH
15639 shlibpath_overrides_runpath
=yes
15640 if test "$with_gnu_ld" = yes; then
15648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15649 soname_spec
='${libname}${release}${shared_ext}$major'
15650 shlibpath_var
=LD_LIBRARY_PATH
15651 case $host_vendor in
15653 shlibpath_overrides_runpath
=no
15655 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15656 runpath_var
=LD_RUN_PATH
15664 shlibpath_overrides_runpath
=no
15665 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15671 if test -d /usr
/nec
;then
15673 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15674 soname_spec
='$libname${shared_ext}.$major'
15675 shlibpath_var
=LD_LIBRARY_PATH
15679 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15680 version_type
=freebsd-elf
15683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15684 soname_spec
='${libname}${release}${shared_ext}$major'
15685 shlibpath_var
=LD_LIBRARY_PATH
15686 hardcode_into_libs
=yes
15687 if test "$with_gnu_ld" = yes; then
15688 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15689 shlibpath_overrides_runpath
=no
15691 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15692 shlibpath_overrides_runpath
=yes
15695 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15699 sys_lib_dlsearch_path_spec
='/usr/lib'
15704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15705 soname_spec
='${libname}${release}${shared_ext}$major'
15706 shlibpath_var
=LD_LIBRARY_PATH
15713 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15714 echo "${ECHO_T}$dynamic_linker" >&6; }
15715 test "$dynamic_linker" = no
&& can_build_shared
=no
15717 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15718 if test "$GCC" = yes; then
15719 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15722 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15723 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15724 hardcode_action_F77
=
15725 if test -n "$hardcode_libdir_flag_spec_F77" || \
15726 test -n "$runpath_var_F77" || \
15727 test "X$hardcode_automatic_F77" = "Xyes" ; then
15729 # We can hardcode non-existant directories.
15730 if test "$hardcode_direct_F77" != no
&&
15731 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15732 # have to relink, otherwise we might link with an installed library
15733 # when we should be linking with a yet-to-be-installed one
15734 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15735 test "$hardcode_minus_L_F77" != no
; then
15736 # Linking always hardcodes the temporary library directory.
15737 hardcode_action_F77
=relink
15739 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15740 hardcode_action_F77
=immediate
15743 # We cannot hardcode anything, or else we can only hardcode existing
15745 hardcode_action_F77
=unsupported
15747 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15748 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15750 if test "$hardcode_action_F77" = relink
; then
15751 # Fast installation is not supported
15752 enable_fast_install
=no
15753 elif test "$shlibpath_overrides_runpath" = yes ||
15754 test "$enable_shared" = no
; then
15755 # Fast installation is not necessary
15756 enable_fast_install
=needless
15760 # The else clause should only fire when bootstrapping the
15761 # libtool distribution, otherwise you forgot to ship ltmain.sh
15762 # with your package, and you will get complaints that there are
15763 # no rules to generate ltmain.sh.
15764 if test -f "$ltmain"; then
15765 # See if we are running on zsh, and set the options which allow our commands through
15766 # without removal of \ escapes.
15767 if test -n "${ZSH_VERSION+set}" ; then
15768 setopt NO_GLOB_SUBST
15770 # Now quote all the things that may contain metacharacters while being
15771 # careful not to overquote the AC_SUBSTed values. We take copies of the
15772 # variables and quote the copies for generation of the libtool script.
15773 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15775 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15776 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15777 deplibs_check_method reload_flag reload_cmds need_locks \
15778 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15779 lt_cv_sys_global_symbol_to_c_name_address \
15780 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15781 old_postinstall_cmds old_postuninstall_cmds \
15785 lt_prog_compiler_wl_F77 \
15786 lt_prog_compiler_pic_F77 \
15787 lt_prog_compiler_static_F77 \
15788 lt_prog_compiler_no_builtin_flag_F77 \
15789 export_dynamic_flag_spec_F77 \
15790 thread_safe_flag_spec_F77 \
15791 whole_archive_flag_spec_F77 \
15792 enable_shared_with_static_runtimes_F77 \
15793 old_archive_cmds_F77 \
15794 old_archive_from_new_cmds_F77 \
15795 predep_objects_F77 \
15796 postdep_objects_F77 \
15799 compiler_lib_search_path_F77 \
15801 archive_expsym_cmds_F77 \
15802 postinstall_cmds_F77 \
15803 postuninstall_cmds_F77 \
15804 old_archive_from_expsyms_cmds_F77 \
15805 allow_undefined_flag_F77 \
15806 no_undefined_flag_F77 \
15807 export_symbols_cmds_F77 \
15808 hardcode_libdir_flag_spec_F77 \
15809 hardcode_libdir_flag_spec_ld_F77 \
15810 hardcode_libdir_separator_F77 \
15811 hardcode_automatic_F77 \
15813 module_expsym_cmds_F77 \
15814 lt_cv_prog_compiler_c_o_F77 \
15815 exclude_expsyms_F77 \
15816 include_expsyms_F77
; do
15819 old_archive_cmds_F77 | \
15820 old_archive_from_new_cmds_F77 | \
15821 archive_cmds_F77 | \
15822 archive_expsym_cmds_F77 | \
15823 module_cmds_F77 | \
15824 module_expsym_cmds_F77 | \
15825 old_archive_from_expsyms_cmds_F77 | \
15826 export_symbols_cmds_F77 | \
15827 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15828 postinstall_cmds | postuninstall_cmds | \
15829 old_postinstall_cmds | old_postuninstall_cmds | \
15830 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15831 # Double-quote double-evaled strings.
15832 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15835 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15841 *'\$0 --fallback-echo"')
15842 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15848 cat <<__EOF__ >> "$cfgfile"
15849 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15851 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15853 # Shell to use when invoking shell scripts.
15856 # Whether or not to build shared libraries.
15857 build_libtool_libs=$enable_shared
15859 # Whether or not to build static libraries.
15860 build_old_libs=$enable_static
15862 # Whether or not to add -lc for building shared libraries.
15863 build_libtool_need_lc=$archive_cmds_need_lc_F77
15865 # Whether or not to disallow shared libs when runtime libs are static
15866 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15868 # Whether or not to optimize for fast installation.
15869 fast_install=$enable_fast_install
15872 host_alias=$host_alias
15876 # The build system.
15877 build_alias=$build_alias
15881 # An echo program that does not interpret backslashes.
15886 AR_FLAGS=$lt_AR_FLAGS
15891 # LTCC compiler flags.
15892 LTCFLAGS=$lt_LTCFLAGS
15894 # A language-specific compiler.
15895 CC=$lt_compiler_F77
15897 # Is the compiler the GNU C compiler?
15903 # The linker used to build libraries.
15906 # Whether we need hard or soft links.
15909 # A BSD-compatible nm program.
15912 # A symbol stripping program
15915 # Used to examine libraries when file_magic_cmd begins "file"
15916 MAGIC_CMD=$MAGIC_CMD
15918 # Used on cygwin: DLL creation program.
15921 # Used on cygwin: object dumper.
15924 # Used on cygwin: assembler.
15927 # The name of the directory that contains temporary libtool files.
15930 # How to create reloadable object files.
15931 reload_flag=$lt_reload_flag
15932 reload_cmds=$lt_reload_cmds
15934 # How to pass a linker flag through the compiler.
15935 wl=$lt_lt_prog_compiler_wl_F77
15937 # Object file suffix (normally "o").
15938 objext="$ac_objext"
15940 # Old archive suffix (normally "a").
15943 # Shared library suffix (normally ".so").
15944 shrext_cmds='$shrext_cmds'
15946 # Executable file suffix (normally "").
15949 # Additional compiler flags for building library objects.
15950 pic_flag=$lt_lt_prog_compiler_pic_F77
15953 # What is the maximum length of a command?
15954 max_cmd_len=$lt_cv_sys_max_cmd_len
15956 # Does compiler simultaneously support -c and -o options?
15957 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15959 # Must we lock files when doing compilation?
15960 need_locks=$lt_need_locks
15962 # Do we need the lib prefix for modules?
15963 need_lib_prefix=$need_lib_prefix
15965 # Do we need a version for libraries?
15966 need_version=$need_version
15968 # Whether dlopen is supported.
15969 dlopen_support=$enable_dlopen
15971 # Whether dlopen of programs is supported.
15972 dlopen_self=$enable_dlopen_self
15974 # Whether dlopen of statically linked programs is supported.
15975 dlopen_self_static=$enable_dlopen_self_static
15977 # Compiler flag to prevent dynamic linking.
15978 link_static_flag=$lt_lt_prog_compiler_static_F77
15980 # Compiler flag to turn off builtin functions.
15981 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15983 # Compiler flag to allow reflexive dlopens.
15984 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15986 # Compiler flag to generate shared objects directly from archives.
15987 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15989 # Compiler flag to generate thread-safe objects.
15990 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15992 # Library versioning type.
15993 version_type=$version_type
15995 # Format of library name prefix.
15996 libname_spec=$lt_libname_spec
15998 # List of archive names. First name is the real one, the rest are links.
15999 # The last name is the one that the linker finds with -lNAME.
16000 library_names_spec=$lt_library_names_spec
16002 # The coded name of the library, if different from the real name.
16003 soname_spec=$lt_soname_spec
16005 # Commands used to build and install an old-style archive.
16007 old_archive_cmds=$lt_old_archive_cmds_F77
16008 old_postinstall_cmds=$lt_old_postinstall_cmds
16009 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16011 # Create an old-style archive from a shared archive.
16012 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16014 # Create a temporary old-style archive to link instead of a shared archive.
16015 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16017 # Commands used to build and install a shared archive.
16018 archive_cmds=$lt_archive_cmds_F77
16019 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16020 postinstall_cmds=$lt_postinstall_cmds
16021 postuninstall_cmds=$lt_postuninstall_cmds
16023 # Commands used to build a loadable module (assumed same as above if empty)
16024 module_cmds=$lt_module_cmds_F77
16025 module_expsym_cmds=$lt_module_expsym_cmds_F77
16027 # Commands to strip libraries.
16028 old_striplib=$lt_old_striplib
16029 striplib=$lt_striplib
16031 # Dependencies to place before the objects being linked to create a
16033 predep_objects=$lt_predep_objects_F77
16035 # Dependencies to place after the objects being linked to create a
16037 postdep_objects=$lt_postdep_objects_F77
16039 # Dependencies to place before the objects being linked to create a
16041 predeps=$lt_predeps_F77
16043 # Dependencies to place after the objects being linked to create a
16045 postdeps=$lt_postdeps_F77
16047 # The library search path used internally by the compiler when linking
16048 # a shared library.
16049 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16051 # Method to check whether dependent libraries are shared objects.
16052 deplibs_check_method=$lt_deplibs_check_method
16054 # Command to use when deplibs_check_method == file_magic.
16055 file_magic_cmd=$lt_file_magic_cmd
16057 # Flag that allows shared libraries with undefined symbols to be built.
16058 allow_undefined_flag=$lt_allow_undefined_flag_F77
16060 # Flag that forces no undefined symbols.
16061 no_undefined_flag=$lt_no_undefined_flag_F77
16063 # Commands used to finish a libtool library installation in a directory.
16064 finish_cmds=$lt_finish_cmds
16066 # Same as above, but a single script fragment to be evaled but not shown.
16067 finish_eval=$lt_finish_eval
16069 # Take the output of nm and produce a listing of raw symbols and C names.
16070 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16072 # Transform the output of nm in a proper C declaration
16073 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16075 # Transform the output of nm in a C name address pair
16076 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16078 # This is the shared library runtime path variable.
16079 runpath_var=$runpath_var
16081 # This is the shared library path variable.
16082 shlibpath_var=$shlibpath_var
16084 # Is shlibpath searched before the hard-coded library search path?
16085 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16087 # How to hardcode a shared library path into an executable.
16088 hardcode_action=$hardcode_action_F77
16090 # Whether we should hardcode library paths into libraries.
16091 hardcode_into_libs=$hardcode_into_libs
16093 # Flag to hardcode \$libdir into a binary during linking.
16094 # This must work even if \$libdir does not exist.
16095 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16097 # If ld is used when linking, flag to hardcode \$libdir into
16098 # a binary during linking. This must work even if \$libdir does
16100 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16102 # Whether we need a single -rpath flag with a separated argument.
16103 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16105 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16106 # resulting binary.
16107 hardcode_direct=$hardcode_direct_F77
16109 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16110 # resulting binary.
16111 hardcode_minus_L=$hardcode_minus_L_F77
16113 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16114 # the resulting binary.
16115 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16117 # Set to yes if building a shared library automatically hardcodes DIR into the library
16118 # and all subsequent libraries and executables linked against it.
16119 hardcode_automatic=$hardcode_automatic_F77
16121 # Variables whose values should be saved in libtool wrapper scripts and
16122 # restored at relink time.
16123 variables_saved_for_relink="$variables_saved_for_relink"
16125 # Whether libtool must link a program against all its dependency libraries.
16126 link_all_deplibs=$link_all_deplibs_F77
16128 # Compile-time system search path for libraries
16129 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16131 # Run-time system search path for libraries
16132 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16134 # Fix the shell variable \$srcfile for the compiler.
16135 fix_srcfile_path="$fix_srcfile_path_F77"
16137 # Set to yes if exported symbols are required.
16138 always_export_symbols=$always_export_symbols_F77
16140 # The commands to list exported symbols.
16141 export_symbols_cmds=$lt_export_symbols_cmds_F77
16143 # The commands to extract the exported symbol list from a shared archive.
16144 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16146 # Symbols that should not be listed in the preloaded symbols.
16147 exclude_expsyms=$lt_exclude_expsyms_F77
16149 # Symbols that must always be exported.
16150 include_expsyms=$lt_include_expsyms_F77
16152 # ### END LIBTOOL TAG CONFIG: $tagname
16158 # If there is no Makefile yet, we rely on a make rule to execute
16159 # `config.status --recheck' to rerun these tests and create the
16160 # libtool script then.
16161 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16162 if test -f "$ltmain_in"; then
16163 test -f Makefile
&& make "$ltmain"
16169 ac_cpp
='$CPP $CPPFLAGS'
16170 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16171 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16172 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16182 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16185 # Source file extension for Java test sources.
16188 # Object file extension for compiled Java test sources.
16192 # Code to be used in simple compile tests
16193 lt_simple_compile_test_code
="class foo {}\n"
16195 # Code to be used in simple link tests
16196 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16198 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16200 # If no C compiler was specified, use CC.
16203 # If no C compiler flags were specified, use CFLAGS.
16204 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16206 # Allow CC to be a program name with arguments.
16210 # save warnings/boilerplate of simple test code
16211 ac_outfile
=conftest.
$ac_objext
16212 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16213 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16214 _lt_compiler_boilerplate
=`cat conftest.err`
16217 ac_outfile
=conftest.
$ac_objext
16218 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16219 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16220 _lt_linker_boilerplate
=`cat conftest.err`
16224 # Allow CC to be a program name with arguments.
16229 for cc_temp
in $compiler""; do
16231 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16232 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16237 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16240 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16241 archive_cmds_need_lc_GCJ
=no
16243 old_archive_cmds_GCJ
=$old_archive_cmds
16246 lt_prog_compiler_no_builtin_flag_GCJ
=
16248 if test "$GCC" = yes; then
16249 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16252 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16253 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16254 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16255 echo $ECHO_N "(cached) $ECHO_C" >&6
16257 lt_cv_prog_compiler_rtti_exceptions
=no
16258 ac_outfile
=conftest.
$ac_objext
16259 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16260 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16261 # Insert the option either (1) after the last *FLAGS variable, or
16262 # (2) before a word containing "conftest.", or (3) at the end.
16263 # Note that $ac_compile itself does not contain backslashes and begins
16264 # with a dollar sign (not a hyphen), so the echo should work correctly.
16265 # The option is referenced via a variable to avoid confusing sed.
16266 lt_compile
=`echo "$ac_compile" | $SED \
16267 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16268 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16269 -e 's:$: $lt_compiler_flag:'`
16270 (eval echo "\"\$as_me:16270: $lt_compile\"" >&5)
16271 (eval "$lt_compile" 2>conftest.err
)
16273 cat conftest.err
>&5
16274 echo "$as_me:16274: \$? = $ac_status" >&5
16275 if (exit $ac_status) && test -s "$ac_outfile"; then
16276 # The compiler can only warn and ignore the option if not recognized
16277 # So say no if there are warnings other than the usual output.
16278 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16279 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16280 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16281 lt_cv_prog_compiler_rtti_exceptions
=yes
16287 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16288 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16290 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16291 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16298 lt_prog_compiler_wl_GCJ
=
16299 lt_prog_compiler_pic_GCJ
=
16300 lt_prog_compiler_static_GCJ
=
16302 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16303 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16305 if test "$GCC" = yes; then
16306 lt_prog_compiler_wl_GCJ
='-Wl,'
16307 lt_prog_compiler_static_GCJ
='-static'
16311 # All AIX code is PIC.
16312 if test "$host_cpu" = ia64
; then
16313 # AIX 5 now supports IA64 processor
16314 lt_prog_compiler_static_GCJ
='-Bstatic'
16319 # FIXME: we need at least 68020 code to build shared libraries, but
16320 # adding the `-m68020' flag to GCC prevents building anything better,
16322 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16325 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16326 # PIC is the default for these OSes.
16329 mingw
* | pw32
* | os2
*)
16330 # This hack is so that the source file can tell whether it is being
16331 # built for inclusion in a dll (and should export symbols for example).
16332 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16335 darwin
* | rhapsody
*)
16336 # PIC is the default on this platform
16337 # Common symbols not allowed in MH_DYLIB files
16338 lt_prog_compiler_pic_GCJ
='-fno-common'
16342 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16343 # Instead, we relocate shared libraries at runtime.
16347 # Just because we use GCC doesn't mean we suddenly get shared libraries
16348 # on systems that don't support them.
16349 lt_prog_compiler_can_build_shared_GCJ
=no
16354 if test -d /usr
/nec
; then
16355 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16360 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16361 # not for PA HP-UX.
16367 lt_prog_compiler_pic_GCJ
='-fPIC'
16373 lt_prog_compiler_pic_GCJ
='-fPIC'
16377 # PORTME Check for flag to pass linker flags through the system compiler.
16380 lt_prog_compiler_wl_GCJ
='-Wl,'
16381 if test "$host_cpu" = ia64
; then
16382 # AIX 5 now supports IA64 processor
16383 lt_prog_compiler_static_GCJ
='-Bstatic'
16385 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16389 # PIC is the default on this platform
16390 # Common symbols not allowed in MH_DYLIB files
16391 case $cc_basename in
16393 lt_prog_compiler_pic_GCJ
='-qnocommon'
16394 lt_prog_compiler_wl_GCJ
='-Wl,'
16399 mingw
* | pw32
* | os2
*)
16400 # This hack is so that the source file can tell whether it is being
16401 # built for inclusion in a dll (and should export symbols for example).
16402 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16405 hpux9
* | hpux10
* | hpux11
*)
16406 lt_prog_compiler_wl_GCJ
='-Wl,'
16407 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16408 # not for PA HP-UX.
16414 lt_prog_compiler_pic_GCJ
='+Z'
16417 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16418 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16421 irix5
* | irix6
* | nonstopux
*)
16422 lt_prog_compiler_wl_GCJ
='-Wl,'
16423 # PIC (with -KPIC) is the default.
16424 lt_prog_compiler_static_GCJ
='-non_shared'
16428 lt_prog_compiler_pic_GCJ
='-KPIC'
16429 lt_prog_compiler_static_GCJ
='-Bstatic'
16433 case $cc_basename in
16435 lt_prog_compiler_wl_GCJ
='-Wl,'
16436 lt_prog_compiler_pic_GCJ
='-KPIC'
16437 lt_prog_compiler_static_GCJ
='-static'
16439 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16440 # Portland Group compilers (*not* the Pentium gcc compiler,
16441 # which looks to be a dead project)
16442 lt_prog_compiler_wl_GCJ
='-Wl,'
16443 lt_prog_compiler_pic_GCJ
='-fpic'
16444 lt_prog_compiler_static_GCJ
='-Bstatic'
16447 lt_prog_compiler_wl_GCJ
='-Wl,'
16448 # All Alpha code is PIC.
16449 lt_prog_compiler_static_GCJ
='-non_shared'
16454 osf3
* | osf4
* | osf5
*)
16455 lt_prog_compiler_wl_GCJ
='-Wl,'
16456 # All OSF/1 code is PIC.
16457 lt_prog_compiler_static_GCJ
='-non_shared'
16461 lt_prog_compiler_pic_GCJ
='-KPIC'
16462 lt_prog_compiler_static_GCJ
='-Bstatic'
16463 case $cc_basename in
16464 f77
* | f90
* | f95
*)
16465 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16467 lt_prog_compiler_wl_GCJ
='-Wl,';;
16472 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16473 lt_prog_compiler_pic_GCJ
='-PIC'
16474 lt_prog_compiler_static_GCJ
='-Bstatic'
16477 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16478 lt_prog_compiler_wl_GCJ
='-Wl,'
16479 lt_prog_compiler_pic_GCJ
='-KPIC'
16480 lt_prog_compiler_static_GCJ
='-Bstatic'
16484 if test -d /usr
/nec
;then
16485 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16486 lt_prog_compiler_static_GCJ
='-Bstatic'
16490 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16491 lt_prog_compiler_wl_GCJ
='-Wl,'
16492 lt_prog_compiler_pic_GCJ
='-KPIC'
16493 lt_prog_compiler_static_GCJ
='-Bstatic'
16497 lt_prog_compiler_wl_GCJ
='-Wl,'
16498 lt_prog_compiler_can_build_shared_GCJ
=no
16502 lt_prog_compiler_pic_GCJ
='-pic'
16503 lt_prog_compiler_static_GCJ
='-Bstatic'
16507 lt_prog_compiler_can_build_shared_GCJ
=no
16512 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16513 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16516 # Check to make sure the PIC flag actually works.
16518 if test -n "$lt_prog_compiler_pic_GCJ"; then
16520 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16521 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16522 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16523 echo $ECHO_N "(cached) $ECHO_C" >&6
16525 lt_prog_compiler_pic_works_GCJ
=no
16526 ac_outfile
=conftest.
$ac_objext
16527 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16528 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16529 # Insert the option either (1) after the last *FLAGS variable, or
16530 # (2) before a word containing "conftest.", or (3) at the end.
16531 # Note that $ac_compile itself does not contain backslashes and begins
16532 # with a dollar sign (not a hyphen), so the echo should work correctly.
16533 # The option is referenced via a variable to avoid confusing sed.
16534 lt_compile
=`echo "$ac_compile" | $SED \
16535 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16536 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16537 -e 's:$: $lt_compiler_flag:'`
16538 (eval echo "\"\$as_me:16538: $lt_compile\"" >&5)
16539 (eval "$lt_compile" 2>conftest.err
)
16541 cat conftest.err
>&5
16542 echo "$as_me:16542: \$? = $ac_status" >&5
16543 if (exit $ac_status) && test -s "$ac_outfile"; then
16544 # The compiler can only warn and ignore the option if not recognized
16545 # So say no if there are warnings other than the usual output.
16546 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16547 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16548 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16549 lt_prog_compiler_pic_works_GCJ
=yes
16555 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16556 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16558 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16559 case $lt_prog_compiler_pic_GCJ in
16561 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16564 lt_prog_compiler_pic_GCJ
=
16565 lt_prog_compiler_can_build_shared_GCJ
=no
16570 # For platforms which do not support PIC, -DPIC is meaningless:
16572 lt_prog_compiler_pic_GCJ
=
16575 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16580 # Check to make sure the static flag actually works.
16582 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16583 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16584 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16585 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16586 echo $ECHO_N "(cached) $ECHO_C" >&6
16588 lt_prog_compiler_static_works_GCJ
=no
16589 save_LDFLAGS
="$LDFLAGS"
16590 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16591 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16592 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16593 # The linker can only warn and ignore the option if not recognized
16594 # So say no if there are warnings
16595 if test -s conftest.err
; then
16596 # Append any errors to the config.log.
16597 cat conftest.err
1>&5
16598 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16599 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16600 if diff conftest.exp conftest.er2
>/dev
/null
; then
16601 lt_prog_compiler_static_works_GCJ
=yes
16604 lt_prog_compiler_static_works_GCJ
=yes
16608 LDFLAGS
="$save_LDFLAGS"
16611 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16612 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16614 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16617 lt_prog_compiler_static_GCJ
=
16621 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16622 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16623 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16626 lt_cv_prog_compiler_c_o_GCJ
=no
16627 $rm -r conftest
2>/dev
/null
16631 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16633 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16634 # Insert the option either (1) after the last *FLAGS variable, or
16635 # (2) before a word containing "conftest.", or (3) at the end.
16636 # Note that $ac_compile itself does not contain backslashes and begins
16637 # with a dollar sign (not a hyphen), so the echo should work correctly.
16638 lt_compile
=`echo "$ac_compile" | $SED \
16639 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16640 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16641 -e 's:$: $lt_compiler_flag:'`
16642 (eval echo "\"\$as_me:16642: $lt_compile\"" >&5)
16643 (eval "$lt_compile" 2>out
/conftest.err
)
16645 cat out
/conftest.err
>&5
16646 echo "$as_me:16646: \$? = $ac_status" >&5
16647 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16649 # The compiler can only warn and ignore the option if not recognized
16650 # So say no if there are warnings
16651 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16652 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16653 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16654 lt_cv_prog_compiler_c_o_GCJ
=yes
16659 # SGI C++ compiler will create directory out/ii_files/ for
16660 # template instantiation
16661 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16662 $rm out
/* && rmdir out
16668 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16669 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16672 hard_links
="nottested"
16673 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16674 # do not overwrite the value of need_locks provided by the user
16675 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16676 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16679 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16681 ln conftest.a conftest.b
2>&5 || hard_links
=no
16682 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16683 { echo "$as_me:$LINENO: result: $hard_links" >&5
16684 echo "${ECHO_T}$hard_links" >&6; }
16685 if test "$hard_links" = no
; then
16686 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16687 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16694 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16695 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16698 allow_undefined_flag_GCJ
=
16699 enable_shared_with_static_runtimes_GCJ
=no
16701 archive_expsym_cmds_GCJ
=
16702 old_archive_From_new_cmds_GCJ
=
16703 old_archive_from_expsyms_cmds_GCJ
=
16704 export_dynamic_flag_spec_GCJ
=
16705 whole_archive_flag_spec_GCJ
=
16706 thread_safe_flag_spec_GCJ
=
16707 hardcode_libdir_flag_spec_GCJ
=
16708 hardcode_libdir_flag_spec_ld_GCJ
=
16709 hardcode_libdir_separator_GCJ
=
16710 hardcode_direct_GCJ
=no
16711 hardcode_minus_L_GCJ
=no
16712 hardcode_shlibpath_var_GCJ
=unsupported
16713 link_all_deplibs_GCJ
=unknown
16714 hardcode_automatic_GCJ
=no
16716 module_expsym_cmds_GCJ
=
16717 always_export_symbols_GCJ
=no
16718 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16719 # include_expsyms should be a list of space-separated symbols to be *always*
16720 # included in the symbol list
16721 include_expsyms_GCJ
=
16722 # exclude_expsyms can be an extended regexp of symbols to exclude
16723 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16724 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16725 # as well as any symbol that contains `d'.
16726 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16727 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16728 # platforms (ab)use it in PIC code, but their linkers get confused if
16729 # the symbol is explicitly referenced. Since portable code cannot
16730 # rely on this symbol name, it's probably fine to never include it in
16731 # preloaded symbol tables.
16732 extract_expsyms_cmds
=
16733 # Just being paranoid about ensuring that cc_basename is set.
16734 for cc_temp
in $compiler""; do
16736 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16737 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16742 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16745 cygwin
* | mingw
* | pw32
*)
16746 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16747 # When not using gcc, we currently assume that we are using
16748 # Microsoft Visual C++.
16749 if test "$GCC" != yes; then
16754 # we just hope/assume this is gcc and not c89 (= MSVC++)
16763 if test "$with_gnu_ld" = yes; then
16764 # If archive_cmds runs LD, not CC, wlarc should be empty
16767 # Set some defaults for GNU ld with shared library support. These
16768 # are reset later if shared libraries are not supported. Putting them
16769 # here allows them to be overridden if necessary.
16770 runpath_var
=LD_RUN_PATH
16771 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16772 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16773 # ancient GNU ld didn't support --whole-archive et. al.
16774 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16775 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16777 whole_archive_flag_spec_GCJ
=
16779 supports_anon_versioning
=no
16780 case `$LD -v 2>/dev/null` in
16781 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16782 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16783 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16784 *\
2.11.
*) ;; # other 2.11 versions
16785 *) supports_anon_versioning
=yes ;;
16788 # See if GNU ld supports shared libraries.
16790 aix3
* | aix4
* | aix5
*)
16791 # On AIX/PPC, the GNU linker is very broken
16792 if test "$host_cpu" != ia64
; then
16796 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16797 *** to be unable to reliably create shared libraries on AIX.
16798 *** Therefore, libtool is disabling shared libraries support. If you
16799 *** really care for shared libraries, you may want to modify your PATH
16800 *** so that a non-GNU linker is found, and then restart.
16807 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)'
16808 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16809 hardcode_minus_L_GCJ
=yes
16811 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16812 # that the semantics of dynamic libraries on AmigaOS, at least up
16813 # to version 4, is to share data among multiple programs linked
16814 # with the same dynamic library. Since this doesn't match the
16815 # behavior of shared libraries on other platforms, we can't use
16821 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16822 allow_undefined_flag_GCJ
=unsupported
16823 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16824 # support --undefined. This deserves some investigation. FIXME
16825 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16831 cygwin
* | mingw
* | pw32
*)
16832 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16833 # as there is no search path for DLLs.
16834 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16835 allow_undefined_flag_GCJ
=unsupported
16836 always_export_symbols_GCJ
=no
16837 enable_shared_with_static_runtimes_GCJ
=yes
16838 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16840 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16841 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16842 # If the export-symbols file already is a .def file (1st line
16843 # is EXPORTS), use it as is; otherwise, prepend...
16844 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16845 cp $export_symbols $output_objdir/$soname.def;
16847 echo EXPORTS > $output_objdir/$soname.def;
16848 cat $export_symbols >> $output_objdir/$soname.def;
16850 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16857 hardcode_direct_GCJ
=no
16858 hardcode_shlibpath_var_GCJ
=no
16859 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16860 export_dynamic_flag_spec_GCJ
='${wl}-E'
16861 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16862 # Instead, shared libraries are loaded at an image base (0x10000000 by
16863 # default) and relocated if they conflict, which is a slow very memory
16864 # consuming and fragmenting process. To avoid this, we pick a random,
16865 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16866 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16867 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'
16868 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'
16872 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16874 case $cc_basename,$host_cpu in
16875 pgcc
*) # Portland Group C compiler
16876 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'
16877 tmp_addflag
=' $pic_flag'
16879 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16880 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'
16881 tmp_addflag
=' $pic_flag -Mnomain' ;;
16882 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16883 tmp_addflag
=' -i_dynamic' ;;
16884 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16885 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16886 ifc
* | ifort
*) # Intel Fortran compiler
16887 tmp_addflag
=' -nofor_main' ;;
16889 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16891 if test $supports_anon_versioning = yes; then
16892 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16893 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16894 $echo "local: *; };" >> $output_objdir/$libname.ver~
16895 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16903 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16904 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16907 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16908 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16913 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16917 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16918 *** create shared libraries on Solaris systems. Therefore, libtool
16919 *** is disabling shared libraries support. We urge you to upgrade GNU
16920 *** binutils to release 2.9.1 or newer. Another option is to modify
16921 *** your PATH or compiler configuration so that the native linker is
16922 *** used, and then restart.
16925 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16926 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16927 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16933 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16934 case `$LD -v 2>&1` in
16935 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16939 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16940 *** reliably create shared libraries on SCO systems. Therefore, libtool
16941 *** is disabling shared libraries support. We urge you to upgrade GNU
16942 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16943 *** your PATH or compiler configuration so that the native linker is
16944 *** used, and then restart.
16949 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16950 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16951 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16952 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16961 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16963 hardcode_direct_GCJ
=yes
16964 hardcode_shlibpath_var_GCJ
=no
16968 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16969 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16970 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16977 if test "$ld_shlibs_GCJ" = no
; then
16979 hardcode_libdir_flag_spec_GCJ
=
16980 export_dynamic_flag_spec_GCJ
=
16981 whole_archive_flag_spec_GCJ
=
16984 # PORTME fill in a description of your system's linker (not GNU ld)
16987 allow_undefined_flag_GCJ
=unsupported
16988 always_export_symbols_GCJ
=yes
16989 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'
16990 # Note: this linker hardcodes the directories in LIBPATH if there
16991 # are no directories specified by -L.
16992 hardcode_minus_L_GCJ
=yes
16993 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16994 # Neither direct hardcoding nor static linking is supported with a
16996 hardcode_direct_GCJ
=unsupported
17001 if test "$host_cpu" = ia64
; then
17002 # On IA64, the linker does run time linking by default, so we don't
17003 # have to do anything special.
17004 aix_use_runtimelinking
=no
17005 exp_sym_flag
='-Bexport'
17008 # If we're using GNU nm, then we don't want the "-C" option.
17009 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17010 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17011 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'
17013 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'
17015 aix_use_runtimelinking
=no
17017 # Test if we are trying to use run time linking or normal
17018 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17019 # need to do runtime linking.
17020 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17021 for ld_flag
in $LDFLAGS; do
17022 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17023 aix_use_runtimelinking
=yes
17030 exp_sym_flag
='-bexport'
17031 no_entry_flag
='-bnoentry'
17034 # When large executables or shared objects are built, AIX ld can
17035 # have problems creating the table of contents. If linking a library
17036 # or program results in "error TOC overflow" add -mminimal-toc to
17037 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17038 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17040 archive_cmds_GCJ
=''
17041 hardcode_direct_GCJ
=yes
17042 hardcode_libdir_separator_GCJ
=':'
17043 link_all_deplibs_GCJ
=yes
17045 if test "$GCC" = yes; then
17046 case $host_os in aix4.
[012]|aix4.
[012].
*)
17047 # We only want to do this on AIX 4.2 and lower, the check
17048 # below for broken collect2 doesn't work under 4.3+
17049 collect2name
=`${CC} -print-prog-name=collect2`
17050 if test -f "$collect2name" && \
17051 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17053 # We have reworked collect2
17054 hardcode_direct_GCJ
=yes
17056 # We have old collect2
17057 hardcode_direct_GCJ
=unsupported
17058 # It fails to find uninstalled libraries when the uninstalled
17059 # path is not listed in the libpath. Setting hardcode_minus_L
17060 # to unsupported forces relinking
17061 hardcode_minus_L_GCJ
=yes
17062 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17063 hardcode_libdir_separator_GCJ
=
17067 shared_flag
='-shared'
17068 if test "$aix_use_runtimelinking" = yes; then
17069 shared_flag
="$shared_flag "'${wl}-G'
17073 if test "$host_cpu" = ia64
; then
17074 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17075 # chokes on -Wl,-G. The following line is correct:
17078 if test "$aix_use_runtimelinking" = yes; then
17079 shared_flag
='${wl}-G'
17081 shared_flag
='${wl}-bM:SRE'
17086 # It seems that -bexpall does not export symbols beginning with
17087 # underscore (_), so it is better to generate a list of symbols to export.
17088 always_export_symbols_GCJ
=yes
17089 if test "$aix_use_runtimelinking" = yes; then
17090 # Warning - without using the other runtime loading flags (-brtl),
17091 # -berok will link without error, but may produce a broken library.
17092 allow_undefined_flag_GCJ
='-berok'
17093 # Determine the default libpath from the value encoded in an empty executable.
17094 cat >conftest.
$ac_ext <<_ACEOF
17097 cat confdefs.h
>>conftest.
$ac_ext
17098 cat >>conftest.
$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17109 rm -f conftest.
$ac_objext conftest
$ac_exeext
17110 if { (ac_try
="$ac_link"
17111 case "(($ac_try" in
17112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17113 *) ac_try_echo=$ac_try;;
17115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17116 (eval "$ac_link") 2>conftest.er1
17118 grep -v '^ *+' conftest.er1 >conftest.err
17120 cat conftest.err >&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); } && {
17123 test -z "$ac_c_werror_flag" ||
17124 test ! -s conftest.err
17125 } && test -s conftest$ac_exeext &&
17126 $as_test_x conftest$ac_exeext; then
17128 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17130 # Check for a 64-bit object if we didn't find anything.
17131 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.$ac_ext >&5
17140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17141 conftest$ac_exeext conftest.$ac_ext
17142 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17144 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17145 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"
17147 if test "$host_cpu" = ia64; then
17148 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17149 allow_undefined_flag_GCJ="-z nodefs"
17150 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"
17152 # Determine the default libpath from the value encoded in an empty executable.
17153 cat >conftest.$ac_ext <<_ACEOF
17156 cat confdefs.h >>conftest.$ac_ext
17157 cat >>conftest.$ac_ext <<_ACEOF
17158 /* end confdefs.h. */
17168 rm -f conftest.$ac_objext conftest$ac_exeext
17169 if { (ac_try="$ac_link"
17170 case "(($ac_try" in
17171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17172 *) ac_try_echo
=$ac_try;;
17174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17175 (eval "$ac_link") 2>conftest.er1
17177 grep -v '^ *+' conftest.er1
>conftest.err
17179 cat conftest.err
>&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); } && {
17182 test -z "$ac_c_werror_flag" ||
17183 test ! -s conftest.err
17184 } && test -s conftest
$ac_exeext &&
17185 $as_test_x conftest
$ac_exeext; then
17187 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17189 # Check for a 64-bit object if we didn't find anything.
17190 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17193 echo "$as_me: failed program was:" >&5
17194 sed 's/^/| /' conftest.
$ac_ext >&5
17199 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17200 conftest
$ac_exeext conftest.
$ac_ext
17201 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17203 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17204 # Warning - without using the other run time loading flags,
17205 # -berok will link without error, but may produce a broken library.
17206 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17207 allow_undefined_flag_GCJ
=' ${wl}-berok'
17208 # Exported symbols can be pulled into shared objects from archives
17209 whole_archive_flag_spec_GCJ
='$convenience'
17210 archive_cmds_need_lc_GCJ
=yes
17211 # This is similar to how AIX traditionally builds its shared libraries.
17212 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'
17218 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)'
17219 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17220 hardcode_minus_L_GCJ
=yes
17221 # see comment about different semantics on the GNU ld section
17226 export_dynamic_flag_spec_GCJ
=-rdynamic
17229 cygwin
* | mingw
* | pw32
*)
17230 # When not using gcc, we currently assume that we are using
17231 # Microsoft Visual C++.
17232 # hardcode_libdir_flag_spec is actually meaningless, as there is
17233 # no search path for DLLs.
17234 hardcode_libdir_flag_spec_GCJ
=' '
17235 allow_undefined_flag_GCJ
=unsupported
17236 # Tell ltmain to make .lib files, not .a files.
17238 # Tell ltmain to make .dll files, not .so files.
17240 # FIXME: Setting linknames here is a bad hack.
17241 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17242 # The linker will automatically build a .lib file if we build a DLL.
17243 old_archive_From_new_cmds_GCJ
='true'
17244 # FIXME: Should let the user specify the lib program.
17245 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17246 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17247 enable_shared_with_static_runtimes_GCJ
=yes
17250 darwin
* | rhapsody
*)
17252 rhapsody
* | darwin1.
[012])
17253 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17256 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17257 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17259 case ${MACOSX_DEPLOYMENT_TARGET} in
17261 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17264 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17270 archive_cmds_need_lc_GCJ
=no
17271 hardcode_direct_GCJ
=no
17272 hardcode_automatic_GCJ
=yes
17273 hardcode_shlibpath_var_GCJ
=unsupported
17274 whole_archive_flag_spec_GCJ
=''
17275 link_all_deplibs_GCJ
=yes
17276 if test "$GCC" = yes ; then
17277 output_verbose_link_cmd
='echo'
17278 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17279 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17280 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17281 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17282 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}'
17284 case $cc_basename in
17286 output_verbose_link_cmd
='echo'
17287 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17288 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17289 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17290 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17291 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}'
17301 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17302 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17303 hardcode_shlibpath_var_GCJ
=no
17310 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17311 # support. Future versions do this automatically, but an explicit c++rt0.o
17312 # does not break anything, and helps significantly (at the cost of a little
17315 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17316 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17317 hardcode_direct_GCJ
=yes
17318 hardcode_shlibpath_var_GCJ
=no
17321 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17323 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17324 hardcode_direct_GCJ
=yes
17325 hardcode_minus_L_GCJ
=yes
17326 hardcode_shlibpath_var_GCJ
=no
17329 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17330 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17331 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17332 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17333 hardcode_direct_GCJ
=yes
17334 hardcode_shlibpath_var_GCJ
=no
17338 if test "$GCC" = yes; then
17339 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'
17341 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'
17343 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17344 hardcode_libdir_separator_GCJ
=:
17345 hardcode_direct_GCJ
=yes
17347 # hardcode_minus_L: Not really in the search PATH,
17348 # but as the default location of the library.
17349 hardcode_minus_L_GCJ
=yes
17350 export_dynamic_flag_spec_GCJ
='${wl}-E'
17354 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17355 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17357 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17359 if test "$with_gnu_ld" = no
; then
17360 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17361 hardcode_libdir_separator_GCJ
=:
17363 hardcode_direct_GCJ
=yes
17364 export_dynamic_flag_spec_GCJ
='${wl}-E'
17366 # hardcode_minus_L: Not really in the search PATH,
17367 # but as the default location of the library.
17368 hardcode_minus_L_GCJ
=yes
17373 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17376 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17379 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17382 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17388 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17391 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17394 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17398 if test "$with_gnu_ld" = no
; then
17399 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17400 hardcode_libdir_separator_GCJ
=:
17404 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17405 hardcode_direct_GCJ
=no
17406 hardcode_shlibpath_var_GCJ
=no
17409 hardcode_direct_GCJ
=yes
17410 export_dynamic_flag_spec_GCJ
='${wl}-E'
17412 # hardcode_minus_L: Not really in the search PATH,
17413 # but as the default location of the library.
17414 hardcode_minus_L_GCJ
=yes
17420 irix5
* | irix6
* | nonstopux
*)
17421 if test "$GCC" = yes; then
17422 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'
17424 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'
17425 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17427 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17428 hardcode_libdir_separator_GCJ
=:
17429 link_all_deplibs_GCJ
=yes
17433 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17434 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17436 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17438 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17439 hardcode_direct_GCJ
=yes
17440 hardcode_shlibpath_var_GCJ
=no
17444 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17445 hardcode_direct_GCJ
=yes
17446 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17447 hardcode_libdir_separator_GCJ
=:
17448 hardcode_shlibpath_var_GCJ
=no
17452 hardcode_direct_GCJ
=yes
17453 hardcode_shlibpath_var_GCJ
=no
17454 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17455 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17456 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17457 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17458 export_dynamic_flag_spec_GCJ
='${wl}-E'
17461 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17462 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17463 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17466 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17467 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17474 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17475 hardcode_minus_L_GCJ
=yes
17476 allow_undefined_flag_GCJ
=unsupported
17477 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'
17478 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17482 if test "$GCC" = yes; then
17483 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17484 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'
17486 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17487 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'
17489 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17490 hardcode_libdir_separator_GCJ
=:
17493 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17494 if test "$GCC" = yes; then
17495 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17496 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'
17497 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17499 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17500 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'
17501 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~
17502 $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'
17504 # Both c and cxx compiler support -rpath directly
17505 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17507 hardcode_libdir_separator_GCJ
=:
17511 no_undefined_flag_GCJ
=' -z text'
17512 if test "$GCC" = yes; then
17514 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17515 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17516 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17519 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17520 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17521 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17523 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17524 hardcode_shlibpath_var_GCJ
=no
17526 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17528 # The compiler driver will combine linker options so we
17529 # cannot just pass the convience library names through
17530 # without $wl, iff we do not link with $LD.
17531 # Luckily, gcc supports the same syntax we need for Sun Studio.
17532 # Supported since Solaris 2.6 (maybe 2.5.1?)
17535 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17537 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17540 link_all_deplibs_GCJ
=yes
17544 if test "x$host_vendor" = xsequent
; then
17545 # Use $CC to link under sequent, because it throws in some extra .o
17546 # files that make .init and .fini sections work.
17547 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17549 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17551 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17552 hardcode_direct_GCJ
=yes
17553 hardcode_minus_L_GCJ
=yes
17554 hardcode_shlibpath_var_GCJ
=no
17558 case $host_vendor in
17560 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17561 hardcode_direct_GCJ
=yes # is this really true???
17564 ## LD is ld it makes a PLAMLIB
17565 ## CC just makes a GrossModule.
17566 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17567 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17568 hardcode_direct_GCJ
=no
17571 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17572 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17575 runpath_var
='LD_RUN_PATH'
17576 hardcode_shlibpath_var_GCJ
=no
17580 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17581 hardcode_shlibpath_var_GCJ
=no
17582 export_dynamic_flag_spec_GCJ
='-Bexport'
17586 if test -d /usr
/nec
; then
17587 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17588 hardcode_shlibpath_var_GCJ
=no
17589 runpath_var
=LD_RUN_PATH
17590 hardcode_runpath_var
=yes
17595 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17596 no_undefined_flag_GCJ
='${wl}-z,text'
17597 archive_cmds_need_lc_GCJ
=no
17598 hardcode_shlibpath_var_GCJ
=no
17599 runpath_var
='LD_RUN_PATH'
17601 if test "$GCC" = yes; then
17602 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17603 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17605 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17606 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17610 sysv5
* | sco3.2v5
* | sco5v6
*)
17611 # Note: We can NOT use -z defs as we might desire, because we do not
17612 # link with -lc, and that would cause any symbols used from libc to
17613 # always be unresolved, which means just about no library would
17614 # ever link correctly. If we're not using GNU ld we use -z text
17615 # though, which does catch some bad symbols but isn't as heavy-handed
17617 no_undefined_flag_GCJ
='${wl}-z,text'
17618 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17619 archive_cmds_need_lc_GCJ
=no
17620 hardcode_shlibpath_var_GCJ
=no
17621 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17622 hardcode_libdir_separator_GCJ
=':'
17623 link_all_deplibs_GCJ
=yes
17624 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17625 runpath_var
='LD_RUN_PATH'
17627 if test "$GCC" = yes; then
17628 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17629 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17631 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17632 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17637 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17638 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17639 hardcode_shlibpath_var_GCJ
=no
17648 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17649 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17650 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17653 # Do we need to explicitly link libc?
17655 case "x$archive_cmds_need_lc_GCJ" in
17657 # Assume -lc should be added
17658 archive_cmds_need_lc_GCJ
=yes
17660 if test "$enable_shared" = yes && test "$GCC" = yes; then
17661 case $archive_cmds_GCJ in
17663 # FIXME: we may have to deal with multi-command sequences.
17666 # Test whether the compiler implicitly links with -lc since on some
17667 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17668 # to ld, don't add -lc before -lgcc.
17669 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17670 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17672 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17675 (eval $ac_compile) 2>&5
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); } 2>conftest.err
; then
17681 libobjs
=conftest.
$ac_objext
17683 wl
=$lt_prog_compiler_wl_GCJ
17684 pic_flag
=$lt_prog_compiler_pic_GCJ
17690 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17691 allow_undefined_flag_GCJ
=
17692 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17693 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); }
17698 archive_cmds_need_lc_GCJ
=no
17700 archive_cmds_need_lc_GCJ
=yes
17702 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17704 cat conftest.err
1>&5
17707 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17708 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17715 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17716 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17717 library_names_spec
=
17718 libname_spec
='lib$name'
17722 postuninstall_cmds
=
17726 shlibpath_overrides_runpath
=unknown
17728 dynamic_linker
="$host_os ld.so"
17729 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17730 if test "$GCC" = yes; then
17731 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17732 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17733 # if the path contains ";" then we assume it to be the separator
17734 # otherwise default to the standard path separator (i.e. ":") - it is
17735 # assumed that no part of a normal pathname contains ";" but that should
17736 # okay in the real world where ";" in dirpaths is itself problematic.
17737 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17739 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17742 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17744 need_lib_prefix
=unknown
17745 hardcode_into_libs
=no
17747 # when you set need_version to no, make sure it does not cause -set_version
17748 # flags to be left without arguments
17749 need_version
=unknown
17754 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17755 shlibpath_var
=LIBPATH
17757 # AIX 3 has no versioning support, so we append a major version to the name.
17758 soname_spec
='${libname}${release}${shared_ext}$major'
17765 hardcode_into_libs
=yes
17766 if test "$host_cpu" = ia64
; then
17767 # AIX 5 supports IA64
17768 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17769 shlibpath_var
=LD_LIBRARY_PATH
17771 # With GCC up to 2.95.x, collect2 would create an import file
17772 # for dependence libraries. The import file would start with
17773 # the line `#! .'. This would cause the generated library to
17774 # depend on `.', always an invalid library. This was fixed in
17775 # development snapshots of GCC prior to 3.0.
17777 aix4 | aix4.
[01] | aix4.
[01].
*)
17778 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17780 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17783 can_build_shared
=no
17787 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17788 # soname into executable. Probably we can add versioning support to
17789 # collect2, so additional links can be useful in future.
17790 if test "$aix_use_runtimelinking" = yes; then
17791 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17792 # instead of lib<name>.a to let people know that these are not
17793 # typical AIX shared libraries.
17794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17796 # We preserve .a as extension for shared libraries through AIX4.2
17797 # and later when we are not doing run time linking.
17798 library_names_spec
='${libname}${release}.a $libname.a'
17799 soname_spec
='${libname}${release}${shared_ext}$major'
17801 shlibpath_var
=LIBPATH
17806 library_names_spec
='$libname.ixlibrary $libname.a'
17807 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17808 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'
17812 library_names_spec
='${libname}${shared_ext}'
17813 dynamic_linker
="$host_os ld.so"
17814 shlibpath_var
=LIBRARY_PATH
17820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17821 soname_spec
='${libname}${release}${shared_ext}$major'
17822 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17823 shlibpath_var
=LD_LIBRARY_PATH
17824 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17825 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17826 # the default ld.so.conf also contains /usr/contrib/lib and
17827 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17828 # libtool to hard-code these into programs
17831 cygwin
* | mingw
* | pw32
*)
17832 version_type
=windows
17837 case $GCC,$host_os in
17838 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17839 library_names_spec
='$libname.dll.a'
17840 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17841 postinstall_cmds
='base_file=`basename \${file}`~
17842 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17843 dldir=$destdir/`dirname \$dlpath`~
17844 test -d \$dldir || mkdir -p \$dldir~
17845 $install_prog $dir/$dlname \$dldir/$dlname~
17846 chmod a+x \$dldir/$dlname'
17847 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17848 dlpath=$dir/\$dldll~
17850 shlibpath_overrides_runpath
=yes
17854 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17855 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17856 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17859 # MinGW DLLs use traditional 'lib' prefix
17860 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17861 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17862 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17863 # It is most probably a Windows format PATH printed by
17864 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17865 # path with ; separators, and with drive letters. We can handle the
17866 # drive letters (cygwin fileutils understands them), so leave them,
17867 # especially as we might pass files found there to a mingw objdump,
17868 # which wouldn't understand a cygwinified path. Ahh.
17869 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17871 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17875 # pw32 DLLs use 'pw' prefix rather than 'lib'
17876 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17882 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17885 dynamic_linker
='Win32 ld.exe'
17886 # FIXME: first we should search . and the directory the executable is in
17890 darwin
* | rhapsody
*)
17891 dynamic_linker
="$host_os dyld"
17892 version_type
=darwin
17895 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17896 soname_spec
='${libname}${release}${major}$shared_ext'
17897 shlibpath_overrides_runpath
=yes
17898 shlibpath_var
=DYLD_LIBRARY_PATH
17899 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17900 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17901 if test "$GCC" = yes; then
17902 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17904 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17906 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17914 soname_spec
='${libname}${release}${shared_ext}$major'
17915 shlibpath_var
=LD_LIBRARY_PATH
17926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17927 soname_spec
='${libname}${release}${shared_ext}$major'
17928 shlibpath_var
=LD_LIBRARY_PATH
17929 shlibpath_overrides_runpath
=no
17930 hardcode_into_libs
=yes
17931 dynamic_linker
='GNU ld.so'
17934 freebsd
* | dragonfly
*)
17935 # DragonFly does not have aout. When/if they implement a new
17936 # versioning mechanism, adjust this.
17937 if test -x /usr
/bin
/objformat
; then
17938 objformat
=`/usr/bin/objformat`
17941 freebsd
[123]*) objformat
=aout
;;
17942 *) objformat
=elf
;;
17945 version_type
=freebsd-
$objformat
17946 case $version_type in
17948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17953 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17957 shlibpath_var
=LD_LIBRARY_PATH
17960 shlibpath_overrides_runpath
=yes
17962 freebsd3.
[01]* | freebsdelf3.
[01]*)
17963 shlibpath_overrides_runpath
=yes
17964 hardcode_into_libs
=yes
17966 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17967 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17968 shlibpath_overrides_runpath
=no
17969 hardcode_into_libs
=yes
17971 freebsd
*) # from 4.6 on
17972 shlibpath_overrides_runpath
=yes
17973 hardcode_into_libs
=yes
17982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17983 soname_spec
='${libname}${release}${shared_ext}$major'
17984 shlibpath_var
=LD_LIBRARY_PATH
17985 hardcode_into_libs
=yes
17988 hpux9
* | hpux10
* | hpux11
*)
17989 # Give a soname corresponding to the major version so that dld.sl refuses to
17990 # link against other versions.
17997 hardcode_into_libs
=yes
17998 dynamic_linker
="$host_os dld.so"
17999 shlibpath_var
=LD_LIBRARY_PATH
18000 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18002 soname_spec
='${libname}${release}${shared_ext}$major'
18003 if test "X$HPUX_IA64_MODE" = X32
; then
18004 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18006 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18008 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18012 hardcode_into_libs
=yes
18013 dynamic_linker
="$host_os dld.sl"
18014 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18015 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18017 soname_spec
='${libname}${release}${shared_ext}$major'
18018 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18019 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18023 dynamic_linker
="$host_os dld.sl"
18024 shlibpath_var
=SHLIB_PATH
18025 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18027 soname_spec
='${libname}${release}${shared_ext}$major'
18030 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18031 postinstall_cmds
='chmod 555 $lib'
18038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18039 soname_spec
='${libname}${release}${shared_ext}$major'
18040 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18041 shlibpath_var
=LD_LIBRARY_PATH
18042 shlibpath_overrides_runpath
=no
18043 hardcode_into_libs
=yes
18046 irix5
* | irix6
* | nonstopux
*)
18048 nonstopux
*) version_type
=nonstopux
;;
18050 if test "$lt_cv_prog_gnu_ld" = yes; then
18058 soname_spec
='${libname}${release}${shared_ext}$major'
18059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18061 irix5
* | nonstopux
*)
18062 libsuff
= shlibsuff
=
18065 case $LD in # libtool.m4 will add one of these switches to LD
18066 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18067 libsuff
= shlibsuff
= libmagic
=32-bit;;
18068 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18069 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18070 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18071 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18072 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18076 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18077 shlibpath_overrides_runpath
=no
18078 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18079 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18080 hardcode_into_libs
=yes
18083 # No shared lib support for Linux oldld, aout, or coff.
18084 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18088 # This must be Linux ELF.
18093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18094 soname_spec
='${libname}${release}${shared_ext}$major'
18095 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18096 shlibpath_var
=LD_LIBRARY_PATH
18097 shlibpath_overrides_runpath
=no
18098 # This implies no fast_install, which is unacceptable.
18099 # Some rework will be needed to allow for fast_install
18100 # before this can be enabled.
18101 hardcode_into_libs
=yes
18103 # find out which ABI we are using
18105 case "$host_cpu" in
18106 x86_64
*|s390x
*|powerpc64
*)
18107 echo '#line 18107 "configure"' > conftest.
$ac_ext
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; then
18113 case `/usr/bin/file conftest.$ac_objext` in
18116 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18124 # Append ld.so.conf contents to the search path
18125 if test -f /etc
/ld.so.conf
; then
18126 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18127 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18130 # We used to test for /lib/ld.so.1 and disable shared libraries on
18131 # powerpc, because MkLinux only supported shared libraries with the
18132 # GNU dynamic linker. Since this was broken with cross compilers,
18133 # most powerpc-linux boxes support dynamic linking these days and
18134 # people can always --disable-shared, the test was removed, and we
18135 # assume the GNU/Linux dynamic linker is in use.
18136 dynamic_linker
='GNU/Linux ld.so'
18143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18144 soname_spec
='${libname}${release}${shared_ext}$major'
18145 shlibpath_var
=LD_LIBRARY_PATH
18146 shlibpath_overrides_runpath
=no
18147 hardcode_into_libs
=yes
18148 dynamic_linker
='GNU ld.so'
18155 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18157 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18158 dynamic_linker
='NetBSD (a.out) ld.so'
18160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18161 soname_spec
='${libname}${release}${shared_ext}$major'
18162 dynamic_linker
='NetBSD ld.elf_so'
18164 shlibpath_var
=LD_LIBRARY_PATH
18165 shlibpath_overrides_runpath
=yes
18166 hardcode_into_libs
=yes
18171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18172 shlibpath_var
=LD_LIBRARY_PATH
18173 shlibpath_overrides_runpath
=yes
18180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18181 soname_spec
='${libname}${release}${shared_ext}$major'
18182 shlibpath_var
=LD_LIBRARY_PATH
18183 shlibpath_overrides_runpath
=yes
18188 sys_lib_dlsearch_path_spec
="/usr/lib"
18190 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18192 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18193 *) need_version
=no
;;
18195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18196 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18197 shlibpath_var
=LD_LIBRARY_PATH
18198 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18200 openbsd2.
[89] | openbsd2.
[89].
*)
18201 shlibpath_overrides_runpath
=no
18204 shlibpath_overrides_runpath
=yes
18208 shlibpath_overrides_runpath
=yes
18213 libname_spec
='$name'
18216 library_names_spec
='$libname${shared_ext} $libname.a'
18217 dynamic_linker
='OS/2 ld.exe'
18218 shlibpath_var
=LIBPATH
18221 osf3
* | osf4
* | osf5
*)
18225 soname_spec
='${libname}${release}${shared_ext}$major'
18226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18227 shlibpath_var
=LD_LIBRARY_PATH
18228 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18229 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18237 soname_spec
='${libname}${release}${shared_ext}$major'
18238 shlibpath_var
=LD_LIBRARY_PATH
18239 shlibpath_overrides_runpath
=yes
18240 hardcode_into_libs
=yes
18241 # ldd complains unless libraries are executable
18242 postinstall_cmds
='chmod +x $lib'
18247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18248 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18249 shlibpath_var
=LD_LIBRARY_PATH
18250 shlibpath_overrides_runpath
=yes
18251 if test "$with_gnu_ld" = yes; then
18259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18260 soname_spec
='${libname}${release}${shared_ext}$major'
18261 shlibpath_var
=LD_LIBRARY_PATH
18262 case $host_vendor in
18264 shlibpath_overrides_runpath
=no
18266 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18267 runpath_var
=LD_RUN_PATH
18275 shlibpath_overrides_runpath
=no
18276 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18282 if test -d /usr
/nec
;then
18284 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18285 soname_spec
='$libname${shared_ext}.$major'
18286 shlibpath_var
=LD_LIBRARY_PATH
18290 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18291 version_type
=freebsd-elf
18294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18295 soname_spec
='${libname}${release}${shared_ext}$major'
18296 shlibpath_var
=LD_LIBRARY_PATH
18297 hardcode_into_libs
=yes
18298 if test "$with_gnu_ld" = yes; then
18299 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18300 shlibpath_overrides_runpath
=no
18302 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18303 shlibpath_overrides_runpath
=yes
18306 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18310 sys_lib_dlsearch_path_spec
='/usr/lib'
18315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18316 soname_spec
='${libname}${release}${shared_ext}$major'
18317 shlibpath_var
=LD_LIBRARY_PATH
18324 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18325 echo "${ECHO_T}$dynamic_linker" >&6; }
18326 test "$dynamic_linker" = no
&& can_build_shared
=no
18328 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18329 if test "$GCC" = yes; then
18330 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18333 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18334 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18335 hardcode_action_GCJ
=
18336 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18337 test -n "$runpath_var_GCJ" || \
18338 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18340 # We can hardcode non-existant directories.
18341 if test "$hardcode_direct_GCJ" != no
&&
18342 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18343 # have to relink, otherwise we might link with an installed library
18344 # when we should be linking with a yet-to-be-installed one
18345 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18346 test "$hardcode_minus_L_GCJ" != no
; then
18347 # Linking always hardcodes the temporary library directory.
18348 hardcode_action_GCJ
=relink
18350 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18351 hardcode_action_GCJ
=immediate
18354 # We cannot hardcode anything, or else we can only hardcode existing
18356 hardcode_action_GCJ
=unsupported
18358 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18359 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18361 if test "$hardcode_action_GCJ" = relink
; then
18362 # Fast installation is not supported
18363 enable_fast_install
=no
18364 elif test "$shlibpath_overrides_runpath" = yes ||
18365 test "$enable_shared" = no
; then
18366 # Fast installation is not necessary
18367 enable_fast_install
=needless
18371 # The else clause should only fire when bootstrapping the
18372 # libtool distribution, otherwise you forgot to ship ltmain.sh
18373 # with your package, and you will get complaints that there are
18374 # no rules to generate ltmain.sh.
18375 if test -f "$ltmain"; then
18376 # See if we are running on zsh, and set the options which allow our commands through
18377 # without removal of \ escapes.
18378 if test -n "${ZSH_VERSION+set}" ; then
18379 setopt NO_GLOB_SUBST
18381 # Now quote all the things that may contain metacharacters while being
18382 # careful not to overquote the AC_SUBSTed values. We take copies of the
18383 # variables and quote the copies for generation of the libtool script.
18384 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18386 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18387 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18388 deplibs_check_method reload_flag reload_cmds need_locks \
18389 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18390 lt_cv_sys_global_symbol_to_c_name_address \
18391 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18392 old_postinstall_cmds old_postuninstall_cmds \
18396 lt_prog_compiler_wl_GCJ \
18397 lt_prog_compiler_pic_GCJ \
18398 lt_prog_compiler_static_GCJ \
18399 lt_prog_compiler_no_builtin_flag_GCJ \
18400 export_dynamic_flag_spec_GCJ \
18401 thread_safe_flag_spec_GCJ \
18402 whole_archive_flag_spec_GCJ \
18403 enable_shared_with_static_runtimes_GCJ \
18404 old_archive_cmds_GCJ \
18405 old_archive_from_new_cmds_GCJ \
18406 predep_objects_GCJ \
18407 postdep_objects_GCJ \
18410 compiler_lib_search_path_GCJ \
18412 archive_expsym_cmds_GCJ \
18413 postinstall_cmds_GCJ \
18414 postuninstall_cmds_GCJ \
18415 old_archive_from_expsyms_cmds_GCJ \
18416 allow_undefined_flag_GCJ \
18417 no_undefined_flag_GCJ \
18418 export_symbols_cmds_GCJ \
18419 hardcode_libdir_flag_spec_GCJ \
18420 hardcode_libdir_flag_spec_ld_GCJ \
18421 hardcode_libdir_separator_GCJ \
18422 hardcode_automatic_GCJ \
18424 module_expsym_cmds_GCJ \
18425 lt_cv_prog_compiler_c_o_GCJ \
18426 exclude_expsyms_GCJ \
18427 include_expsyms_GCJ
; do
18430 old_archive_cmds_GCJ | \
18431 old_archive_from_new_cmds_GCJ | \
18432 archive_cmds_GCJ | \
18433 archive_expsym_cmds_GCJ | \
18434 module_cmds_GCJ | \
18435 module_expsym_cmds_GCJ | \
18436 old_archive_from_expsyms_cmds_GCJ | \
18437 export_symbols_cmds_GCJ | \
18438 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18439 postinstall_cmds | postuninstall_cmds | \
18440 old_postinstall_cmds | old_postuninstall_cmds | \
18441 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18442 # Double-quote double-evaled strings.
18443 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18446 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18452 *'\$0 --fallback-echo"')
18453 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18459 cat <<__EOF__ >> "$cfgfile"
18460 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18462 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18464 # Shell to use when invoking shell scripts.
18467 # Whether or not to build shared libraries.
18468 build_libtool_libs=$enable_shared
18470 # Whether or not to build static libraries.
18471 build_old_libs=$enable_static
18473 # Whether or not to add -lc for building shared libraries.
18474 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18476 # Whether or not to disallow shared libs when runtime libs are static
18477 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18479 # Whether or not to optimize for fast installation.
18480 fast_install=$enable_fast_install
18483 host_alias=$host_alias
18487 # The build system.
18488 build_alias=$build_alias
18492 # An echo program that does not interpret backslashes.
18497 AR_FLAGS=$lt_AR_FLAGS
18502 # LTCC compiler flags.
18503 LTCFLAGS=$lt_LTCFLAGS
18505 # A language-specific compiler.
18506 CC=$lt_compiler_GCJ
18508 # Is the compiler the GNU C compiler?
18514 # The linker used to build libraries.
18517 # Whether we need hard or soft links.
18520 # A BSD-compatible nm program.
18523 # A symbol stripping program
18526 # Used to examine libraries when file_magic_cmd begins "file"
18527 MAGIC_CMD=$MAGIC_CMD
18529 # Used on cygwin: DLL creation program.
18532 # Used on cygwin: object dumper.
18535 # Used on cygwin: assembler.
18538 # The name of the directory that contains temporary libtool files.
18541 # How to create reloadable object files.
18542 reload_flag=$lt_reload_flag
18543 reload_cmds=$lt_reload_cmds
18545 # How to pass a linker flag through the compiler.
18546 wl=$lt_lt_prog_compiler_wl_GCJ
18548 # Object file suffix (normally "o").
18549 objext="$ac_objext"
18551 # Old archive suffix (normally "a").
18554 # Shared library suffix (normally ".so").
18555 shrext_cmds='$shrext_cmds'
18557 # Executable file suffix (normally "").
18560 # Additional compiler flags for building library objects.
18561 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18564 # What is the maximum length of a command?
18565 max_cmd_len=$lt_cv_sys_max_cmd_len
18567 # Does compiler simultaneously support -c and -o options?
18568 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18570 # Must we lock files when doing compilation?
18571 need_locks=$lt_need_locks
18573 # Do we need the lib prefix for modules?
18574 need_lib_prefix=$need_lib_prefix
18576 # Do we need a version for libraries?
18577 need_version=$need_version
18579 # Whether dlopen is supported.
18580 dlopen_support=$enable_dlopen
18582 # Whether dlopen of programs is supported.
18583 dlopen_self=$enable_dlopen_self
18585 # Whether dlopen of statically linked programs is supported.
18586 dlopen_self_static=$enable_dlopen_self_static
18588 # Compiler flag to prevent dynamic linking.
18589 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18591 # Compiler flag to turn off builtin functions.
18592 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18594 # Compiler flag to allow reflexive dlopens.
18595 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18597 # Compiler flag to generate shared objects directly from archives.
18598 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18600 # Compiler flag to generate thread-safe objects.
18601 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18603 # Library versioning type.
18604 version_type=$version_type
18606 # Format of library name prefix.
18607 libname_spec=$lt_libname_spec
18609 # List of archive names. First name is the real one, the rest are links.
18610 # The last name is the one that the linker finds with -lNAME.
18611 library_names_spec=$lt_library_names_spec
18613 # The coded name of the library, if different from the real name.
18614 soname_spec=$lt_soname_spec
18616 # Commands used to build and install an old-style archive.
18618 old_archive_cmds=$lt_old_archive_cmds_GCJ
18619 old_postinstall_cmds=$lt_old_postinstall_cmds
18620 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18622 # Create an old-style archive from a shared archive.
18623 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18625 # Create a temporary old-style archive to link instead of a shared archive.
18626 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18628 # Commands used to build and install a shared archive.
18629 archive_cmds=$lt_archive_cmds_GCJ
18630 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18631 postinstall_cmds=$lt_postinstall_cmds
18632 postuninstall_cmds=$lt_postuninstall_cmds
18634 # Commands used to build a loadable module (assumed same as above if empty)
18635 module_cmds=$lt_module_cmds_GCJ
18636 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18638 # Commands to strip libraries.
18639 old_striplib=$lt_old_striplib
18640 striplib=$lt_striplib
18642 # Dependencies to place before the objects being linked to create a
18644 predep_objects=$lt_predep_objects_GCJ
18646 # Dependencies to place after the objects being linked to create a
18648 postdep_objects=$lt_postdep_objects_GCJ
18650 # Dependencies to place before the objects being linked to create a
18652 predeps=$lt_predeps_GCJ
18654 # Dependencies to place after the objects being linked to create a
18656 postdeps=$lt_postdeps_GCJ
18658 # The library search path used internally by the compiler when linking
18659 # a shared library.
18660 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18662 # Method to check whether dependent libraries are shared objects.
18663 deplibs_check_method=$lt_deplibs_check_method
18665 # Command to use when deplibs_check_method == file_magic.
18666 file_magic_cmd=$lt_file_magic_cmd
18668 # Flag that allows shared libraries with undefined symbols to be built.
18669 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18671 # Flag that forces no undefined symbols.
18672 no_undefined_flag=$lt_no_undefined_flag_GCJ
18674 # Commands used to finish a libtool library installation in a directory.
18675 finish_cmds=$lt_finish_cmds
18677 # Same as above, but a single script fragment to be evaled but not shown.
18678 finish_eval=$lt_finish_eval
18680 # Take the output of nm and produce a listing of raw symbols and C names.
18681 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18683 # Transform the output of nm in a proper C declaration
18684 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18686 # Transform the output of nm in a C name address pair
18687 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18689 # This is the shared library runtime path variable.
18690 runpath_var=$runpath_var
18692 # This is the shared library path variable.
18693 shlibpath_var=$shlibpath_var
18695 # Is shlibpath searched before the hard-coded library search path?
18696 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18698 # How to hardcode a shared library path into an executable.
18699 hardcode_action=$hardcode_action_GCJ
18701 # Whether we should hardcode library paths into libraries.
18702 hardcode_into_libs=$hardcode_into_libs
18704 # Flag to hardcode \$libdir into a binary during linking.
18705 # This must work even if \$libdir does not exist.
18706 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18708 # If ld is used when linking, flag to hardcode \$libdir into
18709 # a binary during linking. This must work even if \$libdir does
18711 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18713 # Whether we need a single -rpath flag with a separated argument.
18714 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18716 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18717 # resulting binary.
18718 hardcode_direct=$hardcode_direct_GCJ
18720 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18721 # resulting binary.
18722 hardcode_minus_L=$hardcode_minus_L_GCJ
18724 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18725 # the resulting binary.
18726 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18728 # Set to yes if building a shared library automatically hardcodes DIR into the library
18729 # and all subsequent libraries and executables linked against it.
18730 hardcode_automatic=$hardcode_automatic_GCJ
18732 # Variables whose values should be saved in libtool wrapper scripts and
18733 # restored at relink time.
18734 variables_saved_for_relink="$variables_saved_for_relink"
18736 # Whether libtool must link a program against all its dependency libraries.
18737 link_all_deplibs=$link_all_deplibs_GCJ
18739 # Compile-time system search path for libraries
18740 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18742 # Run-time system search path for libraries
18743 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18745 # Fix the shell variable \$srcfile for the compiler.
18746 fix_srcfile_path="$fix_srcfile_path_GCJ"
18748 # Set to yes if exported symbols are required.
18749 always_export_symbols=$always_export_symbols_GCJ
18751 # The commands to list exported symbols.
18752 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18754 # The commands to extract the exported symbol list from a shared archive.
18755 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18757 # Symbols that should not be listed in the preloaded symbols.
18758 exclude_expsyms=$lt_exclude_expsyms_GCJ
18760 # Symbols that must always be exported.
18761 include_expsyms=$lt_include_expsyms_GCJ
18763 # ### END LIBTOOL TAG CONFIG: $tagname
18769 # If there is no Makefile yet, we rely on a make rule to execute
18770 # `config.status --recheck' to rerun these tests and create the
18771 # libtool script then.
18772 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18773 if test -f "$ltmain_in"; then
18774 test -f Makefile
&& make "$ltmain"
18780 ac_cpp
='$CPP $CPPFLAGS'
18781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18795 # Source file extension for RC test sources.
18798 # Object file extension for compiled RC test sources.
18802 # Code to be used in simple compile tests
18803 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18805 # Code to be used in simple link tests
18806 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18808 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18810 # If no C compiler was specified, use CC.
18813 # If no C compiler flags were specified, use CFLAGS.
18814 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18816 # Allow CC to be a program name with arguments.
18820 # save warnings/boilerplate of simple test code
18821 ac_outfile
=conftest.
$ac_objext
18822 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
18823 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18824 _lt_compiler_boilerplate
=`cat conftest.err`
18827 ac_outfile
=conftest.
$ac_objext
18828 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
18829 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18830 _lt_linker_boilerplate
=`cat conftest.err`
18834 # Allow CC to be a program name with arguments.
18839 for cc_temp
in $compiler""; do
18841 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18842 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18847 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18849 lt_cv_prog_compiler_c_o_RC
=yes
18851 # The else clause should only fire when bootstrapping the
18852 # libtool distribution, otherwise you forgot to ship ltmain.sh
18853 # with your package, and you will get complaints that there are
18854 # no rules to generate ltmain.sh.
18855 if test -f "$ltmain"; then
18856 # See if we are running on zsh, and set the options which allow our commands through
18857 # without removal of \ escapes.
18858 if test -n "${ZSH_VERSION+set}" ; then
18859 setopt NO_GLOB_SUBST
18861 # Now quote all the things that may contain metacharacters while being
18862 # careful not to overquote the AC_SUBSTed values. We take copies of the
18863 # variables and quote the copies for generation of the libtool script.
18864 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18866 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18867 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18868 deplibs_check_method reload_flag reload_cmds need_locks \
18869 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18870 lt_cv_sys_global_symbol_to_c_name_address \
18871 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18872 old_postinstall_cmds old_postuninstall_cmds \
18876 lt_prog_compiler_wl_RC \
18877 lt_prog_compiler_pic_RC \
18878 lt_prog_compiler_static_RC \
18879 lt_prog_compiler_no_builtin_flag_RC \
18880 export_dynamic_flag_spec_RC \
18881 thread_safe_flag_spec_RC \
18882 whole_archive_flag_spec_RC \
18883 enable_shared_with_static_runtimes_RC \
18884 old_archive_cmds_RC \
18885 old_archive_from_new_cmds_RC \
18886 predep_objects_RC \
18887 postdep_objects_RC \
18890 compiler_lib_search_path_RC \
18892 archive_expsym_cmds_RC \
18893 postinstall_cmds_RC \
18894 postuninstall_cmds_RC \
18895 old_archive_from_expsyms_cmds_RC \
18896 allow_undefined_flag_RC \
18897 no_undefined_flag_RC \
18898 export_symbols_cmds_RC \
18899 hardcode_libdir_flag_spec_RC \
18900 hardcode_libdir_flag_spec_ld_RC \
18901 hardcode_libdir_separator_RC \
18902 hardcode_automatic_RC \
18904 module_expsym_cmds_RC \
18905 lt_cv_prog_compiler_c_o_RC \
18906 exclude_expsyms_RC \
18907 include_expsyms_RC
; do
18910 old_archive_cmds_RC | \
18911 old_archive_from_new_cmds_RC | \
18912 archive_cmds_RC | \
18913 archive_expsym_cmds_RC | \
18915 module_expsym_cmds_RC | \
18916 old_archive_from_expsyms_cmds_RC | \
18917 export_symbols_cmds_RC | \
18918 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18919 postinstall_cmds | postuninstall_cmds | \
18920 old_postinstall_cmds | old_postuninstall_cmds | \
18921 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18922 # Double-quote double-evaled strings.
18923 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18926 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18932 *'\$0 --fallback-echo"')
18933 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18939 cat <<__EOF__ >> "$cfgfile"
18940 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18942 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18944 # Shell to use when invoking shell scripts.
18947 # Whether or not to build shared libraries.
18948 build_libtool_libs=$enable_shared
18950 # Whether or not to build static libraries.
18951 build_old_libs=$enable_static
18953 # Whether or not to add -lc for building shared libraries.
18954 build_libtool_need_lc=$archive_cmds_need_lc_RC
18956 # Whether or not to disallow shared libs when runtime libs are static
18957 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18959 # Whether or not to optimize for fast installation.
18960 fast_install=$enable_fast_install
18963 host_alias=$host_alias
18967 # The build system.
18968 build_alias=$build_alias
18972 # An echo program that does not interpret backslashes.
18977 AR_FLAGS=$lt_AR_FLAGS
18982 # LTCC compiler flags.
18983 LTCFLAGS=$lt_LTCFLAGS
18985 # A language-specific compiler.
18988 # Is the compiler the GNU C compiler?
18994 # The linker used to build libraries.
18997 # Whether we need hard or soft links.
19000 # A BSD-compatible nm program.
19003 # A symbol stripping program
19006 # Used to examine libraries when file_magic_cmd begins "file"
19007 MAGIC_CMD=$MAGIC_CMD
19009 # Used on cygwin: DLL creation program.
19012 # Used on cygwin: object dumper.
19015 # Used on cygwin: assembler.
19018 # The name of the directory that contains temporary libtool files.
19021 # How to create reloadable object files.
19022 reload_flag=$lt_reload_flag
19023 reload_cmds=$lt_reload_cmds
19025 # How to pass a linker flag through the compiler.
19026 wl=$lt_lt_prog_compiler_wl_RC
19028 # Object file suffix (normally "o").
19029 objext="$ac_objext"
19031 # Old archive suffix (normally "a").
19034 # Shared library suffix (normally ".so").
19035 shrext_cmds='$shrext_cmds'
19037 # Executable file suffix (normally "").
19040 # Additional compiler flags for building library objects.
19041 pic_flag=$lt_lt_prog_compiler_pic_RC
19044 # What is the maximum length of a command?
19045 max_cmd_len=$lt_cv_sys_max_cmd_len
19047 # Does compiler simultaneously support -c and -o options?
19048 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19050 # Must we lock files when doing compilation?
19051 need_locks=$lt_need_locks
19053 # Do we need the lib prefix for modules?
19054 need_lib_prefix=$need_lib_prefix
19056 # Do we need a version for libraries?
19057 need_version=$need_version
19059 # Whether dlopen is supported.
19060 dlopen_support=$enable_dlopen
19062 # Whether dlopen of programs is supported.
19063 dlopen_self=$enable_dlopen_self
19065 # Whether dlopen of statically linked programs is supported.
19066 dlopen_self_static=$enable_dlopen_self_static
19068 # Compiler flag to prevent dynamic linking.
19069 link_static_flag=$lt_lt_prog_compiler_static_RC
19071 # Compiler flag to turn off builtin functions.
19072 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19074 # Compiler flag to allow reflexive dlopens.
19075 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19077 # Compiler flag to generate shared objects directly from archives.
19078 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19080 # Compiler flag to generate thread-safe objects.
19081 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19083 # Library versioning type.
19084 version_type=$version_type
19086 # Format of library name prefix.
19087 libname_spec=$lt_libname_spec
19089 # List of archive names. First name is the real one, the rest are links.
19090 # The last name is the one that the linker finds with -lNAME.
19091 library_names_spec=$lt_library_names_spec
19093 # The coded name of the library, if different from the real name.
19094 soname_spec=$lt_soname_spec
19096 # Commands used to build and install an old-style archive.
19098 old_archive_cmds=$lt_old_archive_cmds_RC
19099 old_postinstall_cmds=$lt_old_postinstall_cmds
19100 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19102 # Create an old-style archive from a shared archive.
19103 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19105 # Create a temporary old-style archive to link instead of a shared archive.
19106 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19108 # Commands used to build and install a shared archive.
19109 archive_cmds=$lt_archive_cmds_RC
19110 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19111 postinstall_cmds=$lt_postinstall_cmds
19112 postuninstall_cmds=$lt_postuninstall_cmds
19114 # Commands used to build a loadable module (assumed same as above if empty)
19115 module_cmds=$lt_module_cmds_RC
19116 module_expsym_cmds=$lt_module_expsym_cmds_RC
19118 # Commands to strip libraries.
19119 old_striplib=$lt_old_striplib
19120 striplib=$lt_striplib
19122 # Dependencies to place before the objects being linked to create a
19124 predep_objects=$lt_predep_objects_RC
19126 # Dependencies to place after the objects being linked to create a
19128 postdep_objects=$lt_postdep_objects_RC
19130 # Dependencies to place before the objects being linked to create a
19132 predeps=$lt_predeps_RC
19134 # Dependencies to place after the objects being linked to create a
19136 postdeps=$lt_postdeps_RC
19138 # The library search path used internally by the compiler when linking
19139 # a shared library.
19140 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19142 # Method to check whether dependent libraries are shared objects.
19143 deplibs_check_method=$lt_deplibs_check_method
19145 # Command to use when deplibs_check_method == file_magic.
19146 file_magic_cmd=$lt_file_magic_cmd
19148 # Flag that allows shared libraries with undefined symbols to be built.
19149 allow_undefined_flag=$lt_allow_undefined_flag_RC
19151 # Flag that forces no undefined symbols.
19152 no_undefined_flag=$lt_no_undefined_flag_RC
19154 # Commands used to finish a libtool library installation in a directory.
19155 finish_cmds=$lt_finish_cmds
19157 # Same as above, but a single script fragment to be evaled but not shown.
19158 finish_eval=$lt_finish_eval
19160 # Take the output of nm and produce a listing of raw symbols and C names.
19161 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19163 # Transform the output of nm in a proper C declaration
19164 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19166 # Transform the output of nm in a C name address pair
19167 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19169 # This is the shared library runtime path variable.
19170 runpath_var=$runpath_var
19172 # This is the shared library path variable.
19173 shlibpath_var=$shlibpath_var
19175 # Is shlibpath searched before the hard-coded library search path?
19176 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19178 # How to hardcode a shared library path into an executable.
19179 hardcode_action=$hardcode_action_RC
19181 # Whether we should hardcode library paths into libraries.
19182 hardcode_into_libs=$hardcode_into_libs
19184 # Flag to hardcode \$libdir into a binary during linking.
19185 # This must work even if \$libdir does not exist.
19186 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19188 # If ld is used when linking, flag to hardcode \$libdir into
19189 # a binary during linking. This must work even if \$libdir does
19191 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19193 # Whether we need a single -rpath flag with a separated argument.
19194 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19196 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19197 # resulting binary.
19198 hardcode_direct=$hardcode_direct_RC
19200 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19201 # resulting binary.
19202 hardcode_minus_L=$hardcode_minus_L_RC
19204 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19205 # the resulting binary.
19206 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19208 # Set to yes if building a shared library automatically hardcodes DIR into the library
19209 # and all subsequent libraries and executables linked against it.
19210 hardcode_automatic=$hardcode_automatic_RC
19212 # Variables whose values should be saved in libtool wrapper scripts and
19213 # restored at relink time.
19214 variables_saved_for_relink="$variables_saved_for_relink"
19216 # Whether libtool must link a program against all its dependency libraries.
19217 link_all_deplibs=$link_all_deplibs_RC
19219 # Compile-time system search path for libraries
19220 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19222 # Run-time system search path for libraries
19223 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19225 # Fix the shell variable \$srcfile for the compiler.
19226 fix_srcfile_path="$fix_srcfile_path_RC"
19228 # Set to yes if exported symbols are required.
19229 always_export_symbols=$always_export_symbols_RC
19231 # The commands to list exported symbols.
19232 export_symbols_cmds=$lt_export_symbols_cmds_RC
19234 # The commands to extract the exported symbol list from a shared archive.
19235 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19237 # Symbols that should not be listed in the preloaded symbols.
19238 exclude_expsyms=$lt_exclude_expsyms_RC
19240 # Symbols that must always be exported.
19241 include_expsyms=$lt_include_expsyms_RC
19243 # ### END LIBTOOL TAG CONFIG: $tagname
19249 # If there is no Makefile yet, we rely on a make rule to execute
19250 # `config.status --recheck' to rerun these tests and create the
19251 # libtool script then.
19252 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19253 if test -f "$ltmain_in"; then
19254 test -f Makefile
&& make "$ltmain"
19260 ac_cpp
='$CPP $CPPFLAGS'
19261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19270 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19271 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19272 { (exit 1); exit 1; }; }
19276 # Append the new tag name to the list of available tags.
19277 if test -n "$tagname" ; then
19278 available_tags
="$available_tags $tagname"
19284 # Now substitute the updated list of available tags.
19285 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19286 mv "${ofile}T" "$ofile"
19290 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19291 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19292 { (exit 1); exit 1; }; }
19298 # This can be used to rebuild libtool when needed
19299 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19301 # Always use our own libtool.
19302 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19304 # Prevent multiple expansion
19326 if test x
$GCC = xyes
19328 CFLAGS
="-Wall $CFLAGS"
19330 if test x
$GXX = xyes
19332 CXXFLAGS
="-Wall $CXXFLAGS"
19335 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19336 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19337 if test "${ac_cv_c_const+set}" = set; then
19338 echo $ECHO_N "(cached) $ECHO_C" >&6
19340 cat >conftest.
$ac_ext <<_ACEOF
19343 cat confdefs.h
>>conftest.
$ac_ext
19344 cat >>conftest.
$ac_ext <<_ACEOF
19345 /* end confdefs.h. */
19350 /* FIXME: Include the comments suggested by Paul. */
19351 #ifndef __cplusplus
19352 /* Ultrix mips cc rejects this. */
19353 typedef int charset[2];
19355 /* SunOS 4.1.1 cc rejects this. */
19356 char const *const *pcpcc;
19358 /* NEC SVR4.0.2 mips cc rejects this. */
19359 struct point {int x, y;};
19360 static struct point const zero = {0,0};
19361 /* AIX XL C 1.02.0.0 rejects this.
19362 It does not let you subtract one const X* pointer from another in
19363 an arm of an if-expression whose if-part is not a constant
19365 const char *g = "string";
19366 pcpcc = &g + (g ? g-g : 0);
19367 /* HPUX 7.0 cc rejects these. */
19369 ppc = (char**) pcpcc;
19370 pcpcc = (char const *const *) ppc;
19371 { /* SCO 3.2v4 cc rejects this. */
19373 char const *s = 0 ? (char *) 0 : (char const *) 0;
19378 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19379 int x[] = {25, 17};
19380 const int *foo = &x[0];
19383 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19384 typedef const int *iptr;
19388 { /* AIX XL C 1.02.0.0 rejects this saying
19389 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19390 struct s { int j; const int *ap[3]; };
19391 struct s *b; b->j = 5;
19393 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19394 const int foo = 10;
19395 if (!foo) return 0;
19397 return !cs[0] && !zero.x;
19404 rm -f conftest.
$ac_objext
19405 if { (ac_try
="$ac_compile"
19406 case "(($ac_try" in
19407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19408 *) ac_try_echo=$ac_try;;
19410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19411 (eval "$ac_compile") 2>conftest.er1
19413 grep -v '^ *+' conftest.er1 >conftest.err
19415 cat conftest.err >&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); } && {
19418 test -z "$ac_c_werror_flag" ||
19419 test ! -s conftest.err
19420 } && test -s conftest.$ac_objext; then
19423 echo "$as_me: failed program was:" >&5
19424 sed 's/^/| /' conftest.$ac_ext >&5
19429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19431 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19432 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19433 if test $ac_cv_c_const = no; then
19435 cat >>confdefs.h <<\_ACEOF
19441 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19442 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19443 if test "${ac_cv_header_stdc+set}" = set; then
19444 echo $ECHO_N "(cached) $ECHO_C" >&6
19446 cat >conftest.$ac_ext <<_ACEOF
19449 cat confdefs.h >>conftest.$ac_ext
19450 cat >>conftest.$ac_ext <<_ACEOF
19451 /* end confdefs.h. */
19452 #include <stdlib.h>
19453 #include <stdarg.h>
19454 #include <string.h>
19465 rm -f conftest.$ac_objext
19466 if { (ac_try="$ac_compile"
19467 case "(($ac_try" in
19468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19469 *) ac_try_echo
=$ac_try;;
19471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19472 (eval "$ac_compile") 2>conftest.er1
19474 grep -v '^ *+' conftest.er1
>conftest.err
19476 cat conftest.err
>&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } && {
19479 test -z "$ac_c_werror_flag" ||
19480 test ! -s conftest.err
19481 } && test -s conftest.
$ac_objext; then
19482 ac_cv_header_stdc
=yes
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.
$ac_ext >&5
19487 ac_cv_header_stdc
=no
19490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19492 if test $ac_cv_header_stdc = yes; then
19493 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19494 cat >conftest.
$ac_ext <<_ACEOF
19497 cat confdefs.h
>>conftest.
$ac_ext
19498 cat >>conftest.
$ac_ext <<_ACEOF
19499 /* end confdefs.h. */
19500 #include <string.h>
19503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19504 $EGREP "memchr" >/dev
/null
2>&1; then
19507 ac_cv_header_stdc
=no
19513 if test $ac_cv_header_stdc = yes; then
19514 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19515 cat >conftest.
$ac_ext <<_ACEOF
19518 cat confdefs.h
>>conftest.
$ac_ext
19519 cat >>conftest.
$ac_ext <<_ACEOF
19520 /* end confdefs.h. */
19521 #include <stdlib.h>
19524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19525 $EGREP "free" >/dev
/null
2>&1; then
19528 ac_cv_header_stdc
=no
19534 if test $ac_cv_header_stdc = yes; then
19535 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19536 if test "$cross_compiling" = yes; then
19539 cat >conftest.
$ac_ext <<_ACEOF
19542 cat confdefs.h
>>conftest.
$ac_ext
19543 cat >>conftest.
$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19546 #include <stdlib.h>
19547 #if ((' ' & 0x0FF) == 0x020)
19548 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19549 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19551 # define ISLOWER(c) \
19552 (('a' <= (c) && (c) <= 'i') \
19553 || ('j' <= (c) && (c) <= 'r') \
19554 || ('s' <= (c) && (c) <= 'z'))
19555 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19558 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19563 for (i = 0; i < 256; i++)
19564 if (XOR (islower (i), ISLOWER (i))
19565 || toupper (i) != TOUPPER (i))
19570 rm -f conftest
$ac_exeext
19571 if { (ac_try
="$ac_link"
19572 case "(($ac_try" in
19573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19574 *) ac_try_echo=$ac_try;;
19576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19577 (eval "$ac_link") 2>&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19581 { (case "(($ac_try" in
19582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19583 *) ac_try_echo
=$ac_try;;
19585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19586 (eval "$ac_try") 2>&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); }; }; then
19592 echo "$as_me: program exited with status $ac_status" >&5
19593 echo "$as_me: failed program was:" >&5
19594 sed 's/^/| /' conftest.
$ac_ext >&5
19596 ( exit $ac_status )
19597 ac_cv_header_stdc
=no
19599 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19605 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19606 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19607 if test $ac_cv_header_stdc = yes; then
19609 cat >>confdefs.h
<<\_ACEOF
19610 #define STDC_HEADERS 1
19618 for ac_header
in fcntl.h string.h syslog.h
19620 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19621 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19622 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19624 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19625 echo $ECHO_N "(cached) $ECHO_C" >&6
19627 ac_res
=`eval echo '${'$as_ac_Header'}'`
19628 { echo "$as_me:$LINENO: result: $ac_res" >&5
19629 echo "${ECHO_T}$ac_res" >&6; }
19631 # Is the header compilable?
19632 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19633 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19634 cat >conftest.
$ac_ext <<_ACEOF
19637 cat confdefs.h
>>conftest.
$ac_ext
19638 cat >>conftest.
$ac_ext <<_ACEOF
19639 /* end confdefs.h. */
19640 $ac_includes_default
19641 #include <$ac_header>
19643 rm -f conftest.
$ac_objext
19644 if { (ac_try
="$ac_compile"
19645 case "(($ac_try" in
19646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19647 *) ac_try_echo=$ac_try;;
19649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19650 (eval "$ac_compile") 2>conftest.er1
19652 grep -v '^ *+' conftest.er1 >conftest.err
19654 cat conftest.err >&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } && {
19657 test -z "$ac_c_werror_flag" ||
19658 test ! -s conftest.err
19659 } && test -s conftest.$ac_objext; then
19660 ac_header_compiler=yes
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.$ac_ext >&5
19665 ac_header_compiler=no
19668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19669 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19670 echo "${ECHO_T}$ac_header_compiler" >&6; }
19672 # Is the header present?
19673 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19674 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19675 cat >conftest.$ac_ext <<_ACEOF
19678 cat confdefs.h >>conftest.$ac_ext
19679 cat >>conftest.$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 #include <$ac_header>
19683 if { (ac_try="$ac_cpp conftest.$ac_ext"
19684 case "(($ac_try" in
19685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19686 *) ac_try_echo
=$ac_try;;
19688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19689 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19691 grep -v '^ *+' conftest.er1
>conftest.err
19693 cat conftest.err
>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); } >/dev
/null
&& {
19696 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19697 test ! -s conftest.err
19699 ac_header_preproc
=yes
19701 echo "$as_me: failed program was:" >&5
19702 sed 's/^/| /' conftest.
$ac_ext >&5
19704 ac_header_preproc
=no
19707 rm -f conftest.err conftest.
$ac_ext
19708 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19709 echo "${ECHO_T}$ac_header_preproc" >&6; }
19711 # So? What about this header?
19712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19714 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19715 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19717 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19718 ac_header_preproc
=yes
19721 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19722 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19723 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19724 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19725 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19726 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19727 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19728 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19731 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19732 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19734 ## -------------------------------------------------- ##
19735 ## Report this to courier-users@lists.sourceforge.net ##
19736 ## -------------------------------------------------- ##
19738 ) |
sed "s/^/$as_me: WARNING: /" >&2
19741 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19743 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19744 echo $ECHO_N "(cached) $ECHO_C" >&6
19746 eval "$as_ac_Header=\$ac_header_preproc"
19748 ac_res
=`eval echo '${'$as_ac_Header'}'`
19749 { echo "$as_me:$LINENO: result: $ac_res" >&5
19750 echo "${ECHO_T}$ac_res" >&6; }
19753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19754 cat >>confdefs.h
<<_ACEOF
19755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19762 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
19763 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
19764 if test "${ac_cv_type_uid_t+set}" = set; then
19765 echo $ECHO_N "(cached) $ECHO_C" >&6
19767 cat >conftest.
$ac_ext <<_ACEOF
19770 cat confdefs.h
>>conftest.
$ac_ext
19771 cat >>conftest.
$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19773 #include <sys/types.h>
19776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19777 $EGREP "uid_t" >/dev
/null
2>&1; then
19778 ac_cv_type_uid_t
=yes
19780 ac_cv_type_uid_t
=no
19785 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
19786 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
19787 if test $ac_cv_type_uid_t = no
; then
19789 cat >>confdefs.h
<<\_ACEOF
19794 cat >>confdefs.h
<<\_ACEOF
19801 for ac_func
in strchr
19803 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19806 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19807 echo $ECHO_N "(cached) $ECHO_C" >&6
19809 cat >conftest.
$ac_ext <<_ACEOF
19812 cat confdefs.h
>>conftest.
$ac_ext
19813 cat >>conftest.
$ac_ext <<_ACEOF
19814 /* end confdefs.h. */
19815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19817 #define $ac_func innocuous_$ac_func
19819 /* System header to define __stub macros and hopefully few prototypes,
19820 which can conflict with char $ac_func (); below.
19821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19822 <limits.h> exists even on freestanding compilers. */
19825 # include <limits.h>
19827 # include <assert.h>
19832 /* Override any GCC internal prototype to avoid an error.
19833 Use char because int might match the return type of a GCC
19834 builtin and then its argument prototype would still apply. */
19839 /* The GNU C library defines this for functions which it implements
19840 to always fail with ENOSYS. Some functions are actually named
19841 something starting with __ and the normal name is an alias. */
19842 #if defined __stub_$ac_func || defined __stub___$ac_func
19849 return $ac_func ();
19854 rm -f conftest.
$ac_objext conftest
$ac_exeext
19855 if { (ac_try
="$ac_link"
19856 case "(($ac_try" in
19857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19858 *) ac_try_echo=$ac_try;;
19860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19861 (eval "$ac_link") 2>conftest.er1
19863 grep -v '^ *+' conftest.er1 >conftest.err
19865 cat conftest.err >&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); } && {
19868 test -z "$ac_c_werror_flag" ||
19869 test ! -s conftest.err
19870 } && test -s conftest$ac_exeext &&
19871 $as_test_x conftest$ac_exeext; then
19872 eval "$as_ac_var=yes"
19874 echo "$as_me: failed program was:" >&5
19875 sed 's/^/| /' conftest.$ac_ext >&5
19877 eval "$as_ac_var=no"
19880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19881 conftest$ac_exeext conftest.$ac_ext
19883 ac_res=`eval echo '${'$as_ac_var'}'`
19884 { echo "$as_me:$LINENO: result: $ac_res" >&5
19885 echo "${ECHO_T}$ac_res" >&6; }
19886 if test `eval echo '${'$as_ac_var'}'` = yes; then
19887 cat >>confdefs.h <<_ACEOF
19888 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
19896 # Check whether --with-syslog was given.
19897 if test "${with_syslog+set}" = set; then
19898 withval=$with_syslog; logdest="LOG_$withval"
19905 cat >>confdefs.h <<_ACEOF
19906 #define LOG_DEST $logdest
19909 if test -d ${srcdir}/../docbook; then
19911 HAVE_SGML_FALSE='#'
19917 ac_config_files="$ac_config_files Makefile"
19919 cat >confcache <<\_ACEOF
19920 # This file is a shell script that caches the results of configure
19921 # tests run on this system so they can be shared between configure
19922 # scripts and configure runs, see configure's option --config-cache.
19923 # It is not useful on other systems. If it contains results you don't
19924 # want to keep, you may remove or edit it.
19926 # config.status only pays attention to the cache file if you give it
19927 # the --recheck option to rerun configure.
19929 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
19930 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19931 # following values.
19935 # The following way of writing the cache mishandles newlines in values,
19936 # but we know of no workaround that is simple, portable, and efficient.
19937 # So, we kill variables containing newlines.
19938 # Ultrix sh set writes to stderr and can't be redirected directly,
19939 # and sets the high bit in the cache file unless we assign to the vars.
19941 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19942 eval ac_val
=\$
$ac_var
19946 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
19947 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
19950 _ | IFS | as_nl
) ;; #(
19951 *) $as_unset $ac_var ;;
19957 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19958 *${as_nl}ac_space
=\
*)
19959 # `set' does not quote correctly, so add quotes (double-quote
19960 # substitution turns \\\\ into \\, and sed turns \\ into \).
19963 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19966 # `set' quotes correctly as required by POSIX, so do not add quotes.
19967 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19976 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19978 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19980 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19981 if test -w "$cache_file"; then
19982 test "x$cache_file" != "x/dev/null" &&
19983 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
19984 echo "$as_me: updating cache $cache_file" >&6;}
19985 cat confcache
>$cache_file
19987 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
19988 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19993 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19994 # Let make expand exec_prefix.
19995 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19997 DEFS
=-DHAVE_CONFIG_H
20001 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20002 # 1. Remove the extension, and $U if already installed.
20003 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20004 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20005 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20006 # will be set to the directory where LIBOBJS objects are built.
20007 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20008 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20010 LIBOBJS
=$ac_libobjs
20012 LTLIBOBJS
=$ac_ltlibobjs
20015 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20016 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20017 Usually this means the macro was only invoked conditionally." >&5
20018 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20019 Usually this means the macro was only invoked conditionally." >&2;}
20020 { (exit 1); exit 1; }; }
20022 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20023 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20024 Usually this means the macro was only invoked conditionally." >&5
20025 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20026 Usually this means the macro was only invoked conditionally." >&2;}
20027 { (exit 1); exit 1; }; }
20029 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20030 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20031 Usually this means the macro was only invoked conditionally." >&5
20032 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20033 Usually this means the macro was only invoked conditionally." >&2;}
20034 { (exit 1); exit 1; }; }
20036 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
20037 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
20038 Usually this means the macro was only invoked conditionally." >&5
20039 echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
20040 Usually this means the macro was only invoked conditionally." >&2;}
20041 { (exit 1); exit 1; }; }
20044 : ${CONFIG_STATUS=./config.status}
20045 ac_clean_files_save
=$ac_clean_files
20046 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20047 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20048 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20049 cat >$CONFIG_STATUS <<_ACEOF
20051 # Generated by $as_me.
20052 # Run this file to recreate the current configuration.
20053 # Compiler output produced by configure, useful for debugging
20054 # configure, is in config.log if it exists.
20057 ac_cs_recheck=false
20059 SHELL=\${CONFIG_SHELL-$SHELL}
20062 cat >>$CONFIG_STATUS <<\_ACEOF
20063 ## --------------------- ##
20064 ## M4sh Initialization. ##
20065 ## --------------------- ##
20067 # Be more Bourne compatible
20068 DUALCASE
=1; export DUALCASE
# for MKS sh
20069 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20072 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20073 # is contrary to our usage. Disable this feature.
20074 alias -g '${1+"$@"}'='"$@"'
20075 setopt NO_GLOB_SUBST
20077 case `(set -o) 2>/dev/null` in
20078 *posix
*) set -o posix
;;
20087 # Avoid depending upon Character Ranges.
20088 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20089 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20090 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20091 as_cr_digits
='0123456789'
20092 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20094 # The user is always right.
20095 if test "${PATH_SEPARATOR+set}" != set; then
20096 echo "#! /bin/sh" >conf$$.sh
20097 echo "exit 0" >>conf$$.sh
20099 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20107 # Support unset when possible.
20108 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20116 # We need space, tab and new line, in precisely that order. Quoting is
20117 # there to prevent editors from complaining about space-tab.
20118 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20119 # splitting by setting IFS to empty value.)
20124 # Find who we are. Look in the path if we contain no directory separator.
20126 *[\\/]* ) as_myself
=$0 ;;
20127 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20128 for as_dir
in $PATH
20131 test -z "$as_dir" && as_dir
=.
20132 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20138 # We did not find ourselves, most probably we were run as `sh COMMAND'
20139 # in which case we are not to be found in the path.
20140 if test "x$as_myself" = x
; then
20143 if test ! -f "$as_myself"; then
20144 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20145 { (exit 1); exit 1; }
20148 # Work around bugs in pre-3.0 UWIN ksh.
20149 for as_var
in ENV MAIL MAILPATH
20150 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20158 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20159 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20160 LC_TELEPHONE LC_TIME
20162 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20163 eval $as_var=C
; export $as_var
20165 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20169 # Required to use basename.
20170 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20171 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20177 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20178 as_basename
=basename
20184 # Name of the executable.
20185 as_me
=`$as_basename -- "$0" ||
20186 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20187 X"$0" : 'X\(//\)$' \| \
20188 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20190 sed '/^.*\/\([^/][^/]*\)\/*$/{
20209 as_lineno_1
=$LINENO
20210 as_lineno_2
=$LINENO
20211 test "x$as_lineno_1" != "x$as_lineno_2" &&
20212 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20214 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20215 # uniformly replaced by the line number. The first 'sed' inserts a
20216 # line-number line after each line using $LINENO; the second 'sed'
20217 # does the real work. The second script uses 'N' to pair each
20218 # line-number line with the line containing $LINENO, and appends
20219 # trailing '-' during substitution so that $LINENO is not a special
20220 # case at line end.
20221 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20222 # scripts with optimization help from Paolo Bonzini. Blame Lee
20223 # E. McMahon (1931-1989) for sed's syntax. :-)
20235 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20238 ' >$as_me.lineno
&&
20239 chmod +x
"$as_me.lineno" ||
20240 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20241 { (exit 1); exit 1; }; }
20243 # Don't try to exec as it changes $[0], causing all sort of problems
20244 # (the dirname of $[0] is not the place where we might find the
20245 # original and so on. Autoconf is especially sensitive to this).
20246 .
"./$as_me.lineno"
20247 # Exit status is that of the last command.
20252 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20258 ECHO_C
= ECHO_N
= ECHO_T
=
20259 case `echo -n x` in
20261 case `echo 'x\c'` in
20262 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20269 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20270 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20276 rm -f conf$$ conf$$.exe conf$$.
file
20277 if test -d conf$$.dir
; then
20278 rm -f conf$$.dir
/conf$$.
file
20284 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20286 # ... but there are two gotchas:
20287 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20288 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20289 # In both cases, we have to default to `cp -p'.
20290 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20292 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20297 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20298 rmdir conf$$.dir
2>/dev
/null
20300 if mkdir
-p .
2>/dev
/null
; then
20303 test -d .
/-p && rmdir .
/-p
20307 if test -x / >/dev
/null
2>&1; then
20308 as_test_x
='test -x'
20310 if ls -dL / >/dev
/null
2>&1; then
20317 if test -d "$1"; then
20323 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20324 ???[sx]*):;;*)false;;esac;fi
20328 as_executable_p
=$as_test_x
20330 # Sed expression to map a string onto a valid CPP name.
20331 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20333 # Sed expression to map a string onto a valid variable name.
20334 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20339 # Save the log message, to keep $[0] and so on meaningful, and to
20340 # report actual input values of CONFIG_FILES etc. instead of their
20341 # values after options handling.
20343 This file was extended by courierlogger $as_me 0.10, which was
20344 generated by GNU Autoconf 2.61. Invocation command line was
20346 CONFIG_FILES = $CONFIG_FILES
20347 CONFIG_HEADERS = $CONFIG_HEADERS
20348 CONFIG_LINKS = $CONFIG_LINKS
20349 CONFIG_COMMANDS = $CONFIG_COMMANDS
20352 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20357 cat >>$CONFIG_STATUS <<_ACEOF
20358 # Files that config.status was made for.
20359 config_files="$ac_config_files"
20360 config_headers="$ac_config_headers"
20361 config_commands="$ac_config_commands"
20365 cat >>$CONFIG_STATUS <<\_ACEOF
20367 \`$as_me' instantiates files from templates according to the
20368 current configuration.
20370 Usage: $0 [OPTIONS] [FILE]...
20372 -h, --help print this help, then exit
20373 -V, --version print version number and configuration settings, then exit
20374 -q, --quiet do not print progress messages
20375 -d, --debug don't remove temporary files
20376 --recheck update $as_me by reconfiguring in the same conditions
20377 --file=FILE[:TEMPLATE]
20378 instantiate the configuration file FILE
20379 --header=FILE[:TEMPLATE]
20380 instantiate the configuration header FILE
20382 Configuration files:
20385 Configuration headers:
20388 Configuration commands:
20391 Report bugs to <bug-autoconf@gnu.org>."
20394 cat >>$CONFIG_STATUS <<_ACEOF
20396 courierlogger config.status 0.10
20397 configured by $0, generated by GNU Autoconf 2.61,
20398 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20400 Copyright (C) 2006 Free Software Foundation, Inc.
20401 This config.status script is free software; the Free Software Foundation
20402 gives unlimited permission to copy, distribute and modify it."
20410 cat >>$CONFIG_STATUS <<\_ACEOF
20411 # If no file are specified by the user, then we need to provide default
20412 # value. By we need to know if files were specified by the user.
20418 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20419 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20430 # Handling of the options.
20431 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20433 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20434 echo "$ac_cs_version"; exit ;;
20435 --debug |
--debu |
--deb |
--de |
--d |
-d )
20437 --file |
--fil |
--fi |
--f )
20439 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20440 ac_need_defaults
=false
;;
20441 --header |
--heade |
--head |
--hea )
20443 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20444 ac_need_defaults
=false
;;
20446 # Conflict between --help and --header
20447 { echo "$as_me: error: ambiguous option: $1
20448 Try \`$0 --help' for more information." >&2
20449 { (exit 1); exit 1; }; };;
20450 --help |
--hel |
-h )
20451 echo "$ac_cs_usage"; exit ;;
20452 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20453 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20456 # This is an error.
20457 -*) { echo "$as_me: error: unrecognized option: $1
20458 Try \`$0 --help' for more information." >&2
20459 { (exit 1); exit 1; }; } ;;
20461 *) ac_config_targets
="$ac_config_targets $1"
20462 ac_need_defaults
=false
;;
20468 ac_configure_extra_args
=
20470 if $ac_cs_silent; then
20472 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20476 cat >>$CONFIG_STATUS <<_ACEOF
20477 if \$ac_cs_recheck; then
20478 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20479 CONFIG_SHELL=$SHELL
20480 export CONFIG_SHELL
20481 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20485 cat >>$CONFIG_STATUS <<\_ACEOF
20489 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20490 ## Running $as_me. ##
20496 cat >>$CONFIG_STATUS <<_ACEOF
20500 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20504 cat >>$CONFIG_STATUS <<\_ACEOF
20506 # Handling of arguments.
20507 for ac_config_target
in $ac_config_targets
20509 case $ac_config_target in
20510 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20511 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20512 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20514 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20515 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20516 { (exit 1); exit 1; }; };;
20521 # If the user did not use the arguments to specify the items to instantiate,
20522 # then the envvar interface is used. Set only those that are not.
20523 # We use the long form for the default assignment because of an extremely
20524 # bizarre bug on SunOS 4.1.3.
20525 if $ac_need_defaults; then
20526 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20527 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20528 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20531 # Have a temporary directory for convenience. Make it in the build tree
20532 # simply because there is no reason against having it here, and in addition,
20533 # creating and moving files from /tmp can sometimes cause problems.
20534 # Hook for its removal unless debugging.
20535 # Note that there is a small window in which the directory will not be cleaned:
20536 # after its creation but before its name has been assigned to `$tmp'.
20540 trap 'exit_status=$?
20541 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20543 trap '{ (exit 1); exit 1; }' 1 2 13 15
20545 # Create a (secure) tmp directory for tmp files.
20548 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20549 test -n "$tmp" && test -d "$tmp"
20552 tmp
=.
/conf$$
-$RANDOM
20553 (umask 077 && mkdir
"$tmp")
20556 echo "$me: cannot create a temporary directory in ." >&2
20557 { (exit 1); exit 1; }
20561 # Set up the sed scripts for CONFIG_FILES section.
20564 # No need to generate the scripts if there are no CONFIG_FILES.
20565 # This happens for instance when ./config.status config.h
20566 if test -n "$CONFIG_FILES"; then
20573 for ac_last_try
in false false false false false
:; do
20574 cat >conf$
$subs.
sed <<_ACEOF
20575 SHELL!$SHELL$ac_delim
20576 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20577 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20578 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20579 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20580 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20581 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20582 exec_prefix!$exec_prefix$ac_delim
20583 prefix!$prefix$ac_delim
20584 program_transform_name!$program_transform_name$ac_delim
20585 bindir!$bindir$ac_delim
20586 sbindir!$sbindir$ac_delim
20587 libexecdir!$libexecdir$ac_delim
20588 datarootdir!$datarootdir$ac_delim
20589 datadir!$datadir$ac_delim
20590 sysconfdir!$sysconfdir$ac_delim
20591 sharedstatedir!$sharedstatedir$ac_delim
20592 localstatedir!$localstatedir$ac_delim
20593 includedir!$includedir$ac_delim
20594 oldincludedir!$oldincludedir$ac_delim
20595 docdir!$docdir$ac_delim
20596 infodir!$infodir$ac_delim
20597 htmldir!$htmldir$ac_delim
20598 dvidir!$dvidir$ac_delim
20599 pdfdir!$pdfdir$ac_delim
20600 psdir!$psdir$ac_delim
20601 libdir!$libdir$ac_delim
20602 localedir!$localedir$ac_delim
20603 mandir!$mandir$ac_delim
20604 DEFS!$DEFS$ac_delim
20605 ECHO_C!$ECHO_C$ac_delim
20606 ECHO_N!$ECHO_N$ac_delim
20607 ECHO_T!$ECHO_T$ac_delim
20608 LIBS!$LIBS$ac_delim
20609 build_alias!$build_alias$ac_delim
20610 host_alias!$host_alias$ac_delim
20611 target_alias!$target_alias$ac_delim
20612 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20613 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20614 INSTALL_DATA!$INSTALL_DATA$ac_delim
20615 am__isrc!$am__isrc$ac_delim
20616 CYGPATH_W!$CYGPATH_W$ac_delim
20617 PACKAGE!$PACKAGE$ac_delim
20618 VERSION!$VERSION$ac_delim
20619 ACLOCAL!$ACLOCAL$ac_delim
20620 AUTOCONF!$AUTOCONF$ac_delim
20621 AUTOMAKE!$AUTOMAKE$ac_delim
20622 AUTOHEADER!$AUTOHEADER$ac_delim
20623 MAKEINFO!$MAKEINFO$ac_delim
20624 install_sh!$install_sh$ac_delim
20625 STRIP!$STRIP$ac_delim
20626 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20627 mkdir_p!$mkdir_p$ac_delim
20629 SET_MAKE!$SET_MAKE$ac_delim
20630 am__leading_dot!$am__leading_dot$ac_delim
20631 AMTAR!$AMTAR$ac_delim
20632 am__tar!$am__tar$ac_delim
20633 am__untar!$am__untar$ac_delim
20635 CFLAGS!$CFLAGS$ac_delim
20636 LDFLAGS!$LDFLAGS$ac_delim
20637 CPPFLAGS!$CPPFLAGS$ac_delim
20638 ac_ct_CC!$ac_ct_CC$ac_delim
20639 EXEEXT!$EXEEXT$ac_delim
20640 OBJEXT!$OBJEXT$ac_delim
20641 DEPDIR!$DEPDIR$ac_delim
20642 am__include!$am__include$ac_delim
20643 am__quote!$am__quote$ac_delim
20644 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20645 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20646 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20647 CCDEPMODE!$CCDEPMODE$ac_delim
20648 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20649 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20650 LN_S!$LN_S$ac_delim
20651 build!$build$ac_delim
20652 build_cpu!$build_cpu$ac_delim
20653 build_vendor!$build_vendor$ac_delim
20654 build_os!$build_os$ac_delim
20655 host!$host$ac_delim
20656 host_cpu!$host_cpu$ac_delim
20657 host_vendor!$host_vendor$ac_delim
20658 host_os!$host_os$ac_delim
20660 GREP!$GREP$ac_delim
20661 EGREP!$EGREP$ac_delim
20662 ECHO!$ECHO$ac_delim
20664 RANLIB!$RANLIB$ac_delim
20667 CXXFLAGS!$CXXFLAGS$ac_delim
20668 ac_ct_CXX!$ac_ct_CXX$ac_delim
20669 CXXDEPMODE!$CXXDEPMODE$ac_delim
20670 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20671 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20674 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20676 elif $ac_last_try; then
20677 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20678 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20679 { (exit 1); exit 1; }; }
20681 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20685 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20686 if test -n "$ac_eof"; then
20687 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20688 ac_eof
=`expr $ac_eof + 1`
20691 cat >>$CONFIG_STATUS <<_ACEOF
20692 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20696 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20697 s/^/s,@/; s/!/@,|#_!!_#|/
20700 s/'"$ac_delim"'$/,g/; t
20702 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20703 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20704 rm -f conf$
$subs.
sed
20705 cat >>$CONFIG_STATUS <<_ACEOF
20711 for ac_last_try
in false false false false false
:; do
20712 cat >conf$
$subs.
sed <<_ACEOF
20713 CXXCPP!$CXXCPP$ac_delim
20715 FFLAGS!$FFLAGS$ac_delim
20716 ac_ct_F77!$ac_ct_F77$ac_delim
20717 LIBTOOL!$LIBTOOL$ac_delim
20718 HAVE_SGML_TRUE!$HAVE_SGML_TRUE$ac_delim
20719 HAVE_SGML_FALSE!$HAVE_SGML_FALSE$ac_delim
20720 LIBOBJS!$LIBOBJS$ac_delim
20721 LTLIBOBJS!$LTLIBOBJS$ac_delim
20724 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
20726 elif $ac_last_try; then
20727 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20728 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20729 { (exit 1); exit 1; }; }
20731 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
20735 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20736 if test -n "$ac_eof"; then
20737 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
20738 ac_eof
=`expr $ac_eof + 1`
20741 cat >>$CONFIG_STATUS <<_ACEOF
20742 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20743 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20746 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20747 s/^/s,@/; s/!/@,|#_!!_#|/
20750 s/'"$ac_delim"'$/,g/; t
20752 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20753 ' >>$CONFIG_STATUS <conf$
$subs.
sed
20754 rm -f conf$
$subs.
sed
20755 cat >>$CONFIG_STATUS <<_ACEOF
20762 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20763 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20764 # trailing colons and then remove the whole line if VPATH becomes empty
20765 # (actually we leave an empty line to preserve line numbers).
20766 if test "x$srcdir" = x.
; then
20767 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20768 s/:*\$(srcdir):*/:/
20769 s/:*\${srcdir}:*/:/
20771 s/^\([^=]*=[ ]*\):*/\1/
20777 cat >>$CONFIG_STATUS <<\_ACEOF
20778 fi # test -n "$CONFIG_FILES"
20781 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
20784 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20786 case $ac_mode$ac_tag in
20788 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20789 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20790 { (exit 1); exit 1; }; };;
20791 :[FH
]-) ac_tag
=-:-;;
20792 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20809 -) ac_f
="$tmp/stdin";;
20810 *) # Look for the file first in the build tree, then in the source tree
20811 # (if the path is not absolute). The absolute path cannot be DOS-style,
20812 # because $ac_f cannot contain `:'.
20816 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20818 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20819 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20820 { (exit 1); exit 1; }; };;
20822 ac_file_inputs
="$ac_file_inputs $ac_f"
20825 # Let's still pretend it is `configure' which instantiates (i.e., don't
20826 # use $as_me), people would be surprised to read:
20827 # /* config.h. Generated by config.status. */
20828 configure_input
="Generated from "`IFS=:
20829 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20830 if test x
"$ac_file" != x-
; then
20831 configure_input
="$ac_file. $configure_input"
20832 { echo "$as_me:$LINENO: creating $ac_file" >&5
20833 echo "$as_me: creating $ac_file" >&6;}
20837 *:-:* |
*:-) cat >"$tmp/stdin";;
20842 ac_dir
=`$as_dirname -- "$ac_file" ||
20843 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20844 X"$ac_file" : 'X\(//\)[^/]' \| \
20845 X"$ac_file" : 'X\(//\)$' \| \
20846 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20852 /^X\(\/\/\)[^/].*/{
20867 -*) as_dir
=.
/$as_dir;;
20869 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
20873 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20874 *) as_qdir
=$as_dir;;
20876 as_dirs
="'$as_qdir' $as_dirs"
20877 as_dir
=`$as_dirname -- "$as_dir" ||
20878 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20879 X"$as_dir" : 'X\(//\)[^/]' \| \
20880 X"$as_dir" : 'X\(//\)$' \| \
20881 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20887 /^X\(\/\/\)[^/].*/{
20900 test -d "$as_dir" && break
20902 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20903 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20904 echo "$as_me: error: cannot create directory $as_dir" >&2;}
20905 { (exit 1); exit 1; }; }; }
20909 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20911 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20912 # A ".." for each directory in $ac_dir_suffix.
20913 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20914 case $ac_top_builddir_sub in
20915 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20916 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20919 ac_abs_top_builddir
=$ac_pwd
20920 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20921 # for backward compatibility:
20922 ac_top_builddir
=$ac_top_build_prefix
20925 .
) # We are building in place.
20927 ac_top_srcdir
=$ac_top_builddir_sub
20928 ac_abs_top_srcdir
=$ac_pwd ;;
20929 [\\/]* | ?
:[\\/]* ) # Absolute name.
20930 ac_srcdir
=$srcdir$ac_dir_suffix;
20931 ac_top_srcdir
=$srcdir
20932 ac_abs_top_srcdir
=$srcdir ;;
20933 *) # Relative name.
20934 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20935 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20936 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20938 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20948 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20949 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20951 ac_MKDIR_P
=$MKDIR_P
20953 [\\/$
]* | ?
:[\\/]* ) ;;
20954 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20958 cat >>$CONFIG_STATUS <<\_ACEOF
20959 # If the template does not know about datarootdir, expand it.
20960 # FIXME: This hack should be removed a few years after 2.60.
20961 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20963 case `sed -n '/datarootdir/ {
20972 ' $ac_file_inputs` in
20973 *datarootdir
*) ac_datarootdir_seen
=yes;;
20974 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20975 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20976 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20978 cat >>$CONFIG_STATUS <<_ACEOF
20979 ac_datarootdir_hack='
20980 s&@datadir@&$datadir&g
20981 s&@docdir@&$docdir&g
20982 s&@infodir@&$infodir&g
20983 s&@localedir@&$localedir&g
20984 s&@mandir@&$mandir&g
20985 s&\\\${datarootdir}&$datarootdir&g' ;;
20989 # Neutralize VPATH when `$srcdir' = `.'.
20990 # Shell code in configure.ac might set extrasub.
20991 # FIXME: do we really want to maintain this feature?
20992 cat >>$CONFIG_STATUS <<_ACEOF
20996 cat >>$CONFIG_STATUS <<\_ACEOF
20998 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20999 s
&@configure_input@
&$configure_input&;t t
21000 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21001 s
&@srcdir@
&$ac_srcdir&;t t
21002 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21003 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21004 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21005 s
&@builddir@
&$ac_builddir&;t t
21006 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21007 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21008 s
&@INSTALL@
&$ac_INSTALL&;t t
21009 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21010 $ac_datarootdir_hack
21011 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21013 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21014 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21015 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21016 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21017 which seems to be undefined. Please make sure it is defined." >&5
21018 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21019 which seems to be undefined. Please make sure it is defined." >&2;}
21023 -) cat "$tmp/out"; rm -f "$tmp/out";;
21024 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21033 # Transform confdefs.h into a sed script `conftest.defines', that
21034 # substitutes the proper values into config.h.in to produce config.h.
21035 rm -f conftest.defines conftest.
tail
21036 # First, append a space to every undef/define line, to ease matching.
21037 echo 's/$/ /' >conftest.defines
21038 # Then, protect against being on the right side of a sed subst, or in
21039 # an unquoted here document, in config.status. If some macros were
21040 # called several times there might be several #defines for the same
21041 # symbol, which is useless. But do not sort them, since the last
21042 # AC_DEFINE must be honored.
21043 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21044 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21045 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21046 # PARAMS is the parameter list in the macro definition--in most cases, it's
21047 # just an empty string.
21048 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21049 ac_dB
='\\)[ (].*,\\1define\\2'
21057 s/^[ ]*#[ ]*define[ ][ ]*//
21062 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21063 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21064 ' >>conftest.defines
21066 # Remove the space that was appended to ease matching.
21067 # Then replace #undef with comments. This is necessary, for
21068 # example, in the case of _POSIX_SOURCE, which is predefined and required
21069 # on some systems where configure will not decide to define it.
21070 # (The regexp can be short, since the line contains either #define or #undef.)
21072 s,^[ #]*u.*,/* & */,' >>conftest.defines
21074 # Break up conftest.defines:
21075 ac_max_sed_lines
=50
21077 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21078 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21079 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21081 ac_in
='$ac_file_inputs'
21082 ac_out
='"$tmp/out1"'
21083 ac_nxt
='"$tmp/out2"'
21087 # Write a here document:
21088 cat >>$CONFIG_STATUS <<_ACEOF
21089 # First, check the format of the line:
21090 cat >"\$tmp/defines.sed" <<\\CEOF
21091 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21092 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21096 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21098 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21099 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21100 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21101 grep . conftest.
tail >/dev
/null ||
break
21102 rm -f conftest.defines
21103 mv conftest.
tail conftest.defines
21105 rm -f conftest.defines conftest.
tail
21107 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21108 cat >>$CONFIG_STATUS <<\_ACEOF
21109 if test x
"$ac_file" != x-
; then
21110 echo "/* $configure_input */" >"$tmp/config.h"
21111 cat "$ac_result" >>"$tmp/config.h"
21112 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21113 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21114 echo "$as_me: $ac_file is unchanged" >&6;}
21117 mv "$tmp/config.h" $ac_file
21120 echo "/* $configure_input */"
21124 # Compute $ac_file's index in $config_headers.
21126 for _am_header
in $config_headers :; do
21127 case $_am_header in
21128 $ac_file |
$ac_file:* )
21131 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21134 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21135 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21136 X$ac_file : 'X\(//\)[^/]' \| \
21137 X$ac_file : 'X\(//\)$' \| \
21138 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21144 /^X\(\/\/\)[^/].*/{
21156 s/.*/./; q'`/stamp-h
$_am_stamp_count
21159 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21160 echo "$as_me: executing $ac_file commands" >&6;}
21165 case $ac_file$ac_mode in
21166 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21167 # Strip MF so we end up with the name of the file.
21168 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21169 # Check whether this is an Automake generated Makefile or not.
21170 # We used to match only the files named `Makefile.in', but
21171 # some people rename them; so instead we look at the file content.
21172 # Grep'ing the first line is not enough: some people post-process
21173 # each Makefile.in and add a new line on top of each file to say so.
21174 # Grep'ing the whole file is not good either: AIX grep has a line
21175 # limit of 2048, but all sed's we know have understand at least 4000.
21176 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
21177 dirpart
=`$as_dirname -- "$mf" ||
21178 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21179 X"$mf" : 'X\(//\)[^/]' \| \
21180 X"$mf" : 'X\(//\)$' \| \
21181 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21187 /^X\(\/\/\)[^/].*/{
21203 # Extract the definition of DEPDIR, am__include, and am__quote
21204 # from the Makefile without running `make'.
21205 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21206 test -z "$DEPDIR" && continue
21207 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21208 test -z "am__include" && continue
21209 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21210 # When using ansi2knr, U may be empty or an underscore; expand it
21211 U
=`sed -n 's/^U = //p' < "$mf"`
21212 # Find all dependency output files, they are included files with
21213 # $(DEPDIR) in their names. We invoke sed twice because it is the
21214 # simplest approach to changing $(DEPDIR) to its actual value in the
21216 for file in `sed -n "
21217 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21218 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21219 # Make sure the directory exists.
21220 test -f "$dirpart/$file" && continue
21221 fdir
=`$as_dirname -- "$file" ||
21222 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21223 X"$file" : 'X\(//\)[^/]' \| \
21224 X"$file" : 'X\(//\)$' \| \
21225 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21231 /^X\(\/\/\)[^/].*/{
21244 { as_dir
=$dirpart/$fdir
21246 -*) as_dir
=.
/$as_dir;;
21248 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21252 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21253 *) as_qdir
=$as_dir;;
21255 as_dirs
="'$as_qdir' $as_dirs"
21256 as_dir
=`$as_dirname -- "$as_dir" ||
21257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21258 X"$as_dir" : 'X\(//\)[^/]' \| \
21259 X"$as_dir" : 'X\(//\)$' \| \
21260 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21266 /^X\(\/\/\)[^/].*/{
21279 test -d "$as_dir" && break
21281 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21282 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21283 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21284 { (exit 1); exit 1; }; }; }
21285 # echo "creating $dirpart/$file"
21286 echo '# dummy' > "$dirpart/$file"
21295 { (exit 0); exit 0; }
21297 chmod +x
$CONFIG_STATUS
21298 ac_clean_files
=$ac_clean_files_save
21301 # configure is writing to config.log, and then calls config.status.
21302 # config.status does its own redirection, appending to config.log.
21303 # Unfortunately, on DOS this fails, as config.log is still kept open
21304 # by configure, so config.status won't be able to write to it; its
21305 # output is simply discarded. So we exec the FD to /dev/null,
21306 # effectively closing config.log, so it can be properly (re)opened and
21307 # appended to by config.status. When coming back to configure, we
21308 # need to make the FD available again.
21309 if test "$no_create" != yes; then
21311 ac_config_status_args
=
21312 test "$silent" = yes &&
21313 ac_config_status_args
="$ac_config_status_args --quiet"
21315 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21317 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21318 # would make configure fail if this is the last instruction.
21319 $ac_cs_success ||
{ (exit 1); exit 1; }