2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL
=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec
; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo
; then
568 # Avoid inline document here, it may be left over
570 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $echo works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo
; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
591 if test -z "$ECHO"; then
592 if test "X${echo_test_string+set}" != Xset
; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
597 echo_test_string
=`eval $cmd` &&
598 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # The Solaris, AIX, and Digital Unix default echo programs unquote
611 # backslashes. This makes it impossible to quote backslashes using
612 # echo "$something" | sed 's/\\/\\\\/g'
614 # So, first we look for a working echo in the user's PATH.
616 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
617 for dir
in $PATH /usr
/ucb
; do
619 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
620 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622 test "X$echo_testing_string" = "X$echo_test_string"; then
629 if test "X$echo" = Xecho
; then
630 # We didn't find a better echo, so look for alternatives.
631 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # This shell has a builtin print -r that does the trick.
636 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
637 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
638 # If we have ksh, try running configure again with it.
639 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
640 export ORIGINAL_CONFIG_SHELL
641 CONFIG_SHELL
=/bin
/ksh
643 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
652 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653 test "X$echo_testing_string" = 'X\t' &&
654 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
656 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
658 SHELL
="$CONFIG_SHELL"
660 echo="$CONFIG_SHELL $0 --fallback-echo"
661 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662 test "X$echo_testing_string" = 'X\t' &&
663 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664 test "X$echo_testing_string" = "X$echo_test_string"; then
665 echo="$CONFIG_SHELL $0 --fallback-echo"
667 # maybe with a smaller string...
670 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
678 if test "$prev" != 'sed 50q "$0"'; then
679 echo_test_string
=`eval $prev`
680 export echo_test_string
681 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683 # Oops. We lost completely, so just stick with echo.
692 # Copy echo and quote the copy suitably for passing to libtool from
693 # the Makefile, instead of quoting the original, which is used later.
695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
702 tagnames
=${tagnames+${tagnames},}CXX
704 tagnames
=${tagnames+${tagnames},}F77
706 exec 7<&0 </dev
/null
6>&1
709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
716 ac_default_prefix
=/usr
/local
718 ac_config_libobj_dir
=.
724 SHELL
=${CONFIG_SHELL-/bin/sh}
726 # Identity of this package.
733 ac_unique_file
="Makefile.am"
734 # Factoring default headers for most tests.
735 ac_includes_default
="\
737 #ifdef HAVE_SYS_TYPES_H
738 # include <sys/types.h>
740 #ifdef HAVE_SYS_STAT_H
741 # include <sys/stat.h>
747 # ifdef HAVE_STDLIB_H
752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
757 #ifdef HAVE_STRINGS_H
758 # include <strings.h>
760 #ifdef HAVE_INTTYPES_H
761 # include <inttypes.h>
779 program_transform_name
821 INSTALL_STRIP_PROGRAM
874 INTLTOOL_DESKTOP_RULE
875 INTLTOOL_DIRECTORY_RULE
882 INTLTOOL_SOUNDLIST_RULE
887 INTLTOOL_XML_NOMERGE_RULE
889 INTLTOOL_SCHEMAS_RULE
891 INTLTOOL_SERVICE_RULE
930 plugindesktopentrydir
934 ac_precious_vars
='build_alias
960 # Initialize some variables set by options.
962 ac_init_version
=false
963 # The variables have the same names as the options, with
964 # dashes changed to underlines.
972 program_transform_name
=s
,x
,x
,
980 # Installation directory options.
981 # These are left unexpanded so users can "make install exec_prefix=/foo"
982 # and all the variables that are supposed to be based on exec_prefix
983 # by default will actually change.
984 # Use braces instead of parens because sh, perl, etc. also accept them.
985 # (The list follows the same order as the GNU Coding Standards.)
986 bindir
='${exec_prefix}/bin'
987 sbindir
='${exec_prefix}/sbin'
988 libexecdir
='${exec_prefix}/libexec'
989 datarootdir
='${prefix}/share'
990 datadir
='${datarootdir}'
991 sysconfdir
='${prefix}/etc'
992 sharedstatedir
='${prefix}/com'
993 localstatedir
='${prefix}/var'
994 includedir
='${prefix}/include'
995 oldincludedir
='/usr/include'
996 docdir
='${datarootdir}/doc/${PACKAGE}'
997 infodir
='${datarootdir}/info'
1002 libdir
='${exec_prefix}/lib'
1003 localedir
='${datarootdir}/locale'
1004 mandir
='${datarootdir}/man'
1010 # If the previous option needs an argument, assign it.
1011 if test -n "$ac_prev"; then
1012 eval $ac_prev=\
$ac_option
1018 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1022 # Accept the important Cygnus configure options, so we can diagnose typos.
1024 case $ac_dashdash$ac_option in
1028 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1030 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1031 bindir
=$ac_optarg ;;
1033 -build |
--build |
--buil |
--bui |
--bu)
1034 ac_prev
=build_alias
;;
1035 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1036 build_alias
=$ac_optarg ;;
1038 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1039 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1040 ac_prev
=cache_file
;;
1041 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1042 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1043 cache_file
=$ac_optarg ;;
1045 --config-cache |
-C)
1046 cache_file
=config.cache
;;
1048 -datadir |
--datadir |
--datadi |
--datad)
1050 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1051 datadir
=$ac_optarg ;;
1053 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1054 |
--dataroo |
--dataro |
--datar)
1055 ac_prev
=datarootdir
;;
1056 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1057 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1058 datarootdir
=$ac_optarg ;;
1060 -disable-* |
--disable-*)
1061 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1062 # Reject names that are not valid shell variable names.
1063 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1064 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1065 { (exit 1); exit 1; }; }
1066 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1067 eval enable_
$ac_feature=no
;;
1069 -docdir |
--docdir |
--docdi |
--doc |
--do)
1071 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1072 docdir
=$ac_optarg ;;
1074 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1076 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1077 dvidir
=$ac_optarg ;;
1079 -enable-* |
--enable-*)
1080 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1083 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1084 { (exit 1); exit 1; }; }
1085 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1086 eval enable_
$ac_feature=\
$ac_optarg ;;
1088 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1089 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1090 |
--exec |
--exe |
--ex)
1091 ac_prev
=exec_prefix
;;
1092 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1093 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1094 |
--exec=* |
--exe=* |
--ex=*)
1095 exec_prefix
=$ac_optarg ;;
1097 -gas |
--gas |
--ga |
--g)
1098 # Obsolete; use --with-gas.
1101 -help |
--help |
--hel |
--he |
-h)
1102 ac_init_help
=long
;;
1103 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1104 ac_init_help
=recursive
;;
1105 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1106 ac_init_help
=short
;;
1108 -host |
--host |
--hos |
--ho)
1109 ac_prev
=host_alias
;;
1110 -host=* |
--host=* |
--hos=* |
--ho=*)
1111 host_alias
=$ac_optarg ;;
1113 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1115 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1117 htmldir
=$ac_optarg ;;
1119 -includedir |
--includedir |
--includedi |
--included |
--include \
1120 |
--includ |
--inclu |
--incl |
--inc)
1121 ac_prev
=includedir
;;
1122 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1123 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1124 includedir
=$ac_optarg ;;
1126 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1128 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1129 infodir
=$ac_optarg ;;
1131 -libdir |
--libdir |
--libdi |
--libd)
1133 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1134 libdir
=$ac_optarg ;;
1136 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1137 |
--libexe |
--libex |
--libe)
1138 ac_prev
=libexecdir
;;
1139 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1140 |
--libexe=* |
--libex=* |
--libe=*)
1141 libexecdir
=$ac_optarg ;;
1143 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1144 ac_prev
=localedir
;;
1145 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1146 localedir
=$ac_optarg ;;
1148 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1149 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1150 ac_prev
=localstatedir
;;
1151 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1152 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1153 localstatedir
=$ac_optarg ;;
1155 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1157 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1158 mandir
=$ac_optarg ;;
1160 -nfp |
--nfp |
--nf)
1161 # Obsolete; use --without-fp.
1164 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1165 |
--no-cr |
--no-c |
-n)
1168 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1169 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1172 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1173 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1174 |
--oldin |
--oldi |
--old |
--ol |
--o)
1175 ac_prev
=oldincludedir
;;
1176 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1177 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1178 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1179 oldincludedir
=$ac_optarg ;;
1181 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1183 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1184 prefix
=$ac_optarg ;;
1186 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1187 |
--program-pre |
--program-pr |
--program-p)
1188 ac_prev
=program_prefix
;;
1189 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1190 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1191 program_prefix
=$ac_optarg ;;
1193 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1194 |
--program-suf |
--program-su |
--program-s)
1195 ac_prev
=program_suffix
;;
1196 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1197 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1198 program_suffix
=$ac_optarg ;;
1200 -program-transform-name |
--program-transform-name \
1201 |
--program-transform-nam |
--program-transform-na \
1202 |
--program-transform-n |
--program-transform- \
1203 |
--program-transform |
--program-transfor \
1204 |
--program-transfo |
--program-transf \
1205 |
--program-trans |
--program-tran \
1206 |
--progr-tra |
--program-tr |
--program-t)
1207 ac_prev
=program_transform_name
;;
1208 -program-transform-name=* |
--program-transform-name=* \
1209 |
--program-transform-nam=* |
--program-transform-na=* \
1210 |
--program-transform-n=* |
--program-transform-=* \
1211 |
--program-transform=* |
--program-transfor=* \
1212 |
--program-transfo=* |
--program-transf=* \
1213 |
--program-trans=* |
--program-tran=* \
1214 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1215 program_transform_name
=$ac_optarg ;;
1217 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1219 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1220 pdfdir
=$ac_optarg ;;
1222 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1224 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1227 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1228 |
-silent |
--silent |
--silen |
--sile |
--sil)
1231 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1233 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1235 sbindir
=$ac_optarg ;;
1237 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1238 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1239 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1241 ac_prev
=sharedstatedir
;;
1242 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1243 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1244 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1246 sharedstatedir
=$ac_optarg ;;
1248 -site |
--site |
--sit)
1250 -site=* |
--site=* |
--sit=*)
1253 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1255 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1256 srcdir
=$ac_optarg ;;
1258 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1259 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1260 ac_prev
=sysconfdir
;;
1261 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1262 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1263 sysconfdir
=$ac_optarg ;;
1265 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1266 ac_prev
=target_alias
;;
1267 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1268 target_alias
=$ac_optarg ;;
1270 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1273 -version |
--version |
--versio |
--versi |
--vers |
-V)
1274 ac_init_version
=: ;;
1277 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1278 # Reject names that are not valid shell variable names.
1279 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1280 { echo "$as_me: error: invalid package name: $ac_package" >&2
1281 { (exit 1); exit 1; }; }
1282 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1283 eval with_
$ac_package=\
$ac_optarg ;;
1285 -without-* |
--without-*)
1286 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1287 # Reject names that are not valid shell variable names.
1288 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1289 { echo "$as_me: error: invalid package name: $ac_package" >&2
1290 { (exit 1); exit 1; }; }
1291 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1292 eval with_
$ac_package=no
;;
1295 # Obsolete; use --with-x.
1298 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1299 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1300 ac_prev
=x_includes
;;
1301 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1302 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1303 x_includes
=$ac_optarg ;;
1305 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1306 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1307 ac_prev
=x_libraries
;;
1308 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1309 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1310 x_libraries
=$ac_optarg ;;
1312 -*) { echo "$as_me: error: unrecognized option: $ac_option
1313 Try \`$0 --help' for more information." >&2
1314 { (exit 1); exit 1; }; }
1318 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1319 # Reject names that are not valid shell variable names.
1320 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1321 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1322 { (exit 1); exit 1; }; }
1323 eval $ac_envvar=\
$ac_optarg
1324 export $ac_envvar ;;
1327 # FIXME: should be removed in autoconf 3.0.
1328 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1329 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1330 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1331 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1337 if test -n "$ac_prev"; then
1338 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1339 { echo "$as_me: error: missing argument to $ac_option" >&2
1340 { (exit 1); exit 1; }; }
1343 # Be sure to have absolute directory names.
1344 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1345 datadir sysconfdir sharedstatedir localstatedir includedir \
1346 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1347 libdir localedir mandir
1349 eval ac_val
=\$
$ac_var
1351 [\\/$
]* | ?
:[\\/]* ) continue;;
1352 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1354 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1355 { (exit 1); exit 1; }; }
1358 # There might be people who depend on the old broken behavior: `$host'
1359 # used to hold the argument of --host etc.
1360 # FIXME: To remove some day.
1363 target
=$target_alias
1365 # FIXME: To remove some day.
1366 if test "x$host_alias" != x
; then
1367 if test "x$build_alias" = x
; then
1368 cross_compiling
=maybe
1369 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1370 If a cross compiler is detected then cross compile mode will be used." >&2
1371 elif test "x$build_alias" != "x$host_alias"; then
1377 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1379 test "$silent" = yes && exec 6>/dev
/null
1382 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1383 ac_ls_di
=`ls -di .` &&
1384 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1385 { echo "$as_me: error: Working directory cannot be determined" >&2
1386 { (exit 1); exit 1; }; }
1387 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1388 { echo "$as_me: error: pwd does not report name of working directory" >&2
1389 { (exit 1); exit 1; }; }
1392 # Find the source files, if location was not specified.
1393 if test -z "$srcdir"; then
1394 ac_srcdir_defaulted
=yes
1395 # Try the directory containing this script, then the parent directory.
1396 ac_confdir
=`$as_dirname -- "$0" ||
1397 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1398 X"$0" : 'X\(//\)[^/]' \| \
1399 X"$0" : 'X\(//\)$' \| \
1400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1420 if test ! -r "$srcdir/$ac_unique_file"; then
1424 ac_srcdir_defaulted
=no
1426 if test ! -r "$srcdir/$ac_unique_file"; then
1427 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1428 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1429 { (exit 1); exit 1; }; }
1431 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1433 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1434 { (exit 1); exit 1; }; }
1436 # When building in place, set srcdir=.
1437 if test "$ac_abs_confdir" = "$ac_pwd"; then
1440 # Remove unnecessary trailing slashes from srcdir.
1441 # Double slashes in file names in object file debugging info
1442 # mess up M-x gdb in Emacs.
1444 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1446 for ac_var
in $ac_precious_vars; do
1447 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1448 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1449 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1450 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1454 # Report the --help message.
1456 if test "$ac_init_help" = "long"; then
1457 # Omit some internal or obsolete options to make the list less imposing.
1458 # This message is too long to be a string in the A/UX 3.1 sh.
1460 \`configure' configures this package to adapt to many kinds of systems.
1462 Usage: $0 [OPTION]... [VAR=VALUE]...
1464 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1465 VAR=VALUE. See below for descriptions of some of the useful variables.
1467 Defaults for the options are specified in brackets.
1470 -h, --help display this help and exit
1471 --help=short display options specific to this package
1472 --help=recursive display the short help of all the included packages
1473 -V, --version display version information and exit
1474 -q, --quiet, --silent do not print \`checking...' messages
1475 --cache-file=FILE cache test results in FILE [disabled]
1476 -C, --config-cache alias for \`--cache-file=config.cache'
1477 -n, --no-create do not create output files
1478 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1480 Installation directories:
1481 --prefix=PREFIX install architecture-independent files in PREFIX
1482 [$ac_default_prefix]
1483 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1486 By default, \`make install' will install all the files in
1487 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1488 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1489 for instance \`--prefix=\$HOME'.
1491 For better control, use the options below.
1493 Fine tuning of the installation directories:
1494 --bindir=DIR user executables [EPREFIX/bin]
1495 --sbindir=DIR system admin executables [EPREFIX/sbin]
1496 --libexecdir=DIR program executables [EPREFIX/libexec]
1497 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1498 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1499 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1500 --libdir=DIR object code libraries [EPREFIX/lib]
1501 --includedir=DIR C header files [PREFIX/include]
1502 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1503 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1504 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1505 --infodir=DIR info documentation [DATAROOTDIR/info]
1506 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1507 --mandir=DIR man documentation [DATAROOTDIR/man]
1508 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1509 --htmldir=DIR html documentation [DOCDIR]
1510 --dvidir=DIR dvi documentation [DOCDIR]
1511 --pdfdir=DIR pdf documentation [DOCDIR]
1512 --psdir=DIR ps documentation [DOCDIR]
1518 --program-prefix=PREFIX prepend PREFIX to installed program names
1519 --program-suffix=SUFFIX append SUFFIX to installed program names
1520 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1523 --build=BUILD configure
for building on BUILD
[guessed
]
1524 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1528 if test -n "$ac_init_help"; then
1533 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1534 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1535 --disable-dependency-tracking Speeds up one-time builds
1536 --enable-dependency-tracking Do not reject slow dependency extractors
1537 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1538 --enable-static[=PKGS
] build static libraries
[default
=yes]
1539 --enable-fast-install[=PKGS
]
1540 optimize
for fast installation
[default
=yes]
1541 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1542 --disable-nls do not use Native Language Support
1543 --enable-debug Debugging
(default
=no
)
1546 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1547 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1548 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1549 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1551 --with-tags[=TAGS
] include additional configurations
[automatic
]
1553 Some influential environment variables
:
1554 CC C compiler
command
1555 CFLAGS C compiler flags
1556 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1557 nonstandard directory
<lib dir
>
1558 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1559 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1560 you have headers
in a nonstandard directory
<include dir
>
1562 CXX C
++ compiler
command
1563 CXXFLAGS C
++ compiler flags
1564 CXXCPP C
++ preprocessor
1565 F77 Fortran
77 compiler
command
1566 FFLAGS Fortran
77 compiler flags
1567 PKG_CONFIG path to pkg-config utility
1569 C compiler flags
for HILDON
, overriding pkg-config
1570 HILDON_LIBS linker flags
for HILDON
, overriding pkg-config
1571 DBUS_CFLAGS C compiler flags
for DBUS
, overriding pkg-config
1572 DBUS_LIBS linker flags
for DBUS
, overriding pkg-config
1573 OSSO_CFLAGS C compiler flags
for OSSO
, overriding pkg-config
1574 OSSO_LIBS linker flags
for OSSO
, overriding pkg-config
1575 SQL3_CFLAGS C compiler flags
for SQL3
, overriding pkg-config
1576 SQL3_LIBS linker flags
for SQL3
, overriding pkg-config
1578 Use these variables to override the choices made by
`configure' or to help
1579 it to find libraries and programs with nonstandard names/locations.
1585 if test "$ac_init_help" = "recursive"; then
1586 # If there are subdirs, report their specific --help.
1587 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1588 test -d "$ac_dir" || continue
1592 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1594 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1595 # A ".." for each directory in $ac_dir_suffix.
1596 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1597 case $ac_top_builddir_sub in
1598 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1599 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1602 ac_abs_top_builddir=$ac_pwd
1603 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1604 # for backward compatibility:
1605 ac_top_builddir=$ac_top_build_prefix
1608 .) # We are building in place.
1610 ac_top_srcdir=$ac_top_builddir_sub
1611 ac_abs_top_srcdir=$ac_pwd ;;
1612 [\\/]* | ?:[\\/]* ) # Absolute name.
1613 ac_srcdir=$srcdir$ac_dir_suffix;
1614 ac_top_srcdir=$srcdir
1615 ac_abs_top_srcdir=$srcdir ;;
1617 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1618 ac_top_srcdir=$ac_top_build_prefix$srcdir
1619 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1621 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1623 cd "$ac_dir" || { ac_status=$?; continue; }
1624 # Check for guested configure.
1625 if test -f "$ac_srcdir/configure.gnu"; then
1627 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1628 elif test -f "$ac_srcdir/configure"; then
1630 $SHELL "$ac_srcdir/configure" --help=recursive
1632 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1634 cd "$ac_pwd" || { ac_status=$?; break; }
1638 test -n "$ac_init_help" && exit $ac_status
1639 if $ac_init_version; then
1642 generated by GNU Autoconf 2.61
1644 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1645 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1646 This configure script is free software; the Free Software Foundation
1647 gives unlimited permission to copy, distribute and modify it.
1651 cat >config.log <<_ACEOF
1652 This file contains any messages produced by compilers while
1653 running configure, to aid debugging if configure makes a mistake.
1655 It was created by $as_me, which was
1656 generated by GNU Autoconf 2.61. Invocation command line was
1668 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1669 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1670 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1671 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1672 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1674 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1675 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1677 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1678 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1679 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1680 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1681 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1682 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1683 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir=.
1692 echo "PATH: $as_dir"
1708 # Keep a trace of the command line.
1709 # Strip out --no-create and --no-recursion so they do not pile up.
1710 # Strip out --silent because we don't want to record it for future runs.
1711 # Also quote any args containing shell meta-characters.
1712 # Make two passes to allow for proper duplicate-argument suppression.
1716 ac_must_keep_next=false
1722 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1723 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1724 | -silent | --silent | --silen | --sile | --sil)
1727 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1730 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1732 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1733 if test $ac_must_keep_next = true; then
1734 ac_must_keep_next=false # Got value, back to normal.
1737 *=* | --config-cache | -C | -disable-* | --disable-* \
1738 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1739 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1740 | -with-* | --with-* | -without-* | --without-* | --x)
1741 case "$ac_configure_args0 " in
1742 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1745 -* ) ac_must_keep_next=true ;;
1748 ac_configure_args="$ac_configure_args '$ac_arg'"
1753 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1754 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1756 # When interrupted or exit'd, cleanup temporary files, and complete
1757 # config.log. We remove comments because anyway the quotes in there
1758 # would cause problems or look ugly.
1759 # WARNING: Use '\'' to represent an apostrophe within the trap.
1760 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1761 trap 'exit_status=$?
1762 # Save into config.log some information that might help in debugging.
1767 ## ---------------- ##
1768 ## Cache variables. ##
1769 ## ---------------- ##
1772 # The following way of writing the cache mishandles newlines in values,
1774 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1775 eval ac_val=\$$ac_var
1779 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1780 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1783 _ | IFS | as_nl) ;; #(
1784 *) $as_unset $ac_var ;;
1789 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1790 *${as_nl}ac_space=\ *)
1792 "s/'\''/'\''\\\\'\'''\''/g;
1793 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1796 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1804 ## ----------------- ##
1805 ## Output variables. ##
1806 ## ----------------- ##
1809 for ac_var in $ac_subst_vars
1811 eval ac_val=\$$ac_var
1813 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1815 echo "$ac_var='\''$ac_val'\''"
1819 if test -n "$ac_subst_files"; then
1821 ## ------------------- ##
1822 ## File substitutions. ##
1823 ## ------------------- ##
1826 for ac_var in $ac_subst_files
1828 eval ac_val=\$$ac_var
1830 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1832 echo "$ac_var='\''$ac_val'\''"
1837 if test -s confdefs.h; then
1847 test "$ac_signal" != 0 &&
1848 echo "$as_me: caught signal $ac_signal"
1849 echo "$as_me: exit $exit_status"
1851 rm -f core *.core core.conftest.* &&
1852 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1855 for ac_signal in 1 2 13 15; do
1856 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1860 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1861 rm -f -r conftest* confdefs.h
1863 # Predefined preprocessor variables.
1865 cat >>confdefs.h <<_ACEOF
1866 #define PACKAGE_NAME "$PACKAGE_NAME"
1870 cat >>confdefs.h <<_ACEOF
1871 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1880 cat >>confdefs.h <<_ACEOF
1881 #define PACKAGE_STRING "$PACKAGE_STRING"
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1890 # Let the site file select an alternate cache file if it wants to.
1891 # Prefer explicitly selected file to automatically selected ones.
1892 if test -n "$CONFIG_SITE"; then
1893 set x "$CONFIG_SITE"
1894 elif test "x$prefix" != xNONE; then
1895 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1897 set x "$ac_default_prefix/share/config.site" \
1898 "$ac_default_prefix/etc/config.site"
1903 if test -r "$ac_site_file"; then
1904 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1905 echo "$as_me: loading site script $ac_site_file" >&6;}
1906 sed 's/^/| /' "$ac_site_file" >&5
1911 if test -r "$cache_file"; then
1912 # Some versions of bash will fail to source /dev/null (special
1913 # files actually), so we avoid doing that.
1914 if test -f "$cache_file"; then
1915 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1916 echo "$as_me: loading cache $cache_file" >&6;}
1918 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1919 *) . "./$cache_file";;
1923 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1924 echo "$as_me: creating cache $cache_file" >&6;}
1928 # Check that the precious variables saved in the cache have kept the same
1930 ac_cache_corrupted=false
1931 for ac_var in $ac_precious_vars; do
1932 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1933 eval ac_new_set=\$ac_env_${ac_var}_set
1934 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1935 eval ac_new_val=\$ac_env_${ac_var}_value
1936 case $ac_old_set,$ac_new_set in
1938 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1939 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1940 ac_cache_corrupted=: ;;
1942 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1943 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1944 ac_cache_corrupted=: ;;
1947 if test "x$ac_old_val" != "x$ac_new_val"; then
1948 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1949 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1950 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1951 echo "$as_me: former value
: $ac_old_val" >&2;}
1952 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1953 echo "$as_me: current value
: $ac_new_val" >&2;}
1954 ac_cache_corrupted=:
1957 # Pass precious variables to config.status.
1958 if test "$ac_new_set" = set; then
1960 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1961 *) ac_arg=$ac_var=$ac_new_val ;;
1963 case " $ac_configure_args " in
1964 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1965 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1969 if $ac_cache_corrupted; then
1970 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1971 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1972 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1973 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1974 { (exit 1); exit 1; }; }
1994 ac_cpp='$CPP $CPPFLAGS'
1995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2000 am__api_version="1.7"
2002 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2003 if test -f "$ac_dir/install-sh"; then
2005 ac_install_sh="$ac_aux_dir/install-sh -c"
2007 elif test -f "$ac_dir/install.sh"; then
2009 ac_install_sh="$ac_aux_dir/install.sh -c"
2011 elif test -f "$ac_dir/shtool"; then
2013 ac_install_sh="$ac_aux_dir/shtool install -c"
2017 if test -z "$ac_aux_dir"; then
2018 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2019 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2020 { (exit 1); exit 1; }; }
2023 # These three variables are undocumented and unsupported,
2024 # and are intended to be withdrawn in a future Autoconf release.
2025 # They can cause serious problems if a builder's source tree is in a directory
2026 # whose full name contains unusual characters.
2027 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2028 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2029 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2032 # Find a good install program. We prefer a C program (faster),
2033 # so one script is as good as another. But avoid the broken or
2034 # incompatible versions:
2035 # SysV /etc/install, /usr/sbin/install
2036 # SunOS /usr/etc/install
2037 # IRIX /sbin/install
2039 # AmigaOS /C/install, which installs bootblocks on floppy discs
2040 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2041 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2042 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2043 # OS/2's system install, which has a completely different semantic
2044 # ./install, which can be erroneously created by make from ./install.sh.
2045 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2046 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2047 if test -z "$INSTALL"; then
2048 if test "${ac_cv_path_install+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 test -z "$as_dir" && as_dir=.
2056 # Account for people who put trailing slashes in PATH elements.
2058 ./ | .// | /cC/* | \
2059 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2060 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2063 # OSF1 and SCO ODT 3.0 have their own names for install.
2064 # Don't use installbsd from OSF since it installs stuff as root
2066 for ac_prog in ginstall scoinst install; do
2067 for ac_exec_ext in '' $ac_executable_extensions; do
2068 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2069 if test $ac_prog = install &&
2070 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2071 # AIX install. It has an incompatible calling convention.
2073 elif test $ac_prog = install &&
2074 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2075 # program-specific install script used by HP pwplus--don't use.
2078 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2091 if test "${ac_cv_path_install+set}" = set; then
2092 INSTALL=$ac_cv_path_install
2094 # As a last resort, use the slow shell script. Don't cache a
2095 # value for INSTALL within a source directory, because that will
2096 # break other packages using the cache if that directory is
2097 # removed, or if the value is a relative name.
2098 INSTALL=$ac_install_sh
2101 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2102 echo "${ECHO_T}$INSTALL" >&6; }
2104 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2105 # It thinks the first close brace ends the variable substitution.
2106 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2108 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2110 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2112 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2113 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2116 echo timestamp > conftest.file
2117 # Do `set' in a subshell so we don't clobber the current shell
's
2118 # arguments. Must try -L first in case configure is actually a
2119 # symlink; some systems play weird games with the mod time of symlinks
2120 # (eg FreeBSD returns the mod time of the symlink's containing
2123 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2124 if test "$*" = "X"; then
2126 set X
`ls -t $srcdir/configure conftest.file`
2129 if test "$*" != "X $srcdir/configure conftest.file" \
2130 && test "$*" != "X conftest.file $srcdir/configure"; then
2132 # If neither matched, then we have a broken ls. This can happen
2133 # if, for instance, CONFIG_SHELL is bash and it inherits a
2134 # broken ls alias from the environment. This has actually
2135 # happened. Such a system could not be considered "sane".
2136 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2137 alias in your environment" >&5
2138 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2139 alias in your environment" >&2;}
2140 { (exit 1); exit 1; }; }
2143 test "$2" = conftest.
file
2149 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2150 Check your system clock" >&5
2151 echo "$as_me: error: newly created file is older than distributed files!
2152 Check your system clock" >&2;}
2153 { (exit 1); exit 1; }; }
2155 { echo "$as_me:$LINENO: result: yes" >&5
2156 echo "${ECHO_T}yes" >&6; }
2157 test "$program_prefix" != NONE
&&
2158 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2159 # Use a double $ so make ignores it.
2160 test "$program_suffix" != NONE
&&
2161 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2162 # Double any \ or $. echo might interpret backslashes.
2163 # By default was `s,x,x', remove it if useless.
2164 cat <<\_ACEOF
>conftest.
sed
2165 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2167 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2171 # expand $ac_aux_dir to an absolute path
2172 am_aux_dir
=`cd $ac_aux_dir && pwd`
2174 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2175 # Use eval to expand $SHELL
2176 if eval "$MISSING --run true"; then
2177 am_missing_run
="$MISSING --run "
2180 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2181 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2184 for ac_prog
in gawk mawk nawk
awk
2186 # Extract the first word of "$ac_prog", so it can be a program name with args.
2187 set dummy
$ac_prog; ac_word
=$2
2188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2190 if test "${ac_cv_prog_AWK+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 if test -n "$AWK"; then
2194 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2200 test -z "$as_dir" && as_dir
=.
2201 for ac_exec_ext
in '' $ac_executable_extensions; do
2202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2203 ac_cv_prog_AWK
="$ac_prog"
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2214 if test -n "$AWK"; then
2215 { echo "$as_me:$LINENO: result: $AWK" >&5
2216 echo "${ECHO_T}$AWK" >&6; }
2218 { echo "$as_me:$LINENO: result: no" >&5
2219 echo "${ECHO_T}no" >&6; }
2223 test -n "$AWK" && break
2226 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2227 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2228 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2229 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 cat >conftest.
make <<\_ACEOF
2235 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2237 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2238 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2240 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2242 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2246 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2247 { echo "$as_me:$LINENO: result: yes" >&5
2248 echo "${ECHO_T}yes" >&6; }
2251 { echo "$as_me:$LINENO: result: no" >&5
2252 echo "${ECHO_T}no" >&6; }
2253 SET_MAKE
="MAKE=${MAKE-make}"
2256 rm -rf .tst
2>/dev
/null
2257 mkdir .tst
2>/dev
/null
2258 if test -d .tst
; then
2263 rmdir .tst
2>/dev
/null
2265 # test to see if srcdir already configured
2266 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2267 test -f $srcdir/config.status
; then
2268 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2269 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2270 { (exit 1); exit 1; }; }
2273 # test whether we have cygpath
2274 if test -z "$CYGPATH_W"; then
2275 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2276 CYGPATH_W
='cygpath -w'
2283 # Define the identity of the package.
2288 cat >>confdefs.h
<<_ACEOF
2289 #define PACKAGE "$PACKAGE"
2293 cat >>confdefs.h
<<_ACEOF
2294 #define VERSION "$VERSION"
2297 # Some tools Automake needs.
2299 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2302 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2305 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2308 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2311 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2314 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2316 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2318 # Installed binaries are usually stripped using `strip' when the user
2319 # run `make install-strip'. However `strip' might not be the right
2320 # tool to use in cross-compilation environments, therefore Automake
2321 # will honor the `STRIP' environment variable to overrule this program.
2322 if test "$cross_compiling" != no
; then
2323 if test -n "$ac_tool_prefix"; then
2324 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2325 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2328 if test "${ac_cv_prog_STRIP+set}" = set; then
2329 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 if test -n "$STRIP"; then
2332 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2338 test -z "$as_dir" && as_dir
=.
2339 for ac_exec_ext
in '' $ac_executable_extensions; do
2340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2341 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 STRIP
=$ac_cv_prog_STRIP
2352 if test -n "$STRIP"; then
2353 { echo "$as_me:$LINENO: result: $STRIP" >&5
2354 echo "${ECHO_T}$STRIP" >&6; }
2356 { echo "$as_me:$LINENO: result: no" >&5
2357 echo "${ECHO_T}no" >&6; }
2362 if test -z "$ac_cv_prog_STRIP"; then
2364 # Extract the first word of "strip", so it can be a program name with args.
2365 set dummy strip
; ac_word
=$2
2366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2368 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2369 echo $ECHO_N "(cached) $ECHO_C" >&6
2371 if test -n "$ac_ct_STRIP"; then
2372 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2378 test -z "$as_dir" && as_dir
=.
2379 for ac_exec_ext
in '' $ac_executable_extensions; do
2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2381 ac_cv_prog_ac_ct_STRIP
="strip"
2382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2392 if test -n "$ac_ct_STRIP"; then
2393 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2394 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2396 { echo "$as_me:$LINENO: result: no" >&5
2397 echo "${ECHO_T}no" >&6; }
2400 if test "x$ac_ct_STRIP" = x
; then
2403 case $cross_compiling:$ac_tool_warned in
2405 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2406 whose name does not start with the host triplet. If you think this
2407 configuration is useful to you, please write to autoconf@gnu.org." >&5
2408 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2409 whose name does not start with the host triplet. If you think this
2410 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2411 ac_tool_warned
=yes ;;
2416 STRIP
="$ac_cv_prog_STRIP"
2420 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2422 # We need awk for the "check" target. The system "awk" is bad on
2427 ac_config_headers
="$ac_config_headers config.h"
2430 # Make sure we can run config.sub.
2431 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2432 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2433 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2434 { (exit 1); exit 1; }; }
2436 { echo "$as_me:$LINENO: checking build system type" >&5
2437 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2438 if test "${ac_cv_build+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2441 ac_build_alias
=$build_alias
2442 test "x$ac_build_alias" = x
&&
2443 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2444 test "x$ac_build_alias" = x
&&
2445 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2446 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2447 { (exit 1); exit 1; }; }
2448 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2449 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2450 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2451 { (exit 1); exit 1; }; }
2454 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2455 echo "${ECHO_T}$ac_cv_build" >&6; }
2456 case $ac_cv_build in
2458 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2459 echo "$as_me: error: invalid value of canonical build" >&2;}
2460 { (exit 1); exit 1; }; };;
2463 ac_save_IFS
=$IFS; IFS
='-'
2469 # Remember, the first character of IFS is used to create $*,
2470 # except with old shells:
2473 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2476 { echo "$as_me:$LINENO: checking host system type" >&5
2477 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2478 if test "${ac_cv_host+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 if test "x$host_alias" = x
; then
2482 ac_cv_host
=$ac_cv_build
2484 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2485 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2486 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2487 { (exit 1); exit 1; }; }
2491 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2492 echo "${ECHO_T}$ac_cv_host" >&6; }
2495 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2496 echo "$as_me: error: invalid value of canonical host" >&2;}
2497 { (exit 1); exit 1; }; };;
2500 ac_save_IFS
=$IFS; IFS
='-'
2506 # Remember, the first character of IFS is used to create $*,
2507 # except with old shells:
2510 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2515 ac_cpp
='$CPP $CPPFLAGS'
2516 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2517 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2518 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2519 if test -n "$ac_tool_prefix"; then
2520 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2521 set dummy
${ac_tool_prefix}gcc
; 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}gcc"
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; }
2558 if test -z "$ac_cv_prog_CC"; then
2560 # Extract the first word of "gcc", so it can be a program name with args.
2561 set dummy gcc
; 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_ac_ct_CC+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 if test -n "$ac_ct_CC"; then
2568 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2574 test -z "$as_dir" && as_dir
=.
2575 for ac_exec_ext
in '' $ac_executable_extensions; do
2576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2577 ac_cv_prog_ac_ct_CC
="gcc"
2578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2588 if test -n "$ac_ct_CC"; then
2589 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2590 echo "${ECHO_T}$ac_ct_CC" >&6; }
2592 { echo "$as_me:$LINENO: result: no" >&5
2593 echo "${ECHO_T}no" >&6; }
2596 if test "x$ac_ct_CC" = x
; then
2599 case $cross_compiling:$ac_tool_warned in
2601 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2602 whose name does not start with the host triplet. If you think this
2603 configuration is useful to you, please write to autoconf@gnu.org." >&5
2604 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2605 whose name does not start with the host triplet. If you think this
2606 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2607 ac_tool_warned
=yes ;;
2615 if test -z "$CC"; then
2616 if test -n "$ac_tool_prefix"; then
2617 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2618 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2621 if test "${ac_cv_prog_CC+set}" = set; then
2622 echo $ECHO_N "(cached) $ECHO_C" >&6
2624 if test -n "$CC"; then
2625 ac_cv_prog_CC
="$CC" # Let the user override the test.
2627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2631 test -z "$as_dir" && as_dir
=.
2632 for ac_exec_ext
in '' $ac_executable_extensions; do
2633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2634 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2645 if test -n "$CC"; then
2646 { echo "$as_me:$LINENO: result: $CC" >&5
2647 echo "${ECHO_T}$CC" >&6; }
2649 { echo "$as_me:$LINENO: result: no" >&5
2650 echo "${ECHO_T}no" >&6; }
2656 if test -z "$CC"; then
2657 # Extract the first word of "cc", so it can be a program name with args.
2658 set dummy cc
; ac_word
=$2
2659 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2661 if test "${ac_cv_prog_CC+set}" = set; then
2662 echo $ECHO_N "(cached) $ECHO_C" >&6
2664 if test -n "$CC"; then
2665 ac_cv_prog_CC
="$CC" # Let the user override the test.
2668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2672 test -z "$as_dir" && as_dir
=.
2673 for ac_exec_ext
in '' $ac_executable_extensions; do
2674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2675 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2676 ac_prog_rejected
=yes
2680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 if test $ac_prog_rejected = yes; then
2688 # We found a bogon in the path, so make sure we never use it.
2689 set dummy
$ac_cv_prog_CC
2691 if test $# != 0; then
2692 # We chose a different compiler from the bogus one.
2693 # However, it has the same basename, so the bogon will be chosen
2694 # first if we set CC to just the basename; use the full file name.
2696 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2702 if test -n "$CC"; then
2703 { echo "$as_me:$LINENO: result: $CC" >&5
2704 echo "${ECHO_T}$CC" >&6; }
2706 { echo "$as_me:$LINENO: result: no" >&5
2707 echo "${ECHO_T}no" >&6; }
2712 if test -z "$CC"; then
2713 if test -n "$ac_tool_prefix"; then
2714 for ac_prog
in cl.exe
2716 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2717 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2720 if test "${ac_cv_prog_CC+set}" = set; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 if test -n "$CC"; then
2724 ac_cv_prog_CC
="$CC" # Let the user override the test.
2726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir
=.
2731 for ac_exec_ext
in '' $ac_executable_extensions; do
2732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2733 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 if test -n "$CC"; then
2745 { echo "$as_me:$LINENO: result: $CC" >&5
2746 echo "${ECHO_T}$CC" >&6; }
2748 { echo "$as_me:$LINENO: result: no" >&5
2749 echo "${ECHO_T}no" >&6; }
2753 test -n "$CC" && break
2756 if test -z "$CC"; then
2758 for ac_prog
in cl.exe
2760 # Extract the first word of "$ac_prog", so it can be a program name with args.
2761 set dummy
$ac_prog; ac_word
=$2
2762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2764 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2765 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 if test -n "$ac_ct_CC"; then
2768 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2774 test -z "$as_dir" && as_dir
=.
2775 for ac_exec_ext
in '' $ac_executable_extensions; do
2776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2777 ac_cv_prog_ac_ct_CC
="$ac_prog"
2778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2788 if test -n "$ac_ct_CC"; then
2789 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2790 echo "${ECHO_T}$ac_ct_CC" >&6; }
2792 { echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6; }
2797 test -n "$ac_ct_CC" && break
2800 if test "x$ac_ct_CC" = x
; then
2803 case $cross_compiling:$ac_tool_warned in
2805 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2806 whose name does not start with the host triplet. If you think this
2807 configuration is useful to you, please write to autoconf@gnu.org." >&5
2808 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2809 whose name does not start with the host triplet. If you think this
2810 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2811 ac_tool_warned
=yes ;;
2820 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2821 See \`config.log' for more details." >&5
2822 echo "$as_me: error: no acceptable C compiler found in \$PATH
2823 See \`config.log' for more details." >&2;}
2824 { (exit 1); exit 1; }; }
2826 # Provide some information about the compiler.
2827 echo "$as_me:$LINENO: checking for C compiler version" >&5
2828 ac_compiler
=`set X $ac_compile; echo $2`
2829 { (ac_try
="$ac_compiler --version >&5"
2831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2832 *) ac_try_echo=$ac_try;;
2834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2835 (eval "$ac_compiler --version >&5") 2>&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }
2839 { (ac_try="$ac_compiler -v >&5"
2841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2842 *) ac_try_echo
=$ac_try;;
2844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2845 (eval "$ac_compiler -v >&5") 2>&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); }
2849 { (ac_try
="$ac_compiler -V >&5"
2851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2855 (eval "$ac_compiler -V >&5") 2>&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); }
2860 cat >conftest.$ac_ext <<_ACEOF
2863 cat confdefs.h >>conftest.$ac_ext
2864 cat >>conftest.$ac_ext <<_ACEOF
2865 /* end confdefs.h. */
2875 ac_clean_files_save=$ac_clean_files
2876 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2877 # Try to create an executable without -o first, disregard a.out.
2878 # It will help us diagnose broken compilers, and finding out an intuition
2880 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2881 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2882 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2884 # List of possible output files, starting from the most likely.
2885 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2886 # only as a last resort. b.out is created by i960 compilers.
2887 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2889 # The IRIX 6 linker writes into existing files which may not be
2890 # executable, retaining their permissions. Remove them first so a
2891 # subsequent execution test works.
2893 for ac_file in $ac_files
2896 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2897 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2902 if { (ac_try="$ac_link_default"
2904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2908 (eval "$ac_link_default") 2>&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); }; then
2912 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2913 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2914 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2915 # so that the user can short-circuit this test for compilers unknown to
2917 for ac_file
in $ac_files ''
2919 test -f "$ac_file" ||
continue
2921 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2924 # We found the default executable, but exeext='' is most
2928 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2930 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2932 # We set ac_cv_exeext here because the later test for it is not
2933 # safe: cross compilers may not add the suffix if given an `-o'
2934 # argument, so we may need to know it at that point already.
2935 # Even if this section looks crufty: it has the advantage of
2942 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2948 { echo "$as_me:$LINENO: result: $ac_file" >&5
2949 echo "${ECHO_T}$ac_file" >&6; }
2950 if test -z "$ac_file"; then
2951 echo "$as_me: failed program was:" >&5
2952 sed 's/^/| /' conftest.
$ac_ext >&5
2954 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2955 See \`config.log' for more details." >&5
2956 echo "$as_me: error: C compiler cannot create executables
2957 See \`config.log' for more details." >&2;}
2958 { (exit 77); exit 77; }; }
2961 ac_exeext
=$ac_cv_exeext
2963 # Check that the compiler produces executables we can run. If not, either
2964 # the compiler is broken, or we cross compile.
2965 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2966 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2967 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2968 # If not cross compiling, check that we can run a simple program.
2969 if test "$cross_compiling" != yes; then
2970 if { ac_try
='./$ac_file'
2971 { (case "(($ac_try" in
2972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2976 (eval "$ac_try") 2>&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); }; }; then
2982 if test "$cross_compiling" = maybe; then
2985 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2986 If you meant to cross compile, use \`--host'.
2987 See \`config.log' for more details.
" >&5
2988 echo "$as_me: error
: cannot run C compiled programs.
2989 If you meant to cross compile
, use \
`--host'.
2990 See \`config.log
' for more details." >&2;}
2991 { (exit 1); exit 1; }; }
2995 { echo "$as_me:$LINENO: result: yes" >&5
2996 echo "${ECHO_T}yes" >&6; }
2998 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2999 ac_clean_files=$ac_clean_files_save
3000 # Check that the compiler produces executables we can run. If not, either
3001 # the compiler is broken, or we cross compile.
3002 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3003 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3004 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3005 echo "${ECHO_T}$cross_compiling" >&6; }
3007 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3008 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3009 if { (ac_try="$ac_link"
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3012 *) ac_try_echo=$ac_try;;
3014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3015 (eval "$ac_link") 2>&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }; then
3019 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3020 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3021 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3023 for ac_file
in conftest.exe conftest conftest.
*; do
3024 test -f "$ac_file" ||
continue
3026 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3027 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3033 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3034 See \`config.log' for more details." >&5
3035 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3036 See \`config.log' for more details." >&2;}
3037 { (exit 1); exit 1; }; }
3040 rm -f conftest
$ac_cv_exeext
3041 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3042 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3044 rm -f conftest.
$ac_ext
3045 EXEEXT
=$ac_cv_exeext
3047 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3048 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3049 if test "${ac_cv_objext+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 cat >conftest.
$ac_ext <<_ACEOF
3055 cat confdefs.h
>>conftest.
$ac_ext
3056 cat >>conftest.
$ac_ext <<_ACEOF
3057 /* end confdefs.h. */
3067 rm -f conftest.o conftest.obj
3068 if { (ac_try
="$ac_compile"
3070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3071 *) ac_try_echo=$ac_try;;
3073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3074 (eval "$ac_compile") 2>&5
3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); }; then
3078 for ac_file in conftest.o conftest.obj conftest.*; do
3079 test -f "$ac_file" || continue;
3081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3082 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3087 echo "$as_me: failed program was:" >&5
3088 sed 's/^/| /' conftest.$ac_ext >&5
3090 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3091 See \`config.log
' for more details." >&5
3092 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3093 See \`config.log' for more details.
" >&2;}
3094 { (exit 1); exit 1; }; }
3097 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3099 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3100 echo "${ECHO_T}$ac_cv_objext" >&6; }
3101 OBJEXT=$ac_cv_objext
3103 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3104 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3105 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3106 echo $ECHO_N "(cached
) $ECHO_C" >&6
3108 cat >conftest.$ac_ext <<_ACEOF
3111 cat confdefs.h >>conftest.$ac_ext
3112 cat >>conftest.$ac_ext <<_ACEOF
3113 /* end confdefs.h. */
3126 rm -f conftest.$ac_objext
3127 if { (ac_try="$ac_compile"
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3132 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3133 (eval "$ac_compile") 2>conftest.er1
3135 grep -v '^ *+' conftest.er1 >conftest.err
3137 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3139 (exit $ac_status); } && {
3140 test -z "$ac_c_werror_flag" ||
3141 test ! -s conftest.err
3142 } && test -s conftest.$ac_objext; then
3145 echo "$as_me: failed program was
:" >&5
3146 sed 's/^/| /' conftest.$ac_ext >&5
3151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3152 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3155 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3156 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3157 GCC=`test $ac_compiler_gnu = yes && echo yes`
3158 ac_test_CFLAGS=${CFLAGS+set}
3159 ac_save_CFLAGS=$CFLAGS
3160 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3161 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3162 if test "${ac_cv_prog_cc_g+set}" = set; then
3163 echo $ECHO_N "(cached
) $ECHO_C" >&6
3165 ac_save_c_werror_flag=$ac_c_werror_flag
3166 ac_c_werror_flag=yes
3169 cat >conftest.$ac_ext <<_ACEOF
3172 cat confdefs.h >>conftest.$ac_ext
3173 cat >>conftest.$ac_ext <<_ACEOF
3174 /* end confdefs.h. */
3184 rm -f conftest.$ac_objext
3185 if { (ac_try="$ac_compile"
3187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3188 *) ac_try_echo=$ac_try;;
3190 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3191 (eval "$ac_compile") 2>conftest.er1
3193 grep -v '^ *+' conftest.er1 >conftest.err
3195 cat conftest.err >&5
3196 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3197 (exit $ac_status); } && {
3198 test -z "$ac_c_werror_flag" ||
3199 test ! -s conftest.err
3200 } && test -s conftest.$ac_objext; then
3203 echo "$as_me: failed program was
:" >&5
3204 sed 's/^/| /' conftest.$ac_ext >&5
3207 cat >conftest.$ac_ext <<_ACEOF
3210 cat confdefs.h >>conftest.$ac_ext
3211 cat >>conftest.$ac_ext <<_ACEOF
3212 /* end confdefs.h. */
3222 rm -f conftest.$ac_objext
3223 if { (ac_try="$ac_compile"
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3228 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3229 (eval "$ac_compile") 2>conftest.er1
3231 grep -v '^ *+' conftest.er1 >conftest.err
3233 cat conftest.err >&5
3234 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3235 (exit $ac_status); } && {
3236 test -z "$ac_c_werror_flag" ||
3237 test ! -s conftest.err
3238 } && test -s conftest.$ac_objext; then
3241 echo "$as_me: failed program was
:" >&5
3242 sed 's/^/| /' conftest.$ac_ext >&5
3244 ac_c_werror_flag=$ac_save_c_werror_flag
3246 cat >conftest.$ac_ext <<_ACEOF
3249 cat confdefs.h >>conftest.$ac_ext
3250 cat >>conftest.$ac_ext <<_ACEOF
3251 /* end confdefs.h. */
3261 rm -f conftest.$ac_objext
3262 if { (ac_try="$ac_compile"
3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3265 *) ac_try_echo=$ac_try;;
3267 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3268 (eval "$ac_compile") 2>conftest.er1
3270 grep -v '^ *+' conftest.er1 >conftest.err
3272 cat conftest.err >&5
3273 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3274 (exit $ac_status); } && {
3275 test -z "$ac_c_werror_flag" ||
3276 test ! -s conftest.err
3277 } && test -s conftest.$ac_objext; then
3280 echo "$as_me: failed program was
:" >&5
3281 sed 's/^/| /' conftest.$ac_ext >&5
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 ac_c_werror_flag=$ac_save_c_werror_flag
3295 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3296 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3297 if test "$ac_test_CFLAGS" = set; then
3298 CFLAGS=$ac_save_CFLAGS
3299 elif test $ac_cv_prog_cc_g = yes; then
3300 if test "$GCC" = yes; then
3306 if test "$GCC" = yes; then
3312 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3313 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3314 if test "${ac_cv_prog_cc_c89+set}" = set; then
3315 echo $ECHO_N "(cached
) $ECHO_C" >&6
3317 ac_cv_prog_cc_c89=no
3319 cat >conftest.$ac_ext <<_ACEOF
3322 cat confdefs.h >>conftest.$ac_ext
3323 cat >>conftest.$ac_ext <<_ACEOF
3324 /* end confdefs.h. */
3327 #include <sys/types.h>
3328 #include <sys/stat.h>
3329 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3330 struct buf { int x; };
3331 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3332 static char *e (p, i)
3338 static char *f (char * (*g) (char **, int), char **p, ...)
3343 s = g (p, va_arg (v,int));
3348 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3349 function prototypes and stuff, but not '\xHH' hex character constants.
3350 These don't provoke an error unfortunately, instead are silently treated
3351 as 'x'. The following induces an error, until -std is added to get
3352 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3353 array size at least. It's necessary to write '\x00'==0 to get something
3354 that's true only with -std. */
3355 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3357 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3358 inside strings and character constants. */
3360 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3362 int test (int i, double x);
3363 struct s1 {int (*f) (int a);};
3364 struct s2 {int (*f) (double a);};
3365 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3371 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3376 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3377 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3379 CC="$ac_save_CC $ac_arg"
3380 rm -f conftest.$ac_objext
3381 if { (ac_try="$ac_compile"
3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;;
3386 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3387 (eval "$ac_compile") 2>conftest.er1
3389 grep -v '^ *+' conftest.er1 >conftest.err
3391 cat conftest.err >&5
3392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3393 (exit $ac_status); } && {
3394 test -z "$ac_c_werror_flag" ||
3395 test ! -s conftest.err
3396 } && test -s conftest.$ac_objext; then
3397 ac_cv_prog_cc_c89=$ac_arg
3399 echo "$as_me: failed program was
:" >&5
3400 sed 's/^/| /' conftest.$ac_ext >&5
3405 rm -f core conftest.err conftest.$ac_objext
3406 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3408 rm -f conftest.$ac_ext
3413 case "x
$ac_cv_prog_cc_c89" in
3415 { echo "$as_me:$LINENO: result
: none needed
" >&5
3416 echo "${ECHO_T}none needed
" >&6; } ;;
3418 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3419 echo "${ECHO_T}unsupported
" >&6; } ;;
3421 CC="$CC $ac_cv_prog_cc_c89"
3422 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3423 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3428 ac_cpp='$CPP $CPPFLAGS'
3429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3432 DEPDIR="${am__leading_dot}deps
"
3434 ac_config_commands="$ac_config_commands depfiles
"
3437 am_make=${MAKE-make}
3438 cat > confinc << 'END'
3443 # If we don't find an include directive, just comment out the code.
3444 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3445 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3449 # First try GNU make style include.
3450 echo "include confinc" > confmf
3451 # We grep out `Entering directory' and `Leaving directory'
3452 # messages which can occur if `w' ends up in MAKEFLAGS.
3453 # In particular we don't look at `^make:' because GNU make might
3454 # be invoked under some other name (usually "gmake"), in which
3455 # case it prints its new name instead of `make'.
3456 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3461 # Now try BSD make style include.
3462 if test "$am__include" = "#"; then
3463 echo '.include "confinc"' > confmf
3464 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3465 am__include
=.include
3472 { echo "$as_me:$LINENO: result: $_am_result" >&5
3473 echo "${ECHO_T}$_am_result" >&6; }
3474 rm -f confinc confmf
3476 # Check whether --enable-dependency-tracking was given.
3477 if test "${enable_dependency_tracking+set}" = set; then
3478 enableval
=$enable_dependency_tracking;
3481 if test "x$enable_dependency_tracking" != xno
; then
3482 am_depcomp
="$ac_aux_dir/depcomp"
3487 if test "x$enable_dependency_tracking" != xno; then
3498 depcc
="$CC" am_compiler_list
=
3500 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3501 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3502 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3503 echo $ECHO_N "(cached) $ECHO_C" >&6
3505 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3506 # We make a subdir and do the tests there. Otherwise we can end up
3507 # making bogus files that we don't know about and never remove. For
3508 # instance it was reported that on HP-UX the gcc test will end up
3509 # making a dummy file named `D' -- because `-MD' means `put the output
3512 # Copy depcomp to subdir because otherwise we won't find it if we're
3513 # using a relative directory.
3514 cp "$am_depcomp" conftest.dir
3516 # We will build objects and dependencies in a subdirectory because
3517 # it helps to detect inapplicable dependency modes. For instance
3518 # both Tru64's cc and ICC support -MD to output dependencies as a
3519 # side effect of compilation, but ICC will put the dependencies in
3520 # the current directory while Tru64 will put them in the object
3524 am_cv_CC_dependencies_compiler_type
=none
3525 if test "$am_compiler_list" = ""; then
3526 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3528 for depmode
in $am_compiler_list; do
3529 # Setup a source with many dependencies, because some compilers
3530 # like to wrap large dependency lists on column 80 (with \), and
3531 # we should not choose a depcomp mode which is confused by this.
3533 # We need to recreate these files for each test, as the compiler may
3534 # overwrite some of them when testing with obscure command lines.
3535 # This happens at least with the AIX C compiler.
3537 for i
in 1 2 3 4 5 6; do
3538 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3541 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3545 # after this tag, mechanisms are not by side-effect, so they'll
3546 # only be used when explicitly requested
3547 if test "x$enable_dependency_tracking" = xyes
; then
3555 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3556 # mode. It turns out that the SunPro C++ compiler does not properly
3557 # handle `-M -o', and we need to detect this.
3558 if depmode
=$depmode \
3559 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3560 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3561 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3562 >/dev
/null
2>conftest.err
&&
3563 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3564 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3565 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3566 # icc doesn't choke on unknown options, it will just issue warnings
3567 # (even with -Werror). So we grep stderr for any message
3568 # that says an option was ignored.
3569 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
3570 am_cv_CC_dependencies_compiler_type
=$depmode
3579 am_cv_CC_dependencies_compiler_type
=none
3583 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3584 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3585 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3590 test "x$enable_dependency_tracking" != xno \
3591 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3593 am__fastdepCC_FALSE
='#'
3595 am__fastdepCC_TRUE
='#'
3596 am__fastdepCC_FALSE
=
3601 ac_cpp
='$CPP $CPPFLAGS'
3602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3605 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3606 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3607 # On Suns, sometimes $CPP names a directory.
3608 if test -n "$CPP" && test -d "$CPP"; then
3611 if test -z "$CPP"; then
3612 if test "${ac_cv_prog_CPP+set}" = set; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 # Double quotes because CPP needs to be expanded
3616 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3619 for ac_c_preproc_warn_flag
in '' yes
3621 # Use a header file that comes with gcc, so configuring glibc
3622 # with a fresh cross-compiler works.
3623 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3624 # <limits.h> exists even on freestanding compilers.
3625 # On the NeXT, cc -E runs the code through the compiler's parser,
3626 # not just through cpp. "Syntax error" is here to catch this case.
3627 cat >conftest.
$ac_ext <<_ACEOF
3630 cat confdefs.h
>>conftest.
$ac_ext
3631 cat >>conftest.
$ac_ext <<_ACEOF
3632 /* end confdefs.h. */
3634 # include <limits.h>
3636 # include <assert.h>
3640 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3643 *) ac_try_echo=$ac_try;;
3645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3646 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3648 grep -v '^ *+' conftest.er1 >conftest.err
3650 cat conftest.err >&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } >/dev/null && {
3653 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3654 test ! -s conftest.err
3658 echo "$as_me: failed program was:" >&5
3659 sed 's/^/| /' conftest.$ac_ext >&5
3661 # Broken: fails on valid input.
3665 rm -f conftest.err conftest.$ac_ext
3667 # OK, works on sane cases. Now check whether nonexistent headers
3668 # can be detected and how.
3669 cat >conftest.$ac_ext <<_ACEOF
3672 cat confdefs.h >>conftest.$ac_ext
3673 cat >>conftest.$ac_ext <<_ACEOF
3674 /* end confdefs.h. */
3675 #include <ac_nonexistent.h>
3677 if { (ac_try="$ac_cpp conftest.$ac_ext"
3679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3680 *) ac_try_echo
=$ac_try;;
3682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3685 grep -v '^ *+' conftest.er1
>conftest.err
3687 cat conftest.err
>&5
3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689 (exit $ac_status); } >/dev
/null
&& {
3690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3691 test ! -s conftest.err
3693 # Broken: success on invalid input.
3696 echo "$as_me: failed program was:" >&5
3697 sed 's/^/| /' conftest.
$ac_ext >&5
3699 # Passes both tests.
3704 rm -f conftest.err conftest.
$ac_ext
3707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3708 rm -f conftest.err conftest.
$ac_ext
3709 if $ac_preproc_ok; then
3721 { echo "$as_me:$LINENO: result: $CPP" >&5
3722 echo "${ECHO_T}$CPP" >&6; }
3724 for ac_c_preproc_warn_flag
in '' yes
3726 # Use a header file that comes with gcc, so configuring glibc
3727 # with a fresh cross-compiler works.
3728 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3729 # <limits.h> exists even on freestanding compilers.
3730 # On the NeXT, cc -E runs the code through the compiler's parser,
3731 # not just through cpp. "Syntax error" is here to catch this case.
3732 cat >conftest.
$ac_ext <<_ACEOF
3735 cat confdefs.h
>>conftest.
$ac_ext
3736 cat >>conftest.
$ac_ext <<_ACEOF
3737 /* end confdefs.h. */
3739 # include <limits.h>
3741 # include <assert.h>
3745 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3748 *) ac_try_echo=$ac_try;;
3750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3751 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3753 grep -v '^ *+' conftest.er1 >conftest.err
3755 cat conftest.err >&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); } >/dev/null && {
3758 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3759 test ! -s conftest.err
3763 echo "$as_me: failed program was:" >&5
3764 sed 's/^/| /' conftest.$ac_ext >&5
3766 # Broken: fails on valid input.
3770 rm -f conftest.err conftest.$ac_ext
3772 # OK, works on sane cases. Now check whether nonexistent headers
3773 # can be detected and how.
3774 cat >conftest.$ac_ext <<_ACEOF
3777 cat confdefs.h >>conftest.$ac_ext
3778 cat >>conftest.$ac_ext <<_ACEOF
3779 /* end confdefs.h. */
3780 #include <ac_nonexistent.h>
3782 if { (ac_try="$ac_cpp conftest.$ac_ext"
3784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3785 *) ac_try_echo
=$ac_try;;
3787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3788 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3790 grep -v '^ *+' conftest.er1
>conftest.err
3792 cat conftest.err
>&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); } >/dev
/null
&& {
3795 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3796 test ! -s conftest.err
3798 # Broken: success on invalid input.
3801 echo "$as_me: failed program was:" >&5
3802 sed 's/^/| /' conftest.
$ac_ext >&5
3804 # Passes both tests.
3809 rm -f conftest.err conftest.
$ac_ext
3812 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3813 rm -f conftest.err conftest.
$ac_ext
3814 if $ac_preproc_ok; then
3817 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3818 See \`config.log' for more details." >&5
3819 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3820 See \`config.log' for more details." >&2;}
3821 { (exit 1); exit 1; }; }
3825 ac_cpp
='$CPP $CPPFLAGS'
3826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3830 # Find a good install program. We prefer a C program (faster),
3831 # so one script is as good as another. But avoid the broken or
3832 # incompatible versions:
3833 # SysV /etc/install, /usr/sbin/install
3834 # SunOS /usr/etc/install
3835 # IRIX /sbin/install
3837 # AmigaOS /C/install, which installs bootblocks on floppy discs
3838 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3839 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3840 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3841 # OS/2's system install, which has a completely different semantic
3842 # ./install, which can be erroneously created by make from ./install.sh.
3843 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3844 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3845 if test -z "$INSTALL"; then
3846 if test "${ac_cv_path_install+set}" = set; then
3847 echo $ECHO_N "(cached) $ECHO_C" >&6
3849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3853 test -z "$as_dir" && as_dir
=.
3854 # Account for people who put trailing slashes in PATH elements.
3856 .
/ | .
// |
/cC
/* | \
3857 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3858 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3861 # OSF1 and SCO ODT 3.0 have their own names for install.
3862 # Don't use installbsd from OSF since it installs stuff as root
3864 for ac_prog
in ginstall scoinst
install; do
3865 for ac_exec_ext
in '' $ac_executable_extensions; do
3866 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3867 if test $ac_prog = install &&
3868 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3869 # AIX install. It has an incompatible calling convention.
3871 elif test $ac_prog = install &&
3872 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3873 # program-specific install script used by HP pwplus--don't use.
3876 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3889 if test "${ac_cv_path_install+set}" = set; then
3890 INSTALL
=$ac_cv_path_install
3892 # As a last resort, use the slow shell script. Don't cache a
3893 # value for INSTALL within a source directory, because that will
3894 # break other packages using the cache if that directory is
3895 # removed, or if the value is a relative name.
3896 INSTALL
=$ac_install_sh
3899 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3900 echo "${ECHO_T}$INSTALL" >&6; }
3902 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3903 # It thinks the first close brace ends the variable substitution.
3904 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3906 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3908 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3910 if test -n "$ac_tool_prefix"; then
3911 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3912 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3915 if test "${ac_cv_prog_RANLIB+set}" = set; then
3916 echo $ECHO_N "(cached) $ECHO_C" >&6
3918 if test -n "$RANLIB"; then
3919 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3925 test -z "$as_dir" && as_dir
=.
3926 for ac_exec_ext
in '' $ac_executable_extensions; do
3927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3928 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3938 RANLIB
=$ac_cv_prog_RANLIB
3939 if test -n "$RANLIB"; then
3940 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3941 echo "${ECHO_T}$RANLIB" >&6; }
3943 { echo "$as_me:$LINENO: result: no" >&5
3944 echo "${ECHO_T}no" >&6; }
3949 if test -z "$ac_cv_prog_RANLIB"; then
3950 ac_ct_RANLIB
=$RANLIB
3951 # Extract the first word of "ranlib", so it can be a program name with args.
3952 set dummy ranlib
; ac_word
=$2
3953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3955 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 if test -n "$ac_ct_RANLIB"; then
3959 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3965 test -z "$as_dir" && as_dir
=.
3966 for ac_exec_ext
in '' $ac_executable_extensions; do
3967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3968 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3979 if test -n "$ac_ct_RANLIB"; then
3980 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3981 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3983 { echo "$as_me:$LINENO: result: no" >&5
3984 echo "${ECHO_T}no" >&6; }
3987 if test "x$ac_ct_RANLIB" = x
; then
3990 case $cross_compiling:$ac_tool_warned in
3992 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3993 whose name does not start with the host triplet. If you think this
3994 configuration is useful to you, please write to autoconf@gnu.org." >&5
3995 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3996 whose name does not start with the host triplet. If you think this
3997 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3998 ac_tool_warned
=yes ;;
4000 RANLIB
=$ac_ct_RANLIB
4003 RANLIB
="$ac_cv_prog_RANLIB"
4006 # Check whether --enable-shared was given.
4007 if test "${enable_shared+set}" = set; then
4008 enableval
=$enable_shared; p
=${PACKAGE-default}
4010 yes) enable_shared
=yes ;;
4011 no
) enable_shared
=no
;;
4014 # Look at the argument we got. We use all the common list separators.
4015 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4016 for pkg
in $enableval; do
4018 if test "X$pkg" = "X$p"; then
4030 # Check whether --enable-static was given.
4031 if test "${enable_static+set}" = set; then
4032 enableval
=$enable_static; p
=${PACKAGE-default}
4034 yes) enable_static
=yes ;;
4035 no
) enable_static
=no
;;
4038 # Look at the argument we got. We use all the common list separators.
4039 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4040 for pkg
in $enableval; do
4042 if test "X$pkg" = "X$p"; then
4054 # Check whether --enable-fast-install was given.
4055 if test "${enable_fast_install+set}" = set; then
4056 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4058 yes) enable_fast_install
=yes ;;
4059 no
) enable_fast_install
=no
;;
4061 enable_fast_install
=no
4062 # Look at the argument we got. We use all the common list separators.
4063 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4064 for pkg
in $enableval; do
4066 if test "X$pkg" = "X$p"; then
4067 enable_fast_install
=yes
4074 enable_fast_install
=yes
4078 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4079 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4080 if test "${lt_cv_path_SED+set}" = set; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 # Loop through the user's path and test for sed and gsed.
4084 # Then use that list of sed's as ones to test for truncation.
4085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4089 test -z "$as_dir" && as_dir
=.
4090 for lt_ac_prog
in sed gsed
; do
4091 for ac_exec_ext
in '' $ac_executable_extensions; do
4092 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4093 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4101 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4102 # along with /bin/sed that truncates output.
4103 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4104 test ! -f $lt_ac_sed && continue
4105 cat /dev
/null
> conftest.
in
4107 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4108 # Check for GNU sed and select it if it is found.
4109 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4110 lt_cv_path_SED
=$lt_ac_sed
4114 cat conftest.
in conftest.
in >conftest.tmp
4115 mv conftest.tmp conftest.
in
4116 cp conftest.
in conftest.
nl
4118 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4119 cmp -s conftest.out conftest.
nl ||
break
4120 # 10000 chars as input seems more than enough
4121 test $lt_ac_count -gt 10 && break
4122 lt_ac_count
=`expr $lt_ac_count + 1`
4123 if test $lt_ac_count -gt $lt_ac_max; then
4124 lt_ac_max
=$lt_ac_count
4125 lt_cv_path_SED
=$lt_ac_sed
4134 { echo "$as_me:$LINENO: result: $SED" >&5
4135 echo "${ECHO_T}$SED" >&6; }
4137 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4138 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4139 if test "${ac_cv_path_GREP+set}" = set; then
4140 echo $ECHO_N "(cached) $ECHO_C" >&6
4142 # Extract the first word of "grep ggrep" to use in msg output
4143 if test -z "$GREP"; then
4144 set dummy
grep ggrep
; ac_prog_name
=$2
4145 if test "${ac_cv_path_GREP+set}" = set; then
4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4148 ac_path_GREP_found
=false
4149 # Loop through the user's path and test for each of PROGNAME-LIST
4150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4151 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4154 test -z "$as_dir" && as_dir
=.
4155 for ac_prog
in grep ggrep
; do
4156 for ac_exec_ext
in '' $ac_executable_extensions; do
4157 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4158 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4159 # Check for GNU ac_path_GREP and select it if it is found.
4160 # Check for GNU $ac_path_GREP
4161 case `"$ac_path_GREP" --version 2>&1` in
4163 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4166 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4169 cat "conftest.in" "conftest.in" >"conftest.tmp"
4170 mv "conftest.tmp" "conftest.in"
4171 cp "conftest.in" "conftest.nl"
4172 echo 'GREP' >> "conftest.nl"
4173 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4174 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4175 ac_count
=`expr $ac_count + 1`
4176 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4177 # Best one so far, save it but keep looking for a better one
4178 ac_cv_path_GREP
="$ac_path_GREP"
4179 ac_path_GREP_max
=$ac_count
4181 # 10*(2^10) chars as input seems more than enough
4182 test $ac_count -gt 10 && break
4184 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4188 $ac_path_GREP_found && break 3
4198 GREP
="$ac_cv_path_GREP"
4199 if test -z "$GREP"; then
4200 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4201 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4202 { (exit 1); exit 1; }; }
4206 ac_cv_path_GREP
=$GREP
4211 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4212 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4213 GREP
="$ac_cv_path_GREP"
4216 { echo "$as_me:$LINENO: checking for egrep" >&5
4217 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4218 if test "${ac_cv_path_EGREP+set}" = set; then
4219 echo $ECHO_N "(cached) $ECHO_C" >&6
4221 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4222 then ac_cv_path_EGREP
="$GREP -E"
4224 # Extract the first word of "egrep" to use in msg output
4225 if test -z "$EGREP"; then
4226 set dummy
egrep; ac_prog_name
=$2
4227 if test "${ac_cv_path_EGREP+set}" = set; then
4228 echo $ECHO_N "(cached) $ECHO_C" >&6
4230 ac_path_EGREP_found
=false
4231 # Loop through the user's path and test for each of PROGNAME-LIST
4232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4233 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4236 test -z "$as_dir" && as_dir
=.
4237 for ac_prog
in egrep; do
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4240 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4241 # Check for GNU ac_path_EGREP and select it if it is found.
4242 # Check for GNU $ac_path_EGREP
4243 case `"$ac_path_EGREP" --version 2>&1` in
4245 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4248 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4251 cat "conftest.in" "conftest.in" >"conftest.tmp"
4252 mv "conftest.tmp" "conftest.in"
4253 cp "conftest.in" "conftest.nl"
4254 echo 'EGREP' >> "conftest.nl"
4255 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4256 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4257 ac_count
=`expr $ac_count + 1`
4258 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4259 # Best one so far, save it but keep looking for a better one
4260 ac_cv_path_EGREP
="$ac_path_EGREP"
4261 ac_path_EGREP_max
=$ac_count
4263 # 10*(2^10) chars as input seems more than enough
4264 test $ac_count -gt 10 && break
4266 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4270 $ac_path_EGREP_found && break 3
4280 EGREP
="$ac_cv_path_EGREP"
4281 if test -z "$EGREP"; then
4282 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4283 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4284 { (exit 1); exit 1; }; }
4288 ac_cv_path_EGREP
=$EGREP
4294 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4295 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4296 EGREP
="$ac_cv_path_EGREP"
4300 # Check whether --with-gnu-ld was given.
4301 if test "${with_gnu_ld+set}" = set; then
4302 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4308 if test "$GCC" = yes; then
4309 # Check if gcc -print-prog-name=ld gives a path.
4310 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4311 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4314 # gcc leaves a trailing carriage return which upsets mingw
4315 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4317 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4320 # Accept absolute paths.
4322 re_direlt
='/[^/][^/]*/\.\./'
4323 # Canonicalize the pathname of ld
4324 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4325 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4326 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4328 test -z "$LD" && LD
="$ac_prog"
4331 # If it fails, then pretend we aren't using GCC.
4335 # If it is relative, then search for the first ld in PATH.
4339 elif test "$with_gnu_ld" = yes; then
4340 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4341 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4343 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4344 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4346 if test "${lt_cv_path_LD+set}" = set; then
4347 echo $ECHO_N "(cached) $ECHO_C" >&6
4349 if test -z "$LD"; then
4350 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4351 for ac_dir
in $PATH; do
4353 test -z "$ac_dir" && ac_dir
=.
4354 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4355 lt_cv_path_LD
="$ac_dir/$ac_prog"
4356 # Check to see if the program is GNU ld. I'd rather use --version,
4357 # but apparently some variants of GNU ld only accept -v.
4358 # Break only if it was the GNU/non-GNU ld that we prefer.
4359 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4360 *GNU
* |
*'with BFD'*)
4361 test "$with_gnu_ld" != no
&& break
4364 test "$with_gnu_ld" != yes && break
4371 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4376 if test -n "$LD"; then
4377 { echo "$as_me:$LINENO: result: $LD" >&5
4378 echo "${ECHO_T}$LD" >&6; }
4380 { echo "$as_me:$LINENO: result: no" >&5
4381 echo "${ECHO_T}no" >&6; }
4383 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4384 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4385 { (exit 1); exit 1; }; }
4386 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4387 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4388 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4392 case `$LD -v 2>&1 </dev/null` in
4393 *GNU
* |
*'with BFD'*)
4394 lt_cv_prog_gnu_ld
=yes
4397 lt_cv_prog_gnu_ld
=no
4401 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4402 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4403 with_gnu_ld
=$lt_cv_prog_gnu_ld
4406 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4407 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4408 if test "${lt_cv_ld_reload_flag+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4411 lt_cv_ld_reload_flag
='-r'
4413 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4414 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4415 reload_flag
=$lt_cv_ld_reload_flag
4416 case $reload_flag in
4418 *) reload_flag
=" $reload_flag" ;;
4420 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4423 if test "$GCC" = yes; then
4424 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4426 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4431 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4432 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4433 if test "${lt_cv_path_NM+set}" = set; then
4434 echo $ECHO_N "(cached) $ECHO_C" >&6
4436 if test -n "$NM"; then
4437 # Let the user override the test.
4440 lt_nm_to_check
="${ac_tool_prefix}nm"
4441 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4442 lt_nm_to_check
="$lt_nm_to_check nm"
4444 for lt_tmp_nm
in $lt_nm_to_check; do
4445 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4446 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4448 test -z "$ac_dir" && ac_dir
=.
4449 tmp_nm
="$ac_dir/$lt_tmp_nm"
4450 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4451 # Check to see if the nm accepts a BSD-compat flag.
4452 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4453 # nm: unknown option "B" ignored
4454 # Tru64's nm complains that /dev/null is an invalid object file
4455 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4456 */dev
/null
* |
*'Invalid file or object type'*)
4457 lt_cv_path_NM
="$tmp_nm -B"
4461 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4463 lt_cv_path_NM
="$tmp_nm -p"
4467 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4468 continue # so that we can try to find one that supports BSD flags
4477 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4480 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4481 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4484 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4485 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4487 if test "$LN_S" = "ln -s"; then
4488 { echo "$as_me:$LINENO: result: yes" >&5
4489 echo "${ECHO_T}yes" >&6; }
4491 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4492 echo "${ECHO_T}no, using $LN_S" >&6; }
4495 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4496 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4497 if test "${lt_cv_deplibs_check_method+set}" = set; then
4498 echo $ECHO_N "(cached) $ECHO_C" >&6
4500 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4501 lt_cv_file_magic_test_file
=
4502 lt_cv_deplibs_check_method
='unknown'
4503 # Need to set the preceding variable on all platforms that support
4504 # interlibrary dependencies.
4505 # 'none' -- dependencies not supported.
4506 # `unknown' -- same as none, but documents that we really don't know.
4507 # 'pass_all' -- all dependencies passed with no checks.
4508 # 'test_compile' -- check by making test program.
4509 # 'file_magic [[regex]]' -- check by looking for files in library path
4510 # which responds to the $file_magic_cmd with a given extended regex.
4511 # If you have `file' or equivalent on your system and you're not sure
4512 # whether `pass_all' will *always* work, you probably want this one.
4516 lt_cv_deplibs_check_method
=pass_all
4520 lt_cv_deplibs_check_method
=pass_all
4524 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4525 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4526 lt_cv_file_magic_test_file
=/shlib
/libc.so
4530 # func_win32_libid is a shell function defined in ltmain.sh
4531 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4532 lt_cv_file_magic_cmd
='func_win32_libid'
4536 # Base MSYS/MinGW do not provide the 'file' command needed by
4537 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4538 # unless we find 'file', for example because we are cross-compiling.
4539 if ( file / ) >/dev
/null
2>&1; then
4540 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4541 lt_cv_file_magic_cmd
='func_win32_libid'
4543 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4544 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4548 darwin
* | rhapsody
*)
4549 lt_cv_deplibs_check_method
=pass_all
4552 freebsd
* | dragonfly
*)
4553 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4556 # Not sure whether the presence of OpenBSD here was a mistake.
4557 # Let's accept both of them until this is cleared up.
4558 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4559 lt_cv_file_magic_cmd
=/usr
/bin
/file
4560 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4564 lt_cv_deplibs_check_method
=pass_all
4569 lt_cv_deplibs_check_method
=pass_all
4572 hpux10.20
* | hpux11
*)
4573 lt_cv_file_magic_cmd
=/usr
/bin
/file
4576 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4577 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4580 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]'
4581 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4584 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4585 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4591 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4592 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4595 irix5
* | irix6
* | nonstopux
*)
4597 *-32|
*"-32 ") libmagic
=32-bit;;
4598 *-n32|
*"-n32 ") libmagic
=N32
;;
4599 *-64|
*"-64 ") libmagic
=64-bit;;
4600 *) libmagic
=never-match
;;
4602 lt_cv_deplibs_check_method
=pass_all
4605 # This must be Linux ELF.
4606 linux
* | k
*bsd
*-gnu)
4607 lt_cv_deplibs_check_method
=pass_all
4611 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4612 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4614 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4619 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4620 lt_cv_file_magic_cmd
=/usr
/bin
/file
4621 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4625 lt_cv_deplibs_check_method
=unknown
4629 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4630 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4632 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4636 osf3
* | osf4
* | osf5
*)
4637 lt_cv_deplibs_check_method
=pass_all
4641 lt_cv_deplibs_check_method
=pass_all
4645 lt_cv_deplibs_check_method
=pass_all
4649 case $host_vendor in
4651 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]'
4652 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4655 lt_cv_deplibs_check_method
=pass_all
4658 lt_cv_file_magic_cmd
='/bin/file'
4659 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4662 lt_cv_file_magic_cmd
='/bin/file'
4663 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4664 lt_cv_file_magic_test_file
=/lib
/libc.so
4667 lt_cv_deplibs_check_method
=pass_all
4670 lt_cv_deplibs_check_method
=pass_all
4675 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4676 lt_cv_deplibs_check_method
=pass_all
4681 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4682 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4683 file_magic_cmd
=$lt_cv_file_magic_cmd
4684 deplibs_check_method
=$lt_cv_deplibs_check_method
4685 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4690 # If no C compiler was specified, use CC.
4693 # If no C compiler flags were specified, use CFLAGS.
4694 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4696 # Allow CC to be a program name with arguments.
4700 # Check whether --enable-libtool-lock was given.
4701 if test "${enable_libtool_lock+set}" = set; then
4702 enableval
=$enable_libtool_lock;
4705 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4707 # Some flags need to be propagated to the compiler or linker for good
4711 # Find out which ABI we are using.
4712 echo 'int i;' > conftest.
$ac_ext
4713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4714 (eval $ac_compile) 2>&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); }; then
4718 case `/usr/bin/file conftest.$ac_objext` in
4730 # Find out which ABI we are using.
4731 echo '#line 4731 "configure"' > conftest.
$ac_ext
4732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4733 (eval $ac_compile) 2>&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); }; then
4737 if test "$lt_cv_prog_gnu_ld" = yes; then
4738 case `/usr/bin/file conftest.$ac_objext` in
4740 LD
="${LD-ld} -melf32bsmip"
4743 LD
="${LD-ld} -melf32bmipn32"
4746 LD
="${LD-ld} -melf64bmip"
4750 case `/usr/bin/file conftest.$ac_objext` in
4766 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4767 s390
*-*linux
*|sparc
*-*linux
*)
4768 # Find out which ABI we are using.
4769 echo 'int i;' > conftest.
$ac_ext
4770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4771 (eval $ac_compile) 2>&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); }; then
4775 case `/usr/bin/file conftest.o` in
4778 x86_64-
*kfreebsd
*-gnu)
4779 LD
="${LD-ld} -m elf_i386_fbsd"
4782 LD
="${LD-ld} -m elf_i386"
4784 ppc64-
*linux
*|powerpc64-
*linux
*)
4785 LD
="${LD-ld} -m elf32ppclinux"
4788 LD
="${LD-ld} -m elf_s390"
4791 LD
="${LD-ld} -m elf32_sparc"
4797 x86_64-
*kfreebsd
*-gnu)
4798 LD
="${LD-ld} -m elf_x86_64_fbsd"
4801 LD
="${LD-ld} -m elf_x86_64"
4803 ppc
*-*linux
*|powerpc
*-*linux
*)
4804 LD
="${LD-ld} -m elf64ppc"
4807 LD
="${LD-ld} -m elf64_s390"
4810 LD
="${LD-ld} -m elf64_sparc"
4820 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4821 SAVE_CFLAGS
="$CFLAGS"
4822 CFLAGS
="$CFLAGS -belf"
4823 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4824 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4825 if test "${lt_cv_cc_needs_belf+set}" = set; then
4826 echo $ECHO_N "(cached) $ECHO_C" >&6
4829 ac_cpp
='$CPP $CPPFLAGS'
4830 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4831 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4832 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4834 cat >conftest.
$ac_ext <<_ACEOF
4837 cat confdefs.h
>>conftest.
$ac_ext
4838 cat >>conftest.
$ac_ext <<_ACEOF
4839 /* end confdefs.h. */
4849 rm -f conftest.
$ac_objext conftest
$ac_exeext
4850 if { (ac_try
="$ac_link"
4852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4853 *) ac_try_echo=$ac_try;;
4855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4856 (eval "$ac_link") 2>conftest.er1
4858 grep -v '^ *+' conftest.er1 >conftest.err
4860 cat conftest.err >&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); } && {
4863 test -z "$ac_c_werror_flag" ||
4864 test ! -s conftest.err
4865 } && test -s conftest$ac_exeext &&
4866 $as_test_x conftest$ac_exeext; then
4867 lt_cv_cc_needs_belf=yes
4869 echo "$as_me: failed program was:" >&5
4870 sed 's/^/| /' conftest.$ac_ext >&5
4872 lt_cv_cc_needs_belf=no
4875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4876 conftest$ac_exeext conftest.$ac_ext
4878 ac_cpp='$CPP $CPPFLAGS'
4879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4884 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4885 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4886 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4887 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4888 CFLAGS="$SAVE_CFLAGS"
4892 # Find out which ABI we are using.
4893 echo 'int i;' > conftest.$ac_ext
4894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4895 (eval $ac_compile) 2>&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); }; then
4899 case `/usr
/bin
/file conftest.o
` in
4901 case $lt_cv_prog_gnu_ld in
4902 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4904 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4918 need_locks="$enable_libtool_lock"
4922 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4923 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4924 if test "${ac_cv_header_stdc+set}" = set; then
4925 echo $ECHO_N "(cached) $ECHO_C" >&6
4927 cat >conftest.$ac_ext <<_ACEOF
4930 cat confdefs.h >>conftest.$ac_ext
4931 cat >>conftest.$ac_ext <<_ACEOF
4932 /* end confdefs.h. */
4946 rm -f conftest.$ac_objext
4947 if { (ac_try="$ac_compile"
4949 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4950 *) ac_try_echo
=$ac_try;;
4952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4953 (eval "$ac_compile") 2>conftest.er1
4955 grep -v '^ *+' conftest.er1
>conftest.err
4957 cat conftest.err
>&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); } && {
4960 test -z "$ac_c_werror_flag" ||
4961 test ! -s conftest.err
4962 } && test -s conftest.
$ac_objext; then
4963 ac_cv_header_stdc
=yes
4965 echo "$as_me: failed program was:" >&5
4966 sed 's/^/| /' conftest.
$ac_ext >&5
4968 ac_cv_header_stdc
=no
4971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4973 if test $ac_cv_header_stdc = yes; then
4974 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4975 cat >conftest.
$ac_ext <<_ACEOF
4978 cat confdefs.h
>>conftest.
$ac_ext
4979 cat >>conftest.
$ac_ext <<_ACEOF
4980 /* end confdefs.h. */
4984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4985 $EGREP "memchr" >/dev
/null
2>&1; then
4988 ac_cv_header_stdc
=no
4994 if test $ac_cv_header_stdc = yes; then
4995 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4996 cat >conftest.
$ac_ext <<_ACEOF
4999 cat confdefs.h
>>conftest.
$ac_ext
5000 cat >>conftest.
$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5006 $EGREP "free" >/dev
/null
2>&1; then
5009 ac_cv_header_stdc
=no
5015 if test $ac_cv_header_stdc = yes; then
5016 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5017 if test "$cross_compiling" = yes; then
5020 cat >conftest.
$ac_ext <<_ACEOF
5023 cat confdefs.h
>>conftest.
$ac_ext
5024 cat >>conftest.
$ac_ext <<_ACEOF
5025 /* end confdefs.h. */
5028 #if ((' ' & 0x0FF) == 0x020)
5029 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5030 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5032 # define ISLOWER(c) \
5033 (('a' <= (c) && (c) <= 'i') \
5034 || ('j' <= (c) && (c) <= 'r') \
5035 || ('s' <= (c) && (c) <= 'z'))
5036 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5039 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5044 for (i = 0; i < 256; i++)
5045 if (XOR (islower (i), ISLOWER (i))
5046 || toupper (i) != TOUPPER (i))
5051 rm -f conftest
$ac_exeext
5052 if { (ac_try
="$ac_link"
5054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5055 *) ac_try_echo=$ac_try;;
5057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5058 (eval "$ac_link") 2>&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5062 { (case "(($ac_try" in
5063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5064 *) ac_try_echo
=$ac_try;;
5066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5067 (eval "$ac_try") 2>&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); }; }; then
5073 echo "$as_me: program exited with status $ac_status" >&5
5074 echo "$as_me: failed program was:" >&5
5075 sed 's/^/| /' conftest.
$ac_ext >&5
5078 ac_cv_header_stdc
=no
5080 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5086 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5087 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5088 if test $ac_cv_header_stdc = yes; then
5090 cat >>confdefs.h
<<\_ACEOF
5091 #define STDC_HEADERS 1
5096 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5106 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5107 inttypes.h stdint.h unistd.h
5109 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5110 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5112 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5113 echo $ECHO_N "(cached) $ECHO_C" >&6
5115 cat >conftest.
$ac_ext <<_ACEOF
5118 cat confdefs.h
>>conftest.
$ac_ext
5119 cat >>conftest.
$ac_ext <<_ACEOF
5120 /* end confdefs.h. */
5121 $ac_includes_default
5123 #include <$ac_header>
5125 rm -f conftest.
$ac_objext
5126 if { (ac_try
="$ac_compile"
5128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5129 *) ac_try_echo=$ac_try;;
5131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5132 (eval "$ac_compile") 2>conftest.er1
5134 grep -v '^ *+' conftest.er1 >conftest.err
5136 cat conftest.err >&5
5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138 (exit $ac_status); } && {
5139 test -z "$ac_c_werror_flag" ||
5140 test ! -s conftest.err
5141 } && test -s conftest.$ac_objext; then
5142 eval "$as_ac_Header=yes"
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5147 eval "$as_ac_Header=no"
5150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5152 ac_res=`eval echo '${'$as_ac_Header'}'`
5153 { echo "$as_me:$LINENO: result: $ac_res" >&5
5154 echo "${ECHO_T}$ac_res" >&6; }
5155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5156 cat >>confdefs.h <<_ACEOF
5157 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5166 for ac_header in dlfcn.h
5168 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5170 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 ac_res=`eval echo '${'$as_ac_Header'}'`
5176 { echo "$as_me:$LINENO: result: $ac_res" >&5
5177 echo "${ECHO_T}$ac_res" >&6; }
5179 # Is the header compilable?
5180 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5182 cat >conftest.$ac_ext <<_ACEOF
5185 cat confdefs.h >>conftest.$ac_ext
5186 cat >>conftest.$ac_ext <<_ACEOF
5187 /* end confdefs.h. */
5188 $ac_includes_default
5189 #include <$ac_header>
5191 rm -f conftest.$ac_objext
5192 if { (ac_try="$ac_compile"
5194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5195 *) ac_try_echo
=$ac_try;;
5197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5198 (eval "$ac_compile") 2>conftest.er1
5200 grep -v '^ *+' conftest.er1
>conftest.err
5202 cat conftest.err
>&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); } && {
5205 test -z "$ac_c_werror_flag" ||
5206 test ! -s conftest.err
5207 } && test -s conftest.
$ac_objext; then
5208 ac_header_compiler
=yes
5210 echo "$as_me: failed program was:" >&5
5211 sed 's/^/| /' conftest.
$ac_ext >&5
5213 ac_header_compiler
=no
5216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5217 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5218 echo "${ECHO_T}$ac_header_compiler" >&6; }
5220 # Is the header present?
5221 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5223 cat >conftest.
$ac_ext <<_ACEOF
5226 cat confdefs.h
>>conftest.
$ac_ext
5227 cat >>conftest.
$ac_ext <<_ACEOF
5228 /* end confdefs.h. */
5229 #include <$ac_header>
5231 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5234 *) ac_try_echo=$ac_try;;
5236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5237 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5239 grep -v '^ *+' conftest.er1 >conftest.err
5241 cat conftest.err >&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); } >/dev/null && {
5244 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5245 test ! -s conftest.err
5247 ac_header_preproc=yes
5249 echo "$as_me: failed program was:" >&5
5250 sed 's/^/| /' conftest.$ac_ext >&5
5252 ac_header_preproc=no
5255 rm -f conftest.err conftest.$ac_ext
5256 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5257 echo "${ECHO_T}$ac_header_preproc" >&6; }
5259 # So? What about this header?
5260 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5262 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5263 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5265 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5266 ac_header_preproc=yes
5269 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5270 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5271 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5272 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5273 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5274 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5275 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5276 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5278 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5279 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5280 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5284 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5286 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5287 echo $ECHO_N "(cached) $ECHO_C" >&6
5289 eval "$as_ac_Header=\$ac_header_preproc"
5291 ac_res=`eval echo '${'$as_ac_Header'}'`
5292 { echo "$as_me:$LINENO: result: $ac_res" >&5
5293 echo "${ECHO_T}$ac_res" >&6; }
5296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5297 cat >>confdefs.h <<_ACEOF
5298 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5306 ac_cpp='$CXXCPP $CPPFLAGS'
5307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5310 if test -z "$CXX"; then
5311 if test -n "$CCC"; then
5314 if test -n "$ac_tool_prefix"; then
5315 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5317 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5318 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5321 if test "${ac_cv_prog_CXX+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 if test -n "$CXX"; then
5325 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir=.
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 if test -n "$CXX"; then
5346 { echo "$as_me:$LINENO: result: $CXX" >&5
5347 echo "${ECHO_T}$CXX" >&6; }
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5354 test -n "$CXX" && break
5357 if test -z "$CXX"; then
5359 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5361 # Extract the first word of "$ac_prog", so it can be a program name with args.
5362 set dummy $ac_prog; ac_word=$2
5363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5365 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5366 echo $ECHO_N "(cached) $ECHO_C" >&6
5368 if test -n "$ac_ct_CXX"; then
5369 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir=.
5376 for ac_exec_ext in '' $ac_executable_extensions; do
5377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5378 ac_cv_prog_ac_ct_CXX="$ac_prog"
5379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5388 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5389 if test -n "$ac_ct_CXX"; then
5390 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5391 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5393 { echo "$as_me:$LINENO: result: no" >&5
5394 echo "${ECHO_T}no" >&6; }
5398 test -n "$ac_ct_CXX" && break
5401 if test "x$ac_ct_CXX" = x; then
5404 case $cross_compiling:$ac_tool_warned in
5406 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5407 whose name does not start with the host triplet. If you think this
5408 configuration is useful to you, please write to autoconf@gnu.org." >&5
5409 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5410 whose name does not start with the host triplet. If you think this
5411 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5412 ac_tool_warned=yes ;;
5420 # Provide some information about the compiler.
5421 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5422 ac_compiler=`set X
$ac_compile; echo $2`
5423 { (ac_try="$ac_compiler --version >&5"
5425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5426 *) ac_try_echo
=$ac_try;;
5428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5429 (eval "$ac_compiler --version >&5") 2>&5
5431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432 (exit $ac_status); }
5433 { (ac_try
="$ac_compiler -v >&5"
5435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5436 *) ac_try_echo=$ac_try;;
5438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5439 (eval "$ac_compiler -v >&5") 2>&5
5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); }
5443 { (ac_try="$ac_compiler -V >&5"
5445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5446 *) ac_try_echo
=$ac_try;;
5448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5449 (eval "$ac_compiler -V >&5") 2>&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); }
5454 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5455 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5456 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5459 cat >conftest.
$ac_ext <<_ACEOF
5462 cat confdefs.h
>>conftest.
$ac_ext
5463 cat >>conftest.
$ac_ext <<_ACEOF
5464 /* end confdefs.h. */
5477 rm -f conftest.
$ac_objext
5478 if { (ac_try
="$ac_compile"
5480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5481 *) ac_try_echo=$ac_try;;
5483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5484 (eval "$ac_compile") 2>conftest.er1
5486 grep -v '^ *+' conftest.er1 >conftest.err
5488 cat conftest.err >&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); } && {
5491 test -z "$ac_cxx_werror_flag" ||
5492 test ! -s conftest.err
5493 } && test -s conftest.$ac_objext; then
5496 echo "$as_me: failed program was:" >&5
5497 sed 's/^/| /' conftest.$ac_ext >&5
5502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5503 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5506 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5507 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5508 GXX=`test $ac_compiler_gnu = yes && echo yes`
5509 ac_test_CXXFLAGS=${CXXFLAGS+set}
5510 ac_save_CXXFLAGS=$CXXFLAGS
5511 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5512 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5513 if test "${ac_cv_prog_cxx_g+set}" = set; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5516 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5517 ac_cxx_werror_flag=yes
5520 cat >conftest.$ac_ext <<_ACEOF
5523 cat confdefs.h >>conftest.$ac_ext
5524 cat >>conftest.$ac_ext <<_ACEOF
5525 /* end confdefs.h. */
5535 rm -f conftest.$ac_objext
5536 if { (ac_try="$ac_compile"
5538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5539 *) ac_try_echo
=$ac_try;;
5541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5542 (eval "$ac_compile") 2>conftest.er1
5544 grep -v '^ *+' conftest.er1
>conftest.err
5546 cat conftest.err
>&5
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); } && {
5549 test -z "$ac_cxx_werror_flag" ||
5550 test ! -s conftest.err
5551 } && test -s conftest.
$ac_objext; then
5552 ac_cv_prog_cxx_g
=yes
5554 echo "$as_me: failed program was:" >&5
5555 sed 's/^/| /' conftest.
$ac_ext >&5
5558 cat >conftest.
$ac_ext <<_ACEOF
5561 cat confdefs.h
>>conftest.
$ac_ext
5562 cat >>conftest.
$ac_ext <<_ACEOF
5563 /* end confdefs.h. */
5573 rm -f conftest.
$ac_objext
5574 if { (ac_try
="$ac_compile"
5576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5577 *) ac_try_echo=$ac_try;;
5579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5580 (eval "$ac_compile") 2>conftest.er1
5582 grep -v '^ *+' conftest.er1 >conftest.err
5584 cat conftest.err >&5
5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); } && {
5587 test -z "$ac_cxx_werror_flag" ||
5588 test ! -s conftest.err
5589 } && test -s conftest.$ac_objext; then
5592 echo "$as_me: failed program was:" >&5
5593 sed 's/^/| /' conftest.$ac_ext >&5
5595 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5597 cat >conftest.$ac_ext <<_ACEOF
5600 cat confdefs.h >>conftest.$ac_ext
5601 cat >>conftest.$ac_ext <<_ACEOF
5602 /* end confdefs.h. */
5612 rm -f conftest.$ac_objext
5613 if { (ac_try="$ac_compile"
5615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5616 *) ac_try_echo
=$ac_try;;
5618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5619 (eval "$ac_compile") 2>conftest.er1
5621 grep -v '^ *+' conftest.er1
>conftest.err
5623 cat conftest.err
>&5
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); } && {
5626 test -z "$ac_cxx_werror_flag" ||
5627 test ! -s conftest.err
5628 } && test -s conftest.
$ac_objext; then
5629 ac_cv_prog_cxx_g
=yes
5631 echo "$as_me: failed program was:" >&5
5632 sed 's/^/| /' conftest.
$ac_ext >&5
5637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5644 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5646 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5647 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5648 if test "$ac_test_CXXFLAGS" = set; then
5649 CXXFLAGS
=$ac_save_CXXFLAGS
5650 elif test $ac_cv_prog_cxx_g = yes; then
5651 if test "$GXX" = yes; then
5657 if test "$GXX" = yes; then
5664 ac_cpp
='$CXXCPP $CPPFLAGS'
5665 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5666 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5667 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5669 depcc
="$CXX" am_compiler_list
=
5671 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5672 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5673 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5674 echo $ECHO_N "(cached) $ECHO_C" >&6
5676 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5677 # We make a subdir and do the tests there. Otherwise we can end up
5678 # making bogus files that we don't know about and never remove. For
5679 # instance it was reported that on HP-UX the gcc test will end up
5680 # making a dummy file named `D' -- because `-MD' means `put the output
5683 # Copy depcomp to subdir because otherwise we won't find it if we're
5684 # using a relative directory.
5685 cp "$am_depcomp" conftest.dir
5687 # We will build objects and dependencies in a subdirectory because
5688 # it helps to detect inapplicable dependency modes. For instance
5689 # both Tru64's cc and ICC support -MD to output dependencies as a
5690 # side effect of compilation, but ICC will put the dependencies in
5691 # the current directory while Tru64 will put them in the object
5695 am_cv_CXX_dependencies_compiler_type
=none
5696 if test "$am_compiler_list" = ""; then
5697 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5699 for depmode
in $am_compiler_list; do
5700 # Setup a source with many dependencies, because some compilers
5701 # like to wrap large dependency lists on column 80 (with \), and
5702 # we should not choose a depcomp mode which is confused by this.
5704 # We need to recreate these files for each test, as the compiler may
5705 # overwrite some of them when testing with obscure command lines.
5706 # This happens at least with the AIX C compiler.
5708 for i
in 1 2 3 4 5 6; do
5709 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5712 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5716 # after this tag, mechanisms are not by side-effect, so they'll
5717 # only be used when explicitly requested
5718 if test "x$enable_dependency_tracking" = xyes
; then
5726 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5727 # mode. It turns out that the SunPro C++ compiler does not properly
5728 # handle `-M -o', and we need to detect this.
5729 if depmode
=$depmode \
5730 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5731 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5732 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5733 >/dev
/null
2>conftest.err
&&
5734 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5735 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5736 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5737 # icc doesn't choke on unknown options, it will just issue warnings
5738 # (even with -Werror). So we grep stderr for any message
5739 # that says an option was ignored.
5740 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
5741 am_cv_CXX_dependencies_compiler_type
=$depmode
5750 am_cv_CXX_dependencies_compiler_type
=none
5754 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5755 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5756 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5761 test "x$enable_dependency_tracking" != xno \
5762 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5763 am__fastdepCXX_TRUE
=
5764 am__fastdepCXX_FALSE
='#'
5766 am__fastdepCXX_TRUE
='#'
5767 am__fastdepCXX_FALSE
=
5773 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5774 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5775 (test "X$CXX" != "Xg++"))) ; then
5777 ac_cpp
='$CXXCPP $CPPFLAGS'
5778 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5779 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5780 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5781 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5782 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5783 if test -z "$CXXCPP"; then
5784 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5785 echo $ECHO_N "(cached) $ECHO_C" >&6
5787 # Double quotes because CXXCPP needs to be expanded
5788 for CXXCPP
in "$CXX -E" "/lib/cpp"
5791 for ac_cxx_preproc_warn_flag
in '' yes
5793 # Use a header file that comes with gcc, so configuring glibc
5794 # with a fresh cross-compiler works.
5795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5796 # <limits.h> exists even on freestanding compilers.
5797 # On the NeXT, cc -E runs the code through the compiler's parser,
5798 # not just through cpp. "Syntax error" is here to catch this case.
5799 cat >conftest.
$ac_ext <<_ACEOF
5802 cat confdefs.h
>>conftest.
$ac_ext
5803 cat >>conftest.
$ac_ext <<_ACEOF
5804 /* end confdefs.h. */
5806 # include <limits.h>
5808 # include <assert.h>
5812 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5815 *) ac_try_echo=$ac_try;;
5817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5818 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5820 grep -v '^ *+' conftest.er1 >conftest.err
5822 cat conftest.err >&5
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); } >/dev/null && {
5825 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5826 test ! -s conftest.err
5830 echo "$as_me: failed program was:" >&5
5831 sed 's/^/| /' conftest.$ac_ext >&5
5833 # Broken: fails on valid input.
5837 rm -f conftest.err conftest.$ac_ext
5839 # OK, works on sane cases. Now check whether nonexistent headers
5840 # can be detected and how.
5841 cat >conftest.$ac_ext <<_ACEOF
5844 cat confdefs.h >>conftest.$ac_ext
5845 cat >>conftest.$ac_ext <<_ACEOF
5846 /* end confdefs.h. */
5847 #include <ac_nonexistent.h>
5849 if { (ac_try="$ac_cpp conftest.$ac_ext"
5851 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5852 *) ac_try_echo
=$ac_try;;
5854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5855 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5857 grep -v '^ *+' conftest.er1
>conftest.err
5859 cat conftest.err
>&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); } >/dev
/null
&& {
5862 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5863 test ! -s conftest.err
5865 # Broken: success on invalid input.
5868 echo "$as_me: failed program was:" >&5
5869 sed 's/^/| /' conftest.
$ac_ext >&5
5871 # Passes both tests.
5876 rm -f conftest.err conftest.
$ac_ext
5879 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5880 rm -f conftest.err conftest.
$ac_ext
5881 if $ac_preproc_ok; then
5886 ac_cv_prog_CXXCPP
=$CXXCPP
5889 CXXCPP
=$ac_cv_prog_CXXCPP
5891 ac_cv_prog_CXXCPP
=$CXXCPP
5893 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5894 echo "${ECHO_T}$CXXCPP" >&6; }
5896 for ac_cxx_preproc_warn_flag
in '' yes
5898 # Use a header file that comes with gcc, so configuring glibc
5899 # with a fresh cross-compiler works.
5900 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5901 # <limits.h> exists even on freestanding compilers.
5902 # On the NeXT, cc -E runs the code through the compiler's parser,
5903 # not just through cpp. "Syntax error" is here to catch this case.
5904 cat >conftest.
$ac_ext <<_ACEOF
5907 cat confdefs.h
>>conftest.
$ac_ext
5908 cat >>conftest.
$ac_ext <<_ACEOF
5909 /* end confdefs.h. */
5911 # include <limits.h>
5913 # include <assert.h>
5917 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5920 *) ac_try_echo=$ac_try;;
5922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5923 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5925 grep -v '^ *+' conftest.er1 >conftest.err
5927 cat conftest.err >&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); } >/dev/null && {
5930 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5931 test ! -s conftest.err
5935 echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.$ac_ext >&5
5938 # Broken: fails on valid input.
5942 rm -f conftest.err conftest.$ac_ext
5944 # OK, works on sane cases. Now check whether nonexistent headers
5945 # can be detected and how.
5946 cat >conftest.$ac_ext <<_ACEOF
5949 cat confdefs.h >>conftest.$ac_ext
5950 cat >>conftest.$ac_ext <<_ACEOF
5951 /* end confdefs.h. */
5952 #include <ac_nonexistent.h>
5954 if { (ac_try="$ac_cpp conftest.$ac_ext"
5956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5957 *) ac_try_echo
=$ac_try;;
5959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5962 grep -v '^ *+' conftest.er1
>conftest.err
5964 cat conftest.err
>&5
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); } >/dev
/null
&& {
5967 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5968 test ! -s conftest.err
5970 # Broken: success on invalid input.
5973 echo "$as_me: failed program was:" >&5
5974 sed 's/^/| /' conftest.
$ac_ext >&5
5976 # Passes both tests.
5981 rm -f conftest.err conftest.
$ac_ext
5984 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5985 rm -f conftest.err conftest.
$ac_ext
5986 if $ac_preproc_ok; then
5989 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5990 See \`config.log' for more details." >&5
5991 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5992 See \`config.log' for more details." >&2;}
5993 { (exit 1); exit 1; }; }
5997 ac_cpp
='$CXXCPP $CPPFLAGS'
5998 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5999 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6000 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6006 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6007 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6008 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6009 if test -n "$ac_tool_prefix"; then
6010 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
6012 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6013 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6016 if test "${ac_cv_prog_F77+set}" = set; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6019 if test -n "$F77"; then
6020 ac_cv_prog_F77
="$F77" # Let the user override the test.
6022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6026 test -z "$as_dir" && as_dir
=.
6027 for ac_exec_ext
in '' $ac_executable_extensions; do
6028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6029 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6040 if test -n "$F77"; then
6041 { echo "$as_me:$LINENO: result: $F77" >&5
6042 echo "${ECHO_T}$F77" >&6; }
6044 { echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6; }
6049 test -n "$F77" && break
6052 if test -z "$F77"; then
6054 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
6056 # Extract the first word of "$ac_prog", so it can be a program name with args.
6057 set dummy
$ac_prog; ac_word
=$2
6058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6060 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6063 if test -n "$ac_ct_F77"; then
6064 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6070 test -z "$as_dir" && as_dir
=.
6071 for ac_exec_ext
in '' $ac_executable_extensions; do
6072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6073 ac_cv_prog_ac_ct_F77
="$ac_prog"
6074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6084 if test -n "$ac_ct_F77"; then
6085 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6086 echo "${ECHO_T}$ac_ct_F77" >&6; }
6088 { echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6; }
6093 test -n "$ac_ct_F77" && break
6096 if test "x$ac_ct_F77" = x
; then
6099 case $cross_compiling:$ac_tool_warned in
6101 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6102 whose name does not start with the host triplet. If you think this
6103 configuration is useful to you, please write to autoconf@gnu.org." >&5
6104 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6105 whose name does not start with the host triplet. If you think this
6106 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6107 ac_tool_warned
=yes ;;
6114 # Provide some information about the compiler.
6115 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6116 ac_compiler
=`set X $ac_compile; echo $2`
6117 { (ac_try
="$ac_compiler --version >&5"
6119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6120 *) ac_try_echo=$ac_try;;
6122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6123 (eval "$ac_compiler --version >&5") 2>&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }
6127 { (ac_try="$ac_compiler -v >&5"
6129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6130 *) ac_try_echo
=$ac_try;;
6132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6133 (eval "$ac_compiler -v >&5") 2>&5
6135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136 (exit $ac_status); }
6137 { (ac_try
="$ac_compiler -V >&5"
6139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6140 *) ac_try_echo=$ac_try;;
6142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6143 (eval "$ac_compiler -V >&5") 2>&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }
6149 # If we don't use `.F
' as extension, the preprocessor is not run on the
6150 # input file. (Note that this only needs to work for GNU compilers.)
6153 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6154 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6155 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6156 echo $ECHO_N "(cached) $ECHO_C" >&6
6158 cat >conftest.$ac_ext <<_ACEOF
6166 rm -f conftest.$ac_objext
6167 if { (ac_try="$ac_compile"
6169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6170 *) ac_try_echo=$ac_try;;
6172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6173 (eval "$ac_compile") 2>conftest.er1
6175 grep -v '^
*+' conftest.er1 >conftest.err
6177 cat conftest.err >&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); } && {
6180 test -z "$ac_f77_werror_flag" ||
6181 test ! -s conftest.err
6182 } && test -s conftest.$ac_objext; then
6185 echo "$as_me: failed program was:" >&5
6186 sed 's
/^
/|
/' conftest.$ac_ext >&5
6191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6192 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6195 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6196 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6198 ac_test_FFLAGS=${FFLAGS+set}
6199 ac_save_FFLAGS=$FFLAGS
6201 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6202 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6203 if test "${ac_cv_prog_f77_g+set}" = set; then
6204 echo $ECHO_N "(cached) $ECHO_C" >&6
6207 cat >conftest.$ac_ext <<_ACEOF
6212 rm -f conftest.$ac_objext
6213 if { (ac_try="$ac_compile"
6215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6216 *) ac_try_echo=$ac_try;;
6218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6219 (eval "$ac_compile") 2>conftest.er1
6221 grep -v '^
*+' conftest.er1 >conftest.err
6223 cat conftest.err >&5
6224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225 (exit $ac_status); } && {
6226 test -z "$ac_f77_werror_flag" ||
6227 test ! -s conftest.err
6228 } && test -s conftest.$ac_objext; then
6229 ac_cv_prog_f77_g=yes
6231 echo "$as_me: failed program was:" >&5
6232 sed 's
/^
/|
/' conftest.$ac_ext >&5
6237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6240 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6241 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6242 if test "$ac_test_FFLAGS" = set; then
6243 FFLAGS=$ac_save_FFLAGS
6244 elif test $ac_cv_prog_f77_g = yes; then
6245 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6251 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6258 G77=`test $ac_compiler_gnu = yes && echo yes`
6260 ac_cpp='$CPP $CPPFLAGS'
6261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6262 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6267 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6268 # find the maximum length of command line arguments
6269 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6270 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6271 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6279 # On DJGPP, this test can blow up pretty badly due to problems in libc
6280 # (any single argument exceeding 2000 bytes causes a buffer overrun
6281 # during glob expansion). Even if it were fixed, the result of this
6282 # check would be larger than it should be.
6283 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6287 # Under GNU Hurd, this test is not required because there is
6288 # no limit to the length of command line arguments.
6289 # Libtool will interpret -1 as no limit whatsoever
6290 lt_cv_sys_max_cmd_len
=-1;
6294 # On Win9x/ME, this test blows up -- it succeeds, but takes
6295 # about 5 minutes as the teststring grows exponentially.
6296 # Worse, since 9x/ME are not pre-emptively multitasking,
6297 # you end up with a "frozen" computer, even though with patience
6298 # the test eventually succeeds (with a max line length of 256k).
6299 # Instead, let's just punt: use the minimum linelength reported by
6300 # all of the supported platforms: 8192 (on NT/2K/XP).
6301 lt_cv_sys_max_cmd_len
=8192;
6305 # On AmigaOS with pdksh, this test takes hours, literally.
6306 # So we just punt and use a minimum line length of 8192.
6307 lt_cv_sys_max_cmd_len
=8192;
6310 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6311 # This has been around since 386BSD, at least. Likely further.
6312 if test -x /sbin
/sysctl
; then
6313 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6314 elif test -x /usr
/sbin
/sysctl
; then
6315 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6317 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6319 # And add a safety zone
6320 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6321 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6325 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6326 lt_cv_sys_max_cmd_len
=196608
6330 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6331 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6332 # nice to cause kernel panics so lets avoid the loop below.
6333 # First set a reasonable default.
6334 lt_cv_sys_max_cmd_len
=16384
6336 if test -x /sbin
/sysconfig
; then
6337 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6338 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6343 lt_cv_sys_max_cmd_len
=102400
6345 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6346 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6347 if test -n "$kargmax"; then
6348 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6350 lt_cv_sys_max_cmd_len
=32768
6354 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6355 if test -n "$lt_cv_sys_max_cmd_len"; then
6356 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6357 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6359 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6360 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6361 = "XX$teststring") >/dev
/null
2>&1 &&
6362 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6363 lt_cv_sys_max_cmd_len
=$new_result &&
6364 test $i != 17 # 1/2 MB should be enough
6367 teststring
=$teststring$teststring
6370 # Add a significant safety factor because C++ compilers can tack on massive
6371 # amounts of additional arguments before passing them to the linker.
6372 # It appears as though 1/2 is a usable value.
6373 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6380 if test -n $lt_cv_sys_max_cmd_len ; then
6381 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6382 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6384 { echo "$as_me:$LINENO: result: none" >&5
6385 echo "${ECHO_T}none" >&6; }
6392 # Check for command to grab the raw symbol name followed by C symbol from nm.
6393 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6394 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6395 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6396 echo $ECHO_N "(cached) $ECHO_C" >&6
6399 # These are sane defaults that work on at least a few old systems.
6400 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6402 # Character class describing NM global symbol codes.
6403 symcode
='[BCDEGRST]'
6405 # Regexp to match symbols that can be accessed directly from C.
6406 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6408 # Transform an extracted symbol line into a proper C declaration
6409 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6411 # Transform an extracted symbol line into symbol name and symbol address
6412 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'"
6414 # Define system-specific variables.
6419 cygwin
* | mingw
* | pw32
*)
6420 symcode
='[ABCDGISTW]'
6422 hpux
*) # Its linker distinguishes data from code symbols
6423 if test "$host_cpu" = ia64
; then
6424 symcode
='[ABCDEGRST]'
6426 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6427 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'"
6429 linux
* | k
*bsd
*-gnu)
6430 if test "$host_cpu" = ia64
; then
6431 symcode
='[ABCDGIRSTW]'
6432 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6433 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'"
6437 symcode
='[BCDEGRST]'
6440 symcode
='[BCDEGQRST]'
6451 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6459 # Handle CRLF in mingw tool chain
6463 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6467 # If we're using GNU nm, then use its standard symbol codes.
6468 case `$NM -V 2>&1` in
6469 *GNU
* |
*'with BFD'*)
6470 symcode
='[ABCDGIRSTW]' ;;
6473 # Try without a prefix undercore, then with it.
6474 for ac_symprfx
in "" "_"; do
6476 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6477 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6479 # Write the raw and C identifiers.
6480 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6482 # Check to see that the pipe works correctly.
6486 cat > conftest.
$ac_ext <<EOF
6491 void nm_test_func(){}
6495 int main(){nm_test_var='a';nm_test_func();return(0);}
6498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6499 (eval $ac_compile) 2>&5
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); }; then
6503 # Now try to grab the symbols.
6505 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6506 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); } && test -s "$nlist"; then
6510 # Try sorting and uniquifying the output.
6511 if sort "$nlist" |
uniq > "$nlist"T
; then
6512 mv -f "$nlist"T
"$nlist"
6517 # Make sure that we snagged all the symbols we need.
6518 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6519 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6520 cat <<EOF > conftest.$ac_ext
6526 # Now generate the symbol file.
6527 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6529 cat <<EOF >> conftest.$ac_ext
6530 #if defined (__STDC__) && __STDC__
6531 # define lt_ptr_t void *
6533 # define lt_ptr_t char *
6537 /* The mapping between symbol names and symbols. */
6542 lt_preloaded_symbols[] =
6545 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6546 cat <<\EOF
>> conftest.
$ac_ext
6554 # Now try linking the two files.
6555 mv conftest.
$ac_objext conftstm.
$ac_objext
6556 lt_save_LIBS
="$LIBS"
6557 lt_save_CFLAGS
="$CFLAGS"
6558 LIBS
="conftstm.$ac_objext"
6559 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6561 (eval $ac_link) 2>&5
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6567 LIBS
="$lt_save_LIBS"
6568 CFLAGS
="$lt_save_CFLAGS"
6570 echo "cannot find nm_test_func in $nlist" >&5
6573 echo "cannot find nm_test_var in $nlist" >&5
6576 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6579 echo "$progname: failed program was:" >&5
6580 cat conftest.
$ac_ext >&5
6582 rm -rf conftest
* conftst
*
6584 # Do not use the global_symbol_pipe unless it works.
6585 if test "$pipe_works" = yes; then
6588 lt_cv_sys_global_symbol_pipe
=
6594 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6595 lt_cv_sys_global_symbol_to_cdecl
=
6597 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6598 { echo "$as_me:$LINENO: result: failed" >&5
6599 echo "${ECHO_T}failed" >&6; }
6601 { echo "$as_me:$LINENO: result: ok" >&5
6602 echo "${ECHO_T}ok" >&6; }
6605 { echo "$as_me:$LINENO: checking for objdir" >&5
6606 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6607 if test "${lt_cv_objdir+set}" = set; then
6608 echo $ECHO_N "(cached) $ECHO_C" >&6
6610 rm -f .libs
2>/dev
/null
6611 mkdir .libs
2>/dev
/null
6612 if test -d .libs
; then
6615 # MS-DOS does not allow filenames that begin with a dot.
6618 rmdir .libs
2>/dev
/null
6620 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6621 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6622 objdir
=$lt_cv_objdir
6630 # AIX sometimes has problems with the GCC collect2 program. For some
6631 # reason, if we set the COLLECT_NAMES environment variable, the problems
6632 # vanish in a puff of smoke.
6633 if test "X${COLLECT_NAMES+set}" != Xset
; then
6635 export COLLECT_NAMES
6640 # Sed substitution that helps us do robust quoting. It backslashifies
6641 # metacharacters that are still active within double-quoted strings.
6642 Xsed
='sed -e 1s/^X//'
6643 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6645 # Same as above, but do not quote variable references.
6646 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6648 # Sed substitution to delay expansion of an escaped shell variable in a
6649 # double_quote_subst'ed string.
6650 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6652 # Sed substitution to avoid accidental globbing in evaled expressions
6653 no_glob_subst
='s/\*/\\\*/g'
6659 default_ofile
=libtool
6660 can_build_shared
=yes
6662 # All known linkers require a `.a' archive for static linking (except MSVC,
6663 # which needs '.lib').
6665 ltmain
="$ac_aux_dir/ltmain.sh"
6666 ofile
="$default_ofile"
6667 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6669 if test -n "$ac_tool_prefix"; then
6670 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6671 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6674 if test "${ac_cv_prog_AR+set}" = set; then
6675 echo $ECHO_N "(cached) $ECHO_C" >&6
6677 if test -n "$AR"; then
6678 ac_cv_prog_AR
="$AR" # Let the user override the test.
6680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6684 test -z "$as_dir" && as_dir
=.
6685 for ac_exec_ext
in '' $ac_executable_extensions; do
6686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6687 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6698 if test -n "$AR"; then
6699 { echo "$as_me:$LINENO: result: $AR" >&5
6700 echo "${ECHO_T}$AR" >&6; }
6702 { echo "$as_me:$LINENO: result: no" >&5
6703 echo "${ECHO_T}no" >&6; }
6708 if test -z "$ac_cv_prog_AR"; then
6710 # Extract the first word of "ar", so it can be a program name with args.
6711 set dummy
ar; ac_word
=$2
6712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6714 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6715 echo $ECHO_N "(cached) $ECHO_C" >&6
6717 if test -n "$ac_ct_AR"; then
6718 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6724 test -z "$as_dir" && as_dir
=.
6725 for ac_exec_ext
in '' $ac_executable_extensions; do
6726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6727 ac_cv_prog_ac_ct_AR
="ar"
6728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6737 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6738 if test -n "$ac_ct_AR"; then
6739 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6740 echo "${ECHO_T}$ac_ct_AR" >&6; }
6742 { echo "$as_me:$LINENO: result: no" >&5
6743 echo "${ECHO_T}no" >&6; }
6746 if test "x$ac_ct_AR" = x
; then
6749 case $cross_compiling:$ac_tool_warned in
6751 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6752 whose name does not start with the host triplet. If you think this
6753 configuration is useful to you, please write to autoconf@gnu.org." >&5
6754 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6755 whose name does not start with the host triplet. If you think this
6756 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6757 ac_tool_warned
=yes ;;
6765 if test -n "$ac_tool_prefix"; then
6766 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6767 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6770 if test "${ac_cv_prog_RANLIB+set}" = set; then
6771 echo $ECHO_N "(cached) $ECHO_C" >&6
6773 if test -n "$RANLIB"; then
6774 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6780 test -z "$as_dir" && as_dir
=.
6781 for ac_exec_ext
in '' $ac_executable_extensions; do
6782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6783 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6793 RANLIB
=$ac_cv_prog_RANLIB
6794 if test -n "$RANLIB"; then
6795 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6796 echo "${ECHO_T}$RANLIB" >&6; }
6798 { echo "$as_me:$LINENO: result: no" >&5
6799 echo "${ECHO_T}no" >&6; }
6804 if test -z "$ac_cv_prog_RANLIB"; then
6805 ac_ct_RANLIB
=$RANLIB
6806 # Extract the first word of "ranlib", so it can be a program name with args.
6807 set dummy ranlib
; ac_word
=$2
6808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6810 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6811 echo $ECHO_N "(cached) $ECHO_C" >&6
6813 if test -n "$ac_ct_RANLIB"; then
6814 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6820 test -z "$as_dir" && as_dir
=.
6821 for ac_exec_ext
in '' $ac_executable_extensions; do
6822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6823 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6833 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6834 if test -n "$ac_ct_RANLIB"; then
6835 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6836 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6838 { echo "$as_me:$LINENO: result: no" >&5
6839 echo "${ECHO_T}no" >&6; }
6842 if test "x$ac_ct_RANLIB" = x
; then
6845 case $cross_compiling:$ac_tool_warned in
6847 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6848 whose name does not start with the host triplet. If you think this
6849 configuration is useful to you, please write to autoconf@gnu.org." >&5
6850 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6851 whose name does not start with the host triplet. If you think this
6852 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6853 ac_tool_warned
=yes ;;
6855 RANLIB
=$ac_ct_RANLIB
6858 RANLIB
="$ac_cv_prog_RANLIB"
6861 if test -n "$ac_tool_prefix"; then
6862 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6863 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6866 if test "${ac_cv_prog_STRIP+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6869 if test -n "$STRIP"; then
6870 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6876 test -z "$as_dir" && as_dir
=.
6877 for ac_exec_ext
in '' $ac_executable_extensions; do
6878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6879 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6889 STRIP
=$ac_cv_prog_STRIP
6890 if test -n "$STRIP"; then
6891 { echo "$as_me:$LINENO: result: $STRIP" >&5
6892 echo "${ECHO_T}$STRIP" >&6; }
6894 { echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6; }
6900 if test -z "$ac_cv_prog_STRIP"; then
6902 # Extract the first word of "strip", so it can be a program name with args.
6903 set dummy strip
; ac_word
=$2
6904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6906 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6907 echo $ECHO_N "(cached) $ECHO_C" >&6
6909 if test -n "$ac_ct_STRIP"; then
6910 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6916 test -z "$as_dir" && as_dir
=.
6917 for ac_exec_ext
in '' $ac_executable_extensions; do
6918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6919 ac_cv_prog_ac_ct_STRIP
="strip"
6920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6929 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6930 if test -n "$ac_ct_STRIP"; then
6931 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6932 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6934 { echo "$as_me:$LINENO: result: no" >&5
6935 echo "${ECHO_T}no" >&6; }
6938 if test "x$ac_ct_STRIP" = x
; then
6941 case $cross_compiling:$ac_tool_warned in
6943 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6944 whose name does not start with the host triplet. If you think this
6945 configuration is useful to you, please write to autoconf@gnu.org." >&5
6946 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6947 whose name does not start with the host triplet. If you think this
6948 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6949 ac_tool_warned
=yes ;;
6954 STRIP
="$ac_cv_prog_STRIP"
6959 old_CFLAGS
="$CFLAGS"
6961 # Set sane defaults for various variables
6962 test -z "$AR" && AR
=ar
6963 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6964 test -z "$AS" && AS
=as
6965 test -z "$CC" && CC
=cc
6966 test -z "$LTCC" && LTCC
=$CC
6967 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6968 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6969 test -z "$LD" && LD
=ld
6970 test -z "$LN_S" && LN_S
="ln -s"
6971 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6972 test -z "$NM" && NM
=nm
6973 test -z "$SED" && SED
=sed
6974 test -z "$OBJDUMP" && OBJDUMP
=objdump
6975 test -z "$RANLIB" && RANLIB
=:
6976 test -z "$STRIP" && STRIP
=:
6977 test -z "$ac_objext" && ac_objext
=o
6979 # Determine commands to create old-style static archives.
6980 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6981 old_postinstall_cmds
='chmod 644 $oldlib'
6982 old_postuninstall_cmds
=
6984 if test -n "$RANLIB"; then
6987 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6990 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6993 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6996 for cc_temp
in $compiler""; do
6998 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6999 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7004 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7007 # Only perform the check for file, if the check method requires it
7008 case $deplibs_check_method in
7010 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7011 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7012 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7013 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7014 echo $ECHO_N "(cached) $ECHO_C" >&6
7018 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7021 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7022 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7023 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7024 for ac_dir
in $ac_dummy; do
7026 test -z "$ac_dir" && ac_dir
=.
7027 if test -f $ac_dir/${ac_tool_prefix}file; then
7028 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7029 if test -n "$file_magic_test_file"; then
7030 case $deplibs_check_method in
7032 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7033 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7034 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7035 $EGREP "$file_magic_regex" > /dev
/null
; then
7040 *** Warning: the command libtool uses to detect shared libraries,
7041 *** $file_magic_cmd, produces output that libtool cannot recognize.
7042 *** The result is that libtool may fail to recognize shared libraries
7043 *** as such. This will affect the creation of libtool libraries that
7044 *** depend on shared libraries, but programs linked with such libtool
7045 *** libraries will work regardless of this problem. Nevertheless, you
7046 *** may want to report the problem to your system manager and/or to
7047 *** bug-libtool@gnu.org
7057 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7062 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7063 if test -n "$MAGIC_CMD"; then
7064 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7065 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7067 { echo "$as_me:$LINENO: result: no" >&5
7068 echo "${ECHO_T}no" >&6; }
7071 if test -z "$lt_cv_path_MAGIC_CMD"; then
7072 if test -n "$ac_tool_prefix"; then
7073 { echo "$as_me:$LINENO: checking for file" >&5
7074 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7075 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7076 echo $ECHO_N "(cached) $ECHO_C" >&6
7080 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7083 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7084 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7085 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7086 for ac_dir
in $ac_dummy; do
7088 test -z "$ac_dir" && ac_dir
=.
7089 if test -f $ac_dir/file; then
7090 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7091 if test -n "$file_magic_test_file"; then
7092 case $deplibs_check_method in
7094 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7095 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7096 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7097 $EGREP "$file_magic_regex" > /dev
/null
; then
7102 *** Warning: the command libtool uses to detect shared libraries,
7103 *** $file_magic_cmd, produces output that libtool cannot recognize.
7104 *** The result is that libtool may fail to recognize shared libraries
7105 *** as such. This will affect the creation of libtool libraries that
7106 *** depend on shared libraries, but programs linked with such libtool
7107 *** libraries will work regardless of this problem. Nevertheless, you
7108 *** may want to report the problem to your system manager and/or to
7109 *** bug-libtool@gnu.org
7119 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7124 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7125 if test -n "$MAGIC_CMD"; then
7126 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7127 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7129 { echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6; }
7144 rhapsody
* | darwin
*)
7145 if test -n "$ac_tool_prefix"; then
7146 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7147 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7148 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7150 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7151 echo $ECHO_N "(cached) $ECHO_C" >&6
7153 if test -n "$DSYMUTIL"; then
7154 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7160 test -z "$as_dir" && as_dir
=.
7161 for ac_exec_ext
in '' $ac_executable_extensions; do
7162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7163 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7173 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7174 if test -n "$DSYMUTIL"; then
7175 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7176 echo "${ECHO_T}$DSYMUTIL" >&6; }
7178 { echo "$as_me:$LINENO: result: no" >&5
7179 echo "${ECHO_T}no" >&6; }
7184 if test -z "$ac_cv_prog_DSYMUTIL"; then
7185 ac_ct_DSYMUTIL
=$DSYMUTIL
7186 # Extract the first word of "dsymutil", so it can be a program name with args.
7187 set dummy dsymutil
; ac_word
=$2
7188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7190 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7193 if test -n "$ac_ct_DSYMUTIL"; then
7194 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7200 test -z "$as_dir" && as_dir
=.
7201 for ac_exec_ext
in '' $ac_executable_extensions; do
7202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7203 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7213 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7214 if test -n "$ac_ct_DSYMUTIL"; then
7215 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7216 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7218 { echo "$as_me:$LINENO: result: no" >&5
7219 echo "${ECHO_T}no" >&6; }
7222 if test "x$ac_ct_DSYMUTIL" = x
; then
7225 case $cross_compiling:$ac_tool_warned in
7227 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7228 whose name does not start with the host triplet. If you think this
7229 configuration is useful to you, please write to autoconf@gnu.org." >&5
7230 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7231 whose name does not start with the host triplet. If you think this
7232 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7233 ac_tool_warned
=yes ;;
7235 DSYMUTIL
=$ac_ct_DSYMUTIL
7238 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7241 if test -n "$ac_tool_prefix"; then
7242 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7243 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7246 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7247 echo $ECHO_N "(cached) $ECHO_C" >&6
7249 if test -n "$NMEDIT"; then
7250 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7256 test -z "$as_dir" && as_dir
=.
7257 for ac_exec_ext
in '' $ac_executable_extensions; do
7258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7259 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7269 NMEDIT
=$ac_cv_prog_NMEDIT
7270 if test -n "$NMEDIT"; then
7271 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7272 echo "${ECHO_T}$NMEDIT" >&6; }
7274 { echo "$as_me:$LINENO: result: no" >&5
7275 echo "${ECHO_T}no" >&6; }
7280 if test -z "$ac_cv_prog_NMEDIT"; then
7281 ac_ct_NMEDIT
=$NMEDIT
7282 # Extract the first word of "nmedit", so it can be a program name with args.
7283 set dummy nmedit
; ac_word
=$2
7284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7286 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7287 echo $ECHO_N "(cached) $ECHO_C" >&6
7289 if test -n "$ac_ct_NMEDIT"; then
7290 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7296 test -z "$as_dir" && as_dir
=.
7297 for ac_exec_ext
in '' $ac_executable_extensions; do
7298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7299 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7309 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7310 if test -n "$ac_ct_NMEDIT"; then
7311 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7312 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7314 { echo "$as_me:$LINENO: result: no" >&5
7315 echo "${ECHO_T}no" >&6; }
7318 if test "x$ac_ct_NMEDIT" = x
; then
7321 case $cross_compiling:$ac_tool_warned in
7323 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7324 whose name does not start with the host triplet. If you think this
7325 configuration is useful to you, please write to autoconf@gnu.org." >&5
7326 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7327 whose name does not start with the host triplet. If you think this
7328 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7329 ac_tool_warned
=yes ;;
7331 NMEDIT
=$ac_ct_NMEDIT
7334 NMEDIT
="$ac_cv_prog_NMEDIT"
7338 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7339 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7340 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7341 echo $ECHO_N "(cached) $ECHO_C" >&6
7343 lt_cv_apple_cc_single_mod
=no
7344 if test -z "${LT_MULTI_MODULE}"; then
7345 # By default we will add the -single_module flag. You can override
7346 # by either setting the environment variable LT_MULTI_MODULE
7347 # non-empty at configure time, or by adding -multi_module to the
7349 echo "int foo(void){return 1;}" > conftest.c
7350 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7351 -dynamiclib ${wl}-single_module conftest.c
7352 if test -f libconftest.dylib
; then
7353 lt_cv_apple_cc_single_mod
=yes
7354 rm -rf libconftest.dylib
*
7359 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7360 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7361 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7362 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7363 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7364 echo $ECHO_N "(cached) $ECHO_C" >&6
7366 lt_cv_ld_exported_symbols_list
=no
7367 save_LDFLAGS
=$LDFLAGS
7368 echo "_main" > conftest.sym
7369 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7370 cat >conftest.
$ac_ext <<_ACEOF
7373 cat confdefs.h
>>conftest.
$ac_ext
7374 cat >>conftest.
$ac_ext <<_ACEOF
7375 /* end confdefs.h. */
7385 rm -f conftest.
$ac_objext conftest
$ac_exeext
7386 if { (ac_try
="$ac_link"
7388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7389 *) ac_try_echo=$ac_try;;
7391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7392 (eval "$ac_link") 2>conftest.er1
7394 grep -v '^ *+' conftest.er1 >conftest.err
7396 cat conftest.err >&5
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); } && {
7399 test -z "$ac_c_werror_flag" ||
7400 test ! -s conftest.err
7401 } && test -s conftest$ac_exeext &&
7402 $as_test_x conftest$ac_exeext; then
7403 lt_cv_ld_exported_symbols_list=yes
7405 echo "$as_me: failed program was:" >&5
7406 sed 's/^/| /' conftest.$ac_ext >&5
7408 lt_cv_ld_exported_symbols_list=no
7411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7412 conftest$ac_exeext conftest.$ac_ext
7413 LDFLAGS="$save_LDFLAGS"
7416 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7417 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7419 rhapsody* | darwin1.[0123])
7420 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7422 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7424 # if running on 10.5 or later, the deployment target defaults
7425 # to the OS version, if on x86, and 10.4, the deployment
7426 # target defaults to 10.4. Don't you love it?
7427 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7428 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7429 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7431 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7433 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7437 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7438 _lt_dar_single_mod='$single_module'
7440 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7441 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7443 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7445 if test "$DSYMUTIL" != ":"; then
7446 _lt_dsymutil="~$DSYMUTIL \$lib || :"
7457 # Check whether --enable-libtool-lock was given.
7458 if test "${enable_libtool_lock+set}" = set; then
7459 enableval=$enable_libtool_lock;
7462 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7465 # Check whether --with-pic was given.
7466 if test "${with_pic+set}" = set; then
7467 withval=$with_pic; pic_mode="$withval"
7472 test -z "$pic_mode" && pic_mode=default
7474 # Use C for the default configuration in the libtool script
7478 ac_cpp='$CPP $CPPFLAGS'
7479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7484 # Source file extension for C test sources.
7487 # Object file extension for compiled C test sources.
7491 # Code to be used in simple compile tests
7492 lt_simple_compile_test_code="int some_variable = 0;"
7494 # Code to be used in simple link tests
7495 lt_simple_link_test_code='int main(){return(0);}'
7498 # If no C compiler was specified, use CC.
7501 # If no C compiler flags were specified, use CFLAGS.
7502 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7504 # Allow CC to be a program name with arguments.
7508 # save warnings/boilerplate of simple test code
7509 ac_outfile=conftest.$ac_objext
7510 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7511 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7512 _lt_compiler_boilerplate=`cat conftest.err
`
7515 ac_outfile=conftest.$ac_objext
7516 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7517 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7518 _lt_linker_boilerplate=`cat conftest.err
`
7523 lt_prog_compiler_no_builtin_flag=
7525 if test "$GCC" = yes; then
7526 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7529 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7530 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7531 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7532 echo $ECHO_N "(cached) $ECHO_C" >&6
7534 lt_cv_prog_compiler_rtti_exceptions=no
7535 ac_outfile=conftest.$ac_objext
7536 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7537 lt_compiler_flag="-fno-rtti -fno-exceptions"
7538 # Insert the option either (1) after the last *FLAGS variable, or
7539 # (2) before a word containing "conftest.", or (3) at the end.
7540 # Note that $ac_compile itself does not contain backslashes and begins
7541 # with a dollar sign (not a hyphen), so the echo should work correctly.
7542 # The option is referenced via a variable to avoid confusing sed.
7543 lt_compile=`echo "$ac_compile" |
$SED \
7544 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7545 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7546 -e 's:$: $lt_compiler_flag:'`
7547 (eval echo "\"\$as_me:7547: $lt_compile\"" >&5)
7548 (eval "$lt_compile" 2>conftest.err)
7550 cat conftest.err >&5
7551 echo "$as_me:7551: \$? = $ac_status" >&5
7552 if (exit $ac_status) && test -s "$ac_outfile"; then
7553 # The compiler can only warn and ignore the option if not recognized
7554 # So say no if there are warnings other than the usual output.
7555 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7556 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7557 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7558 lt_cv_prog_compiler_rtti_exceptions=yes
7564 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7565 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7567 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7568 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7575 lt_prog_compiler_wl=
7576 lt_prog_compiler_pic=
7577 lt_prog_compiler_static=
7579 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7580 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7582 if test "$GCC" = yes; then
7583 lt_prog_compiler_wl='-Wl,'
7584 lt_prog_compiler_static='-static'
7588 # All AIX code is PIC.
7589 if test "$host_cpu" = ia64; then
7590 # AIX 5 now supports IA64 processor
7591 lt_prog_compiler_static='-Bstatic'
7596 # FIXME: we need at least 68020 code to build shared libraries, but
7597 # adding the `-m68020' flag to GCC prevents building anything better,
7599 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7602 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7603 # PIC is the default for these OSes.
7606 mingw
* | cygwin
* | pw32
* | os2
*)
7607 # This hack is so that the source file can tell whether it is being
7608 # built for inclusion in a dll (and should export symbols for example).
7609 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7610 # (--disable-auto-import) libraries
7611 lt_prog_compiler_pic
='-DDLL_EXPORT'
7614 darwin
* | rhapsody
*)
7615 # PIC is the default on this platform
7616 # Common symbols not allowed in MH_DYLIB files
7617 lt_prog_compiler_pic
='-fno-common'
7621 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7622 # Instead, we relocate shared libraries at runtime.
7626 # Just because we use GCC doesn't mean we suddenly get shared libraries
7627 # on systems that don't support them.
7628 lt_prog_compiler_can_build_shared
=no
7633 if test -d /usr
/nec
; then
7634 lt_prog_compiler_pic
=-Kconform_pic
7639 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7646 lt_prog_compiler_pic
='-fPIC'
7652 lt_prog_compiler_pic
='-fPIC'
7656 # PORTME Check for flag to pass linker flags through the system compiler.
7659 lt_prog_compiler_wl
='-Wl,'
7660 if test "$host_cpu" = ia64
; then
7661 # AIX 5 now supports IA64 processor
7662 lt_prog_compiler_static
='-Bstatic'
7664 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7668 # PIC is the default on this platform
7669 # Common symbols not allowed in MH_DYLIB files
7670 case $cc_basename in
7672 lt_prog_compiler_pic
='-qnocommon'
7673 lt_prog_compiler_wl
='-Wl,'
7678 mingw
* | cygwin
* | pw32
* | os2
*)
7679 # This hack is so that the source file can tell whether it is being
7680 # built for inclusion in a dll (and should export symbols for example).
7681 lt_prog_compiler_pic
='-DDLL_EXPORT'
7684 hpux9
* | hpux10
* | hpux11
*)
7685 lt_prog_compiler_wl
='-Wl,'
7686 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7693 lt_prog_compiler_pic
='+Z'
7696 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7697 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7700 irix5
* | irix6
* | nonstopux
*)
7701 lt_prog_compiler_wl
='-Wl,'
7702 # PIC (with -KPIC) is the default.
7703 lt_prog_compiler_static
='-non_shared'
7707 lt_prog_compiler_pic
='-KPIC'
7708 lt_prog_compiler_static
='-Bstatic'
7711 linux
* | k
*bsd
*-gnu)
7712 case $cc_basename in
7714 lt_prog_compiler_wl
='-Wl,'
7715 lt_prog_compiler_pic
='-KPIC'
7716 lt_prog_compiler_static
='-static'
7718 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7719 # Portland Group compilers (*not* the Pentium gcc compiler,
7720 # which looks to be a dead project)
7721 lt_prog_compiler_wl
='-Wl,'
7722 lt_prog_compiler_pic
='-fpic'
7723 lt_prog_compiler_static
='-Bstatic'
7726 lt_prog_compiler_wl
='-Wl,'
7727 # All Alpha code is PIC.
7728 lt_prog_compiler_static
='-non_shared'
7731 case `$CC -V 2>&1 | sed 5q` in
7734 lt_prog_compiler_pic
='-KPIC'
7735 lt_prog_compiler_static
='-Bstatic'
7736 lt_prog_compiler_wl
='-Wl,'
7739 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7740 lt_prog_compiler_pic
='-KPIC'
7741 lt_prog_compiler_static
='-Bstatic'
7742 lt_prog_compiler_wl
=''
7749 osf3
* | osf4
* | osf5
*)
7750 lt_prog_compiler_wl
='-Wl,'
7751 # All OSF/1 code is PIC.
7752 lt_prog_compiler_static
='-non_shared'
7756 lt_prog_compiler_static
='-non_shared'
7760 lt_prog_compiler_pic
='-KPIC'
7761 lt_prog_compiler_static
='-Bstatic'
7762 case $cc_basename in
7764 lt_prog_compiler_wl
='-Qoption ld ';;
7766 lt_prog_compiler_wl
='-Wl,';;
7771 lt_prog_compiler_wl
='-Qoption ld '
7772 lt_prog_compiler_pic
='-PIC'
7773 lt_prog_compiler_static
='-Bstatic'
7776 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7777 lt_prog_compiler_wl
='-Wl,'
7778 lt_prog_compiler_pic
='-KPIC'
7779 lt_prog_compiler_static
='-Bstatic'
7783 if test -d /usr
/nec
;then
7784 lt_prog_compiler_pic
='-Kconform_pic'
7785 lt_prog_compiler_static
='-Bstatic'
7789 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7790 lt_prog_compiler_wl
='-Wl,'
7791 lt_prog_compiler_pic
='-KPIC'
7792 lt_prog_compiler_static
='-Bstatic'
7796 lt_prog_compiler_wl
='-Wl,'
7797 lt_prog_compiler_can_build_shared
=no
7801 lt_prog_compiler_pic
='-pic'
7802 lt_prog_compiler_static
='-Bstatic'
7806 lt_prog_compiler_can_build_shared
=no
7811 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7812 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7815 # Check to make sure the PIC flag actually works.
7817 if test -n "$lt_prog_compiler_pic"; then
7819 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7820 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7821 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7822 echo $ECHO_N "(cached) $ECHO_C" >&6
7824 lt_cv_prog_compiler_pic_works
=no
7825 ac_outfile
=conftest.
$ac_objext
7826 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7827 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7828 # Insert the option either (1) after the last *FLAGS variable, or
7829 # (2) before a word containing "conftest.", or (3) at the end.
7830 # Note that $ac_compile itself does not contain backslashes and begins
7831 # with a dollar sign (not a hyphen), so the echo should work correctly.
7832 # The option is referenced via a variable to avoid confusing sed.
7833 lt_compile
=`echo "$ac_compile" | $SED \
7834 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7835 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7836 -e 's:$: $lt_compiler_flag:'`
7837 (eval echo "\"\$as_me:7837: $lt_compile\"" >&5)
7838 (eval "$lt_compile" 2>conftest.err
)
7840 cat conftest.err
>&5
7841 echo "$as_me:7841: \$? = $ac_status" >&5
7842 if (exit $ac_status) && test -s "$ac_outfile"; then
7843 # The compiler can only warn and ignore the option if not recognized
7844 # So say no if there are warnings other than the usual output.
7845 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7846 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7847 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7848 lt_cv_prog_compiler_pic_works
=yes
7854 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7855 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7857 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7858 case $lt_prog_compiler_pic in
7860 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7863 lt_prog_compiler_pic
=
7864 lt_prog_compiler_can_build_shared
=no
7869 # For platforms which do not support PIC, -DPIC is meaningless:
7871 lt_prog_compiler_pic
=
7874 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7879 # Check to make sure the static flag actually works.
7881 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7882 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7883 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7884 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7885 echo $ECHO_N "(cached) $ECHO_C" >&6
7887 lt_cv_prog_compiler_static_works
=no
7888 save_LDFLAGS
="$LDFLAGS"
7889 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7890 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7891 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7892 # The linker can only warn and ignore the option if not recognized
7893 # So say no if there are warnings
7894 if test -s conftest.err
; then
7895 # Append any errors to the config.log.
7896 cat conftest.err
1>&5
7897 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7898 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7899 if diff conftest.exp conftest.er2
>/dev
/null
; then
7900 lt_cv_prog_compiler_static_works
=yes
7903 lt_cv_prog_compiler_static_works
=yes
7907 LDFLAGS
="$save_LDFLAGS"
7910 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7911 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7913 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7916 lt_prog_compiler_static
=
7920 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7921 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7922 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7925 lt_cv_prog_compiler_c_o
=no
7926 $rm -r conftest
2>/dev
/null
7930 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7932 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7933 # Insert the option either (1) after the last *FLAGS variable, or
7934 # (2) before a word containing "conftest.", or (3) at the end.
7935 # Note that $ac_compile itself does not contain backslashes and begins
7936 # with a dollar sign (not a hyphen), so the echo should work correctly.
7937 lt_compile
=`echo "$ac_compile" | $SED \
7938 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7939 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7940 -e 's:$: $lt_compiler_flag:'`
7941 (eval echo "\"\$as_me:7941: $lt_compile\"" >&5)
7942 (eval "$lt_compile" 2>out
/conftest.err
)
7944 cat out
/conftest.err
>&5
7945 echo "$as_me:7945: \$? = $ac_status" >&5
7946 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7948 # The compiler can only warn and ignore the option if not recognized
7949 # So say no if there are warnings
7950 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7951 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7952 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7953 lt_cv_prog_compiler_c_o
=yes
7958 # SGI C++ compiler will create directory out/ii_files/ for
7959 # template instantiation
7960 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7961 $rm out
/* && rmdir out
7967 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7968 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7971 hard_links
="nottested"
7972 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7973 # do not overwrite the value of need_locks provided by the user
7974 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7975 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7978 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7980 ln conftest.a conftest.b
2>&5 || hard_links
=no
7981 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7982 { echo "$as_me:$LINENO: result: $hard_links" >&5
7983 echo "${ECHO_T}$hard_links" >&6; }
7984 if test "$hard_links" = no
; then
7985 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7986 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7993 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7994 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7997 allow_undefined_flag
=
7998 enable_shared_with_static_runtimes
=no
8000 archive_expsym_cmds
=
8001 old_archive_From_new_cmds
=
8002 old_archive_from_expsyms_cmds
=
8003 export_dynamic_flag_spec
=
8004 whole_archive_flag_spec
=
8005 thread_safe_flag_spec
=
8006 hardcode_libdir_flag_spec
=
8007 hardcode_libdir_flag_spec_ld
=
8008 hardcode_libdir_separator
=
8011 hardcode_shlibpath_var
=unsupported
8012 link_all_deplibs
=unknown
8013 hardcode_automatic
=no
8016 always_export_symbols
=no
8017 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8018 # include_expsyms should be a list of space-separated symbols to be *always*
8019 # included in the symbol list
8021 # exclude_expsyms can be an extended regexp of symbols to exclude
8022 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8023 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8024 # as well as any symbol that contains `d'.
8025 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8026 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8027 # platforms (ab)use it in PIC code, but their linkers get confused if
8028 # the symbol is explicitly referenced. Since portable code cannot
8029 # rely on this symbol name, it's probably fine to never include it in
8030 # preloaded symbol tables.
8031 # Exclude shared library initialization/finalization symbols.
8032 extract_expsyms_cmds
=
8033 # Just being paranoid about ensuring that cc_basename is set.
8034 for cc_temp
in $compiler""; do
8036 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8037 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8042 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8045 cygwin
* | mingw
* | pw32
*)
8046 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8047 # When not using gcc, we currently assume that we are using
8048 # Microsoft Visual C++.
8049 if test "$GCC" != yes; then
8054 # we just hope/assume this is gcc and not c89 (= MSVC++)
8063 if test "$with_gnu_ld" = yes; then
8064 # If archive_cmds runs LD, not CC, wlarc should be empty
8067 # Set some defaults for GNU ld with shared library support. These
8068 # are reset later if shared libraries are not supported. Putting them
8069 # here allows them to be overridden if necessary.
8070 runpath_var
=LD_RUN_PATH
8071 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8072 export_dynamic_flag_spec
='${wl}--export-dynamic'
8073 # ancient GNU ld didn't support --whole-archive et. al.
8074 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8075 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8077 whole_archive_flag_spec
=
8079 supports_anon_versioning
=no
8080 case `$LD -v 2>/dev/null` in
8081 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8082 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8083 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8084 *\
2.11.
*) ;; # other 2.11 versions
8085 *) supports_anon_versioning
=yes ;;
8088 # See if GNU ld supports shared libraries.
8091 # On AIX/PPC, the GNU linker is very broken
8092 if test "$host_cpu" != ia64
; then
8096 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8097 *** to be unable to reliably create shared libraries on AIX.
8098 *** Therefore, libtool is disabling shared libraries support. If you
8099 *** really care for shared libraries, you may want to modify your PATH
8100 *** so that a non-GNU linker is found, and then restart.
8107 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)'
8108 hardcode_libdir_flag_spec
='-L$libdir'
8109 hardcode_minus_L
=yes
8111 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8112 # that the semantics of dynamic libraries on AmigaOS, at least up
8113 # to version 4, is to share data among multiple programs linked
8114 # with the same dynamic library. Since this doesn't match the
8115 # behavior of shared libraries on other platforms, we can't use
8121 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8122 allow_undefined_flag
=unsupported
8123 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8124 # support --undefined. This deserves some investigation. FIXME
8125 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8131 cygwin
* | mingw
* | pw32
*)
8132 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8133 # as there is no search path for DLLs.
8134 hardcode_libdir_flag_spec
='-L$libdir'
8135 allow_undefined_flag
=unsupported
8136 always_export_symbols
=no
8137 enable_shared_with_static_runtimes
=yes
8138 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8140 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8141 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8142 # If the export-symbols file already is a .def file (1st line
8143 # is EXPORTS), use it as is; otherwise, prepend...
8144 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8145 cp $export_symbols $output_objdir/$soname.def;
8147 echo EXPORTS > $output_objdir/$soname.def;
8148 cat $export_symbols >> $output_objdir/$soname.def;
8150 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8158 hardcode_shlibpath_var
=no
8159 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8160 export_dynamic_flag_spec
='${wl}-E'
8161 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8162 # Instead, shared libraries are loaded at an image base (0x10000000 by
8163 # default) and relocated if they conflict, which is a slow very memory
8164 # consuming and fragmenting process. To avoid this, we pick a random,
8165 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8166 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8167 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8168 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'
8171 gnu
* | linux
* | k
*bsd
*-gnu)
8172 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8174 case $cc_basename,$host_cpu in
8175 pgcc
*) # Portland Group C compiler
8176 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'
8177 tmp_addflag
=' $pic_flag'
8179 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8180 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'
8181 tmp_addflag
=' $pic_flag -Mnomain' ;;
8182 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8183 tmp_addflag
=' -i_dynamic' ;;
8184 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8185 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8186 ifc
* | ifort
*) # Intel Fortran compiler
8187 tmp_addflag
=' -nofor_main' ;;
8189 case `$CC -V 2>&1 | sed 5q` in
8190 *Sun\ C
*) # Sun C 5.9
8191 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8192 tmp_sharedflag
='-G' ;;
8193 *Sun\ F
*) # Sun Fortran 8.3
8194 tmp_sharedflag
='-G' ;;
8196 tmp_sharedflag
='-shared' ;;
8198 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8200 if test $supports_anon_versioning = yes; then
8201 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8202 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8203 $echo "local: *; };" >> $output_objdir/$libname.ver~
8204 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8212 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8213 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8216 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8217 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8222 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8226 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8227 *** create shared libraries on Solaris systems. Therefore, libtool
8228 *** is disabling shared libraries support. We urge you to upgrade GNU
8229 *** binutils to release 2.9.1 or newer. Another option is to modify
8230 *** your PATH or compiler configuration so that the native linker is
8231 *** used, and then restart.
8234 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8235 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8236 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8242 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8243 case `$LD -v 2>&1` in
8244 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8248 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8249 *** reliably create shared libraries on SCO systems. Therefore, libtool
8250 *** is disabling shared libraries support. We urge you to upgrade GNU
8251 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8252 *** your PATH or compiler configuration so that the native linker is
8253 *** used, and then restart.
8258 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8259 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8260 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8261 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8270 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8273 hardcode_shlibpath_var
=no
8277 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8278 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8279 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8286 if test "$ld_shlibs" = no
; then
8288 hardcode_libdir_flag_spec
=
8289 export_dynamic_flag_spec
=
8290 whole_archive_flag_spec
=
8293 # PORTME fill in a description of your system's linker (not GNU ld)
8296 allow_undefined_flag
=unsupported
8297 always_export_symbols
=yes
8298 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'
8299 # Note: this linker hardcodes the directories in LIBPATH if there
8300 # are no directories specified by -L.
8301 hardcode_minus_L
=yes
8302 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8303 # Neither direct hardcoding nor static linking is supported with a
8305 hardcode_direct
=unsupported
8310 if test "$host_cpu" = ia64
; then
8311 # On IA64, the linker does run time linking by default, so we don't
8312 # have to do anything special.
8313 aix_use_runtimelinking
=no
8314 exp_sym_flag
='-Bexport'
8317 # If we're using GNU nm, then we don't want the "-C" option.
8318 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8319 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8320 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'
8322 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'
8324 aix_use_runtimelinking
=no
8326 # Test if we are trying to use run time linking or normal
8327 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8328 # need to do runtime linking.
8329 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8330 for ld_flag
in $LDFLAGS; do
8331 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8332 aix_use_runtimelinking
=yes
8339 exp_sym_flag
='-bexport'
8340 no_entry_flag
='-bnoentry'
8343 # When large executables or shared objects are built, AIX ld can
8344 # have problems creating the table of contents. If linking a library
8345 # or program results in "error TOC overflow" add -mminimal-toc to
8346 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8347 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8351 hardcode_libdir_separator
=':'
8352 link_all_deplibs
=yes
8354 if test "$GCC" = yes; then
8355 case $host_os in aix4.
[012]|aix4.
[012].
*)
8356 # We only want to do this on AIX 4.2 and lower, the check
8357 # below for broken collect2 doesn't work under 4.3+
8358 collect2name
=`${CC} -print-prog-name=collect2`
8359 if test -f "$collect2name" && \
8360 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8362 # We have reworked collect2
8365 # We have old collect2
8366 hardcode_direct
=unsupported
8367 # It fails to find uninstalled libraries when the uninstalled
8368 # path is not listed in the libpath. Setting hardcode_minus_L
8369 # to unsupported forces relinking
8370 hardcode_minus_L
=yes
8371 hardcode_libdir_flag_spec
='-L$libdir'
8372 hardcode_libdir_separator
=
8376 shared_flag
='-shared'
8377 if test "$aix_use_runtimelinking" = yes; then
8378 shared_flag
="$shared_flag "'${wl}-G'
8382 if test "$host_cpu" = ia64
; then
8383 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8384 # chokes on -Wl,-G. The following line is correct:
8387 if test "$aix_use_runtimelinking" = yes; then
8388 shared_flag
='${wl}-G'
8390 shared_flag
='${wl}-bM:SRE'
8395 # It seems that -bexpall does not export symbols beginning with
8396 # underscore (_), so it is better to generate a list of symbols to export.
8397 always_export_symbols
=yes
8398 if test "$aix_use_runtimelinking" = yes; then
8399 # Warning - without using the other runtime loading flags (-brtl),
8400 # -berok will link without error, but may produce a broken library.
8401 allow_undefined_flag
='-berok'
8402 # Determine the default libpath from the value encoded in an empty executable.
8403 cat >conftest.
$ac_ext <<_ACEOF
8406 cat confdefs.h
>>conftest.
$ac_ext
8407 cat >>conftest.
$ac_ext <<_ACEOF
8408 /* end confdefs.h. */
8418 rm -f conftest.
$ac_objext conftest
$ac_exeext
8419 if { (ac_try
="$ac_link"
8421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8422 *) ac_try_echo=$ac_try;;
8424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8425 (eval "$ac_link") 2>conftest.er1
8427 grep -v '^ *+' conftest.er1 >conftest.err
8429 cat conftest.err >&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); } && {
8432 test -z "$ac_c_werror_flag" ||
8433 test ! -s conftest.err
8434 } && test -s conftest$ac_exeext &&
8435 $as_test_x conftest$ac_exeext; then
8437 lt_aix_libpath_sed='
8438 /Import File Strings/,/^$/ {
8444 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8445 # Check for a 64-bit object if we didn't find anything.
8446 if test -z "$aix_libpath"; then
8447 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8450 echo "$as_me: failed program was:" >&5
8451 sed 's/^/| /' conftest.$ac_ext >&5
8456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8457 conftest$ac_exeext conftest.$ac_ext
8458 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8460 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8461 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"
8463 if test "$host_cpu" = ia64; then
8464 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8465 allow_undefined_flag="-z nodefs"
8466 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"
8468 # Determine the default libpath from the value encoded in an empty executable.
8469 cat >conftest.$ac_ext <<_ACEOF
8472 cat confdefs.h >>conftest.$ac_ext
8473 cat >>conftest.$ac_ext <<_ACEOF
8474 /* end confdefs.h. */
8484 rm -f conftest.$ac_objext conftest$ac_exeext
8485 if { (ac_try="$ac_link"
8487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8488 *) ac_try_echo
=$ac_try;;
8490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8491 (eval "$ac_link") 2>conftest.er1
8493 grep -v '^ *+' conftest.er1
>conftest.err
8495 cat conftest.err
>&5
8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497 (exit $ac_status); } && {
8498 test -z "$ac_c_werror_flag" ||
8499 test ! -s conftest.err
8500 } && test -s conftest
$ac_exeext &&
8501 $as_test_x conftest
$ac_exeext; then
8503 lt_aix_libpath_sed
='
8504 /Import File Strings/,/^$/ {
8510 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8511 # Check for a 64-bit object if we didn't find anything.
8512 if test -z "$aix_libpath"; then
8513 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8516 echo "$as_me: failed program was:" >&5
8517 sed 's/^/| /' conftest.
$ac_ext >&5
8522 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8523 conftest
$ac_exeext conftest.
$ac_ext
8524 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8526 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8527 # Warning - without using the other run time loading flags,
8528 # -berok will link without error, but may produce a broken library.
8529 no_undefined_flag
=' ${wl}-bernotok'
8530 allow_undefined_flag
=' ${wl}-berok'
8531 # Exported symbols can be pulled into shared objects from archives
8532 whole_archive_flag_spec
='$convenience'
8533 archive_cmds_need_lc
=yes
8534 # This is similar to how AIX traditionally builds its shared libraries.
8535 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'
8541 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)'
8542 hardcode_libdir_flag_spec
='-L$libdir'
8543 hardcode_minus_L
=yes
8544 # see comment about different semantics on the GNU ld section
8549 export_dynamic_flag_spec
=-rdynamic
8552 cygwin
* | mingw
* | pw32
*)
8553 # When not using gcc, we currently assume that we are using
8554 # Microsoft Visual C++.
8555 # hardcode_libdir_flag_spec is actually meaningless, as there is
8556 # no search path for DLLs.
8557 hardcode_libdir_flag_spec
=' '
8558 allow_undefined_flag
=unsupported
8559 # Tell ltmain to make .lib files, not .a files.
8561 # Tell ltmain to make .dll files, not .so files.
8563 # FIXME: Setting linknames here is a bad hack.
8564 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8565 # The linker will automatically build a .lib file if we build a DLL.
8566 old_archive_From_new_cmds
='true'
8567 # FIXME: Should let the user specify the lib program.
8568 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8569 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8570 enable_shared_with_static_runtimes
=yes
8573 darwin
* | rhapsody
*)
8575 rhapsody
* | darwin1.
[012])
8576 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8579 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8580 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8582 case ${MACOSX_DEPLOYMENT_TARGET} in
8584 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8587 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8593 archive_cmds_need_lc
=no
8595 hardcode_automatic
=yes
8596 hardcode_shlibpath_var
=unsupported
8597 whole_archive_flag_spec
=''
8598 link_all_deplibs
=yes
8599 if test "$GCC" = yes ; then
8600 output_verbose_link_cmd
='echo'
8601 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8602 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8603 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8604 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8606 case $cc_basename in
8608 output_verbose_link_cmd
='echo'
8609 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8610 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8611 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8612 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8613 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}'
8623 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8624 hardcode_libdir_flag_spec
='-L$libdir'
8625 hardcode_shlibpath_var
=no
8632 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8633 # support. Future versions do this automatically, but an explicit c++rt0.o
8634 # does not break anything, and helps significantly (at the cost of a little
8637 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8638 hardcode_libdir_flag_spec
='-R$libdir'
8640 hardcode_shlibpath_var
=no
8643 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8645 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8647 hardcode_minus_L
=yes
8648 hardcode_shlibpath_var
=no
8651 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8652 freebsd
* | dragonfly
*)
8653 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8654 hardcode_libdir_flag_spec
='-R$libdir'
8656 hardcode_shlibpath_var
=no
8660 if test "$GCC" = yes; then
8661 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'
8663 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'
8665 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8666 hardcode_libdir_separator
=:
8669 # hardcode_minus_L: Not really in the search PATH,
8670 # but as the default location of the library.
8671 hardcode_minus_L
=yes
8672 export_dynamic_flag_spec
='${wl}-E'
8676 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8677 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8679 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8681 if test "$with_gnu_ld" = no
; then
8682 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8683 hardcode_libdir_separator
=:
8686 export_dynamic_flag_spec
='${wl}-E'
8688 # hardcode_minus_L: Not really in the search PATH,
8689 # but as the default location of the library.
8690 hardcode_minus_L
=yes
8695 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8698 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8701 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8704 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8710 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8713 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8716 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8720 if test "$with_gnu_ld" = no
; then
8721 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8722 hardcode_libdir_separator
=:
8726 hardcode_libdir_flag_spec_ld
='+b $libdir'
8728 hardcode_shlibpath_var
=no
8732 export_dynamic_flag_spec
='${wl}-E'
8734 # hardcode_minus_L: Not really in the search PATH,
8735 # but as the default location of the library.
8736 hardcode_minus_L
=yes
8742 irix5
* | irix6
* | nonstopux
*)
8743 if test "$GCC" = yes; then
8744 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'
8746 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'
8747 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8749 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8750 hardcode_libdir_separator
=:
8751 link_all_deplibs
=yes
8755 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8756 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8758 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8760 hardcode_libdir_flag_spec
='-R$libdir'
8762 hardcode_shlibpath_var
=no
8766 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8768 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8769 hardcode_libdir_separator
=:
8770 hardcode_shlibpath_var
=no
8774 if test -f /usr
/libexec
/ld.so
; then
8776 hardcode_shlibpath_var
=no
8777 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8778 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8779 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8780 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8781 export_dynamic_flag_spec
='${wl}-E'
8784 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8785 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8786 hardcode_libdir_flag_spec
='-R$libdir'
8789 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8790 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8800 hardcode_libdir_flag_spec
='-L$libdir'
8801 hardcode_minus_L
=yes
8802 allow_undefined_flag
=unsupported
8803 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'
8804 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8808 if test "$GCC" = yes; then
8809 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8810 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'
8812 allow_undefined_flag
=' -expect_unresolved \*'
8813 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'
8815 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8816 hardcode_libdir_separator
=:
8819 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8820 if test "$GCC" = yes; then
8821 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8822 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'
8823 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8825 allow_undefined_flag
=' -expect_unresolved \*'
8826 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'
8827 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8828 $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'
8830 # Both c and cxx compiler support -rpath directly
8831 hardcode_libdir_flag_spec
='-rpath $libdir'
8833 hardcode_libdir_separator
=:
8837 no_undefined_flag
=' -z text'
8838 if test "$GCC" = yes; then
8840 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8841 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8842 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8845 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8846 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8847 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8849 hardcode_libdir_flag_spec
='-R$libdir'
8850 hardcode_shlibpath_var
=no
8852 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8854 # The compiler driver will combine and reorder linker options,
8855 # but understands `-z linker_flag'. GCC discards it without `$wl',
8856 # but is careful enough not to reorder.
8857 # Supported since Solaris 2.6 (maybe 2.5.1?)
8858 if test "$GCC" = yes; then
8859 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8861 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8865 link_all_deplibs
=yes
8869 if test "x$host_vendor" = xsequent
; then
8870 # Use $CC to link under sequent, because it throws in some extra .o
8871 # files that make .init and .fini sections work.
8872 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8874 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8876 hardcode_libdir_flag_spec
='-L$libdir'
8878 hardcode_minus_L
=yes
8879 hardcode_shlibpath_var
=no
8883 case $host_vendor in
8885 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8886 hardcode_direct
=yes # is this really true???
8889 ## LD is ld it makes a PLAMLIB
8890 ## CC just makes a GrossModule.
8891 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8892 reload_cmds
='$CC -r -o $output$reload_objs'
8896 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8897 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8900 runpath_var
='LD_RUN_PATH'
8901 hardcode_shlibpath_var
=no
8905 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8906 hardcode_shlibpath_var
=no
8907 export_dynamic_flag_spec
='-Bexport'
8911 if test -d /usr
/nec
; then
8912 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8913 hardcode_shlibpath_var
=no
8914 runpath_var
=LD_RUN_PATH
8915 hardcode_runpath_var
=yes
8920 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8921 no_undefined_flag
='${wl}-z,text'
8922 archive_cmds_need_lc
=no
8923 hardcode_shlibpath_var
=no
8924 runpath_var
='LD_RUN_PATH'
8926 if test "$GCC" = yes; then
8927 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8928 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8930 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8931 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8935 sysv5
* | sco3.2v5
* | sco5v6
*)
8936 # Note: We can NOT use -z defs as we might desire, because we do not
8937 # link with -lc, and that would cause any symbols used from libc to
8938 # always be unresolved, which means just about no library would
8939 # ever link correctly. If we're not using GNU ld we use -z text
8940 # though, which does catch some bad symbols but isn't as heavy-handed
8942 no_undefined_flag
='${wl}-z,text'
8943 allow_undefined_flag
='${wl}-z,nodefs'
8944 archive_cmds_need_lc
=no
8945 hardcode_shlibpath_var
=no
8946 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8947 hardcode_libdir_separator
=':'
8948 link_all_deplibs
=yes
8949 export_dynamic_flag_spec
='${wl}-Bexport'
8950 runpath_var
='LD_RUN_PATH'
8952 if test "$GCC" = yes; then
8953 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8954 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8956 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8957 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8962 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8963 hardcode_libdir_flag_spec
='-L$libdir'
8964 hardcode_shlibpath_var
=no
8973 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8974 echo "${ECHO_T}$ld_shlibs" >&6; }
8975 test "$ld_shlibs" = no
&& can_build_shared
=no
8978 # Do we need to explicitly link libc?
8980 case "x$archive_cmds_need_lc" in
8982 # Assume -lc should be added
8983 archive_cmds_need_lc
=yes
8985 if test "$enable_shared" = yes && test "$GCC" = yes; then
8986 case $archive_cmds in
8988 # FIXME: we may have to deal with multi-command sequences.
8991 # Test whether the compiler implicitly links with -lc since on some
8992 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8993 # to ld, don't add -lc before -lgcc.
8994 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8995 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8997 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9000 (eval $ac_compile) 2>&5
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 (exit $ac_status); } 2>conftest.err
; then
9006 libobjs
=conftest.
$ac_objext
9008 wl
=$lt_prog_compiler_wl
9009 pic_flag
=$lt_prog_compiler_pic
9015 lt_save_allow_undefined_flag
=$allow_undefined_flag
9016 allow_undefined_flag
=
9017 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9018 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9021 (exit $ac_status); }
9023 archive_cmds_need_lc
=no
9025 archive_cmds_need_lc
=yes
9027 allow_undefined_flag
=$lt_save_allow_undefined_flag
9029 cat conftest.err
1>&5
9032 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9033 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9040 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9041 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9043 libname_spec
='lib$name'
9051 shlibpath_overrides_runpath
=unknown
9053 dynamic_linker
="$host_os ld.so"
9054 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9056 if test "$GCC" = yes; then
9058 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9059 *) lt_awk_arg
="/^libraries:/" ;;
9061 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9062 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
9063 # if the path contains ";" then we assume it to be the separator
9064 # otherwise default to the standard path separator (i.e. ":") - it is
9065 # assumed that no part of a normal pathname contains ";" but that should
9066 # okay in the real world where ";" in dirpaths is itself problematic.
9067 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9069 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9071 # Ok, now we have the path, separated by spaces, we can step through it
9072 # and add multilib dir if necessary.
9073 lt_tmp_lt_search_path_spec
=
9074 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9075 for lt_sys_path
in $lt_search_path_spec; do
9076 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9077 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9079 test -d "$lt_sys_path" && \
9080 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9083 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
9084 BEGIN {RS=" "; FS="/|\n";} {
9087 for (lt_i = NF; lt_i > 0; lt_i--) {
9088 if ($lt_i != "" && $lt_i != ".") {
9089 if ($lt_i == "..") {
9092 if (lt_count == 0) {
9093 lt_foo="/" $lt_i lt_foo;
9100 if (lt_foo != "") { lt_freq[lt_foo]++; }
9101 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9103 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
9105 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9107 need_lib_prefix
=unknown
9108 hardcode_into_libs
=no
9110 # when you set need_version to no, make sure it does not cause -set_version
9111 # flags to be left without arguments
9112 need_version
=unknown
9117 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9118 shlibpath_var
=LIBPATH
9120 # AIX 3 has no versioning support, so we append a major version to the name.
9121 soname_spec
='${libname}${release}${shared_ext}$major'
9128 hardcode_into_libs
=yes
9129 if test "$host_cpu" = ia64
; then
9130 # AIX 5 supports IA64
9131 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9132 shlibpath_var
=LD_LIBRARY_PATH
9134 # With GCC up to 2.95.x, collect2 would create an import file
9135 # for dependence libraries. The import file would start with
9136 # the line `#! .'. This would cause the generated library to
9137 # depend on `.', always an invalid library. This was fixed in
9138 # development snapshots of GCC prior to 3.0.
9140 aix4 | aix4.
[01] | aix4.
[01].
*)
9141 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9143 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9150 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9151 # soname into executable. Probably we can add versioning support to
9152 # collect2, so additional links can be useful in future.
9153 if test "$aix_use_runtimelinking" = yes; then
9154 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9155 # instead of lib<name>.a to let people know that these are not
9156 # typical AIX shared libraries.
9157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9159 # We preserve .a as extension for shared libraries through AIX4.2
9160 # and later when we are not doing run time linking.
9161 library_names_spec
='${libname}${release}.a $libname.a'
9162 soname_spec
='${libname}${release}${shared_ext}$major'
9164 shlibpath_var
=LIBPATH
9169 library_names_spec
='$libname.ixlibrary $libname.a'
9170 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9171 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'
9175 library_names_spec
='${libname}${shared_ext}'
9176 dynamic_linker
="$host_os ld.so"
9177 shlibpath_var
=LIBRARY_PATH
9183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9184 soname_spec
='${libname}${release}${shared_ext}$major'
9185 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9186 shlibpath_var
=LD_LIBRARY_PATH
9187 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9188 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9189 # the default ld.so.conf also contains /usr/contrib/lib and
9190 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9191 # libtool to hard-code these into programs
9194 cygwin
* | mingw
* | pw32
*)
9195 version_type
=windows
9200 case $GCC,$host_os in
9201 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9202 library_names_spec
='$libname.dll.a'
9203 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9204 postinstall_cmds
='base_file=`basename \${file}`~
9205 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9206 dldir=$destdir/`dirname \$dlpath`~
9207 test -d \$dldir || mkdir -p \$dldir~
9208 $install_prog $dir/$dlname \$dldir/$dlname~
9209 chmod a+x \$dldir/$dlname'
9210 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9211 dlpath=$dir/\$dldll~
9213 shlibpath_overrides_runpath
=yes
9217 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9218 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9219 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9222 # MinGW DLLs use traditional 'lib' prefix
9223 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9224 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9225 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9226 # It is most probably a Windows format PATH printed by
9227 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9228 # path with ; separators, and with drive letters. We can handle the
9229 # drive letters (cygwin fileutils understands them), so leave them,
9230 # especially as we might pass files found there to a mingw objdump,
9231 # which wouldn't understand a cygwinified path. Ahh.
9232 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9234 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9238 # pw32 DLLs use 'pw' prefix rather than 'lib'
9239 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9245 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9248 dynamic_linker
='Win32 ld.exe'
9249 # FIXME: first we should search . and the directory the executable is in
9253 darwin
* | rhapsody
*)
9254 dynamic_linker
="$host_os dyld"
9258 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9259 soname_spec
='${libname}${release}${major}$shared_ext'
9260 shlibpath_overrides_runpath
=yes
9261 shlibpath_var
=DYLD_LIBRARY_PATH
9262 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9264 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9265 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9273 soname_spec
='${libname}${release}${shared_ext}$major'
9274 shlibpath_var
=LD_LIBRARY_PATH
9281 freebsd
* | dragonfly
*)
9282 # DragonFly does not have aout. When/if they implement a new
9283 # versioning mechanism, adjust this.
9284 if test -x /usr
/bin
/objformat
; then
9285 objformat
=`/usr/bin/objformat`
9288 freebsd
[123]*) objformat
=aout
;;
9292 version_type
=freebsd-
$objformat
9293 case $version_type in
9295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9300 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9304 shlibpath_var
=LD_LIBRARY_PATH
9307 shlibpath_overrides_runpath
=yes
9309 freebsd3.
[01]* | freebsdelf3.
[01]*)
9310 shlibpath_overrides_runpath
=yes
9311 hardcode_into_libs
=yes
9313 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9314 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9315 shlibpath_overrides_runpath
=no
9316 hardcode_into_libs
=yes
9318 *) # from 4.6 on, and DragonFly
9319 shlibpath_overrides_runpath
=yes
9320 hardcode_into_libs
=yes
9329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9330 soname_spec
='${libname}${release}${shared_ext}$major'
9331 shlibpath_var
=LD_LIBRARY_PATH
9332 hardcode_into_libs
=yes
9335 hpux9
* | hpux10
* | hpux11
*)
9336 # Give a soname corresponding to the major version so that dld.sl refuses to
9337 # link against other versions.
9344 hardcode_into_libs
=yes
9345 dynamic_linker
="$host_os dld.so"
9346 shlibpath_var
=LD_LIBRARY_PATH
9347 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9349 soname_spec
='${libname}${release}${shared_ext}$major'
9350 if test "X$HPUX_IA64_MODE" = X32
; then
9351 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9353 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9355 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9359 hardcode_into_libs
=yes
9360 dynamic_linker
="$host_os dld.sl"
9361 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9362 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9364 soname_spec
='${libname}${release}${shared_ext}$major'
9365 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9366 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9370 dynamic_linker
="$host_os dld.sl"
9371 shlibpath_var
=SHLIB_PATH
9372 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9374 soname_spec
='${libname}${release}${shared_ext}$major'
9377 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9378 postinstall_cmds
='chmod 555 $lib'
9385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9386 soname_spec
='${libname}${release}${shared_ext}$major'
9387 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9388 shlibpath_var
=LD_LIBRARY_PATH
9389 shlibpath_overrides_runpath
=no
9390 hardcode_into_libs
=yes
9393 irix5
* | irix6
* | nonstopux
*)
9395 nonstopux
*) version_type
=nonstopux
;;
9397 if test "$lt_cv_prog_gnu_ld" = yes; then
9405 soname_spec
='${libname}${release}${shared_ext}$major'
9406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9408 irix5
* | nonstopux
*)
9412 case $LD in # libtool.m4 will add one of these switches to LD
9413 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9414 libsuff
= shlibsuff
= libmagic
=32-bit;;
9415 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9416 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9417 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9418 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9419 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9423 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9424 shlibpath_overrides_runpath
=no
9425 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9426 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9427 hardcode_into_libs
=yes
9430 # No shared lib support for Linux oldld, aout, or coff.
9431 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9435 # This must be Linux ELF.
9436 linux
* | k
*bsd
*-gnu)
9440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9441 soname_spec
='${libname}${release}${shared_ext}$major'
9442 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9443 shlibpath_var
=LD_LIBRARY_PATH
9444 shlibpath_overrides_runpath
=no
9445 # This implies no fast_install, which is unacceptable.
9446 # Some rework will be needed to allow for fast_install
9447 # before this can be enabled.
9448 hardcode_into_libs
=yes
9450 # Append ld.so.conf contents to the search path
9451 if test -f /etc
/ld.so.conf
; then
9452 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9453 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9456 # We used to test for /lib/ld.so.1 and disable shared libraries on
9457 # powerpc, because MkLinux only supported shared libraries with the
9458 # GNU dynamic linker. Since this was broken with cross compilers,
9459 # most powerpc-linux boxes support dynamic linking these days and
9460 # people can always --disable-shared, the test was removed, and we
9461 # assume the GNU/Linux dynamic linker is in use.
9462 dynamic_linker
='GNU/Linux ld.so'
9469 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9471 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9472 dynamic_linker
='NetBSD (a.out) ld.so'
9474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9475 soname_spec
='${libname}${release}${shared_ext}$major'
9476 dynamic_linker
='NetBSD ld.elf_so'
9478 shlibpath_var
=LD_LIBRARY_PATH
9479 shlibpath_overrides_runpath
=yes
9480 hardcode_into_libs
=yes
9485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9486 shlibpath_var
=LD_LIBRARY_PATH
9487 shlibpath_overrides_runpath
=yes
9494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9495 soname_spec
='${libname}${release}${shared_ext}$major'
9496 shlibpath_var
=LD_LIBRARY_PATH
9497 shlibpath_overrides_runpath
=yes
9502 sys_lib_dlsearch_path_spec
="/usr/lib"
9504 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9506 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9507 *) need_version
=no
;;
9509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9510 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9511 shlibpath_var
=LD_LIBRARY_PATH
9512 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9514 openbsd2.
[89] | openbsd2.
[89].
*)
9515 shlibpath_overrides_runpath
=no
9518 shlibpath_overrides_runpath
=yes
9522 shlibpath_overrides_runpath
=yes
9527 libname_spec
='$name'
9530 library_names_spec
='$libname${shared_ext} $libname.a'
9531 dynamic_linker
='OS/2 ld.exe'
9532 shlibpath_var
=LIBPATH
9535 osf3
* | osf4
* | osf5
*)
9539 soname_spec
='${libname}${release}${shared_ext}$major'
9540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9541 shlibpath_var
=LD_LIBRARY_PATH
9542 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9543 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9555 soname_spec
='${libname}${release}${shared_ext}$major'
9556 shlibpath_var
=LD_LIBRARY_PATH
9557 shlibpath_overrides_runpath
=yes
9558 hardcode_into_libs
=yes
9559 # ldd complains unless libraries are executable
9560 postinstall_cmds
='chmod +x $lib'
9565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9566 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9567 shlibpath_var
=LD_LIBRARY_PATH
9568 shlibpath_overrides_runpath
=yes
9569 if test "$with_gnu_ld" = yes; then
9577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9578 soname_spec
='${libname}${release}${shared_ext}$major'
9579 shlibpath_var
=LD_LIBRARY_PATH
9580 case $host_vendor in
9582 shlibpath_overrides_runpath
=no
9584 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9585 runpath_var
=LD_RUN_PATH
9593 shlibpath_overrides_runpath
=no
9594 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9600 if test -d /usr
/nec
;then
9602 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9603 soname_spec
='$libname${shared_ext}.$major'
9604 shlibpath_var
=LD_LIBRARY_PATH
9608 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9609 version_type
=freebsd-elf
9612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9613 soname_spec
='${libname}${release}${shared_ext}$major'
9614 shlibpath_var
=LD_LIBRARY_PATH
9615 hardcode_into_libs
=yes
9616 if test "$with_gnu_ld" = yes; then
9617 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9618 shlibpath_overrides_runpath
=no
9620 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9621 shlibpath_overrides_runpath
=yes
9624 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9628 sys_lib_dlsearch_path_spec
='/usr/lib'
9633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9634 soname_spec
='${libname}${release}${shared_ext}$major'
9635 shlibpath_var
=LD_LIBRARY_PATH
9642 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9643 echo "${ECHO_T}$dynamic_linker" >&6; }
9644 test "$dynamic_linker" = no
&& can_build_shared
=no
9646 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9647 echo $ECHO_N "(cached) $ECHO_C" >&6
9649 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
9652 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9653 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9656 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
9659 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9661 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9662 if test "$GCC" = yes; then
9663 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9666 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9667 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9669 if test -n "$hardcode_libdir_flag_spec" || \
9670 test -n "$runpath_var" || \
9671 test "X$hardcode_automatic" = "Xyes" ; then
9673 # We can hardcode non-existant directories.
9674 if test "$hardcode_direct" != no
&&
9675 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9676 # have to relink, otherwise we might link with an installed library
9677 # when we should be linking with a yet-to-be-installed one
9678 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9679 test "$hardcode_minus_L" != no
; then
9680 # Linking always hardcodes the temporary library directory.
9681 hardcode_action
=relink
9683 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9684 hardcode_action
=immediate
9687 # We cannot hardcode anything, or else we can only hardcode existing
9689 hardcode_action
=unsupported
9691 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9692 echo "${ECHO_T}$hardcode_action" >&6; }
9694 if test "$hardcode_action" = relink
; then
9695 # Fast installation is not supported
9696 enable_fast_install
=no
9697 elif test "$shlibpath_overrides_runpath" = yes ||
9698 test "$enable_shared" = no
; then
9699 # Fast installation is not necessary
9700 enable_fast_install
=needless
9705 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9706 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9707 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9708 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9709 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9710 { echo "$as_me:$LINENO: result: yes" >&5
9711 echo "${ECHO_T}yes" >&6; }
9713 # FIXME - insert some real tests, host_os isn't really good enough
9716 if test -n "$STRIP" ; then
9717 striplib
="$STRIP -x"
9718 old_striplib
="$STRIP -S"
9719 { echo "$as_me:$LINENO: result: yes" >&5
9720 echo "${ECHO_T}yes" >&6; }
9722 { echo "$as_me:$LINENO: result: no" >&5
9723 echo "${ECHO_T}no" >&6; }
9727 { echo "$as_me:$LINENO: result: no" >&5
9728 echo "${ECHO_T}no" >&6; }
9733 if test "x$enable_dlopen" != xyes
; then
9734 enable_dlopen
=unknown
9735 enable_dlopen_self
=unknown
9736 enable_dlopen_self_static
=unknown
9743 lt_cv_dlopen
="load_add_on"
9745 lt_cv_dlopen_self
=yes
9749 lt_cv_dlopen
="LoadLibrary"
9754 lt_cv_dlopen
="dlopen"
9759 # if libdl is installed we need to link against it
9760 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9761 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9762 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9763 echo $ECHO_N "(cached) $ECHO_C" >&6
9765 ac_check_lib_save_LIBS
=$LIBS
9767 cat >conftest.
$ac_ext <<_ACEOF
9770 cat confdefs.h
>>conftest.
$ac_ext
9771 cat >>conftest.
$ac_ext <<_ACEOF
9772 /* end confdefs.h. */
9774 /* Override any GCC internal prototype to avoid an error.
9775 Use char because int might match the return type of a GCC
9776 builtin and then its argument prototype would still apply. */
9789 rm -f conftest.
$ac_objext conftest
$ac_exeext
9790 if { (ac_try
="$ac_link"
9792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9793 *) ac_try_echo=$ac_try;;
9795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9796 (eval "$ac_link") 2>conftest.er1
9798 grep -v '^ *+' conftest.er1 >conftest.err
9800 cat conftest.err >&5
9801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802 (exit $ac_status); } && {
9803 test -z "$ac_c_werror_flag" ||
9804 test ! -s conftest.err
9805 } && test -s conftest$ac_exeext &&
9806 $as_test_x conftest$ac_exeext; then
9807 ac_cv_lib_dl_dlopen=yes
9809 echo "$as_me: failed program was:" >&5
9810 sed 's/^/| /' conftest.$ac_ext >&5
9812 ac_cv_lib_dl_dlopen=no
9815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9816 conftest$ac_exeext conftest.$ac_ext
9817 LIBS=$ac_check_lib_save_LIBS
9819 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9820 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9821 if test $ac_cv_lib_dl_dlopen = yes; then
9822 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9827 lt_cv_dlopen_self=yes
9834 { echo "$as_me:$LINENO: checking for shl_load" >&5
9835 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9836 if test "${ac_cv_func_shl_load+set}" = set; then
9837 echo $ECHO_N "(cached) $ECHO_C" >&6
9839 cat >conftest.$ac_ext <<_ACEOF
9842 cat confdefs.h >>conftest.$ac_ext
9843 cat >>conftest.$ac_ext <<_ACEOF
9844 /* end confdefs.h. */
9845 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9847 #define shl_load innocuous_shl_load
9849 /* System header to define __stub macros and hopefully few prototypes,
9850 which can conflict with char shl_load (); below.
9851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9852 <limits.h> exists even on freestanding compilers. */
9855 # include <limits.h>
9857 # include <assert.h>
9862 /* Override any GCC internal prototype to avoid an error.
9863 Use char because int might match the return type of a GCC
9864 builtin and then its argument prototype would still apply. */
9869 /* The GNU C library defines this for functions which it implements
9870 to always fail with ENOSYS. Some functions are actually named
9871 something starting with __ and the normal name is an alias. */
9872 #if defined __stub_shl_load || defined __stub___shl_load
9884 rm -f conftest.$ac_objext conftest$ac_exeext
9885 if { (ac_try="$ac_link"
9887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9888 *) ac_try_echo
=$ac_try;;
9890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9891 (eval "$ac_link") 2>conftest.er1
9893 grep -v '^ *+' conftest.er1
>conftest.err
9895 cat conftest.err
>&5
9896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9897 (exit $ac_status); } && {
9898 test -z "$ac_c_werror_flag" ||
9899 test ! -s conftest.err
9900 } && test -s conftest
$ac_exeext &&
9901 $as_test_x conftest
$ac_exeext; then
9902 ac_cv_func_shl_load
=yes
9904 echo "$as_me: failed program was:" >&5
9905 sed 's/^/| /' conftest.
$ac_ext >&5
9907 ac_cv_func_shl_load
=no
9910 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9911 conftest
$ac_exeext conftest.
$ac_ext
9913 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9914 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9915 if test $ac_cv_func_shl_load = yes; then
9916 lt_cv_dlopen
="shl_load"
9918 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9919 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9920 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9921 echo $ECHO_N "(cached) $ECHO_C" >&6
9923 ac_check_lib_save_LIBS
=$LIBS
9925 cat >conftest.
$ac_ext <<_ACEOF
9928 cat confdefs.h
>>conftest.
$ac_ext
9929 cat >>conftest.
$ac_ext <<_ACEOF
9930 /* end confdefs.h. */
9932 /* Override any GCC internal prototype to avoid an error.
9933 Use char because int might match the return type of a GCC
9934 builtin and then its argument prototype would still apply. */
9947 rm -f conftest.
$ac_objext conftest
$ac_exeext
9948 if { (ac_try
="$ac_link"
9950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9951 *) ac_try_echo=$ac_try;;
9953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9954 (eval "$ac_link") 2>conftest.er1
9956 grep -v '^ *+' conftest.er1 >conftest.err
9958 cat conftest.err >&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); } && {
9961 test -z "$ac_c_werror_flag" ||
9962 test ! -s conftest.err
9963 } && test -s conftest$ac_exeext &&
9964 $as_test_x conftest$ac_exeext; then
9965 ac_cv_lib_dld_shl_load=yes
9967 echo "$as_me: failed program was:" >&5
9968 sed 's/^/| /' conftest.$ac_ext >&5
9970 ac_cv_lib_dld_shl_load=no
9973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9974 conftest$ac_exeext conftest.$ac_ext
9975 LIBS=$ac_check_lib_save_LIBS
9977 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9978 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9979 if test $ac_cv_lib_dld_shl_load = yes; then
9980 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9982 { echo "$as_me:$LINENO: checking for dlopen" >&5
9983 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9984 if test "${ac_cv_func_dlopen+set}" = set; then
9985 echo $ECHO_N "(cached) $ECHO_C" >&6
9987 cat >conftest.$ac_ext <<_ACEOF
9990 cat confdefs.h >>conftest.$ac_ext
9991 cat >>conftest.$ac_ext <<_ACEOF
9992 /* end confdefs.h. */
9993 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9995 #define dlopen innocuous_dlopen
9997 /* System header to define __stub macros and hopefully few prototypes,
9998 which can conflict with char dlopen (); below.
9999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10000 <limits.h> exists even on freestanding compilers. */
10003 # include <limits.h>
10005 # include <assert.h>
10010 /* Override any GCC internal prototype to avoid an error.
10011 Use char because int might match the return type of a GCC
10012 builtin and then its argument prototype would still apply. */
10017 /* The GNU C library defines this for functions which it implements
10018 to always fail with ENOSYS. Some functions are actually named
10019 something starting with __ and the normal name is an alias. */
10020 #if defined __stub_dlopen || defined __stub___dlopen
10032 rm -f conftest.$ac_objext conftest$ac_exeext
10033 if { (ac_try="$ac_link"
10034 case "(($ac_try" in
10035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10036 *) ac_try_echo
=$ac_try;;
10038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10039 (eval "$ac_link") 2>conftest.er1
10041 grep -v '^ *+' conftest.er1
>conftest.err
10043 cat conftest.err
>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); } && {
10046 test -z "$ac_c_werror_flag" ||
10047 test ! -s conftest.err
10048 } && test -s conftest
$ac_exeext &&
10049 $as_test_x conftest
$ac_exeext; then
10050 ac_cv_func_dlopen
=yes
10052 echo "$as_me: failed program was:" >&5
10053 sed 's/^/| /' conftest.
$ac_ext >&5
10055 ac_cv_func_dlopen
=no
10058 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10059 conftest
$ac_exeext conftest.
$ac_ext
10061 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10062 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10063 if test $ac_cv_func_dlopen = yes; then
10064 lt_cv_dlopen
="dlopen"
10066 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10067 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10068 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10069 echo $ECHO_N "(cached) $ECHO_C" >&6
10071 ac_check_lib_save_LIBS
=$LIBS
10073 cat >conftest.
$ac_ext <<_ACEOF
10076 cat confdefs.h
>>conftest.
$ac_ext
10077 cat >>conftest.
$ac_ext <<_ACEOF
10078 /* end confdefs.h. */
10080 /* Override any GCC internal prototype to avoid an error.
10081 Use char because int might match the return type of a GCC
10082 builtin and then its argument prototype would still apply. */
10095 rm -f conftest.
$ac_objext conftest
$ac_exeext
10096 if { (ac_try
="$ac_link"
10097 case "(($ac_try" in
10098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10099 *) ac_try_echo=$ac_try;;
10101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10102 (eval "$ac_link") 2>conftest.er1
10104 grep -v '^ *+' conftest.er1 >conftest.err
10106 cat conftest.err >&5
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); } && {
10109 test -z "$ac_c_werror_flag" ||
10110 test ! -s conftest.err
10111 } && test -s conftest$ac_exeext &&
10112 $as_test_x conftest$ac_exeext; then
10113 ac_cv_lib_dl_dlopen=yes
10115 echo "$as_me: failed program was:" >&5
10116 sed 's/^/| /' conftest.$ac_ext >&5
10118 ac_cv_lib_dl_dlopen=no
10121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10122 conftest$ac_exeext conftest.$ac_ext
10123 LIBS=$ac_check_lib_save_LIBS
10125 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10126 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10127 if test $ac_cv_lib_dl_dlopen = yes; then
10128 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10130 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10131 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10132 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10133 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 ac_check_lib_save_LIBS=$LIBS
10136 LIBS="-lsvld $LIBS"
10137 cat >conftest.$ac_ext <<_ACEOF
10140 cat confdefs.h >>conftest.$ac_ext
10141 cat >>conftest.$ac_ext <<_ACEOF
10142 /* end confdefs.h. */
10144 /* Override any GCC internal prototype to avoid an error.
10145 Use char because int might match the return type of a GCC
10146 builtin and then its argument prototype would still apply. */
10159 rm -f conftest.$ac_objext conftest$ac_exeext
10160 if { (ac_try="$ac_link"
10161 case "(($ac_try" in
10162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10163 *) ac_try_echo
=$ac_try;;
10165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10166 (eval "$ac_link") 2>conftest.er1
10168 grep -v '^ *+' conftest.er1
>conftest.err
10170 cat conftest.err
>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); } && {
10173 test -z "$ac_c_werror_flag" ||
10174 test ! -s conftest.err
10175 } && test -s conftest
$ac_exeext &&
10176 $as_test_x conftest
$ac_exeext; then
10177 ac_cv_lib_svld_dlopen
=yes
10179 echo "$as_me: failed program was:" >&5
10180 sed 's/^/| /' conftest.
$ac_ext >&5
10182 ac_cv_lib_svld_dlopen
=no
10185 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10186 conftest
$ac_exeext conftest.
$ac_ext
10187 LIBS
=$ac_check_lib_save_LIBS
10189 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10190 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10191 if test $ac_cv_lib_svld_dlopen = yes; then
10192 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10194 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10195 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10196 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10197 echo $ECHO_N "(cached) $ECHO_C" >&6
10199 ac_check_lib_save_LIBS
=$LIBS
10201 cat >conftest.
$ac_ext <<_ACEOF
10204 cat confdefs.h
>>conftest.
$ac_ext
10205 cat >>conftest.
$ac_ext <<_ACEOF
10206 /* end confdefs.h. */
10208 /* Override any GCC internal prototype to avoid an error.
10209 Use char because int might match the return type of a GCC
10210 builtin and then its argument prototype would still apply. */
10218 return dld_link ();
10223 rm -f conftest.
$ac_objext conftest
$ac_exeext
10224 if { (ac_try
="$ac_link"
10225 case "(($ac_try" in
10226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10227 *) ac_try_echo=$ac_try;;
10229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10230 (eval "$ac_link") 2>conftest.er1
10232 grep -v '^ *+' conftest.er1 >conftest.err
10234 cat conftest.err >&5
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); } && {
10237 test -z "$ac_c_werror_flag" ||
10238 test ! -s conftest.err
10239 } && test -s conftest$ac_exeext &&
10240 $as_test_x conftest$ac_exeext; then
10241 ac_cv_lib_dld_dld_link=yes
10243 echo "$as_me: failed program was:" >&5
10244 sed 's/^/| /' conftest.$ac_ext >&5
10246 ac_cv_lib_dld_dld_link=no
10249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10250 conftest$ac_exeext conftest.$ac_ext
10251 LIBS=$ac_check_lib_save_LIBS
10253 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10254 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10255 if test $ac_cv_lib_dld_dld_link = yes; then
10256 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10277 if test "x$lt_cv_dlopen" != xno; then
10283 case $lt_cv_dlopen in
10285 save_CPPFLAGS="$CPPFLAGS"
10286 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10288 save_LDFLAGS="$LDFLAGS"
10289 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10292 LIBS="$lt_cv_dlopen_libs $LIBS"
10294 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10295 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10296 if test "${lt_cv_dlopen_self+set}" = set; then
10297 echo $ECHO_N "(cached) $ECHO_C" >&6
10299 if test "$cross_compiling" = yes; then :
10300 lt_cv_dlopen_self=cross
10302 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10303 lt_status=$lt_dlunknown
10304 cat > conftest.$ac_ext <<EOF
10305 #line 10305 "configure"
10306 #include "confdefs.h"
10315 # define LT_DLGLOBAL RTLD_GLOBAL
10318 # define LT_DLGLOBAL DL_GLOBAL
10320 # define LT_DLGLOBAL 0
10324 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10325 find out it does not work in some platform. */
10326 #ifndef LT_DLLAZY_OR_NOW
10328 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10331 # define LT_DLLAZY_OR_NOW DL_LAZY
10334 # define LT_DLLAZY_OR_NOW RTLD_NOW
10337 # define LT_DLLAZY_OR_NOW DL_NOW
10339 # define LT_DLLAZY_OR_NOW 0
10347 extern "C" void exit (int);
10350 void fnord() { int i=42;}
10353 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10354 int status = $lt_dlunknown;
10358 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10359 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10360 /* dlclose (self); */
10368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10369 (eval $ac_link) 2>&5
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10373 (./conftest; exit; ) >&5 2>/dev/null
10375 case x$lt_status in
10376 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10377 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10378 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10381 # compilation failed
10382 lt_cv_dlopen_self=no
10389 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10390 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10392 if test "x$lt_cv_dlopen_self" = xyes; then
10393 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10394 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10395 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10396 if test "${lt_cv_dlopen_self_static+set}" = set; then
10397 echo $ECHO_N "(cached) $ECHO_C" >&6
10399 if test "$cross_compiling" = yes; then :
10400 lt_cv_dlopen_self_static=cross
10402 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10403 lt_status=$lt_dlunknown
10404 cat > conftest.$ac_ext <<EOF
10405 #line 10405 "configure"
10406 #include "confdefs.h"
10415 # define LT_DLGLOBAL RTLD_GLOBAL
10418 # define LT_DLGLOBAL DL_GLOBAL
10420 # define LT_DLGLOBAL 0
10424 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10425 find out it does not work in some platform. */
10426 #ifndef LT_DLLAZY_OR_NOW
10428 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10431 # define LT_DLLAZY_OR_NOW DL_LAZY
10434 # define LT_DLLAZY_OR_NOW RTLD_NOW
10437 # define LT_DLLAZY_OR_NOW DL_NOW
10439 # define LT_DLLAZY_OR_NOW 0
10447 extern "C" void exit (int);
10450 void fnord() { int i=42;}
10453 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10454 int status = $lt_dlunknown;
10458 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10459 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10460 /* dlclose (self); */
10468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10469 (eval $ac_link) 2>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10473 (./conftest; exit; ) >&5 2>/dev/null
10475 case x$lt_status in
10476 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10477 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10478 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10481 # compilation failed
10482 lt_cv_dlopen_self_static=no
10489 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10490 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10493 CPPFLAGS="$save_CPPFLAGS"
10494 LDFLAGS="$save_LDFLAGS"
10499 case $lt_cv_dlopen_self in
10500 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10501 *) enable_dlopen_self=unknown ;;
10504 case $lt_cv_dlopen_self_static in
10505 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10506 *) enable_dlopen_self_static=unknown ;;
10511 # Report which library types will actually be built
10512 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10513 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10514 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10515 echo "${ECHO_T}$can_build_shared" >&6; }
10517 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10518 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10519 test "$can_build_shared" = "no" && enable_shared=no
10521 # On AIX, shared libraries and static libraries use the same namespace, and
10522 # are all built from PIC.
10525 test "$enable_shared" = yes && enable_static=no
10526 if test -n "$RANLIB"; then
10527 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10528 postinstall_cmds='$RANLIB $lib'
10533 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10534 test "$enable_shared" = yes && enable_static=no
10538 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10539 echo "${ECHO_T}$enable_shared" >&6; }
10541 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10542 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10543 # Make sure either enable_shared or enable_static is yes.
10544 test "$enable_shared" = yes || enable_static=yes
10545 { echo "$as_me:$LINENO: result: $enable_static" >&5
10546 echo "${ECHO_T}$enable_static" >&6; }
10548 # The else clause should only fire when bootstrapping the
10549 # libtool distribution, otherwise you forgot to ship ltmain.sh
10550 # with your package, and you will get complaints that there are
10551 # no rules to generate ltmain.sh.
10552 if test -f "$ltmain"; then
10553 # See if we are running on zsh, and set the options which allow our commands through
10554 # without removal of \ escapes.
10555 if test -n "${ZSH_VERSION+set}" ; then
10556 setopt NO_GLOB_SUBST
10558 # Now quote all the things that may contain metacharacters while being
10559 # careful not to overquote the AC_SUBSTed values. We take copies of the
10560 # variables and quote the copies for generation of the libtool script.
10561 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10563 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10564 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10565 deplibs_check_method reload_flag reload_cmds need_locks \
10566 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10567 lt_cv_sys_global_symbol_to_c_name_address \
10568 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10569 old_postinstall_cmds old_postuninstall_cmds \
10573 lt_prog_compiler_wl \
10574 lt_prog_compiler_pic \
10575 lt_prog_compiler_static \
10576 lt_prog_compiler_no_builtin_flag \
10577 export_dynamic_flag_spec \
10578 thread_safe_flag_spec \
10579 whole_archive_flag_spec \
10580 enable_shared_with_static_runtimes \
10582 old_archive_from_new_cmds \
10587 compiler_lib_search_path \
10588 compiler_lib_search_dirs \
10590 archive_expsym_cmds \
10592 postuninstall_cmds \
10593 old_archive_from_expsyms_cmds \
10594 allow_undefined_flag \
10595 no_undefined_flag \
10596 export_symbols_cmds \
10597 hardcode_libdir_flag_spec \
10598 hardcode_libdir_flag_spec_ld \
10599 hardcode_libdir_separator \
10600 hardcode_automatic \
10602 module_expsym_cmds \
10603 lt_cv_prog_compiler_c_o \
10606 include_expsyms; do
10609 old_archive_cmds | \
10610 old_archive_from_new_cmds | \
10612 archive_expsym_cmds | \
10614 module_expsym_cmds | \
10615 old_archive_from_expsyms_cmds | \
10616 export_symbols_cmds | \
10617 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10618 postinstall_cmds | postuninstall_cmds | \
10619 old_postinstall_cmds | old_postuninstall_cmds | \
10620 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10621 # Double-quote double-evaled strings.
10622 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10625 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10631 *'\$0 --fallback-echo"')
10632 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10636 cfgfile="${ofile}T"
10637 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10639 { echo "$as_me:$LINENO: creating $ofile" >&5
10640 echo "$as_me: creating $ofile" >&6;}
10642 cat <<__EOF__ >> "$cfgfile"
10645 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10646 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10647 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10649 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10650 # Free Software Foundation, Inc.
10652 # This file is part of GNU Libtool:
10653 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10655 # This program is free software; you can redistribute it and/or modify
10656 # it under the terms of the GNU General Public License as published by
10657 # the Free Software Foundation; either version 2 of the License, or
10658 # (at your option) any later version.
10660 # This program is distributed in the hope that it will be useful, but
10661 # WITHOUT ANY WARRANTY; without even the implied warranty of
10662 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10663 # General Public License for more details.
10665 # You should have received a copy of the GNU General Public License
10666 # along with this program; if not, write to the Free Software
10667 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10669 # As a special exception to the GNU General Public License, if you
10670 # distribute this file as part of a program that contains a
10671 # configuration script generated by Autoconf, you may include it under
10672 # the same distribution terms that you use for the rest of that program.
10674 # A sed program that does not truncate output.
10677 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10678 Xsed="$SED -e 1s/^X//"
10680 # The HP-UX ksh and POSIX shell print the target directory to stdout
10681 # if CDPATH is set.
10682 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10684 # The names of the tagged configurations supported by this script.
10687 # ### BEGIN LIBTOOL CONFIG
10689 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10691 # Shell to use when invoking shell scripts.
10694 # Whether or not to build shared libraries.
10695 build_libtool_libs=$enable_shared
10697 # Whether or not to build static libraries.
10698 build_old_libs=$enable_static
10700 # Whether or not to add -lc for building shared libraries.
10701 build_libtool_need_lc=$archive_cmds_need_lc
10703 # Whether or not to disallow shared libs when runtime libs are static
10704 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10706 # Whether or not to optimize for fast installation.
10707 fast_install=$enable_fast_install
10710 host_alias=$host_alias
10714 # The build system.
10715 build_alias=$build_alias
10719 # An echo program that does not interpret backslashes.
10724 AR_FLAGS=$lt_AR_FLAGS
10729 # LTCC compiler flags.
10730 LTCFLAGS=$lt_LTCFLAGS
10732 # A language-specific compiler.
10735 # Is the compiler the GNU C compiler?
10741 # The linker used to build libraries.
10744 # Whether we need hard or soft links.
10747 # A BSD-compatible nm program.
10750 # A symbol stripping program
10753 # Used to examine libraries when file_magic_cmd begins "file"
10754 MAGIC_CMD=$MAGIC_CMD
10756 # Used on cygwin: DLL creation program.
10759 # Used on cygwin: object dumper.
10762 # Used on cygwin: assembler.
10765 # The name of the directory that contains temporary libtool files.
10768 # How to create reloadable object files.
10769 reload_flag=$lt_reload_flag
10770 reload_cmds=$lt_reload_cmds
10772 # How to pass a linker flag through the compiler.
10773 wl=$lt_lt_prog_compiler_wl
10775 # Object file suffix (normally "o").
10776 objext="$ac_objext"
10778 # Old archive suffix (normally "a").
10781 # Shared library suffix (normally ".so").
10782 shrext_cmds='$shrext_cmds'
10784 # Executable file suffix (normally "").
10787 # Additional compiler flags for building library objects.
10788 pic_flag=$lt_lt_prog_compiler_pic
10791 # What is the maximum length of a command?
10792 max_cmd_len=$lt_cv_sys_max_cmd_len
10794 # Does compiler simultaneously support -c and -o options?
10795 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10797 # Must we lock files when doing compilation?
10798 need_locks=$lt_need_locks
10800 # Do we need the lib prefix for modules?
10801 need_lib_prefix=$need_lib_prefix
10803 # Do we need a version for libraries?
10804 need_version=$need_version
10806 # Whether dlopen is supported.
10807 dlopen_support=$enable_dlopen
10809 # Whether dlopen of programs is supported.
10810 dlopen_self=$enable_dlopen_self
10812 # Whether dlopen of statically linked programs is supported.
10813 dlopen_self_static=$enable_dlopen_self_static
10815 # Compiler flag to prevent dynamic linking.
10816 link_static_flag=$lt_lt_prog_compiler_static
10818 # Compiler flag to turn off builtin functions.
10819 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10821 # Compiler flag to allow reflexive dlopens.
10822 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10824 # Compiler flag to generate shared objects directly from archives.
10825 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10827 # Compiler flag to generate thread-safe objects.
10828 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10830 # Library versioning type.
10831 version_type=$version_type
10833 # Format of library name prefix.
10834 libname_spec=$lt_libname_spec
10836 # List of archive names. First name is the real one, the rest are links.
10837 # The last name is the one that the linker finds with -lNAME.
10838 library_names_spec=$lt_library_names_spec
10840 # The coded name of the library, if different from the real name.
10841 soname_spec=$lt_soname_spec
10843 # Commands used to build and install an old-style archive.
10845 old_archive_cmds=$lt_old_archive_cmds
10846 old_postinstall_cmds=$lt_old_postinstall_cmds
10847 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10849 # Create an old-style archive from a shared archive.
10850 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10852 # Create a temporary old-style archive to link instead of a shared archive.
10853 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10855 # Commands used to build and install a shared archive.
10856 archive_cmds=$lt_archive_cmds
10857 archive_expsym_cmds=$lt_archive_expsym_cmds
10858 postinstall_cmds=$lt_postinstall_cmds
10859 postuninstall_cmds=$lt_postuninstall_cmds
10861 # Commands used to build a loadable module (assumed same as above if empty)
10862 module_cmds=$lt_module_cmds
10863 module_expsym_cmds=$lt_module_expsym_cmds
10865 # Commands to strip libraries.
10866 old_striplib=$lt_old_striplib
10867 striplib=$lt_striplib
10869 # Dependencies to place before the objects being linked to create a
10871 predep_objects=$lt_predep_objects
10873 # Dependencies to place after the objects being linked to create a
10875 postdep_objects=$lt_postdep_objects
10877 # Dependencies to place before the objects being linked to create a
10879 predeps=$lt_predeps
10881 # Dependencies to place after the objects being linked to create a
10883 postdeps=$lt_postdeps
10885 # The directories searched by this compiler when creating a shared
10887 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
10889 # The library search path used internally by the compiler when linking
10890 # a shared library.
10891 compiler_lib_search_path=$lt_compiler_lib_search_path
10893 # Method to check whether dependent libraries are shared objects.
10894 deplibs_check_method=$lt_deplibs_check_method
10896 # Command to use when deplibs_check_method == file_magic.
10897 file_magic_cmd=$lt_file_magic_cmd
10899 # Flag that allows shared libraries with undefined symbols to be built.
10900 allow_undefined_flag=$lt_allow_undefined_flag
10902 # Flag that forces no undefined symbols.
10903 no_undefined_flag=$lt_no_undefined_flag
10905 # Commands used to finish a libtool library installation in a directory.
10906 finish_cmds=$lt_finish_cmds
10908 # Same as above, but a single script fragment to be evaled but not shown.
10909 finish_eval=$lt_finish_eval
10911 # Take the output of nm and produce a listing of raw symbols and C names.
10912 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10914 # Transform the output of nm in a proper C declaration
10915 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10917 # Transform the output of nm in a C name address pair
10918 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10920 # This is the shared library runtime path variable.
10921 runpath_var=$runpath_var
10923 # This is the shared library path variable.
10924 shlibpath_var=$shlibpath_var
10926 # Is shlibpath searched before the hard-coded library search path?
10927 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10929 # How to hardcode a shared library path into an executable.
10930 hardcode_action=$hardcode_action
10932 # Whether we should hardcode library paths into libraries.
10933 hardcode_into_libs=$hardcode_into_libs
10935 # Flag to hardcode \$libdir into a binary during linking.
10936 # This must work even if \$libdir does not exist.
10937 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10939 # If ld is used when linking, flag to hardcode \$libdir into
10940 # a binary during linking. This must work even if \$libdir does
10942 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10944 # Whether we need a single -rpath flag with a separated argument.
10945 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10947 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10948 # resulting binary.
10949 hardcode_direct=$hardcode_direct
10951 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10952 # resulting binary.
10953 hardcode_minus_L=$hardcode_minus_L
10955 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10956 # the resulting binary.
10957 hardcode_shlibpath_var=$hardcode_shlibpath_var
10959 # Set to yes if building a shared library automatically hardcodes DIR into the library
10960 # and all subsequent libraries and executables linked against it.
10961 hardcode_automatic=$hardcode_automatic
10963 # Variables whose values should be saved in libtool wrapper scripts and
10964 # restored at relink time.
10965 variables_saved_for_relink="$variables_saved_for_relink"
10967 # Whether libtool must link a program against all its dependency libraries.
10968 link_all_deplibs=$link_all_deplibs
10970 # Compile-time system search path for libraries
10971 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10973 # Run-time system search path for libraries
10974 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10976 # Fix the shell variable \$srcfile for the compiler.
10977 fix_srcfile_path=$lt_fix_srcfile_path
10979 # Set to yes if exported symbols are required.
10980 always_export_symbols=$always_export_symbols
10982 # The commands to list exported symbols.
10983 export_symbols_cmds=$lt_export_symbols_cmds
10985 # The commands to extract the exported symbol list from a shared archive.
10986 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10988 # Symbols that should not be listed in the preloaded symbols.
10989 exclude_expsyms=$lt_exclude_expsyms
10991 # Symbols that must always be exported.
10992 include_expsyms=$lt_include_expsyms
10994 # ### END LIBTOOL CONFIG
11001 cat <<\EOF >> "$cfgfile"
11003 # AIX sometimes has problems with the GCC collect2 program. For some
11004 # reason, if we set the COLLECT_NAMES environment variable, the problems
11005 # vanish in a puff of smoke.
11006 if test "X${COLLECT_NAMES+set}" != Xset; then
11008 export COLLECT_NAMES
11014 # We use sed instead of cat because bash on DJGPP gets confused if
11015 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11016 # text mode, it properly converts lines to CR/LF. This bash problem
11017 # is reportedly fixed, but why not run on old versions too?
11018 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11020 mv -f "$cfgfile" "$ofile" || \
11021 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11025 # If there is no Makefile yet, we rely on a make rule to execute
11026 # `config.status
--recheck' to rerun these tests and create the
11027 # libtool script then.
11028 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11029 if test -f "$ltmain_in"; then
11030 test -f Makefile && make "$ltmain"
11036 ac_cpp='$CPP $CPPFLAGS'
11037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11038 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11044 # Check whether --with-tags was given.
11045 if test "${with_tags+set}" = set; then
11046 withval=$with_tags; tagnames="$withval"
11050 if test -f "$ltmain" && test -n "$tagnames"; then
11051 if test ! -f "${ofile}"; then
11052 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11053 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11056 if test -z "$LTCC"; then
11057 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11058 if test -z "$LTCC"; then
11059 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11060 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11062 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11063 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11066 if test -z "$LTCFLAGS"; then
11067 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11070 # Extract list of available tagged configurations in $ofile.
11071 # Note that this assumes the entire list is on one line.
11072 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11074 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11075 for tagname in $tagnames; do
11077 # Check whether tagname contains only valid characters
11078 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11080 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11081 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11082 { (exit 1); exit 1; }; }
11086 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11088 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11089 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11090 { (exit 1); exit 1; }; }
11093 # Update the list of available tags.
11094 if test -n "$tagname"; then
11095 echo appending configuration tag \"$tagname\" to $ofile
11099 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11100 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11101 (test "X$CXX" != "Xg++"))) ; then
11103 ac_cpp='$CXXCPP $CPPFLAGS'
11104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11111 archive_cmds_need_lc_CXX=no
11112 allow_undefined_flag_CXX=
11113 always_export_symbols_CXX=no
11114 archive_expsym_cmds_CXX=
11115 export_dynamic_flag_spec_CXX=
11116 hardcode_direct_CXX=no
11117 hardcode_libdir_flag_spec_CXX=
11118 hardcode_libdir_flag_spec_ld_CXX=
11119 hardcode_libdir_separator_CXX=
11120 hardcode_minus_L_CXX=no
11121 hardcode_shlibpath_var_CXX=unsupported
11122 hardcode_automatic_CXX=no
11124 module_expsym_cmds_CXX=
11125 link_all_deplibs_CXX=unknown
11126 old_archive_cmds_CXX=$old_archive_cmds
11127 no_undefined_flag_CXX=
11128 whole_archive_flag_spec_CXX=
11129 enable_shared_with_static_runtimes_CXX=no
11131 # Dependencies to place before and after the object being linked:
11132 predep_objects_CXX=
11133 postdep_objects_CXX=
11136 compiler_lib_search_path_CXX=
11137 compiler_lib_search_dirs_CXX=
11139 # Source file extension for C++ test sources.
11142 # Object file extension for compiled C++ test sources.
11146 # Code to be used in simple compile tests
11147 lt_simple_compile_test_code="int some_variable = 0;"
11149 # Code to be used in simple link tests
11150 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11152 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11154 # If no C compiler was specified, use CC.
11157 # If no C compiler flags were specified, use CFLAGS.
11158 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11160 # Allow CC to be a program name with arguments.
11164 # save warnings/boilerplate of simple test code
11165 ac_outfile=conftest.$ac_objext
11166 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11167 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11168 _lt_compiler_boilerplate=`cat conftest.err
`
11171 ac_outfile=conftest.$ac_objext
11172 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11173 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11174 _lt_linker_boilerplate=`cat conftest.err
`
11178 # Allow CC to be a program name with arguments.
11183 lt_save_with_gnu_ld=$with_gnu_ld
11184 lt_save_path_LD=$lt_cv_path_LD
11185 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11186 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11188 $as_unset lt_cv_prog_gnu_ld
11190 if test -n "${lt_cv_path_LDCXX+set}"; then
11191 lt_cv_path_LD=$lt_cv_path_LDCXX
11193 $as_unset lt_cv_path_LD
11195 test -z "${LDCXX+set}" || LD=$LDCXX
11199 for cc_temp in $compiler""; do
11201 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11202 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11207 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11210 # We don't want -fno-exception wen compiling C++ code, so set the
11211 # no_builtin_flag separately
11212 if test "$GXX" = yes; then
11213 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11215 lt_prog_compiler_no_builtin_flag_CXX=
11218 if test "$GXX" = yes; then
11219 # Set up default GNU C++ configuration
11222 # Check whether --with-gnu-ld was given.
11223 if test "${with_gnu_ld+set}" = set; then
11224 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11230 if test "$GCC" = yes; then
11231 # Check if gcc -print-prog-name=ld gives a path.
11232 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11233 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11236 # gcc leaves a trailing carriage return which upsets mingw
11237 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11239 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11242 # Accept absolute paths.
11244 re_direlt='/[^/][^/]*/\.\./'
11245 # Canonicalize the pathname of ld
11246 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11247 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11248 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11250 test -z "$LD" && LD="$ac_prog"
11253 # If it fails, then pretend we aren't using GCC.
11257 # If it is relative, then search for the first ld in PATH.
11258 with_gnu_ld=unknown
11261 elif test "$with_gnu_ld" = yes; then
11262 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11263 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11265 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11266 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11268 if test "${lt_cv_path_LD+set}" = set; then
11269 echo $ECHO_N "(cached) $ECHO_C" >&6
11271 if test -z "$LD"; then
11272 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11273 for ac_dir in $PATH; do
11275 test -z "$ac_dir" && ac_dir=.
11276 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11277 lt_cv_path_LD="$ac_dir/$ac_prog"
11278 # Check to see if the program is GNU ld. I'd rather use --version,
11279 # but apparently some variants of GNU ld only accept -v.
11280 # Break only if it was the GNU/non-GNU ld that we prefer.
11281 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11282 *GNU* | *'with BFD'*)
11283 test "$with_gnu_ld" != no && break
11286 test "$with_gnu_ld" != yes && break
11293 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11297 LD="$lt_cv_path_LD"
11298 if test -n "$LD"; then
11299 { echo "$as_me:$LINENO: result: $LD" >&5
11300 echo "${ECHO_T}$LD" >&6; }
11302 { echo "$as_me:$LINENO: result: no" >&5
11303 echo "${ECHO_T}no" >&6; }
11305 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11306 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11307 { (exit 1); exit 1; }; }
11308 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11309 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11310 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6
11313 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11314 case `$LD -v 2>&1 </dev
/null
` in
11315 *GNU* | *'with BFD'*)
11316 lt_cv_prog_gnu_ld=yes
11319 lt_cv_prog_gnu_ld=no
11323 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11324 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11325 with_gnu_ld=$lt_cv_prog_gnu_ld
11329 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11330 # archiving commands below assume that GNU ld is being used.
11331 if test "$with_gnu_ld" = yes; then
11332 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11333 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'
11335 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11336 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11338 # If archive_cmds runs LD, not CC, wlarc should be empty
11339 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11340 # investigate it a little bit more. (MM)
11343 # ancient GNU ld didn't support --whole-archive et. al.
11344 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11345 grep 'no-whole-archive' > /dev/null; then
11346 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11348 whole_archive_flag_spec_CXX=
11354 # A generic and very simple default shared library creation
11355 # command for GNU C++ for the case where it uses the native
11356 # linker, instead of GNU ld. If possible, this setting should
11357 # overridden to take advantage of the native linker features on
11358 # the platform it is being used on.
11359 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11362 # Commands to make compiler produce verbose output that lists
11363 # what "hidden" libraries, object files and flags are used when
11364 # linking a shared library.
11365 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11373 # PORTME: fill in a description of your system's C++ link characteristics
11374 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11375 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11379 # FIXME: insert proper C++ library support
11383 if test "$host_cpu" = ia64; then
11384 # On IA64, the linker does run time linking by default, so we don't
11385 # have to do anything special.
11386 aix_use_runtimelinking=no
11387 exp_sym_flag='-Bexport'
11390 aix_use_runtimelinking=no
11392 # Test if we are trying to use run time linking or normal
11393 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11394 # need to do runtime linking.
11395 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11396 for ld_flag in $LDFLAGS; do
11399 aix_use_runtimelinking=yes
11407 exp_sym_flag='-bexport'
11408 no_entry_flag='-bnoentry'
11411 # When large executables or shared objects are built, AIX ld can
11412 # have problems creating the table of contents. If linking a library
11413 # or program results in "error TOC overflow" add -mminimal-toc to
11414 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11415 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11417 archive_cmds_CXX=''
11418 hardcode_direct_CXX=yes
11419 hardcode_libdir_separator_CXX=':'
11420 link_all_deplibs_CXX=yes
11422 if test "$GXX" = yes; then
11423 case $host_os in aix4.[012]|aix4.[012].*)
11424 # We only want to do this on AIX 4.2 and lower, the check
11425 # below for broken collect2 doesn't work under 4.3+
11426 collect2name=`${CC} -print-prog-name=collect2
`
11427 if test -f "$collect2name" && \
11428 strings "$collect2name" | grep resolve_lib_name >/dev/null
11430 # We have reworked collect2
11433 # We have old collect2
11434 hardcode_direct_CXX=unsupported
11435 # It fails to find uninstalled libraries when the uninstalled
11436 # path is not listed in the libpath. Setting hardcode_minus_L
11437 # to unsupported forces relinking
11438 hardcode_minus_L_CXX=yes
11439 hardcode_libdir_flag_spec_CXX='-L$libdir'
11440 hardcode_libdir_separator_CXX=
11444 shared_flag='-shared'
11445 if test "$aix_use_runtimelinking" = yes; then
11446 shared_flag="$shared_flag "'${wl}-G'
11450 if test "$host_cpu" = ia64; then
11451 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11452 # chokes on -Wl,-G. The following line is correct:
11455 if test "$aix_use_runtimelinking" = yes; then
11456 shared_flag='${wl}-G'
11458 shared_flag='${wl}-bM:SRE'
11463 # It seems that -bexpall does not export symbols beginning with
11464 # underscore (_), so it is better to generate a list of symbols to export.
11465 always_export_symbols_CXX=yes
11466 if test "$aix_use_runtimelinking" = yes; then
11467 # Warning - without using the other runtime loading flags (-brtl),
11468 # -berok will link without error, but may produce a broken library.
11469 allow_undefined_flag_CXX='-berok'
11470 # Determine the default libpath from the value encoded in an empty executable.
11471 cat >conftest.$ac_ext <<_ACEOF
11474 cat confdefs.h >>conftest.$ac_ext
11475 cat >>conftest.$ac_ext <<_ACEOF
11476 /* end confdefs.h. */
11486 rm -f conftest.$ac_objext conftest$ac_exeext
11487 if { (ac_try="$ac_link"
11488 case "(($ac_try" in
11489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11490 *) ac_try_echo
=$ac_try;;
11492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11493 (eval "$ac_link") 2>conftest.er1
11495 grep -v '^ *+' conftest.er1
>conftest.err
11497 cat conftest.err
>&5
11498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499 (exit $ac_status); } && {
11500 test -z "$ac_cxx_werror_flag" ||
11501 test ! -s conftest.err
11502 } && test -s conftest
$ac_exeext &&
11503 $as_test_x conftest
$ac_exeext; then
11505 lt_aix_libpath_sed
='
11506 /Import File Strings/,/^$/ {
11512 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11513 # Check for a 64-bit object if we didn't find anything.
11514 if test -z "$aix_libpath"; then
11515 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11518 echo "$as_me: failed program was:" >&5
11519 sed 's/^/| /' conftest.
$ac_ext >&5
11524 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11525 conftest
$ac_exeext conftest.
$ac_ext
11526 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11528 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11530 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"
11532 if test "$host_cpu" = ia64
; then
11533 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11534 allow_undefined_flag_CXX
="-z nodefs"
11535 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"
11537 # Determine the default libpath from the value encoded in an empty executable.
11538 cat >conftest.
$ac_ext <<_ACEOF
11541 cat confdefs.h
>>conftest.
$ac_ext
11542 cat >>conftest.
$ac_ext <<_ACEOF
11543 /* end confdefs.h. */
11553 rm -f conftest.
$ac_objext conftest
$ac_exeext
11554 if { (ac_try
="$ac_link"
11555 case "(($ac_try" in
11556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11557 *) ac_try_echo=$ac_try;;
11559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11560 (eval "$ac_link") 2>conftest.er1
11562 grep -v '^ *+' conftest.er1 >conftest.err
11564 cat conftest.err >&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } && {
11567 test -z "$ac_cxx_werror_flag" ||
11568 test ! -s conftest.err
11569 } && test -s conftest$ac_exeext &&
11570 $as_test_x conftest$ac_exeext; then
11572 lt_aix_libpath_sed='
11573 /Import File Strings/,/^$/ {
11579 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11580 # Check for a 64-bit object if we didn't find anything.
11581 if test -z "$aix_libpath"; then
11582 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11585 echo "$as_me: failed program was:" >&5
11586 sed 's/^/| /' conftest.$ac_ext >&5
11591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11592 conftest$ac_exeext conftest.$ac_ext
11593 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11595 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11596 # Warning - without using the other run time loading flags,
11597 # -berok will link without error, but may produce a broken library.
11598 no_undefined_flag_CXX=' ${wl}-bernotok'
11599 allow_undefined_flag_CXX=' ${wl}-berok'
11600 # Exported symbols can be pulled into shared objects from archives
11601 whole_archive_flag_spec_CXX='$convenience'
11602 archive_cmds_need_lc_CXX=yes
11603 # This is similar to how AIX traditionally builds its shared libraries.
11604 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'
11610 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11611 allow_undefined_flag_CXX=unsupported
11612 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11613 # support --undefined. This deserves some investigation. FIXME
11614 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11621 case $cc_basename in
11623 # FIXME: insert proper C++ library support
11629 cygwin* | mingw* | pw32*)
11630 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11631 # as there is no search path for DLLs.
11632 hardcode_libdir_flag_spec_CXX='-L$libdir'
11633 allow_undefined_flag_CXX=unsupported
11634 always_export_symbols_CXX=no
11635 enable_shared_with_static_runtimes_CXX=yes
11637 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11638 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'
11639 # If the export-symbols file already is a .def file (1st line
11640 # is EXPORTS), use it as is; otherwise, prepend...
11641 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11642 cp $export_symbols $output_objdir/$soname.def;
11644 echo EXPORTS > $output_objdir/$soname.def;
11645 cat $export_symbols >> $output_objdir/$soname.def;
11647 $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'
11652 darwin* | rhapsody*)
11653 archive_cmds_need_lc_CXX=no
11654 hardcode_direct_CXX=no
11655 hardcode_automatic_CXX=yes
11656 hardcode_shlibpath_var_CXX=unsupported
11657 whole_archive_flag_spec_CXX=''
11658 link_all_deplibs_CXX=yes
11659 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11660 if test "$GXX" = yes ; then
11661 output_verbose_link_cmd='echo'
11662 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11663 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11664 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11665 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11666 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11667 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
11668 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
11671 case $cc_basename in
11673 output_verbose_link_cmd='echo'
11674 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11675 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11676 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11677 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11678 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}'
11688 case $cc_basename in
11690 # FIXME: insert proper C++ library support
11694 # Green Hills C++ Compiler
11695 # FIXME: insert proper C++ library support
11699 # FIXME: insert proper C++ library support
11705 # C++ shared libraries reported to be fairly broken before switch to ELF
11709 archive_cmds_need_lc_CXX=no
11711 freebsd* | dragonfly*)
11712 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11719 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11720 hardcode_libdir_separator_CXX=:
11721 export_dynamic_flag_spec_CXX='${wl}-E'
11722 hardcode_direct_CXX=yes
11723 hardcode_minus_L_CXX=yes # Not in the search PATH,
11724 # but as the default
11725 # location of the library.
11727 case $cc_basename in
11729 # FIXME: insert proper C++ library support
11733 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'
11734 # Commands to make compiler produce verbose output that lists
11735 # what "hidden" libraries, object files and flags are used when
11736 # linking a shared library.
11738 # There doesn't appear to be a way to prevent this compiler from
11739 # explicitly linking system object files so we need to strip them
11740 # from the output so that they don't get included in the library
11742 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'
11745 if test "$GXX" = yes; then
11746 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'
11748 # FIXME: insert proper C++ library support
11755 if test $with_gnu_ld = no; then
11756 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11757 hardcode_libdir_separator_CXX=:
11762 export_dynamic_flag_spec_CXX='${wl}-E'
11768 hardcode_direct_CXX=no
11769 hardcode_shlibpath_var_CXX=no
11772 hardcode_direct_CXX=yes
11773 hardcode_minus_L_CXX=yes # Not in the search PATH,
11774 # but as the default
11775 # location of the library.
11779 case $cc_basename in
11781 # FIXME: insert proper C++ library support
11787 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11790 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11793 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11796 # Commands to make compiler produce verbose output that lists
11797 # what "hidden" libraries, object files and flags are used when
11798 # linking a shared library.
11800 # There doesn't appear to be a way to prevent this compiler from
11801 # explicitly linking system object files so we need to strip them
11802 # from the output so that they don't get included in the library
11804 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'
11807 if test "$GXX" = yes; then
11808 if test $with_gnu_ld = no; then
11811 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11814 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11817 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'
11822 # FIXME: insert proper C++ library support
11829 hardcode_direct_CXX=no
11830 hardcode_shlibpath_var_CXX=no
11831 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11832 export_dynamic_flag_spec_CXX='${wl}-E'
11833 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11834 # Instead, shared libraries are loaded at an image base (0x10000000 by
11835 # default) and relocated if they conflict, which is a slow very memory
11836 # consuming and fragmenting process. To avoid this, we pick a random,
11837 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11838 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11839 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'
11840 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'
11843 case $cc_basename in
11846 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'
11848 # Archives containing C++ object files must be created using
11849 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11850 # necessary to make sure instantiated templates are included
11852 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11855 if test "$GXX" = yes; then
11856 if test "$with_gnu_ld" = no; then
11857 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'
11859 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'
11862 link_all_deplibs_CXX=yes
11865 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11866 hardcode_libdir_separator_CXX=:
11868 linux* | k*bsd*-gnu)
11869 case $cc_basename in
11871 # Kuck and Associates, Inc. (KAI) C++ Compiler
11873 # KCC will only create a shared library if the output file
11874 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11875 # to its proper name (with version) after linking.
11876 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'
11877 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'
11878 # Commands to make compiler produce verbose output that lists
11879 # what "hidden" libraries, object files and flags are used when
11880 # linking a shared library.
11882 # There doesn't appear to be a way to prevent this compiler from
11883 # explicitly linking system object files so we need to strip them
11884 # from the output so that they don't get included in the library
11886 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'
11888 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11889 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11891 # Archives containing C++ object files must be created using
11892 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11893 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11898 # version 8.0 and above of icpc choke on multiply defined symbols
11899 # if we add $predep_objects and $postdep_objects, however 7.1 and
11900 # earlier do not add the objects themselves.
11901 case `$CC -V 2>&1` in
11903 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11904 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'
11906 *) # Version 8.0 or newer
11909 ia64
*) tmp_idyn
=' -i_dynamic';;
11911 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11912 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'
11915 archive_cmds_need_lc_CXX
=no
11916 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11917 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11918 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11921 # Portland Group C++ compiler
11922 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11923 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'
11925 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11926 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11927 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'
11931 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11932 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'
11934 runpath_var
=LD_RUN_PATH
11935 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11936 hardcode_libdir_separator_CXX
=:
11938 # Commands to make compiler produce verbose output that lists
11939 # what "hidden" libraries, object files and flags are used when
11940 # linking a shared library.
11942 # There doesn't appear to be a way to prevent this compiler from
11943 # explicitly linking system object files so we need to strip them
11944 # from the output so that they don't get included in the library
11946 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11949 case `$CC -V 2>&1 | sed 5q` in
11952 no_undefined_flag_CXX
=' -zdefs'
11953 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11954 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11955 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11956 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11958 # Not sure whether something based on
11959 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11961 output_verbose_link_cmd
='echo'
11963 # Archives containing C++ object files must be created using
11964 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11965 # necessary to make sure instantiated templates are included
11967 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11974 # FIXME: insert proper C++ library support
11978 # FIXME: insert proper C++ library support
11982 case $cc_basename in
11984 # FIXME: insert proper C++ library support
11988 # FIXME: insert proper C++ library support
11994 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11995 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11997 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11998 hardcode_direct_CXX
=yes
11999 hardcode_shlibpath_var_CXX
=no
12001 # Workaround some broken pre-1.5 toolchains
12002 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12005 # C++ shared libraries are fairly broken
12009 if test -f /usr
/libexec
/ld.so
; then
12010 hardcode_direct_CXX
=yes
12011 hardcode_shlibpath_var_CXX
=no
12012 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12013 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12014 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12015 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12016 export_dynamic_flag_spec_CXX
='${wl}-E'
12017 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12019 output_verbose_link_cmd
='echo'
12025 case $cc_basename in
12027 # Kuck and Associates, Inc. (KAI) C++ Compiler
12029 # KCC will only create a shared library if the output file
12030 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12031 # to its proper name (with version) after linking.
12032 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'
12034 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12035 hardcode_libdir_separator_CXX
=:
12037 # Archives containing C++ object files must be created using
12038 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12039 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12043 # Rational C++ 2.4.1
12044 # FIXME: insert proper C++ library support
12048 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12049 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'
12051 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12052 hardcode_libdir_separator_CXX
=:
12054 # Commands to make compiler produce verbose output that lists
12055 # what "hidden" libraries, object files and flags are used when
12056 # linking a shared library.
12058 # There doesn't appear to be a way to prevent this compiler from
12059 # explicitly linking system object files so we need to strip them
12060 # from the output so that they don't get included in the library
12062 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'
12065 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12066 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12067 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'
12069 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12070 hardcode_libdir_separator_CXX
=:
12072 # Commands to make compiler produce verbose output that lists
12073 # what "hidden" libraries, object files and flags are used when
12074 # linking a shared library.
12075 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12078 # FIXME: insert proper C++ library support
12085 case $cc_basename in
12087 # Kuck and Associates, Inc. (KAI) C++ Compiler
12089 # KCC will only create a shared library if the output file
12090 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12091 # to its proper name (with version) after linking.
12092 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'
12094 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12095 hardcode_libdir_separator_CXX
=:
12097 # Archives containing C++ object files must be created using
12098 # the KAI C++ compiler.
12099 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12102 # Rational C++ 2.4.1
12103 # FIXME: insert proper C++ library support
12107 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12108 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'
12109 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12110 echo "-hidden">> $lib.exp~
12111 $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~
12114 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12115 hardcode_libdir_separator_CXX
=:
12117 # Commands to make compiler produce verbose output that lists
12118 # what "hidden" libraries, object files and flags are used when
12119 # linking a shared library.
12121 # There doesn't appear to be a way to prevent this compiler from
12122 # explicitly linking system object files so we need to strip them
12123 # from the output so that they don't get included in the library
12125 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'
12128 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12129 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12130 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'
12132 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12133 hardcode_libdir_separator_CXX
=:
12135 # Commands to make compiler produce verbose output that lists
12136 # what "hidden" libraries, object files and flags are used when
12137 # linking a shared library.
12138 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12141 # FIXME: insert proper C++ library support
12148 # FIXME: insert proper C++ library support
12152 case $cc_basename in
12155 # FIXME: insert proper C++ library support
12160 # FIXME: insert proper C++ library support
12164 # FIXME: insert proper C++ library support
12170 case $cc_basename in
12172 # Sun C++ 4.2, 5.x and Centerline C++
12173 archive_cmds_need_lc_CXX
=yes
12174 no_undefined_flag_CXX
=' -zdefs'
12175 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12176 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12177 $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'
12179 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12180 hardcode_shlibpath_var_CXX
=no
12182 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12184 # The compiler driver will combine and reorder linker options,
12185 # but understands `-z linker_flag'.
12186 # Supported since Solaris 2.6 (maybe 2.5.1?)
12187 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12190 link_all_deplibs_CXX
=yes
12192 output_verbose_link_cmd
='echo'
12194 # Archives containing C++ object files must be created using
12195 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12196 # necessary to make sure instantiated templates are included
12198 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12201 # Green Hills C++ Compiler
12202 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12204 # The C++ compiler must be used to create the archive.
12205 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12208 # GNU C++ compiler with Solaris linker
12209 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12210 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12211 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12212 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12213 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12214 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12216 # Commands to make compiler produce verbose output that lists
12217 # what "hidden" libraries, object files and flags are used when
12218 # linking a shared library.
12219 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12221 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12223 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12224 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12225 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12227 # Commands to make compiler produce verbose output that lists
12228 # what "hidden" libraries, object files and flags are used when
12229 # linking a shared library.
12230 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12233 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12235 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12237 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12244 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12245 no_undefined_flag_CXX
='${wl}-z,text'
12246 archive_cmds_need_lc_CXX
=no
12247 hardcode_shlibpath_var_CXX
=no
12248 runpath_var
='LD_RUN_PATH'
12250 case $cc_basename in
12252 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12253 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12256 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12257 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12261 sysv5
* | sco3.2v5
* | sco5v6
*)
12262 # Note: We can NOT use -z defs as we might desire, because we do not
12263 # link with -lc, and that would cause any symbols used from libc to
12264 # always be unresolved, which means just about no library would
12265 # ever link correctly. If we're not using GNU ld we use -z text
12266 # though, which does catch some bad symbols but isn't as heavy-handed
12268 # For security reasons, it is highly recommended that you always
12269 # use absolute paths for naming shared libraries, and exclude the
12270 # DT_RUNPATH tag from executables and libraries. But doing so
12271 # requires that you compile everything twice, which is a pain.
12272 # So that behaviour is only enabled if SCOABSPATH is set to a
12273 # non-empty value in the environment. Most likely only useful for
12274 # creating official distributions of packages.
12275 # This is a hack until libtool officially supports absolute path
12276 # names for shared libraries.
12277 no_undefined_flag_CXX
='${wl}-z,text'
12278 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12279 archive_cmds_need_lc_CXX
=no
12280 hardcode_shlibpath_var_CXX
=no
12281 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12282 hardcode_libdir_separator_CXX
=':'
12283 link_all_deplibs_CXX
=yes
12284 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12285 runpath_var
='LD_RUN_PATH'
12287 case $cc_basename in
12289 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12290 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12293 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12294 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12299 case $cc_basename in
12301 # NonStop-UX NCC 3.20
12302 # FIXME: insert proper C++ library support
12306 # FIXME: insert proper C++ library support
12312 # FIXME: insert proper C++ library support
12316 # FIXME: insert proper C++ library support
12320 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12321 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12322 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12327 cat > conftest.
$ac_ext <<EOF
12331 Foo (void) { a = 0; }
12337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12338 (eval $ac_compile) 2>&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }; then
12342 # Parse the compiler output and extract the necessary
12343 # objects, libraries and library flags.
12345 # Sentinel used to keep track of whether or not we are before
12346 # the conftest object file.
12347 pre_test_object_deps_done
=no
12349 # The `*' in the case matches for architectures that use `case' in
12350 # $output_verbose_cmd can trigger glob expansion during the loop
12351 # eval without this substitution.
12352 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12354 for p
in `eval $output_verbose_link_cmd`; do
12358 # Some compilers place space between "-{L,R}" and the path.
12359 # Remove the space.
12360 if test $p = "-L" \
12361 ||
test $p = "-R"; then
12368 if test "$pre_test_object_deps_done" = no
; then
12371 # Internal compiler library paths should come after those
12372 # provided the user. The postdeps already come after the
12373 # user supplied libs so there is no need to process them.
12374 if test -z "$compiler_lib_search_path_CXX"; then
12375 compiler_lib_search_path_CXX
="${prev}${p}"
12377 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12380 # The "-l" case would never come before the object being
12381 # linked, so don't bother handling this case.
12384 if test -z "$postdeps_CXX"; then
12385 postdeps_CXX
="${prev}${p}"
12387 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12393 # This assumes that the test object file only shows up
12394 # once in the compiler output.
12395 if test "$p" = "conftest.$objext"; then
12396 pre_test_object_deps_done
=yes
12400 if test "$pre_test_object_deps_done" = no
; then
12401 if test -z "$predep_objects_CXX"; then
12402 predep_objects_CXX
="$p"
12404 predep_objects_CXX
="$predep_objects_CXX $p"
12407 if test -z "$postdep_objects_CXX"; then
12408 postdep_objects_CXX
="$p"
12410 postdep_objects_CXX
="$postdep_objects_CXX $p"
12415 *) ;; # Ignore the rest.
12423 echo "libtool.m4: error: problem compiling CXX test program"
12426 $rm -f confest.
$objext
12428 compiler_lib_search_dirs_CXX
=
12429 if test -n "$compiler_lib_search_path_CXX"; then
12430 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12433 # PORTME: override above test on systems where it is broken
12436 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12437 # hack all around it, let's just trust "g++" to DTRT.
12438 predep_objects_CXX
=
12439 postdep_objects_CXX
=
12444 case `$CC -V 2>&1 | sed 5q` in
12448 # The more standards-conforming stlport4 library is
12449 # incompatible with the Cstd library. Avoid specifying
12450 # it if it's in CXXFLAGS. Ignore libCrun as
12451 # -library=stlport4 depends on it.
12452 case " $CXX $CXXFLAGS " in
12453 *" -library=stlport4 "*)
12454 solaris_use_stlport4
=yes
12457 if test "$solaris_use_stlport4" != yes; then
12458 postdeps_CXX
='-library=Cstd -library=Crun'
12465 case $cc_basename in
12467 # The more standards-conforming stlport4 library is
12468 # incompatible with the Cstd library. Avoid specifying
12469 # it if it's in CXXFLAGS. Ignore libCrun as
12470 # -library=stlport4 depends on it.
12471 case " $CXX $CXXFLAGS " in
12472 *" -library=stlport4 "*)
12473 solaris_use_stlport4
=yes
12477 # Adding this requires a known-good setup of shared libraries for
12478 # Sun compiler versions before 5.6, else PIC objects from an old
12479 # archive will be linked into the output, leading to subtle bugs.
12480 if test "$solaris_use_stlport4" != yes; then
12481 postdeps_CXX
='-library=Cstd -library=Crun'
12488 case " $postdeps_CXX " in
12489 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12492 lt_prog_compiler_wl_CXX
=
12493 lt_prog_compiler_pic_CXX
=
12494 lt_prog_compiler_static_CXX
=
12496 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12497 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12499 # C++ specific cases for pic, static, wl, etc.
12500 if test "$GXX" = yes; then
12501 lt_prog_compiler_wl_CXX
='-Wl,'
12502 lt_prog_compiler_static_CXX
='-static'
12506 # All AIX code is PIC.
12507 if test "$host_cpu" = ia64
; then
12508 # AIX 5 now supports IA64 processor
12509 lt_prog_compiler_static_CXX
='-Bstatic'
12513 # FIXME: we need at least 68020 code to build shared libraries, but
12514 # adding the `-m68020' flag to GCC prevents building anything better,
12516 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12518 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12519 # PIC is the default for these OSes.
12521 mingw
* | cygwin
* | os2
* | pw32
*)
12522 # This hack is so that the source file can tell whether it is being
12523 # built for inclusion in a dll (and should export symbols for example).
12524 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12525 # (--disable-auto-import) libraries
12526 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12528 darwin
* | rhapsody
*)
12529 # PIC is the default on this platform
12530 # Common symbols not allowed in MH_DYLIB files
12531 lt_prog_compiler_pic_CXX
='-fno-common'
12534 # DJGPP does not support shared libraries at all
12535 lt_prog_compiler_pic_CXX
=
12538 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12539 # Instead, we relocate shared libraries at runtime.
12542 if test -d /usr
/nec
; then
12543 lt_prog_compiler_pic_CXX
=-Kconform_pic
12547 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12548 # not for PA HP-UX.
12553 lt_prog_compiler_pic_CXX
='-fPIC'
12558 lt_prog_compiler_pic_CXX
='-fPIC'
12564 # All AIX code is PIC.
12565 if test "$host_cpu" = ia64
; then
12566 # AIX 5 now supports IA64 processor
12567 lt_prog_compiler_static_CXX
='-Bstatic'
12569 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12573 case $cc_basename in
12575 # Green Hills C++ Compiler
12576 # _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"
12581 # PIC is the default on this platform
12582 # Common symbols not allowed in MH_DYLIB files
12583 case $cc_basename in
12585 lt_prog_compiler_pic_CXX
='-qnocommon'
12586 lt_prog_compiler_wl_CXX
='-Wl,'
12591 case $cc_basename in
12593 lt_prog_compiler_pic_CXX
='-KPIC'
12596 # Green Hills C++ Compiler
12597 lt_prog_compiler_pic_CXX
='-pic'
12603 freebsd
* | dragonfly
*)
12604 # FreeBSD uses GNU C++
12606 hpux9
* | hpux10
* | hpux11
*)
12607 case $cc_basename in
12609 lt_prog_compiler_wl_CXX
='-Wl,'
12610 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12611 if test "$host_cpu" != ia64
; then
12612 lt_prog_compiler_pic_CXX
='+Z'
12616 lt_prog_compiler_wl_CXX
='-Wl,'
12617 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12623 lt_prog_compiler_pic_CXX
='+Z'
12632 # This is c89, which is MS Visual C++ (no shared libs)
12633 # Anyone wants to do a port?
12635 irix5
* | irix6
* | nonstopux
*)
12636 case $cc_basename in
12638 lt_prog_compiler_wl_CXX
='-Wl,'
12639 lt_prog_compiler_static_CXX
='-non_shared'
12640 # CC pic flag -KPIC is the default.
12646 linux
* | k
*bsd
*-gnu)
12647 case $cc_basename in
12650 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12651 lt_prog_compiler_pic_CXX
='-fPIC'
12655 lt_prog_compiler_wl_CXX
='-Wl,'
12656 lt_prog_compiler_pic_CXX
='-KPIC'
12657 lt_prog_compiler_static_CXX
='-static'
12660 # Portland Group C++ compiler.
12661 lt_prog_compiler_wl_CXX
='-Wl,'
12662 lt_prog_compiler_pic_CXX
='-fpic'
12663 lt_prog_compiler_static_CXX
='-Bstatic'
12667 # Make sure the PIC flag is empty. It appears that all Alpha
12668 # Linux and Compaq Tru64 Unix objects are PIC.
12669 lt_prog_compiler_pic_CXX
=
12670 lt_prog_compiler_static_CXX
='-non_shared'
12673 case `$CC -V 2>&1 | sed 5q` in
12676 lt_prog_compiler_pic_CXX
='-KPIC'
12677 lt_prog_compiler_static_CXX
='-Bstatic'
12678 lt_prog_compiler_wl_CXX
='-Qoption ld '
12689 case $cc_basename in
12691 lt_prog_compiler_pic_CXX
='-W c,exportall'
12699 osf3
* | osf4
* | osf5
*)
12700 case $cc_basename in
12702 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12705 # Rational C++ 2.4.1
12706 lt_prog_compiler_pic_CXX
='-pic'
12709 # Digital/Compaq C++
12710 lt_prog_compiler_wl_CXX
='-Wl,'
12711 # Make sure the PIC flag is empty. It appears that all Alpha
12712 # Linux and Compaq Tru64 Unix objects are PIC.
12713 lt_prog_compiler_pic_CXX
=
12714 lt_prog_compiler_static_CXX
='-non_shared'
12723 case $cc_basename in
12725 # Sun C++ 4.2, 5.x and Centerline C++
12726 lt_prog_compiler_pic_CXX
='-KPIC'
12727 lt_prog_compiler_static_CXX
='-Bstatic'
12728 lt_prog_compiler_wl_CXX
='-Qoption ld '
12731 # Green Hills C++ Compiler
12732 lt_prog_compiler_pic_CXX
='-PIC'
12739 case $cc_basename in
12742 lt_prog_compiler_pic_CXX
='-pic'
12743 lt_prog_compiler_static_CXX
='-Bstatic'
12747 lt_prog_compiler_pic_CXX
='-pic'
12754 case $cc_basename in
12756 # NonStop-UX NCC 3.20
12757 lt_prog_compiler_pic_CXX
='-KPIC'
12763 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12764 case $cc_basename in
12766 lt_prog_compiler_wl_CXX
='-Wl,'
12767 lt_prog_compiler_pic_CXX
='-KPIC'
12768 lt_prog_compiler_static_CXX
='-Bstatic'
12775 lt_prog_compiler_can_build_shared_CXX
=no
12780 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12781 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12784 # Check to make sure the PIC flag actually works.
12786 if test -n "$lt_prog_compiler_pic_CXX"; then
12788 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12789 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12790 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12791 echo $ECHO_N "(cached) $ECHO_C" >&6
12793 lt_cv_prog_compiler_pic_works_CXX
=no
12794 ac_outfile
=conftest.
$ac_objext
12795 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12796 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12797 # Insert the option either (1) after the last *FLAGS variable, or
12798 # (2) before a word containing "conftest.", or (3) at the end.
12799 # Note that $ac_compile itself does not contain backslashes and begins
12800 # with a dollar sign (not a hyphen), so the echo should work correctly.
12801 # The option is referenced via a variable to avoid confusing sed.
12802 lt_compile
=`echo "$ac_compile" | $SED \
12803 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12804 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12805 -e 's:$: $lt_compiler_flag:'`
12806 (eval echo "\"\$as_me:12806: $lt_compile\"" >&5)
12807 (eval "$lt_compile" 2>conftest.err
)
12809 cat conftest.err
>&5
12810 echo "$as_me:12810: \$? = $ac_status" >&5
12811 if (exit $ac_status) && test -s "$ac_outfile"; then
12812 # The compiler can only warn and ignore the option if not recognized
12813 # So say no if there are warnings other than the usual output.
12814 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12815 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12816 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12817 lt_cv_prog_compiler_pic_works_CXX
=yes
12823 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12824 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12826 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12827 case $lt_prog_compiler_pic_CXX in
12829 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12832 lt_prog_compiler_pic_CXX
=
12833 lt_prog_compiler_can_build_shared_CXX
=no
12838 # For platforms which do not support PIC, -DPIC is meaningless:
12840 lt_prog_compiler_pic_CXX
=
12843 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12848 # Check to make sure the static flag actually works.
12850 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12851 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12852 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12853 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 lt_cv_prog_compiler_static_works_CXX
=no
12857 save_LDFLAGS
="$LDFLAGS"
12858 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12859 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12860 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12861 # The linker can only warn and ignore the option if not recognized
12862 # So say no if there are warnings
12863 if test -s conftest.err
; then
12864 # Append any errors to the config.log.
12865 cat conftest.err
1>&5
12866 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12867 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12868 if diff conftest.exp conftest.er2
>/dev
/null
; then
12869 lt_cv_prog_compiler_static_works_CXX
=yes
12872 lt_cv_prog_compiler_static_works_CXX
=yes
12876 LDFLAGS
="$save_LDFLAGS"
12879 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12880 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12882 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12885 lt_prog_compiler_static_CXX
=
12889 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12890 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12891 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12892 echo $ECHO_N "(cached) $ECHO_C" >&6
12894 lt_cv_prog_compiler_c_o_CXX
=no
12895 $rm -r conftest
2>/dev
/null
12899 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12901 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12902 # Insert the option either (1) after the last *FLAGS variable, or
12903 # (2) before a word containing "conftest.", or (3) at the end.
12904 # Note that $ac_compile itself does not contain backslashes and begins
12905 # with a dollar sign (not a hyphen), so the echo should work correctly.
12906 lt_compile
=`echo "$ac_compile" | $SED \
12907 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12908 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12909 -e 's:$: $lt_compiler_flag:'`
12910 (eval echo "\"\$as_me:12910: $lt_compile\"" >&5)
12911 (eval "$lt_compile" 2>out
/conftest.err
)
12913 cat out
/conftest.err
>&5
12914 echo "$as_me:12914: \$? = $ac_status" >&5
12915 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12917 # The compiler can only warn and ignore the option if not recognized
12918 # So say no if there are warnings
12919 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12920 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12921 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12922 lt_cv_prog_compiler_c_o_CXX
=yes
12927 # SGI C++ compiler will create directory out/ii_files/ for
12928 # template instantiation
12929 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12930 $rm out
/* && rmdir out
12936 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12937 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12940 hard_links
="nottested"
12941 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12942 # do not overwrite the value of need_locks provided by the user
12943 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12944 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12947 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12949 ln conftest.a conftest.b
2>&5 || hard_links
=no
12950 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12951 { echo "$as_me:$LINENO: result: $hard_links" >&5
12952 echo "${ECHO_T}$hard_links" >&6; }
12953 if test "$hard_links" = no
; then
12954 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12955 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12962 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12963 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12965 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12968 # If we're using GNU nm, then we don't want the "-C" option.
12969 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12970 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12971 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'
12973 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'
12977 export_symbols_cmds_CXX
="$ltdll_cmds"
12980 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'
12983 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12986 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12988 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12989 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12990 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12993 # Do we need to explicitly link libc?
12995 case "x$archive_cmds_need_lc_CXX" in
12997 # Assume -lc should be added
12998 archive_cmds_need_lc_CXX
=yes
13000 if test "$enable_shared" = yes && test "$GCC" = yes; then
13001 case $archive_cmds_CXX in
13003 # FIXME: we may have to deal with multi-command sequences.
13006 # Test whether the compiler implicitly links with -lc since on some
13007 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13008 # to ld, don't add -lc before -lgcc.
13009 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13010 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13012 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13015 (eval $ac_compile) 2>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); } 2>conftest.err
; then
13021 libobjs
=conftest.
$ac_objext
13023 wl
=$lt_prog_compiler_wl_CXX
13024 pic_flag
=$lt_prog_compiler_pic_CXX
13030 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13031 allow_undefined_flag_CXX
=
13032 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13033 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); }
13038 archive_cmds_need_lc_CXX
=no
13040 archive_cmds_need_lc_CXX
=yes
13042 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13044 cat conftest.err
1>&5
13047 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13048 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13055 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13056 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13057 library_names_spec
=
13058 libname_spec
='lib$name'
13062 postuninstall_cmds
=
13066 shlibpath_overrides_runpath
=unknown
13068 dynamic_linker
="$host_os ld.so"
13069 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13071 need_lib_prefix
=unknown
13072 hardcode_into_libs
=no
13074 # when you set need_version to no, make sure it does not cause -set_version
13075 # flags to be left without arguments
13076 need_version
=unknown
13081 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13082 shlibpath_var
=LIBPATH
13084 # AIX 3 has no versioning support, so we append a major version to the name.
13085 soname_spec
='${libname}${release}${shared_ext}$major'
13092 hardcode_into_libs
=yes
13093 if test "$host_cpu" = ia64
; then
13094 # AIX 5 supports IA64
13095 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13096 shlibpath_var
=LD_LIBRARY_PATH
13098 # With GCC up to 2.95.x, collect2 would create an import file
13099 # for dependence libraries. The import file would start with
13100 # the line `#! .'. This would cause the generated library to
13101 # depend on `.', always an invalid library. This was fixed in
13102 # development snapshots of GCC prior to 3.0.
13104 aix4 | aix4.
[01] | aix4.
[01].
*)
13105 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13107 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13110 can_build_shared
=no
13114 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13115 # soname into executable. Probably we can add versioning support to
13116 # collect2, so additional links can be useful in future.
13117 if test "$aix_use_runtimelinking" = yes; then
13118 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13119 # instead of lib<name>.a to let people know that these are not
13120 # typical AIX shared libraries.
13121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13123 # We preserve .a as extension for shared libraries through AIX4.2
13124 # and later when we are not doing run time linking.
13125 library_names_spec
='${libname}${release}.a $libname.a'
13126 soname_spec
='${libname}${release}${shared_ext}$major'
13128 shlibpath_var
=LIBPATH
13133 library_names_spec
='$libname.ixlibrary $libname.a'
13134 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13135 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'
13139 library_names_spec
='${libname}${shared_ext}'
13140 dynamic_linker
="$host_os ld.so"
13141 shlibpath_var
=LIBRARY_PATH
13147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13148 soname_spec
='${libname}${release}${shared_ext}$major'
13149 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13150 shlibpath_var
=LD_LIBRARY_PATH
13151 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13152 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13153 # the default ld.so.conf also contains /usr/contrib/lib and
13154 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13155 # libtool to hard-code these into programs
13158 cygwin
* | mingw
* | pw32
*)
13159 version_type
=windows
13164 case $GCC,$host_os in
13165 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13166 library_names_spec
='$libname.dll.a'
13167 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13168 postinstall_cmds
='base_file=`basename \${file}`~
13169 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13170 dldir=$destdir/`dirname \$dlpath`~
13171 test -d \$dldir || mkdir -p \$dldir~
13172 $install_prog $dir/$dlname \$dldir/$dlname~
13173 chmod a+x \$dldir/$dlname'
13174 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13175 dlpath=$dir/\$dldll~
13177 shlibpath_overrides_runpath
=yes
13181 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13182 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13183 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13186 # MinGW DLLs use traditional 'lib' prefix
13187 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13188 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13189 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13190 # It is most probably a Windows format PATH printed by
13191 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13192 # path with ; separators, and with drive letters. We can handle the
13193 # drive letters (cygwin fileutils understands them), so leave them,
13194 # especially as we might pass files found there to a mingw objdump,
13195 # which wouldn't understand a cygwinified path. Ahh.
13196 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13198 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13202 # pw32 DLLs use 'pw' prefix rather than 'lib'
13203 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13209 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13212 dynamic_linker
='Win32 ld.exe'
13213 # FIXME: first we should search . and the directory the executable is in
13217 darwin
* | rhapsody
*)
13218 dynamic_linker
="$host_os dyld"
13219 version_type
=darwin
13222 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13223 soname_spec
='${libname}${release}${major}$shared_ext'
13224 shlibpath_overrides_runpath
=yes
13225 shlibpath_var
=DYLD_LIBRARY_PATH
13226 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13228 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13236 soname_spec
='${libname}${release}${shared_ext}$major'
13237 shlibpath_var
=LD_LIBRARY_PATH
13244 freebsd
* | dragonfly
*)
13245 # DragonFly does not have aout. When/if they implement a new
13246 # versioning mechanism, adjust this.
13247 if test -x /usr
/bin
/objformat
; then
13248 objformat
=`/usr/bin/objformat`
13251 freebsd
[123]*) objformat
=aout
;;
13252 *) objformat
=elf
;;
13255 version_type
=freebsd-
$objformat
13256 case $version_type in
13258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13263 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13267 shlibpath_var
=LD_LIBRARY_PATH
13270 shlibpath_overrides_runpath
=yes
13272 freebsd3.
[01]* | freebsdelf3.
[01]*)
13273 shlibpath_overrides_runpath
=yes
13274 hardcode_into_libs
=yes
13276 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13277 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13278 shlibpath_overrides_runpath
=no
13279 hardcode_into_libs
=yes
13281 *) # from 4.6 on, and DragonFly
13282 shlibpath_overrides_runpath
=yes
13283 hardcode_into_libs
=yes
13292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13293 soname_spec
='${libname}${release}${shared_ext}$major'
13294 shlibpath_var
=LD_LIBRARY_PATH
13295 hardcode_into_libs
=yes
13298 hpux9
* | hpux10
* | hpux11
*)
13299 # Give a soname corresponding to the major version so that dld.sl refuses to
13300 # link against other versions.
13307 hardcode_into_libs
=yes
13308 dynamic_linker
="$host_os dld.so"
13309 shlibpath_var
=LD_LIBRARY_PATH
13310 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13312 soname_spec
='${libname}${release}${shared_ext}$major'
13313 if test "X$HPUX_IA64_MODE" = X32
; then
13314 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13316 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13318 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13322 hardcode_into_libs
=yes
13323 dynamic_linker
="$host_os dld.sl"
13324 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13325 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13327 soname_spec
='${libname}${release}${shared_ext}$major'
13328 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13329 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13333 dynamic_linker
="$host_os dld.sl"
13334 shlibpath_var
=SHLIB_PATH
13335 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13337 soname_spec
='${libname}${release}${shared_ext}$major'
13340 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13341 postinstall_cmds
='chmod 555 $lib'
13348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13349 soname_spec
='${libname}${release}${shared_ext}$major'
13350 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13351 shlibpath_var
=LD_LIBRARY_PATH
13352 shlibpath_overrides_runpath
=no
13353 hardcode_into_libs
=yes
13356 irix5
* | irix6
* | nonstopux
*)
13358 nonstopux
*) version_type
=nonstopux
;;
13360 if test "$lt_cv_prog_gnu_ld" = yes; then
13368 soname_spec
='${libname}${release}${shared_ext}$major'
13369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13371 irix5
* | nonstopux
*)
13372 libsuff
= shlibsuff
=
13375 case $LD in # libtool.m4 will add one of these switches to LD
13376 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13377 libsuff
= shlibsuff
= libmagic
=32-bit;;
13378 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13379 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13380 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13381 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13382 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13386 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13387 shlibpath_overrides_runpath
=no
13388 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13389 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13390 hardcode_into_libs
=yes
13393 # No shared lib support for Linux oldld, aout, or coff.
13394 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13398 # This must be Linux ELF.
13399 linux
* | k
*bsd
*-gnu)
13403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13404 soname_spec
='${libname}${release}${shared_ext}$major'
13405 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13406 shlibpath_var
=LD_LIBRARY_PATH
13407 shlibpath_overrides_runpath
=no
13408 # This implies no fast_install, which is unacceptable.
13409 # Some rework will be needed to allow for fast_install
13410 # before this can be enabled.
13411 hardcode_into_libs
=yes
13413 # Append ld.so.conf contents to the search path
13414 if test -f /etc
/ld.so.conf
; then
13415 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13416 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13419 # We used to test for /lib/ld.so.1 and disable shared libraries on
13420 # powerpc, because MkLinux only supported shared libraries with the
13421 # GNU dynamic linker. Since this was broken with cross compilers,
13422 # most powerpc-linux boxes support dynamic linking these days and
13423 # people can always --disable-shared, the test was removed, and we
13424 # assume the GNU/Linux dynamic linker is in use.
13425 dynamic_linker
='GNU/Linux ld.so'
13432 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13434 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13435 dynamic_linker
='NetBSD (a.out) ld.so'
13437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13438 soname_spec
='${libname}${release}${shared_ext}$major'
13439 dynamic_linker
='NetBSD ld.elf_so'
13441 shlibpath_var
=LD_LIBRARY_PATH
13442 shlibpath_overrides_runpath
=yes
13443 hardcode_into_libs
=yes
13448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13449 shlibpath_var
=LD_LIBRARY_PATH
13450 shlibpath_overrides_runpath
=yes
13457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13458 soname_spec
='${libname}${release}${shared_ext}$major'
13459 shlibpath_var
=LD_LIBRARY_PATH
13460 shlibpath_overrides_runpath
=yes
13465 sys_lib_dlsearch_path_spec
="/usr/lib"
13467 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13469 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13470 *) need_version
=no
;;
13472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13473 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13474 shlibpath_var
=LD_LIBRARY_PATH
13475 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13477 openbsd2.
[89] | openbsd2.
[89].
*)
13478 shlibpath_overrides_runpath
=no
13481 shlibpath_overrides_runpath
=yes
13485 shlibpath_overrides_runpath
=yes
13490 libname_spec
='$name'
13493 library_names_spec
='$libname${shared_ext} $libname.a'
13494 dynamic_linker
='OS/2 ld.exe'
13495 shlibpath_var
=LIBPATH
13498 osf3
* | osf4
* | osf5
*)
13502 soname_spec
='${libname}${release}${shared_ext}$major'
13503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13504 shlibpath_var
=LD_LIBRARY_PATH
13505 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13506 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13518 soname_spec
='${libname}${release}${shared_ext}$major'
13519 shlibpath_var
=LD_LIBRARY_PATH
13520 shlibpath_overrides_runpath
=yes
13521 hardcode_into_libs
=yes
13522 # ldd complains unless libraries are executable
13523 postinstall_cmds
='chmod +x $lib'
13528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13529 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13530 shlibpath_var
=LD_LIBRARY_PATH
13531 shlibpath_overrides_runpath
=yes
13532 if test "$with_gnu_ld" = yes; then
13540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13541 soname_spec
='${libname}${release}${shared_ext}$major'
13542 shlibpath_var
=LD_LIBRARY_PATH
13543 case $host_vendor in
13545 shlibpath_overrides_runpath
=no
13547 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13548 runpath_var
=LD_RUN_PATH
13556 shlibpath_overrides_runpath
=no
13557 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13563 if test -d /usr
/nec
;then
13565 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13566 soname_spec
='$libname${shared_ext}.$major'
13567 shlibpath_var
=LD_LIBRARY_PATH
13571 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13572 version_type
=freebsd-elf
13575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13576 soname_spec
='${libname}${release}${shared_ext}$major'
13577 shlibpath_var
=LD_LIBRARY_PATH
13578 hardcode_into_libs
=yes
13579 if test "$with_gnu_ld" = yes; then
13580 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13581 shlibpath_overrides_runpath
=no
13583 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13584 shlibpath_overrides_runpath
=yes
13587 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13591 sys_lib_dlsearch_path_spec
='/usr/lib'
13596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13597 soname_spec
='${libname}${release}${shared_ext}$major'
13598 shlibpath_var
=LD_LIBRARY_PATH
13605 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13606 echo "${ECHO_T}$dynamic_linker" >&6; }
13607 test "$dynamic_linker" = no
&& can_build_shared
=no
13609 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13610 echo $ECHO_N "(cached) $ECHO_C" >&6
13612 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
13615 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13616 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13617 echo $ECHO_N "(cached) $ECHO_C" >&6
13619 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
13622 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13624 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13625 if test "$GCC" = yes; then
13626 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13629 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13630 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13631 hardcode_action_CXX
=
13632 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13633 test -n "$runpath_var_CXX" || \
13634 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13636 # We can hardcode non-existant directories.
13637 if test "$hardcode_direct_CXX" != no
&&
13638 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13639 # have to relink, otherwise we might link with an installed library
13640 # when we should be linking with a yet-to-be-installed one
13641 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13642 test "$hardcode_minus_L_CXX" != no
; then
13643 # Linking always hardcodes the temporary library directory.
13644 hardcode_action_CXX
=relink
13646 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13647 hardcode_action_CXX
=immediate
13650 # We cannot hardcode anything, or else we can only hardcode existing
13652 hardcode_action_CXX
=unsupported
13654 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13655 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13657 if test "$hardcode_action_CXX" = relink
; then
13658 # Fast installation is not supported
13659 enable_fast_install
=no
13660 elif test "$shlibpath_overrides_runpath" = yes ||
13661 test "$enable_shared" = no
; then
13662 # Fast installation is not necessary
13663 enable_fast_install
=needless
13667 # The else clause should only fire when bootstrapping the
13668 # libtool distribution, otherwise you forgot to ship ltmain.sh
13669 # with your package, and you will get complaints that there are
13670 # no rules to generate ltmain.sh.
13671 if test -f "$ltmain"; then
13672 # See if we are running on zsh, and set the options which allow our commands through
13673 # without removal of \ escapes.
13674 if test -n "${ZSH_VERSION+set}" ; then
13675 setopt NO_GLOB_SUBST
13677 # Now quote all the things that may contain metacharacters while being
13678 # careful not to overquote the AC_SUBSTed values. We take copies of the
13679 # variables and quote the copies for generation of the libtool script.
13680 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13682 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13683 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13684 deplibs_check_method reload_flag reload_cmds need_locks \
13685 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13686 lt_cv_sys_global_symbol_to_c_name_address \
13687 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13688 old_postinstall_cmds old_postuninstall_cmds \
13692 lt_prog_compiler_wl_CXX \
13693 lt_prog_compiler_pic_CXX \
13694 lt_prog_compiler_static_CXX \
13695 lt_prog_compiler_no_builtin_flag_CXX \
13696 export_dynamic_flag_spec_CXX \
13697 thread_safe_flag_spec_CXX \
13698 whole_archive_flag_spec_CXX \
13699 enable_shared_with_static_runtimes_CXX \
13700 old_archive_cmds_CXX \
13701 old_archive_from_new_cmds_CXX \
13702 predep_objects_CXX \
13703 postdep_objects_CXX \
13706 compiler_lib_search_path_CXX \
13707 compiler_lib_search_dirs_CXX \
13709 archive_expsym_cmds_CXX \
13710 postinstall_cmds_CXX \
13711 postuninstall_cmds_CXX \
13712 old_archive_from_expsyms_cmds_CXX \
13713 allow_undefined_flag_CXX \
13714 no_undefined_flag_CXX \
13715 export_symbols_cmds_CXX \
13716 hardcode_libdir_flag_spec_CXX \
13717 hardcode_libdir_flag_spec_ld_CXX \
13718 hardcode_libdir_separator_CXX \
13719 hardcode_automatic_CXX \
13721 module_expsym_cmds_CXX \
13722 lt_cv_prog_compiler_c_o_CXX \
13723 fix_srcfile_path_CXX \
13724 exclude_expsyms_CXX \
13725 include_expsyms_CXX
; do
13728 old_archive_cmds_CXX | \
13729 old_archive_from_new_cmds_CXX | \
13730 archive_cmds_CXX | \
13731 archive_expsym_cmds_CXX | \
13732 module_cmds_CXX | \
13733 module_expsym_cmds_CXX | \
13734 old_archive_from_expsyms_cmds_CXX | \
13735 export_symbols_cmds_CXX | \
13736 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13737 postinstall_cmds | postuninstall_cmds | \
13738 old_postinstall_cmds | old_postuninstall_cmds | \
13739 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13740 # Double-quote double-evaled strings.
13741 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13744 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13750 *'\$0 --fallback-echo"')
13751 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13757 cat <<__EOF__ >> "$cfgfile"
13758 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13760 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13762 # Shell to use when invoking shell scripts.
13765 # Whether or not to build shared libraries.
13766 build_libtool_libs=$enable_shared
13768 # Whether or not to build static libraries.
13769 build_old_libs=$enable_static
13771 # Whether or not to add -lc for building shared libraries.
13772 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13774 # Whether or not to disallow shared libs when runtime libs are static
13775 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13777 # Whether or not to optimize for fast installation.
13778 fast_install=$enable_fast_install
13781 host_alias=$host_alias
13785 # The build system.
13786 build_alias=$build_alias
13790 # An echo program that does not interpret backslashes.
13795 AR_FLAGS=$lt_AR_FLAGS
13800 # LTCC compiler flags.
13801 LTCFLAGS=$lt_LTCFLAGS
13803 # A language-specific compiler.
13804 CC=$lt_compiler_CXX
13806 # Is the compiler the GNU C compiler?
13812 # The linker used to build libraries.
13815 # Whether we need hard or soft links.
13818 # A BSD-compatible nm program.
13821 # A symbol stripping program
13824 # Used to examine libraries when file_magic_cmd begins "file"
13825 MAGIC_CMD=$MAGIC_CMD
13827 # Used on cygwin: DLL creation program.
13830 # Used on cygwin: object dumper.
13833 # Used on cygwin: assembler.
13836 # The name of the directory that contains temporary libtool files.
13839 # How to create reloadable object files.
13840 reload_flag=$lt_reload_flag
13841 reload_cmds=$lt_reload_cmds
13843 # How to pass a linker flag through the compiler.
13844 wl=$lt_lt_prog_compiler_wl_CXX
13846 # Object file suffix (normally "o").
13847 objext="$ac_objext"
13849 # Old archive suffix (normally "a").
13852 # Shared library suffix (normally ".so").
13853 shrext_cmds='$shrext_cmds'
13855 # Executable file suffix (normally "").
13858 # Additional compiler flags for building library objects.
13859 pic_flag=$lt_lt_prog_compiler_pic_CXX
13862 # What is the maximum length of a command?
13863 max_cmd_len=$lt_cv_sys_max_cmd_len
13865 # Does compiler simultaneously support -c and -o options?
13866 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13868 # Must we lock files when doing compilation?
13869 need_locks=$lt_need_locks
13871 # Do we need the lib prefix for modules?
13872 need_lib_prefix=$need_lib_prefix
13874 # Do we need a version for libraries?
13875 need_version=$need_version
13877 # Whether dlopen is supported.
13878 dlopen_support=$enable_dlopen
13880 # Whether dlopen of programs is supported.
13881 dlopen_self=$enable_dlopen_self
13883 # Whether dlopen of statically linked programs is supported.
13884 dlopen_self_static=$enable_dlopen_self_static
13886 # Compiler flag to prevent dynamic linking.
13887 link_static_flag=$lt_lt_prog_compiler_static_CXX
13889 # Compiler flag to turn off builtin functions.
13890 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13892 # Compiler flag to allow reflexive dlopens.
13893 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13895 # Compiler flag to generate shared objects directly from archives.
13896 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13898 # Compiler flag to generate thread-safe objects.
13899 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13901 # Library versioning type.
13902 version_type=$version_type
13904 # Format of library name prefix.
13905 libname_spec=$lt_libname_spec
13907 # List of archive names. First name is the real one, the rest are links.
13908 # The last name is the one that the linker finds with -lNAME.
13909 library_names_spec=$lt_library_names_spec
13911 # The coded name of the library, if different from the real name.
13912 soname_spec=$lt_soname_spec
13914 # Commands used to build and install an old-style archive.
13916 old_archive_cmds=$lt_old_archive_cmds_CXX
13917 old_postinstall_cmds=$lt_old_postinstall_cmds
13918 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13920 # Create an old-style archive from a shared archive.
13921 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13923 # Create a temporary old-style archive to link instead of a shared archive.
13924 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13926 # Commands used to build and install a shared archive.
13927 archive_cmds=$lt_archive_cmds_CXX
13928 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13929 postinstall_cmds=$lt_postinstall_cmds
13930 postuninstall_cmds=$lt_postuninstall_cmds
13932 # Commands used to build a loadable module (assumed same as above if empty)
13933 module_cmds=$lt_module_cmds_CXX
13934 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13936 # Commands to strip libraries.
13937 old_striplib=$lt_old_striplib
13938 striplib=$lt_striplib
13940 # Dependencies to place before the objects being linked to create a
13942 predep_objects=$lt_predep_objects_CXX
13944 # Dependencies to place after the objects being linked to create a
13946 postdep_objects=$lt_postdep_objects_CXX
13948 # Dependencies to place before the objects being linked to create a
13950 predeps=$lt_predeps_CXX
13952 # Dependencies to place after the objects being linked to create a
13954 postdeps=$lt_postdeps_CXX
13956 # The directories searched by this compiler when creating a shared
13958 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
13960 # The library search path used internally by the compiler when linking
13961 # a shared library.
13962 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13964 # Method to check whether dependent libraries are shared objects.
13965 deplibs_check_method=$lt_deplibs_check_method
13967 # Command to use when deplibs_check_method == file_magic.
13968 file_magic_cmd=$lt_file_magic_cmd
13970 # Flag that allows shared libraries with undefined symbols to be built.
13971 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13973 # Flag that forces no undefined symbols.
13974 no_undefined_flag=$lt_no_undefined_flag_CXX
13976 # Commands used to finish a libtool library installation in a directory.
13977 finish_cmds=$lt_finish_cmds
13979 # Same as above, but a single script fragment to be evaled but not shown.
13980 finish_eval=$lt_finish_eval
13982 # Take the output of nm and produce a listing of raw symbols and C names.
13983 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13985 # Transform the output of nm in a proper C declaration
13986 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13988 # Transform the output of nm in a C name address pair
13989 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13991 # This is the shared library runtime path variable.
13992 runpath_var=$runpath_var
13994 # This is the shared library path variable.
13995 shlibpath_var=$shlibpath_var
13997 # Is shlibpath searched before the hard-coded library search path?
13998 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14000 # How to hardcode a shared library path into an executable.
14001 hardcode_action=$hardcode_action_CXX
14003 # Whether we should hardcode library paths into libraries.
14004 hardcode_into_libs=$hardcode_into_libs
14006 # Flag to hardcode \$libdir into a binary during linking.
14007 # This must work even if \$libdir does not exist.
14008 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14010 # If ld is used when linking, flag to hardcode \$libdir into
14011 # a binary during linking. This must work even if \$libdir does
14013 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14015 # Whether we need a single -rpath flag with a separated argument.
14016 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14018 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14019 # resulting binary.
14020 hardcode_direct=$hardcode_direct_CXX
14022 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14023 # resulting binary.
14024 hardcode_minus_L=$hardcode_minus_L_CXX
14026 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14027 # the resulting binary.
14028 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14030 # Set to yes if building a shared library automatically hardcodes DIR into the library
14031 # and all subsequent libraries and executables linked against it.
14032 hardcode_automatic=$hardcode_automatic_CXX
14034 # Variables whose values should be saved in libtool wrapper scripts and
14035 # restored at relink time.
14036 variables_saved_for_relink="$variables_saved_for_relink"
14038 # Whether libtool must link a program against all its dependency libraries.
14039 link_all_deplibs=$link_all_deplibs_CXX
14041 # Compile-time system search path for libraries
14042 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14044 # Run-time system search path for libraries
14045 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14047 # Fix the shell variable \$srcfile for the compiler.
14048 fix_srcfile_path=$lt_fix_srcfile_path
14050 # Set to yes if exported symbols are required.
14051 always_export_symbols=$always_export_symbols_CXX
14053 # The commands to list exported symbols.
14054 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14056 # The commands to extract the exported symbol list from a shared archive.
14057 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14059 # Symbols that should not be listed in the preloaded symbols.
14060 exclude_expsyms=$lt_exclude_expsyms_CXX
14062 # Symbols that must always be exported.
14063 include_expsyms=$lt_include_expsyms_CXX
14065 # ### END LIBTOOL TAG CONFIG: $tagname
14071 # If there is no Makefile yet, we rely on a make rule to execute
14072 # `config.status --recheck' to rerun these tests and create the
14073 # libtool script then.
14074 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14075 if test -f "$ltmain_in"; then
14076 test -f Makefile
&& make "$ltmain"
14082 ac_cpp
='$CPP $CPPFLAGS'
14083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14091 with_gnu_ldcxx
=$with_gnu_ld
14092 with_gnu_ld
=$lt_save_with_gnu_ld
14093 lt_cv_path_LDCXX
=$lt_cv_path_LD
14094 lt_cv_path_LD
=$lt_save_path_LD
14095 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14096 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14104 if test -n "$F77" && test "X$F77" != "Xno"; then
14107 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14108 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14109 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14112 archive_cmds_need_lc_F77
=no
14113 allow_undefined_flag_F77
=
14114 always_export_symbols_F77
=no
14115 archive_expsym_cmds_F77
=
14116 export_dynamic_flag_spec_F77
=
14117 hardcode_direct_F77
=no
14118 hardcode_libdir_flag_spec_F77
=
14119 hardcode_libdir_flag_spec_ld_F77
=
14120 hardcode_libdir_separator_F77
=
14121 hardcode_minus_L_F77
=no
14122 hardcode_automatic_F77
=no
14124 module_expsym_cmds_F77
=
14125 link_all_deplibs_F77
=unknown
14126 old_archive_cmds_F77
=$old_archive_cmds
14127 no_undefined_flag_F77
=
14128 whole_archive_flag_spec_F77
=
14129 enable_shared_with_static_runtimes_F77
=no
14131 # Source file extension for f77 test sources.
14134 # Object file extension for compiled f77 test sources.
14138 # Code to be used in simple compile tests
14139 lt_simple_compile_test_code
="\
14145 # Code to be used in simple link tests
14146 lt_simple_link_test_code
="\
14151 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14153 # If no C compiler was specified, use CC.
14156 # If no C compiler flags were specified, use CFLAGS.
14157 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14159 # Allow CC to be a program name with arguments.
14163 # save warnings/boilerplate of simple test code
14164 ac_outfile
=conftest.
$ac_objext
14165 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14166 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14167 _lt_compiler_boilerplate
=`cat conftest.err`
14170 ac_outfile
=conftest.
$ac_objext
14171 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14172 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14173 _lt_linker_boilerplate
=`cat conftest.err`
14177 # Allow CC to be a program name with arguments.
14182 for cc_temp
in $compiler""; do
14184 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14185 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14190 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14193 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14194 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14195 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14196 echo "${ECHO_T}$can_build_shared" >&6; }
14198 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14199 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14200 test "$can_build_shared" = "no" && enable_shared
=no
14202 # On AIX, shared libraries and static libraries use the same namespace, and
14203 # are all built from PIC.
14206 test "$enable_shared" = yes && enable_static
=no
14207 if test -n "$RANLIB"; then
14208 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14209 postinstall_cmds
='$RANLIB $lib'
14213 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14214 test "$enable_shared" = yes && enable_static
=no
14218 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14219 echo "${ECHO_T}$enable_shared" >&6; }
14221 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14222 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14223 # Make sure either enable_shared or enable_static is yes.
14224 test "$enable_shared" = yes || enable_static
=yes
14225 { echo "$as_me:$LINENO: result: $enable_static" >&5
14226 echo "${ECHO_T}$enable_static" >&6; }
14231 lt_prog_compiler_wl_F77
=
14232 lt_prog_compiler_pic_F77
=
14233 lt_prog_compiler_static_F77
=
14235 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14236 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14238 if test "$GCC" = yes; then
14239 lt_prog_compiler_wl_F77
='-Wl,'
14240 lt_prog_compiler_static_F77
='-static'
14244 # All AIX code is PIC.
14245 if test "$host_cpu" = ia64
; then
14246 # AIX 5 now supports IA64 processor
14247 lt_prog_compiler_static_F77
='-Bstatic'
14252 # FIXME: we need at least 68020 code to build shared libraries, but
14253 # adding the `-m68020' flag to GCC prevents building anything better,
14255 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14258 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14259 # PIC is the default for these OSes.
14262 mingw
* | cygwin
* | pw32
* | os2
*)
14263 # This hack is so that the source file can tell whether it is being
14264 # built for inclusion in a dll (and should export symbols for example).
14265 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14266 # (--disable-auto-import) libraries
14267 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14270 darwin
* | rhapsody
*)
14271 # PIC is the default on this platform
14272 # Common symbols not allowed in MH_DYLIB files
14273 lt_prog_compiler_pic_F77
='-fno-common'
14277 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14278 # Instead, we relocate shared libraries at runtime.
14282 # Just because we use GCC doesn't mean we suddenly get shared libraries
14283 # on systems that don't support them.
14284 lt_prog_compiler_can_build_shared_F77
=no
14289 if test -d /usr
/nec
; then
14290 lt_prog_compiler_pic_F77
=-Kconform_pic
14295 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14296 # not for PA HP-UX.
14302 lt_prog_compiler_pic_F77
='-fPIC'
14308 lt_prog_compiler_pic_F77
='-fPIC'
14312 # PORTME Check for flag to pass linker flags through the system compiler.
14315 lt_prog_compiler_wl_F77
='-Wl,'
14316 if test "$host_cpu" = ia64
; then
14317 # AIX 5 now supports IA64 processor
14318 lt_prog_compiler_static_F77
='-Bstatic'
14320 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14324 # PIC is the default on this platform
14325 # Common symbols not allowed in MH_DYLIB files
14326 case $cc_basename in
14328 lt_prog_compiler_pic_F77
='-qnocommon'
14329 lt_prog_compiler_wl_F77
='-Wl,'
14334 mingw
* | cygwin
* | pw32
* | os2
*)
14335 # This hack is so that the source file can tell whether it is being
14336 # built for inclusion in a dll (and should export symbols for example).
14337 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14340 hpux9
* | hpux10
* | hpux11
*)
14341 lt_prog_compiler_wl_F77
='-Wl,'
14342 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14343 # not for PA HP-UX.
14349 lt_prog_compiler_pic_F77
='+Z'
14352 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14353 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14356 irix5
* | irix6
* | nonstopux
*)
14357 lt_prog_compiler_wl_F77
='-Wl,'
14358 # PIC (with -KPIC) is the default.
14359 lt_prog_compiler_static_F77
='-non_shared'
14363 lt_prog_compiler_pic_F77
='-KPIC'
14364 lt_prog_compiler_static_F77
='-Bstatic'
14367 linux
* | k
*bsd
*-gnu)
14368 case $cc_basename in
14370 lt_prog_compiler_wl_F77
='-Wl,'
14371 lt_prog_compiler_pic_F77
='-KPIC'
14372 lt_prog_compiler_static_F77
='-static'
14374 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14375 # Portland Group compilers (*not* the Pentium gcc compiler,
14376 # which looks to be a dead project)
14377 lt_prog_compiler_wl_F77
='-Wl,'
14378 lt_prog_compiler_pic_F77
='-fpic'
14379 lt_prog_compiler_static_F77
='-Bstatic'
14382 lt_prog_compiler_wl_F77
='-Wl,'
14383 # All Alpha code is PIC.
14384 lt_prog_compiler_static_F77
='-non_shared'
14387 case `$CC -V 2>&1 | sed 5q` in
14390 lt_prog_compiler_pic_F77
='-KPIC'
14391 lt_prog_compiler_static_F77
='-Bstatic'
14392 lt_prog_compiler_wl_F77
='-Wl,'
14395 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14396 lt_prog_compiler_pic_F77
='-KPIC'
14397 lt_prog_compiler_static_F77
='-Bstatic'
14398 lt_prog_compiler_wl_F77
=''
14405 osf3
* | osf4
* | osf5
*)
14406 lt_prog_compiler_wl_F77
='-Wl,'
14407 # All OSF/1 code is PIC.
14408 lt_prog_compiler_static_F77
='-non_shared'
14412 lt_prog_compiler_static_F77
='-non_shared'
14416 lt_prog_compiler_pic_F77
='-KPIC'
14417 lt_prog_compiler_static_F77
='-Bstatic'
14418 case $cc_basename in
14419 f77
* | f90
* | f95
*)
14420 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14422 lt_prog_compiler_wl_F77
='-Wl,';;
14427 lt_prog_compiler_wl_F77
='-Qoption ld '
14428 lt_prog_compiler_pic_F77
='-PIC'
14429 lt_prog_compiler_static_F77
='-Bstatic'
14432 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14433 lt_prog_compiler_wl_F77
='-Wl,'
14434 lt_prog_compiler_pic_F77
='-KPIC'
14435 lt_prog_compiler_static_F77
='-Bstatic'
14439 if test -d /usr
/nec
;then
14440 lt_prog_compiler_pic_F77
='-Kconform_pic'
14441 lt_prog_compiler_static_F77
='-Bstatic'
14445 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14446 lt_prog_compiler_wl_F77
='-Wl,'
14447 lt_prog_compiler_pic_F77
='-KPIC'
14448 lt_prog_compiler_static_F77
='-Bstatic'
14452 lt_prog_compiler_wl_F77
='-Wl,'
14453 lt_prog_compiler_can_build_shared_F77
=no
14457 lt_prog_compiler_pic_F77
='-pic'
14458 lt_prog_compiler_static_F77
='-Bstatic'
14462 lt_prog_compiler_can_build_shared_F77
=no
14467 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14468 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14471 # Check to make sure the PIC flag actually works.
14473 if test -n "$lt_prog_compiler_pic_F77"; then
14475 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14476 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14477 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14480 lt_cv_prog_compiler_pic_works_F77
=no
14481 ac_outfile
=conftest.
$ac_objext
14482 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14483 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14484 # Insert the option either (1) after the last *FLAGS variable, or
14485 # (2) before a word containing "conftest.", or (3) at the end.
14486 # Note that $ac_compile itself does not contain backslashes and begins
14487 # with a dollar sign (not a hyphen), so the echo should work correctly.
14488 # The option is referenced via a variable to avoid confusing sed.
14489 lt_compile
=`echo "$ac_compile" | $SED \
14490 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14491 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14492 -e 's:$: $lt_compiler_flag:'`
14493 (eval echo "\"\$as_me:14493: $lt_compile\"" >&5)
14494 (eval "$lt_compile" 2>conftest.err
)
14496 cat conftest.err
>&5
14497 echo "$as_me:14497: \$? = $ac_status" >&5
14498 if (exit $ac_status) && test -s "$ac_outfile"; then
14499 # The compiler can only warn and ignore the option if not recognized
14500 # So say no if there are warnings other than the usual output.
14501 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14502 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14503 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14504 lt_cv_prog_compiler_pic_works_F77
=yes
14510 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14511 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14513 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
14514 case $lt_prog_compiler_pic_F77 in
14516 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14519 lt_prog_compiler_pic_F77
=
14520 lt_prog_compiler_can_build_shared_F77
=no
14525 # For platforms which do not support PIC, -DPIC is meaningless:
14527 lt_prog_compiler_pic_F77
=
14530 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14535 # Check to make sure the static flag actually works.
14537 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14538 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14539 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14540 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14541 echo $ECHO_N "(cached) $ECHO_C" >&6
14543 lt_cv_prog_compiler_static_works_F77
=no
14544 save_LDFLAGS
="$LDFLAGS"
14545 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14546 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14547 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14548 # The linker can only warn and ignore the option if not recognized
14549 # So say no if there are warnings
14550 if test -s conftest.err
; then
14551 # Append any errors to the config.log.
14552 cat conftest.err
1>&5
14553 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14554 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14555 if diff conftest.exp conftest.er2
>/dev
/null
; then
14556 lt_cv_prog_compiler_static_works_F77
=yes
14559 lt_cv_prog_compiler_static_works_F77
=yes
14563 LDFLAGS
="$save_LDFLAGS"
14566 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14567 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14569 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
14572 lt_prog_compiler_static_F77
=
14576 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14577 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14578 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14579 echo $ECHO_N "(cached) $ECHO_C" >&6
14581 lt_cv_prog_compiler_c_o_F77
=no
14582 $rm -r conftest
2>/dev
/null
14586 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14588 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14589 # Insert the option either (1) after the last *FLAGS variable, or
14590 # (2) before a word containing "conftest.", or (3) at the end.
14591 # Note that $ac_compile itself does not contain backslashes and begins
14592 # with a dollar sign (not a hyphen), so the echo should work correctly.
14593 lt_compile
=`echo "$ac_compile" | $SED \
14594 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14595 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14596 -e 's:$: $lt_compiler_flag:'`
14597 (eval echo "\"\$as_me:14597: $lt_compile\"" >&5)
14598 (eval "$lt_compile" 2>out
/conftest.err
)
14600 cat out
/conftest.err
>&5
14601 echo "$as_me:14601: \$? = $ac_status" >&5
14602 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14604 # The compiler can only warn and ignore the option if not recognized
14605 # So say no if there are warnings
14606 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14607 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14608 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14609 lt_cv_prog_compiler_c_o_F77
=yes
14614 # SGI C++ compiler will create directory out/ii_files/ for
14615 # template instantiation
14616 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14617 $rm out
/* && rmdir out
14623 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14624 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14627 hard_links
="nottested"
14628 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14629 # do not overwrite the value of need_locks provided by the user
14630 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14631 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14634 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14636 ln conftest.a conftest.b
2>&5 || hard_links
=no
14637 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14638 { echo "$as_me:$LINENO: result: $hard_links" >&5
14639 echo "${ECHO_T}$hard_links" >&6; }
14640 if test "$hard_links" = no
; then
14641 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14642 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14649 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14650 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14653 allow_undefined_flag_F77
=
14654 enable_shared_with_static_runtimes_F77
=no
14656 archive_expsym_cmds_F77
=
14657 old_archive_From_new_cmds_F77
=
14658 old_archive_from_expsyms_cmds_F77
=
14659 export_dynamic_flag_spec_F77
=
14660 whole_archive_flag_spec_F77
=
14661 thread_safe_flag_spec_F77
=
14662 hardcode_libdir_flag_spec_F77
=
14663 hardcode_libdir_flag_spec_ld_F77
=
14664 hardcode_libdir_separator_F77
=
14665 hardcode_direct_F77
=no
14666 hardcode_minus_L_F77
=no
14667 hardcode_shlibpath_var_F77
=unsupported
14668 link_all_deplibs_F77
=unknown
14669 hardcode_automatic_F77
=no
14671 module_expsym_cmds_F77
=
14672 always_export_symbols_F77
=no
14673 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14674 # include_expsyms should be a list of space-separated symbols to be *always*
14675 # included in the symbol list
14676 include_expsyms_F77
=
14677 # exclude_expsyms can be an extended regexp of symbols to exclude
14678 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14679 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14680 # as well as any symbol that contains `d'.
14681 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14682 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14683 # platforms (ab)use it in PIC code, but their linkers get confused if
14684 # the symbol is explicitly referenced. Since portable code cannot
14685 # rely on this symbol name, it's probably fine to never include it in
14686 # preloaded symbol tables.
14687 # Exclude shared library initialization/finalization symbols.
14688 extract_expsyms_cmds
=
14689 # Just being paranoid about ensuring that cc_basename is set.
14690 for cc_temp
in $compiler""; do
14692 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14693 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14698 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14701 cygwin
* | mingw
* | pw32
*)
14702 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14703 # When not using gcc, we currently assume that we are using
14704 # Microsoft Visual C++.
14705 if test "$GCC" != yes; then
14710 # we just hope/assume this is gcc and not c89 (= MSVC++)
14719 if test "$with_gnu_ld" = yes; then
14720 # If archive_cmds runs LD, not CC, wlarc should be empty
14723 # Set some defaults for GNU ld with shared library support. These
14724 # are reset later if shared libraries are not supported. Putting them
14725 # here allows them to be overridden if necessary.
14726 runpath_var
=LD_RUN_PATH
14727 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14728 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14729 # ancient GNU ld didn't support --whole-archive et. al.
14730 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14731 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14733 whole_archive_flag_spec_F77
=
14735 supports_anon_versioning
=no
14736 case `$LD -v 2>/dev/null` in
14737 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14738 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14739 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14740 *\
2.11.
*) ;; # other 2.11 versions
14741 *) supports_anon_versioning
=yes ;;
14744 # See if GNU ld supports shared libraries.
14747 # On AIX/PPC, the GNU linker is very broken
14748 if test "$host_cpu" != ia64
; then
14752 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14753 *** to be unable to reliably create shared libraries on AIX.
14754 *** Therefore, libtool is disabling shared libraries support. If you
14755 *** really care for shared libraries, you may want to modify your PATH
14756 *** so that a non-GNU linker is found, and then restart.
14763 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)'
14764 hardcode_libdir_flag_spec_F77
='-L$libdir'
14765 hardcode_minus_L_F77
=yes
14767 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14768 # that the semantics of dynamic libraries on AmigaOS, at least up
14769 # to version 4, is to share data among multiple programs linked
14770 # with the same dynamic library. Since this doesn't match the
14771 # behavior of shared libraries on other platforms, we can't use
14777 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14778 allow_undefined_flag_F77
=unsupported
14779 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14780 # support --undefined. This deserves some investigation. FIXME
14781 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14787 cygwin
* | mingw
* | pw32
*)
14788 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14789 # as there is no search path for DLLs.
14790 hardcode_libdir_flag_spec_F77
='-L$libdir'
14791 allow_undefined_flag_F77
=unsupported
14792 always_export_symbols_F77
=no
14793 enable_shared_with_static_runtimes_F77
=yes
14794 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14796 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14797 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14798 # If the export-symbols file already is a .def file (1st line
14799 # is EXPORTS), use it as is; otherwise, prepend...
14800 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14801 cp $export_symbols $output_objdir/$soname.def;
14803 echo EXPORTS > $output_objdir/$soname.def;
14804 cat $export_symbols >> $output_objdir/$soname.def;
14806 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14813 hardcode_direct_F77
=no
14814 hardcode_shlibpath_var_F77
=no
14815 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14816 export_dynamic_flag_spec_F77
='${wl}-E'
14817 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14818 # Instead, shared libraries are loaded at an image base (0x10000000 by
14819 # default) and relocated if they conflict, which is a slow very memory
14820 # consuming and fragmenting process. To avoid this, we pick a random,
14821 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14822 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14823 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'
14824 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'
14827 gnu
* | linux
* | k
*bsd
*-gnu)
14828 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14830 case $cc_basename,$host_cpu in
14831 pgcc
*) # Portland Group C compiler
14832 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'
14833 tmp_addflag
=' $pic_flag'
14835 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14836 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'
14837 tmp_addflag
=' $pic_flag -Mnomain' ;;
14838 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14839 tmp_addflag
=' -i_dynamic' ;;
14840 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14841 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14842 ifc
* | ifort
*) # Intel Fortran compiler
14843 tmp_addflag
=' -nofor_main' ;;
14845 case `$CC -V 2>&1 | sed 5q` in
14846 *Sun\ C
*) # Sun C 5.9
14847 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14848 tmp_sharedflag
='-G' ;;
14849 *Sun\ F
*) # Sun Fortran 8.3
14850 tmp_sharedflag
='-G' ;;
14852 tmp_sharedflag
='-shared' ;;
14854 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14856 if test $supports_anon_versioning = yes; then
14857 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14858 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14859 $echo "local: *; };" >> $output_objdir/$libname.ver~
14860 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14868 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14869 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14872 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14873 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14878 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14882 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14883 *** create shared libraries on Solaris systems. Therefore, libtool
14884 *** is disabling shared libraries support. We urge you to upgrade GNU
14885 *** binutils to release 2.9.1 or newer. Another option is to modify
14886 *** your PATH or compiler configuration so that the native linker is
14887 *** used, and then restart.
14890 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14891 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14892 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14898 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14899 case `$LD -v 2>&1` in
14900 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14904 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14905 *** reliably create shared libraries on SCO systems. Therefore, libtool
14906 *** is disabling shared libraries support. We urge you to upgrade GNU
14907 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14908 *** your PATH or compiler configuration so that the native linker is
14909 *** used, and then restart.
14914 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14915 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14916 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14917 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14926 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14928 hardcode_direct_F77
=yes
14929 hardcode_shlibpath_var_F77
=no
14933 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14934 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14935 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14942 if test "$ld_shlibs_F77" = no
; then
14944 hardcode_libdir_flag_spec_F77
=
14945 export_dynamic_flag_spec_F77
=
14946 whole_archive_flag_spec_F77
=
14949 # PORTME fill in a description of your system's linker (not GNU ld)
14952 allow_undefined_flag_F77
=unsupported
14953 always_export_symbols_F77
=yes
14954 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'
14955 # Note: this linker hardcodes the directories in LIBPATH if there
14956 # are no directories specified by -L.
14957 hardcode_minus_L_F77
=yes
14958 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14959 # Neither direct hardcoding nor static linking is supported with a
14961 hardcode_direct_F77
=unsupported
14966 if test "$host_cpu" = ia64
; then
14967 # On IA64, the linker does run time linking by default, so we don't
14968 # have to do anything special.
14969 aix_use_runtimelinking
=no
14970 exp_sym_flag
='-Bexport'
14973 # If we're using GNU nm, then we don't want the "-C" option.
14974 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14975 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14976 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'
14978 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'
14980 aix_use_runtimelinking
=no
14982 # Test if we are trying to use run time linking or normal
14983 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14984 # need to do runtime linking.
14985 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14986 for ld_flag
in $LDFLAGS; do
14987 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14988 aix_use_runtimelinking
=yes
14995 exp_sym_flag
='-bexport'
14996 no_entry_flag
='-bnoentry'
14999 # When large executables or shared objects are built, AIX ld can
15000 # have problems creating the table of contents. If linking a library
15001 # or program results in "error TOC overflow" add -mminimal-toc to
15002 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15003 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15005 archive_cmds_F77
=''
15006 hardcode_direct_F77
=yes
15007 hardcode_libdir_separator_F77
=':'
15008 link_all_deplibs_F77
=yes
15010 if test "$GCC" = yes; then
15011 case $host_os in aix4.
[012]|aix4.
[012].
*)
15012 # We only want to do this on AIX 4.2 and lower, the check
15013 # below for broken collect2 doesn't work under 4.3+
15014 collect2name
=`${CC} -print-prog-name=collect2`
15015 if test -f "$collect2name" && \
15016 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15018 # We have reworked collect2
15021 # We have old collect2
15022 hardcode_direct_F77
=unsupported
15023 # It fails to find uninstalled libraries when the uninstalled
15024 # path is not listed in the libpath. Setting hardcode_minus_L
15025 # to unsupported forces relinking
15026 hardcode_minus_L_F77
=yes
15027 hardcode_libdir_flag_spec_F77
='-L$libdir'
15028 hardcode_libdir_separator_F77
=
15032 shared_flag
='-shared'
15033 if test "$aix_use_runtimelinking" = yes; then
15034 shared_flag
="$shared_flag "'${wl}-G'
15038 if test "$host_cpu" = ia64
; then
15039 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15040 # chokes on -Wl,-G. The following line is correct:
15043 if test "$aix_use_runtimelinking" = yes; then
15044 shared_flag
='${wl}-G'
15046 shared_flag
='${wl}-bM:SRE'
15051 # It seems that -bexpall does not export symbols beginning with
15052 # underscore (_), so it is better to generate a list of symbols to export.
15053 always_export_symbols_F77
=yes
15054 if test "$aix_use_runtimelinking" = yes; then
15055 # Warning - without using the other runtime loading flags (-brtl),
15056 # -berok will link without error, but may produce a broken library.
15057 allow_undefined_flag_F77
='-berok'
15058 # Determine the default libpath from the value encoded in an empty executable.
15059 cat >conftest.
$ac_ext <<_ACEOF
15064 rm -f conftest.
$ac_objext conftest
$ac_exeext
15065 if { (ac_try
="$ac_link"
15066 case "(($ac_try" in
15067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15068 *) ac_try_echo=$ac_try;;
15070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15071 (eval "$ac_link") 2>conftest.er1
15073 grep -v '^ *+' conftest.er1 >conftest.err
15075 cat conftest.err >&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); } && {
15078 test -z "$ac_f77_werror_flag" ||
15079 test ! -s conftest.err
15080 } && test -s conftest$ac_exeext &&
15081 $as_test_x conftest$ac_exeext; then
15083 lt_aix_libpath_sed='
15084 /Import File Strings/,/^$/ {
15090 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15091 # Check for a 64-bit object if we didn't find anything.
15092 if test -z "$aix_libpath"; then
15093 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15103 conftest$ac_exeext conftest.$ac_ext
15104 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15106 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15107 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"
15109 if test "$host_cpu" = ia64; then
15110 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15111 allow_undefined_flag_F77="-z nodefs"
15112 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"
15114 # Determine the default libpath from the value encoded in an empty executable.
15115 cat >conftest.$ac_ext <<_ACEOF
15120 rm -f conftest.$ac_objext conftest$ac_exeext
15121 if { (ac_try="$ac_link"
15122 case "(($ac_try" in
15123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15124 *) ac_try_echo
=$ac_try;;
15126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15127 (eval "$ac_link") 2>conftest.er1
15129 grep -v '^ *+' conftest.er1
>conftest.err
15131 cat conftest.err
>&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); } && {
15134 test -z "$ac_f77_werror_flag" ||
15135 test ! -s conftest.err
15136 } && test -s conftest
$ac_exeext &&
15137 $as_test_x conftest
$ac_exeext; then
15139 lt_aix_libpath_sed
='
15140 /Import File Strings/,/^$/ {
15146 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15147 # Check for a 64-bit object if we didn't find anything.
15148 if test -z "$aix_libpath"; then
15149 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15152 echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.
$ac_ext >&5
15158 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15159 conftest
$ac_exeext conftest.
$ac_ext
15160 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15162 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15163 # Warning - without using the other run time loading flags,
15164 # -berok will link without error, but may produce a broken library.
15165 no_undefined_flag_F77
=' ${wl}-bernotok'
15166 allow_undefined_flag_F77
=' ${wl}-berok'
15167 # Exported symbols can be pulled into shared objects from archives
15168 whole_archive_flag_spec_F77
='$convenience'
15169 archive_cmds_need_lc_F77
=yes
15170 # This is similar to how AIX traditionally builds its shared libraries.
15171 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'
15177 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)'
15178 hardcode_libdir_flag_spec_F77
='-L$libdir'
15179 hardcode_minus_L_F77
=yes
15180 # see comment about different semantics on the GNU ld section
15185 export_dynamic_flag_spec_F77
=-rdynamic
15188 cygwin
* | mingw
* | pw32
*)
15189 # When not using gcc, we currently assume that we are using
15190 # Microsoft Visual C++.
15191 # hardcode_libdir_flag_spec is actually meaningless, as there is
15192 # no search path for DLLs.
15193 hardcode_libdir_flag_spec_F77
=' '
15194 allow_undefined_flag_F77
=unsupported
15195 # Tell ltmain to make .lib files, not .a files.
15197 # Tell ltmain to make .dll files, not .so files.
15199 # FIXME: Setting linknames here is a bad hack.
15200 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15201 # The linker will automatically build a .lib file if we build a DLL.
15202 old_archive_From_new_cmds_F77
='true'
15203 # FIXME: Should let the user specify the lib program.
15204 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15205 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15206 enable_shared_with_static_runtimes_F77
=yes
15209 darwin
* | rhapsody
*)
15211 rhapsody
* | darwin1.
[012])
15212 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15215 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15216 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15218 case ${MACOSX_DEPLOYMENT_TARGET} in
15220 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15223 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15229 archive_cmds_need_lc_F77
=no
15230 hardcode_direct_F77
=no
15231 hardcode_automatic_F77
=yes
15232 hardcode_shlibpath_var_F77
=unsupported
15233 whole_archive_flag_spec_F77
=''
15234 link_all_deplibs_F77
=yes
15235 if test "$GCC" = yes ; then
15236 output_verbose_link_cmd
='echo'
15237 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15238 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15239 archive_expsym_cmds_F77
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15240 module_expsym_cmds_F77
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15242 case $cc_basename in
15244 output_verbose_link_cmd
='echo'
15245 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15246 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15247 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15248 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15249 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}'
15259 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15260 hardcode_libdir_flag_spec_F77
='-L$libdir'
15261 hardcode_shlibpath_var_F77
=no
15268 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15269 # support. Future versions do this automatically, but an explicit c++rt0.o
15270 # does not break anything, and helps significantly (at the cost of a little
15273 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15274 hardcode_libdir_flag_spec_F77
='-R$libdir'
15275 hardcode_direct_F77
=yes
15276 hardcode_shlibpath_var_F77
=no
15279 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15281 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15282 hardcode_direct_F77
=yes
15283 hardcode_minus_L_F77
=yes
15284 hardcode_shlibpath_var_F77
=no
15287 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15288 freebsd
* | dragonfly
*)
15289 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15290 hardcode_libdir_flag_spec_F77
='-R$libdir'
15291 hardcode_direct_F77
=yes
15292 hardcode_shlibpath_var_F77
=no
15296 if test "$GCC" = yes; then
15297 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'
15299 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'
15301 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15302 hardcode_libdir_separator_F77
=:
15303 hardcode_direct_F77
=yes
15305 # hardcode_minus_L: Not really in the search PATH,
15306 # but as the default location of the library.
15307 hardcode_minus_L_F77
=yes
15308 export_dynamic_flag_spec_F77
='${wl}-E'
15312 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15313 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15315 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15317 if test "$with_gnu_ld" = no
; then
15318 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15319 hardcode_libdir_separator_F77
=:
15321 hardcode_direct_F77
=yes
15322 export_dynamic_flag_spec_F77
='${wl}-E'
15324 # hardcode_minus_L: Not really in the search PATH,
15325 # but as the default location of the library.
15326 hardcode_minus_L_F77
=yes
15331 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15334 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15337 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15340 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15346 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15349 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15352 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15356 if test "$with_gnu_ld" = no
; then
15357 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15358 hardcode_libdir_separator_F77
=:
15362 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15363 hardcode_direct_F77
=no
15364 hardcode_shlibpath_var_F77
=no
15367 hardcode_direct_F77
=yes
15368 export_dynamic_flag_spec_F77
='${wl}-E'
15370 # hardcode_minus_L: Not really in the search PATH,
15371 # but as the default location of the library.
15372 hardcode_minus_L_F77
=yes
15378 irix5
* | irix6
* | nonstopux
*)
15379 if test "$GCC" = yes; then
15380 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'
15382 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'
15383 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15385 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15386 hardcode_libdir_separator_F77
=:
15387 link_all_deplibs_F77
=yes
15391 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15392 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15394 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15396 hardcode_libdir_flag_spec_F77
='-R$libdir'
15397 hardcode_direct_F77
=yes
15398 hardcode_shlibpath_var_F77
=no
15402 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15403 hardcode_direct_F77
=yes
15404 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15405 hardcode_libdir_separator_F77
=:
15406 hardcode_shlibpath_var_F77
=no
15410 if test -f /usr
/libexec
/ld.so
; then
15411 hardcode_direct_F77
=yes
15412 hardcode_shlibpath_var_F77
=no
15413 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15414 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15415 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15416 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15417 export_dynamic_flag_spec_F77
='${wl}-E'
15420 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15421 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15422 hardcode_libdir_flag_spec_F77
='-R$libdir'
15425 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15426 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15436 hardcode_libdir_flag_spec_F77
='-L$libdir'
15437 hardcode_minus_L_F77
=yes
15438 allow_undefined_flag_F77
=unsupported
15439 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'
15440 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15444 if test "$GCC" = yes; then
15445 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15446 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'
15448 allow_undefined_flag_F77
=' -expect_unresolved \*'
15449 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'
15451 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15452 hardcode_libdir_separator_F77
=:
15455 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15456 if test "$GCC" = yes; then
15457 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15458 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'
15459 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15461 allow_undefined_flag_F77
=' -expect_unresolved \*'
15462 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'
15463 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~
15464 $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'
15466 # Both c and cxx compiler support -rpath directly
15467 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15469 hardcode_libdir_separator_F77
=:
15473 no_undefined_flag_F77
=' -z text'
15474 if test "$GCC" = yes; then
15476 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15477 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15478 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15481 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15482 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15483 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15485 hardcode_libdir_flag_spec_F77
='-R$libdir'
15486 hardcode_shlibpath_var_F77
=no
15488 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15490 # The compiler driver will combine and reorder linker options,
15491 # but understands `-z linker_flag'. GCC discards it without `$wl',
15492 # but is careful enough not to reorder.
15493 # Supported since Solaris 2.6 (maybe 2.5.1?)
15494 if test "$GCC" = yes; then
15495 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15497 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15501 link_all_deplibs_F77
=yes
15505 if test "x$host_vendor" = xsequent
; then
15506 # Use $CC to link under sequent, because it throws in some extra .o
15507 # files that make .init and .fini sections work.
15508 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15510 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15512 hardcode_libdir_flag_spec_F77
='-L$libdir'
15513 hardcode_direct_F77
=yes
15514 hardcode_minus_L_F77
=yes
15515 hardcode_shlibpath_var_F77
=no
15519 case $host_vendor in
15521 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15522 hardcode_direct_F77
=yes # is this really true???
15525 ## LD is ld it makes a PLAMLIB
15526 ## CC just makes a GrossModule.
15527 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15528 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15529 hardcode_direct_F77
=no
15532 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15533 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15536 runpath_var
='LD_RUN_PATH'
15537 hardcode_shlibpath_var_F77
=no
15541 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15542 hardcode_shlibpath_var_F77
=no
15543 export_dynamic_flag_spec_F77
='-Bexport'
15547 if test -d /usr
/nec
; then
15548 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15549 hardcode_shlibpath_var_F77
=no
15550 runpath_var
=LD_RUN_PATH
15551 hardcode_runpath_var
=yes
15556 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15557 no_undefined_flag_F77
='${wl}-z,text'
15558 archive_cmds_need_lc_F77
=no
15559 hardcode_shlibpath_var_F77
=no
15560 runpath_var
='LD_RUN_PATH'
15562 if test "$GCC" = yes; then
15563 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15564 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15566 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15567 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15571 sysv5
* | sco3.2v5
* | sco5v6
*)
15572 # Note: We can NOT use -z defs as we might desire, because we do not
15573 # link with -lc, and that would cause any symbols used from libc to
15574 # always be unresolved, which means just about no library would
15575 # ever link correctly. If we're not using GNU ld we use -z text
15576 # though, which does catch some bad symbols but isn't as heavy-handed
15578 no_undefined_flag_F77
='${wl}-z,text'
15579 allow_undefined_flag_F77
='${wl}-z,nodefs'
15580 archive_cmds_need_lc_F77
=no
15581 hardcode_shlibpath_var_F77
=no
15582 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15583 hardcode_libdir_separator_F77
=':'
15584 link_all_deplibs_F77
=yes
15585 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15586 runpath_var
='LD_RUN_PATH'
15588 if test "$GCC" = yes; then
15589 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15590 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15592 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15593 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15598 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15599 hardcode_libdir_flag_spec_F77
='-L$libdir'
15600 hardcode_shlibpath_var_F77
=no
15609 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15610 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15611 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15614 # Do we need to explicitly link libc?
15616 case "x$archive_cmds_need_lc_F77" in
15618 # Assume -lc should be added
15619 archive_cmds_need_lc_F77
=yes
15621 if test "$enable_shared" = yes && test "$GCC" = yes; then
15622 case $archive_cmds_F77 in
15624 # FIXME: we may have to deal with multi-command sequences.
15627 # Test whether the compiler implicitly links with -lc since on some
15628 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15629 # to ld, don't add -lc before -lgcc.
15630 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15631 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15633 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15636 (eval $ac_compile) 2>&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); } 2>conftest.err
; then
15642 libobjs
=conftest.
$ac_objext
15644 wl
=$lt_prog_compiler_wl_F77
15645 pic_flag
=$lt_prog_compiler_pic_F77
15651 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15652 allow_undefined_flag_F77
=
15653 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15654 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }
15659 archive_cmds_need_lc_F77
=no
15661 archive_cmds_need_lc_F77
=yes
15663 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15665 cat conftest.err
1>&5
15668 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15669 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15676 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15677 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15678 library_names_spec
=
15679 libname_spec
='lib$name'
15683 postuninstall_cmds
=
15687 shlibpath_overrides_runpath
=unknown
15689 dynamic_linker
="$host_os ld.so"
15690 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15692 need_lib_prefix
=unknown
15693 hardcode_into_libs
=no
15695 # when you set need_version to no, make sure it does not cause -set_version
15696 # flags to be left without arguments
15697 need_version
=unknown
15702 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15703 shlibpath_var
=LIBPATH
15705 # AIX 3 has no versioning support, so we append a major version to the name.
15706 soname_spec
='${libname}${release}${shared_ext}$major'
15713 hardcode_into_libs
=yes
15714 if test "$host_cpu" = ia64
; then
15715 # AIX 5 supports IA64
15716 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15717 shlibpath_var
=LD_LIBRARY_PATH
15719 # With GCC up to 2.95.x, collect2 would create an import file
15720 # for dependence libraries. The import file would start with
15721 # the line `#! .'. This would cause the generated library to
15722 # depend on `.', always an invalid library. This was fixed in
15723 # development snapshots of GCC prior to 3.0.
15725 aix4 | aix4.
[01] | aix4.
[01].
*)
15726 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15728 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15731 can_build_shared
=no
15735 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15736 # soname into executable. Probably we can add versioning support to
15737 # collect2, so additional links can be useful in future.
15738 if test "$aix_use_runtimelinking" = yes; then
15739 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15740 # instead of lib<name>.a to let people know that these are not
15741 # typical AIX shared libraries.
15742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15744 # We preserve .a as extension for shared libraries through AIX4.2
15745 # and later when we are not doing run time linking.
15746 library_names_spec
='${libname}${release}.a $libname.a'
15747 soname_spec
='${libname}${release}${shared_ext}$major'
15749 shlibpath_var
=LIBPATH
15754 library_names_spec
='$libname.ixlibrary $libname.a'
15755 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15756 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'
15760 library_names_spec
='${libname}${shared_ext}'
15761 dynamic_linker
="$host_os ld.so"
15762 shlibpath_var
=LIBRARY_PATH
15768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15769 soname_spec
='${libname}${release}${shared_ext}$major'
15770 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15771 shlibpath_var
=LD_LIBRARY_PATH
15772 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15773 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15774 # the default ld.so.conf also contains /usr/contrib/lib and
15775 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15776 # libtool to hard-code these into programs
15779 cygwin
* | mingw
* | pw32
*)
15780 version_type
=windows
15785 case $GCC,$host_os in
15786 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15787 library_names_spec
='$libname.dll.a'
15788 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15789 postinstall_cmds
='base_file=`basename \${file}`~
15790 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15791 dldir=$destdir/`dirname \$dlpath`~
15792 test -d \$dldir || mkdir -p \$dldir~
15793 $install_prog $dir/$dlname \$dldir/$dlname~
15794 chmod a+x \$dldir/$dlname'
15795 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15796 dlpath=$dir/\$dldll~
15798 shlibpath_overrides_runpath
=yes
15802 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15803 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15804 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15807 # MinGW DLLs use traditional 'lib' prefix
15808 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15809 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15810 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15811 # It is most probably a Windows format PATH printed by
15812 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15813 # path with ; separators, and with drive letters. We can handle the
15814 # drive letters (cygwin fileutils understands them), so leave them,
15815 # especially as we might pass files found there to a mingw objdump,
15816 # which wouldn't understand a cygwinified path. Ahh.
15817 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15819 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15823 # pw32 DLLs use 'pw' prefix rather than 'lib'
15824 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15830 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15833 dynamic_linker
='Win32 ld.exe'
15834 # FIXME: first we should search . and the directory the executable is in
15838 darwin
* | rhapsody
*)
15839 dynamic_linker
="$host_os dyld"
15840 version_type
=darwin
15843 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15844 soname_spec
='${libname}${release}${major}$shared_ext'
15845 shlibpath_overrides_runpath
=yes
15846 shlibpath_var
=DYLD_LIBRARY_PATH
15847 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15849 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15857 soname_spec
='${libname}${release}${shared_ext}$major'
15858 shlibpath_var
=LD_LIBRARY_PATH
15865 freebsd
* | dragonfly
*)
15866 # DragonFly does not have aout. When/if they implement a new
15867 # versioning mechanism, adjust this.
15868 if test -x /usr
/bin
/objformat
; then
15869 objformat
=`/usr/bin/objformat`
15872 freebsd
[123]*) objformat
=aout
;;
15873 *) objformat
=elf
;;
15876 version_type
=freebsd-
$objformat
15877 case $version_type in
15879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15884 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15888 shlibpath_var
=LD_LIBRARY_PATH
15891 shlibpath_overrides_runpath
=yes
15893 freebsd3.
[01]* | freebsdelf3.
[01]*)
15894 shlibpath_overrides_runpath
=yes
15895 hardcode_into_libs
=yes
15897 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15898 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15899 shlibpath_overrides_runpath
=no
15900 hardcode_into_libs
=yes
15902 *) # from 4.6 on, and DragonFly
15903 shlibpath_overrides_runpath
=yes
15904 hardcode_into_libs
=yes
15913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15914 soname_spec
='${libname}${release}${shared_ext}$major'
15915 shlibpath_var
=LD_LIBRARY_PATH
15916 hardcode_into_libs
=yes
15919 hpux9
* | hpux10
* | hpux11
*)
15920 # Give a soname corresponding to the major version so that dld.sl refuses to
15921 # link against other versions.
15928 hardcode_into_libs
=yes
15929 dynamic_linker
="$host_os dld.so"
15930 shlibpath_var
=LD_LIBRARY_PATH
15931 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15933 soname_spec
='${libname}${release}${shared_ext}$major'
15934 if test "X$HPUX_IA64_MODE" = X32
; then
15935 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15937 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15939 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15943 hardcode_into_libs
=yes
15944 dynamic_linker
="$host_os dld.sl"
15945 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15946 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15948 soname_spec
='${libname}${release}${shared_ext}$major'
15949 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15950 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15954 dynamic_linker
="$host_os dld.sl"
15955 shlibpath_var
=SHLIB_PATH
15956 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15958 soname_spec
='${libname}${release}${shared_ext}$major'
15961 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15962 postinstall_cmds
='chmod 555 $lib'
15969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15970 soname_spec
='${libname}${release}${shared_ext}$major'
15971 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15972 shlibpath_var
=LD_LIBRARY_PATH
15973 shlibpath_overrides_runpath
=no
15974 hardcode_into_libs
=yes
15977 irix5
* | irix6
* | nonstopux
*)
15979 nonstopux
*) version_type
=nonstopux
;;
15981 if test "$lt_cv_prog_gnu_ld" = yes; then
15989 soname_spec
='${libname}${release}${shared_ext}$major'
15990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15992 irix5
* | nonstopux
*)
15993 libsuff
= shlibsuff
=
15996 case $LD in # libtool.m4 will add one of these switches to LD
15997 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15998 libsuff
= shlibsuff
= libmagic
=32-bit;;
15999 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16000 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16001 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16002 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16003 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16007 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16008 shlibpath_overrides_runpath
=no
16009 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16010 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16011 hardcode_into_libs
=yes
16014 # No shared lib support for Linux oldld, aout, or coff.
16015 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16019 # This must be Linux ELF.
16020 linux
* | k
*bsd
*-gnu)
16024 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16025 soname_spec
='${libname}${release}${shared_ext}$major'
16026 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16027 shlibpath_var
=LD_LIBRARY_PATH
16028 shlibpath_overrides_runpath
=no
16029 # This implies no fast_install, which is unacceptable.
16030 # Some rework will be needed to allow for fast_install
16031 # before this can be enabled.
16032 hardcode_into_libs
=yes
16034 # Append ld.so.conf contents to the search path
16035 if test -f /etc
/ld.so.conf
; then
16036 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16037 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16040 # We used to test for /lib/ld.so.1 and disable shared libraries on
16041 # powerpc, because MkLinux only supported shared libraries with the
16042 # GNU dynamic linker. Since this was broken with cross compilers,
16043 # most powerpc-linux boxes support dynamic linking these days and
16044 # people can always --disable-shared, the test was removed, and we
16045 # assume the GNU/Linux dynamic linker is in use.
16046 dynamic_linker
='GNU/Linux ld.so'
16053 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16055 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16056 dynamic_linker
='NetBSD (a.out) ld.so'
16058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16059 soname_spec
='${libname}${release}${shared_ext}$major'
16060 dynamic_linker
='NetBSD ld.elf_so'
16062 shlibpath_var
=LD_LIBRARY_PATH
16063 shlibpath_overrides_runpath
=yes
16064 hardcode_into_libs
=yes
16069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16070 shlibpath_var
=LD_LIBRARY_PATH
16071 shlibpath_overrides_runpath
=yes
16078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16079 soname_spec
='${libname}${release}${shared_ext}$major'
16080 shlibpath_var
=LD_LIBRARY_PATH
16081 shlibpath_overrides_runpath
=yes
16086 sys_lib_dlsearch_path_spec
="/usr/lib"
16088 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16090 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16091 *) need_version
=no
;;
16093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16094 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16095 shlibpath_var
=LD_LIBRARY_PATH
16096 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16098 openbsd2.
[89] | openbsd2.
[89].
*)
16099 shlibpath_overrides_runpath
=no
16102 shlibpath_overrides_runpath
=yes
16106 shlibpath_overrides_runpath
=yes
16111 libname_spec
='$name'
16114 library_names_spec
='$libname${shared_ext} $libname.a'
16115 dynamic_linker
='OS/2 ld.exe'
16116 shlibpath_var
=LIBPATH
16119 osf3
* | osf4
* | osf5
*)
16123 soname_spec
='${libname}${release}${shared_ext}$major'
16124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16125 shlibpath_var
=LD_LIBRARY_PATH
16126 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16127 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16139 soname_spec
='${libname}${release}${shared_ext}$major'
16140 shlibpath_var
=LD_LIBRARY_PATH
16141 shlibpath_overrides_runpath
=yes
16142 hardcode_into_libs
=yes
16143 # ldd complains unless libraries are executable
16144 postinstall_cmds
='chmod +x $lib'
16149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16150 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16151 shlibpath_var
=LD_LIBRARY_PATH
16152 shlibpath_overrides_runpath
=yes
16153 if test "$with_gnu_ld" = yes; then
16161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16162 soname_spec
='${libname}${release}${shared_ext}$major'
16163 shlibpath_var
=LD_LIBRARY_PATH
16164 case $host_vendor in
16166 shlibpath_overrides_runpath
=no
16168 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16169 runpath_var
=LD_RUN_PATH
16177 shlibpath_overrides_runpath
=no
16178 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16184 if test -d /usr
/nec
;then
16186 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16187 soname_spec
='$libname${shared_ext}.$major'
16188 shlibpath_var
=LD_LIBRARY_PATH
16192 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16193 version_type
=freebsd-elf
16196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16197 soname_spec
='${libname}${release}${shared_ext}$major'
16198 shlibpath_var
=LD_LIBRARY_PATH
16199 hardcode_into_libs
=yes
16200 if test "$with_gnu_ld" = yes; then
16201 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16202 shlibpath_overrides_runpath
=no
16204 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16205 shlibpath_overrides_runpath
=yes
16208 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16212 sys_lib_dlsearch_path_spec
='/usr/lib'
16217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16218 soname_spec
='${libname}${release}${shared_ext}$major'
16219 shlibpath_var
=LD_LIBRARY_PATH
16226 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16227 echo "${ECHO_T}$dynamic_linker" >&6; }
16228 test "$dynamic_linker" = no
&& can_build_shared
=no
16230 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16231 echo $ECHO_N "(cached) $ECHO_C" >&6
16233 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16236 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16237 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16243 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16245 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16246 if test "$GCC" = yes; then
16247 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16250 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16251 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16252 hardcode_action_F77
=
16253 if test -n "$hardcode_libdir_flag_spec_F77" || \
16254 test -n "$runpath_var_F77" || \
16255 test "X$hardcode_automatic_F77" = "Xyes" ; then
16257 # We can hardcode non-existant directories.
16258 if test "$hardcode_direct_F77" != no
&&
16259 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16260 # have to relink, otherwise we might link with an installed library
16261 # when we should be linking with a yet-to-be-installed one
16262 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16263 test "$hardcode_minus_L_F77" != no
; then
16264 # Linking always hardcodes the temporary library directory.
16265 hardcode_action_F77
=relink
16267 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16268 hardcode_action_F77
=immediate
16271 # We cannot hardcode anything, or else we can only hardcode existing
16273 hardcode_action_F77
=unsupported
16275 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16276 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16278 if test "$hardcode_action_F77" = relink
; then
16279 # Fast installation is not supported
16280 enable_fast_install
=no
16281 elif test "$shlibpath_overrides_runpath" = yes ||
16282 test "$enable_shared" = no
; then
16283 # Fast installation is not necessary
16284 enable_fast_install
=needless
16288 # The else clause should only fire when bootstrapping the
16289 # libtool distribution, otherwise you forgot to ship ltmain.sh
16290 # with your package, and you will get complaints that there are
16291 # no rules to generate ltmain.sh.
16292 if test -f "$ltmain"; then
16293 # See if we are running on zsh, and set the options which allow our commands through
16294 # without removal of \ escapes.
16295 if test -n "${ZSH_VERSION+set}" ; then
16296 setopt NO_GLOB_SUBST
16298 # Now quote all the things that may contain metacharacters while being
16299 # careful not to overquote the AC_SUBSTed values. We take copies of the
16300 # variables and quote the copies for generation of the libtool script.
16301 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16303 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16304 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16305 deplibs_check_method reload_flag reload_cmds need_locks \
16306 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16307 lt_cv_sys_global_symbol_to_c_name_address \
16308 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16309 old_postinstall_cmds old_postuninstall_cmds \
16313 lt_prog_compiler_wl_F77 \
16314 lt_prog_compiler_pic_F77 \
16315 lt_prog_compiler_static_F77 \
16316 lt_prog_compiler_no_builtin_flag_F77 \
16317 export_dynamic_flag_spec_F77 \
16318 thread_safe_flag_spec_F77 \
16319 whole_archive_flag_spec_F77 \
16320 enable_shared_with_static_runtimes_F77 \
16321 old_archive_cmds_F77 \
16322 old_archive_from_new_cmds_F77 \
16323 predep_objects_F77 \
16324 postdep_objects_F77 \
16327 compiler_lib_search_path_F77 \
16328 compiler_lib_search_dirs_F77 \
16330 archive_expsym_cmds_F77 \
16331 postinstall_cmds_F77 \
16332 postuninstall_cmds_F77 \
16333 old_archive_from_expsyms_cmds_F77 \
16334 allow_undefined_flag_F77 \
16335 no_undefined_flag_F77 \
16336 export_symbols_cmds_F77 \
16337 hardcode_libdir_flag_spec_F77 \
16338 hardcode_libdir_flag_spec_ld_F77 \
16339 hardcode_libdir_separator_F77 \
16340 hardcode_automatic_F77 \
16342 module_expsym_cmds_F77 \
16343 lt_cv_prog_compiler_c_o_F77 \
16344 fix_srcfile_path_F77 \
16345 exclude_expsyms_F77 \
16346 include_expsyms_F77
; do
16349 old_archive_cmds_F77 | \
16350 old_archive_from_new_cmds_F77 | \
16351 archive_cmds_F77 | \
16352 archive_expsym_cmds_F77 | \
16353 module_cmds_F77 | \
16354 module_expsym_cmds_F77 | \
16355 old_archive_from_expsyms_cmds_F77 | \
16356 export_symbols_cmds_F77 | \
16357 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16358 postinstall_cmds | postuninstall_cmds | \
16359 old_postinstall_cmds | old_postuninstall_cmds | \
16360 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16361 # Double-quote double-evaled strings.
16362 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16365 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16371 *'\$0 --fallback-echo"')
16372 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16378 cat <<__EOF__ >> "$cfgfile"
16379 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16381 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16383 # Shell to use when invoking shell scripts.
16386 # Whether or not to build shared libraries.
16387 build_libtool_libs=$enable_shared
16389 # Whether or not to build static libraries.
16390 build_old_libs=$enable_static
16392 # Whether or not to add -lc for building shared libraries.
16393 build_libtool_need_lc=$archive_cmds_need_lc_F77
16395 # Whether or not to disallow shared libs when runtime libs are static
16396 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16398 # Whether or not to optimize for fast installation.
16399 fast_install=$enable_fast_install
16402 host_alias=$host_alias
16406 # The build system.
16407 build_alias=$build_alias
16411 # An echo program that does not interpret backslashes.
16416 AR_FLAGS=$lt_AR_FLAGS
16421 # LTCC compiler flags.
16422 LTCFLAGS=$lt_LTCFLAGS
16424 # A language-specific compiler.
16425 CC=$lt_compiler_F77
16427 # Is the compiler the GNU C compiler?
16433 # The linker used to build libraries.
16436 # Whether we need hard or soft links.
16439 # A BSD-compatible nm program.
16442 # A symbol stripping program
16445 # Used to examine libraries when file_magic_cmd begins "file"
16446 MAGIC_CMD=$MAGIC_CMD
16448 # Used on cygwin: DLL creation program.
16451 # Used on cygwin: object dumper.
16454 # Used on cygwin: assembler.
16457 # The name of the directory that contains temporary libtool files.
16460 # How to create reloadable object files.
16461 reload_flag=$lt_reload_flag
16462 reload_cmds=$lt_reload_cmds
16464 # How to pass a linker flag through the compiler.
16465 wl=$lt_lt_prog_compiler_wl_F77
16467 # Object file suffix (normally "o").
16468 objext="$ac_objext"
16470 # Old archive suffix (normally "a").
16473 # Shared library suffix (normally ".so").
16474 shrext_cmds='$shrext_cmds'
16476 # Executable file suffix (normally "").
16479 # Additional compiler flags for building library objects.
16480 pic_flag=$lt_lt_prog_compiler_pic_F77
16483 # What is the maximum length of a command?
16484 max_cmd_len=$lt_cv_sys_max_cmd_len
16486 # Does compiler simultaneously support -c and -o options?
16487 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16489 # Must we lock files when doing compilation?
16490 need_locks=$lt_need_locks
16492 # Do we need the lib prefix for modules?
16493 need_lib_prefix=$need_lib_prefix
16495 # Do we need a version for libraries?
16496 need_version=$need_version
16498 # Whether dlopen is supported.
16499 dlopen_support=$enable_dlopen
16501 # Whether dlopen of programs is supported.
16502 dlopen_self=$enable_dlopen_self
16504 # Whether dlopen of statically linked programs is supported.
16505 dlopen_self_static=$enable_dlopen_self_static
16507 # Compiler flag to prevent dynamic linking.
16508 link_static_flag=$lt_lt_prog_compiler_static_F77
16510 # Compiler flag to turn off builtin functions.
16511 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16513 # Compiler flag to allow reflexive dlopens.
16514 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16516 # Compiler flag to generate shared objects directly from archives.
16517 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16519 # Compiler flag to generate thread-safe objects.
16520 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16522 # Library versioning type.
16523 version_type=$version_type
16525 # Format of library name prefix.
16526 libname_spec=$lt_libname_spec
16528 # List of archive names. First name is the real one, the rest are links.
16529 # The last name is the one that the linker finds with -lNAME.
16530 library_names_spec=$lt_library_names_spec
16532 # The coded name of the library, if different from the real name.
16533 soname_spec=$lt_soname_spec
16535 # Commands used to build and install an old-style archive.
16537 old_archive_cmds=$lt_old_archive_cmds_F77
16538 old_postinstall_cmds=$lt_old_postinstall_cmds
16539 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16541 # Create an old-style archive from a shared archive.
16542 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16544 # Create a temporary old-style archive to link instead of a shared archive.
16545 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16547 # Commands used to build and install a shared archive.
16548 archive_cmds=$lt_archive_cmds_F77
16549 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16550 postinstall_cmds=$lt_postinstall_cmds
16551 postuninstall_cmds=$lt_postuninstall_cmds
16553 # Commands used to build a loadable module (assumed same as above if empty)
16554 module_cmds=$lt_module_cmds_F77
16555 module_expsym_cmds=$lt_module_expsym_cmds_F77
16557 # Commands to strip libraries.
16558 old_striplib=$lt_old_striplib
16559 striplib=$lt_striplib
16561 # Dependencies to place before the objects being linked to create a
16563 predep_objects=$lt_predep_objects_F77
16565 # Dependencies to place after the objects being linked to create a
16567 postdep_objects=$lt_postdep_objects_F77
16569 # Dependencies to place before the objects being linked to create a
16571 predeps=$lt_predeps_F77
16573 # Dependencies to place after the objects being linked to create a
16575 postdeps=$lt_postdeps_F77
16577 # The directories searched by this compiler when creating a shared
16579 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16581 # The library search path used internally by the compiler when linking
16582 # a shared library.
16583 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16585 # Method to check whether dependent libraries are shared objects.
16586 deplibs_check_method=$lt_deplibs_check_method
16588 # Command to use when deplibs_check_method == file_magic.
16589 file_magic_cmd=$lt_file_magic_cmd
16591 # Flag that allows shared libraries with undefined symbols to be built.
16592 allow_undefined_flag=$lt_allow_undefined_flag_F77
16594 # Flag that forces no undefined symbols.
16595 no_undefined_flag=$lt_no_undefined_flag_F77
16597 # Commands used to finish a libtool library installation in a directory.
16598 finish_cmds=$lt_finish_cmds
16600 # Same as above, but a single script fragment to be evaled but not shown.
16601 finish_eval=$lt_finish_eval
16603 # Take the output of nm and produce a listing of raw symbols and C names.
16604 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16606 # Transform the output of nm in a proper C declaration
16607 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16609 # Transform the output of nm in a C name address pair
16610 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16612 # This is the shared library runtime path variable.
16613 runpath_var=$runpath_var
16615 # This is the shared library path variable.
16616 shlibpath_var=$shlibpath_var
16618 # Is shlibpath searched before the hard-coded library search path?
16619 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16621 # How to hardcode a shared library path into an executable.
16622 hardcode_action=$hardcode_action_F77
16624 # Whether we should hardcode library paths into libraries.
16625 hardcode_into_libs=$hardcode_into_libs
16627 # Flag to hardcode \$libdir into a binary during linking.
16628 # This must work even if \$libdir does not exist.
16629 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16631 # If ld is used when linking, flag to hardcode \$libdir into
16632 # a binary during linking. This must work even if \$libdir does
16634 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16636 # Whether we need a single -rpath flag with a separated argument.
16637 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16639 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16640 # resulting binary.
16641 hardcode_direct=$hardcode_direct_F77
16643 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16644 # resulting binary.
16645 hardcode_minus_L=$hardcode_minus_L_F77
16647 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16648 # the resulting binary.
16649 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16651 # Set to yes if building a shared library automatically hardcodes DIR into the library
16652 # and all subsequent libraries and executables linked against it.
16653 hardcode_automatic=$hardcode_automatic_F77
16655 # Variables whose values should be saved in libtool wrapper scripts and
16656 # restored at relink time.
16657 variables_saved_for_relink="$variables_saved_for_relink"
16659 # Whether libtool must link a program against all its dependency libraries.
16660 link_all_deplibs=$link_all_deplibs_F77
16662 # Compile-time system search path for libraries
16663 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16665 # Run-time system search path for libraries
16666 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16668 # Fix the shell variable \$srcfile for the compiler.
16669 fix_srcfile_path=$lt_fix_srcfile_path
16671 # Set to yes if exported symbols are required.
16672 always_export_symbols=$always_export_symbols_F77
16674 # The commands to list exported symbols.
16675 export_symbols_cmds=$lt_export_symbols_cmds_F77
16677 # The commands to extract the exported symbol list from a shared archive.
16678 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16680 # Symbols that should not be listed in the preloaded symbols.
16681 exclude_expsyms=$lt_exclude_expsyms_F77
16683 # Symbols that must always be exported.
16684 include_expsyms=$lt_include_expsyms_F77
16686 # ### END LIBTOOL TAG CONFIG: $tagname
16692 # If there is no Makefile yet, we rely on a make rule to execute
16693 # `config.status --recheck' to rerun these tests and create the
16694 # libtool script then.
16695 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16696 if test -f "$ltmain_in"; then
16697 test -f Makefile
&& make "$ltmain"
16703 ac_cpp
='$CPP $CPPFLAGS'
16704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16716 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16719 # Source file extension for Java test sources.
16722 # Object file extension for compiled Java test sources.
16726 # Code to be used in simple compile tests
16727 lt_simple_compile_test_code
="class foo {}"
16729 # Code to be used in simple link tests
16730 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16732 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16734 # If no C compiler was specified, use CC.
16737 # If no C compiler flags were specified, use CFLAGS.
16738 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16740 # Allow CC to be a program name with arguments.
16744 # save warnings/boilerplate of simple test code
16745 ac_outfile
=conftest.
$ac_objext
16746 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16747 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16748 _lt_compiler_boilerplate
=`cat conftest.err`
16751 ac_outfile
=conftest.
$ac_objext
16752 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16753 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16754 _lt_linker_boilerplate
=`cat conftest.err`
16758 # Allow CC to be a program name with arguments.
16763 for cc_temp
in $compiler""; do
16765 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16766 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16771 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16774 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16775 archive_cmds_need_lc_GCJ
=no
16777 old_archive_cmds_GCJ
=$old_archive_cmds
16780 lt_prog_compiler_no_builtin_flag_GCJ
=
16782 if test "$GCC" = yes; then
16783 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16786 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16787 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16788 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16789 echo $ECHO_N "(cached) $ECHO_C" >&6
16791 lt_cv_prog_compiler_rtti_exceptions
=no
16792 ac_outfile
=conftest.
$ac_objext
16793 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16794 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16795 # Insert the option either (1) after the last *FLAGS variable, or
16796 # (2) before a word containing "conftest.", or (3) at the end.
16797 # Note that $ac_compile itself does not contain backslashes and begins
16798 # with a dollar sign (not a hyphen), so the echo should work correctly.
16799 # The option is referenced via a variable to avoid confusing sed.
16800 lt_compile
=`echo "$ac_compile" | $SED \
16801 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16802 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16803 -e 's:$: $lt_compiler_flag:'`
16804 (eval echo "\"\$as_me:16804: $lt_compile\"" >&5)
16805 (eval "$lt_compile" 2>conftest.err
)
16807 cat conftest.err
>&5
16808 echo "$as_me:16808: \$? = $ac_status" >&5
16809 if (exit $ac_status) && test -s "$ac_outfile"; then
16810 # The compiler can only warn and ignore the option if not recognized
16811 # So say no if there are warnings other than the usual output.
16812 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16813 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16814 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16815 lt_cv_prog_compiler_rtti_exceptions
=yes
16821 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16822 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16824 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16825 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16832 lt_prog_compiler_wl_GCJ
=
16833 lt_prog_compiler_pic_GCJ
=
16834 lt_prog_compiler_static_GCJ
=
16836 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16837 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16839 if test "$GCC" = yes; then
16840 lt_prog_compiler_wl_GCJ
='-Wl,'
16841 lt_prog_compiler_static_GCJ
='-static'
16845 # All AIX code is PIC.
16846 if test "$host_cpu" = ia64
; then
16847 # AIX 5 now supports IA64 processor
16848 lt_prog_compiler_static_GCJ
='-Bstatic'
16853 # FIXME: we need at least 68020 code to build shared libraries, but
16854 # adding the `-m68020' flag to GCC prevents building anything better,
16856 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16859 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16860 # PIC is the default for these OSes.
16863 mingw
* | cygwin
* | pw32
* | os2
*)
16864 # This hack is so that the source file can tell whether it is being
16865 # built for inclusion in a dll (and should export symbols for example).
16866 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16867 # (--disable-auto-import) libraries
16871 darwin
* | rhapsody
*)
16872 # PIC is the default on this platform
16873 # Common symbols not allowed in MH_DYLIB files
16874 lt_prog_compiler_pic_GCJ
='-fno-common'
16878 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16879 # Instead, we relocate shared libraries at runtime.
16883 # Just because we use GCC doesn't mean we suddenly get shared libraries
16884 # on systems that don't support them.
16885 lt_prog_compiler_can_build_shared_GCJ
=no
16890 if test -d /usr
/nec
; then
16891 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16896 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16897 # not for PA HP-UX.
16903 lt_prog_compiler_pic_GCJ
='-fPIC'
16909 lt_prog_compiler_pic_GCJ
='-fPIC'
16913 # PORTME Check for flag to pass linker flags through the system compiler.
16916 lt_prog_compiler_wl_GCJ
='-Wl,'
16917 if test "$host_cpu" = ia64
; then
16918 # AIX 5 now supports IA64 processor
16919 lt_prog_compiler_static_GCJ
='-Bstatic'
16921 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16925 # PIC is the default on this platform
16926 # Common symbols not allowed in MH_DYLIB files
16927 case $cc_basename in
16929 lt_prog_compiler_pic_GCJ
='-qnocommon'
16930 lt_prog_compiler_wl_GCJ
='-Wl,'
16935 mingw
* | cygwin
* | pw32
* | os2
*)
16936 # This hack is so that the source file can tell whether it is being
16937 # built for inclusion in a dll (and should export symbols for example).
16941 hpux9
* | hpux10
* | hpux11
*)
16942 lt_prog_compiler_wl_GCJ
='-Wl,'
16943 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16944 # not for PA HP-UX.
16950 lt_prog_compiler_pic_GCJ
='+Z'
16953 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16954 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16957 irix5
* | irix6
* | nonstopux
*)
16958 lt_prog_compiler_wl_GCJ
='-Wl,'
16959 # PIC (with -KPIC) is the default.
16960 lt_prog_compiler_static_GCJ
='-non_shared'
16964 lt_prog_compiler_pic_GCJ
='-KPIC'
16965 lt_prog_compiler_static_GCJ
='-Bstatic'
16968 linux
* | k
*bsd
*-gnu)
16969 case $cc_basename in
16971 lt_prog_compiler_wl_GCJ
='-Wl,'
16972 lt_prog_compiler_pic_GCJ
='-KPIC'
16973 lt_prog_compiler_static_GCJ
='-static'
16975 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16976 # Portland Group compilers (*not* the Pentium gcc compiler,
16977 # which looks to be a dead project)
16978 lt_prog_compiler_wl_GCJ
='-Wl,'
16979 lt_prog_compiler_pic_GCJ
='-fpic'
16980 lt_prog_compiler_static_GCJ
='-Bstatic'
16983 lt_prog_compiler_wl_GCJ
='-Wl,'
16984 # All Alpha code is PIC.
16985 lt_prog_compiler_static_GCJ
='-non_shared'
16988 case `$CC -V 2>&1 | sed 5q` in
16991 lt_prog_compiler_pic_GCJ
='-KPIC'
16992 lt_prog_compiler_static_GCJ
='-Bstatic'
16993 lt_prog_compiler_wl_GCJ
='-Wl,'
16996 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16997 lt_prog_compiler_pic_GCJ
='-KPIC'
16998 lt_prog_compiler_static_GCJ
='-Bstatic'
16999 lt_prog_compiler_wl_GCJ
=''
17006 osf3
* | osf4
* | osf5
*)
17007 lt_prog_compiler_wl_GCJ
='-Wl,'
17008 # All OSF/1 code is PIC.
17009 lt_prog_compiler_static_GCJ
='-non_shared'
17013 lt_prog_compiler_static_GCJ
='-non_shared'
17017 lt_prog_compiler_pic_GCJ
='-KPIC'
17018 lt_prog_compiler_static_GCJ
='-Bstatic'
17019 case $cc_basename in
17020 f77
* | f90
* | f95
*)
17021 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17023 lt_prog_compiler_wl_GCJ
='-Wl,';;
17028 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17029 lt_prog_compiler_pic_GCJ
='-PIC'
17030 lt_prog_compiler_static_GCJ
='-Bstatic'
17033 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17034 lt_prog_compiler_wl_GCJ
='-Wl,'
17035 lt_prog_compiler_pic_GCJ
='-KPIC'
17036 lt_prog_compiler_static_GCJ
='-Bstatic'
17040 if test -d /usr
/nec
;then
17041 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17042 lt_prog_compiler_static_GCJ
='-Bstatic'
17046 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17047 lt_prog_compiler_wl_GCJ
='-Wl,'
17048 lt_prog_compiler_pic_GCJ
='-KPIC'
17049 lt_prog_compiler_static_GCJ
='-Bstatic'
17053 lt_prog_compiler_wl_GCJ
='-Wl,'
17054 lt_prog_compiler_can_build_shared_GCJ
=no
17058 lt_prog_compiler_pic_GCJ
='-pic'
17059 lt_prog_compiler_static_GCJ
='-Bstatic'
17063 lt_prog_compiler_can_build_shared_GCJ
=no
17068 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17069 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17072 # Check to make sure the PIC flag actually works.
17074 if test -n "$lt_prog_compiler_pic_GCJ"; then
17076 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17077 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17078 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17079 echo $ECHO_N "(cached) $ECHO_C" >&6
17081 lt_cv_prog_compiler_pic_works_GCJ
=no
17082 ac_outfile
=conftest.
$ac_objext
17083 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17084 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17085 # Insert the option either (1) after the last *FLAGS variable, or
17086 # (2) before a word containing "conftest.", or (3) at the end.
17087 # Note that $ac_compile itself does not contain backslashes and begins
17088 # with a dollar sign (not a hyphen), so the echo should work correctly.
17089 # The option is referenced via a variable to avoid confusing sed.
17090 lt_compile
=`echo "$ac_compile" | $SED \
17091 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17092 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17093 -e 's:$: $lt_compiler_flag:'`
17094 (eval echo "\"\$as_me:17094: $lt_compile\"" >&5)
17095 (eval "$lt_compile" 2>conftest.err
)
17097 cat conftest.err
>&5
17098 echo "$as_me:17098: \$? = $ac_status" >&5
17099 if (exit $ac_status) && test -s "$ac_outfile"; then
17100 # The compiler can only warn and ignore the option if not recognized
17101 # So say no if there are warnings other than the usual output.
17102 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17103 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17104 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17105 lt_cv_prog_compiler_pic_works_GCJ
=yes
17111 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17112 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17114 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17115 case $lt_prog_compiler_pic_GCJ in
17117 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17120 lt_prog_compiler_pic_GCJ
=
17121 lt_prog_compiler_can_build_shared_GCJ
=no
17126 # For platforms which do not support PIC, -DPIC is meaningless:
17128 lt_prog_compiler_pic_GCJ
=
17131 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17136 # Check to make sure the static flag actually works.
17138 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17139 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17140 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17141 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17142 echo $ECHO_N "(cached) $ECHO_C" >&6
17144 lt_cv_prog_compiler_static_works_GCJ
=no
17145 save_LDFLAGS
="$LDFLAGS"
17146 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17147 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17148 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17149 # The linker can only warn and ignore the option if not recognized
17150 # So say no if there are warnings
17151 if test -s conftest.err
; then
17152 # Append any errors to the config.log.
17153 cat conftest.err
1>&5
17154 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17155 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17156 if diff conftest.exp conftest.er2
>/dev
/null
; then
17157 lt_cv_prog_compiler_static_works_GCJ
=yes
17160 lt_cv_prog_compiler_static_works_GCJ
=yes
17164 LDFLAGS
="$save_LDFLAGS"
17167 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17168 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17170 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17173 lt_prog_compiler_static_GCJ
=
17177 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17178 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17179 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17180 echo $ECHO_N "(cached) $ECHO_C" >&6
17182 lt_cv_prog_compiler_c_o_GCJ
=no
17183 $rm -r conftest
2>/dev
/null
17187 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17189 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17190 # Insert the option either (1) after the last *FLAGS variable, or
17191 # (2) before a word containing "conftest.", or (3) at the end.
17192 # Note that $ac_compile itself does not contain backslashes and begins
17193 # with a dollar sign (not a hyphen), so the echo should work correctly.
17194 lt_compile
=`echo "$ac_compile" | $SED \
17195 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17196 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17197 -e 's:$: $lt_compiler_flag:'`
17198 (eval echo "\"\$as_me:17198: $lt_compile\"" >&5)
17199 (eval "$lt_compile" 2>out
/conftest.err
)
17201 cat out
/conftest.err
>&5
17202 echo "$as_me:17202: \$? = $ac_status" >&5
17203 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17205 # The compiler can only warn and ignore the option if not recognized
17206 # So say no if there are warnings
17207 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17208 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17209 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17210 lt_cv_prog_compiler_c_o_GCJ
=yes
17215 # SGI C++ compiler will create directory out/ii_files/ for
17216 # template instantiation
17217 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17218 $rm out
/* && rmdir out
17224 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17225 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17228 hard_links
="nottested"
17229 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17230 # do not overwrite the value of need_locks provided by the user
17231 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17232 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17235 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17237 ln conftest.a conftest.b
2>&5 || hard_links
=no
17238 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17239 { echo "$as_me:$LINENO: result: $hard_links" >&5
17240 echo "${ECHO_T}$hard_links" >&6; }
17241 if test "$hard_links" = no
; then
17242 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17243 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17250 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17251 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17254 allow_undefined_flag_GCJ
=
17255 enable_shared_with_static_runtimes_GCJ
=no
17257 archive_expsym_cmds_GCJ
=
17258 old_archive_From_new_cmds_GCJ
=
17259 old_archive_from_expsyms_cmds_GCJ
=
17260 export_dynamic_flag_spec_GCJ
=
17261 whole_archive_flag_spec_GCJ
=
17262 thread_safe_flag_spec_GCJ
=
17263 hardcode_libdir_flag_spec_GCJ
=
17264 hardcode_libdir_flag_spec_ld_GCJ
=
17265 hardcode_libdir_separator_GCJ
=
17266 hardcode_direct_GCJ
=no
17267 hardcode_minus_L_GCJ
=no
17268 hardcode_shlibpath_var_GCJ
=unsupported
17269 link_all_deplibs_GCJ
=unknown
17270 hardcode_automatic_GCJ
=no
17272 module_expsym_cmds_GCJ
=
17273 always_export_symbols_GCJ
=no
17274 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17275 # include_expsyms should be a list of space-separated symbols to be *always*
17276 # included in the symbol list
17277 include_expsyms_GCJ
=
17278 # exclude_expsyms can be an extended regexp of symbols to exclude
17279 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17280 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17281 # as well as any symbol that contains `d'.
17282 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17283 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17284 # platforms (ab)use it in PIC code, but their linkers get confused if
17285 # the symbol is explicitly referenced. Since portable code cannot
17286 # rely on this symbol name, it's probably fine to never include it in
17287 # preloaded symbol tables.
17288 # Exclude shared library initialization/finalization symbols.
17289 extract_expsyms_cmds
=
17290 # Just being paranoid about ensuring that cc_basename is set.
17291 for cc_temp
in $compiler""; do
17293 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17294 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17299 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17302 cygwin
* | mingw
* | pw32
*)
17303 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17304 # When not using gcc, we currently assume that we are using
17305 # Microsoft Visual C++.
17306 if test "$GCC" != yes; then
17311 # we just hope/assume this is gcc and not c89 (= MSVC++)
17320 if test "$with_gnu_ld" = yes; then
17321 # If archive_cmds runs LD, not CC, wlarc should be empty
17324 # Set some defaults for GNU ld with shared library support. These
17325 # are reset later if shared libraries are not supported. Putting them
17326 # here allows them to be overridden if necessary.
17327 runpath_var
=LD_RUN_PATH
17328 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17329 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17330 # ancient GNU ld didn't support --whole-archive et. al.
17331 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17332 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17334 whole_archive_flag_spec_GCJ
=
17336 supports_anon_versioning
=no
17337 case `$LD -v 2>/dev/null` in
17338 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17339 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17340 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17341 *\
2.11.
*) ;; # other 2.11 versions
17342 *) supports_anon_versioning
=yes ;;
17345 # See if GNU ld supports shared libraries.
17348 # On AIX/PPC, the GNU linker is very broken
17349 if test "$host_cpu" != ia64
; then
17353 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17354 *** to be unable to reliably create shared libraries on AIX.
17355 *** Therefore, libtool is disabling shared libraries support. If you
17356 *** really care for shared libraries, you may want to modify your PATH
17357 *** so that a non-GNU linker is found, and then restart.
17364 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)'
17365 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17366 hardcode_minus_L_GCJ
=yes
17368 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17369 # that the semantics of dynamic libraries on AmigaOS, at least up
17370 # to version 4, is to share data among multiple programs linked
17371 # with the same dynamic library. Since this doesn't match the
17372 # behavior of shared libraries on other platforms, we can't use
17378 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17379 allow_undefined_flag_GCJ
=unsupported
17380 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17381 # support --undefined. This deserves some investigation. FIXME
17382 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17388 cygwin
* | mingw
* | pw32
*)
17389 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17390 # as there is no search path for DLLs.
17391 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17392 allow_undefined_flag_GCJ
=unsupported
17393 always_export_symbols_GCJ
=no
17394 enable_shared_with_static_runtimes_GCJ
=yes
17395 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17397 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17398 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17399 # If the export-symbols file already is a .def file (1st line
17400 # is EXPORTS), use it as is; otherwise, prepend...
17401 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17402 cp $export_symbols $output_objdir/$soname.def;
17404 echo EXPORTS > $output_objdir/$soname.def;
17405 cat $export_symbols >> $output_objdir/$soname.def;
17407 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17414 hardcode_direct_GCJ
=no
17415 hardcode_shlibpath_var_GCJ
=no
17416 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17417 export_dynamic_flag_spec_GCJ
='${wl}-E'
17418 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17419 # Instead, shared libraries are loaded at an image base (0x10000000 by
17420 # default) and relocated if they conflict, which is a slow very memory
17421 # consuming and fragmenting process. To avoid this, we pick a random,
17422 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17423 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17424 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'
17425 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'
17428 gnu
* | linux
* | k
*bsd
*-gnu)
17429 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17431 case $cc_basename,$host_cpu in
17432 pgcc
*) # Portland Group C compiler
17433 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'
17434 tmp_addflag
=' $pic_flag'
17436 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17437 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'
17438 tmp_addflag
=' $pic_flag -Mnomain' ;;
17439 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17440 tmp_addflag
=' -i_dynamic' ;;
17441 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17442 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17443 ifc
* | ifort
*) # Intel Fortran compiler
17444 tmp_addflag
=' -nofor_main' ;;
17446 case `$CC -V 2>&1 | sed 5q` in
17447 *Sun\ C
*) # Sun C 5.9
17448 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17449 tmp_sharedflag
='-G' ;;
17450 *Sun\ F
*) # Sun Fortran 8.3
17451 tmp_sharedflag
='-G' ;;
17453 tmp_sharedflag
='-shared' ;;
17455 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17457 if test $supports_anon_versioning = yes; then
17458 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17459 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17460 $echo "local: *; };" >> $output_objdir/$libname.ver~
17461 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17469 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17470 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17473 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17474 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17479 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17483 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17484 *** create shared libraries on Solaris systems. Therefore, libtool
17485 *** is disabling shared libraries support. We urge you to upgrade GNU
17486 *** binutils to release 2.9.1 or newer. Another option is to modify
17487 *** your PATH or compiler configuration so that the native linker is
17488 *** used, and then restart.
17491 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17492 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17493 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17499 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17500 case `$LD -v 2>&1` in
17501 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17505 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17506 *** reliably create shared libraries on SCO systems. Therefore, libtool
17507 *** is disabling shared libraries support. We urge you to upgrade GNU
17508 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17509 *** your PATH or compiler configuration so that the native linker is
17510 *** used, and then restart.
17515 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17516 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17517 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17518 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17527 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17529 hardcode_direct_GCJ
=yes
17530 hardcode_shlibpath_var_GCJ
=no
17534 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17535 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17536 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17543 if test "$ld_shlibs_GCJ" = no
; then
17545 hardcode_libdir_flag_spec_GCJ
=
17546 export_dynamic_flag_spec_GCJ
=
17547 whole_archive_flag_spec_GCJ
=
17550 # PORTME fill in a description of your system's linker (not GNU ld)
17553 allow_undefined_flag_GCJ
=unsupported
17554 always_export_symbols_GCJ
=yes
17555 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'
17556 # Note: this linker hardcodes the directories in LIBPATH if there
17557 # are no directories specified by -L.
17558 hardcode_minus_L_GCJ
=yes
17559 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17560 # Neither direct hardcoding nor static linking is supported with a
17562 hardcode_direct_GCJ
=unsupported
17567 if test "$host_cpu" = ia64
; then
17568 # On IA64, the linker does run time linking by default, so we don't
17569 # have to do anything special.
17570 aix_use_runtimelinking
=no
17571 exp_sym_flag
='-Bexport'
17574 # If we're using GNU nm, then we don't want the "-C" option.
17575 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17576 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17577 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'
17579 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'
17581 aix_use_runtimelinking
=no
17583 # Test if we are trying to use run time linking or normal
17584 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17585 # need to do runtime linking.
17586 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17587 for ld_flag
in $LDFLAGS; do
17588 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17589 aix_use_runtimelinking
=yes
17596 exp_sym_flag
='-bexport'
17597 no_entry_flag
='-bnoentry'
17600 # When large executables or shared objects are built, AIX ld can
17601 # have problems creating the table of contents. If linking a library
17602 # or program results in "error TOC overflow" add -mminimal-toc to
17603 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17604 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17606 archive_cmds_GCJ
=''
17607 hardcode_direct_GCJ
=yes
17608 hardcode_libdir_separator_GCJ
=':'
17609 link_all_deplibs_GCJ
=yes
17611 if test "$GCC" = yes; then
17612 case $host_os in aix4.
[012]|aix4.
[012].
*)
17613 # We only want to do this on AIX 4.2 and lower, the check
17614 # below for broken collect2 doesn't work under 4.3+
17615 collect2name
=`${CC} -print-prog-name=collect2`
17616 if test -f "$collect2name" && \
17617 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17619 # We have reworked collect2
17622 # We have old collect2
17623 hardcode_direct_GCJ
=unsupported
17624 # It fails to find uninstalled libraries when the uninstalled
17625 # path is not listed in the libpath. Setting hardcode_minus_L
17626 # to unsupported forces relinking
17627 hardcode_minus_L_GCJ
=yes
17628 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17629 hardcode_libdir_separator_GCJ
=
17633 shared_flag
='-shared'
17634 if test "$aix_use_runtimelinking" = yes; then
17635 shared_flag
="$shared_flag "'${wl}-G'
17639 if test "$host_cpu" = ia64
; then
17640 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17641 # chokes on -Wl,-G. The following line is correct:
17644 if test "$aix_use_runtimelinking" = yes; then
17645 shared_flag
='${wl}-G'
17647 shared_flag
='${wl}-bM:SRE'
17652 # It seems that -bexpall does not export symbols beginning with
17653 # underscore (_), so it is better to generate a list of symbols to export.
17654 always_export_symbols_GCJ
=yes
17655 if test "$aix_use_runtimelinking" = yes; then
17656 # Warning - without using the other runtime loading flags (-brtl),
17657 # -berok will link without error, but may produce a broken library.
17658 allow_undefined_flag_GCJ
='-berok'
17659 # Determine the default libpath from the value encoded in an empty executable.
17660 cat >conftest.
$ac_ext <<_ACEOF
17663 cat confdefs.h
>>conftest.
$ac_ext
17664 cat >>conftest.
$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17675 rm -f conftest.
$ac_objext conftest
$ac_exeext
17676 if { (ac_try
="$ac_link"
17677 case "(($ac_try" in
17678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17679 *) ac_try_echo=$ac_try;;
17681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17682 (eval "$ac_link") 2>conftest.er1
17684 grep -v '^ *+' conftest.er1 >conftest.err
17686 cat conftest.err >&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } && {
17689 test -z "$ac_c_werror_flag" ||
17690 test ! -s conftest.err
17691 } && test -s conftest$ac_exeext &&
17692 $as_test_x conftest$ac_exeext; then
17694 lt_aix_libpath_sed='
17695 /Import File Strings/,/^$/ {
17701 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17702 # Check for a 64-bit object if we didn't find anything.
17703 if test -z "$aix_libpath"; then
17704 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17707 echo "$as_me: failed program was:" >&5
17708 sed 's/^/| /' conftest.$ac_ext >&5
17713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17714 conftest$ac_exeext conftest.$ac_ext
17715 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17717 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17718 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"
17720 if test "$host_cpu" = ia64; then
17721 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17722 allow_undefined_flag_GCJ="-z nodefs"
17723 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"
17725 # Determine the default libpath from the value encoded in an empty executable.
17726 cat >conftest.$ac_ext <<_ACEOF
17729 cat confdefs.h >>conftest.$ac_ext
17730 cat >>conftest.$ac_ext <<_ACEOF
17731 /* end confdefs.h. */
17741 rm -f conftest.$ac_objext conftest$ac_exeext
17742 if { (ac_try="$ac_link"
17743 case "(($ac_try" in
17744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17745 *) ac_try_echo
=$ac_try;;
17747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17748 (eval "$ac_link") 2>conftest.er1
17750 grep -v '^ *+' conftest.er1
>conftest.err
17752 cat conftest.err
>&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); } && {
17755 test -z "$ac_c_werror_flag" ||
17756 test ! -s conftest.err
17757 } && test -s conftest
$ac_exeext &&
17758 $as_test_x conftest
$ac_exeext; then
17760 lt_aix_libpath_sed
='
17761 /Import File Strings/,/^$/ {
17767 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17768 # Check for a 64-bit object if we didn't find anything.
17769 if test -z "$aix_libpath"; then
17770 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.
$ac_ext >&5
17779 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17780 conftest
$ac_exeext conftest.
$ac_ext
17781 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17783 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17784 # Warning - without using the other run time loading flags,
17785 # -berok will link without error, but may produce a broken library.
17786 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17787 allow_undefined_flag_GCJ
=' ${wl}-berok'
17788 # Exported symbols can be pulled into shared objects from archives
17789 whole_archive_flag_spec_GCJ
='$convenience'
17790 archive_cmds_need_lc_GCJ
=yes
17791 # This is similar to how AIX traditionally builds its shared libraries.
17792 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'
17798 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)'
17799 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17800 hardcode_minus_L_GCJ
=yes
17801 # see comment about different semantics on the GNU ld section
17806 export_dynamic_flag_spec_GCJ
=-rdynamic
17809 cygwin
* | mingw
* | pw32
*)
17810 # When not using gcc, we currently assume that we are using
17811 # Microsoft Visual C++.
17812 # hardcode_libdir_flag_spec is actually meaningless, as there is
17813 # no search path for DLLs.
17814 hardcode_libdir_flag_spec_GCJ
=' '
17815 allow_undefined_flag_GCJ
=unsupported
17816 # Tell ltmain to make .lib files, not .a files.
17818 # Tell ltmain to make .dll files, not .so files.
17820 # FIXME: Setting linknames here is a bad hack.
17821 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17822 # The linker will automatically build a .lib file if we build a DLL.
17823 old_archive_From_new_cmds_GCJ
='true'
17824 # FIXME: Should let the user specify the lib program.
17825 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17826 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17827 enable_shared_with_static_runtimes_GCJ
=yes
17830 darwin
* | rhapsody
*)
17832 rhapsody
* | darwin1.
[012])
17833 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17836 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17837 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17839 case ${MACOSX_DEPLOYMENT_TARGET} in
17841 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17844 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17850 archive_cmds_need_lc_GCJ
=no
17851 hardcode_direct_GCJ
=no
17852 hardcode_automatic_GCJ
=yes
17853 hardcode_shlibpath_var_GCJ
=unsupported
17854 whole_archive_flag_spec_GCJ
=''
17855 link_all_deplibs_GCJ
=yes
17856 if test "$GCC" = yes ; then
17857 output_verbose_link_cmd
='echo'
17858 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17859 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17860 archive_expsym_cmds_GCJ
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17861 module_expsym_cmds_GCJ
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17863 case $cc_basename in
17865 output_verbose_link_cmd
='echo'
17866 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17867 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17868 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17869 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17870 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}'
17880 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17881 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17882 hardcode_shlibpath_var_GCJ
=no
17889 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17890 # support. Future versions do this automatically, but an explicit c++rt0.o
17891 # does not break anything, and helps significantly (at the cost of a little
17894 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17895 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17896 hardcode_direct_GCJ
=yes
17897 hardcode_shlibpath_var_GCJ
=no
17900 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17902 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17903 hardcode_direct_GCJ
=yes
17904 hardcode_minus_L_GCJ
=yes
17905 hardcode_shlibpath_var_GCJ
=no
17908 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17909 freebsd
* | dragonfly
*)
17910 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17911 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17912 hardcode_direct_GCJ
=yes
17913 hardcode_shlibpath_var_GCJ
=no
17917 if test "$GCC" = yes; then
17918 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'
17920 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'
17922 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17923 hardcode_libdir_separator_GCJ
=:
17924 hardcode_direct_GCJ
=yes
17926 # hardcode_minus_L: Not really in the search PATH,
17927 # but as the default location of the library.
17928 hardcode_minus_L_GCJ
=yes
17929 export_dynamic_flag_spec_GCJ
='${wl}-E'
17933 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17934 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17936 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17938 if test "$with_gnu_ld" = no
; then
17939 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17940 hardcode_libdir_separator_GCJ
=:
17942 hardcode_direct_GCJ
=yes
17943 export_dynamic_flag_spec_GCJ
='${wl}-E'
17945 # hardcode_minus_L: Not really in the search PATH,
17946 # but as the default location of the library.
17947 hardcode_minus_L_GCJ
=yes
17952 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17955 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17958 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17961 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17967 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17970 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17973 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17977 if test "$with_gnu_ld" = no
; then
17978 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17979 hardcode_libdir_separator_GCJ
=:
17983 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17984 hardcode_direct_GCJ
=no
17985 hardcode_shlibpath_var_GCJ
=no
17988 hardcode_direct_GCJ
=yes
17989 export_dynamic_flag_spec_GCJ
='${wl}-E'
17991 # hardcode_minus_L: Not really in the search PATH,
17992 # but as the default location of the library.
17993 hardcode_minus_L_GCJ
=yes
17999 irix5
* | irix6
* | nonstopux
*)
18000 if test "$GCC" = yes; then
18001 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'
18003 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'
18004 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18006 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18007 hardcode_libdir_separator_GCJ
=:
18008 link_all_deplibs_GCJ
=yes
18012 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18013 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18015 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18017 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18018 hardcode_direct_GCJ
=yes
18019 hardcode_shlibpath_var_GCJ
=no
18023 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18024 hardcode_direct_GCJ
=yes
18025 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18026 hardcode_libdir_separator_GCJ
=:
18027 hardcode_shlibpath_var_GCJ
=no
18031 if test -f /usr
/libexec
/ld.so
; then
18032 hardcode_direct_GCJ
=yes
18033 hardcode_shlibpath_var_GCJ
=no
18034 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18035 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18036 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18037 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18038 export_dynamic_flag_spec_GCJ
='${wl}-E'
18041 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18042 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18043 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18046 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18047 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18057 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18058 hardcode_minus_L_GCJ
=yes
18059 allow_undefined_flag_GCJ
=unsupported
18060 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'
18061 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18065 if test "$GCC" = yes; then
18066 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18067 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'
18069 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18070 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'
18072 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18073 hardcode_libdir_separator_GCJ
=:
18076 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18077 if test "$GCC" = yes; then
18078 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18079 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'
18080 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18082 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18083 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'
18084 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~
18085 $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'
18087 # Both c and cxx compiler support -rpath directly
18088 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18090 hardcode_libdir_separator_GCJ
=:
18094 no_undefined_flag_GCJ
=' -z text'
18095 if test "$GCC" = yes; then
18097 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18098 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18099 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18102 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18103 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18104 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18106 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18107 hardcode_shlibpath_var_GCJ
=no
18109 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18111 # The compiler driver will combine and reorder linker options,
18112 # but understands `-z linker_flag'. GCC discards it without `$wl',
18113 # but is careful enough not to reorder.
18114 # Supported since Solaris 2.6 (maybe 2.5.1?)
18115 if test "$GCC" = yes; then
18116 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18118 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18122 link_all_deplibs_GCJ
=yes
18126 if test "x$host_vendor" = xsequent
; then
18127 # Use $CC to link under sequent, because it throws in some extra .o
18128 # files that make .init and .fini sections work.
18129 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18131 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18133 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18134 hardcode_direct_GCJ
=yes
18135 hardcode_minus_L_GCJ
=yes
18136 hardcode_shlibpath_var_GCJ
=no
18140 case $host_vendor in
18142 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18143 hardcode_direct_GCJ
=yes # is this really true???
18146 ## LD is ld it makes a PLAMLIB
18147 ## CC just makes a GrossModule.
18148 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18149 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18150 hardcode_direct_GCJ
=no
18153 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18154 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18157 runpath_var
='LD_RUN_PATH'
18158 hardcode_shlibpath_var_GCJ
=no
18162 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18163 hardcode_shlibpath_var_GCJ
=no
18164 export_dynamic_flag_spec_GCJ
='-Bexport'
18168 if test -d /usr
/nec
; then
18169 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18170 hardcode_shlibpath_var_GCJ
=no
18171 runpath_var
=LD_RUN_PATH
18172 hardcode_runpath_var
=yes
18177 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18178 no_undefined_flag_GCJ
='${wl}-z,text'
18179 archive_cmds_need_lc_GCJ
=no
18180 hardcode_shlibpath_var_GCJ
=no
18181 runpath_var
='LD_RUN_PATH'
18183 if test "$GCC" = yes; then
18184 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18185 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18187 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18188 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18192 sysv5
* | sco3.2v5
* | sco5v6
*)
18193 # Note: We can NOT use -z defs as we might desire, because we do not
18194 # link with -lc, and that would cause any symbols used from libc to
18195 # always be unresolved, which means just about no library would
18196 # ever link correctly. If we're not using GNU ld we use -z text
18197 # though, which does catch some bad symbols but isn't as heavy-handed
18199 no_undefined_flag_GCJ
='${wl}-z,text'
18200 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18201 archive_cmds_need_lc_GCJ
=no
18202 hardcode_shlibpath_var_GCJ
=no
18203 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18204 hardcode_libdir_separator_GCJ
=':'
18205 link_all_deplibs_GCJ
=yes
18206 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18207 runpath_var
='LD_RUN_PATH'
18209 if test "$GCC" = yes; then
18210 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18211 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18213 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18214 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18219 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18220 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18221 hardcode_shlibpath_var_GCJ
=no
18230 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18231 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18232 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18235 # Do we need to explicitly link libc?
18237 case "x$archive_cmds_need_lc_GCJ" in
18239 # Assume -lc should be added
18240 archive_cmds_need_lc_GCJ
=yes
18242 if test "$enable_shared" = yes && test "$GCC" = yes; then
18243 case $archive_cmds_GCJ in
18245 # FIXME: we may have to deal with multi-command sequences.
18248 # Test whether the compiler implicitly links with -lc since on some
18249 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18250 # to ld, don't add -lc before -lgcc.
18251 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18252 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18254 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18257 (eval $ac_compile) 2>&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); } 2>conftest.err
; then
18263 libobjs
=conftest.
$ac_objext
18265 wl
=$lt_prog_compiler_wl_GCJ
18266 pic_flag
=$lt_prog_compiler_pic_GCJ
18272 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18273 allow_undefined_flag_GCJ
=
18274 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18275 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); }
18280 archive_cmds_need_lc_GCJ
=no
18282 archive_cmds_need_lc_GCJ
=yes
18284 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18286 cat conftest.err
1>&5
18289 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18290 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18297 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18298 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18299 library_names_spec
=
18300 libname_spec
='lib$name'
18304 postuninstall_cmds
=
18308 shlibpath_overrides_runpath
=unknown
18310 dynamic_linker
="$host_os ld.so"
18311 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18313 need_lib_prefix
=unknown
18314 hardcode_into_libs
=no
18316 # when you set need_version to no, make sure it does not cause -set_version
18317 # flags to be left without arguments
18318 need_version
=unknown
18323 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18324 shlibpath_var
=LIBPATH
18326 # AIX 3 has no versioning support, so we append a major version to the name.
18327 soname_spec
='${libname}${release}${shared_ext}$major'
18334 hardcode_into_libs
=yes
18335 if test "$host_cpu" = ia64
; then
18336 # AIX 5 supports IA64
18337 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18338 shlibpath_var
=LD_LIBRARY_PATH
18340 # With GCC up to 2.95.x, collect2 would create an import file
18341 # for dependence libraries. The import file would start with
18342 # the line `#! .'. This would cause the generated library to
18343 # depend on `.', always an invalid library. This was fixed in
18344 # development snapshots of GCC prior to 3.0.
18346 aix4 | aix4.
[01] | aix4.
[01].
*)
18347 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18349 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18352 can_build_shared
=no
18356 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18357 # soname into executable. Probably we can add versioning support to
18358 # collect2, so additional links can be useful in future.
18359 if test "$aix_use_runtimelinking" = yes; then
18360 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18361 # instead of lib<name>.a to let people know that these are not
18362 # typical AIX shared libraries.
18363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18365 # We preserve .a as extension for shared libraries through AIX4.2
18366 # and later when we are not doing run time linking.
18367 library_names_spec
='${libname}${release}.a $libname.a'
18368 soname_spec
='${libname}${release}${shared_ext}$major'
18370 shlibpath_var
=LIBPATH
18375 library_names_spec
='$libname.ixlibrary $libname.a'
18376 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18377 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'
18381 library_names_spec
='${libname}${shared_ext}'
18382 dynamic_linker
="$host_os ld.so"
18383 shlibpath_var
=LIBRARY_PATH
18389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18390 soname_spec
='${libname}${release}${shared_ext}$major'
18391 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18392 shlibpath_var
=LD_LIBRARY_PATH
18393 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18394 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18395 # the default ld.so.conf also contains /usr/contrib/lib and
18396 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18397 # libtool to hard-code these into programs
18400 cygwin
* | mingw
* | pw32
*)
18401 version_type
=windows
18406 case $GCC,$host_os in
18407 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18408 library_names_spec
='$libname.dll.a'
18409 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18410 postinstall_cmds
='base_file=`basename \${file}`~
18411 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18412 dldir=$destdir/`dirname \$dlpath`~
18413 test -d \$dldir || mkdir -p \$dldir~
18414 $install_prog $dir/$dlname \$dldir/$dlname~
18415 chmod a+x \$dldir/$dlname'
18416 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18417 dlpath=$dir/\$dldll~
18419 shlibpath_overrides_runpath
=yes
18423 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18424 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18425 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18428 # MinGW DLLs use traditional 'lib' prefix
18429 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18430 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18431 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18432 # It is most probably a Windows format PATH printed by
18433 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18434 # path with ; separators, and with drive letters. We can handle the
18435 # drive letters (cygwin fileutils understands them), so leave them,
18436 # especially as we might pass files found there to a mingw objdump,
18437 # which wouldn't understand a cygwinified path. Ahh.
18438 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18440 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18444 # pw32 DLLs use 'pw' prefix rather than 'lib'
18445 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18451 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18454 dynamic_linker
='Win32 ld.exe'
18455 # FIXME: first we should search . and the directory the executable is in
18459 darwin
* | rhapsody
*)
18460 dynamic_linker
="$host_os dyld"
18461 version_type
=darwin
18464 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18465 soname_spec
='${libname}${release}${major}$shared_ext'
18466 shlibpath_overrides_runpath
=yes
18467 shlibpath_var
=DYLD_LIBRARY_PATH
18468 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18470 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18478 soname_spec
='${libname}${release}${shared_ext}$major'
18479 shlibpath_var
=LD_LIBRARY_PATH
18486 freebsd
* | dragonfly
*)
18487 # DragonFly does not have aout. When/if they implement a new
18488 # versioning mechanism, adjust this.
18489 if test -x /usr
/bin
/objformat
; then
18490 objformat
=`/usr/bin/objformat`
18493 freebsd
[123]*) objformat
=aout
;;
18494 *) objformat
=elf
;;
18497 version_type
=freebsd-
$objformat
18498 case $version_type in
18500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18505 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18509 shlibpath_var
=LD_LIBRARY_PATH
18512 shlibpath_overrides_runpath
=yes
18514 freebsd3.
[01]* | freebsdelf3.
[01]*)
18515 shlibpath_overrides_runpath
=yes
18516 hardcode_into_libs
=yes
18518 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18519 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18520 shlibpath_overrides_runpath
=no
18521 hardcode_into_libs
=yes
18523 *) # from 4.6 on, and DragonFly
18524 shlibpath_overrides_runpath
=yes
18525 hardcode_into_libs
=yes
18534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18535 soname_spec
='${libname}${release}${shared_ext}$major'
18536 shlibpath_var
=LD_LIBRARY_PATH
18537 hardcode_into_libs
=yes
18540 hpux9
* | hpux10
* | hpux11
*)
18541 # Give a soname corresponding to the major version so that dld.sl refuses to
18542 # link against other versions.
18549 hardcode_into_libs
=yes
18550 dynamic_linker
="$host_os dld.so"
18551 shlibpath_var
=LD_LIBRARY_PATH
18552 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18554 soname_spec
='${libname}${release}${shared_ext}$major'
18555 if test "X$HPUX_IA64_MODE" = X32
; then
18556 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18558 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18560 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18564 hardcode_into_libs
=yes
18565 dynamic_linker
="$host_os dld.sl"
18566 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18567 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18569 soname_spec
='${libname}${release}${shared_ext}$major'
18570 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18571 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18575 dynamic_linker
="$host_os dld.sl"
18576 shlibpath_var
=SHLIB_PATH
18577 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18579 soname_spec
='${libname}${release}${shared_ext}$major'
18582 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18583 postinstall_cmds
='chmod 555 $lib'
18590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18591 soname_spec
='${libname}${release}${shared_ext}$major'
18592 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18593 shlibpath_var
=LD_LIBRARY_PATH
18594 shlibpath_overrides_runpath
=no
18595 hardcode_into_libs
=yes
18598 irix5
* | irix6
* | nonstopux
*)
18600 nonstopux
*) version_type
=nonstopux
;;
18602 if test "$lt_cv_prog_gnu_ld" = yes; then
18610 soname_spec
='${libname}${release}${shared_ext}$major'
18611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18613 irix5
* | nonstopux
*)
18614 libsuff
= shlibsuff
=
18617 case $LD in # libtool.m4 will add one of these switches to LD
18618 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18619 libsuff
= shlibsuff
= libmagic
=32-bit;;
18620 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18621 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18622 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18623 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18624 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18628 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18629 shlibpath_overrides_runpath
=no
18630 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18631 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18632 hardcode_into_libs
=yes
18635 # No shared lib support for Linux oldld, aout, or coff.
18636 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18640 # This must be Linux ELF.
18641 linux
* | k
*bsd
*-gnu)
18645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18646 soname_spec
='${libname}${release}${shared_ext}$major'
18647 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18648 shlibpath_var
=LD_LIBRARY_PATH
18649 shlibpath_overrides_runpath
=no
18650 # This implies no fast_install, which is unacceptable.
18651 # Some rework will be needed to allow for fast_install
18652 # before this can be enabled.
18653 hardcode_into_libs
=yes
18655 # Append ld.so.conf contents to the search path
18656 if test -f /etc
/ld.so.conf
; then
18657 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18658 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18661 # We used to test for /lib/ld.so.1 and disable shared libraries on
18662 # powerpc, because MkLinux only supported shared libraries with the
18663 # GNU dynamic linker. Since this was broken with cross compilers,
18664 # most powerpc-linux boxes support dynamic linking these days and
18665 # people can always --disable-shared, the test was removed, and we
18666 # assume the GNU/Linux dynamic linker is in use.
18667 dynamic_linker
='GNU/Linux ld.so'
18674 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18676 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18677 dynamic_linker
='NetBSD (a.out) ld.so'
18679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18680 soname_spec
='${libname}${release}${shared_ext}$major'
18681 dynamic_linker
='NetBSD ld.elf_so'
18683 shlibpath_var
=LD_LIBRARY_PATH
18684 shlibpath_overrides_runpath
=yes
18685 hardcode_into_libs
=yes
18690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18691 shlibpath_var
=LD_LIBRARY_PATH
18692 shlibpath_overrides_runpath
=yes
18699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18700 soname_spec
='${libname}${release}${shared_ext}$major'
18701 shlibpath_var
=LD_LIBRARY_PATH
18702 shlibpath_overrides_runpath
=yes
18707 sys_lib_dlsearch_path_spec
="/usr/lib"
18709 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18711 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18712 *) need_version
=no
;;
18714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18715 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18716 shlibpath_var
=LD_LIBRARY_PATH
18717 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18719 openbsd2.
[89] | openbsd2.
[89].
*)
18720 shlibpath_overrides_runpath
=no
18723 shlibpath_overrides_runpath
=yes
18727 shlibpath_overrides_runpath
=yes
18732 libname_spec
='$name'
18735 library_names_spec
='$libname${shared_ext} $libname.a'
18736 dynamic_linker
='OS/2 ld.exe'
18737 shlibpath_var
=LIBPATH
18740 osf3
* | osf4
* | osf5
*)
18744 soname_spec
='${libname}${release}${shared_ext}$major'
18745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18746 shlibpath_var
=LD_LIBRARY_PATH
18747 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18748 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18760 soname_spec
='${libname}${release}${shared_ext}$major'
18761 shlibpath_var
=LD_LIBRARY_PATH
18762 shlibpath_overrides_runpath
=yes
18763 hardcode_into_libs
=yes
18764 # ldd complains unless libraries are executable
18765 postinstall_cmds
='chmod +x $lib'
18770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18771 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18772 shlibpath_var
=LD_LIBRARY_PATH
18773 shlibpath_overrides_runpath
=yes
18774 if test "$with_gnu_ld" = yes; then
18782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18783 soname_spec
='${libname}${release}${shared_ext}$major'
18784 shlibpath_var
=LD_LIBRARY_PATH
18785 case $host_vendor in
18787 shlibpath_overrides_runpath
=no
18789 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18790 runpath_var
=LD_RUN_PATH
18798 shlibpath_overrides_runpath
=no
18799 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18805 if test -d /usr
/nec
;then
18807 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18808 soname_spec
='$libname${shared_ext}.$major'
18809 shlibpath_var
=LD_LIBRARY_PATH
18813 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18814 version_type
=freebsd-elf
18817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18818 soname_spec
='${libname}${release}${shared_ext}$major'
18819 shlibpath_var
=LD_LIBRARY_PATH
18820 hardcode_into_libs
=yes
18821 if test "$with_gnu_ld" = yes; then
18822 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18823 shlibpath_overrides_runpath
=no
18825 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18826 shlibpath_overrides_runpath
=yes
18829 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18833 sys_lib_dlsearch_path_spec
='/usr/lib'
18838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18839 soname_spec
='${libname}${release}${shared_ext}$major'
18840 shlibpath_var
=LD_LIBRARY_PATH
18847 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18848 echo "${ECHO_T}$dynamic_linker" >&6; }
18849 test "$dynamic_linker" = no
&& can_build_shared
=no
18851 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18852 echo $ECHO_N "(cached) $ECHO_C" >&6
18854 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
18857 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
18858 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18859 echo $ECHO_N "(cached) $ECHO_C" >&6
18861 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
18864 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
18866 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18867 if test "$GCC" = yes; then
18868 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18871 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18872 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18873 hardcode_action_GCJ
=
18874 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18875 test -n "$runpath_var_GCJ" || \
18876 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18878 # We can hardcode non-existant directories.
18879 if test "$hardcode_direct_GCJ" != no
&&
18880 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18881 # have to relink, otherwise we might link with an installed library
18882 # when we should be linking with a yet-to-be-installed one
18883 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18884 test "$hardcode_minus_L_GCJ" != no
; then
18885 # Linking always hardcodes the temporary library directory.
18886 hardcode_action_GCJ
=relink
18888 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18889 hardcode_action_GCJ
=immediate
18892 # We cannot hardcode anything, or else we can only hardcode existing
18894 hardcode_action_GCJ
=unsupported
18896 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18897 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18899 if test "$hardcode_action_GCJ" = relink
; then
18900 # Fast installation is not supported
18901 enable_fast_install
=no
18902 elif test "$shlibpath_overrides_runpath" = yes ||
18903 test "$enable_shared" = no
; then
18904 # Fast installation is not necessary
18905 enable_fast_install
=needless
18909 # The else clause should only fire when bootstrapping the
18910 # libtool distribution, otherwise you forgot to ship ltmain.sh
18911 # with your package, and you will get complaints that there are
18912 # no rules to generate ltmain.sh.
18913 if test -f "$ltmain"; then
18914 # See if we are running on zsh, and set the options which allow our commands through
18915 # without removal of \ escapes.
18916 if test -n "${ZSH_VERSION+set}" ; then
18917 setopt NO_GLOB_SUBST
18919 # Now quote all the things that may contain metacharacters while being
18920 # careful not to overquote the AC_SUBSTed values. We take copies of the
18921 # variables and quote the copies for generation of the libtool script.
18922 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18924 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18925 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18926 deplibs_check_method reload_flag reload_cmds need_locks \
18927 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18928 lt_cv_sys_global_symbol_to_c_name_address \
18929 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18930 old_postinstall_cmds old_postuninstall_cmds \
18934 lt_prog_compiler_wl_GCJ \
18935 lt_prog_compiler_pic_GCJ \
18936 lt_prog_compiler_static_GCJ \
18937 lt_prog_compiler_no_builtin_flag_GCJ \
18938 export_dynamic_flag_spec_GCJ \
18939 thread_safe_flag_spec_GCJ \
18940 whole_archive_flag_spec_GCJ \
18941 enable_shared_with_static_runtimes_GCJ \
18942 old_archive_cmds_GCJ \
18943 old_archive_from_new_cmds_GCJ \
18944 predep_objects_GCJ \
18945 postdep_objects_GCJ \
18948 compiler_lib_search_path_GCJ \
18949 compiler_lib_search_dirs_GCJ \
18951 archive_expsym_cmds_GCJ \
18952 postinstall_cmds_GCJ \
18953 postuninstall_cmds_GCJ \
18954 old_archive_from_expsyms_cmds_GCJ \
18955 allow_undefined_flag_GCJ \
18956 no_undefined_flag_GCJ \
18957 export_symbols_cmds_GCJ \
18958 hardcode_libdir_flag_spec_GCJ \
18959 hardcode_libdir_flag_spec_ld_GCJ \
18960 hardcode_libdir_separator_GCJ \
18961 hardcode_automatic_GCJ \
18963 module_expsym_cmds_GCJ \
18964 lt_cv_prog_compiler_c_o_GCJ \
18965 fix_srcfile_path_GCJ \
18966 exclude_expsyms_GCJ \
18967 include_expsyms_GCJ
; do
18970 old_archive_cmds_GCJ | \
18971 old_archive_from_new_cmds_GCJ | \
18972 archive_cmds_GCJ | \
18973 archive_expsym_cmds_GCJ | \
18974 module_cmds_GCJ | \
18975 module_expsym_cmds_GCJ | \
18976 old_archive_from_expsyms_cmds_GCJ | \
18977 export_symbols_cmds_GCJ | \
18978 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18979 postinstall_cmds | postuninstall_cmds | \
18980 old_postinstall_cmds | old_postuninstall_cmds | \
18981 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18982 # Double-quote double-evaled strings.
18983 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18986 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18992 *'\$0 --fallback-echo"')
18993 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18999 cat <<__EOF__ >> "$cfgfile"
19000 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19002 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19004 # Shell to use when invoking shell scripts.
19007 # Whether or not to build shared libraries.
19008 build_libtool_libs=$enable_shared
19010 # Whether or not to build static libraries.
19011 build_old_libs=$enable_static
19013 # Whether or not to add -lc for building shared libraries.
19014 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19016 # Whether or not to disallow shared libs when runtime libs are static
19017 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19019 # Whether or not to optimize for fast installation.
19020 fast_install=$enable_fast_install
19023 host_alias=$host_alias
19027 # The build system.
19028 build_alias=$build_alias
19032 # An echo program that does not interpret backslashes.
19037 AR_FLAGS=$lt_AR_FLAGS
19042 # LTCC compiler flags.
19043 LTCFLAGS=$lt_LTCFLAGS
19045 # A language-specific compiler.
19046 CC=$lt_compiler_GCJ
19048 # Is the compiler the GNU C compiler?
19054 # The linker used to build libraries.
19057 # Whether we need hard or soft links.
19060 # A BSD-compatible nm program.
19063 # A symbol stripping program
19066 # Used to examine libraries when file_magic_cmd begins "file"
19067 MAGIC_CMD=$MAGIC_CMD
19069 # Used on cygwin: DLL creation program.
19072 # Used on cygwin: object dumper.
19075 # Used on cygwin: assembler.
19078 # The name of the directory that contains temporary libtool files.
19081 # How to create reloadable object files.
19082 reload_flag=$lt_reload_flag
19083 reload_cmds=$lt_reload_cmds
19085 # How to pass a linker flag through the compiler.
19086 wl=$lt_lt_prog_compiler_wl_GCJ
19088 # Object file suffix (normally "o").
19089 objext="$ac_objext"
19091 # Old archive suffix (normally "a").
19094 # Shared library suffix (normally ".so").
19095 shrext_cmds='$shrext_cmds'
19097 # Executable file suffix (normally "").
19100 # Additional compiler flags for building library objects.
19101 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19104 # What is the maximum length of a command?
19105 max_cmd_len=$lt_cv_sys_max_cmd_len
19107 # Does compiler simultaneously support -c and -o options?
19108 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19110 # Must we lock files when doing compilation?
19111 need_locks=$lt_need_locks
19113 # Do we need the lib prefix for modules?
19114 need_lib_prefix=$need_lib_prefix
19116 # Do we need a version for libraries?
19117 need_version=$need_version
19119 # Whether dlopen is supported.
19120 dlopen_support=$enable_dlopen
19122 # Whether dlopen of programs is supported.
19123 dlopen_self=$enable_dlopen_self
19125 # Whether dlopen of statically linked programs is supported.
19126 dlopen_self_static=$enable_dlopen_self_static
19128 # Compiler flag to prevent dynamic linking.
19129 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19131 # Compiler flag to turn off builtin functions.
19132 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19134 # Compiler flag to allow reflexive dlopens.
19135 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19137 # Compiler flag to generate shared objects directly from archives.
19138 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19140 # Compiler flag to generate thread-safe objects.
19141 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19143 # Library versioning type.
19144 version_type=$version_type
19146 # Format of library name prefix.
19147 libname_spec=$lt_libname_spec
19149 # List of archive names. First name is the real one, the rest are links.
19150 # The last name is the one that the linker finds with -lNAME.
19151 library_names_spec=$lt_library_names_spec
19153 # The coded name of the library, if different from the real name.
19154 soname_spec=$lt_soname_spec
19156 # Commands used to build and install an old-style archive.
19158 old_archive_cmds=$lt_old_archive_cmds_GCJ
19159 old_postinstall_cmds=$lt_old_postinstall_cmds
19160 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19162 # Create an old-style archive from a shared archive.
19163 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19165 # Create a temporary old-style archive to link instead of a shared archive.
19166 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19168 # Commands used to build and install a shared archive.
19169 archive_cmds=$lt_archive_cmds_GCJ
19170 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19171 postinstall_cmds=$lt_postinstall_cmds
19172 postuninstall_cmds=$lt_postuninstall_cmds
19174 # Commands used to build a loadable module (assumed same as above if empty)
19175 module_cmds=$lt_module_cmds_GCJ
19176 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19178 # Commands to strip libraries.
19179 old_striplib=$lt_old_striplib
19180 striplib=$lt_striplib
19182 # Dependencies to place before the objects being linked to create a
19184 predep_objects=$lt_predep_objects_GCJ
19186 # Dependencies to place after the objects being linked to create a
19188 postdep_objects=$lt_postdep_objects_GCJ
19190 # Dependencies to place before the objects being linked to create a
19192 predeps=$lt_predeps_GCJ
19194 # Dependencies to place after the objects being linked to create a
19196 postdeps=$lt_postdeps_GCJ
19198 # The directories searched by this compiler when creating a shared
19200 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19202 # The library search path used internally by the compiler when linking
19203 # a shared library.
19204 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19206 # Method to check whether dependent libraries are shared objects.
19207 deplibs_check_method=$lt_deplibs_check_method
19209 # Command to use when deplibs_check_method == file_magic.
19210 file_magic_cmd=$lt_file_magic_cmd
19212 # Flag that allows shared libraries with undefined symbols to be built.
19213 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19215 # Flag that forces no undefined symbols.
19216 no_undefined_flag=$lt_no_undefined_flag_GCJ
19218 # Commands used to finish a libtool library installation in a directory.
19219 finish_cmds=$lt_finish_cmds
19221 # Same as above, but a single script fragment to be evaled but not shown.
19222 finish_eval=$lt_finish_eval
19224 # Take the output of nm and produce a listing of raw symbols and C names.
19225 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19227 # Transform the output of nm in a proper C declaration
19228 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19230 # Transform the output of nm in a C name address pair
19231 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19233 # This is the shared library runtime path variable.
19234 runpath_var=$runpath_var
19236 # This is the shared library path variable.
19237 shlibpath_var=$shlibpath_var
19239 # Is shlibpath searched before the hard-coded library search path?
19240 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19242 # How to hardcode a shared library path into an executable.
19243 hardcode_action=$hardcode_action_GCJ
19245 # Whether we should hardcode library paths into libraries.
19246 hardcode_into_libs=$hardcode_into_libs
19248 # Flag to hardcode \$libdir into a binary during linking.
19249 # This must work even if \$libdir does not exist.
19250 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19252 # If ld is used when linking, flag to hardcode \$libdir into
19253 # a binary during linking. This must work even if \$libdir does
19255 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19257 # Whether we need a single -rpath flag with a separated argument.
19258 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19260 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19261 # resulting binary.
19262 hardcode_direct=$hardcode_direct_GCJ
19264 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19265 # resulting binary.
19266 hardcode_minus_L=$hardcode_minus_L_GCJ
19268 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19269 # the resulting binary.
19270 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19272 # Set to yes if building a shared library automatically hardcodes DIR into the library
19273 # and all subsequent libraries and executables linked against it.
19274 hardcode_automatic=$hardcode_automatic_GCJ
19276 # Variables whose values should be saved in libtool wrapper scripts and
19277 # restored at relink time.
19278 variables_saved_for_relink="$variables_saved_for_relink"
19280 # Whether libtool must link a program against all its dependency libraries.
19281 link_all_deplibs=$link_all_deplibs_GCJ
19283 # Compile-time system search path for libraries
19284 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19286 # Run-time system search path for libraries
19287 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19289 # Fix the shell variable \$srcfile for the compiler.
19290 fix_srcfile_path=$lt_fix_srcfile_path
19292 # Set to yes if exported symbols are required.
19293 always_export_symbols=$always_export_symbols_GCJ
19295 # The commands to list exported symbols.
19296 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19298 # The commands to extract the exported symbol list from a shared archive.
19299 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19301 # Symbols that should not be listed in the preloaded symbols.
19302 exclude_expsyms=$lt_exclude_expsyms_GCJ
19304 # Symbols that must always be exported.
19305 include_expsyms=$lt_include_expsyms_GCJ
19307 # ### END LIBTOOL TAG CONFIG: $tagname
19313 # If there is no Makefile yet, we rely on a make rule to execute
19314 # `config.status --recheck' to rerun these tests and create the
19315 # libtool script then.
19316 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19317 if test -f "$ltmain_in"; then
19318 test -f Makefile
&& make "$ltmain"
19324 ac_cpp
='$CPP $CPPFLAGS'
19325 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19326 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19327 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19339 # Source file extension for RC test sources.
19342 # Object file extension for compiled RC test sources.
19346 # Code to be used in simple compile tests
19347 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19349 # Code to be used in simple link tests
19350 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19352 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19354 # If no C compiler was specified, use CC.
19357 # If no C compiler flags were specified, use CFLAGS.
19358 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19360 # Allow CC to be a program name with arguments.
19364 # save warnings/boilerplate of simple test code
19365 ac_outfile
=conftest.
$ac_objext
19366 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19367 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19368 _lt_compiler_boilerplate
=`cat conftest.err`
19371 ac_outfile
=conftest.
$ac_objext
19372 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19373 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19374 _lt_linker_boilerplate
=`cat conftest.err`
19378 # Allow CC to be a program name with arguments.
19383 for cc_temp
in $compiler""; do
19385 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19386 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19391 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19393 lt_cv_prog_compiler_c_o_RC
=yes
19395 # The else clause should only fire when bootstrapping the
19396 # libtool distribution, otherwise you forgot to ship ltmain.sh
19397 # with your package, and you will get complaints that there are
19398 # no rules to generate ltmain.sh.
19399 if test -f "$ltmain"; then
19400 # See if we are running on zsh, and set the options which allow our commands through
19401 # without removal of \ escapes.
19402 if test -n "${ZSH_VERSION+set}" ; then
19403 setopt NO_GLOB_SUBST
19405 # Now quote all the things that may contain metacharacters while being
19406 # careful not to overquote the AC_SUBSTed values. We take copies of the
19407 # variables and quote the copies for generation of the libtool script.
19408 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19410 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19411 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19412 deplibs_check_method reload_flag reload_cmds need_locks \
19413 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19414 lt_cv_sys_global_symbol_to_c_name_address \
19415 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19416 old_postinstall_cmds old_postuninstall_cmds \
19420 lt_prog_compiler_wl_RC \
19421 lt_prog_compiler_pic_RC \
19422 lt_prog_compiler_static_RC \
19423 lt_prog_compiler_no_builtin_flag_RC \
19424 export_dynamic_flag_spec_RC \
19425 thread_safe_flag_spec_RC \
19426 whole_archive_flag_spec_RC \
19427 enable_shared_with_static_runtimes_RC \
19428 old_archive_cmds_RC \
19429 old_archive_from_new_cmds_RC \
19430 predep_objects_RC \
19431 postdep_objects_RC \
19434 compiler_lib_search_path_RC \
19435 compiler_lib_search_dirs_RC \
19437 archive_expsym_cmds_RC \
19438 postinstall_cmds_RC \
19439 postuninstall_cmds_RC \
19440 old_archive_from_expsyms_cmds_RC \
19441 allow_undefined_flag_RC \
19442 no_undefined_flag_RC \
19443 export_symbols_cmds_RC \
19444 hardcode_libdir_flag_spec_RC \
19445 hardcode_libdir_flag_spec_ld_RC \
19446 hardcode_libdir_separator_RC \
19447 hardcode_automatic_RC \
19449 module_expsym_cmds_RC \
19450 lt_cv_prog_compiler_c_o_RC \
19451 fix_srcfile_path_RC \
19452 exclude_expsyms_RC \
19453 include_expsyms_RC
; do
19456 old_archive_cmds_RC | \
19457 old_archive_from_new_cmds_RC | \
19458 archive_cmds_RC | \
19459 archive_expsym_cmds_RC | \
19461 module_expsym_cmds_RC | \
19462 old_archive_from_expsyms_cmds_RC | \
19463 export_symbols_cmds_RC | \
19464 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19465 postinstall_cmds | postuninstall_cmds | \
19466 old_postinstall_cmds | old_postuninstall_cmds | \
19467 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19468 # Double-quote double-evaled strings.
19469 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19472 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19478 *'\$0 --fallback-echo"')
19479 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19485 cat <<__EOF__ >> "$cfgfile"
19486 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19488 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19490 # Shell to use when invoking shell scripts.
19493 # Whether or not to build shared libraries.
19494 build_libtool_libs=$enable_shared
19496 # Whether or not to build static libraries.
19497 build_old_libs=$enable_static
19499 # Whether or not to add -lc for building shared libraries.
19500 build_libtool_need_lc=$archive_cmds_need_lc_RC
19502 # Whether or not to disallow shared libs when runtime libs are static
19503 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19505 # Whether or not to optimize for fast installation.
19506 fast_install=$enable_fast_install
19509 host_alias=$host_alias
19513 # The build system.
19514 build_alias=$build_alias
19518 # An echo program that does not interpret backslashes.
19523 AR_FLAGS=$lt_AR_FLAGS
19528 # LTCC compiler flags.
19529 LTCFLAGS=$lt_LTCFLAGS
19531 # A language-specific compiler.
19534 # Is the compiler the GNU C compiler?
19540 # The linker used to build libraries.
19543 # Whether we need hard or soft links.
19546 # A BSD-compatible nm program.
19549 # A symbol stripping program
19552 # Used to examine libraries when file_magic_cmd begins "file"
19553 MAGIC_CMD=$MAGIC_CMD
19555 # Used on cygwin: DLL creation program.
19558 # Used on cygwin: object dumper.
19561 # Used on cygwin: assembler.
19564 # The name of the directory that contains temporary libtool files.
19567 # How to create reloadable object files.
19568 reload_flag=$lt_reload_flag
19569 reload_cmds=$lt_reload_cmds
19571 # How to pass a linker flag through the compiler.
19572 wl=$lt_lt_prog_compiler_wl_RC
19574 # Object file suffix (normally "o").
19575 objext="$ac_objext"
19577 # Old archive suffix (normally "a").
19580 # Shared library suffix (normally ".so").
19581 shrext_cmds='$shrext_cmds'
19583 # Executable file suffix (normally "").
19586 # Additional compiler flags for building library objects.
19587 pic_flag=$lt_lt_prog_compiler_pic_RC
19590 # What is the maximum length of a command?
19591 max_cmd_len=$lt_cv_sys_max_cmd_len
19593 # Does compiler simultaneously support -c and -o options?
19594 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19596 # Must we lock files when doing compilation?
19597 need_locks=$lt_need_locks
19599 # Do we need the lib prefix for modules?
19600 need_lib_prefix=$need_lib_prefix
19602 # Do we need a version for libraries?
19603 need_version=$need_version
19605 # Whether dlopen is supported.
19606 dlopen_support=$enable_dlopen
19608 # Whether dlopen of programs is supported.
19609 dlopen_self=$enable_dlopen_self
19611 # Whether dlopen of statically linked programs is supported.
19612 dlopen_self_static=$enable_dlopen_self_static
19614 # Compiler flag to prevent dynamic linking.
19615 link_static_flag=$lt_lt_prog_compiler_static_RC
19617 # Compiler flag to turn off builtin functions.
19618 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19620 # Compiler flag to allow reflexive dlopens.
19621 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19623 # Compiler flag to generate shared objects directly from archives.
19624 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19626 # Compiler flag to generate thread-safe objects.
19627 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19629 # Library versioning type.
19630 version_type=$version_type
19632 # Format of library name prefix.
19633 libname_spec=$lt_libname_spec
19635 # List of archive names. First name is the real one, the rest are links.
19636 # The last name is the one that the linker finds with -lNAME.
19637 library_names_spec=$lt_library_names_spec
19639 # The coded name of the library, if different from the real name.
19640 soname_spec=$lt_soname_spec
19642 # Commands used to build and install an old-style archive.
19644 old_archive_cmds=$lt_old_archive_cmds_RC
19645 old_postinstall_cmds=$lt_old_postinstall_cmds
19646 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19648 # Create an old-style archive from a shared archive.
19649 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19651 # Create a temporary old-style archive to link instead of a shared archive.
19652 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19654 # Commands used to build and install a shared archive.
19655 archive_cmds=$lt_archive_cmds_RC
19656 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19657 postinstall_cmds=$lt_postinstall_cmds
19658 postuninstall_cmds=$lt_postuninstall_cmds
19660 # Commands used to build a loadable module (assumed same as above if empty)
19661 module_cmds=$lt_module_cmds_RC
19662 module_expsym_cmds=$lt_module_expsym_cmds_RC
19664 # Commands to strip libraries.
19665 old_striplib=$lt_old_striplib
19666 striplib=$lt_striplib
19668 # Dependencies to place before the objects being linked to create a
19670 predep_objects=$lt_predep_objects_RC
19672 # Dependencies to place after the objects being linked to create a
19674 postdep_objects=$lt_postdep_objects_RC
19676 # Dependencies to place before the objects being linked to create a
19678 predeps=$lt_predeps_RC
19680 # Dependencies to place after the objects being linked to create a
19682 postdeps=$lt_postdeps_RC
19684 # The directories searched by this compiler when creating a shared
19686 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19688 # The library search path used internally by the compiler when linking
19689 # a shared library.
19690 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19692 # Method to check whether dependent libraries are shared objects.
19693 deplibs_check_method=$lt_deplibs_check_method
19695 # Command to use when deplibs_check_method == file_magic.
19696 file_magic_cmd=$lt_file_magic_cmd
19698 # Flag that allows shared libraries with undefined symbols to be built.
19699 allow_undefined_flag=$lt_allow_undefined_flag_RC
19701 # Flag that forces no undefined symbols.
19702 no_undefined_flag=$lt_no_undefined_flag_RC
19704 # Commands used to finish a libtool library installation in a directory.
19705 finish_cmds=$lt_finish_cmds
19707 # Same as above, but a single script fragment to be evaled but not shown.
19708 finish_eval=$lt_finish_eval
19710 # Take the output of nm and produce a listing of raw symbols and C names.
19711 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19713 # Transform the output of nm in a proper C declaration
19714 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19716 # Transform the output of nm in a C name address pair
19717 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19719 # This is the shared library runtime path variable.
19720 runpath_var=$runpath_var
19722 # This is the shared library path variable.
19723 shlibpath_var=$shlibpath_var
19725 # Is shlibpath searched before the hard-coded library search path?
19726 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19728 # How to hardcode a shared library path into an executable.
19729 hardcode_action=$hardcode_action_RC
19731 # Whether we should hardcode library paths into libraries.
19732 hardcode_into_libs=$hardcode_into_libs
19734 # Flag to hardcode \$libdir into a binary during linking.
19735 # This must work even if \$libdir does not exist.
19736 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19738 # If ld is used when linking, flag to hardcode \$libdir into
19739 # a binary during linking. This must work even if \$libdir does
19741 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19743 # Whether we need a single -rpath flag with a separated argument.
19744 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19746 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19747 # resulting binary.
19748 hardcode_direct=$hardcode_direct_RC
19750 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19751 # resulting binary.
19752 hardcode_minus_L=$hardcode_minus_L_RC
19754 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19755 # the resulting binary.
19756 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19758 # Set to yes if building a shared library automatically hardcodes DIR into the library
19759 # and all subsequent libraries and executables linked against it.
19760 hardcode_automatic=$hardcode_automatic_RC
19762 # Variables whose values should be saved in libtool wrapper scripts and
19763 # restored at relink time.
19764 variables_saved_for_relink="$variables_saved_for_relink"
19766 # Whether libtool must link a program against all its dependency libraries.
19767 link_all_deplibs=$link_all_deplibs_RC
19769 # Compile-time system search path for libraries
19770 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19772 # Run-time system search path for libraries
19773 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19775 # Fix the shell variable \$srcfile for the compiler.
19776 fix_srcfile_path=$lt_fix_srcfile_path
19778 # Set to yes if exported symbols are required.
19779 always_export_symbols=$always_export_symbols_RC
19781 # The commands to list exported symbols.
19782 export_symbols_cmds=$lt_export_symbols_cmds_RC
19784 # The commands to extract the exported symbol list from a shared archive.
19785 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19787 # Symbols that should not be listed in the preloaded symbols.
19788 exclude_expsyms=$lt_exclude_expsyms_RC
19790 # Symbols that must always be exported.
19791 include_expsyms=$lt_include_expsyms_RC
19793 # ### END LIBTOOL TAG CONFIG: $tagname
19799 # If there is no Makefile yet, we rely on a make rule to execute
19800 # `config.status --recheck' to rerun these tests and create the
19801 # libtool script then.
19802 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19803 if test -f "$ltmain_in"; then
19804 test -f Makefile
&& make "$ltmain"
19810 ac_cpp
='$CPP $CPPFLAGS'
19811 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19812 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19813 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19820 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19821 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19822 { (exit 1); exit 1; }; }
19826 # Append the new tag name to the list of available tags.
19827 if test -n "$tagname" ; then
19828 available_tags
="$available_tags $tagname"
19834 # Now substitute the updated list of available tags.
19835 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19836 mv "${ofile}T" "$ofile"
19840 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19841 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19842 { (exit 1); exit 1; }; }
19848 # This can be used to rebuild libtool when needed
19849 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19851 # Always use our own libtool.
19852 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19854 # Prevent multiple expansion
19876 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
19877 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
19878 # Check whether --enable-nls was given.
19879 if test "${enable_nls+set}" = set; then
19880 enableval
=$enable_nls; USE_NLS
=$enableval
19885 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
19886 echo "${ECHO_T}$USE_NLS" >&6; }
19891 case "$am__api_version" in
19893 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
19894 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
19895 { (exit 1); exit 1; }; }
19901 if test -n "0.23"; then
19902 { echo "$as_me:$LINENO: checking for intltool >= 0.23" >&5
19903 echo $ECHO_N "checking for intltool >= 0.23... $ECHO_C" >&6; }
19905 INTLTOOL_REQUIRED_VERSION_AS_INT
=`echo 0.23 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
19906 INTLTOOL_APPLIED_VERSION
=`intltool-update --version | head -1 | cut -d" " -f3`
19907 INTLTOOL_APPLIED_VERSION_AS_INT
=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
19909 { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
19910 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
19911 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
19912 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.23 or later." >&5
19913 echo "$as_me: error: Your intltool is too old. You need intltool 0.23 or later." >&2;}
19914 { (exit 1); exit 1; }; }
19917 # Extract the first word of "intltool-update", so it can be a program name with args.
19918 set dummy intltool-update
; ac_word
=$2
19919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19921 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19924 case $INTLTOOL_UPDATE in
19926 ac_cv_path_INTLTOOL_UPDATE
="$INTLTOOL_UPDATE" # Let the user override the test with a path.
19929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19930 for as_dir
in $PATH
19933 test -z "$as_dir" && as_dir
=.
19934 for ac_exec_ext
in '' $ac_executable_extensions; do
19935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19936 ac_cv_path_INTLTOOL_UPDATE
="$as_dir/$ac_word$ac_exec_ext"
19937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19947 INTLTOOL_UPDATE
=$ac_cv_path_INTLTOOL_UPDATE
19948 if test -n "$INTLTOOL_UPDATE"; then
19949 { echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
19950 echo "${ECHO_T}$INTLTOOL_UPDATE" >&6; }
19952 { echo "$as_me:$LINENO: result: no" >&5
19953 echo "${ECHO_T}no" >&6; }
19957 # Extract the first word of "intltool-merge", so it can be a program name with args.
19958 set dummy intltool-merge
; ac_word
=$2
19959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19961 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
19962 echo $ECHO_N "(cached) $ECHO_C" >&6
19964 case $INTLTOOL_MERGE in
19966 ac_cv_path_INTLTOOL_MERGE
="$INTLTOOL_MERGE" # Let the user override the test with a path.
19969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19970 for as_dir
in $PATH
19973 test -z "$as_dir" && as_dir
=.
19974 for ac_exec_ext
in '' $ac_executable_extensions; do
19975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19976 ac_cv_path_INTLTOOL_MERGE
="$as_dir/$ac_word$ac_exec_ext"
19977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19987 INTLTOOL_MERGE
=$ac_cv_path_INTLTOOL_MERGE
19988 if test -n "$INTLTOOL_MERGE"; then
19989 { echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
19990 echo "${ECHO_T}$INTLTOOL_MERGE" >&6; }
19992 { echo "$as_me:$LINENO: result: no" >&5
19993 echo "${ECHO_T}no" >&6; }
19997 # Extract the first word of "intltool-extract", so it can be a program name with args.
19998 set dummy intltool-extract
; ac_word
=$2
19999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20001 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20004 case $INTLTOOL_EXTRACT in
20006 ac_cv_path_INTLTOOL_EXTRACT
="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
20009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20010 for as_dir
in $PATH
20013 test -z "$as_dir" && as_dir
=.
20014 for ac_exec_ext
in '' $ac_executable_extensions; do
20015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20016 ac_cv_path_INTLTOOL_EXTRACT
="$as_dir/$ac_word$ac_exec_ext"
20017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20027 INTLTOOL_EXTRACT
=$ac_cv_path_INTLTOOL_EXTRACT
20028 if test -n "$INTLTOOL_EXTRACT"; then
20029 { echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
20030 echo "${ECHO_T}$INTLTOOL_EXTRACT" >&6; }
20032 { echo "$as_me:$LINENO: result: no" >&5
20033 echo "${ECHO_T}no" >&6; }
20037 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
20038 { { echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
20039 echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
20040 { (exit 1); exit 1; }; }
20043 INTLTOOL_DESKTOP_RULE
='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20044 INTLTOOL_DIRECTORY_RULE
='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20045 INTLTOOL_KEYS_RULE
='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20046 INTLTOOL_PROP_RULE
='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20047 INTLTOOL_OAF_RULE
='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
20048 INTLTOOL_PONG_RULE
='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20049 INTLTOOL_SERVER_RULE
='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20050 INTLTOOL_SHEET_RULE
='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20051 INTLTOOL_SOUNDLIST_RULE
='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20052 INTLTOOL_UI_RULE
='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20053 INTLTOOL_XML_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20054 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
20055 INTLTOOL_XAM_RULE
='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20056 INTLTOOL_KBD_RULE
='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20057 INTLTOOL_CAVES_RULE
='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20058 INTLTOOL_SCHEMAS_RULE
='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20059 INTLTOOL_THEME_RULE
='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20060 INTLTOOL_SERVICE_RULE
='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20061 INTLTOOL_POLICY_RULE
='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20083 # Check the gettext tools to make sure they are GNU
20084 # Extract the first word of "xgettext", so it can be a program name with args.
20085 set dummy xgettext
; ac_word
=$2
20086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20088 if test "${ac_cv_path_XGETTEXT+set}" = set; then
20089 echo $ECHO_N "(cached) $ECHO_C" >&6
20093 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
20096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20097 for as_dir
in $PATH
20100 test -z "$as_dir" && as_dir
=.
20101 for ac_exec_ext
in '' $ac_executable_extensions; do
20102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20103 ac_cv_path_XGETTEXT
="$as_dir/$ac_word$ac_exec_ext"
20104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20114 XGETTEXT
=$ac_cv_path_XGETTEXT
20115 if test -n "$XGETTEXT"; then
20116 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
20117 echo "${ECHO_T}$XGETTEXT" >&6; }
20119 { echo "$as_me:$LINENO: result: no" >&5
20120 echo "${ECHO_T}no" >&6; }
20124 # Extract the first word of "msgmerge", so it can be a program name with args.
20125 set dummy msgmerge
; ac_word
=$2
20126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20128 if test "${ac_cv_path_MSGMERGE+set}" = set; then
20129 echo $ECHO_N "(cached) $ECHO_C" >&6
20133 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
20136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20137 for as_dir
in $PATH
20140 test -z "$as_dir" && as_dir
=.
20141 for ac_exec_ext
in '' $ac_executable_extensions; do
20142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20143 ac_cv_path_MSGMERGE
="$as_dir/$ac_word$ac_exec_ext"
20144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20154 MSGMERGE
=$ac_cv_path_MSGMERGE
20155 if test -n "$MSGMERGE"; then
20156 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
20157 echo "${ECHO_T}$MSGMERGE" >&6; }
20159 { echo "$as_me:$LINENO: result: no" >&5
20160 echo "${ECHO_T}no" >&6; }
20164 # Extract the first word of "msgfmt", so it can be a program name with args.
20165 set dummy msgfmt
; ac_word
=$2
20166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20168 if test "${ac_cv_path_MSGFMT+set}" = set; then
20169 echo $ECHO_N "(cached) $ECHO_C" >&6
20173 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
20176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20177 for as_dir
in $PATH
20180 test -z "$as_dir" && as_dir
=.
20181 for ac_exec_ext
in '' $ac_executable_extensions; do
20182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20183 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
20184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20194 MSGFMT
=$ac_cv_path_MSGFMT
20195 if test -n "$MSGFMT"; then
20196 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
20197 echo "${ECHO_T}$MSGFMT" >&6; }
20199 { echo "$as_me:$LINENO: result: no" >&5
20200 echo "${ECHO_T}no" >&6; }
20204 # Extract the first word of "gmsgfmt", so it can be a program name with args.
20205 set dummy gmsgfmt
; ac_word
=$2
20206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20208 if test "${ac_cv_path_GMSGFMT+set}" = set; then
20209 echo $ECHO_N "(cached) $ECHO_C" >&6
20213 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
20216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20217 for as_dir
in $PATH
20220 test -z "$as_dir" && as_dir
=.
20221 for ac_exec_ext
in '' $ac_executable_extensions; do
20222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20223 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
20224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20231 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
20235 GMSGFMT
=$ac_cv_path_GMSGFMT
20236 if test -n "$GMSGFMT"; then
20237 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
20238 echo "${ECHO_T}$GMSGFMT" >&6; }
20240 { echo "$as_me:$LINENO: result: no" >&5
20241 echo "${ECHO_T}no" >&6; }
20245 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
20246 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
20247 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
20248 { (exit 1); exit 1; }; }
20250 xgversion
="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
20251 mmversion
="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
20252 mfversion
="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
20253 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
20254 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
20255 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
20256 { (exit 1); exit 1; }; }
20259 # Extract the first word of "perl", so it can be a program name with args.
20260 set dummy perl
; ac_word
=$2
20261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20263 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
20264 echo $ECHO_N "(cached) $ECHO_C" >&6
20266 case $INTLTOOL_PERL in
20268 ac_cv_path_INTLTOOL_PERL
="$INTLTOOL_PERL" # Let the user override the test with a path.
20271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20272 for as_dir
in $PATH
20275 test -z "$as_dir" && as_dir
=.
20276 for ac_exec_ext
in '' $ac_executable_extensions; do
20277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20278 ac_cv_path_INTLTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
20279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20289 INTLTOOL_PERL
=$ac_cv_path_INTLTOOL_PERL
20290 if test -n "$INTLTOOL_PERL"; then
20291 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
20292 echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
20294 { echo "$as_me:$LINENO: result: no" >&5
20295 echo "${ECHO_T}no" >&6; }
20299 if test -z "$INTLTOOL_PERL"; then
20300 { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
20301 echo "$as_me: error: perl not found; required for intltool" >&2;}
20302 { (exit 1); exit 1; }; }
20304 if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
20305 { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
20306 echo "$as_me: error: perl 5.x required for intltool" >&2;}
20307 { (exit 1); exit 1; }; }
20309 if test "x" != "xno-xml"; then
20310 { echo "$as_me:$LINENO: checking for XML::Parser" >&5
20311 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
20312 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
20313 { echo "$as_me:$LINENO: result: ok" >&5
20314 echo "${ECHO_T}ok" >&6; }
20316 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
20317 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
20318 { (exit 1); exit 1; }; }
20322 # Substitute ALL_LINGUAS so we can use it in po/Makefile
20325 # Set DATADIRNAME correctly if it is not set yet
20326 # (copied from glib-gettext.m4)
20327 if test -z "$DATADIRNAME"; then
20328 cat >conftest.
$ac_ext <<_ACEOF
20331 cat confdefs.h
>>conftest.
$ac_ext
20332 cat >>conftest.
$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20338 extern int _nl_msg_cat_cntr;
20339 return _nl_msg_cat_cntr
20344 rm -f conftest.
$ac_objext conftest
$ac_exeext
20345 if { (ac_try
="$ac_link"
20346 case "(($ac_try" in
20347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20348 *) ac_try_echo=$ac_try;;
20350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20351 (eval "$ac_link") 2>conftest.er1
20353 grep -v '^ *+' conftest.er1 >conftest.err
20355 cat conftest.err >&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } && {
20358 test -z "$ac_c_werror_flag" ||
20359 test ! -s conftest.err
20360 } && test -s conftest$ac_exeext &&
20361 $as_test_x conftest$ac_exeext; then
20364 echo "$as_me: failed program was:" >&5
20365 sed 's/^/| /' conftest.$ac_ext >&5
20369 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
20370 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
20371 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
20372 echo $ECHO_N "(cached) $ECHO_C" >&6
20374 cat >conftest.$ac_ext <<_ACEOF
20377 cat confdefs.h >>conftest.$ac_ext
20378 cat >>conftest.$ac_ext <<_ACEOF
20379 /* end confdefs.h. */
20380 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
20381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20382 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
20384 /* System header to define __stub macros and hopefully few prototypes,
20385 which can conflict with char bind_textdomain_codeset (); below.
20386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20387 <limits.h> exists even on freestanding compilers. */
20390 # include <limits.h>
20392 # include <assert.h>
20395 #undef bind_textdomain_codeset
20397 /* Override any GCC internal prototype to avoid an error.
20398 Use char because int might match the return type of a GCC
20399 builtin and then its argument prototype would still apply. */
20403 char bind_textdomain_codeset ();
20404 /* The GNU C library defines this for functions which it implements
20405 to always fail with ENOSYS. Some functions are actually named
20406 something starting with __ and the normal name is an alias. */
20407 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
20414 return bind_textdomain_codeset ();
20419 rm -f conftest.$ac_objext conftest$ac_exeext
20420 if { (ac_try="$ac_link"
20421 case "(($ac_try" in
20422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20423 *) ac_try_echo
=$ac_try;;
20425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20426 (eval "$ac_link") 2>conftest.er1
20428 grep -v '^ *+' conftest.er1
>conftest.err
20430 cat conftest.err
>&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); } && {
20433 test -z "$ac_c_werror_flag" ||
20434 test ! -s conftest.err
20435 } && test -s conftest
$ac_exeext &&
20436 $as_test_x conftest
$ac_exeext; then
20437 ac_cv_func_bind_textdomain_codeset
=yes
20439 echo "$as_me: failed program was:" >&5
20440 sed 's/^/| /' conftest.
$ac_ext >&5
20442 ac_cv_func_bind_textdomain_codeset
=no
20445 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20446 conftest
$ac_exeext conftest.
$ac_ext
20448 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
20449 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
20450 if test $ac_cv_func_bind_textdomain_codeset = yes; then
20463 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20464 conftest
$ac_exeext conftest.
$ac_ext
20471 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20472 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20473 if test "${ac_cv_header_stdc+set}" = set; then
20474 echo $ECHO_N "(cached) $ECHO_C" >&6
20476 cat >conftest.
$ac_ext <<_ACEOF
20479 cat confdefs.h
>>conftest.
$ac_ext
20480 cat >>conftest.
$ac_ext <<_ACEOF
20481 /* end confdefs.h. */
20482 #include <stdlib.h>
20483 #include <stdarg.h>
20484 #include <string.h>
20495 rm -f conftest.
$ac_objext
20496 if { (ac_try
="$ac_compile"
20497 case "(($ac_try" in
20498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20499 *) ac_try_echo=$ac_try;;
20501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20502 (eval "$ac_compile") 2>conftest.er1
20504 grep -v '^ *+' conftest.er1 >conftest.err
20506 cat conftest.err >&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); } && {
20509 test -z "$ac_c_werror_flag" ||
20510 test ! -s conftest.err
20511 } && test -s conftest.$ac_objext; then
20512 ac_cv_header_stdc=yes
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.$ac_ext >&5
20517 ac_cv_header_stdc=no
20520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20522 if test $ac_cv_header_stdc = yes; then
20523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20524 cat >conftest.$ac_ext <<_ACEOF
20527 cat confdefs.h >>conftest.$ac_ext
20528 cat >>conftest.$ac_ext <<_ACEOF
20529 /* end confdefs.h. */
20530 #include <string.h>
20533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20534 $EGREP "memchr" >/dev/null 2>&1; then
20537 ac_cv_header_stdc=no
20543 if test $ac_cv_header_stdc = yes; then
20544 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20545 cat >conftest.$ac_ext <<_ACEOF
20548 cat confdefs.h >>conftest.$ac_ext
20549 cat >>conftest.$ac_ext <<_ACEOF
20550 /* end confdefs.h. */
20551 #include <stdlib.h>
20554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20555 $EGREP "free" >/dev/null 2>&1; then
20558 ac_cv_header_stdc=no
20564 if test $ac_cv_header_stdc = yes; then
20565 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20566 if test "$cross_compiling" = yes; then
20569 cat >conftest.$ac_ext <<_ACEOF
20572 cat confdefs.h >>conftest.$ac_ext
20573 cat >>conftest.$ac_ext <<_ACEOF
20574 /* end confdefs.h. */
20576 #include <stdlib.h>
20577 #if ((' ' & 0x0FF) == 0x020)
20578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20581 # define ISLOWER(c) \
20582 (('a' <= (c) && (c) <= 'i') \
20583 || ('j' <= (c) && (c) <= 'r') \
20584 || ('s' <= (c) && (c) <= 'z'))
20585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20593 for (i = 0; i < 256; i++)
20594 if (XOR (islower (i), ISLOWER (i))
20595 || toupper (i) != TOUPPER (i))
20600 rm -f conftest$ac_exeext
20601 if { (ac_try="$ac_link"
20602 case "(($ac_try" in
20603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20604 *) ac_try_echo
=$ac_try;;
20606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20607 (eval "$ac_link") 2>&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20611 { (case "(($ac_try" in
20612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20613 *) ac_try_echo=$ac_try;;
20615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20616 (eval "$ac_try") 2>&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); }; }; then
20622 echo "$as_me: program exited with status $ac_status" >&5
20623 echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.$ac_ext >&5
20626 ( exit $ac_status )
20627 ac_cv_header_stdc=no
20629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20635 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20636 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20637 if test $ac_cv_header_stdc = yes; then
20639 cat >>confdefs.h <<\_ACEOF
20640 #define STDC_HEADERS 1
20646 # Option to enable debugging
20647 # Check whether --enable-debug was given.
20648 if test "${enable_debug+set}" = set; then
20649 enableval=$enable_debug; with_debug=yes
20655 if test "x$with_debug" == "xyes" ; then
20656 CFLAGS="$CFLAGS -ggdb -O0 -DDEBUG -Wall -ansi -pedantic"
20658 # CFLAGS="$CFLAGS -O2 -Wall -ansi -pedantic"
20659 CFLAGS="$CFLAGS -O2 -Wall -ansi"
20662 # Hildon library dependencies
20665 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20666 if test -n "$ac_tool_prefix"; then
20667 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20668 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20671 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20672 echo $ECHO_N "(cached) $ECHO_C" >&6
20674 case $PKG_CONFIG in
20676 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20680 for as_dir in $PATH
20683 test -z "$as_dir" && as_dir=.
20684 for ac_exec_ext in '' $ac_executable_extensions; do
20685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20686 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20697 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20698 if test -n "$PKG_CONFIG"; then
20699 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20700 echo "${ECHO_T}$PKG_CONFIG" >&6; }
20702 { echo "$as_me:$LINENO: result: no" >&5
20703 echo "${ECHO_T}no" >&6; }
20708 if test -z "$ac_cv_path_PKG_CONFIG"; then
20709 ac_pt_PKG_CONFIG=$PKG_CONFIG
20710 # Extract the first word of "pkg-config", so it can be a program name with args.
20711 set dummy pkg-config; ac_word=$2
20712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20714 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
20715 echo $ECHO_N "(cached) $ECHO_C" >&6
20717 case $ac_pt_PKG_CONFIG in
20719 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20723 for as_dir in $PATH
20726 test -z "$as_dir" && as_dir=.
20727 for ac_exec_ext in '' $ac_executable_extensions; do
20728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20729 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20740 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20741 if test -n "$ac_pt_PKG_CONFIG"; then
20742 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
20743 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
20745 { echo "$as_me:$LINENO: result: no" >&5
20746 echo "${ECHO_T}no" >&6; }
20749 if test "x$ac_pt_PKG_CONFIG" = x; then
20752 case $cross_compiling:$ac_tool_warned in
20754 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20755 whose name does not start with the host triplet. If you think this
20756 configuration is useful to you, please write to autoconf@gnu.org." >&5
20757 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20758 whose name does not start with the host triplet. If you think this
20759 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20760 ac_tool_warned=yes ;;
20762 PKG_CONFIG=$ac_pt_PKG_CONFIG
20765 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20769 if test -n "$PKG_CONFIG"; then
20770 _pkg_min_version=0.9.0
20771 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20772 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
20773 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20774 { echo "$as_me:$LINENO: result: yes" >&5
20775 echo "${ECHO_T}yes" >&6; }
20777 { echo "$as_me:$LINENO: result: no" >&5
20778 echo "${ECHO_T}no" >&6; }
20785 { echo "$as_me:$LINENO: checking for HILDON" >&5
20786 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
20788 if test -n "$PKG_CONFIG"; then
20789 if test -n "$HILDON_CFLAGS"; then
20790 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
20792 if test -n "$PKG_CONFIG" && \
20793 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 0.9.9 hildon-fm-2 wpeditor\"") >&5
20794 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor") 2>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; then
20798 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor" 2>/dev
/null
`
20806 if test -n "$PKG_CONFIG"; then
20807 if test -n "$HILDON_LIBS"; then
20808 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
20810 if test -n "$PKG_CONFIG" && \
20811 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 0.9.9 hildon-fm-2 wpeditor\"") >&5
20812 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor") 2>&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); }; then
20816 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor" 2>/dev
/null
`
20827 if test $pkg_failed = yes; then
20829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20830 _pkg_short_errors_supported=yes
20832 _pkg_short_errors_supported=no
20834 if test $_pkg_short_errors_supported = yes; then
20835 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor"`
20837 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor"`
20839 # Put the nasty error message in config.log where it belongs
20840 echo "$HILDON_PKG_ERRORS" >&5
20842 { { echo "$as_me:$LINENO: error: Package requirements (hildon-1 >= 0.9.9 hildon-fm-2 wpeditor) were not met:
20846 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20847 installed software in a non-standard prefix.
20849 Alternatively, you may set the environment variables HILDON_CFLAGS
20850 and HILDON_LIBS to avoid the need to call pkg-config.
20851 See the pkg-config man page for more details.
20853 echo "$as_me: error: Package requirements (hildon-1 >= 0.9.9 hildon-fm-2 wpeditor) were not met:
20857 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20858 installed software in a non-standard prefix.
20860 Alternatively, you may set the environment variables HILDON_CFLAGS
20861 and HILDON_LIBS to avoid the need to call pkg-config.
20862 See the pkg-config man page for more details.
20864 { (exit 1); exit 1; }; }
20865 elif test $pkg_failed = untried; then
20866 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20867 is in your PATH or set the PKG_CONFIG environment variable to the full
20868 path to pkg-config.
20870 Alternatively, you may set the environment variables HILDON_CFLAGS
20871 and HILDON_LIBS to avoid the need to call pkg-config.
20872 See the pkg-config man page for more details.
20874 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20875 See \`config.log
' for more details." >&5
20876 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20877 is in your PATH or set the PKG_CONFIG environment variable to the full
20878 path to pkg-config.
20880 Alternatively, you may set the environment variables HILDON_CFLAGS
20881 and HILDON_LIBS to avoid the need to call pkg-config.
20882 See the pkg-config man page for more details.
20884 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20885 See \`config.log' for more details.
" >&2;}
20886 { (exit 1); exit 1; }; }
20888 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
20889 HILDON_LIBS=$pkg_cv_HILDON_LIBS
20890 { echo "$as_me:$LINENO: result
: yes" >&5
20891 echo "${ECHO_T}yes" >&6; }
20897 # Only used for the .service file path
20900 { echo "$as_me:$LINENO: checking
for DBUS
" >&5
20901 echo $ECHO_N "checking
for DBUS...
$ECHO_C" >&6; }
20903 if test -n "$PKG_CONFIG"; then
20904 if test -n "$DBUS_CFLAGS"; then
20905 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
20907 if test -n "$PKG_CONFIG" && \
20908 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"dbus-glib-1
>= 0.23.4\"") >&5
20909 ($PKG_CONFIG --exists --print-errors "dbus-glib-1
>= 0.23.4") 2>&5
20911 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20912 (exit $ac_status); }; then
20913 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1
>= 0.23.4" 2>/dev/null`
20921 if test -n "$PKG_CONFIG"; then
20922 if test -n "$DBUS_LIBS"; then
20923 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
20925 if test -n "$PKG_CONFIG" && \
20926 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"dbus-glib-1
>= 0.23.4\"") >&5
20927 ($PKG_CONFIG --exists --print-errors "dbus-glib-1
>= 0.23.4") 2>&5
20929 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20930 (exit $ac_status); }; then
20931 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1
>= 0.23.4" 2>/dev/null`
20942 if test $pkg_failed = yes; then
20944 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20945 _pkg_short_errors_supported=yes
20947 _pkg_short_errors_supported=no
20949 if test $_pkg_short_errors_supported = yes; then
20950 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1
>= 0.23.4"`
20952 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1
>= 0.23.4"`
20954 # Put the nasty error message in config.log where it belongs
20955 echo "$DBUS_PKG_ERRORS" >&5
20957 { { echo "$as_me:$LINENO: error
: Package requirements
(dbus-glib-1
>= 0.23.4) were not met
:
20961 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
20962 installed software
in a non-standard prefix.
20964 Alternatively
, you may
set the environment variables DBUS_CFLAGS
20965 and DBUS_LIBS to avoid the need to call pkg-config.
20966 See the pkg-config man page
for more details.
20968 echo "$as_me: error
: Package requirements
(dbus-glib-1
>= 0.23.4) were not met
:
20972 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
20973 installed software
in a non-standard prefix.
20975 Alternatively
, you may
set the environment variables DBUS_CFLAGS
20976 and DBUS_LIBS to avoid the need to call pkg-config.
20977 See the pkg-config man page
for more details.
20979 { (exit 1); exit 1; }; }
20980 elif test $pkg_failed = untried; then
20981 { { echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
20982 is
in your PATH or
set the PKG_CONFIG environment variable to the full
20983 path to pkg-config.
20985 Alternatively
, you may
set the environment variables DBUS_CFLAGS
20986 and DBUS_LIBS to avoid the need to call pkg-config.
20987 See the pkg-config man page
for more details.
20989 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
20990 See \
`config.log' for more details." >&5
20991 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20992 is in your PATH or set the PKG_CONFIG environment variable to the full
20993 path to pkg-config.
20995 Alternatively, you may set the environment variables DBUS_CFLAGS
20996 and DBUS_LIBS to avoid the need to call pkg-config.
20997 See the pkg-config man page for more details.
20999 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21000 See \`config.log
' for more details." >&2;}
21001 { (exit 1); exit 1; }; }
21003 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
21004 DBUS_LIBS=$pkg_cv_DBUS_LIBS
21005 { echo "$as_me:$LINENO: result: yes" >&5
21006 echo "${ECHO_T}yes" >&6; }
21010 # OSSO application framework dependencies
21013 { echo "$as_me:$LINENO: checking for OSSO" >&5
21014 echo $ECHO_N "checking for OSSO... $ECHO_C" >&6; }
21016 if test -n "$PKG_CONFIG"; then
21017 if test -n "$OSSO_CFLAGS"; then
21018 pkg_cv_OSSO_CFLAGS="$OSSO_CFLAGS"
21020 if test -n "$PKG_CONFIG" && \
21021 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11\"") >&5
21022 ($PKG_CONFIG --exists --print-errors "libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11") 2>&5
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); }; then
21026 pkg_cv_OSSO_CFLAGS=`$PKG_CONFIG --cflags "libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11" 2>/dev/null`
21034 if test -n "$PKG_CONFIG"; then
21035 if test -n "$OSSO_LIBS"; then
21036 pkg_cv_OSSO_LIBS="$OSSO_LIBS"
21038 if test -n "$PKG_CONFIG" && \
21039 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11\"") >&5
21040 ($PKG_CONFIG --exists --print-errors "libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11") 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; then
21044 pkg_cv_OSSO_LIBS=`$PKG_CONFIG --libs "libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11" 2>/dev/null`
21055 if test $pkg_failed = yes; then
21057 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21058 _pkg_short_errors_supported=yes
21060 _pkg_short_errors_supported=no
21062 if test $_pkg_short_errors_supported = yes; then
21063 OSSO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11"`
21065 OSSO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11"`
21067 # Put the nasty error message in config.log where it belongs
21068 echo "$OSSO_PKG_ERRORS" >&5
21070 { { echo "$as_me:$LINENO: error: Package requirements (libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11) were not met:
21074 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21075 installed software in a non-standard prefix.
21077 Alternatively, you may set the environment variables OSSO_CFLAGS
21078 and OSSO_LIBS to avoid the need to call pkg-config.
21079 See the pkg-config man page for more details.
21081 echo "$as_me: error: Package requirements (libosso >= 0.9.17 gnome-vfs-2.0 >= 2.8.4.11 gnome-vfs-module-2.0 >= 2.8.4.11) were not met:
21085 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21086 installed software in a non-standard prefix.
21088 Alternatively, you may set the environment variables OSSO_CFLAGS
21089 and OSSO_LIBS to avoid the need to call pkg-config.
21090 See the pkg-config man page for more details.
21092 { (exit 1); exit 1; }; }
21093 elif test $pkg_failed = untried; then
21094 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21095 is in your PATH or set the PKG_CONFIG environment variable to the full
21096 path to pkg-config.
21098 Alternatively, you may set the environment variables OSSO_CFLAGS
21099 and OSSO_LIBS to avoid the need to call pkg-config.
21100 See the pkg-config man page for more details.
21102 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21103 See \`config.log' for more details.
" >&5
21104 echo "$as_me: error
: The pkg-config
script could not be found or is too old. Make sure it
21105 is
in your PATH or
set the PKG_CONFIG environment variable to the full
21106 path to pkg-config.
21108 Alternatively
, you may
set the environment variables OSSO_CFLAGS
21109 and OSSO_LIBS to avoid the need to call pkg-config.
21110 See the pkg-config man page
for more details.
21112 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
21113 See \
`config.log' for more details." >&2;}
21114 { (exit 1); exit 1; }; }
21116 OSSO_CFLAGS=$pkg_cv_OSSO_CFLAGS
21117 OSSO_LIBS=$pkg_cv_OSSO_LIBS
21118 { echo "$as_me:$LINENO: result: yes" >&5
21119 echo "${ECHO_T}yes" >&6; }
21126 #PKG_CHECK_MODULES(XML2, libxml-2.0 >= 2.6.0)
21127 #AC_SUBST(XML2_LIBS)
21128 #AC_SUBST(XML2_CFLAGS)
21133 { echo "$as_me:$LINENO: checking for SQL3" >&5
21134 echo $ECHO_N "checking for SQL3... $ECHO_C" >&6; }
21136 if test -n "$PKG_CONFIG"; then
21137 if test -n "$SQL3_CFLAGS"; then
21138 pkg_cv_SQL3_CFLAGS="$SQL3_CFLAGS"
21140 if test -n "$PKG_CONFIG" && \
21141 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.0\"") >&5
21142 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.0") 2>&5
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); }; then
21146 pkg_cv_SQL3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= 3.0" 2>/dev
/null
`
21154 if test -n "$PKG_CONFIG"; then
21155 if test -n "$SQL3_LIBS"; then
21156 pkg_cv_SQL3_LIBS="$SQL3_LIBS"
21158 if test -n "$PKG_CONFIG" && \
21159 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.0\"") >&5
21160 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.0") 2>&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; then
21164 pkg_cv_SQL3_LIBS=`$PKG_CONFIG --libs "sqlite3 >= 3.0" 2>/dev
/null
`
21175 if test $pkg_failed = yes; then
21177 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21178 _pkg_short_errors_supported=yes
21180 _pkg_short_errors_supported=no
21182 if test $_pkg_short_errors_supported = yes; then
21183 SQL3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3 >= 3.0"`
21185 SQL3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3 >= 3.0"`
21187 # Put the nasty error message in config.log where it belongs
21188 echo "$SQL3_PKG_ERRORS" >&5
21190 { { echo "$as_me:$LINENO: error: Package requirements (sqlite3 >= 3.0) were not met:
21194 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21195 installed software in a non-standard prefix.
21197 Alternatively, you may set the environment variables SQL3_CFLAGS
21198 and SQL3_LIBS to avoid the need to call pkg-config.
21199 See the pkg-config man page for more details.
21201 echo "$as_me: error: Package requirements (sqlite3 >= 3.0) were not met:
21205 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21206 installed software in a non-standard prefix.
21208 Alternatively, you may set the environment variables SQL3_CFLAGS
21209 and SQL3_LIBS to avoid the need to call pkg-config.
21210 See the pkg-config man page for more details.
21212 { (exit 1); exit 1; }; }
21213 elif test $pkg_failed = untried; then
21214 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21215 is in your PATH or set the PKG_CONFIG environment variable to the full
21216 path to pkg-config.
21218 Alternatively, you may set the environment variables SQL3_CFLAGS
21219 and SQL3_LIBS to avoid the need to call pkg-config.
21220 See the pkg-config man page for more details.
21222 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21223 See \`config.log
' for more details." >&5
21224 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21225 is in your PATH or set the PKG_CONFIG environment variable to the full
21226 path to pkg-config.
21228 Alternatively, you may set the environment variables SQL3_CFLAGS
21229 and SQL3_LIBS to avoid the need to call pkg-config.
21230 See the pkg-config man page for more details.
21232 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21233 See \`config.log' for more details.
" >&2;}
21234 { (exit 1); exit 1; }; }
21236 SQL3_CFLAGS=$pkg_cv_SQL3_CFLAGS
21237 SQL3_LIBS=$pkg_cv_SQL3_LIBS
21238 { echo "$as_me:$LINENO: result
: yes" >&5
21239 echo "${ECHO_T}yes" >&6; }
21246 GETTEXT_PACKAGE=$PACKAGE
21249 cat >>confdefs.h <<_ACEOF
21250 #define GETTEXT_PACKAGE "${GETTEXT_PACKAGE}"
21253 ALL_LINGUAS="en_GB fi_FI de_DE
"
21256 for ac_header in locale.h
21258 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
21259 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21260 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21261 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21262 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21263 echo $ECHO_N "(cached
) $ECHO_C" >&6
21265 ac_res=`eval echo '${'$as_ac_Header'}'`
21266 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21267 echo "${ECHO_T}$ac_res" >&6; }
21269 # Is the header compilable?
21270 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
21271 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
21272 cat >conftest.$ac_ext <<_ACEOF
21275 cat confdefs.h >>conftest.$ac_ext
21276 cat >>conftest.$ac_ext <<_ACEOF
21277 /* end confdefs.h. */
21278 $ac_includes_default
21279 #include <$ac_header>
21281 rm -f conftest.$ac_objext
21282 if { (ac_try="$ac_compile"
21283 case "(($ac_try" in
21284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21285 *) ac_try_echo=$ac_try;;
21287 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21288 (eval "$ac_compile") 2>conftest.er1
21290 grep -v '^ *+' conftest.er1 >conftest.err
21292 cat conftest.err >&5
21293 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21294 (exit $ac_status); } && {
21295 test -z "$ac_c_werror_flag" ||
21296 test ! -s conftest.err
21297 } && test -s conftest.$ac_objext; then
21298 ac_header_compiler=yes
21300 echo "$as_me: failed program was
:" >&5
21301 sed 's/^/| /' conftest.$ac_ext >&5
21303 ac_header_compiler=no
21306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21307 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21308 echo "${ECHO_T}$ac_header_compiler" >&6; }
21310 # Is the header present?
21311 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
21312 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
21313 cat >conftest.$ac_ext <<_ACEOF
21316 cat confdefs.h >>conftest.$ac_ext
21317 cat >>conftest.$ac_ext <<_ACEOF
21318 /* end confdefs.h. */
21319 #include <$ac_header>
21321 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21322 case "(($ac_try" in
21323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21324 *) ac_try_echo=$ac_try;;
21326 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21327 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21329 grep -v '^ *+' conftest.er1 >conftest.err
21331 cat conftest.err >&5
21332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21333 (exit $ac_status); } >/dev/null && {
21334 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21335 test ! -s conftest.err
21337 ac_header_preproc=yes
21339 echo "$as_me: failed program was
:" >&5
21340 sed 's/^/| /' conftest.$ac_ext >&5
21342 ac_header_preproc=no
21345 rm -f conftest.err conftest.$ac_ext
21346 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21347 echo "${ECHO_T}$ac_header_preproc" >&6; }
21349 # So? What about this header?
21350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21352 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
21353 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21354 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
21355 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
21356 ac_header_preproc=yes
21359 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
21360 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
21361 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
21362 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
21363 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
21364 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
21365 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
21366 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
21367 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
21368 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
21369 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
21370 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
21374 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
21375 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
21376 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21377 echo $ECHO_N "(cached
) $ECHO_C" >&6
21379 eval "$as_ac_Header=\
$ac_header_preproc"
21381 ac_res=`eval echo '${'$as_ac_Header'}'`
21382 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21383 echo "${ECHO_T}$ac_res" >&6; }
21386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21387 cat >>confdefs.h <<_ACEOF
21388 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
21395 if test $ac_cv_header_locale_h = yes; then
21396 { echo "$as_me:$LINENO: checking
for LC_MESSAGES
" >&5
21397 echo $ECHO_N "checking
for LC_MESSAGES...
$ECHO_C" >&6; }
21398 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
21399 echo $ECHO_N "(cached
) $ECHO_C" >&6
21401 cat >conftest.$ac_ext <<_ACEOF
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 #include <locale.h>
21416 rm -f conftest.$ac_objext conftest$ac_exeext
21417 if { (ac_try="$ac_link"
21418 case "(($ac_try" in
21419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21420 *) ac_try_echo=$ac_try;;
21422 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21423 (eval "$ac_link") 2>conftest.er1
21425 grep -v '^ *+' conftest.er1 >conftest.err
21427 cat conftest.err >&5
21428 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21429 (exit $ac_status); } && {
21430 test -z "$ac_c_werror_flag" ||
21431 test ! -s conftest.err
21432 } && test -s conftest$ac_exeext &&
21433 $as_test_x conftest$ac_exeext; then
21434 am_cv_val_LC_MESSAGES=yes
21436 echo "$as_me: failed program was
:" >&5
21437 sed 's/^/| /' conftest.$ac_ext >&5
21439 am_cv_val_LC_MESSAGES=no
21442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21443 conftest$ac_exeext conftest.$ac_ext
21445 { echo "$as_me:$LINENO: result
: $am_cv_val_LC_MESSAGES" >&5
21446 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
21447 if test $am_cv_val_LC_MESSAGES = yes; then
21449 cat >>confdefs.h <<\_ACEOF
21450 #define HAVE_LC_MESSAGES 1
21458 gt_cv_have_gettext=no
21464 if test "${ac_cv_header_libintl_h+set}" = set; then
21465 { echo "$as_me:$LINENO: checking
for libintl.h
" >&5
21466 echo $ECHO_N "checking
for libintl.h...
$ECHO_C" >&6; }
21467 if test "${ac_cv_header_libintl_h+set}" = set; then
21468 echo $ECHO_N "(cached
) $ECHO_C" >&6
21470 { echo "$as_me:$LINENO: result
: $ac_cv_header_libintl_h" >&5
21471 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21473 # Is the header compilable?
21474 { echo "$as_me:$LINENO: checking libintl.h usability
" >&5
21475 echo $ECHO_N "checking libintl.h usability...
$ECHO_C" >&6; }
21476 cat >conftest.$ac_ext <<_ACEOF
21479 cat confdefs.h >>conftest.$ac_ext
21480 cat >>conftest.$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21482 $ac_includes_default
21483 #include <libintl.h>
21485 rm -f conftest.$ac_objext
21486 if { (ac_try="$ac_compile"
21487 case "(($ac_try" in
21488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21489 *) ac_try_echo=$ac_try;;
21491 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21492 (eval "$ac_compile") 2>conftest.er1
21494 grep -v '^ *+' conftest.er1 >conftest.err
21496 cat conftest.err >&5
21497 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21498 (exit $ac_status); } && {
21499 test -z "$ac_c_werror_flag" ||
21500 test ! -s conftest.err
21501 } && test -s conftest.$ac_objext; then
21502 ac_header_compiler=yes
21504 echo "$as_me: failed program was
:" >&5
21505 sed 's/^/| /' conftest.$ac_ext >&5
21507 ac_header_compiler=no
21510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21511 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21512 echo "${ECHO_T}$ac_header_compiler" >&6; }
21514 # Is the header present?
21515 { echo "$as_me:$LINENO: checking libintl.h presence
" >&5
21516 echo $ECHO_N "checking libintl.h presence...
$ECHO_C" >&6; }
21517 cat >conftest.$ac_ext <<_ACEOF
21520 cat confdefs.h >>conftest.$ac_ext
21521 cat >>conftest.$ac_ext <<_ACEOF
21522 /* end confdefs.h. */
21523 #include <libintl.h>
21525 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21526 case "(($ac_try" in
21527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21528 *) ac_try_echo=$ac_try;;
21530 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21531 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21533 grep -v '^ *+' conftest.er1 >conftest.err
21535 cat conftest.err >&5
21536 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21537 (exit $ac_status); } >/dev/null && {
21538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21539 test ! -s conftest.err
21541 ac_header_preproc=yes
21543 echo "$as_me: failed program was
:" >&5
21544 sed 's/^/| /' conftest.$ac_ext >&5
21546 ac_header_preproc=no
21549 rm -f conftest.err conftest.$ac_ext
21550 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21551 echo "${ECHO_T}$ac_header_preproc" >&6; }
21553 # So? What about this header?
21554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21556 { echo "$as_me:$LINENO: WARNING
: libintl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21557 echo "$as_me: WARNING
: libintl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21558 { echo "$as_me:$LINENO: WARNING
: libintl.h
: proceeding with the compiler
's result" >&5
21559 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result
" >&2;}
21560 ac_header_preproc=yes
21563 { echo "$as_me:$LINENO: WARNING
: libintl.h
: present but cannot be compiled
" >&5
21564 echo "$as_me: WARNING
: libintl.h
: present but cannot be compiled
" >&2;}
21565 { echo "$as_me:$LINENO: WARNING
: libintl.h
: check
for missing prerequisite headers?
" >&5
21566 echo "$as_me: WARNING
: libintl.h
: check
for missing prerequisite headers?
" >&2;}
21567 { echo "$as_me:$LINENO: WARNING
: libintl.h
: see the Autoconf documentation
" >&5
21568 echo "$as_me: WARNING
: libintl.h
: see the Autoconf documentation
" >&2;}
21569 { echo "$as_me:$LINENO: WARNING
: libintl.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21570 echo "$as_me: WARNING
: libintl.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21571 { echo "$as_me:$LINENO: WARNING
: libintl.h
: proceeding with the preprocessor
's result" >&5
21572 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result
" >&2;}
21573 { echo "$as_me:$LINENO: WARNING
: libintl.h
: in the future
, the compiler will take precedence
" >&5
21574 echo "$as_me: WARNING
: libintl.h
: in the future
, the compiler will take precedence
" >&2;}
21578 { echo "$as_me:$LINENO: checking
for libintl.h
" >&5
21579 echo $ECHO_N "checking
for libintl.h...
$ECHO_C" >&6; }
21580 if test "${ac_cv_header_libintl_h+set}" = set; then
21581 echo $ECHO_N "(cached
) $ECHO_C" >&6
21583 ac_cv_header_libintl_h=$ac_header_preproc
21585 { echo "$as_me:$LINENO: result
: $ac_cv_header_libintl_h" >&5
21586 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21589 if test $ac_cv_header_libintl_h = yes; then
21590 gt_cv_func_dgettext_libintl="no
"
21591 libintl_extra_libs=""
21594 # First check in libc
21596 { echo "$as_me:$LINENO: checking
for ngettext
in libc
" >&5
21597 echo $ECHO_N "checking
for ngettext
in libc...
$ECHO_C" >&6; }
21598 if test "${gt_cv_func_ngettext_libc+set}" = set; then
21599 echo $ECHO_N "(cached
) $ECHO_C" >&6
21601 cat >conftest.$ac_ext <<_ACEOF
21604 cat confdefs.h >>conftest.$ac_ext
21605 cat >>conftest.$ac_ext <<_ACEOF
21606 /* end confdefs.h. */
21608 #include <libintl.h>
21613 return !ngettext ("","", 1)
21618 rm -f conftest.$ac_objext conftest$ac_exeext
21619 if { (ac_try="$ac_link"
21620 case "(($ac_try" in
21621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21622 *) ac_try_echo=$ac_try;;
21624 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21625 (eval "$ac_link") 2>conftest.er1
21627 grep -v '^ *+' conftest.er1 >conftest.err
21629 cat conftest.err >&5
21630 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21631 (exit $ac_status); } && {
21632 test -z "$ac_c_werror_flag" ||
21633 test ! -s conftest.err
21634 } && test -s conftest$ac_exeext &&
21635 $as_test_x conftest$ac_exeext; then
21636 gt_cv_func_ngettext_libc=yes
21638 echo "$as_me: failed program was
:" >&5
21639 sed 's/^/| /' conftest.$ac_ext >&5
21641 gt_cv_func_ngettext_libc=no
21644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21645 conftest$ac_exeext conftest.$ac_ext
21648 { echo "$as_me:$LINENO: result
: $gt_cv_func_ngettext_libc" >&5
21649 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
21651 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21652 { echo "$as_me:$LINENO: checking
for dgettext
in libc
" >&5
21653 echo $ECHO_N "checking
for dgettext
in libc...
$ECHO_C" >&6; }
21654 if test "${gt_cv_func_dgettext_libc+set}" = set; then
21655 echo $ECHO_N "(cached
) $ECHO_C" >&6
21657 cat >conftest.$ac_ext <<_ACEOF
21660 cat confdefs.h >>conftest.$ac_ext
21661 cat >>conftest.$ac_ext <<_ACEOF
21662 /* end confdefs.h. */
21664 #include <libintl.h>
21669 return !dgettext ("","")
21674 rm -f conftest.$ac_objext conftest$ac_exeext
21675 if { (ac_try="$ac_link"
21676 case "(($ac_try" in
21677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21678 *) ac_try_echo=$ac_try;;
21680 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21681 (eval "$ac_link") 2>conftest.er1
21683 grep -v '^ *+' conftest.er1 >conftest.err
21685 cat conftest.err >&5
21686 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21687 (exit $ac_status); } && {
21688 test -z "$ac_c_werror_flag" ||
21689 test ! -s conftest.err
21690 } && test -s conftest$ac_exeext &&
21691 $as_test_x conftest$ac_exeext; then
21692 gt_cv_func_dgettext_libc=yes
21694 echo "$as_me: failed program was
:" >&5
21695 sed 's/^/| /' conftest.$ac_ext >&5
21697 gt_cv_func_dgettext_libc=no
21700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21701 conftest$ac_exeext conftest.$ac_ext
21704 { echo "$as_me:$LINENO: result
: $gt_cv_func_dgettext_libc" >&5
21705 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
21708 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21710 for ac_func in bind_textdomain_codeset
21712 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21713 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
21714 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
21715 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21716 echo $ECHO_N "(cached
) $ECHO_C" >&6
21718 cat >conftest.$ac_ext <<_ACEOF
21721 cat confdefs.h >>conftest.$ac_ext
21722 cat >>conftest.$ac_ext <<_ACEOF
21723 /* end confdefs.h. */
21724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21726 #define $ac_func innocuous_$ac_func
21728 /* System header to define __stub macros and hopefully few prototypes,
21729 which can conflict with char $ac_func (); below.
21730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21731 <limits.h> exists even on freestanding compilers. */
21734 # include <limits.h>
21736 # include <assert.h>
21741 /* Override any GCC internal prototype to avoid an error.
21742 Use char because int might match the return type of a GCC
21743 builtin and then its argument prototype would still apply. */
21748 /* The GNU C library defines this for functions which it implements
21749 to always fail with ENOSYS. Some functions are actually named
21750 something starting with __ and the normal name is an alias. */
21751 #if defined __stub_$ac_func || defined __stub___$ac_func
21758 return $ac_func ();
21763 rm -f conftest.$ac_objext conftest$ac_exeext
21764 if { (ac_try="$ac_link"
21765 case "(($ac_try" in
21766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21767 *) ac_try_echo=$ac_try;;
21769 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21770 (eval "$ac_link") 2>conftest.er1
21772 grep -v '^ *+' conftest.er1 >conftest.err
21774 cat conftest.err >&5
21775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21776 (exit $ac_status); } && {
21777 test -z "$ac_c_werror_flag" ||
21778 test ! -s conftest.err
21779 } && test -s conftest$ac_exeext &&
21780 $as_test_x conftest$ac_exeext; then
21781 eval "$as_ac_var=yes"
21783 echo "$as_me: failed program was
:" >&5
21784 sed 's/^/| /' conftest.$ac_ext >&5
21786 eval "$as_ac_var=no
"
21789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21790 conftest$ac_exeext conftest.$ac_ext
21792 ac_res=`eval echo '${'$as_ac_var'}'`
21793 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21794 echo "${ECHO_T}$ac_res" >&6; }
21795 if test `eval echo '${'$as_ac_var'}'` = yes; then
21796 cat >>confdefs.h <<_ACEOF
21797 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21806 # If we don't have everything we want, check in libintl
21808 if test "$gt_cv_func_dgettext_libc" != "yes" \
21809 || test "$gt_cv_func_ngettext_libc" != "yes" \
21810 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
21812 { echo "$as_me:$LINENO: checking
for bindtextdomain
in -lintl" >&5
21813 echo $ECHO_N "checking
for bindtextdomain
in -lintl...
$ECHO_C" >&6; }
21814 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
21815 echo $ECHO_N "(cached
) $ECHO_C" >&6
21817 ac_check_lib_save_LIBS=$LIBS
21818 LIBS="-lintl $LIBS"
21819 cat >conftest.$ac_ext <<_ACEOF
21822 cat confdefs.h >>conftest.$ac_ext
21823 cat >>conftest.$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21826 /* Override any GCC internal prototype to avoid an error.
21827 Use char because int might match the return type of a GCC
21828 builtin and then its argument prototype would still apply. */
21832 char bindtextdomain ();
21836 return bindtextdomain ();
21841 rm -f conftest.$ac_objext conftest$ac_exeext
21842 if { (ac_try="$ac_link"
21843 case "(($ac_try" in
21844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21845 *) ac_try_echo=$ac_try;;
21847 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21848 (eval "$ac_link") 2>conftest.er1
21850 grep -v '^ *+' conftest.er1 >conftest.err
21852 cat conftest.err >&5
21853 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21854 (exit $ac_status); } && {
21855 test -z "$ac_c_werror_flag" ||
21856 test ! -s conftest.err
21857 } && test -s conftest$ac_exeext &&
21858 $as_test_x conftest$ac_exeext; then
21859 ac_cv_lib_intl_bindtextdomain=yes
21861 echo "$as_me: failed program was
:" >&5
21862 sed 's/^/| /' conftest.$ac_ext >&5
21864 ac_cv_lib_intl_bindtextdomain=no
21867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21868 conftest$ac_exeext conftest.$ac_ext
21869 LIBS=$ac_check_lib_save_LIBS
21871 { echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_bindtextdomain" >&5
21872 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
21873 if test $ac_cv_lib_intl_bindtextdomain = yes; then
21874 { echo "$as_me:$LINENO: checking
for ngettext
in -lintl" >&5
21875 echo $ECHO_N "checking
for ngettext
in -lintl...
$ECHO_C" >&6; }
21876 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21877 echo $ECHO_N "(cached
) $ECHO_C" >&6
21879 ac_check_lib_save_LIBS=$LIBS
21880 LIBS="-lintl $LIBS"
21881 cat >conftest.$ac_ext <<_ACEOF
21884 cat confdefs.h >>conftest.$ac_ext
21885 cat >>conftest.$ac_ext <<_ACEOF
21886 /* end confdefs.h. */
21888 /* Override any GCC internal prototype to avoid an error.
21889 Use char because int might match the return type of a GCC
21890 builtin and then its argument prototype would still apply. */
21898 return ngettext ();
21903 rm -f conftest.$ac_objext conftest$ac_exeext
21904 if { (ac_try="$ac_link"
21905 case "(($ac_try" in
21906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21907 *) ac_try_echo=$ac_try;;
21909 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21910 (eval "$ac_link") 2>conftest.er1
21912 grep -v '^ *+' conftest.er1 >conftest.err
21914 cat conftest.err >&5
21915 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21916 (exit $ac_status); } && {
21917 test -z "$ac_c_werror_flag" ||
21918 test ! -s conftest.err
21919 } && test -s conftest$ac_exeext &&
21920 $as_test_x conftest$ac_exeext; then
21921 ac_cv_lib_intl_ngettext=yes
21923 echo "$as_me: failed program was
:" >&5
21924 sed 's/^/| /' conftest.$ac_ext >&5
21926 ac_cv_lib_intl_ngettext=no
21929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21930 conftest$ac_exeext conftest.$ac_ext
21931 LIBS=$ac_check_lib_save_LIBS
21933 { echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_ngettext" >&5
21934 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
21935 if test $ac_cv_lib_intl_ngettext = yes; then
21936 { echo "$as_me:$LINENO: checking
for dgettext
in -lintl" >&5
21937 echo $ECHO_N "checking
for dgettext
in -lintl...
$ECHO_C" >&6; }
21938 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
21939 echo $ECHO_N "(cached
) $ECHO_C" >&6
21941 ac_check_lib_save_LIBS=$LIBS
21942 LIBS="-lintl $LIBS"
21943 cat >conftest.$ac_ext <<_ACEOF
21946 cat confdefs.h >>conftest.$ac_ext
21947 cat >>conftest.$ac_ext <<_ACEOF
21948 /* end confdefs.h. */
21950 /* Override any GCC internal prototype to avoid an error.
21951 Use char because int might match the return type of a GCC
21952 builtin and then its argument prototype would still apply. */
21960 return dgettext ();
21965 rm -f conftest.$ac_objext conftest$ac_exeext
21966 if { (ac_try="$ac_link"
21967 case "(($ac_try" in
21968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21969 *) ac_try_echo=$ac_try;;
21971 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21972 (eval "$ac_link") 2>conftest.er1
21974 grep -v '^ *+' conftest.er1 >conftest.err
21976 cat conftest.err >&5
21977 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21978 (exit $ac_status); } && {
21979 test -z "$ac_c_werror_flag" ||
21980 test ! -s conftest.err
21981 } && test -s conftest$ac_exeext &&
21982 $as_test_x conftest$ac_exeext; then
21983 ac_cv_lib_intl_dgettext=yes
21985 echo "$as_me: failed program was
:" >&5
21986 sed 's/^/| /' conftest.$ac_ext >&5
21988 ac_cv_lib_intl_dgettext=no
21991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21992 conftest$ac_exeext conftest.$ac_ext
21993 LIBS=$ac_check_lib_save_LIBS
21995 { echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_dgettext" >&5
21996 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
21997 if test $ac_cv_lib_intl_dgettext = yes; then
21998 gt_cv_func_dgettext_libintl=yes
22006 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
22007 { echo "$as_me:$LINENO: checking
if -liconv is needed to use
gettext" >&5
22008 echo $ECHO_N "checking
if -liconv is needed to use
gettext...
$ECHO_C" >&6; }
22009 { echo "$as_me:$LINENO: result
: " >&5
22010 echo "${ECHO_T}" >&6; }
22011 { echo "$as_me:$LINENO: checking
for ngettext
in -lintl" >&5
22012 echo $ECHO_N "checking
for ngettext
in -lintl...
$ECHO_C" >&6; }
22013 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
22014 echo $ECHO_N "(cached
) $ECHO_C" >&6
22016 ac_check_lib_save_LIBS=$LIBS
22017 LIBS="-lintl -liconv $LIBS"
22018 cat >conftest.$ac_ext <<_ACEOF
22021 cat confdefs.h >>conftest.$ac_ext
22022 cat >>conftest.$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22025 /* Override any GCC internal prototype to avoid an error.
22026 Use char because int might match the return type of a GCC
22027 builtin and then its argument prototype would still apply. */
22035 return ngettext ();
22040 rm -f conftest.$ac_objext conftest$ac_exeext
22041 if { (ac_try="$ac_link"
22042 case "(($ac_try" in
22043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22044 *) ac_try_echo=$ac_try;;
22046 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22047 (eval "$ac_link") 2>conftest.er1
22049 grep -v '^ *+' conftest.er1 >conftest.err
22051 cat conftest.err >&5
22052 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22053 (exit $ac_status); } && {
22054 test -z "$ac_c_werror_flag" ||
22055 test ! -s conftest.err
22056 } && test -s conftest$ac_exeext &&
22057 $as_test_x conftest$ac_exeext; then
22058 ac_cv_lib_intl_ngettext=yes
22060 echo "$as_me: failed program was
:" >&5
22061 sed 's/^/| /' conftest.$ac_ext >&5
22063 ac_cv_lib_intl_ngettext=no
22066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22067 conftest$ac_exeext conftest.$ac_ext
22068 LIBS=$ac_check_lib_save_LIBS
22070 { echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_ngettext" >&5
22071 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
22072 if test $ac_cv_lib_intl_ngettext = yes; then
22073 { echo "$as_me:$LINENO: checking
for dcgettext
in -lintl" >&5
22074 echo $ECHO_N "checking
for dcgettext
in -lintl...
$ECHO_C" >&6; }
22075 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
22076 echo $ECHO_N "(cached
) $ECHO_C" >&6
22078 ac_check_lib_save_LIBS=$LIBS
22079 LIBS="-lintl -liconv $LIBS"
22080 cat >conftest.$ac_ext <<_ACEOF
22083 cat confdefs.h >>conftest.$ac_ext
22084 cat >>conftest.$ac_ext <<_ACEOF
22085 /* end confdefs.h. */
22087 /* Override any GCC internal prototype to avoid an error.
22088 Use char because int might match the return type of a GCC
22089 builtin and then its argument prototype would still apply. */
22097 return dcgettext ();
22102 rm -f conftest.$ac_objext conftest$ac_exeext
22103 if { (ac_try="$ac_link"
22104 case "(($ac_try" in
22105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22106 *) ac_try_echo=$ac_try;;
22108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22109 (eval "$ac_link") 2>conftest.er1
22111 grep -v '^ *+' conftest.er1 >conftest.err
22113 cat conftest.err >&5
22114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22115 (exit $ac_status); } && {
22116 test -z "$ac_c_werror_flag" ||
22117 test ! -s conftest.err
22118 } && test -s conftest$ac_exeext &&
22119 $as_test_x conftest$ac_exeext; then
22120 ac_cv_lib_intl_dcgettext=yes
22122 echo "$as_me: failed program was
:" >&5
22123 sed 's/^/| /' conftest.$ac_ext >&5
22125 ac_cv_lib_intl_dcgettext=no
22128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22129 conftest$ac_exeext conftest.$ac_ext
22130 LIBS=$ac_check_lib_save_LIBS
22132 { echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_dcgettext" >&5
22133 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
22134 if test $ac_cv_lib_intl_dcgettext = yes; then
22135 gt_cv_func_dgettext_libintl=yes
22136 libintl_extra_libs=-liconv
22148 # If we found libintl, then check in it for bind_textdomain_codeset();
22149 # we'll prefer libc if neither have bind_textdomain_codeset(),
22150 # and both have dgettext and ngettext
22152 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
22153 glib_save_LIBS="$LIBS"
22154 LIBS="$LIBS -lintl $libintl_extra_libs"
22155 unset ac_cv_func_bind_textdomain_codeset
22157 for ac_func in bind_textdomain_codeset
22159 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
22160 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
22161 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
22162 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
22163 echo $ECHO_N "(cached
) $ECHO_C" >&6
22165 cat >conftest.$ac_ext <<_ACEOF
22168 cat confdefs.h >>conftest.$ac_ext
22169 cat >>conftest.$ac_ext <<_ACEOF
22170 /* end confdefs.h. */
22171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22173 #define $ac_func innocuous_$ac_func
22175 /* System header to define __stub macros and hopefully few prototypes,
22176 which can conflict with char $ac_func (); below.
22177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22178 <limits.h> exists even on freestanding compilers. */
22181 # include <limits.h>
22183 # include <assert.h>
22188 /* Override any GCC internal prototype to avoid an error.
22189 Use char because int might match the return type of a GCC
22190 builtin and then its argument prototype would still apply. */
22195 /* The GNU C library defines this for functions which it implements
22196 to always fail with ENOSYS. Some functions are actually named
22197 something starting with __ and the normal name is an alias. */
22198 #if defined __stub_$ac_func || defined __stub___$ac_func
22205 return $ac_func ();
22210 rm -f conftest.$ac_objext conftest$ac_exeext
22211 if { (ac_try="$ac_link"
22212 case "(($ac_try" in
22213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22214 *) ac_try_echo=$ac_try;;
22216 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22217 (eval "$ac_link") 2>conftest.er1
22219 grep -v '^ *+' conftest.er1 >conftest.err
22221 cat conftest.err >&5
22222 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22223 (exit $ac_status); } && {
22224 test -z "$ac_c_werror_flag" ||
22225 test ! -s conftest.err
22226 } && test -s conftest$ac_exeext &&
22227 $as_test_x conftest$ac_exeext; then
22228 eval "$as_ac_var=yes"
22230 echo "$as_me: failed program was
:" >&5
22231 sed 's/^/| /' conftest.$ac_ext >&5
22233 eval "$as_ac_var=no
"
22236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22237 conftest$ac_exeext conftest.$ac_ext
22239 ac_res=`eval echo '${'$as_ac_var'}'`
22240 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22241 echo "${ECHO_T}$ac_res" >&6; }
22242 if test `eval echo '${'$as_ac_var'}'` = yes; then
22243 cat >>confdefs.h <<_ACEOF
22244 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
22250 LIBS="$glib_save_LIBS"
22252 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
22253 gt_cv_func_dgettext_libc=no
22255 if test "$gt_cv_func_dgettext_libc" = "yes" \
22256 && test "$gt_cv_func_ngettext_libc" = "yes"; then
22257 gt_cv_func_dgettext_libintl=no
22263 if test "$gt_cv_func_dgettext_libc" = "yes" \
22264 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
22265 gt_cv_have_gettext=yes
22268 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
22269 INTLLIBS="-lintl $libintl_extra_libs"
22272 if test "$gt_cv_have_gettext" = "yes"; then
22274 cat >>confdefs.h <<\_ACEOF
22275 #define HAVE_GETTEXT 1
22278 # Extract the first word of "msgfmt
", so it can be a program name with args.
22279 set dummy msgfmt; ac_word=$2
22280 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
22281 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
22282 if test "${ac_cv_path_MSGFMT+set}" = set; then
22283 echo $ECHO_N "(cached
) $ECHO_C" >&6
22287 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22290 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22291 for ac_dir in $PATH; do
22292 test -z "$ac_dir" && ac_dir=.
22293 if test -f $ac_dir/$ac_word; then
22294 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
22295 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
22301 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no
"
22305 MSGFMT="$ac_cv_path_MSGFMT"
22306 if test "$MSGFMT" != "no
"; then
22307 { echo "$as_me:$LINENO: result
: $MSGFMT" >&5
22308 echo "${ECHO_T}$MSGFMT" >&6; }
22310 { echo "$as_me:$LINENO: result
: no
" >&5
22311 echo "${ECHO_T}no
" >&6; }
22313 if test "$MSGFMT" != "no
"; then
22314 glib_save_LIBS="$LIBS"
22315 LIBS="$LIBS $INTLLIBS"
22317 for ac_func in dcgettext
22319 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
22320 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
22321 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
22322 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
22323 echo $ECHO_N "(cached
) $ECHO_C" >&6
22325 cat >conftest.$ac_ext <<_ACEOF
22328 cat confdefs.h >>conftest.$ac_ext
22329 cat >>conftest.$ac_ext <<_ACEOF
22330 /* end confdefs.h. */
22331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22333 #define $ac_func innocuous_$ac_func
22335 /* System header to define __stub macros and hopefully few prototypes,
22336 which can conflict with char $ac_func (); below.
22337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22338 <limits.h> exists even on freestanding compilers. */
22341 # include <limits.h>
22343 # include <assert.h>
22348 /* Override any GCC internal prototype to avoid an error.
22349 Use char because int might match the return type of a GCC
22350 builtin and then its argument prototype would still apply. */
22355 /* The GNU C library defines this for functions which it implements
22356 to always fail with ENOSYS. Some functions are actually named
22357 something starting with __ and the normal name is an alias. */
22358 #if defined __stub_$ac_func || defined __stub___$ac_func
22365 return $ac_func ();
22370 rm -f conftest.$ac_objext conftest$ac_exeext
22371 if { (ac_try="$ac_link"
22372 case "(($ac_try" in
22373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22374 *) ac_try_echo=$ac_try;;
22376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22377 (eval "$ac_link") 2>conftest.er1
22379 grep -v '^ *+' conftest.er1 >conftest.err
22381 cat conftest.err >&5
22382 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22383 (exit $ac_status); } && {
22384 test -z "$ac_c_werror_flag" ||
22385 test ! -s conftest.err
22386 } && test -s conftest$ac_exeext &&
22387 $as_test_x conftest$ac_exeext; then
22388 eval "$as_ac_var=yes"
22390 echo "$as_me: failed program was
:" >&5
22391 sed 's/^/| /' conftest.$ac_ext >&5
22393 eval "$as_ac_var=no
"
22396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22397 conftest$ac_exeext conftest.$ac_ext
22399 ac_res=`eval echo '${'$as_ac_var'}'`
22400 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22401 echo "${ECHO_T}$ac_res" >&6; }
22402 if test `eval echo '${'$as_ac_var'}'` = yes; then
22403 cat >>confdefs.h <<_ACEOF
22404 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
22411 { echo "$as_me:$LINENO: checking
if msgfmt accepts
-c" >&5
22412 echo $ECHO_N "checking
if msgfmt accepts
-c...
$ECHO_C" >&6; }
22413 cat >conftest.foo <<_ACEOF
22417 "Content-Type
: text
/plain
; charset
=UTF-8
\n"
22418 "Project-Id-Version
: test 1.0\n"
22419 "PO-Revision-Date
: 2007-02-15 12:01+0100\n"
22420 "Last-Translator
: test <foo@bar.xx
>\n"
22421 "Language-Team
: C
<LL@li.org
>\n"
22422 "MIME-Version
: 1.0\n"
22423 "Content-Transfer-Encoding
: 8bit
\n"
22426 if { (echo "$as_me:$LINENO: \
$MSGFMT -c -o /dev
/null conftest.foo
") >&5
22427 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
22429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22430 (exit $ac_status); }; then
22431 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result
: yes" >&5
22432 echo "${ECHO_T}yes" >&6; }
22433 else { echo "$as_me:$LINENO: result
: no
" >&5
22434 echo "${ECHO_T}no
" >&6; }
22435 echo "$as_me: failed input was
:" >&5
22436 sed 's/^/| /' conftest.foo >&5
22439 # Extract the first word of "gmsgfmt
", so it can be a program name with args.
22440 set dummy gmsgfmt; ac_word=$2
22441 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
22442 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
22443 if test "${ac_cv_path_GMSGFMT+set}" = set; then
22444 echo $ECHO_N "(cached
) $ECHO_C" >&6
22448 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22452 for as_dir in $PATH
22455 test -z "$as_dir" && as_dir=.
22456 for ac_exec_ext in '' $ac_executable_extensions; do
22457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22458 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22459 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
22466 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22470 GMSGFMT=$ac_cv_path_GMSGFMT
22471 if test -n "$GMSGFMT"; then
22472 { echo "$as_me:$LINENO: result
: $GMSGFMT" >&5
22473 echo "${ECHO_T}$GMSGFMT" >&6; }
22475 { echo "$as_me:$LINENO: result
: no
" >&5
22476 echo "${ECHO_T}no
" >&6; }
22480 # Extract the first word of "xgettext
", so it can be a program name with args.
22481 set dummy xgettext; ac_word=$2
22482 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
22483 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
22484 if test "${ac_cv_path_XGETTEXT+set}" = set; then
22485 echo $ECHO_N "(cached
) $ECHO_C" >&6
22487 case "$XGETTEXT" in
22489 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22492 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22493 for ac_dir in $PATH; do
22494 test -z "$ac_dir" && ac_dir=.
22495 if test -f $ac_dir/$ac_word; then
22496 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22497 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22503 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22507 XGETTEXT="$ac_cv_path_XGETTEXT"
22508 if test "$XGETTEXT" != ":"; then
22509 { echo "$as_me:$LINENO: result
: $XGETTEXT" >&5
22510 echo "${ECHO_T}$XGETTEXT" >&6; }
22512 { echo "$as_me:$LINENO: result
: no
" >&5
22513 echo "${ECHO_T}no
" >&6; }
22516 cat >conftest.$ac_ext <<_ACEOF
22519 cat confdefs.h >>conftest.$ac_ext
22520 cat >>conftest.$ac_ext <<_ACEOF
22521 /* end confdefs.h. */
22526 extern int _nl_msg_cat_cntr;
22527 return _nl_msg_cat_cntr
22532 rm -f conftest.$ac_objext conftest$ac_exeext
22533 if { (ac_try="$ac_link"
22534 case "(($ac_try" in
22535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22536 *) ac_try_echo=$ac_try;;
22538 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22539 (eval "$ac_link") 2>conftest.er1
22541 grep -v '^ *+' conftest.er1 >conftest.err
22543 cat conftest.err >&5
22544 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22545 (exit $ac_status); } && {
22546 test -z "$ac_c_werror_flag" ||
22547 test ! -s conftest.err
22548 } && test -s conftest$ac_exeext &&
22549 $as_test_x conftest$ac_exeext; then
22553 echo "$as_me: failed program was
:" >&5
22554 sed 's/^/| /' conftest.$ac_ext >&5
22558 { echo "$as_me:$LINENO: checking
for bind_textdomain_codeset
" >&5
22559 echo $ECHO_N "checking
for bind_textdomain_codeset...
$ECHO_C" >&6; }
22560 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
22561 echo $ECHO_N "(cached
) $ECHO_C" >&6
22563 cat >conftest.$ac_ext <<_ACEOF
22566 cat confdefs.h >>conftest.$ac_ext
22567 cat >>conftest.$ac_ext <<_ACEOF
22568 /* end confdefs.h. */
22569 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
22570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22571 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
22573 /* System header to define __stub macros and hopefully few prototypes,
22574 which can conflict with char bind_textdomain_codeset (); below.
22575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22576 <limits.h> exists even on freestanding compilers. */
22579 # include <limits.h>
22581 # include <assert.h>
22584 #undef bind_textdomain_codeset
22586 /* Override any GCC internal prototype to avoid an error.
22587 Use char because int might match the return type of a GCC
22588 builtin and then its argument prototype would still apply. */
22592 char bind_textdomain_codeset ();
22593 /* The GNU C library defines this for functions which it implements
22594 to always fail with ENOSYS. Some functions are actually named
22595 something starting with __ and the normal name is an alias. */
22596 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
22603 return bind_textdomain_codeset ();
22608 rm -f conftest.$ac_objext conftest$ac_exeext
22609 if { (ac_try="$ac_link"
22610 case "(($ac_try" in
22611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22612 *) ac_try_echo=$ac_try;;
22614 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22615 (eval "$ac_link") 2>conftest.er1
22617 grep -v '^ *+' conftest.er1 >conftest.err
22619 cat conftest.err >&5
22620 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22621 (exit $ac_status); } && {
22622 test -z "$ac_c_werror_flag" ||
22623 test ! -s conftest.err
22624 } && test -s conftest$ac_exeext &&
22625 $as_test_x conftest$ac_exeext; then
22626 ac_cv_func_bind_textdomain_codeset=yes
22628 echo "$as_me: failed program was
:" >&5
22629 sed 's/^/| /' conftest.$ac_ext >&5
22631 ac_cv_func_bind_textdomain_codeset=no
22634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22635 conftest$ac_exeext conftest.$ac_ext
22637 { echo "$as_me:$LINENO: result
: $ac_cv_func_bind_textdomain_codeset" >&5
22638 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
22639 if test $ac_cv_func_bind_textdomain_codeset = yes; then
22655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22656 conftest$ac_exeext conftest.$ac_ext
22657 LIBS="$glib_save_LIBS"
22660 gt_cv_have_gettext=no
22668 if test "$gt_cv_have_gettext" = "yes" ; then
22670 cat >>confdefs.h <<\_ACEOF
22671 #define ENABLE_NLS 1
22676 if test "$XGETTEXT" != ":"; then
22677 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22680 { echo "$as_me:$LINENO: result
: found xgettext program is not GNU xgettext
; ignore it
" >&5
22681 echo "${ECHO_T}found xgettext program is not GNU xgettext
; ignore it
" >&6; }
22686 # We need to process the po/ directory.
22689 ac_config_commands="$ac_config_commands default-1
"
22692 for lang in $ALL_LINGUAS; do
22693 GMOFILES="$GMOFILES $lang.gmo
"
22694 POFILES="$POFILES $lang.po
"
22709 if test "$gt_cv_have_gettext" = "yes"; then
22710 if test "x
$ALL_LINGUAS" = "x
"; then
22713 { echo "$as_me:$LINENO: checking
for catalogs to be installed
" >&5
22714 echo $ECHO_N "checking
for catalogs to be installed...
$ECHO_C" >&6; }
22716 for presentlang in $ALL_LINGUAS; do
22718 if test "%UNSET
%" != "${LINGUAS-%UNSET%}"; then
22719 desiredlanguages="$LINGUAS"
22721 desiredlanguages="$ALL_LINGUAS"
22723 for desiredlang in $desiredlanguages; do
22724 # Use the presentlang catalog if desiredlang is
22725 # a. equal to presentlang, or
22726 # b. a variant of presentlang (because in this case,
22727 # presentlang can be used as a fallback for messages
22728 # which are not translated in the desiredlang catalog).
22729 case "$desiredlang" in
22730 "$presentlang"*) useit=yes;;
22733 if test $useit = yes; then
22734 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
22737 LINGUAS=$NEW_LINGUAS
22738 { echo "$as_me:$LINENO: result
: $LINGUAS" >&5
22739 echo "${ECHO_T}$LINGUAS" >&6; }
22742 if test -n "$LINGUAS"; then
22743 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
22748 if test -n "$ac_aux_dir"; then
22749 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs
"
22751 if test -z "$MKINSTALLDIRS"; then
22752 MKINSTALLDIRS="\$
(top_srcdir
)/mkinstalldirs
"
22756 test -d po || mkdir po
22757 if test "x
$srcdir" != "x.
"; then
22758 if test "x
`echo $srcdir | sed 's@/.*@@'`" = "x
"; then
22759 posrcprefix="$srcdir/"
22761 posrcprefix="..
/$srcdir/"
22767 sed -e "/^
#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
22768 < $srcdir/po
/POTFILES.
in > po
/POTFILES
22771 # To make application visible in maemo Task Navigator it needs a Desktop
22772 # file for the application.
22773 # D-BUS service file is needed to be able to launch the maemo application
22774 # and connect it to D-BUS services.
22775 # The following line defines install directories for these files.
22776 desktopentrydir
=/usr
/share
/applications
/hildon
22777 serviceentrydir
=/usr
/share
/dbus-
1/services
22779 # Application locale install directory
22780 localedir
=/usr
/share
/locale
22782 # Application pixmaps install directory
22783 pixmapdir
=/usr
/share
/pixmaps
/$PACKAGE
22785 # Application icon install directories
22786 icon_26x26dir
=$datadir/icons
/hicolor
/26x26
/hildon
22787 icon_34x34dir
=$datadir/icons
/hicolor
/34x34
/hildon
22788 icon_40x40dir
=$datadir/icons
/hicolor
/40x40
/hildon
22789 icon_50x50dir
=$datadir/icons
/hicolor
/50x50
/hildon
22790 icon_scalabledir
=$datadir/icons
/hicolor
/scalable
/hildon
22792 # Hildon control panel plugin install directories
22793 pluginlibdir
=`$PKG_CONFIG hildon-control-panel --variable=plugindir`
22794 plugindesktopentrydir
=`$PKG_CONFIG hildon-control-panel --variable=plugindesktopentrydir`
22796 # Define as variables in Makefiles
22809 # Application Installer uses alternative root prefix /var/lib/install
22810 # where packages are installed. Build time and run time are different.
22811 # Define runtime paths to applications in config.h.
22812 #runtime_root=/var/lib/install
22813 #runtime_localedir=$runtime_root$localedir
22814 #runtime_pixmapdir=$runtime_root$pixmapdir
22817 cat >>confdefs.h
<<_ACEOF
22818 #define LOCALEDIR "${localedir}"
22822 cat >>confdefs.h
<<_ACEOF
22823 #define PIXMAPDIR "${pixmapdir}"
22827 # Produce output files
22828 ac_config_files
="$ac_config_files Makefile src/Makefile data/Makefile po/Makefile.in po/Makefile"
22830 cat >confcache
<<\_ACEOF
22831 # This file is a shell script that caches the results of configure
22832 # tests run on this system so they can be shared between configure
22833 # scripts and configure runs, see configure's option --config-cache.
22834 # It is not useful on other systems. If it contains results you don't
22835 # want to keep, you may remove or edit it.
22837 # config.status only pays attention to the cache file if you give it
22838 # the --recheck option to rerun configure.
22840 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22841 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22842 # following values.
22846 # The following way of writing the cache mishandles newlines in values,
22847 # but we know of no workaround that is simple, portable, and efficient.
22848 # So, we kill variables containing newlines.
22849 # Ultrix sh set writes to stderr and can't be redirected directly,
22850 # and sets the high bit in the cache file unless we assign to the vars.
22852 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22853 eval ac_val
=\$
$ac_var
22857 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22858 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22861 _ | IFS | as_nl
) ;; #(
22862 *) $as_unset $ac_var ;;
22868 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22869 *${as_nl}ac_space
=\
*)
22870 # `set' does not quote correctly, so add quotes (double-quote
22871 # substitution turns \\\\ into \\, and sed turns \\ into \).
22874 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22877 # `set' quotes correctly as required by POSIX, so do not add quotes.
22878 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22887 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22889 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22891 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22892 if test -w "$cache_file"; then
22893 test "x$cache_file" != "x/dev/null" &&
22894 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22895 echo "$as_me: updating cache $cache_file" >&6;}
22896 cat confcache
>$cache_file
22898 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22899 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22904 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22905 # Let make expand exec_prefix.
22906 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22908 DEFS
=-DHAVE_CONFIG_H
22912 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22913 # 1. Remove the extension, and $U if already installed.
22914 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22915 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22916 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22917 # will be set to the directory where LIBOBJS objects are built.
22918 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22919 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22921 LIBOBJS
=$ac_libobjs
22923 LTLIBOBJS
=$ac_ltlibobjs
22926 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22927 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22928 Usually this means the macro was only invoked conditionally." >&5
22929 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22930 Usually this means the macro was only invoked conditionally." >&2;}
22931 { (exit 1); exit 1; }; }
22933 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22934 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22935 Usually this means the macro was only invoked conditionally." >&5
22936 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22937 Usually this means the macro was only invoked conditionally." >&2;}
22938 { (exit 1); exit 1; }; }
22940 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22941 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22942 Usually this means the macro was only invoked conditionally." >&5
22943 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22944 Usually this means the macro was only invoked conditionally." >&2;}
22945 { (exit 1); exit 1; }; }
22948 ac_config_commands
="$ac_config_commands po/stamp-it"
22952 : ${CONFIG_STATUS=./config.status}
22953 ac_clean_files_save
=$ac_clean_files
22954 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22955 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22956 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22957 cat >$CONFIG_STATUS <<_ACEOF
22959 # Generated by $as_me.
22960 # Run this file to recreate the current configuration.
22961 # Compiler output produced by configure, useful for debugging
22962 # configure, is in config.log if it exists.
22965 ac_cs_recheck=false
22967 SHELL=\${CONFIG_SHELL-$SHELL}
22970 cat >>$CONFIG_STATUS <<\_ACEOF
22971 ## --------------------- ##
22972 ## M4sh Initialization. ##
22973 ## --------------------- ##
22975 # Be more Bourne compatible
22976 DUALCASE
=1; export DUALCASE
# for MKS sh
22977 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22980 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22981 # is contrary to our usage. Disable this feature.
22982 alias -g '${1+"$@"}'='"$@"'
22983 setopt NO_GLOB_SUBST
22985 case `(set -o) 2>/dev/null` in
22986 *posix
*) set -o posix
;;
22995 # Avoid depending upon Character Ranges.
22996 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22997 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22998 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22999 as_cr_digits
='0123456789'
23000 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23002 # The user is always right.
23003 if test "${PATH_SEPARATOR+set}" != set; then
23004 echo "#! /bin/sh" >conf$$.sh
23005 echo "exit 0" >>conf$$.sh
23007 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23015 # Support unset when possible.
23016 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23024 # We need space, tab and new line, in precisely that order. Quoting is
23025 # there to prevent editors from complaining about space-tab.
23026 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23027 # splitting by setting IFS to empty value.)
23032 # Find who we are. Look in the path if we contain no directory separator.
23034 *[\\/]* ) as_myself
=$0 ;;
23035 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23036 for as_dir
in $PATH
23039 test -z "$as_dir" && as_dir
=.
23040 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23046 # We did not find ourselves, most probably we were run as `sh COMMAND'
23047 # in which case we are not to be found in the path.
23048 if test "x$as_myself" = x
; then
23051 if test ! -f "$as_myself"; then
23052 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23053 { (exit 1); exit 1; }
23056 # Work around bugs in pre-3.0 UWIN ksh.
23057 for as_var
in ENV MAIL MAILPATH
23058 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23066 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23067 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23068 LC_TELEPHONE LC_TIME
23070 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23071 eval $as_var=C
; export $as_var
23073 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23077 # Required to use basename.
23078 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23079 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23085 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23086 as_basename
=basename
23092 # Name of the executable.
23093 as_me
=`$as_basename -- "$0" ||
23094 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23095 X"$0" : 'X\(//\)$' \| \
23096 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23098 sed '/^.*\/\([^/][^/]*\)\/*$/{
23117 as_lineno_1
=$LINENO
23118 as_lineno_2
=$LINENO
23119 test "x$as_lineno_1" != "x$as_lineno_2" &&
23120 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
23122 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23123 # uniformly replaced by the line number. The first 'sed' inserts a
23124 # line-number line after each line using $LINENO; the second 'sed'
23125 # does the real work. The second script uses 'N' to pair each
23126 # line-number line with the line containing $LINENO, and appends
23127 # trailing '-' during substitution so that $LINENO is not a special
23128 # case at line end.
23129 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23130 # scripts with optimization help from Paolo Bonzini. Blame Lee
23131 # E. McMahon (1931-1989) for sed's syntax. :-)
23143 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23146 ' >$as_me.lineno
&&
23147 chmod +x
"$as_me.lineno" ||
23148 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23149 { (exit 1); exit 1; }; }
23151 # Don't try to exec as it changes $[0], causing all sort of problems
23152 # (the dirname of $[0] is not the place where we might find the
23153 # original and so on. Autoconf is especially sensitive to this).
23154 .
"./$as_me.lineno"
23155 # Exit status is that of the last command.
23160 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23166 ECHO_C
= ECHO_N
= ECHO_T
=
23167 case `echo -n x` in
23169 case `echo 'x\c'` in
23170 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23177 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23178 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23184 rm -f conf$$ conf$$.exe conf$$.
file
23185 if test -d conf$$.dir
; then
23186 rm -f conf$$.dir
/conf$$.
file
23192 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23194 # ... but there are two gotchas:
23195 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23196 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23197 # In both cases, we have to default to `cp -p'.
23198 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23200 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23205 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23206 rmdir conf$$.dir
2>/dev
/null
23208 if mkdir
-p .
2>/dev
/null
; then
23211 test -d .
/-p && rmdir .
/-p
23215 if test -x / >/dev
/null
2>&1; then
23216 as_test_x
='test -x'
23218 if ls -dL / >/dev
/null
2>&1; then
23225 if test -d "$1"; then
23231 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23232 ???[sx]*):;;*)false;;esac;fi
23236 as_executable_p
=$as_test_x
23238 # Sed expression to map a string onto a valid CPP name.
23239 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23241 # Sed expression to map a string onto a valid variable name.
23242 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23247 # Save the log message, to keep $[0] and so on meaningful, and to
23248 # report actual input values of CONFIG_FILES etc. instead of their
23249 # values after options handling.
23251 This file was extended by $as_me, which was
23252 generated by GNU Autoconf 2.61. Invocation command line was
23254 CONFIG_FILES = $CONFIG_FILES
23255 CONFIG_HEADERS = $CONFIG_HEADERS
23256 CONFIG_LINKS = $CONFIG_LINKS
23257 CONFIG_COMMANDS = $CONFIG_COMMANDS
23260 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23265 cat >>$CONFIG_STATUS <<_ACEOF
23266 # Files that config.status was made for.
23267 config_files="$ac_config_files"
23268 config_headers="$ac_config_headers"
23269 config_commands="$ac_config_commands"
23273 cat >>$CONFIG_STATUS <<\_ACEOF
23275 \`$as_me' instantiates files from templates according to the
23276 current configuration.
23278 Usage: $0 [OPTIONS] [FILE]...
23280 -h, --help print this help, then exit
23281 -V, --version print version number and configuration settings, then exit
23282 -q, --quiet do not print progress messages
23283 -d, --debug don't remove temporary files
23284 --recheck update $as_me by reconfiguring in the same conditions
23285 --file=FILE[:TEMPLATE]
23286 instantiate the configuration file FILE
23287 --header=FILE[:TEMPLATE]
23288 instantiate the configuration header FILE
23290 Configuration files:
23293 Configuration headers:
23296 Configuration commands:
23299 Report bugs to <bug-autoconf@gnu.org>."
23302 cat >>$CONFIG_STATUS <<_ACEOF
23305 configured by $0, generated by GNU Autoconf 2.61,
23306 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23308 Copyright (C) 2006 Free Software Foundation, Inc.
23309 This config.status script is free software; the Free Software Foundation
23310 gives unlimited permission to copy, distribute and modify it."
23317 cat >>$CONFIG_STATUS <<\_ACEOF
23318 # If no file are specified by the user, then we need to provide default
23319 # value. By we need to know if files were specified by the user.
23325 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23326 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23337 # Handling of the options.
23338 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23340 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23341 echo "$ac_cs_version"; exit ;;
23342 --debug |
--debu |
--deb |
--de |
--d |
-d )
23344 --file |
--fil |
--fi |
--f )
23346 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23347 ac_need_defaults
=false
;;
23348 --header |
--heade |
--head |
--hea )
23350 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23351 ac_need_defaults
=false
;;
23353 # Conflict between --help and --header
23354 { echo "$as_me: error: ambiguous option: $1
23355 Try \`$0 --help' for more information." >&2
23356 { (exit 1); exit 1; }; };;
23357 --help |
--hel |
-h )
23358 echo "$ac_cs_usage"; exit ;;
23359 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23360 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23363 # This is an error.
23364 -*) { echo "$as_me: error: unrecognized option: $1
23365 Try \`$0 --help' for more information." >&2
23366 { (exit 1); exit 1; }; } ;;
23368 *) ac_config_targets
="$ac_config_targets $1"
23369 ac_need_defaults
=false
;;
23375 ac_configure_extra_args
=
23377 if $ac_cs_silent; then
23379 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23383 cat >>$CONFIG_STATUS <<_ACEOF
23384 if \$ac_cs_recheck; then
23385 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23386 CONFIG_SHELL=$SHELL
23387 export CONFIG_SHELL
23388 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23392 cat >>$CONFIG_STATUS <<\_ACEOF
23396 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23397 ## Running $as_me. ##
23403 cat >>$CONFIG_STATUS <<_ACEOF
23407 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23412 cat >>$CONFIG_STATUS <<\_ACEOF
23414 # Handling of arguments.
23415 for ac_config_target
in $ac_config_targets
23417 case $ac_config_target in
23418 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
23419 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23420 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
23421 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23422 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
23423 "data/Makefile") CONFIG_FILES
="$CONFIG_FILES data/Makefile" ;;
23424 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
23425 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
23426 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
23428 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23429 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23430 { (exit 1); exit 1; }; };;
23435 # If the user did not use the arguments to specify the items to instantiate,
23436 # then the envvar interface is used. Set only those that are not.
23437 # We use the long form for the default assignment because of an extremely
23438 # bizarre bug on SunOS 4.1.3.
23439 if $ac_need_defaults; then
23440 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23441 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23442 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23445 # Have a temporary directory for convenience. Make it in the build tree
23446 # simply because there is no reason against having it here, and in addition,
23447 # creating and moving files from /tmp can sometimes cause problems.
23448 # Hook for its removal unless debugging.
23449 # Note that there is a small window in which the directory will not be cleaned:
23450 # after its creation but before its name has been assigned to `$tmp'.
23454 trap 'exit_status=$?
23455 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23457 trap '{ (exit 1); exit 1; }' 1 2 13 15
23459 # Create a (secure) tmp directory for tmp files.
23462 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23463 test -n "$tmp" && test -d "$tmp"
23466 tmp
=.
/conf$$
-$RANDOM
23467 (umask 077 && mkdir
"$tmp")
23470 echo "$me: cannot create a temporary directory in ." >&2
23471 { (exit 1); exit 1; }
23475 # Set up the sed scripts for CONFIG_FILES section.
23478 # No need to generate the scripts if there are no CONFIG_FILES.
23479 # This happens for instance when ./config.status config.h
23480 if test -n "$CONFIG_FILES"; then
23487 for ac_last_try
in false false false false false
:; do
23488 cat >conf$
$subs.
sed <<_ACEOF
23489 SHELL!$SHELL$ac_delim
23490 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23491 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23492 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23493 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23494 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23495 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23496 exec_prefix!$exec_prefix$ac_delim
23497 prefix!$prefix$ac_delim
23498 program_transform_name!$program_transform_name$ac_delim
23499 bindir!$bindir$ac_delim
23500 sbindir!$sbindir$ac_delim
23501 libexecdir!$libexecdir$ac_delim
23502 datarootdir!$datarootdir$ac_delim
23503 datadir!$datadir$ac_delim
23504 sysconfdir!$sysconfdir$ac_delim
23505 sharedstatedir!$sharedstatedir$ac_delim
23506 localstatedir!$localstatedir$ac_delim
23507 includedir!$includedir$ac_delim
23508 oldincludedir!$oldincludedir$ac_delim
23509 docdir!$docdir$ac_delim
23510 infodir!$infodir$ac_delim
23511 htmldir!$htmldir$ac_delim
23512 dvidir!$dvidir$ac_delim
23513 pdfdir!$pdfdir$ac_delim
23514 psdir!$psdir$ac_delim
23515 libdir!$libdir$ac_delim
23516 localedir!$localedir$ac_delim
23517 mandir!$mandir$ac_delim
23518 DEFS!$DEFS$ac_delim
23519 ECHO_C!$ECHO_C$ac_delim
23520 ECHO_N!$ECHO_N$ac_delim
23521 ECHO_T!$ECHO_T$ac_delim
23522 LIBS!$LIBS$ac_delim
23523 build_alias!$build_alias$ac_delim
23524 host_alias!$host_alias$ac_delim
23525 target_alias!$target_alias$ac_delim
23526 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23527 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23528 INSTALL_DATA!$INSTALL_DATA$ac_delim
23529 CYGPATH_W!$CYGPATH_W$ac_delim
23530 PACKAGE!$PACKAGE$ac_delim
23531 VERSION!$VERSION$ac_delim
23532 ACLOCAL!$ACLOCAL$ac_delim
23533 AUTOCONF!$AUTOCONF$ac_delim
23534 AUTOMAKE!$AUTOMAKE$ac_delim
23535 AUTOHEADER!$AUTOHEADER$ac_delim
23536 MAKEINFO!$MAKEINFO$ac_delim
23537 AMTAR!$AMTAR$ac_delim
23538 install_sh!$install_sh$ac_delim
23539 STRIP!$STRIP$ac_delim
23540 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23542 SET_MAKE!$SET_MAKE$ac_delim
23543 am__leading_dot!$am__leading_dot$ac_delim
23544 build!$build$ac_delim
23545 build_cpu!$build_cpu$ac_delim
23546 build_vendor!$build_vendor$ac_delim
23547 build_os!$build_os$ac_delim
23548 host!$host$ac_delim
23549 host_cpu!$host_cpu$ac_delim
23550 host_vendor!$host_vendor$ac_delim
23551 host_os!$host_os$ac_delim
23553 CFLAGS!$CFLAGS$ac_delim
23554 LDFLAGS!$LDFLAGS$ac_delim
23555 CPPFLAGS!$CPPFLAGS$ac_delim
23556 ac_ct_CC!$ac_ct_CC$ac_delim
23557 EXEEXT!$EXEEXT$ac_delim
23558 OBJEXT!$OBJEXT$ac_delim
23559 DEPDIR!$DEPDIR$ac_delim
23560 am__include!$am__include$ac_delim
23561 am__quote!$am__quote$ac_delim
23562 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23563 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23564 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23565 CCDEPMODE!$CCDEPMODE$ac_delim
23566 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23567 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23569 RANLIB!$RANLIB$ac_delim
23571 GREP!$GREP$ac_delim
23572 EGREP!$EGREP$ac_delim
23573 LN_S!$LN_S$ac_delim
23574 ECHO!$ECHO$ac_delim
23576 DSYMUTIL!$DSYMUTIL$ac_delim
23577 NMEDIT!$NMEDIT$ac_delim
23579 CXXFLAGS!$CXXFLAGS$ac_delim
23580 ac_ct_CXX!$ac_ct_CXX$ac_delim
23581 CXXDEPMODE!$CXXDEPMODE$ac_delim
23582 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23583 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23584 CXXCPP!$CXXCPP$ac_delim
23588 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23590 elif $ac_last_try; then
23591 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23592 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23593 { (exit 1); exit 1; }; }
23595 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23599 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23600 if test -n "$ac_eof"; then
23601 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23602 ac_eof
=`expr $ac_eof + 1`
23605 cat >>$CONFIG_STATUS <<_ACEOF
23606 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23607 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23610 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23611 s/^/s,@/; s/!/@,|#_!!_#|/
23614 s/'"$ac_delim"'$/,g/; t
23616 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23617 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23618 rm -f conf$
$subs.
sed
23619 cat >>$CONFIG_STATUS <<_ACEOF
23625 for ac_last_try
in false false false false false
:; do
23626 cat >conf$
$subs.
sed <<_ACEOF
23627 FFLAGS!$FFLAGS$ac_delim
23628 ac_ct_F77!$ac_ct_F77$ac_delim
23629 LIBTOOL!$LIBTOOL$ac_delim
23630 USE_NLS!$USE_NLS$ac_delim
23631 INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
23632 INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
23633 INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
23634 INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
23635 INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
23636 INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
23637 INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
23638 INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
23639 INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
23640 INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
23641 INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
23642 INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
23643 INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
23644 INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
23645 INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
23646 INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
23647 INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
23648 INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
23649 INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
23650 INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
23651 INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
23652 INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
23653 XGETTEXT!$XGETTEXT$ac_delim
23654 MSGMERGE!$MSGMERGE$ac_delim
23655 MSGFMT!$MSGFMT$ac_delim
23656 GMSGFMT!$GMSGFMT$ac_delim
23657 INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
23658 ALL_LINGUAS!$ALL_LINGUAS$ac_delim
23659 DATADIRNAME!$DATADIRNAME$ac_delim
23660 PKG_CONFIG!$PKG_CONFIG$ac_delim
23661 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
23662 HILDON_LIBS!$HILDON_LIBS$ac_delim
23663 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
23664 DBUS_LIBS!$DBUS_LIBS$ac_delim
23665 OSSO_CFLAGS!$OSSO_CFLAGS$ac_delim
23666 OSSO_LIBS!$OSSO_LIBS$ac_delim
23667 SQL3_CFLAGS!$SQL3_CFLAGS$ac_delim
23668 SQL3_LIBS!$SQL3_LIBS$ac_delim
23669 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
23670 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
23671 CATALOGS!$CATALOGS$ac_delim
23672 CATOBJEXT!$CATOBJEXT$ac_delim
23673 GMOFILES!$GMOFILES$ac_delim
23674 INSTOBJEXT!$INSTOBJEXT$ac_delim
23675 INTLLIBS!$INTLLIBS$ac_delim
23676 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
23677 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
23678 POFILES!$POFILES$ac_delim
23679 POSUB!$POSUB$ac_delim
23680 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
23681 desktopentrydir!$desktopentrydir$ac_delim
23682 serviceentrydir!$serviceentrydir$ac_delim
23683 pixmapdir!$pixmapdir$ac_delim
23684 icon_26x26dir!$icon_26x26dir$ac_delim
23685 icon_34x34dir!$icon_34x34dir$ac_delim
23686 icon_40x40dir!$icon_40x40dir$ac_delim
23687 icon_50x50dir!$icon_50x50dir$ac_delim
23688 icon_scalabledir!$icon_scalabledir$ac_delim
23689 pluginlibdir!$pluginlibdir$ac_delim
23690 plugindesktopentrydir!$plugindesktopentrydir$ac_delim
23691 LIBOBJS!$LIBOBJS$ac_delim
23692 LTLIBOBJS!$LTLIBOBJS$ac_delim
23695 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
23697 elif $ac_last_try; then
23698 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23699 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23700 { (exit 1); exit 1; }; }
23702 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23706 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23707 if test -n "$ac_eof"; then
23708 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23709 ac_eof
=`expr $ac_eof + 1`
23712 cat >>$CONFIG_STATUS <<_ACEOF
23713 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23714 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23717 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23718 s/^/s,@/; s/!/@,|#_!!_#|/
23721 s/'"$ac_delim"'$/,g/; t
23723 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23724 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23725 rm -f conf$
$subs.
sed
23726 cat >>$CONFIG_STATUS <<_ACEOF
23733 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23734 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23735 # trailing colons and then remove the whole line if VPATH becomes empty
23736 # (actually we leave an empty line to preserve line numbers).
23737 if test "x$srcdir" = x.
; then
23738 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23739 s/:*\$(srcdir):*/:/
23740 s/:*\${srcdir}:*/:/
23742 s/^\([^=]*=[ ]*\):*/\1/
23748 cat >>$CONFIG_STATUS <<\_ACEOF
23749 fi # test -n "$CONFIG_FILES"
23752 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23755 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23757 case $ac_mode$ac_tag in
23759 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23760 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23761 { (exit 1); exit 1; }; };;
23762 :[FH
]-) ac_tag
=-:-;;
23763 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23780 -) ac_f
="$tmp/stdin";;
23781 *) # Look for the file first in the build tree, then in the source tree
23782 # (if the path is not absolute). The absolute path cannot be DOS-style,
23783 # because $ac_f cannot contain `:'.
23787 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23789 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23790 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23791 { (exit 1); exit 1; }; };;
23793 ac_file_inputs
="$ac_file_inputs $ac_f"
23796 # Let's still pretend it is `configure' which instantiates (i.e., don't
23797 # use $as_me), people would be surprised to read:
23798 # /* config.h. Generated by config.status. */
23799 configure_input
="Generated from "`IFS=:
23800 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23801 if test x
"$ac_file" != x-
; then
23802 configure_input
="$ac_file. $configure_input"
23803 { echo "$as_me:$LINENO: creating $ac_file" >&5
23804 echo "$as_me: creating $ac_file" >&6;}
23808 *:-:* |
*:-) cat >"$tmp/stdin";;
23813 ac_dir
=`$as_dirname -- "$ac_file" ||
23814 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23815 X"$ac_file" : 'X\(//\)[^/]' \| \
23816 X"$ac_file" : 'X\(//\)$' \| \
23817 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23823 /^X\(\/\/\)[^/].*/{
23838 -*) as_dir
=.
/$as_dir;;
23840 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23844 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23845 *) as_qdir
=$as_dir;;
23847 as_dirs
="'$as_qdir' $as_dirs"
23848 as_dir
=`$as_dirname -- "$as_dir" ||
23849 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23850 X"$as_dir" : 'X\(//\)[^/]' \| \
23851 X"$as_dir" : 'X\(//\)$' \| \
23852 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23854 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23858 /^X\(\/\/\)[^/].*/{
23871 test -d "$as_dir" && break
23873 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23874 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23875 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23876 { (exit 1); exit 1; }; }; }
23880 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23882 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23883 # A ".." for each directory in $ac_dir_suffix.
23884 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23885 case $ac_top_builddir_sub in
23886 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23887 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23890 ac_abs_top_builddir
=$ac_pwd
23891 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23892 # for backward compatibility:
23893 ac_top_builddir
=$ac_top_build_prefix
23896 .
) # We are building in place.
23898 ac_top_srcdir
=$ac_top_builddir_sub
23899 ac_abs_top_srcdir
=$ac_pwd ;;
23900 [\\/]* | ?
:[\\/]* ) # Absolute name.
23901 ac_srcdir
=$srcdir$ac_dir_suffix;
23902 ac_top_srcdir
=$srcdir
23903 ac_abs_top_srcdir
=$srcdir ;;
23904 *) # Relative name.
23905 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23906 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23907 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23909 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23919 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23920 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23924 cat >>$CONFIG_STATUS <<\_ACEOF
23925 # If the template does not know about datarootdir, expand it.
23926 # FIXME: This hack should be removed a few years after 2.60.
23927 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23929 case `sed -n '/datarootdir/ {
23938 ' $ac_file_inputs` in
23939 *datarootdir
*) ac_datarootdir_seen
=yes;;
23940 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23941 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23942 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23944 cat >>$CONFIG_STATUS <<_ACEOF
23945 ac_datarootdir_hack='
23946 s&@datadir@&$datadir&g
23947 s&@docdir@&$docdir&g
23948 s&@infodir@&$infodir&g
23949 s&@localedir@&$localedir&g
23950 s&@mandir@&$mandir&g
23951 s&\\\${datarootdir}&$datarootdir&g' ;;
23955 # Neutralize VPATH when `$srcdir' = `.'.
23956 # Shell code in configure.ac might set extrasub.
23957 # FIXME: do we really want to maintain this feature?
23958 cat >>$CONFIG_STATUS <<_ACEOF
23962 cat >>$CONFIG_STATUS <<\_ACEOF
23964 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23965 s
&@configure_input@
&$configure_input&;t t
23966 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23967 s
&@srcdir@
&$ac_srcdir&;t t
23968 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23969 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23970 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23971 s
&@builddir@
&$ac_builddir&;t t
23972 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23973 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23974 s
&@INSTALL@
&$ac_INSTALL&;t t
23975 $ac_datarootdir_hack
23976 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23978 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23979 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23980 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23981 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23982 which seems to be undefined. Please make sure it is defined." >&5
23983 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23984 which seems to be undefined. Please make sure it is defined." >&2;}
23988 -) cat "$tmp/out"; rm -f "$tmp/out";;
23989 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23998 # Transform confdefs.h into a sed script `conftest.defines', that
23999 # substitutes the proper values into config.h.in to produce config.h.
24000 rm -f conftest.defines conftest.
tail
24001 # First, append a space to every undef/define line, to ease matching.
24002 echo 's/$/ /' >conftest.defines
24003 # Then, protect against being on the right side of a sed subst, or in
24004 # an unquoted here document, in config.status. If some macros were
24005 # called several times there might be several #defines for the same
24006 # symbol, which is useless. But do not sort them, since the last
24007 # AC_DEFINE must be honored.
24008 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
24009 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24010 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24011 # PARAMS is the parameter list in the macro definition--in most cases, it's
24012 # just an empty string.
24013 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24014 ac_dB
='\\)[ (].*,\\1define\\2'
24022 s/^[ ]*#[ ]*define[ ][ ]*//
24027 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24028 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24029 ' >>conftest.defines
24031 # Remove the space that was appended to ease matching.
24032 # Then replace #undef with comments. This is necessary, for
24033 # example, in the case of _POSIX_SOURCE, which is predefined and required
24034 # on some systems where configure will not decide to define it.
24035 # (The regexp can be short, since the line contains either #define or #undef.)
24037 s,^[ #]*u.*,/* & */,' >>conftest.defines
24039 # Break up conftest.defines:
24040 ac_max_sed_lines
=50
24042 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24043 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24044 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24046 ac_in
='$ac_file_inputs'
24047 ac_out
='"$tmp/out1"'
24048 ac_nxt
='"$tmp/out2"'
24052 # Write a here document:
24053 cat >>$CONFIG_STATUS <<_ACEOF
24054 # First, check the format of the line:
24055 cat >"\$tmp/defines.sed" <<\\CEOF
24056 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24057 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24061 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
24063 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24064 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
24065 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
24066 grep . conftest.
tail >/dev
/null ||
break
24067 rm -f conftest.defines
24068 mv conftest.
tail conftest.defines
24070 rm -f conftest.defines conftest.
tail
24072 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24073 cat >>$CONFIG_STATUS <<\_ACEOF
24074 if test x
"$ac_file" != x-
; then
24075 echo "/* $configure_input */" >"$tmp/config.h"
24076 cat "$ac_result" >>"$tmp/config.h"
24077 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
24078 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24079 echo "$as_me: $ac_file is unchanged" >&6;}
24082 mv "$tmp/config.h" $ac_file
24085 echo "/* $configure_input */"
24089 # Compute $ac_file's index in $config_headers.
24091 for _am_header
in $config_headers :; do
24092 case $_am_header in
24093 $ac_file |
$ac_file:* )
24096 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24099 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
24100 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24101 X$ac_file : 'X\(//\)[^/]' \| \
24102 X$ac_file : 'X\(//\)$' \| \
24103 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
24105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24109 /^X\(\/\/\)[^/].*/{
24121 s/.*/./; q'`/stamp-h
$_am_stamp_count
24124 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24125 echo "$as_me: executing $ac_file commands" >&6;}
24130 case $ac_file$ac_mode in
24131 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
24132 # Strip MF so we end up with the name of the file.
24133 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24134 # Check whether this is an Automake generated Makefile or not.
24135 # We used to match only the files named `Makefile.in', but
24136 # some people rename them; so instead we look at the file content.
24137 # Grep'ing the first line is not enough: some people post-process
24138 # each Makefile.in and add a new line on top of each file to say so.
24139 # So let's grep whole file.
24140 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
24141 dirpart
=`$as_dirname -- "$mf" ||
24142 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24143 X"$mf" : 'X\(//\)[^/]' \| \
24144 X"$mf" : 'X\(//\)$' \| \
24145 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24151 /^X\(\/\/\)[^/].*/{
24167 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
24168 # Extract the definition of DEP_FILES from the Makefile without
24170 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
24171 test -z "$DEPDIR" && continue
24172 # When using ansi2knr, U may be empty or an underscore; expand it
24173 U
=`sed -n -e '/^U = / s///p' < "$mf"`
24174 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
24175 # We invoke sed twice because it is the simplest approach to
24176 # changing $(DEPDIR) to its actual value in the expansion.
24177 for file in `sed -n -e '
24178 /^DEP_FILES = .*\\\\$/ {
24187 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
24188 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24189 # Make sure the directory exists.
24190 test -f "$dirpart/$file" && continue
24191 fdir
=`$as_dirname -- "$file" ||
24192 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24193 X"$file" : 'X\(//\)[^/]' \| \
24194 X"$file" : 'X\(//\)$' \| \
24195 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24201 /^X\(\/\/\)[^/].*/{
24214 { as_dir
=$dirpart/$fdir
24216 -*) as_dir
=.
/$as_dir;;
24218 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24222 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24223 *) as_qdir
=$as_dir;;
24225 as_dirs
="'$as_qdir' $as_dirs"
24226 as_dir
=`$as_dirname -- "$as_dir" ||
24227 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24228 X"$as_dir" : 'X\(//\)[^/]' \| \
24229 X"$as_dir" : 'X\(//\)$' \| \
24230 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24236 /^X\(\/\/\)[^/].*/{
24249 test -d "$as_dir" && break
24251 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24252 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24253 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24254 { (exit 1); exit 1; }; }; }
24255 # echo "creating $dirpart/$file"
24256 echo '# dummy' > "$dirpart/$file"
24260 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
24261 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
24264 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" ; then
24265 { { echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
24266 echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
24267 { (exit 1); exit 1; }; }
24269 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
24274 '"s|^| $ac_top_srcdir/|" \
24275 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
24277 sed '/^POTFILES =/,/[^\\]$/ {
24281 ' "po/Makefile.in" >"po/Makefile"
24282 rm -f "po/Makefile.tmp"
24283 mv "po/stamp-it.tmp" "po/stamp-it"
24290 { (exit 0); exit 0; }
24292 chmod +x
$CONFIG_STATUS
24293 ac_clean_files
=$ac_clean_files_save
24296 # configure is writing to config.log, and then calls config.status.
24297 # config.status does its own redirection, appending to config.log.
24298 # Unfortunately, on DOS this fails, as config.log is still kept open
24299 # by configure, so config.status won't be able to write to it; its
24300 # output is simply discarded. So we exec the FD to /dev/null,
24301 # effectively closing config.log, so it can be properly (re)opened and
24302 # appended to by config.status. When coming back to configure, we
24303 # need to make the FD available again.
24304 if test "$no_create" != yes; then
24306 ac_config_status_args
=
24307 test "$silent" = yes &&
24308 ac_config_status_args
="$ac_config_status_args --quiet"
24310 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24312 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24313 # would make configure fail if this is the last instruction.
24314 $ac_cs_success ||
{ (exit 1); exit 1; }