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
871 INTLTOOL_DESKTOP_RULE
872 INTLTOOL_DIRECTORY_RULE
879 INTLTOOL_SOUNDLIST_RULE
884 INTLTOOL_XML_NOMERGE_RULE
886 INTLTOOL_SCHEMAS_RULE
888 INTLTOOL_SERVICE_RULE
927 plugindesktopentrydir
931 ac_precious_vars
='build_alias
957 # Initialize some variables set by options.
959 ac_init_version
=false
960 # The variables have the same names as the options, with
961 # dashes changed to underlines.
969 program_transform_name
=s
,x
,x
,
977 # Installation directory options.
978 # These are left unexpanded so users can "make install exec_prefix=/foo"
979 # and all the variables that are supposed to be based on exec_prefix
980 # by default will actually change.
981 # Use braces instead of parens because sh, perl, etc. also accept them.
982 # (The list follows the same order as the GNU Coding Standards.)
983 bindir
='${exec_prefix}/bin'
984 sbindir
='${exec_prefix}/sbin'
985 libexecdir
='${exec_prefix}/libexec'
986 datarootdir
='${prefix}/share'
987 datadir
='${datarootdir}'
988 sysconfdir
='${prefix}/etc'
989 sharedstatedir
='${prefix}/com'
990 localstatedir
='${prefix}/var'
991 includedir
='${prefix}/include'
992 oldincludedir
='/usr/include'
993 docdir
='${datarootdir}/doc/${PACKAGE}'
994 infodir
='${datarootdir}/info'
999 libdir
='${exec_prefix}/lib'
1000 localedir
='${datarootdir}/locale'
1001 mandir
='${datarootdir}/man'
1007 # If the previous option needs an argument, assign it.
1008 if test -n "$ac_prev"; then
1009 eval $ac_prev=\
$ac_option
1015 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1019 # Accept the important Cygnus configure options, so we can diagnose typos.
1021 case $ac_dashdash$ac_option in
1025 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1027 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1028 bindir
=$ac_optarg ;;
1030 -build |
--build |
--buil |
--bui |
--bu)
1031 ac_prev
=build_alias
;;
1032 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1033 build_alias
=$ac_optarg ;;
1035 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1036 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1037 ac_prev
=cache_file
;;
1038 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1039 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1040 cache_file
=$ac_optarg ;;
1042 --config-cache |
-C)
1043 cache_file
=config.cache
;;
1045 -datadir |
--datadir |
--datadi |
--datad)
1047 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1048 datadir
=$ac_optarg ;;
1050 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1051 |
--dataroo |
--dataro |
--datar)
1052 ac_prev
=datarootdir
;;
1053 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1054 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1055 datarootdir
=$ac_optarg ;;
1057 -disable-* |
--disable-*)
1058 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1061 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1062 { (exit 1); exit 1; }; }
1063 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1064 eval enable_
$ac_feature=no
;;
1066 -docdir |
--docdir |
--docdi |
--doc |
--do)
1068 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1069 docdir
=$ac_optarg ;;
1071 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1073 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1074 dvidir
=$ac_optarg ;;
1076 -enable-* |
--enable-*)
1077 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1080 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1081 { (exit 1); exit 1; }; }
1082 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1083 eval enable_
$ac_feature=\
$ac_optarg ;;
1085 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1086 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1087 |
--exec |
--exe |
--ex)
1088 ac_prev
=exec_prefix
;;
1089 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1090 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1091 |
--exec=* |
--exe=* |
--ex=*)
1092 exec_prefix
=$ac_optarg ;;
1094 -gas |
--gas |
--ga |
--g)
1095 # Obsolete; use --with-gas.
1098 -help |
--help |
--hel |
--he |
-h)
1099 ac_init_help
=long
;;
1100 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1101 ac_init_help
=recursive
;;
1102 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1103 ac_init_help
=short
;;
1105 -host |
--host |
--hos |
--ho)
1106 ac_prev
=host_alias
;;
1107 -host=* |
--host=* |
--hos=* |
--ho=*)
1108 host_alias
=$ac_optarg ;;
1110 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1112 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1114 htmldir
=$ac_optarg ;;
1116 -includedir |
--includedir |
--includedi |
--included |
--include \
1117 |
--includ |
--inclu |
--incl |
--inc)
1118 ac_prev
=includedir
;;
1119 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1120 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1121 includedir
=$ac_optarg ;;
1123 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1125 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1126 infodir
=$ac_optarg ;;
1128 -libdir |
--libdir |
--libdi |
--libd)
1130 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1131 libdir
=$ac_optarg ;;
1133 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1134 |
--libexe |
--libex |
--libe)
1135 ac_prev
=libexecdir
;;
1136 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1137 |
--libexe=* |
--libex=* |
--libe=*)
1138 libexecdir
=$ac_optarg ;;
1140 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1141 ac_prev
=localedir
;;
1142 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1143 localedir
=$ac_optarg ;;
1145 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1146 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1147 ac_prev
=localstatedir
;;
1148 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1149 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1150 localstatedir
=$ac_optarg ;;
1152 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1154 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1155 mandir
=$ac_optarg ;;
1157 -nfp |
--nfp |
--nf)
1158 # Obsolete; use --without-fp.
1161 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1162 |
--no-cr |
--no-c |
-n)
1165 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1166 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1169 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1170 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1171 |
--oldin |
--oldi |
--old |
--ol |
--o)
1172 ac_prev
=oldincludedir
;;
1173 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1174 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1175 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1176 oldincludedir
=$ac_optarg ;;
1178 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1180 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1181 prefix
=$ac_optarg ;;
1183 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1184 |
--program-pre |
--program-pr |
--program-p)
1185 ac_prev
=program_prefix
;;
1186 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1187 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1188 program_prefix
=$ac_optarg ;;
1190 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1191 |
--program-suf |
--program-su |
--program-s)
1192 ac_prev
=program_suffix
;;
1193 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1194 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1195 program_suffix
=$ac_optarg ;;
1197 -program-transform-name |
--program-transform-name \
1198 |
--program-transform-nam |
--program-transform-na \
1199 |
--program-transform-n |
--program-transform- \
1200 |
--program-transform |
--program-transfor \
1201 |
--program-transfo |
--program-transf \
1202 |
--program-trans |
--program-tran \
1203 |
--progr-tra |
--program-tr |
--program-t)
1204 ac_prev
=program_transform_name
;;
1205 -program-transform-name=* |
--program-transform-name=* \
1206 |
--program-transform-nam=* |
--program-transform-na=* \
1207 |
--program-transform-n=* |
--program-transform-=* \
1208 |
--program-transform=* |
--program-transfor=* \
1209 |
--program-transfo=* |
--program-transf=* \
1210 |
--program-trans=* |
--program-tran=* \
1211 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1212 program_transform_name
=$ac_optarg ;;
1214 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1216 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1217 pdfdir
=$ac_optarg ;;
1219 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1221 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1224 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1225 |
-silent |
--silent |
--silen |
--sile |
--sil)
1228 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1230 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1232 sbindir
=$ac_optarg ;;
1234 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1235 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1236 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1238 ac_prev
=sharedstatedir
;;
1239 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1240 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1241 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1243 sharedstatedir
=$ac_optarg ;;
1245 -site |
--site |
--sit)
1247 -site=* |
--site=* |
--sit=*)
1250 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1252 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1253 srcdir
=$ac_optarg ;;
1255 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1256 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1257 ac_prev
=sysconfdir
;;
1258 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1259 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1260 sysconfdir
=$ac_optarg ;;
1262 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1263 ac_prev
=target_alias
;;
1264 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1265 target_alias
=$ac_optarg ;;
1267 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1270 -version |
--version |
--versio |
--versi |
--vers |
-V)
1271 ac_init_version
=: ;;
1274 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1275 # Reject names that are not valid shell variable names.
1276 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1277 { echo "$as_me: error: invalid package name: $ac_package" >&2
1278 { (exit 1); exit 1; }; }
1279 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1280 eval with_
$ac_package=\
$ac_optarg ;;
1282 -without-* |
--without-*)
1283 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1284 # Reject names that are not valid shell variable names.
1285 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1286 { echo "$as_me: error: invalid package name: $ac_package" >&2
1287 { (exit 1); exit 1; }; }
1288 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1289 eval with_
$ac_package=no
;;
1292 # Obsolete; use --with-x.
1295 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1296 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1297 ac_prev
=x_includes
;;
1298 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1299 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1300 x_includes
=$ac_optarg ;;
1302 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1303 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1304 ac_prev
=x_libraries
;;
1305 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1306 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1307 x_libraries
=$ac_optarg ;;
1309 -*) { echo "$as_me: error: unrecognized option: $ac_option
1310 Try \`$0 --help' for more information." >&2
1311 { (exit 1); exit 1; }; }
1315 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1316 # Reject names that are not valid shell variable names.
1317 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1318 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1319 { (exit 1); exit 1; }; }
1320 eval $ac_envvar=\
$ac_optarg
1321 export $ac_envvar ;;
1324 # FIXME: should be removed in autoconf 3.0.
1325 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1326 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1327 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1328 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1334 if test -n "$ac_prev"; then
1335 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1336 { echo "$as_me: error: missing argument to $ac_option" >&2
1337 { (exit 1); exit 1; }; }
1340 # Be sure to have absolute directory names.
1341 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1342 datadir sysconfdir sharedstatedir localstatedir includedir \
1343 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1344 libdir localedir mandir
1346 eval ac_val
=\$
$ac_var
1348 [\\/$
]* | ?
:[\\/]* ) continue;;
1349 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1351 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1352 { (exit 1); exit 1; }; }
1355 # There might be people who depend on the old broken behavior: `$host'
1356 # used to hold the argument of --host etc.
1357 # FIXME: To remove some day.
1360 target
=$target_alias
1362 # FIXME: To remove some day.
1363 if test "x$host_alias" != x
; then
1364 if test "x$build_alias" = x
; then
1365 cross_compiling
=maybe
1366 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1367 If a cross compiler is detected then cross compile mode will be used." >&2
1368 elif test "x$build_alias" != "x$host_alias"; then
1374 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1376 test "$silent" = yes && exec 6>/dev
/null
1379 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1380 ac_ls_di
=`ls -di .` &&
1381 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1382 { echo "$as_me: error: Working directory cannot be determined" >&2
1383 { (exit 1); exit 1; }; }
1384 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1385 { echo "$as_me: error: pwd does not report name of working directory" >&2
1386 { (exit 1); exit 1; }; }
1389 # Find the source files, if location was not specified.
1390 if test -z "$srcdir"; then
1391 ac_srcdir_defaulted
=yes
1392 # Try the directory containing this script, then the parent directory.
1393 ac_confdir
=`$as_dirname -- "$0" ||
1394 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1395 X"$0" : 'X\(//\)[^/]' \| \
1396 X"$0" : 'X\(//\)$' \| \
1397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1421 ac_srcdir_defaulted
=no
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1424 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1425 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1426 { (exit 1); exit 1; }; }
1428 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1430 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1431 { (exit 1); exit 1; }; }
1433 # When building in place, set srcdir=.
1434 if test "$ac_abs_confdir" = "$ac_pwd"; then
1437 # Remove unnecessary trailing slashes from srcdir.
1438 # Double slashes in file names in object file debugging info
1439 # mess up M-x gdb in Emacs.
1441 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1443 for ac_var
in $ac_precious_vars; do
1444 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1445 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1446 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1447 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1451 # Report the --help message.
1453 if test "$ac_init_help" = "long"; then
1454 # Omit some internal or obsolete options to make the list less imposing.
1455 # This message is too long to be a string in the A/UX 3.1 sh.
1457 \`configure' configures this package to adapt to many kinds of systems.
1459 Usage: $0 [OPTION]... [VAR=VALUE]...
1461 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1462 VAR=VALUE. See below for descriptions of some of the useful variables.
1464 Defaults for the options are specified in brackets.
1467 -h, --help display this help and exit
1468 --help=short display options specific to this package
1469 --help=recursive display the short help of all the included packages
1470 -V, --version display version information and exit
1471 -q, --quiet, --silent do not print \`checking...' messages
1472 --cache-file=FILE cache test results in FILE [disabled]
1473 -C, --config-cache alias for \`--cache-file=config.cache'
1474 -n, --no-create do not create output files
1475 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1477 Installation directories:
1478 --prefix=PREFIX install architecture-independent files in PREFIX
1479 [$ac_default_prefix]
1480 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1483 By default, \`make install' will install all the files in
1484 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1485 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1486 for instance \`--prefix=\$HOME'.
1488 For better control, use the options below.
1490 Fine tuning of the installation directories:
1491 --bindir=DIR user executables [EPREFIX/bin]
1492 --sbindir=DIR system admin executables [EPREFIX/sbin]
1493 --libexecdir=DIR program executables [EPREFIX/libexec]
1494 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1495 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1496 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1497 --libdir=DIR object code libraries [EPREFIX/lib]
1498 --includedir=DIR C header files [PREFIX/include]
1499 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1500 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1501 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1502 --infodir=DIR info documentation [DATAROOTDIR/info]
1503 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1504 --mandir=DIR man documentation [DATAROOTDIR/man]
1505 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1506 --htmldir=DIR html documentation [DOCDIR]
1507 --dvidir=DIR dvi documentation [DOCDIR]
1508 --pdfdir=DIR pdf documentation [DOCDIR]
1509 --psdir=DIR ps documentation [DOCDIR]
1515 --program-prefix=PREFIX prepend PREFIX to installed program names
1516 --program-suffix=SUFFIX append SUFFIX to installed program names
1517 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1520 --build=BUILD configure
for building on BUILD
[guessed
]
1521 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1525 if test -n "$ac_init_help"; then
1530 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1531 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1532 --disable-dependency-tracking Speeds up one-time builds
1533 --enable-dependency-tracking Do not reject slow dependency extractors
1534 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1535 --enable-static[=PKGS
] build static libraries
[default
=yes]
1536 --enable-fast-install[=PKGS
]
1537 optimize
for fast installation
[default
=yes]
1538 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1539 --disable-nls do not use Native Language Support
1540 --enable-debug Debugging
(default
=no
)
1543 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1544 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1545 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1546 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1548 --with-tags[=TAGS
] include additional configurations
[automatic
]
1550 Some influential environment variables
:
1551 CC C compiler
command
1552 CFLAGS C compiler flags
1553 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1554 nonstandard directory
<lib dir
>
1555 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1556 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1557 you have headers
in a nonstandard directory
<include dir
>
1559 CXX C
++ compiler
command
1560 CXXFLAGS C
++ compiler flags
1561 CXXCPP C
++ preprocessor
1562 F77 Fortran
77 compiler
command
1563 FFLAGS Fortran
77 compiler flags
1564 PKG_CONFIG path to pkg-config utility
1566 C compiler flags
for HILDON
, overriding pkg-config
1567 HILDON_LIBS linker flags
for HILDON
, overriding pkg-config
1568 DBUS_CFLAGS C compiler flags
for DBUS
, overriding pkg-config
1569 DBUS_LIBS linker flags
for DBUS
, overriding pkg-config
1570 OSSO_CFLAGS C compiler flags
for OSSO
, overriding pkg-config
1571 OSSO_LIBS linker flags
for OSSO
, overriding pkg-config
1572 SQL3_CFLAGS C compiler flags
for SQL3
, overriding pkg-config
1573 SQL3_LIBS linker flags
for SQL3
, overriding pkg-config
1575 Use these variables to override the choices made by
`configure' or to help
1576 it to find libraries and programs with nonstandard names/locations.
1582 if test "$ac_init_help" = "recursive"; then
1583 # If there are subdirs, report their specific --help.
1584 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1585 test -d "$ac_dir" || continue
1589 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1591 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1592 # A ".." for each directory in $ac_dir_suffix.
1593 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1594 case $ac_top_builddir_sub in
1595 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1596 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1599 ac_abs_top_builddir=$ac_pwd
1600 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1601 # for backward compatibility:
1602 ac_top_builddir=$ac_top_build_prefix
1605 .) # We are building in place.
1607 ac_top_srcdir=$ac_top_builddir_sub
1608 ac_abs_top_srcdir=$ac_pwd ;;
1609 [\\/]* | ?:[\\/]* ) # Absolute name.
1610 ac_srcdir=$srcdir$ac_dir_suffix;
1611 ac_top_srcdir=$srcdir
1612 ac_abs_top_srcdir=$srcdir ;;
1614 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1615 ac_top_srcdir=$ac_top_build_prefix$srcdir
1616 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1618 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1620 cd "$ac_dir" || { ac_status=$?; continue; }
1621 # Check for guested configure.
1622 if test -f "$ac_srcdir/configure.gnu"; then
1624 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1625 elif test -f "$ac_srcdir/configure"; then
1627 $SHELL "$ac_srcdir/configure" --help=recursive
1629 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1631 cd "$ac_pwd" || { ac_status=$?; break; }
1635 test -n "$ac_init_help" && exit $ac_status
1636 if $ac_init_version; then
1639 generated by GNU Autoconf 2.61
1641 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1642 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1643 This configure script is free software; the Free Software Foundation
1644 gives unlimited permission to copy, distribute and modify it.
1648 cat >config.log <<_ACEOF
1649 This file contains any messages produced by compilers while
1650 running configure, to aid debugging if configure makes a mistake.
1652 It was created by $as_me, which was
1653 generated by GNU Autoconf 2.61. Invocation command line was
1665 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1666 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1667 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1668 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1669 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1671 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1672 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1674 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1675 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1676 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1677 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1678 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1679 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1680 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1688 test -z "$as_dir" && as_dir=.
1689 echo "PATH: $as_dir"
1705 # Keep a trace of the command line.
1706 # Strip out --no-create and --no-recursion so they do not pile up.
1707 # Strip out --silent because we don't want to record it for future runs.
1708 # Also quote any args containing shell meta-characters.
1709 # Make two passes to allow for proper duplicate-argument suppression.
1713 ac_must_keep_next=false
1719 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1720 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1721 | -silent | --silent | --silen | --sile | --sil)
1724 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1727 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1729 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1730 if test $ac_must_keep_next = true; then
1731 ac_must_keep_next=false # Got value, back to normal.
1734 *=* | --config-cache | -C | -disable-* | --disable-* \
1735 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1736 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1737 | -with-* | --with-* | -without-* | --without-* | --x)
1738 case "$ac_configure_args0 " in
1739 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1742 -* ) ac_must_keep_next=true ;;
1745 ac_configure_args="$ac_configure_args '$ac_arg'"
1750 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1751 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1753 # When interrupted or exit'd, cleanup temporary files, and complete
1754 # config.log. We remove comments because anyway the quotes in there
1755 # would cause problems or look ugly.
1756 # WARNING: Use '\'' to represent an apostrophe within the trap.
1757 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1758 trap 'exit_status=$?
1759 # Save into config.log some information that might help in debugging.
1764 ## ---------------- ##
1765 ## Cache variables. ##
1766 ## ---------------- ##
1769 # The following way of writing the cache mishandles newlines in values,
1771 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1772 eval ac_val=\$$ac_var
1776 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1777 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1780 _ | IFS | as_nl) ;; #(
1781 *) $as_unset $ac_var ;;
1786 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1787 *${as_nl}ac_space=\ *)
1789 "s/'\''/'\''\\\\'\'''\''/g;
1790 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1793 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1801 ## ----------------- ##
1802 ## Output variables. ##
1803 ## ----------------- ##
1806 for ac_var in $ac_subst_vars
1808 eval ac_val=\$$ac_var
1810 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1812 echo "$ac_var='\''$ac_val'\''"
1816 if test -n "$ac_subst_files"; then
1818 ## ------------------- ##
1819 ## File substitutions. ##
1820 ## ------------------- ##
1823 for ac_var in $ac_subst_files
1825 eval ac_val=\$$ac_var
1827 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1829 echo "$ac_var='\''$ac_val'\''"
1834 if test -s confdefs.h; then
1844 test "$ac_signal" != 0 &&
1845 echo "$as_me: caught signal $ac_signal"
1846 echo "$as_me: exit $exit_status"
1848 rm -f core *.core core.conftest.* &&
1849 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1852 for ac_signal in 1 2 13 15; do
1853 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1857 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1858 rm -f -r conftest* confdefs.h
1860 # Predefined preprocessor variables.
1862 cat >>confdefs.h <<_ACEOF
1863 #define PACKAGE_NAME "$PACKAGE_NAME"
1867 cat >>confdefs.h <<_ACEOF
1868 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1872 cat >>confdefs.h <<_ACEOF
1873 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1877 cat >>confdefs.h <<_ACEOF
1878 #define PACKAGE_STRING "$PACKAGE_STRING"
1882 cat >>confdefs.h <<_ACEOF
1883 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1887 # Let the site file select an alternate cache file if it wants to.
1888 # Prefer explicitly selected file to automatically selected ones.
1889 if test -n "$CONFIG_SITE"; then
1890 set x "$CONFIG_SITE"
1891 elif test "x$prefix" != xNONE; then
1892 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1894 set x "$ac_default_prefix/share/config.site" \
1895 "$ac_default_prefix/etc/config.site"
1900 if test -r "$ac_site_file"; then
1901 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1902 echo "$as_me: loading site script $ac_site_file" >&6;}
1903 sed 's/^/| /' "$ac_site_file" >&5
1908 if test -r "$cache_file"; then
1909 # Some versions of bash will fail to source /dev/null (special
1910 # files actually), so we avoid doing that.
1911 if test -f "$cache_file"; then
1912 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1913 echo "$as_me: loading cache $cache_file" >&6;}
1915 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1916 *) . "./$cache_file";;
1920 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1921 echo "$as_me: creating cache $cache_file" >&6;}
1925 # Check that the precious variables saved in the cache have kept the same
1927 ac_cache_corrupted=false
1928 for ac_var in $ac_precious_vars; do
1929 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1930 eval ac_new_set=\$ac_env_${ac_var}_set
1931 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1932 eval ac_new_val=\$ac_env_${ac_var}_value
1933 case $ac_old_set,$ac_new_set in
1935 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1936 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1937 ac_cache_corrupted=: ;;
1939 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1940 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1941 ac_cache_corrupted=: ;;
1944 if test "x$ac_old_val" != "x$ac_new_val"; then
1945 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1946 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1947 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1948 echo "$as_me: former value
: $ac_old_val" >&2;}
1949 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1950 echo "$as_me: current value
: $ac_new_val" >&2;}
1951 ac_cache_corrupted=:
1954 # Pass precious variables to config.status.
1955 if test "$ac_new_set" = set; then
1957 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1958 *) ac_arg=$ac_var=$ac_new_val ;;
1960 case " $ac_configure_args " in
1961 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1962 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1966 if $ac_cache_corrupted; then
1967 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1968 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1969 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1970 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1971 { (exit 1); exit 1; }; }
1991 ac_cpp='$CPP $CPPFLAGS'
1992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1997 am__api_version="1.7"
1999 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2000 if test -f "$ac_dir/install-sh"; then
2002 ac_install_sh="$ac_aux_dir/install-sh -c"
2004 elif test -f "$ac_dir/install.sh"; then
2006 ac_install_sh="$ac_aux_dir/install.sh -c"
2008 elif test -f "$ac_dir/shtool"; then
2010 ac_install_sh="$ac_aux_dir/shtool install -c"
2014 if test -z "$ac_aux_dir"; then
2015 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2016 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2017 { (exit 1); exit 1; }; }
2020 # These three variables are undocumented and unsupported,
2021 # and are intended to be withdrawn in a future Autoconf release.
2022 # They can cause serious problems if a builder's source tree is in a directory
2023 # whose full name contains unusual characters.
2024 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2025 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2026 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2029 # Find a good install program. We prefer a C program (faster),
2030 # so one script is as good as another. But avoid the broken or
2031 # incompatible versions:
2032 # SysV /etc/install, /usr/sbin/install
2033 # SunOS /usr/etc/install
2034 # IRIX /sbin/install
2036 # AmigaOS /C/install, which installs bootblocks on floppy discs
2037 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2038 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2039 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2040 # OS/2's system install, which has a completely different semantic
2041 # ./install, which can be erroneously created by make from ./install.sh.
2042 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2043 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2044 if test -z "$INSTALL"; then
2045 if test "${ac_cv_path_install+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2052 test -z "$as_dir" && as_dir=.
2053 # Account for people who put trailing slashes in PATH elements.
2055 ./ | .// | /cC/* | \
2056 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2057 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2060 # OSF1 and SCO ODT 3.0 have their own names for install.
2061 # Don't use installbsd from OSF since it installs stuff as root
2063 for ac_prog in ginstall scoinst install; do
2064 for ac_exec_ext in '' $ac_executable_extensions; do
2065 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2066 if test $ac_prog = install &&
2067 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2068 # AIX install. It has an incompatible calling convention.
2070 elif test $ac_prog = install &&
2071 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2072 # program-specific install script used by HP pwplus--don't use.
2075 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2088 if test "${ac_cv_path_install+set}" = set; then
2089 INSTALL=$ac_cv_path_install
2091 # As a last resort, use the slow shell script. Don't cache a
2092 # value for INSTALL within a source directory, because that will
2093 # break other packages using the cache if that directory is
2094 # removed, or if the value is a relative name.
2095 INSTALL=$ac_install_sh
2098 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2099 echo "${ECHO_T}$INSTALL" >&6; }
2101 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2102 # It thinks the first close brace ends the variable substitution.
2103 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2105 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2107 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2109 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2110 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2113 echo timestamp > conftest.file
2114 # Do `set' in a subshell so we don't clobber the current shell
's
2115 # arguments. Must try -L first in case configure is actually a
2116 # symlink; some systems play weird games with the mod time of symlinks
2117 # (eg FreeBSD returns the mod time of the symlink's containing
2120 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2121 if test "$*" = "X"; then
2123 set X
`ls -t $srcdir/configure conftest.file`
2126 if test "$*" != "X $srcdir/configure conftest.file" \
2127 && test "$*" != "X conftest.file $srcdir/configure"; then
2129 # If neither matched, then we have a broken ls. This can happen
2130 # if, for instance, CONFIG_SHELL is bash and it inherits a
2131 # broken ls alias from the environment. This has actually
2132 # happened. Such a system could not be considered "sane".
2133 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2134 alias in your environment" >&5
2135 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2136 alias in your environment" >&2;}
2137 { (exit 1); exit 1; }; }
2140 test "$2" = conftest.
file
2146 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2147 Check your system clock" >&5
2148 echo "$as_me: error: newly created file is older than distributed files!
2149 Check your system clock" >&2;}
2150 { (exit 1); exit 1; }; }
2152 { echo "$as_me:$LINENO: result: yes" >&5
2153 echo "${ECHO_T}yes" >&6; }
2154 test "$program_prefix" != NONE
&&
2155 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2156 # Use a double $ so make ignores it.
2157 test "$program_suffix" != NONE
&&
2158 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2159 # Double any \ or $. echo might interpret backslashes.
2160 # By default was `s,x,x', remove it if useless.
2161 cat <<\_ACEOF
>conftest.
sed
2162 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2164 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2168 # expand $ac_aux_dir to an absolute path
2169 am_aux_dir
=`cd $ac_aux_dir && pwd`
2171 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2172 # Use eval to expand $SHELL
2173 if eval "$MISSING --run true"; then
2174 am_missing_run
="$MISSING --run "
2177 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2178 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2181 for ac_prog
in gawk mawk nawk
awk
2183 # Extract the first word of "$ac_prog", so it can be a program name with args.
2184 set dummy
$ac_prog; ac_word
=$2
2185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2187 if test "${ac_cv_prog_AWK+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2190 if test -n "$AWK"; then
2191 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir
=.
2198 for ac_exec_ext
in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200 ac_cv_prog_AWK
="$ac_prog"
2201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2211 if test -n "$AWK"; then
2212 { echo "$as_me:$LINENO: result: $AWK" >&5
2213 echo "${ECHO_T}$AWK" >&6; }
2215 { echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6; }
2220 test -n "$AWK" && break
2223 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2224 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2225 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2226 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2227 echo $ECHO_N "(cached) $ECHO_C" >&6
2229 cat >conftest.
make <<\_ACEOF
2232 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2234 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2235 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2237 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2239 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2243 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2244 { echo "$as_me:$LINENO: result: yes" >&5
2245 echo "${ECHO_T}yes" >&6; }
2248 { echo "$as_me:$LINENO: result: no" >&5
2249 echo "${ECHO_T}no" >&6; }
2250 SET_MAKE
="MAKE=${MAKE-make}"
2253 rm -rf .tst
2>/dev
/null
2254 mkdir .tst
2>/dev
/null
2255 if test -d .tst
; then
2260 rmdir .tst
2>/dev
/null
2262 # test to see if srcdir already configured
2263 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2264 test -f $srcdir/config.status
; then
2265 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2266 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2267 { (exit 1); exit 1; }; }
2270 # test whether we have cygpath
2271 if test -z "$CYGPATH_W"; then
2272 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2273 CYGPATH_W
='cygpath -w'
2280 # Define the identity of the package.
2281 PACKAGE
=maemopadplus
2285 cat >>confdefs.h
<<_ACEOF
2286 #define PACKAGE "$PACKAGE"
2290 cat >>confdefs.h
<<_ACEOF
2291 #define VERSION "$VERSION"
2294 # Some tools Automake needs.
2296 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2299 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2302 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2305 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2308 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2311 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2313 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2315 # Installed binaries are usually stripped using `strip' when the user
2316 # run `make install-strip'. However `strip' might not be the right
2317 # tool to use in cross-compilation environments, therefore Automake
2318 # will honor the `STRIP' environment variable to overrule this program.
2319 if test "$cross_compiling" != no
; then
2320 if test -n "$ac_tool_prefix"; then
2321 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2322 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2325 if test "${ac_cv_prog_STRIP+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 if test -n "$STRIP"; then
2329 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2335 test -z "$as_dir" && as_dir
=.
2336 for ac_exec_ext
in '' $ac_executable_extensions; do
2337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2338 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2348 STRIP
=$ac_cv_prog_STRIP
2349 if test -n "$STRIP"; then
2350 { echo "$as_me:$LINENO: result: $STRIP" >&5
2351 echo "${ECHO_T}$STRIP" >&6; }
2353 { echo "$as_me:$LINENO: result: no" >&5
2354 echo "${ECHO_T}no" >&6; }
2359 if test -z "$ac_cv_prog_STRIP"; then
2361 # Extract the first word of "strip", so it can be a program name with args.
2362 set dummy strip
; ac_word
=$2
2363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2365 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2366 echo $ECHO_N "(cached) $ECHO_C" >&6
2368 if test -n "$ac_ct_STRIP"; then
2369 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2375 test -z "$as_dir" && as_dir
=.
2376 for ac_exec_ext
in '' $ac_executable_extensions; do
2377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2378 ac_cv_prog_ac_ct_STRIP
="strip"
2379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2388 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2389 if test -n "$ac_ct_STRIP"; then
2390 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2391 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2393 { echo "$as_me:$LINENO: result: no" >&5
2394 echo "${ECHO_T}no" >&6; }
2397 if test "x$ac_ct_STRIP" = x
; then
2400 case $cross_compiling:$ac_tool_warned in
2402 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2403 whose name does not start with the host triplet. If you think this
2404 configuration is useful to you, please write to autoconf@gnu.org." >&5
2405 echo "$as_me: 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." >&2;}
2408 ac_tool_warned
=yes ;;
2413 STRIP
="$ac_cv_prog_STRIP"
2417 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2419 # We need awk for the "check" target. The system "awk" is bad on
2424 ac_config_headers
="$ac_config_headers config.h"
2427 # Make sure we can run config.sub.
2428 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2429 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2430 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2431 { (exit 1); exit 1; }; }
2433 { echo "$as_me:$LINENO: checking build system type" >&5
2434 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2435 if test "${ac_cv_build+set}" = set; then
2436 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 ac_build_alias
=$build_alias
2439 test "x$ac_build_alias" = x
&&
2440 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2441 test "x$ac_build_alias" = x
&&
2442 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2443 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2444 { (exit 1); exit 1; }; }
2445 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2446 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2447 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2448 { (exit 1); exit 1; }; }
2451 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2452 echo "${ECHO_T}$ac_cv_build" >&6; }
2453 case $ac_cv_build in
2455 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2456 echo "$as_me: error: invalid value of canonical build" >&2;}
2457 { (exit 1); exit 1; }; };;
2460 ac_save_IFS
=$IFS; IFS
='-'
2466 # Remember, the first character of IFS is used to create $*,
2467 # except with old shells:
2470 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2473 { echo "$as_me:$LINENO: checking host system type" >&5
2474 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2475 if test "${ac_cv_host+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 if test "x$host_alias" = x
; then
2479 ac_cv_host
=$ac_cv_build
2481 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2482 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2483 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2484 { (exit 1); exit 1; }; }
2488 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2489 echo "${ECHO_T}$ac_cv_host" >&6; }
2492 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2493 echo "$as_me: error: invalid value of canonical host" >&2;}
2494 { (exit 1); exit 1; }; };;
2497 ac_save_IFS
=$IFS; IFS
='-'
2503 # Remember, the first character of IFS is used to create $*,
2504 # except with old shells:
2507 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2512 ac_cpp
='$CPP $CPPFLAGS'
2513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2516 if test -n "$ac_tool_prefix"; then
2517 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2518 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2521 if test "${ac_cv_prog_CC+set}" = set; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 if test -n "$CC"; then
2525 ac_cv_prog_CC
="$CC" # Let the user override the test.
2527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2531 test -z "$as_dir" && as_dir
=.
2532 for ac_exec_ext
in '' $ac_executable_extensions; do
2533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2534 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2545 if test -n "$CC"; then
2546 { echo "$as_me:$LINENO: result: $CC" >&5
2547 echo "${ECHO_T}$CC" >&6; }
2549 { echo "$as_me:$LINENO: result: no" >&5
2550 echo "${ECHO_T}no" >&6; }
2555 if test -z "$ac_cv_prog_CC"; then
2557 # Extract the first word of "gcc", so it can be a program name with args.
2558 set dummy gcc
; ac_word
=$2
2559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2561 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 if test -n "$ac_ct_CC"; then
2565 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir
=.
2572 for ac_exec_ext
in '' $ac_executable_extensions; do
2573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2574 ac_cv_prog_ac_ct_CC
="gcc"
2575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2584 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2585 if test -n "$ac_ct_CC"; then
2586 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2587 echo "${ECHO_T}$ac_ct_CC" >&6; }
2589 { echo "$as_me:$LINENO: result: no" >&5
2590 echo "${ECHO_T}no" >&6; }
2593 if test "x$ac_ct_CC" = x
; then
2596 case $cross_compiling:$ac_tool_warned in
2598 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2599 whose name does not start with the host triplet. If you think this
2600 configuration is useful to you, please write to autoconf@gnu.org." >&5
2601 echo "$as_me: 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." >&2;}
2604 ac_tool_warned
=yes ;;
2612 if test -z "$CC"; then
2613 if test -n "$ac_tool_prefix"; then
2614 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2615 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2618 if test "${ac_cv_prog_CC+set}" = set; then
2619 echo $ECHO_N "(cached) $ECHO_C" >&6
2621 if test -n "$CC"; then
2622 ac_cv_prog_CC
="$CC" # Let the user override the test.
2624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2628 test -z "$as_dir" && as_dir
=.
2629 for ac_exec_ext
in '' $ac_executable_extensions; do
2630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2631 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2642 if test -n "$CC"; then
2643 { echo "$as_me:$LINENO: result: $CC" >&5
2644 echo "${ECHO_T}$CC" >&6; }
2646 { echo "$as_me:$LINENO: result: no" >&5
2647 echo "${ECHO_T}no" >&6; }
2653 if test -z "$CC"; then
2654 # Extract the first word of "cc", so it can be a program name with args.
2655 set dummy cc
; ac_word
=$2
2656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2658 if test "${ac_cv_prog_CC+set}" = set; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2661 if test -n "$CC"; then
2662 ac_cv_prog_CC
="$CC" # Let the user override the test.
2665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir
=.
2670 for ac_exec_ext
in '' $ac_executable_extensions; do
2671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2672 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2673 ac_prog_rejected
=yes
2677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2684 if test $ac_prog_rejected = yes; then
2685 # We found a bogon in the path, so make sure we never use it.
2686 set dummy
$ac_cv_prog_CC
2688 if test $# != 0; then
2689 # We chose a different compiler from the bogus one.
2690 # However, it has the same basename, so the bogon will be chosen
2691 # first if we set CC to just the basename; use the full file name.
2693 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2699 if test -n "$CC"; then
2700 { echo "$as_me:$LINENO: result: $CC" >&5
2701 echo "${ECHO_T}$CC" >&6; }
2703 { echo "$as_me:$LINENO: result: no" >&5
2704 echo "${ECHO_T}no" >&6; }
2709 if test -z "$CC"; then
2710 if test -n "$ac_tool_prefix"; then
2711 for ac_prog
in cl.exe
2713 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2714 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2717 if test "${ac_cv_prog_CC+set}" = set; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6
2720 if test -n "$CC"; then
2721 ac_cv_prog_CC
="$CC" # Let the user override the test.
2723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2727 test -z "$as_dir" && as_dir
=.
2728 for ac_exec_ext
in '' $ac_executable_extensions; do
2729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2730 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2741 if test -n "$CC"; then
2742 { echo "$as_me:$LINENO: result: $CC" >&5
2743 echo "${ECHO_T}$CC" >&6; }
2745 { echo "$as_me:$LINENO: result: no" >&5
2746 echo "${ECHO_T}no" >&6; }
2750 test -n "$CC" && break
2753 if test -z "$CC"; then
2755 for ac_prog
in cl.exe
2757 # Extract the first word of "$ac_prog", so it can be a program name with args.
2758 set dummy
$ac_prog; ac_word
=$2
2759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2761 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2762 echo $ECHO_N "(cached) $ECHO_C" >&6
2764 if test -n "$ac_ct_CC"; then
2765 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir
=.
2772 for ac_exec_ext
in '' $ac_executable_extensions; do
2773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2774 ac_cv_prog_ac_ct_CC
="$ac_prog"
2775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2784 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2785 if test -n "$ac_ct_CC"; then
2786 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2787 echo "${ECHO_T}$ac_ct_CC" >&6; }
2789 { echo "$as_me:$LINENO: result: no" >&5
2790 echo "${ECHO_T}no" >&6; }
2794 test -n "$ac_ct_CC" && break
2797 if test "x$ac_ct_CC" = x
; then
2800 case $cross_compiling:$ac_tool_warned in
2802 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2803 whose name does not start with the host triplet. If you think this
2804 configuration is useful to you, please write to autoconf@gnu.org." >&5
2805 echo "$as_me: 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." >&2;}
2808 ac_tool_warned
=yes ;;
2817 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2818 See \`config.log' for more details." >&5
2819 echo "$as_me: error: no acceptable C compiler found in \$PATH
2820 See \`config.log' for more details." >&2;}
2821 { (exit 1); exit 1; }; }
2823 # Provide some information about the compiler.
2824 echo "$as_me:$LINENO: checking for C compiler version" >&5
2825 ac_compiler
=`set X $ac_compile; echo $2`
2826 { (ac_try
="$ac_compiler --version >&5"
2828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2832 (eval "$ac_compiler --version >&5") 2>&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }
2836 { (ac_try="$ac_compiler -v >&5"
2838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2839 *) ac_try_echo
=$ac_try;;
2841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2842 (eval "$ac_compiler -v >&5") 2>&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }
2846 { (ac_try
="$ac_compiler -V >&5"
2848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2852 (eval "$ac_compiler -V >&5") 2>&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }
2857 cat >conftest.$ac_ext <<_ACEOF
2860 cat confdefs.h >>conftest.$ac_ext
2861 cat >>conftest.$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2872 ac_clean_files_save=$ac_clean_files
2873 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2874 # Try to create an executable without -o first, disregard a.out.
2875 # It will help us diagnose broken compilers, and finding out an intuition
2877 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2878 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2879 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2881 # List of possible output files, starting from the most likely.
2882 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2883 # only as a last resort. b.out is created by i960 compilers.
2884 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2886 # The IRIX 6 linker writes into existing files which may not be
2887 # executable, retaining their permissions. Remove them first so a
2888 # subsequent execution test works.
2890 for ac_file in $ac_files
2893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2894 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2899 if { (ac_try="$ac_link_default"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_link_default") 2>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }; then
2909 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2910 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2911 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2912 # so that the user can short-circuit this test for compilers unknown to
2914 for ac_file
in $ac_files ''
2916 test -f "$ac_file" ||
continue
2918 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2921 # We found the default executable, but exeext='' is most
2925 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2927 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2929 # We set ac_cv_exeext here because the later test for it is not
2930 # safe: cross compilers may not add the suffix if given an `-o'
2931 # argument, so we may need to know it at that point already.
2932 # Even if this section looks crufty: it has the advantage of
2939 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2945 { echo "$as_me:$LINENO: result: $ac_file" >&5
2946 echo "${ECHO_T}$ac_file" >&6; }
2947 if test -z "$ac_file"; then
2948 echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.
$ac_ext >&5
2951 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2952 See \`config.log' for more details." >&5
2953 echo "$as_me: error: C compiler cannot create executables
2954 See \`config.log' for more details." >&2;}
2955 { (exit 77); exit 77; }; }
2958 ac_exeext
=$ac_cv_exeext
2960 # Check that the compiler produces executables we can run. If not, either
2961 # the compiler is broken, or we cross compile.
2962 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2963 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2964 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2965 # If not cross compiling, check that we can run a simple program.
2966 if test "$cross_compiling" != yes; then
2967 if { ac_try
='./$ac_file'
2968 { (case "(($ac_try" in
2969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2970 *) ac_try_echo=$ac_try;;
2972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2973 (eval "$ac_try") 2>&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); }; }; then
2979 if test "$cross_compiling" = maybe; then
2982 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2983 If you meant to cross compile, use \`--host'.
2984 See \`config.log' for more details.
" >&5
2985 echo "$as_me: error
: cannot run C compiled programs.
2986 If you meant to cross compile
, use \
`--host'.
2987 See \`config.log
' for more details." >&2;}
2988 { (exit 1); exit 1; }; }
2992 { echo "$as_me:$LINENO: result: yes" >&5
2993 echo "${ECHO_T}yes" >&6; }
2995 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2996 ac_clean_files=$ac_clean_files_save
2997 # Check that the compiler produces executables we can run. If not, either
2998 # the compiler is broken, or we cross compile.
2999 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3000 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3001 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3002 echo "${ECHO_T}$cross_compiling" >&6; }
3004 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3005 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3006 if { (ac_try="$ac_link"
3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;;
3011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3012 (eval "$ac_link") 2>&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); }; then
3016 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3017 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3018 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3020 for ac_file
in conftest.exe conftest conftest.
*; do
3021 test -f "$ac_file" ||
continue
3023 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3024 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3030 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3031 See \`config.log' for more details." >&5
3032 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3033 See \`config.log' for more details." >&2;}
3034 { (exit 1); exit 1; }; }
3037 rm -f conftest
$ac_cv_exeext
3038 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3039 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3041 rm -f conftest.
$ac_ext
3042 EXEEXT
=$ac_cv_exeext
3044 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3045 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3046 if test "${ac_cv_objext+set}" = set; then
3047 echo $ECHO_N "(cached) $ECHO_C" >&6
3049 cat >conftest.
$ac_ext <<_ACEOF
3052 cat confdefs.h
>>conftest.
$ac_ext
3053 cat >>conftest.
$ac_ext <<_ACEOF
3054 /* end confdefs.h. */
3064 rm -f conftest.o conftest.obj
3065 if { (ac_try
="$ac_compile"
3067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3068 *) ac_try_echo=$ac_try;;
3070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3071 (eval "$ac_compile") 2>&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); }; then
3075 for ac_file in conftest.o conftest.obj conftest.*; do
3076 test -f "$ac_file" || continue;
3078 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3079 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3084 echo "$as_me: failed program was:" >&5
3085 sed 's/^/| /' conftest.$ac_ext >&5
3087 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3088 See \`config.log
' for more details." >&5
3089 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3090 See \`config.log' for more details.
" >&2;}
3091 { (exit 1); exit 1; }; }
3094 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3096 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3097 echo "${ECHO_T}$ac_cv_objext" >&6; }
3098 OBJEXT=$ac_cv_objext
3100 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3101 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3102 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3103 echo $ECHO_N "(cached
) $ECHO_C" >&6
3105 cat >conftest.$ac_ext <<_ACEOF
3108 cat confdefs.h >>conftest.$ac_ext
3109 cat >>conftest.$ac_ext <<_ACEOF
3110 /* end confdefs.h. */
3123 rm -f conftest.$ac_objext
3124 if { (ac_try="$ac_compile"
3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127 *) ac_try_echo=$ac_try;;
3129 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3130 (eval "$ac_compile") 2>conftest.er1
3132 grep -v '^ *+' conftest.er1 >conftest.err
3134 cat conftest.err >&5
3135 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3136 (exit $ac_status); } && {
3137 test -z "$ac_c_werror_flag" ||
3138 test ! -s conftest.err
3139 } && test -s conftest.$ac_objext; then
3142 echo "$as_me: failed program was
:" >&5
3143 sed 's/^/| /' conftest.$ac_ext >&5
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3149 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3152 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3153 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3154 GCC=`test $ac_compiler_gnu = yes && echo yes`
3155 ac_test_CFLAGS=${CFLAGS+set}
3156 ac_save_CFLAGS=$CFLAGS
3157 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3158 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3159 if test "${ac_cv_prog_cc_g+set}" = set; then
3160 echo $ECHO_N "(cached
) $ECHO_C" >&6
3162 ac_save_c_werror_flag=$ac_c_werror_flag
3163 ac_c_werror_flag=yes
3166 cat >conftest.$ac_ext <<_ACEOF
3169 cat confdefs.h >>conftest.$ac_ext
3170 cat >>conftest.$ac_ext <<_ACEOF
3171 /* end confdefs.h. */
3181 rm -f conftest.$ac_objext
3182 if { (ac_try="$ac_compile"
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3188 (eval "$ac_compile") 2>conftest.er1
3190 grep -v '^ *+' conftest.er1 >conftest.err
3192 cat conftest.err >&5
3193 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3194 (exit $ac_status); } && {
3195 test -z "$ac_c_werror_flag" ||
3196 test ! -s conftest.err
3197 } && test -s conftest.$ac_objext; then
3200 echo "$as_me: failed program was
:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3204 cat >conftest.$ac_ext <<_ACEOF
3207 cat confdefs.h >>conftest.$ac_ext
3208 cat >>conftest.$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3219 rm -f conftest.$ac_objext
3220 if { (ac_try="$ac_compile"
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3226 (eval "$ac_compile") 2>conftest.er1
3228 grep -v '^ *+' conftest.er1 >conftest.err
3230 cat conftest.err >&5
3231 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3232 (exit $ac_status); } && {
3233 test -z "$ac_c_werror_flag" ||
3234 test ! -s conftest.err
3235 } && test -s conftest.$ac_objext; then
3238 echo "$as_me: failed program was
:" >&5
3239 sed 's/^/| /' conftest.$ac_ext >&5
3241 ac_c_werror_flag=$ac_save_c_werror_flag
3243 cat >conftest.$ac_ext <<_ACEOF
3246 cat confdefs.h >>conftest.$ac_ext
3247 cat >>conftest.$ac_ext <<_ACEOF
3248 /* end confdefs.h. */
3258 rm -f conftest.$ac_objext
3259 if { (ac_try="$ac_compile"
3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262 *) ac_try_echo=$ac_try;;
3264 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3265 (eval "$ac_compile") 2>conftest.er1
3267 grep -v '^ *+' conftest.er1 >conftest.err
3269 cat conftest.err >&5
3270 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3271 (exit $ac_status); } && {
3272 test -z "$ac_c_werror_flag" ||
3273 test ! -s conftest.err
3274 } && test -s conftest.$ac_objext; then
3277 echo "$as_me: failed program was
:" >&5
3278 sed 's/^/| /' conftest.$ac_ext >&5
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 ac_c_werror_flag=$ac_save_c_werror_flag
3292 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3293 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3294 if test "$ac_test_CFLAGS" = set; then
3295 CFLAGS=$ac_save_CFLAGS
3296 elif test $ac_cv_prog_cc_g = yes; then
3297 if test "$GCC" = yes; then
3303 if test "$GCC" = yes; then
3309 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3310 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3311 if test "${ac_cv_prog_cc_c89+set}" = set; then
3312 echo $ECHO_N "(cached
) $ECHO_C" >&6
3314 ac_cv_prog_cc_c89=no
3316 cat >conftest.$ac_ext <<_ACEOF
3319 cat confdefs.h >>conftest.$ac_ext
3320 cat >>conftest.$ac_ext <<_ACEOF
3321 /* end confdefs.h. */
3324 #include <sys/types.h>
3325 #include <sys/stat.h>
3326 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3327 struct buf { int x; };
3328 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3329 static char *e (p, i)
3335 static char *f (char * (*g) (char **, int), char **p, ...)
3340 s = g (p, va_arg (v,int));
3345 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3346 function prototypes and stuff, but not '\xHH' hex character constants.
3347 These don't provoke an error unfortunately, instead are silently treated
3348 as 'x'. The following induces an error, until -std is added to get
3349 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3350 array size at least. It's necessary to write '\x00'==0 to get something
3351 that's true only with -std. */
3352 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3354 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3355 inside strings and character constants. */
3357 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3359 int test (int i, double x);
3360 struct s1 {int (*f) (int a);};
3361 struct s2 {int (*f) (double a);};
3362 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3368 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3373 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3374 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3376 CC="$ac_save_CC $ac_arg"
3377 rm -f conftest.$ac_objext
3378 if { (ac_try="$ac_compile"
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3384 (eval "$ac_compile") 2>conftest.er1
3386 grep -v '^ *+' conftest.er1 >conftest.err
3388 cat conftest.err >&5
3389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3390 (exit $ac_status); } && {
3391 test -z "$ac_c_werror_flag" ||
3392 test ! -s conftest.err
3393 } && test -s conftest.$ac_objext; then
3394 ac_cv_prog_cc_c89=$ac_arg
3396 echo "$as_me: failed program was
:" >&5
3397 sed 's/^/| /' conftest.$ac_ext >&5
3402 rm -f core conftest.err conftest.$ac_objext
3403 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3405 rm -f conftest.$ac_ext
3410 case "x
$ac_cv_prog_cc_c89" in
3412 { echo "$as_me:$LINENO: result
: none needed
" >&5
3413 echo "${ECHO_T}none needed
" >&6; } ;;
3415 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3416 echo "${ECHO_T}unsupported
" >&6; } ;;
3418 CC="$CC $ac_cv_prog_cc_c89"
3419 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3420 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3425 ac_cpp='$CPP $CPPFLAGS'
3426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3429 DEPDIR="${am__leading_dot}deps
"
3431 ac_config_commands="$ac_config_commands depfiles
"
3434 am_make=${MAKE-make}
3435 cat > confinc << 'END'
3440 # If we don't find an include directive, just comment out the code.
3441 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3442 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3446 # First try GNU make style include.
3447 echo "include confinc" > confmf
3448 # We grep out `Entering directory' and `Leaving directory'
3449 # messages which can occur if `w' ends up in MAKEFLAGS.
3450 # In particular we don't look at `^make:' because GNU make might
3451 # be invoked under some other name (usually "gmake"), in which
3452 # case it prints its new name instead of `make'.
3453 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3458 # Now try BSD make style include.
3459 if test "$am__include" = "#"; then
3460 echo '.include "confinc"' > confmf
3461 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3462 am__include
=.include
3469 { echo "$as_me:$LINENO: result: $_am_result" >&5
3470 echo "${ECHO_T}$_am_result" >&6; }
3471 rm -f confinc confmf
3473 # Check whether --enable-dependency-tracking was given.
3474 if test "${enable_dependency_tracking+set}" = set; then
3475 enableval
=$enable_dependency_tracking;
3478 if test "x$enable_dependency_tracking" != xno
; then
3479 am_depcomp
="$ac_aux_dir/depcomp"
3484 if test "x$enable_dependency_tracking" != xno; then
3495 depcc
="$CC" am_compiler_list
=
3497 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3498 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3499 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3500 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3503 # We make a subdir and do the tests there. Otherwise we can end up
3504 # making bogus files that we don't know about and never remove. For
3505 # instance it was reported that on HP-UX the gcc test will end up
3506 # making a dummy file named `D' -- because `-MD' means `put the output
3509 # Copy depcomp to subdir because otherwise we won't find it if we're
3510 # using a relative directory.
3511 cp "$am_depcomp" conftest.dir
3513 # We will build objects and dependencies in a subdirectory because
3514 # it helps to detect inapplicable dependency modes. For instance
3515 # both Tru64's cc and ICC support -MD to output dependencies as a
3516 # side effect of compilation, but ICC will put the dependencies in
3517 # the current directory while Tru64 will put them in the object
3521 am_cv_CC_dependencies_compiler_type
=none
3522 if test "$am_compiler_list" = ""; then
3523 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3525 for depmode
in $am_compiler_list; do
3526 # Setup a source with many dependencies, because some compilers
3527 # like to wrap large dependency lists on column 80 (with \), and
3528 # we should not choose a depcomp mode which is confused by this.
3530 # We need to recreate these files for each test, as the compiler may
3531 # overwrite some of them when testing with obscure command lines.
3532 # This happens at least with the AIX C compiler.
3534 for i
in 1 2 3 4 5 6; do
3535 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3538 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3542 # after this tag, mechanisms are not by side-effect, so they'll
3543 # only be used when explicitly requested
3544 if test "x$enable_dependency_tracking" = xyes
; then
3552 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3553 # mode. It turns out that the SunPro C++ compiler does not properly
3554 # handle `-M -o', and we need to detect this.
3555 if depmode
=$depmode \
3556 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3557 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3558 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3559 >/dev
/null
2>conftest.err
&&
3560 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3561 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3562 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3563 # icc doesn't choke on unknown options, it will just issue warnings
3564 # (even with -Werror). So we grep stderr for any message
3565 # that says an option was ignored.
3566 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
3567 am_cv_CC_dependencies_compiler_type
=$depmode
3576 am_cv_CC_dependencies_compiler_type
=none
3580 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3581 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3582 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3587 test "x$enable_dependency_tracking" != xno \
3588 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3590 am__fastdepCC_FALSE
='#'
3592 am__fastdepCC_TRUE
='#'
3593 am__fastdepCC_FALSE
=
3598 ac_cpp
='$CPP $CPPFLAGS'
3599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3602 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3603 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3604 # On Suns, sometimes $CPP names a directory.
3605 if test -n "$CPP" && test -d "$CPP"; then
3608 if test -z "$CPP"; then
3609 if test "${ac_cv_prog_CPP+set}" = set; then
3610 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 # Double quotes because CPP needs to be expanded
3613 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3616 for ac_c_preproc_warn_flag
in '' yes
3618 # Use a header file that comes with gcc, so configuring glibc
3619 # with a fresh cross-compiler works.
3620 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3621 # <limits.h> exists even on freestanding compilers.
3622 # On the NeXT, cc -E runs the code through the compiler's parser,
3623 # not just through cpp. "Syntax error" is here to catch this case.
3624 cat >conftest.
$ac_ext <<_ACEOF
3627 cat confdefs.h
>>conftest.
$ac_ext
3628 cat >>conftest.
$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3631 # include <limits.h>
3633 # include <assert.h>
3637 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3640 *) ac_try_echo=$ac_try;;
3642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3645 grep -v '^ *+' conftest.er1 >conftest.err
3647 cat conftest.err >&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } >/dev/null && {
3650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3651 test ! -s conftest.err
3655 echo "$as_me: failed program was:" >&5
3656 sed 's/^/| /' conftest.$ac_ext >&5
3658 # Broken: fails on valid input.
3662 rm -f conftest.err conftest.$ac_ext
3664 # OK, works on sane cases. Now check whether nonexistent headers
3665 # can be detected and how.
3666 cat >conftest.$ac_ext <<_ACEOF
3669 cat confdefs.h >>conftest.$ac_ext
3670 cat >>conftest.$ac_ext <<_ACEOF
3671 /* end confdefs.h. */
3672 #include <ac_nonexistent.h>
3674 if { (ac_try="$ac_cpp conftest.$ac_ext"
3676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3677 *) ac_try_echo
=$ac_try;;
3679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3680 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3682 grep -v '^ *+' conftest.er1
>conftest.err
3684 cat conftest.err
>&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); } >/dev
/null
&& {
3687 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3688 test ! -s conftest.err
3690 # Broken: success on invalid input.
3693 echo "$as_me: failed program was:" >&5
3694 sed 's/^/| /' conftest.
$ac_ext >&5
3696 # Passes both tests.
3701 rm -f conftest.err conftest.
$ac_ext
3704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3705 rm -f conftest.err conftest.
$ac_ext
3706 if $ac_preproc_ok; then
3718 { echo "$as_me:$LINENO: result: $CPP" >&5
3719 echo "${ECHO_T}$CPP" >&6; }
3721 for ac_c_preproc_warn_flag
in '' yes
3723 # Use a header file that comes with gcc, so configuring glibc
3724 # with a fresh cross-compiler works.
3725 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3726 # <limits.h> exists even on freestanding compilers.
3727 # On the NeXT, cc -E runs the code through the compiler's parser,
3728 # not just through cpp. "Syntax error" is here to catch this case.
3729 cat >conftest.
$ac_ext <<_ACEOF
3732 cat confdefs.h
>>conftest.
$ac_ext
3733 cat >>conftest.
$ac_ext <<_ACEOF
3734 /* end confdefs.h. */
3736 # include <limits.h>
3738 # include <assert.h>
3742 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3745 *) ac_try_echo=$ac_try;;
3747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3750 grep -v '^ *+' conftest.er1 >conftest.err
3752 cat conftest.err >&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); } >/dev/null && {
3755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3756 test ! -s conftest.err
3760 echo "$as_me: failed program was:" >&5
3761 sed 's/^/| /' conftest.$ac_ext >&5
3763 # Broken: fails on valid input.
3767 rm -f conftest.err conftest.$ac_ext
3769 # OK, works on sane cases. Now check whether nonexistent headers
3770 # can be detected and how.
3771 cat >conftest.$ac_ext <<_ACEOF
3774 cat confdefs.h >>conftest.$ac_ext
3775 cat >>conftest.$ac_ext <<_ACEOF
3776 /* end confdefs.h. */
3777 #include <ac_nonexistent.h>
3779 if { (ac_try="$ac_cpp conftest.$ac_ext"
3781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3782 *) ac_try_echo
=$ac_try;;
3784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3785 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3787 grep -v '^ *+' conftest.er1
>conftest.err
3789 cat conftest.err
>&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); } >/dev
/null
&& {
3792 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3793 test ! -s conftest.err
3795 # Broken: success on invalid input.
3798 echo "$as_me: failed program was:" >&5
3799 sed 's/^/| /' conftest.
$ac_ext >&5
3801 # Passes both tests.
3806 rm -f conftest.err conftest.
$ac_ext
3809 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3810 rm -f conftest.err conftest.
$ac_ext
3811 if $ac_preproc_ok; then
3814 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3815 See \`config.log' for more details." >&5
3816 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3817 See \`config.log' for more details." >&2;}
3818 { (exit 1); exit 1; }; }
3822 ac_cpp
='$CPP $CPPFLAGS'
3823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3827 # Find a good install program. We prefer a C program (faster),
3828 # so one script is as good as another. But avoid the broken or
3829 # incompatible versions:
3830 # SysV /etc/install, /usr/sbin/install
3831 # SunOS /usr/etc/install
3832 # IRIX /sbin/install
3834 # AmigaOS /C/install, which installs bootblocks on floppy discs
3835 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3836 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3837 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3838 # OS/2's system install, which has a completely different semantic
3839 # ./install, which can be erroneously created by make from ./install.sh.
3840 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3841 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3842 if test -z "$INSTALL"; then
3843 if test "${ac_cv_path_install+set}" = set; then
3844 echo $ECHO_N "(cached) $ECHO_C" >&6
3846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3850 test -z "$as_dir" && as_dir
=.
3851 # Account for people who put trailing slashes in PATH elements.
3853 .
/ | .
// |
/cC
/* | \
3854 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3855 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3858 # OSF1 and SCO ODT 3.0 have their own names for install.
3859 # Don't use installbsd from OSF since it installs stuff as root
3861 for ac_prog
in ginstall scoinst
install; do
3862 for ac_exec_ext
in '' $ac_executable_extensions; do
3863 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3864 if test $ac_prog = install &&
3865 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3866 # AIX install. It has an incompatible calling convention.
3868 elif test $ac_prog = install &&
3869 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3870 # program-specific install script used by HP pwplus--don't use.
3873 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3886 if test "${ac_cv_path_install+set}" = set; then
3887 INSTALL
=$ac_cv_path_install
3889 # As a last resort, use the slow shell script. Don't cache a
3890 # value for INSTALL within a source directory, because that will
3891 # break other packages using the cache if that directory is
3892 # removed, or if the value is a relative name.
3893 INSTALL
=$ac_install_sh
3896 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3897 echo "${ECHO_T}$INSTALL" >&6; }
3899 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3900 # It thinks the first close brace ends the variable substitution.
3901 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3903 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3905 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3907 if test -n "$ac_tool_prefix"; then
3908 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3909 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3912 if test "${ac_cv_prog_RANLIB+set}" = set; then
3913 echo $ECHO_N "(cached) $ECHO_C" >&6
3915 if test -n "$RANLIB"; then
3916 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3922 test -z "$as_dir" && as_dir
=.
3923 for ac_exec_ext
in '' $ac_executable_extensions; do
3924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3925 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3935 RANLIB
=$ac_cv_prog_RANLIB
3936 if test -n "$RANLIB"; then
3937 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3938 echo "${ECHO_T}$RANLIB" >&6; }
3940 { echo "$as_me:$LINENO: result: no" >&5
3941 echo "${ECHO_T}no" >&6; }
3946 if test -z "$ac_cv_prog_RANLIB"; then
3947 ac_ct_RANLIB
=$RANLIB
3948 # Extract the first word of "ranlib", so it can be a program name with args.
3949 set dummy ranlib
; ac_word
=$2
3950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3952 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3953 echo $ECHO_N "(cached) $ECHO_C" >&6
3955 if test -n "$ac_ct_RANLIB"; then
3956 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3962 test -z "$as_dir" && as_dir
=.
3963 for ac_exec_ext
in '' $ac_executable_extensions; do
3964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3965 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3975 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3976 if test -n "$ac_ct_RANLIB"; then
3977 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3978 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3980 { echo "$as_me:$LINENO: result: no" >&5
3981 echo "${ECHO_T}no" >&6; }
3984 if test "x$ac_ct_RANLIB" = x
; then
3987 case $cross_compiling:$ac_tool_warned in
3989 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3990 whose name does not start with the host triplet. If you think this
3991 configuration is useful to you, please write to autoconf@gnu.org." >&5
3992 echo "$as_me: 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." >&2;}
3995 ac_tool_warned
=yes ;;
3997 RANLIB
=$ac_ct_RANLIB
4000 RANLIB
="$ac_cv_prog_RANLIB"
4003 # Check whether --enable-shared was given.
4004 if test "${enable_shared+set}" = set; then
4005 enableval
=$enable_shared; p
=${PACKAGE-default}
4007 yes) enable_shared
=yes ;;
4008 no
) enable_shared
=no
;;
4011 # Look at the argument we got. We use all the common list separators.
4012 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4013 for pkg
in $enableval; do
4015 if test "X$pkg" = "X$p"; then
4027 # Check whether --enable-static was given.
4028 if test "${enable_static+set}" = set; then
4029 enableval
=$enable_static; p
=${PACKAGE-default}
4031 yes) enable_static
=yes ;;
4032 no
) enable_static
=no
;;
4035 # Look at the argument we got. We use all the common list separators.
4036 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4037 for pkg
in $enableval; do
4039 if test "X$pkg" = "X$p"; then
4051 # Check whether --enable-fast-install was given.
4052 if test "${enable_fast_install+set}" = set; then
4053 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4055 yes) enable_fast_install
=yes ;;
4056 no
) enable_fast_install
=no
;;
4058 enable_fast_install
=no
4059 # Look at the argument we got. We use all the common list separators.
4060 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4061 for pkg
in $enableval; do
4063 if test "X$pkg" = "X$p"; then
4064 enable_fast_install
=yes
4071 enable_fast_install
=yes
4075 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4076 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4077 if test "${lt_cv_path_SED+set}" = set; then
4078 echo $ECHO_N "(cached) $ECHO_C" >&6
4080 # Loop through the user's path and test for sed and gsed.
4081 # Then use that list of sed's as ones to test for truncation.
4082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4086 test -z "$as_dir" && as_dir
=.
4087 for lt_ac_prog
in sed gsed
; do
4088 for ac_exec_ext
in '' $ac_executable_extensions; do
4089 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4090 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4097 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4098 # along with /bin/sed that truncates output.
4099 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4100 test ! -f $lt_ac_sed && continue
4101 cat /dev
/null
> conftest.
in
4103 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4104 # Check for GNU sed and select it if it is found.
4105 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4106 lt_cv_path_SED
=$lt_ac_sed
4110 cat conftest.
in conftest.
in >conftest.tmp
4111 mv conftest.tmp conftest.
in
4112 cp conftest.
in conftest.
nl
4114 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4115 cmp -s conftest.out conftest.
nl ||
break
4116 # 10000 chars as input seems more than enough
4117 test $lt_ac_count -gt 10 && break
4118 lt_ac_count
=`expr $lt_ac_count + 1`
4119 if test $lt_ac_count -gt $lt_ac_max; then
4120 lt_ac_max
=$lt_ac_count
4121 lt_cv_path_SED
=$lt_ac_sed
4129 { echo "$as_me:$LINENO: result: $SED" >&5
4130 echo "${ECHO_T}$SED" >&6; }
4132 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4133 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4134 if test "${ac_cv_path_GREP+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4137 # Extract the first word of "grep ggrep" to use in msg output
4138 if test -z "$GREP"; then
4139 set dummy
grep ggrep
; ac_prog_name
=$2
4140 if test "${ac_cv_path_GREP+set}" = set; then
4141 echo $ECHO_N "(cached) $ECHO_C" >&6
4143 ac_path_GREP_found
=false
4144 # Loop through the user's path and test for each of PROGNAME-LIST
4145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4146 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4149 test -z "$as_dir" && as_dir
=.
4150 for ac_prog
in grep ggrep
; do
4151 for ac_exec_ext
in '' $ac_executable_extensions; do
4152 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4153 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4154 # Check for GNU ac_path_GREP and select it if it is found.
4155 # Check for GNU $ac_path_GREP
4156 case `"$ac_path_GREP" --version 2>&1` in
4158 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4161 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4164 cat "conftest.in" "conftest.in" >"conftest.tmp"
4165 mv "conftest.tmp" "conftest.in"
4166 cp "conftest.in" "conftest.nl"
4167 echo 'GREP' >> "conftest.nl"
4168 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4169 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4170 ac_count
=`expr $ac_count + 1`
4171 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4172 # Best one so far, save it but keep looking for a better one
4173 ac_cv_path_GREP
="$ac_path_GREP"
4174 ac_path_GREP_max
=$ac_count
4176 # 10*(2^10) chars as input seems more than enough
4177 test $ac_count -gt 10 && break
4179 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4183 $ac_path_GREP_found && break 3
4193 GREP
="$ac_cv_path_GREP"
4194 if test -z "$GREP"; then
4195 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4196 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4197 { (exit 1); exit 1; }; }
4201 ac_cv_path_GREP
=$GREP
4206 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4207 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4208 GREP
="$ac_cv_path_GREP"
4211 { echo "$as_me:$LINENO: checking for egrep" >&5
4212 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4213 if test "${ac_cv_path_EGREP+set}" = set; then
4214 echo $ECHO_N "(cached) $ECHO_C" >&6
4216 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4217 then ac_cv_path_EGREP
="$GREP -E"
4219 # Extract the first word of "egrep" to use in msg output
4220 if test -z "$EGREP"; then
4221 set dummy
egrep; ac_prog_name
=$2
4222 if test "${ac_cv_path_EGREP+set}" = set; then
4223 echo $ECHO_N "(cached) $ECHO_C" >&6
4225 ac_path_EGREP_found
=false
4226 # Loop through the user's path and test for each of PROGNAME-LIST
4227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4228 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4231 test -z "$as_dir" && as_dir
=.
4232 for ac_prog
in egrep; do
4233 for ac_exec_ext
in '' $ac_executable_extensions; do
4234 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4235 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4236 # Check for GNU ac_path_EGREP and select it if it is found.
4237 # Check for GNU $ac_path_EGREP
4238 case `"$ac_path_EGREP" --version 2>&1` in
4240 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4243 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4246 cat "conftest.in" "conftest.in" >"conftest.tmp"
4247 mv "conftest.tmp" "conftest.in"
4248 cp "conftest.in" "conftest.nl"
4249 echo 'EGREP' >> "conftest.nl"
4250 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4251 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4252 ac_count
=`expr $ac_count + 1`
4253 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4254 # Best one so far, save it but keep looking for a better one
4255 ac_cv_path_EGREP
="$ac_path_EGREP"
4256 ac_path_EGREP_max
=$ac_count
4258 # 10*(2^10) chars as input seems more than enough
4259 test $ac_count -gt 10 && break
4261 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4265 $ac_path_EGREP_found && break 3
4275 EGREP
="$ac_cv_path_EGREP"
4276 if test -z "$EGREP"; then
4277 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4278 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4279 { (exit 1); exit 1; }; }
4283 ac_cv_path_EGREP
=$EGREP
4289 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4290 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4291 EGREP
="$ac_cv_path_EGREP"
4295 # Check whether --with-gnu-ld was given.
4296 if test "${with_gnu_ld+set}" = set; then
4297 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4303 if test "$GCC" = yes; then
4304 # Check if gcc -print-prog-name=ld gives a path.
4305 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4306 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4309 # gcc leaves a trailing carriage return which upsets mingw
4310 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4312 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4315 # Accept absolute paths.
4317 re_direlt
='/[^/][^/]*/\.\./'
4318 # Canonicalize the pathname of ld
4319 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4320 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4321 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4323 test -z "$LD" && LD
="$ac_prog"
4326 # If it fails, then pretend we aren't using GCC.
4330 # If it is relative, then search for the first ld in PATH.
4334 elif test "$with_gnu_ld" = yes; then
4335 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4336 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4338 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4339 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4341 if test "${lt_cv_path_LD+set}" = set; then
4342 echo $ECHO_N "(cached) $ECHO_C" >&6
4344 if test -z "$LD"; then
4345 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4346 for ac_dir
in $PATH; do
4348 test -z "$ac_dir" && ac_dir
=.
4349 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4350 lt_cv_path_LD
="$ac_dir/$ac_prog"
4351 # Check to see if the program is GNU ld. I'd rather use --version,
4352 # but apparently some variants of GNU ld only accept -v.
4353 # Break only if it was the GNU/non-GNU ld that we prefer.
4354 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4355 *GNU
* |
*'with BFD'*)
4356 test "$with_gnu_ld" != no
&& break
4359 test "$with_gnu_ld" != yes && break
4366 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4371 if test -n "$LD"; then
4372 { echo "$as_me:$LINENO: result: $LD" >&5
4373 echo "${ECHO_T}$LD" >&6; }
4375 { echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6; }
4378 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4379 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4380 { (exit 1); exit 1; }; }
4381 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4382 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4383 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4384 echo $ECHO_N "(cached) $ECHO_C" >&6
4386 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4387 case `$LD -v 2>&1 </dev/null` in
4388 *GNU
* |
*'with BFD'*)
4389 lt_cv_prog_gnu_ld
=yes
4392 lt_cv_prog_gnu_ld
=no
4396 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4397 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4398 with_gnu_ld
=$lt_cv_prog_gnu_ld
4401 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4402 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4403 if test "${lt_cv_ld_reload_flag+set}" = set; then
4404 echo $ECHO_N "(cached) $ECHO_C" >&6
4406 lt_cv_ld_reload_flag
='-r'
4408 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4409 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4410 reload_flag
=$lt_cv_ld_reload_flag
4411 case $reload_flag in
4413 *) reload_flag
=" $reload_flag" ;;
4415 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4418 if test "$GCC" = yes; then
4419 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
4421 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4426 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4427 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4428 if test "${lt_cv_path_NM+set}" = set; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 if test -n "$NM"; then
4432 # Let the user override the test.
4435 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4436 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4438 test -z "$ac_dir" && ac_dir
=.
4439 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
4440 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4441 # Check to see if the nm accepts a BSD-compat flag.
4442 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4443 # nm: unknown option "B" ignored
4444 # Tru64's nm complains that /dev/null is an invalid object file
4445 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4446 */dev
/null
* |
*'Invalid file or object type'*)
4447 lt_cv_path_NM
="$tmp_nm -B"
4451 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4453 lt_cv_path_NM
="$tmp_nm -p"
4457 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4458 continue # so that we can try to find one that supports BSD flags
4465 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4468 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4469 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4472 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4473 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4475 if test "$LN_S" = "ln -s"; then
4476 { echo "$as_me:$LINENO: result: yes" >&5
4477 echo "${ECHO_T}yes" >&6; }
4479 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4480 echo "${ECHO_T}no, using $LN_S" >&6; }
4483 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4484 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4485 if test "${lt_cv_deplibs_check_method+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4489 lt_cv_file_magic_test_file
=
4490 lt_cv_deplibs_check_method
='unknown'
4491 # Need to set the preceding variable on all platforms that support
4492 # interlibrary dependencies.
4493 # 'none' -- dependencies not supported.
4494 # `unknown' -- same as none, but documents that we really don't know.
4495 # 'pass_all' -- all dependencies passed with no checks.
4496 # 'test_compile' -- check by making test program.
4497 # 'file_magic [[regex]]' -- check by looking for files in library path
4498 # which responds to the $file_magic_cmd with a given extended regex.
4499 # If you have `file' or equivalent on your system and you're not sure
4500 # whether `pass_all' will *always* work, you probably want this one.
4504 lt_cv_deplibs_check_method
=pass_all
4508 lt_cv_deplibs_check_method
=pass_all
4512 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4513 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4514 lt_cv_file_magic_test_file
=/shlib
/libc.so
4518 # func_win32_libid is a shell function defined in ltmain.sh
4519 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4520 lt_cv_file_magic_cmd
='func_win32_libid'
4524 # Base MSYS/MinGW do not provide the 'file' command needed by
4525 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4526 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4527 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4530 darwin
* | rhapsody
*)
4531 lt_cv_deplibs_check_method
=pass_all
4534 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4535 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4538 # Not sure whether the presence of OpenBSD here was a mistake.
4539 # Let's accept both of them until this is cleared up.
4540 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4541 lt_cv_file_magic_cmd
=/usr
/bin
/file
4542 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4546 lt_cv_deplibs_check_method
=pass_all
4551 lt_cv_deplibs_check_method
=pass_all
4554 hpux10.20
* | hpux11
*)
4555 lt_cv_file_magic_cmd
=/usr
/bin
/file
4558 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4559 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4562 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]'
4563 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4566 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4567 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4572 irix5
* | irix6
* | nonstopux
*)
4574 *-32|
*"-32 ") libmagic
=32-bit;;
4575 *-n32|
*"-n32 ") libmagic
=N32
;;
4576 *-64|
*"-64 ") libmagic
=64-bit;;
4577 *) libmagic
=never-match
;;
4579 lt_cv_deplibs_check_method
=pass_all
4582 # This must be Linux ELF.
4584 lt_cv_deplibs_check_method
=pass_all
4588 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4589 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4591 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4596 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4597 lt_cv_file_magic_cmd
=/usr
/bin
/file
4598 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4602 lt_cv_deplibs_check_method
=unknown
4606 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4607 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4609 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4613 osf3
* | osf4
* | osf5
*)
4614 lt_cv_deplibs_check_method
=pass_all
4618 lt_cv_deplibs_check_method
=pass_all
4622 lt_cv_deplibs_check_method
=pass_all
4625 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4626 case $host_vendor in
4628 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]'
4629 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4632 lt_cv_deplibs_check_method
=pass_all
4635 lt_cv_file_magic_cmd
='/bin/file'
4636 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4639 lt_cv_file_magic_cmd
='/bin/file'
4640 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4641 lt_cv_file_magic_test_file
=/lib
/libc.so
4644 lt_cv_deplibs_check_method
=pass_all
4649 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
4650 lt_cv_deplibs_check_method
=pass_all
4655 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4656 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4657 file_magic_cmd
=$lt_cv_file_magic_cmd
4658 deplibs_check_method
=$lt_cv_deplibs_check_method
4659 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4664 # If no C compiler was specified, use CC.
4667 # Allow CC to be a program name with arguments.
4671 # Check whether --enable-libtool-lock was given.
4672 if test "${enable_libtool_lock+set}" = set; then
4673 enableval
=$enable_libtool_lock;
4676 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4678 # Some flags need to be propagated to the compiler or linker for good
4682 # Find out which ABI we are using.
4683 echo 'int i;' > conftest.
$ac_ext
4684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4685 (eval $ac_compile) 2>&5
4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688 (exit $ac_status); }; then
4689 case `/usr/bin/file conftest.$ac_objext` in
4701 # Find out which ABI we are using.
4702 echo '#line 4702 "configure"' > conftest.
$ac_ext
4703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4704 (eval $ac_compile) 2>&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }; then
4708 if test "$lt_cv_prog_gnu_ld" = yes; then
4709 case `/usr/bin/file conftest.$ac_objext` in
4711 LD
="${LD-ld} -melf32bsmip"
4714 LD
="${LD-ld} -melf32bmipn32"
4717 LD
="${LD-ld} -melf64bmip"
4721 case `/usr/bin/file conftest.$ac_objext` in
4737 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4738 # Find out which ABI we are using.
4739 echo 'int i;' > conftest.
$ac_ext
4740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4741 (eval $ac_compile) 2>&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); }; then
4745 case `/usr/bin/file conftest.o` in
4749 LD
="${LD-ld} -m elf_i386"
4751 ppc64-
*linux
*|powerpc64-
*linux
*)
4752 LD
="${LD-ld} -m elf32ppclinux"
4755 LD
="${LD-ld} -m elf_s390"
4758 LD
="${LD-ld} -m elf32_sparc"
4765 LD
="${LD-ld} -m elf_x86_64"
4767 ppc
*-*linux
*|powerpc
*-*linux
*)
4768 LD
="${LD-ld} -m elf64ppc"
4771 LD
="${LD-ld} -m elf64_s390"
4774 LD
="${LD-ld} -m elf64_sparc"
4784 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4785 SAVE_CFLAGS
="$CFLAGS"
4786 CFLAGS
="$CFLAGS -belf"
4787 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4788 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4789 if test "${lt_cv_cc_needs_belf+set}" = set; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4793 ac_cpp
='$CPP $CPPFLAGS'
4794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4798 cat >conftest.
$ac_ext <<_ACEOF
4801 cat confdefs.h
>>conftest.
$ac_ext
4802 cat >>conftest.
$ac_ext <<_ACEOF
4803 /* end confdefs.h. */
4813 rm -f conftest.
$ac_objext conftest
$ac_exeext
4814 if { (ac_try
="$ac_link"
4816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4817 *) ac_try_echo=$ac_try;;
4819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4820 (eval "$ac_link") 2>conftest.er1
4822 grep -v '^ *+' conftest.er1 >conftest.err
4824 cat conftest.err >&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); } && {
4827 test -z "$ac_c_werror_flag" ||
4828 test ! -s conftest.err
4829 } && test -s conftest$ac_exeext &&
4830 $as_test_x conftest$ac_exeext; then
4831 lt_cv_cc_needs_belf=yes
4833 echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.$ac_ext >&5
4836 lt_cv_cc_needs_belf=no
4839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4840 conftest$ac_exeext conftest.$ac_ext
4842 ac_cpp='$CPP $CPPFLAGS'
4843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4848 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4849 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4850 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4851 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4852 CFLAGS="$SAVE_CFLAGS"
4858 need_locks="$enable_libtool_lock"
4862 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4863 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4864 if test "${ac_cv_header_stdc+set}" = set; then
4865 echo $ECHO_N "(cached) $ECHO_C" >&6
4867 cat >conftest.$ac_ext <<_ACEOF
4870 cat confdefs.h >>conftest.$ac_ext
4871 cat >>conftest.$ac_ext <<_ACEOF
4872 /* end confdefs.h. */
4886 rm -f conftest.$ac_objext
4887 if { (ac_try="$ac_compile"
4889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4890 *) ac_try_echo
=$ac_try;;
4892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4893 (eval "$ac_compile") 2>conftest.er1
4895 grep -v '^ *+' conftest.er1
>conftest.err
4897 cat conftest.err
>&5
4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899 (exit $ac_status); } && {
4900 test -z "$ac_c_werror_flag" ||
4901 test ! -s conftest.err
4902 } && test -s conftest.
$ac_objext; then
4903 ac_cv_header_stdc
=yes
4905 echo "$as_me: failed program was:" >&5
4906 sed 's/^/| /' conftest.
$ac_ext >&5
4908 ac_cv_header_stdc
=no
4911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4913 if test $ac_cv_header_stdc = yes; then
4914 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4915 cat >conftest.
$ac_ext <<_ACEOF
4918 cat confdefs.h
>>conftest.
$ac_ext
4919 cat >>conftest.
$ac_ext <<_ACEOF
4920 /* end confdefs.h. */
4924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4925 $EGREP "memchr" >/dev
/null
2>&1; then
4928 ac_cv_header_stdc
=no
4934 if test $ac_cv_header_stdc = yes; then
4935 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4936 cat >conftest.
$ac_ext <<_ACEOF
4939 cat confdefs.h
>>conftest.
$ac_ext
4940 cat >>conftest.
$ac_ext <<_ACEOF
4941 /* end confdefs.h. */
4945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4946 $EGREP "free" >/dev
/null
2>&1; then
4949 ac_cv_header_stdc
=no
4955 if test $ac_cv_header_stdc = yes; then
4956 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4957 if test "$cross_compiling" = yes; then
4960 cat >conftest.
$ac_ext <<_ACEOF
4963 cat confdefs.h
>>conftest.
$ac_ext
4964 cat >>conftest.
$ac_ext <<_ACEOF
4965 /* end confdefs.h. */
4968 #if ((' ' & 0x0FF) == 0x020)
4969 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4970 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4972 # define ISLOWER(c) \
4973 (('a' <= (c) && (c) <= 'i') \
4974 || ('j' <= (c) && (c) <= 'r') \
4975 || ('s' <= (c) && (c) <= 'z'))
4976 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4979 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4984 for (i = 0; i < 256; i++)
4985 if (XOR (islower (i), ISLOWER (i))
4986 || toupper (i) != TOUPPER (i))
4991 rm -f conftest
$ac_exeext
4992 if { (ac_try
="$ac_link"
4994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4995 *) ac_try_echo=$ac_try;;
4997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4998 (eval "$ac_link") 2>&5
5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5002 { (case "(($ac_try" in
5003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5004 *) ac_try_echo
=$ac_try;;
5006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5007 (eval "$ac_try") 2>&5
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); }; }; then
5013 echo "$as_me: program exited with status $ac_status" >&5
5014 echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.
$ac_ext >&5
5018 ac_cv_header_stdc
=no
5020 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5026 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5027 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5028 if test $ac_cv_header_stdc = yes; then
5030 cat >>confdefs.h
<<\_ACEOF
5031 #define STDC_HEADERS 1
5036 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5046 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5047 inttypes.h stdint.h unistd.h
5049 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5050 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5052 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5053 echo $ECHO_N "(cached) $ECHO_C" >&6
5055 cat >conftest.
$ac_ext <<_ACEOF
5058 cat confdefs.h
>>conftest.
$ac_ext
5059 cat >>conftest.
$ac_ext <<_ACEOF
5060 /* end confdefs.h. */
5061 $ac_includes_default
5063 #include <$ac_header>
5065 rm -f conftest.
$ac_objext
5066 if { (ac_try
="$ac_compile"
5068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5069 *) ac_try_echo=$ac_try;;
5071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5072 (eval "$ac_compile") 2>conftest.er1
5074 grep -v '^ *+' conftest.er1 >conftest.err
5076 cat conftest.err >&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); } && {
5079 test -z "$ac_c_werror_flag" ||
5080 test ! -s conftest.err
5081 } && test -s conftest.$ac_objext; then
5082 eval "$as_ac_Header=yes"
5084 echo "$as_me: failed program was:" >&5
5085 sed 's/^/| /' conftest.$ac_ext >&5
5087 eval "$as_ac_Header=no"
5090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5092 ac_res=`eval echo '${'$as_ac_Header'}'`
5093 { echo "$as_me:$LINENO: result: $ac_res" >&5
5094 echo "${ECHO_T}$ac_res" >&6; }
5095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5096 cat >>confdefs.h <<_ACEOF
5097 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5106 for ac_header in dlfcn.h
5108 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
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 ac_res=`eval echo '${'$as_ac_Header'}'`
5116 { echo "$as_me:$LINENO: result: $ac_res" >&5
5117 echo "${ECHO_T}$ac_res" >&6; }
5119 # Is the header compilable?
5120 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5122 cat >conftest.$ac_ext <<_ACEOF
5125 cat confdefs.h >>conftest.$ac_ext
5126 cat >>conftest.$ac_ext <<_ACEOF
5127 /* end confdefs.h. */
5128 $ac_includes_default
5129 #include <$ac_header>
5131 rm -f conftest.$ac_objext
5132 if { (ac_try="$ac_compile"
5134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5135 *) ac_try_echo
=$ac_try;;
5137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5138 (eval "$ac_compile") 2>conftest.er1
5140 grep -v '^ *+' conftest.er1
>conftest.err
5142 cat conftest.err
>&5
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); } && {
5145 test -z "$ac_c_werror_flag" ||
5146 test ! -s conftest.err
5147 } && test -s conftest.
$ac_objext; then
5148 ac_header_compiler
=yes
5150 echo "$as_me: failed program was:" >&5
5151 sed 's/^/| /' conftest.
$ac_ext >&5
5153 ac_header_compiler
=no
5156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5157 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5158 echo "${ECHO_T}$ac_header_compiler" >&6; }
5160 # Is the header present?
5161 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5162 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5163 cat >conftest.
$ac_ext <<_ACEOF
5166 cat confdefs.h
>>conftest.
$ac_ext
5167 cat >>conftest.
$ac_ext <<_ACEOF
5168 /* end confdefs.h. */
5169 #include <$ac_header>
5171 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5174 *) ac_try_echo=$ac_try;;
5176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5177 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5179 grep -v '^ *+' conftest.er1 >conftest.err
5181 cat conftest.err >&5
5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 (exit $ac_status); } >/dev/null && {
5184 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5185 test ! -s conftest.err
5187 ac_header_preproc=yes
5189 echo "$as_me: failed program was:" >&5
5190 sed 's/^/| /' conftest.$ac_ext >&5
5192 ac_header_preproc=no
5195 rm -f conftest.err conftest.$ac_ext
5196 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5197 echo "${ECHO_T}$ac_header_preproc" >&6; }
5199 # So? What about this header?
5200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5202 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5203 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5205 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5206 ac_header_preproc=yes
5209 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5210 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5211 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5212 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5213 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5214 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5215 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5216 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5217 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5218 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5219 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5220 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5227 echo $ECHO_N "(cached) $ECHO_C" >&6
5229 eval "$as_ac_Header=\$ac_header_preproc"
5231 ac_res=`eval echo '${'$as_ac_Header'}'`
5232 { echo "$as_me:$LINENO: result: $ac_res" >&5
5233 echo "${ECHO_T}$ac_res" >&6; }
5236 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5237 cat >>confdefs.h <<_ACEOF
5238 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5246 ac_cpp='$CXXCPP $CPPFLAGS'
5247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5250 if test -z "$CXX"; then
5251 if test -n "$CCC"; then
5254 if test -n "$ac_tool_prefix"; then
5255 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5257 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5258 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5261 if test "${ac_cv_prog_CXX+set}" = set; then
5262 echo $ECHO_N "(cached) $ECHO_C" >&6
5264 if test -n "$CXX"; then
5265 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 test -z "$as_dir" && as_dir=.
5272 for ac_exec_ext in '' $ac_executable_extensions; do
5273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5274 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5285 if test -n "$CXX"; then
5286 { echo "$as_me:$LINENO: result: $CXX" >&5
5287 echo "${ECHO_T}$CXX" >&6; }
5289 { echo "$as_me:$LINENO: result: no" >&5
5290 echo "${ECHO_T}no" >&6; }
5294 test -n "$CXX" && break
5297 if test -z "$CXX"; then
5299 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5301 # Extract the first word of "$ac_prog", so it can be a program name with args.
5302 set dummy $ac_prog; ac_word=$2
5303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5305 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5308 if test -n "$ac_ct_CXX"; then
5309 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 test -z "$as_dir" && as_dir=.
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5318 ac_cv_prog_ac_ct_CXX="$ac_prog"
5319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5328 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5329 if test -n "$ac_ct_CXX"; then
5330 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5331 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5333 { echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6; }
5338 test -n "$ac_ct_CXX" && break
5341 if test "x$ac_ct_CXX" = x; then
5344 case $cross_compiling:$ac_tool_warned in
5346 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5347 whose name does not start with the host triplet. If you think this
5348 configuration is useful to you, please write to autoconf@gnu.org." >&5
5349 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5350 whose name does not start with the host triplet. If you think this
5351 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5352 ac_tool_warned=yes ;;
5360 # Provide some information about the compiler.
5361 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5362 ac_compiler=`set X
$ac_compile; echo $2`
5363 { (ac_try="$ac_compiler --version >&5"
5365 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5366 *) ac_try_echo
=$ac_try;;
5368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5369 (eval "$ac_compiler --version >&5") 2>&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); }
5373 { (ac_try
="$ac_compiler -v >&5"
5375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5376 *) ac_try_echo=$ac_try;;
5378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5379 (eval "$ac_compiler -v >&5") 2>&5
5381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382 (exit $ac_status); }
5383 { (ac_try="$ac_compiler -V >&5"
5385 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5386 *) ac_try_echo
=$ac_try;;
5388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5389 (eval "$ac_compiler -V >&5") 2>&5
5391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392 (exit $ac_status); }
5394 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5395 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5396 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5399 cat >conftest.
$ac_ext <<_ACEOF
5402 cat confdefs.h
>>conftest.
$ac_ext
5403 cat >>conftest.
$ac_ext <<_ACEOF
5404 /* end confdefs.h. */
5417 rm -f conftest.
$ac_objext
5418 if { (ac_try
="$ac_compile"
5420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5421 *) ac_try_echo=$ac_try;;
5423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5424 (eval "$ac_compile") 2>conftest.er1
5426 grep -v '^ *+' conftest.er1 >conftest.err
5428 cat conftest.err >&5
5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430 (exit $ac_status); } && {
5431 test -z "$ac_cxx_werror_flag" ||
5432 test ! -s conftest.err
5433 } && test -s conftest.$ac_objext; then
5436 echo "$as_me: failed program was:" >&5
5437 sed 's/^/| /' conftest.$ac_ext >&5
5442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5443 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5446 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5447 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5448 GXX=`test $ac_compiler_gnu = yes && echo yes`
5449 ac_test_CXXFLAGS=${CXXFLAGS+set}
5450 ac_save_CXXFLAGS=$CXXFLAGS
5451 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5452 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5453 if test "${ac_cv_prog_cxx_g+set}" = set; then
5454 echo $ECHO_N "(cached) $ECHO_C" >&6
5456 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5457 ac_cxx_werror_flag=yes
5460 cat >conftest.$ac_ext <<_ACEOF
5463 cat confdefs.h >>conftest.$ac_ext
5464 cat >>conftest.$ac_ext <<_ACEOF
5465 /* end confdefs.h. */
5475 rm -f conftest.$ac_objext
5476 if { (ac_try="$ac_compile"
5478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5479 *) ac_try_echo
=$ac_try;;
5481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5482 (eval "$ac_compile") 2>conftest.er1
5484 grep -v '^ *+' conftest.er1
>conftest.err
5486 cat conftest.err
>&5
5487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488 (exit $ac_status); } && {
5489 test -z "$ac_cxx_werror_flag" ||
5490 test ! -s conftest.err
5491 } && test -s conftest.
$ac_objext; then
5492 ac_cv_prog_cxx_g
=yes
5494 echo "$as_me: failed program was:" >&5
5495 sed 's/^/| /' conftest.
$ac_ext >&5
5498 cat >conftest.
$ac_ext <<_ACEOF
5501 cat confdefs.h
>>conftest.
$ac_ext
5502 cat >>conftest.
$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5513 rm -f conftest.
$ac_objext
5514 if { (ac_try
="$ac_compile"
5516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5517 *) ac_try_echo=$ac_try;;
5519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5520 (eval "$ac_compile") 2>conftest.er1
5522 grep -v '^ *+' conftest.er1 >conftest.err
5524 cat conftest.err >&5
5525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5526 (exit $ac_status); } && {
5527 test -z "$ac_cxx_werror_flag" ||
5528 test ! -s conftest.err
5529 } && test -s conftest.$ac_objext; then
5532 echo "$as_me: failed program was:" >&5
5533 sed 's/^/| /' conftest.$ac_ext >&5
5535 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5537 cat >conftest.$ac_ext <<_ACEOF
5540 cat confdefs.h >>conftest.$ac_ext
5541 cat >>conftest.$ac_ext <<_ACEOF
5542 /* end confdefs.h. */
5552 rm -f conftest.$ac_objext
5553 if { (ac_try="$ac_compile"
5555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5556 *) ac_try_echo
=$ac_try;;
5558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5559 (eval "$ac_compile") 2>conftest.er1
5561 grep -v '^ *+' conftest.er1
>conftest.err
5563 cat conftest.err
>&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); } && {
5566 test -z "$ac_cxx_werror_flag" ||
5567 test ! -s conftest.err
5568 } && test -s conftest.
$ac_objext; then
5569 ac_cv_prog_cxx_g
=yes
5571 echo "$as_me: failed program was:" >&5
5572 sed 's/^/| /' conftest.
$ac_ext >&5
5577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5584 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5586 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5587 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5588 if test "$ac_test_CXXFLAGS" = set; then
5589 CXXFLAGS
=$ac_save_CXXFLAGS
5590 elif test $ac_cv_prog_cxx_g = yes; then
5591 if test "$GXX" = yes; then
5597 if test "$GXX" = yes; then
5604 ac_cpp
='$CXXCPP $CPPFLAGS'
5605 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5606 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5607 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5609 depcc
="$CXX" am_compiler_list
=
5611 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5612 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5613 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5617 # We make a subdir and do the tests there. Otherwise we can end up
5618 # making bogus files that we don't know about and never remove. For
5619 # instance it was reported that on HP-UX the gcc test will end up
5620 # making a dummy file named `D' -- because `-MD' means `put the output
5623 # Copy depcomp to subdir because otherwise we won't find it if we're
5624 # using a relative directory.
5625 cp "$am_depcomp" conftest.dir
5627 # We will build objects and dependencies in a subdirectory because
5628 # it helps to detect inapplicable dependency modes. For instance
5629 # both Tru64's cc and ICC support -MD to output dependencies as a
5630 # side effect of compilation, but ICC will put the dependencies in
5631 # the current directory while Tru64 will put them in the object
5635 am_cv_CXX_dependencies_compiler_type
=none
5636 if test "$am_compiler_list" = ""; then
5637 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5639 for depmode
in $am_compiler_list; do
5640 # Setup a source with many dependencies, because some compilers
5641 # like to wrap large dependency lists on column 80 (with \), and
5642 # we should not choose a depcomp mode which is confused by this.
5644 # We need to recreate these files for each test, as the compiler may
5645 # overwrite some of them when testing with obscure command lines.
5646 # This happens at least with the AIX C compiler.
5648 for i
in 1 2 3 4 5 6; do
5649 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5652 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5656 # after this tag, mechanisms are not by side-effect, so they'll
5657 # only be used when explicitly requested
5658 if test "x$enable_dependency_tracking" = xyes
; then
5666 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5667 # mode. It turns out that the SunPro C++ compiler does not properly
5668 # handle `-M -o', and we need to detect this.
5669 if depmode
=$depmode \
5670 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5671 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5672 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5673 >/dev
/null
2>conftest.err
&&
5674 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5675 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5676 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5677 # icc doesn't choke on unknown options, it will just issue warnings
5678 # (even with -Werror). So we grep stderr for any message
5679 # that says an option was ignored.
5680 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
5681 am_cv_CXX_dependencies_compiler_type
=$depmode
5690 am_cv_CXX_dependencies_compiler_type
=none
5694 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5695 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5696 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5701 test "x$enable_dependency_tracking" != xno \
5702 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5703 am__fastdepCXX_TRUE
=
5704 am__fastdepCXX_FALSE
='#'
5706 am__fastdepCXX_TRUE
='#'
5707 am__fastdepCXX_FALSE
=
5713 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5714 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5715 (test "X$CXX" != "Xg++"))) ; then
5717 ac_cpp
='$CXXCPP $CPPFLAGS'
5718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5721 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5722 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5723 if test -z "$CXXCPP"; then
5724 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5727 # Double quotes because CXXCPP needs to be expanded
5728 for CXXCPP
in "$CXX -E" "/lib/cpp"
5731 for ac_cxx_preproc_warn_flag
in '' yes
5733 # Use a header file that comes with gcc, so configuring glibc
5734 # with a fresh cross-compiler works.
5735 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5736 # <limits.h> exists even on freestanding compilers.
5737 # On the NeXT, cc -E runs the code through the compiler's parser,
5738 # not just through cpp. "Syntax error" is here to catch this case.
5739 cat >conftest.
$ac_ext <<_ACEOF
5742 cat confdefs.h
>>conftest.
$ac_ext
5743 cat >>conftest.
$ac_ext <<_ACEOF
5744 /* end confdefs.h. */
5746 # include <limits.h>
5748 # include <assert.h>
5752 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5755 *) ac_try_echo=$ac_try;;
5757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5760 grep -v '^ *+' conftest.er1 >conftest.err
5762 cat conftest.err >&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); } >/dev/null && {
5765 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5766 test ! -s conftest.err
5770 echo "$as_me: failed program was:" >&5
5771 sed 's/^/| /' conftest.$ac_ext >&5
5773 # Broken: fails on valid input.
5777 rm -f conftest.err conftest.$ac_ext
5779 # OK, works on sane cases. Now check whether nonexistent headers
5780 # can be detected and how.
5781 cat >conftest.$ac_ext <<_ACEOF
5784 cat confdefs.h >>conftest.$ac_ext
5785 cat >>conftest.$ac_ext <<_ACEOF
5786 /* end confdefs.h. */
5787 #include <ac_nonexistent.h>
5789 if { (ac_try="$ac_cpp conftest.$ac_ext"
5791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5792 *) ac_try_echo
=$ac_try;;
5794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5797 grep -v '^ *+' conftest.er1
>conftest.err
5799 cat conftest.err
>&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); } >/dev
/null
&& {
5802 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5803 test ! -s conftest.err
5805 # Broken: success on invalid input.
5808 echo "$as_me: failed program was:" >&5
5809 sed 's/^/| /' conftest.
$ac_ext >&5
5811 # Passes both tests.
5816 rm -f conftest.err conftest.
$ac_ext
5819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5820 rm -f conftest.err conftest.
$ac_ext
5821 if $ac_preproc_ok; then
5826 ac_cv_prog_CXXCPP
=$CXXCPP
5829 CXXCPP
=$ac_cv_prog_CXXCPP
5831 ac_cv_prog_CXXCPP
=$CXXCPP
5833 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5834 echo "${ECHO_T}$CXXCPP" >&6; }
5836 for ac_cxx_preproc_warn_flag
in '' yes
5838 # Use a header file that comes with gcc, so configuring glibc
5839 # with a fresh cross-compiler works.
5840 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5841 # <limits.h> exists even on freestanding compilers.
5842 # On the NeXT, cc -E runs the code through the compiler's parser,
5843 # not just through cpp. "Syntax error" is here to catch this case.
5844 cat >conftest.
$ac_ext <<_ACEOF
5847 cat confdefs.h
>>conftest.
$ac_ext
5848 cat >>conftest.
$ac_ext <<_ACEOF
5849 /* end confdefs.h. */
5851 # include <limits.h>
5853 # include <assert.h>
5857 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5860 *) ac_try_echo=$ac_try;;
5862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5865 grep -v '^ *+' conftest.er1 >conftest.err
5867 cat conftest.err >&5
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); } >/dev/null && {
5870 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5871 test ! -s conftest.err
5875 echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.$ac_ext >&5
5878 # Broken: fails on valid input.
5882 rm -f conftest.err conftest.$ac_ext
5884 # OK, works on sane cases. Now check whether nonexistent headers
5885 # can be detected and how.
5886 cat >conftest.$ac_ext <<_ACEOF
5889 cat confdefs.h >>conftest.$ac_ext
5890 cat >>conftest.$ac_ext <<_ACEOF
5891 /* end confdefs.h. */
5892 #include <ac_nonexistent.h>
5894 if { (ac_try="$ac_cpp conftest.$ac_ext"
5896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5897 *) ac_try_echo
=$ac_try;;
5899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5900 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5902 grep -v '^ *+' conftest.er1
>conftest.err
5904 cat conftest.err
>&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); } >/dev
/null
&& {
5907 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5908 test ! -s conftest.err
5910 # Broken: success on invalid input.
5913 echo "$as_me: failed program was:" >&5
5914 sed 's/^/| /' conftest.
$ac_ext >&5
5916 # Passes both tests.
5921 rm -f conftest.err conftest.
$ac_ext
5924 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5925 rm -f conftest.err conftest.
$ac_ext
5926 if $ac_preproc_ok; then
5929 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5930 See \`config.log' for more details." >&5
5931 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5932 See \`config.log' for more details." >&2;}
5933 { (exit 1); exit 1; }; }
5937 ac_cpp
='$CXXCPP $CPPFLAGS'
5938 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5939 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5940 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5946 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5947 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5948 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5949 if test -n "$ac_tool_prefix"; then
5950 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
5952 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5953 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5956 if test "${ac_cv_prog_F77+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 if test -n "$F77"; then
5960 ac_cv_prog_F77
="$F77" # Let the user override the test.
5962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5966 test -z "$as_dir" && as_dir
=.
5967 for ac_exec_ext
in '' $ac_executable_extensions; do
5968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5969 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5980 if test -n "$F77"; then
5981 { echo "$as_me:$LINENO: result: $F77" >&5
5982 echo "${ECHO_T}$F77" >&6; }
5984 { echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6; }
5989 test -n "$F77" && break
5992 if test -z "$F77"; then
5994 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
5996 # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy
$ac_prog; ac_word
=$2
5998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6000 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
6003 if test -n "$ac_ct_F77"; then
6004 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6010 test -z "$as_dir" && as_dir
=.
6011 for ac_exec_ext
in '' $ac_executable_extensions; do
6012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013 ac_cv_prog_ac_ct_F77
="$ac_prog"
6014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6024 if test -n "$ac_ct_F77"; then
6025 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6026 echo "${ECHO_T}$ac_ct_F77" >&6; }
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6033 test -n "$ac_ct_F77" && break
6036 if test "x$ac_ct_F77" = x
; then
6039 case $cross_compiling:$ac_tool_warned in
6041 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6042 whose name does not start with the host triplet. If you think this
6043 configuration is useful to you, please write to autoconf@gnu.org." >&5
6044 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6045 whose name does not start with the host triplet. If you think this
6046 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6047 ac_tool_warned
=yes ;;
6054 # Provide some information about the compiler.
6055 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6056 ac_compiler
=`set X $ac_compile; echo $2`
6057 { (ac_try
="$ac_compiler --version >&5"
6059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6060 *) ac_try_echo=$ac_try;;
6062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6063 (eval "$ac_compiler --version >&5") 2>&5
6065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066 (exit $ac_status); }
6067 { (ac_try="$ac_compiler -v >&5"
6069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6070 *) ac_try_echo
=$ac_try;;
6072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6073 (eval "$ac_compiler -v >&5") 2>&5
6075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076 (exit $ac_status); }
6077 { (ac_try
="$ac_compiler -V >&5"
6079 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6080 *) ac_try_echo=$ac_try;;
6082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6083 (eval "$ac_compiler -V >&5") 2>&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); }
6089 # If we don't use `.F
' as extension, the preprocessor is not run on the
6090 # input file. (Note that this only needs to work for GNU compilers.)
6093 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6094 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6095 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 cat >conftest.$ac_ext <<_ACEOF
6106 rm -f conftest.$ac_objext
6107 if { (ac_try="$ac_compile"
6109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6110 *) ac_try_echo=$ac_try;;
6112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6113 (eval "$ac_compile") 2>conftest.er1
6115 grep -v '^
*+' conftest.er1 >conftest.err
6117 cat conftest.err >&5
6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6119 (exit $ac_status); } && {
6120 test -z "$ac_f77_werror_flag" ||
6121 test ! -s conftest.err
6122 } && test -s conftest.$ac_objext; then
6125 echo "$as_me: failed program was:" >&5
6126 sed 's
/^
/|
/' conftest.$ac_ext >&5
6131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6132 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6135 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6136 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6138 ac_test_FFLAGS=${FFLAGS+set}
6139 ac_save_FFLAGS=$FFLAGS
6141 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6142 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6143 if test "${ac_cv_prog_f77_g+set}" = set; then
6144 echo $ECHO_N "(cached) $ECHO_C" >&6
6147 cat >conftest.$ac_ext <<_ACEOF
6152 rm -f conftest.$ac_objext
6153 if { (ac_try="$ac_compile"
6155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6156 *) ac_try_echo=$ac_try;;
6158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6159 (eval "$ac_compile") 2>conftest.er1
6161 grep -v '^
*+' conftest.er1 >conftest.err
6163 cat conftest.err >&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); } && {
6166 test -z "$ac_f77_werror_flag" ||
6167 test ! -s conftest.err
6168 } && test -s conftest.$ac_objext; then
6169 ac_cv_prog_f77_g=yes
6171 echo "$as_me: failed program was:" >&5
6172 sed 's
/^
/|
/' conftest.$ac_ext >&5
6177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6180 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6181 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6182 if test "$ac_test_FFLAGS" = set; then
6183 FFLAGS=$ac_save_FFLAGS
6184 elif test $ac_cv_prog_f77_g = yes; then
6185 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6191 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6198 G77=`test $ac_compiler_gnu = yes && echo yes`
6200 ac_cpp='$CPP $CPPFLAGS'
6201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6202 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6207 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6209 # find the maximum length of command line arguments
6210 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6211 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6212 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6213 echo $ECHO_N "(cached) $ECHO_C" >&6
6220 # On DJGPP, this test can blow up pretty badly due to problems in libc
6221 # (any single argument exceeding 2000 bytes causes a buffer overrun
6222 # during glob expansion). Even if it were fixed, the result of this
6223 # check would be larger than it should be.
6224 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6228 # Under GNU Hurd, this test is not required because there is
6229 # no limit to the length of command line arguments.
6230 # Libtool will interpret -1 as no limit whatsoever
6231 lt_cv_sys_max_cmd_len
=-1;
6235 # On Win9x/ME, this test blows up -- it succeeds, but takes
6236 # about 5 minutes as the teststring grows exponentially.
6237 # Worse, since 9x/ME are not pre-emptively multitasking,
6238 # you end up with a "frozen" computer, even though with patience
6239 # the test eventually succeeds (with a max line length of 256k).
6240 # Instead, let's just punt: use the minimum linelength reported by
6241 # all of the supported platforms: 8192 (on NT/2K/XP).
6242 lt_cv_sys_max_cmd_len
=8192;
6246 # On AmigaOS with pdksh, this test takes hours, literally.
6247 # So we just punt and use a minimum line length of 8192.
6248 lt_cv_sys_max_cmd_len
=8192;
6251 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6252 # This has been around since 386BSD, at least. Likely further.
6253 if test -x /sbin
/sysctl
; then
6254 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6255 elif test -x /usr
/sbin
/sysctl
; then
6256 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6258 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6260 # And add a safety zone
6261 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6262 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6265 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6266 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6267 # nice to cause kernel panics so lets avoid the loop below.
6268 # First set a reasonable default.
6269 lt_cv_sys_max_cmd_len
=16384
6271 if test -x /sbin
/sysconfig
; then
6272 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6273 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6278 # If test is not a shell built-in, we'll probably end up computing a
6279 # maximum length that is only half of the actual maximum length, but
6281 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6282 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6283 = "XX$teststring") >/dev
/null
2>&1 &&
6284 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6285 lt_cv_sys_max_cmd_len
=$new_result &&
6286 test $i != 17 # 1/2 MB should be enough
6289 teststring
=$teststring$teststring
6292 # Add a significant safety factor because C++ compilers can tack on massive
6293 # amounts of additional arguments before passing them to the linker.
6294 # It appears as though 1/2 is a usable value.
6295 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6301 if test -n $lt_cv_sys_max_cmd_len ; then
6302 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6303 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6305 { echo "$as_me:$LINENO: result: none" >&5
6306 echo "${ECHO_T}none" >&6; }
6312 # Check for command to grab the raw symbol name followed by C symbol from nm.
6313 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6314 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6315 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6316 echo $ECHO_N "(cached) $ECHO_C" >&6
6319 # These are sane defaults that work on at least a few old systems.
6320 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6322 # Character class describing NM global symbol codes.
6323 symcode
='[BCDEGRST]'
6325 # Regexp to match symbols that can be accessed directly from C.
6326 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6328 # Transform an extracted symbol line into a proper C declaration
6329 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6331 # Transform an extracted symbol line into symbol name and symbol address
6332 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'"
6334 # Define system-specific variables.
6339 cygwin
* | mingw
* | pw32
*)
6340 symcode
='[ABCDGISTW]'
6342 hpux
*) # Its linker distinguishes data from code symbols
6343 if test "$host_cpu" = ia64
; then
6344 symcode
='[ABCDEGRST]'
6346 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6347 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'"
6350 if test "$host_cpu" = ia64
; then
6351 symcode
='[ABCDGIRSTW]'
6352 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6353 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'"
6357 symcode
='[BCDEGRST]'
6360 symcode
='[BCDEGQRST]'
6370 # Handle CRLF in mingw tool chain
6374 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6378 # If we're using GNU nm, then use its standard symbol codes.
6379 case `$NM -V 2>&1` in
6380 *GNU
* |
*'with BFD'*)
6381 symcode
='[ABCDGIRSTW]' ;;
6384 # Try without a prefix undercore, then with it.
6385 for ac_symprfx
in "" "_"; do
6387 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6388 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6390 # Write the raw and C identifiers.
6391 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6393 # Check to see that the pipe works correctly.
6397 cat > conftest.
$ac_ext <<EOF
6402 void nm_test_func(){}
6406 int main(){nm_test_var='a';nm_test_func();return(0);}
6409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6410 (eval $ac_compile) 2>&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); }; then
6414 # Now try to grab the symbols.
6416 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6417 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); } && test -s "$nlist"; then
6421 # Try sorting and uniquifying the output.
6422 if sort "$nlist" |
uniq > "$nlist"T
; then
6423 mv -f "$nlist"T
"$nlist"
6428 # Make sure that we snagged all the symbols we need.
6429 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6430 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6431 cat <<EOF > conftest.$ac_ext
6437 # Now generate the symbol file.
6438 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6440 cat <<EOF >> conftest.$ac_ext
6441 #if defined (__STDC__) && __STDC__
6442 # define lt_ptr_t void *
6444 # define lt_ptr_t char *
6448 /* The mapping between symbol names and symbols. */
6453 lt_preloaded_symbols[] =
6456 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6457 cat <<\EOF
>> conftest.
$ac_ext
6465 # Now try linking the two files.
6466 mv conftest.
$ac_objext conftstm.
$ac_objext
6467 lt_save_LIBS
="$LIBS"
6468 lt_save_CFLAGS
="$CFLAGS"
6469 LIBS
="conftstm.$ac_objext"
6470 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6472 (eval $ac_link) 2>&5
6474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6478 LIBS
="$lt_save_LIBS"
6479 CFLAGS
="$lt_save_CFLAGS"
6481 echo "cannot find nm_test_func in $nlist" >&5
6484 echo "cannot find nm_test_var in $nlist" >&5
6487 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6490 echo "$progname: failed program was:" >&5
6491 cat conftest.
$ac_ext >&5
6493 rm -f conftest
* conftst
*
6495 # Do not use the global_symbol_pipe unless it works.
6496 if test "$pipe_works" = yes; then
6499 lt_cv_sys_global_symbol_pipe
=
6505 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6506 lt_cv_sys_global_symbol_to_cdecl
=
6508 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6509 { echo "$as_me:$LINENO: result: failed" >&5
6510 echo "${ECHO_T}failed" >&6; }
6512 { echo "$as_me:$LINENO: result: ok" >&5
6513 echo "${ECHO_T}ok" >&6; }
6516 { echo "$as_me:$LINENO: checking for objdir" >&5
6517 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6518 if test "${lt_cv_objdir+set}" = set; then
6519 echo $ECHO_N "(cached) $ECHO_C" >&6
6521 rm -f .libs
2>/dev
/null
6522 mkdir .libs
2>/dev
/null
6523 if test -d .libs
; then
6526 # MS-DOS does not allow filenames that begin with a dot.
6529 rmdir .libs
2>/dev
/null
6531 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6532 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6533 objdir
=$lt_cv_objdir
6541 # AIX sometimes has problems with the GCC collect2 program. For some
6542 # reason, if we set the COLLECT_NAMES environment variable, the problems
6543 # vanish in a puff of smoke.
6544 if test "X${COLLECT_NAMES+set}" != Xset
; then
6546 export COLLECT_NAMES
6551 # Sed substitution that helps us do robust quoting. It backslashifies
6552 # metacharacters that are still active within double-quoted strings.
6553 Xsed
='sed -e 1s/^X//'
6554 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6556 # Same as above, but do not quote variable references.
6557 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6559 # Sed substitution to delay expansion of an escaped shell variable in a
6560 # double_quote_subst'ed string.
6561 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6563 # Sed substitution to avoid accidental globbing in evaled expressions
6564 no_glob_subst
='s/\*/\\\*/g'
6570 default_ofile
=libtool
6571 can_build_shared
=yes
6573 # All known linkers require a `.a' archive for static linking (except MSVC,
6574 # which needs '.lib').
6576 ltmain
="$ac_aux_dir/ltmain.sh"
6577 ofile
="$default_ofile"
6578 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6580 if test -n "$ac_tool_prefix"; then
6581 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6582 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6583 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6585 if test "${ac_cv_prog_AR+set}" = set; then
6586 echo $ECHO_N "(cached) $ECHO_C" >&6
6588 if test -n "$AR"; then
6589 ac_cv_prog_AR
="$AR" # Let the user override the test.
6591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6595 test -z "$as_dir" && as_dir
=.
6596 for ac_exec_ext
in '' $ac_executable_extensions; do
6597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6598 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6609 if test -n "$AR"; then
6610 { echo "$as_me:$LINENO: result: $AR" >&5
6611 echo "${ECHO_T}$AR" >&6; }
6613 { echo "$as_me:$LINENO: result: no" >&5
6614 echo "${ECHO_T}no" >&6; }
6619 if test -z "$ac_cv_prog_AR"; then
6621 # Extract the first word of "ar", so it can be a program name with args.
6622 set dummy
ar; ac_word
=$2
6623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6625 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6626 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 if test -n "$ac_ct_AR"; then
6629 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6635 test -z "$as_dir" && as_dir
=.
6636 for ac_exec_ext
in '' $ac_executable_extensions; do
6637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6638 ac_cv_prog_ac_ct_AR
="ar"
6639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6649 if test -n "$ac_ct_AR"; then
6650 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6651 echo "${ECHO_T}$ac_ct_AR" >&6; }
6653 { echo "$as_me:$LINENO: result: no" >&5
6654 echo "${ECHO_T}no" >&6; }
6657 if test "x$ac_ct_AR" = x
; then
6660 case $cross_compiling:$ac_tool_warned in
6662 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6663 whose name does not start with the host triplet. If you think this
6664 configuration is useful to you, please write to autoconf@gnu.org." >&5
6665 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6666 whose name does not start with the host triplet. If you think this
6667 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6668 ac_tool_warned
=yes ;;
6676 if test -n "$ac_tool_prefix"; then
6677 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6678 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6681 if test "${ac_cv_prog_RANLIB+set}" = set; then
6682 echo $ECHO_N "(cached) $ECHO_C" >&6
6684 if test -n "$RANLIB"; then
6685 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6691 test -z "$as_dir" && as_dir
=.
6692 for ac_exec_ext
in '' $ac_executable_extensions; do
6693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6694 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 RANLIB
=$ac_cv_prog_RANLIB
6705 if test -n "$RANLIB"; then
6706 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6707 echo "${ECHO_T}$RANLIB" >&6; }
6709 { echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6; }
6715 if test -z "$ac_cv_prog_RANLIB"; then
6716 ac_ct_RANLIB
=$RANLIB
6717 # Extract the first word of "ranlib", so it can be a program name with args.
6718 set dummy ranlib
; ac_word
=$2
6719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6721 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6722 echo $ECHO_N "(cached) $ECHO_C" >&6
6724 if test -n "$ac_ct_RANLIB"; then
6725 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6731 test -z "$as_dir" && as_dir
=.
6732 for ac_exec_ext
in '' $ac_executable_extensions; do
6733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6744 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6745 if test -n "$ac_ct_RANLIB"; then
6746 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6747 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6749 { echo "$as_me:$LINENO: result: no" >&5
6750 echo "${ECHO_T}no" >&6; }
6753 if test "x$ac_ct_RANLIB" = x
; then
6756 case $cross_compiling:$ac_tool_warned in
6758 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6759 whose name does not start with the host triplet. If you think this
6760 configuration is useful to you, please write to autoconf@gnu.org." >&5
6761 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6762 whose name does not start with the host triplet. If you think this
6763 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6764 ac_tool_warned
=yes ;;
6766 RANLIB
=$ac_ct_RANLIB
6769 RANLIB
="$ac_cv_prog_RANLIB"
6772 if test -n "$ac_tool_prefix"; then
6773 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6774 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6777 if test "${ac_cv_prog_STRIP+set}" = set; then
6778 echo $ECHO_N "(cached) $ECHO_C" >&6
6780 if test -n "$STRIP"; then
6781 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6787 test -z "$as_dir" && as_dir
=.
6788 for ac_exec_ext
in '' $ac_executable_extensions; do
6789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6790 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6800 STRIP
=$ac_cv_prog_STRIP
6801 if test -n "$STRIP"; then
6802 { echo "$as_me:$LINENO: result: $STRIP" >&5
6803 echo "${ECHO_T}$STRIP" >&6; }
6805 { echo "$as_me:$LINENO: result: no" >&5
6806 echo "${ECHO_T}no" >&6; }
6811 if test -z "$ac_cv_prog_STRIP"; then
6813 # Extract the first word of "strip", so it can be a program name with args.
6814 set dummy strip
; ac_word
=$2
6815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6817 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6818 echo $ECHO_N "(cached) $ECHO_C" >&6
6820 if test -n "$ac_ct_STRIP"; then
6821 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6827 test -z "$as_dir" && as_dir
=.
6828 for ac_exec_ext
in '' $ac_executable_extensions; do
6829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6830 ac_cv_prog_ac_ct_STRIP
="strip"
6831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6840 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6841 if test -n "$ac_ct_STRIP"; then
6842 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6843 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6845 { echo "$as_me:$LINENO: result: no" >&5
6846 echo "${ECHO_T}no" >&6; }
6849 if test "x$ac_ct_STRIP" = x
; then
6852 case $cross_compiling:$ac_tool_warned in
6854 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6855 whose name does not start with the host triplet. If you think this
6856 configuration is useful to you, please write to autoconf@gnu.org." >&5
6857 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6858 whose name does not start with the host triplet. If you think this
6859 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6860 ac_tool_warned
=yes ;;
6865 STRIP
="$ac_cv_prog_STRIP"
6870 old_CFLAGS
="$CFLAGS"
6872 # Set sane defaults for various variables
6873 test -z "$AR" && AR
=ar
6874 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6875 test -z "$AS" && AS
=as
6876 test -z "$CC" && CC
=cc
6877 test -z "$LTCC" && LTCC
=$CC
6878 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6879 test -z "$LD" && LD
=ld
6880 test -z "$LN_S" && LN_S
="ln -s"
6881 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6882 test -z "$NM" && NM
=nm
6883 test -z "$SED" && SED
=sed
6884 test -z "$OBJDUMP" && OBJDUMP
=objdump
6885 test -z "$RANLIB" && RANLIB
=:
6886 test -z "$STRIP" && STRIP
=:
6887 test -z "$ac_objext" && ac_objext
=o
6889 # Determine commands to create old-style static archives.
6890 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6891 old_postinstall_cmds
='chmod 644 $oldlib'
6892 old_postuninstall_cmds
=
6894 if test -n "$RANLIB"; then
6897 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6900 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
6903 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6906 for cc_temp
in $compiler""; do
6908 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6909 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6914 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6917 # Only perform the check for file, if the check method requires it
6918 case $deplibs_check_method in
6920 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6921 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6922 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6923 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6924 echo $ECHO_N "(cached) $ECHO_C" >&6
6928 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6931 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6932 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6933 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6934 for ac_dir
in $ac_dummy; do
6936 test -z "$ac_dir" && ac_dir
=.
6937 if test -f $ac_dir/${ac_tool_prefix}file; then
6938 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6939 if test -n "$file_magic_test_file"; then
6940 case $deplibs_check_method in
6942 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6943 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6944 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6945 $EGREP "$file_magic_regex" > /dev
/null
; then
6950 *** Warning: the command libtool uses to detect shared libraries,
6951 *** $file_magic_cmd, produces output that libtool cannot recognize.
6952 *** The result is that libtool may fail to recognize shared libraries
6953 *** as such. This will affect the creation of libtool libraries that
6954 *** depend on shared libraries, but programs linked with such libtool
6955 *** libraries will work regardless of this problem. Nevertheless, you
6956 *** may want to report the problem to your system manager and/or to
6957 *** bug-libtool@gnu.org
6967 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6972 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6973 if test -n "$MAGIC_CMD"; then
6974 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6975 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6977 { echo "$as_me:$LINENO: result: no" >&5
6978 echo "${ECHO_T}no" >&6; }
6981 if test -z "$lt_cv_path_MAGIC_CMD"; then
6982 if test -n "$ac_tool_prefix"; then
6983 { echo "$as_me:$LINENO: checking for file" >&5
6984 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6985 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6986 echo $ECHO_N "(cached) $ECHO_C" >&6
6990 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6993 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6994 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6995 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6996 for ac_dir
in $ac_dummy; do
6998 test -z "$ac_dir" && ac_dir
=.
6999 if test -f $ac_dir/file; then
7000 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7001 if test -n "$file_magic_test_file"; then
7002 case $deplibs_check_method in
7004 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7005 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7006 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7007 $EGREP "$file_magic_regex" > /dev
/null
; then
7012 *** Warning: the command libtool uses to detect shared libraries,
7013 *** $file_magic_cmd, produces output that libtool cannot recognize.
7014 *** The result is that libtool may fail to recognize shared libraries
7015 *** as such. This will affect the creation of libtool libraries that
7016 *** depend on shared libraries, but programs linked with such libtool
7017 *** libraries will work regardless of this problem. Nevertheless, you
7018 *** may want to report the problem to your system manager and/or to
7019 *** bug-libtool@gnu.org
7029 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7034 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7035 if test -n "$MAGIC_CMD"; then
7036 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7037 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7039 { echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6; }
7055 # Check whether --enable-libtool-lock was given.
7056 if test "${enable_libtool_lock+set}" = set; then
7057 enableval
=$enable_libtool_lock;
7060 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7063 # Check whether --with-pic was given.
7064 if test "${with_pic+set}" = set; then
7065 withval
=$with_pic; pic_mode
="$withval"
7070 test -z "$pic_mode" && pic_mode
=default
7072 # Use C for the default configuration in the libtool script
7076 ac_cpp
='$CPP $CPPFLAGS'
7077 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7078 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7079 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7082 # Source file extension for C test sources.
7085 # Object file extension for compiled C test sources.
7089 # Code to be used in simple compile tests
7090 lt_simple_compile_test_code
="int some_variable = 0;\n"
7092 # Code to be used in simple link tests
7093 lt_simple_link_test_code
='int main(){return(0);}\n'
7096 # If no C compiler was specified, use CC.
7099 # Allow CC to be a program name with arguments.
7103 # save warnings/boilerplate of simple test code
7104 ac_outfile
=conftest.
$ac_objext
7105 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7106 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
7107 _lt_compiler_boilerplate
=`cat conftest.err`
7110 ac_outfile
=conftest.
$ac_objext
7111 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7112 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
7113 _lt_linker_boilerplate
=`cat conftest.err`
7118 # Check for any special shared library compilation flags.
7121 if test "$GCC" = no
; then
7124 lt_prog_cc_shlib
='-belf'
7128 if test -n "$lt_prog_cc_shlib"; then
7129 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
7130 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
7131 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
7133 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
7134 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
7135 lt_cv_prog_cc_can_build_shared
=no
7141 # Check to make sure the static flag actually works.
7143 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
7144 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
7145 if test "${lt_prog_compiler_static_works+set}" = set; then
7146 echo $ECHO_N "(cached) $ECHO_C" >&6
7148 lt_prog_compiler_static_works
=no
7149 save_LDFLAGS
="$LDFLAGS"
7150 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
7151 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7152 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7153 # The linker can only warn and ignore the option if not recognized
7154 # So say no if there are warnings
7155 if test -s conftest.err
; then
7156 # Append any errors to the config.log.
7157 cat conftest.err
1>&5
7158 $echo "X$_lt_linker_boilerplate" |
$Xsed > conftest.exp
7159 $SED '/^$/d' conftest.err
>conftest.er2
7160 if diff conftest.exp conftest.er2
>/dev
/null
; then
7161 lt_prog_compiler_static_works
=yes
7164 lt_prog_compiler_static_works
=yes
7168 LDFLAGS
="$save_LDFLAGS"
7171 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7172 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7174 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7177 lt_prog_compiler_static
=
7183 lt_prog_compiler_no_builtin_flag
=
7185 if test "$GCC" = yes; then
7186 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7189 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7190 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7191 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7192 echo $ECHO_N "(cached) $ECHO_C" >&6
7194 lt_cv_prog_compiler_rtti_exceptions
=no
7195 ac_outfile
=conftest.
$ac_objext
7196 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7197 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7198 # Insert the option either (1) after the last *FLAGS variable, or
7199 # (2) before a word containing "conftest.", or (3) at the end.
7200 # Note that $ac_compile itself does not contain backslashes and begins
7201 # with a dollar sign (not a hyphen), so the echo should work correctly.
7202 # The option is referenced via a variable to avoid confusing sed.
7203 lt_compile
=`echo "$ac_compile" | $SED \
7204 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7205 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7206 -e 's:$: $lt_compiler_flag:'`
7207 (eval echo "\"\$as_me:7207: $lt_compile\"" >&5)
7208 (eval "$lt_compile" 2>conftest.err
)
7210 cat conftest.err
>&5
7211 echo "$as_me:7211: \$? = $ac_status" >&5
7212 if (exit $ac_status) && test -s "$ac_outfile"; then
7213 # The compiler can only warn and ignore the option if not recognized
7214 # So say no if there are warnings other than the usual output.
7215 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
7216 $SED '/^$/d' conftest.err
>conftest.er2
7217 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7218 lt_cv_prog_compiler_rtti_exceptions
=yes
7224 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7225 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7227 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7228 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7235 lt_prog_compiler_wl
=
7236 lt_prog_compiler_pic
=
7237 lt_prog_compiler_static
=
7239 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7240 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7242 if test "$GCC" = yes; then
7243 lt_prog_compiler_wl
='-Wl,'
7244 lt_prog_compiler_static
='-static'
7248 # All AIX code is PIC.
7249 if test "$host_cpu" = ia64
; then
7250 # AIX 5 now supports IA64 processor
7251 lt_prog_compiler_static
='-Bstatic'
7256 # FIXME: we need at least 68020 code to build shared libraries, but
7257 # adding the `-m68020' flag to GCC prevents building anything better,
7259 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7262 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7263 # PIC is the default for these OSes.
7266 mingw
* | pw32
* | os2
*)
7267 # This hack is so that the source file can tell whether it is being
7268 # built for inclusion in a dll (and should export symbols for example).
7269 lt_prog_compiler_pic
='-DDLL_EXPORT'
7272 darwin
* | rhapsody
*)
7273 # PIC is the default on this platform
7274 # Common symbols not allowed in MH_DYLIB files
7275 lt_prog_compiler_pic
='-fno-common'
7279 # Just because we use GCC doesn't mean we suddenly get shared libraries
7280 # on systems that don't support them.
7281 lt_prog_compiler_can_build_shared
=no
7286 if test -d /usr
/nec
; then
7287 lt_prog_compiler_pic
=-Kconform_pic
7292 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7299 lt_prog_compiler_pic
='-fPIC'
7305 lt_prog_compiler_pic
='-fPIC'
7309 # PORTME Check for flag to pass linker flags through the system compiler.
7312 lt_prog_compiler_wl
='-Wl,'
7313 if test "$host_cpu" = ia64
; then
7314 # AIX 5 now supports IA64 processor
7315 lt_prog_compiler_static
='-Bstatic'
7317 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7321 # PIC is the default on this platform
7322 # Common symbols not allowed in MH_DYLIB files
7323 case $cc_basename in
7325 lt_prog_compiler_pic
='-qnocommon'
7326 lt_prog_compiler_wl
='-Wl,'
7331 mingw
* | pw32
* | os2
*)
7332 # This hack is so that the source file can tell whether it is being
7333 # built for inclusion in a dll (and should export symbols for example).
7334 lt_prog_compiler_pic
='-DDLL_EXPORT'
7337 hpux9
* | hpux10
* | hpux11
*)
7338 lt_prog_compiler_wl
='-Wl,'
7339 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7346 lt_prog_compiler_pic
='+Z'
7349 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7350 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7353 irix5
* | irix6
* | nonstopux
*)
7354 lt_prog_compiler_wl
='-Wl,'
7355 # PIC (with -KPIC) is the default.
7356 lt_prog_compiler_static
='-non_shared'
7360 lt_prog_compiler_pic
='-KPIC'
7361 lt_prog_compiler_static
='-Bstatic'
7365 case $cc_basename in
7367 lt_prog_compiler_wl
='-Wl,'
7368 lt_prog_compiler_pic
='-KPIC'
7369 lt_prog_compiler_static
='-static'
7371 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7372 # Portland Group compilers (*not* the Pentium gcc compiler,
7373 # which looks to be a dead project)
7374 lt_prog_compiler_wl
='-Wl,'
7375 lt_prog_compiler_pic
='-fpic'
7376 lt_prog_compiler_static
='-Bstatic'
7379 lt_prog_compiler_wl
='-Wl,'
7380 # All Alpha code is PIC.
7381 lt_prog_compiler_static
='-non_shared'
7386 osf3
* | osf4
* | osf5
*)
7387 lt_prog_compiler_wl
='-Wl,'
7388 # All OSF/1 code is PIC.
7389 lt_prog_compiler_static
='-non_shared'
7393 lt_prog_compiler_pic
='-Kpic'
7394 lt_prog_compiler_static
='-dn'
7398 lt_prog_compiler_pic
='-KPIC'
7399 lt_prog_compiler_static
='-Bstatic'
7400 case $cc_basename in
7402 lt_prog_compiler_wl
='-Qoption ld ';;
7404 lt_prog_compiler_wl
='-Wl,';;
7409 lt_prog_compiler_wl
='-Qoption ld '
7410 lt_prog_compiler_pic
='-PIC'
7411 lt_prog_compiler_static
='-Bstatic'
7414 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7415 lt_prog_compiler_wl
='-Wl,'
7416 lt_prog_compiler_pic
='-KPIC'
7417 lt_prog_compiler_static
='-Bstatic'
7421 if test -d /usr
/nec
;then
7422 lt_prog_compiler_pic
='-Kconform_pic'
7423 lt_prog_compiler_static
='-Bstatic'
7428 lt_prog_compiler_wl
='-Wl,'
7429 lt_prog_compiler_can_build_shared
=no
7433 lt_prog_compiler_pic
='-pic'
7434 lt_prog_compiler_static
='-Bstatic'
7438 lt_prog_compiler_can_build_shared
=no
7443 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7444 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7447 # Check to make sure the PIC flag actually works.
7449 if test -n "$lt_prog_compiler_pic"; then
7451 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7452 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7453 if test "${lt_prog_compiler_pic_works+set}" = set; then
7454 echo $ECHO_N "(cached) $ECHO_C" >&6
7456 lt_prog_compiler_pic_works
=no
7457 ac_outfile
=conftest.
$ac_objext
7458 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7459 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7460 # Insert the option either (1) after the last *FLAGS variable, or
7461 # (2) before a word containing "conftest.", or (3) at the end.
7462 # Note that $ac_compile itself does not contain backslashes and begins
7463 # with a dollar sign (not a hyphen), so the echo should work correctly.
7464 # The option is referenced via a variable to avoid confusing sed.
7465 lt_compile
=`echo "$ac_compile" | $SED \
7466 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7467 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7468 -e 's:$: $lt_compiler_flag:'`
7469 (eval echo "\"\$as_me:7469: $lt_compile\"" >&5)
7470 (eval "$lt_compile" 2>conftest.err
)
7472 cat conftest.err
>&5
7473 echo "$as_me:7473: \$? = $ac_status" >&5
7474 if (exit $ac_status) && test -s "$ac_outfile"; then
7475 # The compiler can only warn and ignore the option if not recognized
7476 # So say no if there are warnings other than the usual output.
7477 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
7478 $SED '/^$/d' conftest.err
>conftest.er2
7479 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7480 lt_prog_compiler_pic_works
=yes
7486 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7487 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7489 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7490 case $lt_prog_compiler_pic in
7492 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7495 lt_prog_compiler_pic
=
7496 lt_prog_compiler_can_build_shared
=no
7501 # For platforms which do not support PIC, -DPIC is meaningless:
7503 lt_prog_compiler_pic
=
7506 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7510 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7511 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7512 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7513 echo $ECHO_N "(cached) $ECHO_C" >&6
7515 lt_cv_prog_compiler_c_o
=no
7516 $rm -r conftest
2>/dev
/null
7520 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7522 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7523 # Insert the option either (1) after the last *FLAGS variable, or
7524 # (2) before a word containing "conftest.", or (3) at the end.
7525 # Note that $ac_compile itself does not contain backslashes and begins
7526 # with a dollar sign (not a hyphen), so the echo should work correctly.
7527 lt_compile
=`echo "$ac_compile" | $SED \
7528 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7529 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7530 -e 's:$: $lt_compiler_flag:'`
7531 (eval echo "\"\$as_me:7531: $lt_compile\"" >&5)
7532 (eval "$lt_compile" 2>out
/conftest.err
)
7534 cat out
/conftest.err
>&5
7535 echo "$as_me:7535: \$? = $ac_status" >&5
7536 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7538 # The compiler can only warn and ignore the option if not recognized
7539 # So say no if there are warnings
7540 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
7541 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
7542 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7543 lt_cv_prog_compiler_c_o
=yes
7548 # SGI C++ compiler will create directory out/ii_files/ for
7549 # template instantiation
7550 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7551 $rm out
/* && rmdir out
7557 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7558 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7561 hard_links
="nottested"
7562 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7563 # do not overwrite the value of need_locks provided by the user
7564 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7565 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7568 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7570 ln conftest.a conftest.b
2>&5 || hard_links
=no
7571 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7572 { echo "$as_me:$LINENO: result: $hard_links" >&5
7573 echo "${ECHO_T}$hard_links" >&6; }
7574 if test "$hard_links" = no
; then
7575 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7576 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7583 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7584 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7587 allow_undefined_flag
=
7588 enable_shared_with_static_runtimes
=no
7590 archive_expsym_cmds
=
7591 old_archive_From_new_cmds
=
7592 old_archive_from_expsyms_cmds
=
7593 export_dynamic_flag_spec
=
7594 whole_archive_flag_spec
=
7595 thread_safe_flag_spec
=
7596 hardcode_libdir_flag_spec
=
7597 hardcode_libdir_flag_spec_ld
=
7598 hardcode_libdir_separator
=
7601 hardcode_shlibpath_var
=unsupported
7602 link_all_deplibs
=unknown
7603 hardcode_automatic
=no
7606 always_export_symbols
=no
7607 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7608 # include_expsyms should be a list of space-separated symbols to be *always*
7609 # included in the symbol list
7611 # exclude_expsyms can be an extended regexp of symbols to exclude
7612 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7613 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7614 # as well as any symbol that contains `d'.
7615 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7616 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7617 # platforms (ab)use it in PIC code, but their linkers get confused if
7618 # the symbol is explicitly referenced. Since portable code cannot
7619 # rely on this symbol name, it's probably fine to never include it in
7620 # preloaded symbol tables.
7621 extract_expsyms_cmds
=
7622 # Just being paranoid about ensuring that cc_basename is set.
7623 for cc_temp
in $compiler""; do
7625 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7626 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7631 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7634 cygwin
* | mingw
* | pw32
*)
7635 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7636 # When not using gcc, we currently assume that we are using
7637 # Microsoft Visual C++.
7638 if test "$GCC" != yes; then
7648 if test "$with_gnu_ld" = yes; then
7649 # If archive_cmds runs LD, not CC, wlarc should be empty
7652 # Set some defaults for GNU ld with shared library support. These
7653 # are reset later if shared libraries are not supported. Putting them
7654 # here allows them to be overridden if necessary.
7655 runpath_var
=LD_RUN_PATH
7656 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7657 export_dynamic_flag_spec
='${wl}--export-dynamic'
7658 # ancient GNU ld didn't support --whole-archive et. al.
7659 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7660 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7662 whole_archive_flag_spec
=
7664 supports_anon_versioning
=no
7665 case `$LD -v 2>/dev/null` in
7666 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7667 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7668 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7669 *\
2.11.
*) ;; # other 2.11 versions
7670 *) supports_anon_versioning
=yes ;;
7673 # See if GNU ld supports shared libraries.
7675 aix3
* | aix4
* | aix5
*)
7676 # On AIX/PPC, the GNU linker is very broken
7677 if test "$host_cpu" != ia64
; then
7681 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7682 *** to be unable to reliably create shared libraries on AIX.
7683 *** Therefore, libtool is disabling shared libraries support. If you
7684 *** really care for shared libraries, you may want to modify your PATH
7685 *** so that a non-GNU linker is found, and then restart.
7692 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)'
7693 hardcode_libdir_flag_spec
='-L$libdir'
7694 hardcode_minus_L
=yes
7696 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7697 # that the semantics of dynamic libraries on AmigaOS, at least up
7698 # to version 4, is to share data among multiple programs linked
7699 # with the same dynamic library. Since this doesn't match the
7700 # behavior of shared libraries on other platforms, we can't use
7706 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7707 allow_undefined_flag
=unsupported
7708 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7709 # support --undefined. This deserves some investigation. FIXME
7710 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7716 cygwin
* | mingw
* | pw32
*)
7717 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7718 # as there is no search path for DLLs.
7719 hardcode_libdir_flag_spec
='-L$libdir'
7720 allow_undefined_flag
=unsupported
7721 always_export_symbols
=no
7722 enable_shared_with_static_runtimes
=yes
7723 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7725 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7726 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7727 # If the export-symbols file already is a .def file (1st line
7728 # is EXPORTS), use it as is; otherwise, prepend...
7729 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7730 cp $export_symbols $output_objdir/$soname.def;
7732 echo EXPORTS > $output_objdir/$soname.def;
7733 cat $export_symbols >> $output_objdir/$soname.def;
7735 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
7742 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7744 case $cc_basename,$host_cpu in
7745 pgcc
*) # Portland Group C compiler
7746 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'
7747 tmp_addflag
=' $pic_flag'
7749 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7750 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'
7751 tmp_addflag
=' $pic_flag -Mnomain' ;;
7752 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7753 tmp_addflag
=' -i_dynamic' ;;
7754 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7755 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7756 ifc
* | ifort
*) # Intel Fortran compiler
7757 tmp_addflag
=' -nofor_main' ;;
7759 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7761 if test $supports_anon_versioning = yes; then
7762 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7763 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7764 $echo "local: *; };" >> $output_objdir/$libname.ver~
7765 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7773 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7774 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7777 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7778 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7783 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7787 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7788 *** create shared libraries on Solaris systems. Therefore, libtool
7789 *** is disabling shared libraries support. We urge you to upgrade GNU
7790 *** binutils to release 2.9.1 or newer. Another option is to modify
7791 *** your PATH or compiler configuration so that the native linker is
7792 *** used, and then restart.
7795 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7796 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7797 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7804 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7807 hardcode_shlibpath_var
=no
7811 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7812 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7813 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7820 if test "$ld_shlibs" = no
; then
7822 hardcode_libdir_flag_spec
=
7823 export_dynamic_flag_spec
=
7824 whole_archive_flag_spec
=
7827 # PORTME fill in a description of your system's linker (not GNU ld)
7830 allow_undefined_flag
=unsupported
7831 always_export_symbols
=yes
7832 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'
7833 # Note: this linker hardcodes the directories in LIBPATH if there
7834 # are no directories specified by -L.
7835 hardcode_minus_L
=yes
7836 if test "$GCC" = yes && test -z "$link_static_flag"; then
7837 # Neither direct hardcoding nor static linking is supported with a
7839 hardcode_direct
=unsupported
7844 if test "$host_cpu" = ia64
; then
7845 # On IA64, the linker does run time linking by default, so we don't
7846 # have to do anything special.
7847 aix_use_runtimelinking
=no
7848 exp_sym_flag
='-Bexport'
7851 # If we're using GNU nm, then we don't want the "-C" option.
7852 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7853 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7854 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'
7856 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'
7858 aix_use_runtimelinking
=no
7860 # Test if we are trying to use run time linking or normal
7861 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7862 # need to do runtime linking.
7863 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7864 for ld_flag
in $LDFLAGS; do
7865 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7866 aix_use_runtimelinking
=yes
7872 exp_sym_flag
='-bexport'
7873 no_entry_flag
='-bnoentry'
7876 # When large executables or shared objects are built, AIX ld can
7877 # have problems creating the table of contents. If linking a library
7878 # or program results in "error TOC overflow" add -mminimal-toc to
7879 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7880 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7884 hardcode_libdir_separator
=':'
7885 link_all_deplibs
=yes
7887 if test "$GCC" = yes; then
7888 case $host_os in aix4.
[012]|aix4.
[012].
*)
7889 # We only want to do this on AIX 4.2 and lower, the check
7890 # below for broken collect2 doesn't work under 4.3+
7891 collect2name
=`${CC} -print-prog-name=collect2`
7892 if test -f "$collect2name" && \
7893 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7895 # We have reworked collect2
7898 # We have old collect2
7899 hardcode_direct
=unsupported
7900 # It fails to find uninstalled libraries when the uninstalled
7901 # path is not listed in the libpath. Setting hardcode_minus_L
7902 # to unsupported forces relinking
7903 hardcode_minus_L
=yes
7904 hardcode_libdir_flag_spec
='-L$libdir'
7905 hardcode_libdir_separator
=
7908 shared_flag
='-shared'
7909 if test "$aix_use_runtimelinking" = yes; then
7910 shared_flag
="$shared_flag "'${wl}-G'
7914 if test "$host_cpu" = ia64
; then
7915 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7916 # chokes on -Wl,-G. The following line is correct:
7919 if test "$aix_use_runtimelinking" = yes; then
7920 shared_flag
='${wl}-G'
7922 shared_flag
='${wl}-bM:SRE'
7927 # It seems that -bexpall does not export symbols beginning with
7928 # underscore (_), so it is better to generate a list of symbols to export.
7929 always_export_symbols
=yes
7930 if test "$aix_use_runtimelinking" = yes; then
7931 # Warning - without using the other runtime loading flags (-brtl),
7932 # -berok will link without error, but may produce a broken library.
7933 allow_undefined_flag
='-berok'
7934 # Determine the default libpath from the value encoded in an empty executable.
7935 cat >conftest.
$ac_ext <<_ACEOF
7938 cat confdefs.h
>>conftest.
$ac_ext
7939 cat >>conftest.
$ac_ext <<_ACEOF
7940 /* end confdefs.h. */
7950 rm -f conftest.
$ac_objext conftest
$ac_exeext
7951 if { (ac_try
="$ac_link"
7953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7954 *) ac_try_echo=$ac_try;;
7956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7957 (eval "$ac_link") 2>conftest.er1
7959 grep -v '^ *+' conftest.er1 >conftest.err
7961 cat conftest.err >&5
7962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963 (exit $ac_status); } && {
7964 test -z "$ac_c_werror_flag" ||
7965 test ! -s conftest.err
7966 } && test -s conftest$ac_exeext &&
7967 $as_test_x conftest$ac_exeext; then
7969 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7971 # Check for a 64-bit object if we didn't find anything.
7972 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7975 echo "$as_me: failed program was:" >&5
7976 sed 's/^/| /' conftest.$ac_ext >&5
7981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7982 conftest$ac_exeext conftest.$ac_ext
7983 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7985 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7986 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7988 if test "$host_cpu" = ia64
; then
7989 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7990 allow_undefined_flag
="-z nodefs"
7991 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
7993 # Determine the default libpath from the value encoded in an empty executable.
7994 cat >conftest.$ac_ext <<_ACEOF
7997 cat confdefs.h >>conftest.$ac_ext
7998 cat >>conftest.$ac_ext <<_ACEOF
7999 /* end confdefs.h. */
8009 rm -f conftest.$ac_objext conftest$ac_exeext
8010 if { (ac_try="$ac_link"
8012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8013 *) ac_try_echo=$ac_try;;
8015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8016 (eval "$ac_link") 2>conftest.er1
8018 grep -v '^
*+' conftest.er1 >conftest.err
8020 cat conftest.err >&5
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); } && {
8023 test -z "$ac_c_werror_flag" ||
8024 test ! -s conftest.err
8025 } && test -s conftest$ac_exeext &&
8026 $as_test_x conftest$ac_exeext; then
8028 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
8030 # Check for a 64-bit object if we didn't
find anything.
8031 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8034 echo "$as_me: failed program was:" >&5
8035 sed 's/^/| /' conftest.
$ac_ext >&5
8040 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8041 conftest
$ac_exeext conftest.
$ac_ext
8042 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8044 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8045 # Warning - without using the other run time loading flags,
8046 # -berok will link without error, but may produce a broken library.
8047 no_undefined_flag
=' ${wl}-bernotok'
8048 allow_undefined_flag
=' ${wl}-berok'
8049 # -bexpall does not export symbols beginning with underscore (_)
8050 always_export_symbols
=yes
8051 # Exported symbols can be pulled into shared objects from archives
8052 whole_archive_flag_spec
=' '
8053 archive_cmds_need_lc
=yes
8054 # This is similar to how AIX traditionally builds its shared libraries.
8055 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8061 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)'
8062 hardcode_libdir_flag_spec
='-L$libdir'
8063 hardcode_minus_L
=yes
8064 # see comment about different semantics on the GNU ld section
8069 export_dynamic_flag_spec
=-rdynamic
8072 cygwin
* | mingw
* | pw32
*)
8073 # When not using gcc, we currently assume that we are using
8074 # Microsoft Visual C++.
8075 # hardcode_libdir_flag_spec is actually meaningless, as there is
8076 # no search path for DLLs.
8077 hardcode_libdir_flag_spec
=' '
8078 allow_undefined_flag
=unsupported
8079 # Tell ltmain to make .lib files, not .a files.
8081 # Tell ltmain to make .dll files, not .so files.
8083 # FIXME: Setting linknames here is a bad hack.
8084 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8085 # The linker will automatically build a .lib file if we build a DLL.
8086 old_archive_From_new_cmds
='true'
8087 # FIXME: Should let the user specify the lib program.
8088 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8089 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8090 enable_shared_with_static_runtimes
=yes
8093 darwin
* | rhapsody
*)
8095 rhapsody
* | darwin1.
[012])
8096 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8099 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8100 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8102 case ${MACOSX_DEPLOYMENT_TARGET} in
8104 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8107 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8113 archive_cmds_need_lc
=no
8115 hardcode_automatic
=yes
8116 hardcode_shlibpath_var
=unsupported
8117 whole_archive_flag_spec
=''
8118 link_all_deplibs
=yes
8119 if test "$GCC" = yes ; then
8120 output_verbose_link_cmd
='echo'
8121 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8122 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8123 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8124 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8125 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}'
8127 case $cc_basename in
8129 output_verbose_link_cmd
='echo'
8130 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8131 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8132 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8133 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8134 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}'
8144 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8145 hardcode_libdir_flag_spec
='-L$libdir'
8146 hardcode_shlibpath_var
=no
8153 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8154 # support. Future versions do this automatically, but an explicit c++rt0.o
8155 # does not break anything, and helps significantly (at the cost of a little
8158 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8159 hardcode_libdir_flag_spec
='-R$libdir'
8161 hardcode_shlibpath_var
=no
8164 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8166 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8168 hardcode_minus_L
=yes
8169 hardcode_shlibpath_var
=no
8172 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8173 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8174 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8175 hardcode_libdir_flag_spec
='-R$libdir'
8177 hardcode_shlibpath_var
=no
8181 if test "$GCC" = yes; then
8182 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'
8184 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'
8186 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8187 hardcode_libdir_separator
=:
8190 # hardcode_minus_L: Not really in the search PATH,
8191 # but as the default location of the library.
8192 hardcode_minus_L
=yes
8193 export_dynamic_flag_spec
='${wl}-E'
8197 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8200 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8203 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8209 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
8212 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8216 if test "$with_gnu_ld" = no
; then
8219 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8220 hardcode_libdir_flag_spec_ld
='+b $libdir'
8221 hardcode_libdir_separator
=:
8223 hardcode_shlibpath_var
=no
8226 hardcode_libdir_flag_spec
='-L$libdir'
8228 hardcode_shlibpath_var
=no
8230 # hardcode_minus_L: Not really in the search PATH,
8231 # but as the default location of the library.
8232 hardcode_minus_L
=yes
8235 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8236 hardcode_libdir_separator
=:
8238 export_dynamic_flag_spec
='${wl}-E'
8240 # hardcode_minus_L: Not really in the search PATH,
8241 # but as the default location of the library.
8242 hardcode_minus_L
=yes
8248 irix5
* | irix6
* | nonstopux
*)
8249 if test "$GCC" = yes; then
8250 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'
8252 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'
8253 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8255 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8256 hardcode_libdir_separator
=:
8257 link_all_deplibs
=yes
8261 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8262 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8264 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8266 hardcode_libdir_flag_spec
='-R$libdir'
8268 hardcode_shlibpath_var
=no
8272 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8274 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8275 hardcode_libdir_separator
=:
8276 hardcode_shlibpath_var
=no
8281 hardcode_shlibpath_var
=no
8282 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8283 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8284 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8285 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8286 export_dynamic_flag_spec
='${wl}-E'
8289 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8290 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8291 hardcode_libdir_flag_spec
='-R$libdir'
8294 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8295 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8302 hardcode_libdir_flag_spec
='-L$libdir'
8303 hardcode_minus_L
=yes
8304 allow_undefined_flag
=unsupported
8305 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'
8306 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8310 if test "$GCC" = yes; then
8311 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8312 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'
8314 allow_undefined_flag
=' -expect_unresolved \*'
8315 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'
8317 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8318 hardcode_libdir_separator
=:
8321 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8322 if test "$GCC" = yes; then
8323 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8324 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'
8325 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8327 allow_undefined_flag
=' -expect_unresolved \*'
8328 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'
8329 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8330 $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'
8332 # Both c and cxx compiler support -rpath directly
8333 hardcode_libdir_flag_spec
='-rpath $libdir'
8335 hardcode_libdir_separator
=:
8339 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8340 hardcode_shlibpath_var
=no
8341 export_dynamic_flag_spec
='${wl}-Bexport'
8342 runpath_var
=LD_RUN_PATH
8343 hardcode_runpath_var
=yes
8347 no_undefined_flag
=' -z text'
8348 if test "$GCC" = yes; then
8350 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8351 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8352 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8355 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8356 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8357 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8359 hardcode_libdir_flag_spec
='-R$libdir'
8360 hardcode_shlibpath_var
=no
8362 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8364 # The compiler driver will combine linker options so we
8365 # cannot just pass the convience library names through
8366 # without $wl, iff we do not link with $LD.
8367 # Luckily, gcc supports the same syntax we need for Sun Studio.
8368 # Supported since Solaris 2.6 (maybe 2.5.1?)
8371 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8373 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8376 link_all_deplibs
=yes
8380 if test "x$host_vendor" = xsequent
; then
8381 # Use $CC to link under sequent, because it throws in some extra .o
8382 # files that make .init and .fini sections work.
8383 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8385 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8387 hardcode_libdir_flag_spec
='-L$libdir'
8389 hardcode_minus_L
=yes
8390 hardcode_shlibpath_var
=no
8394 case $host_vendor in
8396 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8397 hardcode_direct
=yes # is this really true???
8400 ## LD is ld it makes a PLAMLIB
8401 ## CC just makes a GrossModule.
8402 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8403 reload_cmds
='$CC -r -o $output$reload_objs'
8407 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8408 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8411 runpath_var
='LD_RUN_PATH'
8412 hardcode_shlibpath_var
=no
8416 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8417 hardcode_shlibpath_var
=no
8418 export_dynamic_flag_spec
='-Bexport'
8422 if test -d /usr
/nec
; then
8423 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8424 hardcode_shlibpath_var
=no
8425 runpath_var
=LD_RUN_PATH
8426 hardcode_runpath_var
=yes
8432 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8435 hardcode_shlibpath_var
=no
8436 hardcode_runpath_var
=yes
8437 runpath_var
=LD_RUN_PATH
8440 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
8441 no_undefined_flag
='${wl}-z ${wl}text'
8442 if test "$GCC" = yes; then
8443 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8445 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8447 runpath_var
='LD_RUN_PATH'
8448 hardcode_shlibpath_var
=no
8452 no_undefined_flag
=' -z text'
8453 # $CC -shared without GNU ld will not create a library from C++
8454 # object files and a static libstdc++, better avoid it by now
8455 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8456 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8457 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8458 hardcode_libdir_flag_spec
=
8459 hardcode_shlibpath_var
=no
8460 runpath_var
='LD_RUN_PATH'
8464 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8465 hardcode_libdir_flag_spec
='-L$libdir'
8466 hardcode_shlibpath_var
=no
8475 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8476 echo "${ECHO_T}$ld_shlibs" >&6; }
8477 test "$ld_shlibs" = no
&& can_build_shared
=no
8479 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8480 if test "$GCC" = yes; then
8481 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8485 # Do we need to explicitly link libc?
8487 case "x$archive_cmds_need_lc" in
8489 # Assume -lc should be added
8490 archive_cmds_need_lc
=yes
8492 if test "$enable_shared" = yes && test "$GCC" = yes; then
8493 case $archive_cmds in
8495 # FIXME: we may have to deal with multi-command sequences.
8498 # Test whether the compiler implicitly links with -lc since on some
8499 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8500 # to ld, don't add -lc before -lgcc.
8501 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8502 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8504 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8507 (eval $ac_compile) 2>&5
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); } 2>conftest.err
; then
8513 libobjs
=conftest.
$ac_objext
8515 wl
=$lt_prog_compiler_wl
8521 lt_save_allow_undefined_flag
=$allow_undefined_flag
8522 allow_undefined_flag
=
8523 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8524 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }
8529 archive_cmds_need_lc
=no
8531 archive_cmds_need_lc
=yes
8533 allow_undefined_flag
=$lt_save_allow_undefined_flag
8535 cat conftest.err
1>&5
8538 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8539 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8546 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8547 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8549 libname_spec
='lib$name'
8557 shlibpath_overrides_runpath
=unknown
8559 dynamic_linker
="$host_os ld.so"
8560 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8561 if test "$GCC" = yes; then
8562 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8563 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8564 # if the path contains ";" then we assume it to be the separator
8565 # otherwise default to the standard path separator (i.e. ":") - it is
8566 # assumed that no part of a normal pathname contains ";" but that should
8567 # okay in the real world where ";" in dirpaths is itself problematic.
8568 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8570 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8573 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8575 need_lib_prefix
=unknown
8576 hardcode_into_libs
=no
8578 # when you set need_version to no, make sure it does not cause -set_version
8579 # flags to be left without arguments
8580 need_version
=unknown
8585 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8586 shlibpath_var
=LIBPATH
8588 # AIX 3 has no versioning support, so we append a major version to the name.
8589 soname_spec
='${libname}${release}${shared_ext}$major'
8596 hardcode_into_libs
=yes
8597 if test "$host_cpu" = ia64
; then
8598 # AIX 5 supports IA64
8599 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8600 shlibpath_var
=LD_LIBRARY_PATH
8602 # With GCC up to 2.95.x, collect2 would create an import file
8603 # for dependence libraries. The import file would start with
8604 # the line `#! .'. This would cause the generated library to
8605 # depend on `.', always an invalid library. This was fixed in
8606 # development snapshots of GCC prior to 3.0.
8608 aix4 | aix4.
[01] | aix4.
[01].
*)
8609 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8611 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8618 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8619 # soname into executable. Probably we can add versioning support to
8620 # collect2, so additional links can be useful in future.
8621 if test "$aix_use_runtimelinking" = yes; then
8622 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8623 # instead of lib<name>.a to let people know that these are not
8624 # typical AIX shared libraries.
8625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8627 # We preserve .a as extension for shared libraries through AIX4.2
8628 # and later when we are not doing run time linking.
8629 library_names_spec
='${libname}${release}.a $libname.a'
8630 soname_spec
='${libname}${release}${shared_ext}$major'
8632 shlibpath_var
=LIBPATH
8637 library_names_spec
='$libname.ixlibrary $libname.a'
8638 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8639 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'
8643 library_names_spec
='${libname}${shared_ext}'
8644 dynamic_linker
="$host_os ld.so"
8645 shlibpath_var
=LIBRARY_PATH
8651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8652 soname_spec
='${libname}${release}${shared_ext}$major'
8653 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8654 shlibpath_var
=LD_LIBRARY_PATH
8655 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8656 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8657 # the default ld.so.conf also contains /usr/contrib/lib and
8658 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8659 # libtool to hard-code these into programs
8662 cygwin
* | mingw
* | pw32
*)
8663 version_type
=windows
8668 case $GCC,$host_os in
8669 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8670 library_names_spec
='$libname.dll.a'
8671 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8672 postinstall_cmds
='base_file=`basename \${file}`~
8673 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8674 dldir=$destdir/`dirname \$dlpath`~
8675 test -d \$dldir || mkdir -p \$dldir~
8676 $install_prog $dir/$dlname \$dldir/$dlname~
8677 chmod a+x \$dldir/$dlname'
8678 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8679 dlpath=$dir/\$dldll~
8681 shlibpath_overrides_runpath
=yes
8685 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8686 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8687 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8690 # MinGW DLLs use traditional 'lib' prefix
8691 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8692 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8693 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8694 # It is most probably a Windows format PATH printed by
8695 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8696 # path with ; separators, and with drive letters. We can handle the
8697 # drive letters (cygwin fileutils understands them), so leave them,
8698 # especially as we might pass files found there to a mingw objdump,
8699 # which wouldn't understand a cygwinified path. Ahh.
8700 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8702 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8706 # pw32 DLLs use 'pw' prefix rather than 'lib'
8707 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8713 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8716 dynamic_linker
='Win32 ld.exe'
8717 # FIXME: first we should search . and the directory the executable is in
8721 darwin
* | rhapsody
*)
8722 dynamic_linker
="$host_os dyld"
8726 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8727 soname_spec
='${libname}${release}${major}$shared_ext'
8728 shlibpath_overrides_runpath
=yes
8729 shlibpath_var
=DYLD_LIBRARY_PATH
8730 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8731 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8732 if test "$GCC" = yes; then
8733 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8735 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8737 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8745 soname_spec
='${libname}${release}${shared_ext}$major'
8746 shlibpath_var
=LD_LIBRARY_PATH
8757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8758 soname_spec
='${libname}${release}${shared_ext}$major'
8759 shlibpath_var
=LD_LIBRARY_PATH
8760 shlibpath_overrides_runpath
=no
8761 hardcode_into_libs
=yes
8762 dynamic_linker
='GNU ld.so'
8765 freebsd
* | dragonfly
*)
8766 # DragonFly does not have aout. When/if they implement a new
8767 # versioning mechanism, adjust this.
8768 if test -x /usr
/bin
/objformat
; then
8769 objformat
=`/usr/bin/objformat`
8772 freebsd
[123]*) objformat
=aout
;;
8776 version_type
=freebsd-
$objformat
8777 case $version_type in
8779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8784 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8788 shlibpath_var
=LD_LIBRARY_PATH
8791 shlibpath_overrides_runpath
=yes
8793 freebsd3.
[01]* | freebsdelf3.
[01]*)
8794 shlibpath_overrides_runpath
=yes
8795 hardcode_into_libs
=yes
8798 shlibpath_overrides_runpath
=no
8799 hardcode_into_libs
=yes
8808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8809 soname_spec
='${libname}${release}${shared_ext}$major'
8810 shlibpath_var
=LD_LIBRARY_PATH
8811 hardcode_into_libs
=yes
8814 hpux9
* | hpux10
* | hpux11
*)
8815 # Give a soname corresponding to the major version so that dld.sl refuses to
8816 # link against other versions.
8823 hardcode_into_libs
=yes
8824 dynamic_linker
="$host_os dld.so"
8825 shlibpath_var
=LD_LIBRARY_PATH
8826 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8828 soname_spec
='${libname}${release}${shared_ext}$major'
8829 if test "X$HPUX_IA64_MODE" = X32
; then
8830 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8832 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8834 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8838 hardcode_into_libs
=yes
8839 dynamic_linker
="$host_os dld.sl"
8840 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8841 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8842 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8843 soname_spec
='${libname}${release}${shared_ext}$major'
8844 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8845 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8849 dynamic_linker
="$host_os dld.sl"
8850 shlibpath_var
=SHLIB_PATH
8851 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8853 soname_spec
='${libname}${release}${shared_ext}$major'
8856 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8857 postinstall_cmds
='chmod 555 $lib'
8860 irix5
* | irix6
* | nonstopux
*)
8862 nonstopux
*) version_type
=nonstopux
;;
8864 if test "$lt_cv_prog_gnu_ld" = yes; then
8872 soname_spec
='${libname}${release}${shared_ext}$major'
8873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8875 irix5
* | nonstopux
*)
8879 case $LD in # libtool.m4 will add one of these switches to LD
8880 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8881 libsuff
= shlibsuff
= libmagic
=32-bit;;
8882 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8883 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8884 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8885 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8886 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8890 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8891 shlibpath_overrides_runpath
=no
8892 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8893 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8894 hardcode_into_libs
=yes
8897 # No shared lib support for Linux oldld, aout, or coff.
8898 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8902 # This must be Linux ELF.
8907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8908 soname_spec
='${libname}${release}${shared_ext}$major'
8909 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8910 shlibpath_var
=LD_LIBRARY_PATH
8911 shlibpath_overrides_runpath
=no
8912 # This implies no fast_install, which is unacceptable.
8913 # Some rework will be needed to allow for fast_install
8914 # before this can be enabled.
8915 hardcode_into_libs
=yes
8917 # Append ld.so.conf contents to the search path
8918 if test -f /etc
/ld.so.conf
; then
8919 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8920 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8923 # We used to test for /lib/ld.so.1 and disable shared libraries on
8924 # powerpc, because MkLinux only supported shared libraries with the
8925 # GNU dynamic linker. Since this was broken with cross compilers,
8926 # most powerpc-linux boxes support dynamic linking these days and
8927 # people can always --disable-shared, the test was removed, and we
8928 # assume the GNU/Linux dynamic linker is in use.
8929 dynamic_linker
='GNU/Linux ld.so'
8936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8937 soname_spec
='${libname}${release}${shared_ext}$major'
8938 shlibpath_var
=LD_LIBRARY_PATH
8939 shlibpath_overrides_runpath
=no
8940 hardcode_into_libs
=yes
8941 dynamic_linker
='GNU ld.so'
8948 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8950 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8951 dynamic_linker
='NetBSD (a.out) ld.so'
8953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8954 soname_spec
='${libname}${release}${shared_ext}$major'
8955 dynamic_linker
='NetBSD ld.elf_so'
8957 shlibpath_var
=LD_LIBRARY_PATH
8958 shlibpath_overrides_runpath
=yes
8959 hardcode_into_libs
=yes
8964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8965 shlibpath_var
=LD_LIBRARY_PATH
8966 shlibpath_overrides_runpath
=yes
8973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8974 soname_spec
='${libname}${release}${shared_ext}$major'
8975 shlibpath_var
=LD_LIBRARY_PATH
8976 shlibpath_overrides_runpath
=yes
8982 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8984 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
8985 *) need_version
=no
;;
8987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8988 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8989 shlibpath_var
=LD_LIBRARY_PATH
8990 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8992 openbsd2.
[89] | openbsd2.
[89].
*)
8993 shlibpath_overrides_runpath
=no
8996 shlibpath_overrides_runpath
=yes
9000 shlibpath_overrides_runpath
=yes
9005 libname_spec
='$name'
9008 library_names_spec
='$libname${shared_ext} $libname.a'
9009 dynamic_linker
='OS/2 ld.exe'
9010 shlibpath_var
=LIBPATH
9013 osf3
* | osf4
* | osf5
*)
9017 soname_spec
='${libname}${release}${shared_ext}$major'
9018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9019 shlibpath_var
=LD_LIBRARY_PATH
9020 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9021 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9026 soname_spec
='${libname}${release}${shared_ext}$major'
9027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9028 shlibpath_var
=LD_LIBRARY_PATH
9035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9036 soname_spec
='${libname}${release}${shared_ext}$major'
9037 shlibpath_var
=LD_LIBRARY_PATH
9038 shlibpath_overrides_runpath
=yes
9039 hardcode_into_libs
=yes
9040 # ldd complains unless libraries are executable
9041 postinstall_cmds
='chmod +x $lib'
9046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9047 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9048 shlibpath_var
=LD_LIBRARY_PATH
9049 shlibpath_overrides_runpath
=yes
9050 if test "$with_gnu_ld" = yes; then
9056 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9059 soname_spec
='${libname}${release}${shared_ext}$major'
9060 shlibpath_var
=LD_LIBRARY_PATH
9061 case $host_vendor in
9063 shlibpath_overrides_runpath
=no
9065 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9066 runpath_var
=LD_RUN_PATH
9074 shlibpath_overrides_runpath
=no
9075 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9081 if test -d /usr
/nec
;then
9083 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9084 soname_spec
='$libname${shared_ext}.$major'
9085 shlibpath_var
=LD_LIBRARY_PATH
9091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9092 soname_spec
='${libname}${release}${shared_ext}$major'
9093 shlibpath_var
=LD_LIBRARY_PATH
9100 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9101 echo "${ECHO_T}$dynamic_linker" >&6; }
9102 test "$dynamic_linker" = no
&& can_build_shared
=no
9104 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9105 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9107 if test -n "$hardcode_libdir_flag_spec" || \
9108 test -n "$runpath_var" || \
9109 test "X$hardcode_automatic" = "Xyes" ; then
9111 # We can hardcode non-existant directories.
9112 if test "$hardcode_direct" != no
&&
9113 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9114 # have to relink, otherwise we might link with an installed library
9115 # when we should be linking with a yet-to-be-installed one
9116 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9117 test "$hardcode_minus_L" != no
; then
9118 # Linking always hardcodes the temporary library directory.
9119 hardcode_action
=relink
9121 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9122 hardcode_action
=immediate
9125 # We cannot hardcode anything, or else we can only hardcode existing
9127 hardcode_action
=unsupported
9129 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9130 echo "${ECHO_T}$hardcode_action" >&6; }
9132 if test "$hardcode_action" = relink
; then
9133 # Fast installation is not supported
9134 enable_fast_install
=no
9135 elif test "$shlibpath_overrides_runpath" = yes ||
9136 test "$enable_shared" = no
; then
9137 # Fast installation is not necessary
9138 enable_fast_install
=needless
9143 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9144 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9145 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9146 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9147 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9148 { echo "$as_me:$LINENO: result: yes" >&5
9149 echo "${ECHO_T}yes" >&6; }
9151 # FIXME - insert some real tests, host_os isn't really good enough
9154 if test -n "$STRIP" ; then
9155 striplib
="$STRIP -x"
9156 { echo "$as_me:$LINENO: result: yes" >&5
9157 echo "${ECHO_T}yes" >&6; }
9159 { echo "$as_me:$LINENO: result: no" >&5
9160 echo "${ECHO_T}no" >&6; }
9164 { echo "$as_me:$LINENO: result: no" >&5
9165 echo "${ECHO_T}no" >&6; }
9170 if test "x$enable_dlopen" != xyes
; then
9171 enable_dlopen
=unknown
9172 enable_dlopen_self
=unknown
9173 enable_dlopen_self_static
=unknown
9180 lt_cv_dlopen
="load_add_on"
9182 lt_cv_dlopen_self
=yes
9186 lt_cv_dlopen
="LoadLibrary"
9191 lt_cv_dlopen
="dlopen"
9196 # if libdl is installed we need to link against it
9197 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9198 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9199 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9200 echo $ECHO_N "(cached) $ECHO_C" >&6
9202 ac_check_lib_save_LIBS
=$LIBS
9204 cat >conftest.
$ac_ext <<_ACEOF
9207 cat confdefs.h
>>conftest.
$ac_ext
9208 cat >>conftest.
$ac_ext <<_ACEOF
9209 /* end confdefs.h. */
9211 /* Override any GCC internal prototype to avoid an error.
9212 Use char because int might match the return type of a GCC
9213 builtin and then its argument prototype would still apply. */
9226 rm -f conftest.
$ac_objext conftest
$ac_exeext
9227 if { (ac_try
="$ac_link"
9229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9230 *) ac_try_echo=$ac_try;;
9232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9233 (eval "$ac_link") 2>conftest.er1
9235 grep -v '^ *+' conftest.er1 >conftest.err
9237 cat conftest.err >&5
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); } && {
9240 test -z "$ac_c_werror_flag" ||
9241 test ! -s conftest.err
9242 } && test -s conftest$ac_exeext &&
9243 $as_test_x conftest$ac_exeext; then
9244 ac_cv_lib_dl_dlopen=yes
9246 echo "$as_me: failed program was:" >&5
9247 sed 's/^/| /' conftest.$ac_ext >&5
9249 ac_cv_lib_dl_dlopen=no
9252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9253 conftest$ac_exeext conftest.$ac_ext
9254 LIBS=$ac_check_lib_save_LIBS
9256 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9257 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9258 if test $ac_cv_lib_dl_dlopen = yes; then
9259 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9264 lt_cv_dlopen_self=yes
9271 { echo "$as_me:$LINENO: checking for shl_load" >&5
9272 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9273 if test "${ac_cv_func_shl_load+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 cat >conftest.$ac_ext <<_ACEOF
9279 cat confdefs.h >>conftest.$ac_ext
9280 cat >>conftest.$ac_ext <<_ACEOF
9281 /* end confdefs.h. */
9282 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9284 #define shl_load innocuous_shl_load
9286 /* System header to define __stub macros and hopefully few prototypes,
9287 which can conflict with char shl_load (); below.
9288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9289 <limits.h> exists even on freestanding compilers. */
9292 # include <limits.h>
9294 # include <assert.h>
9299 /* Override any GCC internal prototype to avoid an error.
9300 Use char because int might match the return type of a GCC
9301 builtin and then its argument prototype would still apply. */
9306 /* The GNU C library defines this for functions which it implements
9307 to always fail with ENOSYS. Some functions are actually named
9308 something starting with __ and the normal name is an alias. */
9309 #if defined __stub_shl_load || defined __stub___shl_load
9321 rm -f conftest.$ac_objext conftest$ac_exeext
9322 if { (ac_try="$ac_link"
9324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9325 *) ac_try_echo
=$ac_try;;
9327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9328 (eval "$ac_link") 2>conftest.er1
9330 grep -v '^ *+' conftest.er1
>conftest.err
9332 cat conftest.err
>&5
9333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9334 (exit $ac_status); } && {
9335 test -z "$ac_c_werror_flag" ||
9336 test ! -s conftest.err
9337 } && test -s conftest
$ac_exeext &&
9338 $as_test_x conftest
$ac_exeext; then
9339 ac_cv_func_shl_load
=yes
9341 echo "$as_me: failed program was:" >&5
9342 sed 's/^/| /' conftest.
$ac_ext >&5
9344 ac_cv_func_shl_load
=no
9347 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9348 conftest
$ac_exeext conftest.
$ac_ext
9350 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9351 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9352 if test $ac_cv_func_shl_load = yes; then
9353 lt_cv_dlopen
="shl_load"
9355 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9356 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9357 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9358 echo $ECHO_N "(cached) $ECHO_C" >&6
9360 ac_check_lib_save_LIBS
=$LIBS
9362 cat >conftest.
$ac_ext <<_ACEOF
9365 cat confdefs.h
>>conftest.
$ac_ext
9366 cat >>conftest.
$ac_ext <<_ACEOF
9367 /* end confdefs.h. */
9369 /* Override any GCC internal prototype to avoid an error.
9370 Use char because int might match the return type of a GCC
9371 builtin and then its argument prototype would still apply. */
9384 rm -f conftest.
$ac_objext conftest
$ac_exeext
9385 if { (ac_try
="$ac_link"
9387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9388 *) ac_try_echo=$ac_try;;
9390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9391 (eval "$ac_link") 2>conftest.er1
9393 grep -v '^ *+' conftest.er1 >conftest.err
9395 cat conftest.err >&5
9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397 (exit $ac_status); } && {
9398 test -z "$ac_c_werror_flag" ||
9399 test ! -s conftest.err
9400 } && test -s conftest$ac_exeext &&
9401 $as_test_x conftest$ac_exeext; then
9402 ac_cv_lib_dld_shl_load=yes
9404 echo "$as_me: failed program was:" >&5
9405 sed 's/^/| /' conftest.$ac_ext >&5
9407 ac_cv_lib_dld_shl_load=no
9410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9411 conftest$ac_exeext conftest.$ac_ext
9412 LIBS=$ac_check_lib_save_LIBS
9414 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9415 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9416 if test $ac_cv_lib_dld_shl_load = yes; then
9417 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9419 { echo "$as_me:$LINENO: checking for dlopen" >&5
9420 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9421 if test "${ac_cv_func_dlopen+set}" = set; then
9422 echo $ECHO_N "(cached) $ECHO_C" >&6
9424 cat >conftest.$ac_ext <<_ACEOF
9427 cat confdefs.h >>conftest.$ac_ext
9428 cat >>conftest.$ac_ext <<_ACEOF
9429 /* end confdefs.h. */
9430 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9432 #define dlopen innocuous_dlopen
9434 /* System header to define __stub macros and hopefully few prototypes,
9435 which can conflict with char dlopen (); below.
9436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9437 <limits.h> exists even on freestanding compilers. */
9440 # include <limits.h>
9442 # include <assert.h>
9447 /* Override any GCC internal prototype to avoid an error.
9448 Use char because int might match the return type of a GCC
9449 builtin and then its argument prototype would still apply. */
9454 /* The GNU C library defines this for functions which it implements
9455 to always fail with ENOSYS. Some functions are actually named
9456 something starting with __ and the normal name is an alias. */
9457 #if defined __stub_dlopen || defined __stub___dlopen
9469 rm -f conftest.$ac_objext conftest$ac_exeext
9470 if { (ac_try="$ac_link"
9472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9473 *) ac_try_echo
=$ac_try;;
9475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9476 (eval "$ac_link") 2>conftest.er1
9478 grep -v '^ *+' conftest.er1
>conftest.err
9480 cat conftest.err
>&5
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); } && {
9483 test -z "$ac_c_werror_flag" ||
9484 test ! -s conftest.err
9485 } && test -s conftest
$ac_exeext &&
9486 $as_test_x conftest
$ac_exeext; then
9487 ac_cv_func_dlopen
=yes
9489 echo "$as_me: failed program was:" >&5
9490 sed 's/^/| /' conftest.
$ac_ext >&5
9492 ac_cv_func_dlopen
=no
9495 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9496 conftest
$ac_exeext conftest.
$ac_ext
9498 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9499 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9500 if test $ac_cv_func_dlopen = yes; then
9501 lt_cv_dlopen
="dlopen"
9503 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9504 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9505 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9506 echo $ECHO_N "(cached) $ECHO_C" >&6
9508 ac_check_lib_save_LIBS
=$LIBS
9510 cat >conftest.
$ac_ext <<_ACEOF
9513 cat confdefs.h
>>conftest.
$ac_ext
9514 cat >>conftest.
$ac_ext <<_ACEOF
9515 /* end confdefs.h. */
9517 /* Override any GCC internal prototype to avoid an error.
9518 Use char because int might match the return type of a GCC
9519 builtin and then its argument prototype would still apply. */
9532 rm -f conftest.
$ac_objext conftest
$ac_exeext
9533 if { (ac_try
="$ac_link"
9535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9536 *) ac_try_echo=$ac_try;;
9538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9539 (eval "$ac_link") 2>conftest.er1
9541 grep -v '^ *+' conftest.er1 >conftest.err
9543 cat conftest.err >&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); } && {
9546 test -z "$ac_c_werror_flag" ||
9547 test ! -s conftest.err
9548 } && test -s conftest$ac_exeext &&
9549 $as_test_x conftest$ac_exeext; then
9550 ac_cv_lib_dl_dlopen=yes
9552 echo "$as_me: failed program was:" >&5
9553 sed 's/^/| /' conftest.$ac_ext >&5
9555 ac_cv_lib_dl_dlopen=no
9558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9559 conftest$ac_exeext conftest.$ac_ext
9560 LIBS=$ac_check_lib_save_LIBS
9562 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9563 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9564 if test $ac_cv_lib_dl_dlopen = yes; then
9565 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9567 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9568 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9569 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9570 echo $ECHO_N "(cached) $ECHO_C" >&6
9572 ac_check_lib_save_LIBS=$LIBS
9574 cat >conftest.$ac_ext <<_ACEOF
9577 cat confdefs.h >>conftest.$ac_ext
9578 cat >>conftest.$ac_ext <<_ACEOF
9579 /* end confdefs.h. */
9581 /* Override any GCC internal prototype to avoid an error.
9582 Use char because int might match the return type of a GCC
9583 builtin and then its argument prototype would still apply. */
9596 rm -f conftest.$ac_objext conftest$ac_exeext
9597 if { (ac_try="$ac_link"
9599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9600 *) ac_try_echo
=$ac_try;;
9602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9603 (eval "$ac_link") 2>conftest.er1
9605 grep -v '^ *+' conftest.er1
>conftest.err
9607 cat conftest.err
>&5
9608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609 (exit $ac_status); } && {
9610 test -z "$ac_c_werror_flag" ||
9611 test ! -s conftest.err
9612 } && test -s conftest
$ac_exeext &&
9613 $as_test_x conftest
$ac_exeext; then
9614 ac_cv_lib_svld_dlopen
=yes
9616 echo "$as_me: failed program was:" >&5
9617 sed 's/^/| /' conftest.
$ac_ext >&5
9619 ac_cv_lib_svld_dlopen
=no
9622 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9623 conftest
$ac_exeext conftest.
$ac_ext
9624 LIBS
=$ac_check_lib_save_LIBS
9626 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9627 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9628 if test $ac_cv_lib_svld_dlopen = yes; then
9629 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9631 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9632 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9633 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9634 echo $ECHO_N "(cached) $ECHO_C" >&6
9636 ac_check_lib_save_LIBS
=$LIBS
9638 cat >conftest.
$ac_ext <<_ACEOF
9641 cat confdefs.h
>>conftest.
$ac_ext
9642 cat >>conftest.
$ac_ext <<_ACEOF
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9660 rm -f conftest.
$ac_objext conftest
$ac_exeext
9661 if { (ac_try
="$ac_link"
9663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9664 *) ac_try_echo=$ac_try;;
9666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9667 (eval "$ac_link") 2>conftest.er1
9669 grep -v '^ *+' conftest.er1 >conftest.err
9671 cat conftest.err >&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); } && {
9674 test -z "$ac_c_werror_flag" ||
9675 test ! -s conftest.err
9676 } && test -s conftest$ac_exeext &&
9677 $as_test_x conftest$ac_exeext; then
9678 ac_cv_lib_dld_dld_link=yes
9680 echo "$as_me: failed program was:" >&5
9681 sed 's/^/| /' conftest.$ac_ext >&5
9683 ac_cv_lib_dld_dld_link=no
9686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9687 conftest$ac_exeext conftest.$ac_ext
9688 LIBS=$ac_check_lib_save_LIBS
9690 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9691 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9692 if test $ac_cv_lib_dld_dld_link = yes; then
9693 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9714 if test "x$lt_cv_dlopen" != xno; then
9720 case $lt_cv_dlopen in
9722 save_CPPFLAGS="$CPPFLAGS"
9723 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9725 save_LDFLAGS="$LDFLAGS"
9726 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9729 LIBS="$lt_cv_dlopen_libs $LIBS"
9731 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9732 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9733 if test "${lt_cv_dlopen_self+set}" = set; then
9734 echo $ECHO_N "(cached) $ECHO_C" >&6
9736 if test "$cross_compiling" = yes; then :
9737 lt_cv_dlopen_self=cross
9739 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9740 lt_status=$lt_dlunknown
9741 cat > conftest.$ac_ext <<EOF
9742 #line 9742 "configure"
9743 #include "confdefs.h"
9752 # define LT_DLGLOBAL RTLD_GLOBAL
9755 # define LT_DLGLOBAL DL_GLOBAL
9757 # define LT_DLGLOBAL 0
9761 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9762 find out it does not work in some platform. */
9763 #ifndef LT_DLLAZY_OR_NOW
9765 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9768 # define LT_DLLAZY_OR_NOW DL_LAZY
9771 # define LT_DLLAZY_OR_NOW RTLD_NOW
9774 # define LT_DLLAZY_OR_NOW DL_NOW
9776 # define LT_DLLAZY_OR_NOW 0
9784 extern "C" void exit (int);
9787 void fnord() { int i=42;}
9790 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9791 int status = $lt_dlunknown;
9795 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9796 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9797 /* dlclose (self); */
9803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9804 (eval $ac_link) 2>&5
9806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9807 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9808 (./conftest; exit; ) >&5 2>/dev/null
9811 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9812 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9813 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
9816 # compilation failed
9817 lt_cv_dlopen_self=no
9824 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9825 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9827 if test "x$lt_cv_dlopen_self" = xyes; then
9828 LDFLAGS="$LDFLAGS $link_static_flag"
9829 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9830 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9831 if test "${lt_cv_dlopen_self_static+set}" = set; then
9832 echo $ECHO_N "(cached) $ECHO_C" >&6
9834 if test "$cross_compiling" = yes; then :
9835 lt_cv_dlopen_self_static=cross
9837 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9838 lt_status=$lt_dlunknown
9839 cat > conftest.$ac_ext <<EOF
9840 #line 9840 "configure"
9841 #include "confdefs.h"
9850 # define LT_DLGLOBAL RTLD_GLOBAL
9853 # define LT_DLGLOBAL DL_GLOBAL
9855 # define LT_DLGLOBAL 0
9859 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9860 find out it does not work in some platform. */
9861 #ifndef LT_DLLAZY_OR_NOW
9863 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9866 # define LT_DLLAZY_OR_NOW DL_LAZY
9869 # define LT_DLLAZY_OR_NOW RTLD_NOW
9872 # define LT_DLLAZY_OR_NOW DL_NOW
9874 # define LT_DLLAZY_OR_NOW 0
9882 extern "C" void exit (int);
9885 void fnord() { int i=42;}
9888 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9889 int status = $lt_dlunknown;
9893 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9894 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9895 /* dlclose (self); */
9901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9902 (eval $ac_link) 2>&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9906 (./conftest; exit; ) >&5 2>/dev/null
9909 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9910 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9911 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
9914 # compilation failed
9915 lt_cv_dlopen_self_static=no
9922 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9923 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9926 CPPFLAGS="$save_CPPFLAGS"
9927 LDFLAGS="$save_LDFLAGS"
9932 case $lt_cv_dlopen_self in
9933 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9934 *) enable_dlopen_self=unknown ;;
9937 case $lt_cv_dlopen_self_static in
9938 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9939 *) enable_dlopen_self_static=unknown ;;
9944 # Report which librarie types wil actually be built
9945 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9946 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9947 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
9948 echo "${ECHO_T}$can_build_shared" >&6; }
9950 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9951 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9952 test "$can_build_shared" = "no" && enable_shared=no
9954 # On AIX, shared libraries and static libraries use the same namespace, and
9955 # are all built from PIC.
9958 test "$enable_shared" = yes && enable_static=no
9959 if test -n "$RANLIB"; then
9960 archive_cmds="$archive_cmds~\$RANLIB \$lib"
9961 postinstall_cmds='$RANLIB $lib'
9966 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9967 test "$enable_shared" = yes && enable_static=no
9971 { echo "$as_me:$LINENO: result: $enable_shared" >&5
9972 echo "${ECHO_T}$enable_shared" >&6; }
9974 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9975 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9976 # Make sure either enable_shared or enable_static is yes.
9977 test "$enable_shared" = yes || enable_static=yes
9978 { echo "$as_me:$LINENO: result: $enable_static" >&5
9979 echo "${ECHO_T}$enable_static" >&6; }
9981 # The else clause should only fire when bootstrapping the
9982 # libtool distribution, otherwise you forgot to ship ltmain.sh
9983 # with your package, and you will get complaints that there are
9984 # no rules to generate ltmain.sh.
9985 if test -f "$ltmain"; then
9986 # See if we are running on zsh, and set the options which allow our commands through
9987 # without removal of \ escapes.
9988 if test -n "${ZSH_VERSION+set}" ; then
9989 setopt NO_GLOB_SUBST
9991 # Now quote all the things that may contain metacharacters while being
9992 # careful not to overquote the AC_SUBSTed values. We take copies of the
9993 # variables and quote the copies for generation of the libtool script.
9994 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9996 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9997 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9998 deplibs_check_method reload_flag reload_cmds need_locks \
9999 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10000 lt_cv_sys_global_symbol_to_c_name_address \
10001 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10002 old_postinstall_cmds old_postuninstall_cmds \
10006 lt_prog_compiler_wl \
10007 lt_prog_compiler_pic \
10008 lt_prog_compiler_static \
10009 lt_prog_compiler_no_builtin_flag \
10010 export_dynamic_flag_spec \
10011 thread_safe_flag_spec \
10012 whole_archive_flag_spec \
10013 enable_shared_with_static_runtimes \
10015 old_archive_from_new_cmds \
10020 compiler_lib_search_path \
10022 archive_expsym_cmds \
10024 postuninstall_cmds \
10025 old_archive_from_expsyms_cmds \
10026 allow_undefined_flag \
10027 no_undefined_flag \
10028 export_symbols_cmds \
10029 hardcode_libdir_flag_spec \
10030 hardcode_libdir_flag_spec_ld \
10031 hardcode_libdir_separator \
10032 hardcode_automatic \
10034 module_expsym_cmds \
10035 lt_cv_prog_compiler_c_o \
10037 include_expsyms; do
10040 old_archive_cmds | \
10041 old_archive_from_new_cmds | \
10043 archive_expsym_cmds | \
10045 module_expsym_cmds | \
10046 old_archive_from_expsyms_cmds | \
10047 export_symbols_cmds | \
10048 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10049 postinstall_cmds | postuninstall_cmds | \
10050 old_postinstall_cmds | old_postuninstall_cmds | \
10051 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10052 # Double-quote double-evaled strings.
10053 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10056 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10062 *'\$0 --fallback-echo"')
10063 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10067 cfgfile="${ofile}T"
10068 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10070 { echo "$as_me:$LINENO: creating $ofile" >&5
10071 echo "$as_me: creating $ofile" >&6;}
10073 cat <<__EOF__ >> "$cfgfile"
10076 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10077 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10078 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10080 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10081 # Free Software Foundation, Inc.
10083 # This file is part of GNU Libtool:
10084 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10086 # This program is free software; you can redistribute it and/or modify
10087 # it under the terms of the GNU General Public License as published by
10088 # the Free Software Foundation; either version 2 of the License, or
10089 # (at your option) any later version.
10091 # This program is distributed in the hope that it will be useful, but
10092 # WITHOUT ANY WARRANTY; without even the implied warranty of
10093 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10094 # General Public License for more details.
10096 # You should have received a copy of the GNU General Public License
10097 # along with this program; if not, write to the Free Software
10098 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10100 # As a special exception to the GNU General Public License, if you
10101 # distribute this file as part of a program that contains a
10102 # configuration script generated by Autoconf, you may include it under
10103 # the same distribution terms that you use for the rest of that program.
10105 # A sed program that does not truncate output.
10108 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10109 Xsed="$SED -e 1s/^X//"
10111 # The HP-UX ksh and POSIX shell print the target directory to stdout
10112 # if CDPATH is set.
10113 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10115 # The names of the tagged configurations supported by this script.
10118 # ### BEGIN LIBTOOL CONFIG
10120 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10122 # Shell to use when invoking shell scripts.
10125 # Whether or not to build shared libraries.
10126 build_libtool_libs=$enable_shared
10128 # Whether or not to build static libraries.
10129 build_old_libs=$enable_static
10131 # Whether or not to add -lc for building shared libraries.
10132 build_libtool_need_lc=$archive_cmds_need_lc
10134 # Whether or not to disallow shared libs when runtime libs are static
10135 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10137 # Whether or not to optimize for fast installation.
10138 fast_install=$enable_fast_install
10141 host_alias=$host_alias
10145 # The build system.
10146 build_alias=$build_alias
10150 # An echo program that does not interpret backslashes.
10155 AR_FLAGS=$lt_AR_FLAGS
10160 # A language-specific compiler.
10163 # Is the compiler the GNU C compiler?
10169 # The linker used to build libraries.
10172 # Whether we need hard or soft links.
10175 # A BSD-compatible nm program.
10178 # A symbol stripping program
10181 # Used to examine libraries when file_magic_cmd begins "file"
10182 MAGIC_CMD=$MAGIC_CMD
10184 # Used on cygwin: DLL creation program.
10187 # Used on cygwin: object dumper.
10190 # Used on cygwin: assembler.
10193 # The name of the directory that contains temporary libtool files.
10196 # How to create reloadable object files.
10197 reload_flag=$lt_reload_flag
10198 reload_cmds=$lt_reload_cmds
10200 # How to pass a linker flag through the compiler.
10201 wl=$lt_lt_prog_compiler_wl
10203 # Object file suffix (normally "o").
10204 objext="$ac_objext"
10206 # Old archive suffix (normally "a").
10209 # Shared library suffix (normally ".so").
10210 shrext_cmds='$shrext_cmds'
10212 # Executable file suffix (normally "").
10215 # Additional compiler flags for building library objects.
10216 pic_flag=$lt_lt_prog_compiler_pic
10219 # What is the maximum length of a command?
10220 max_cmd_len=$lt_cv_sys_max_cmd_len
10222 # Does compiler simultaneously support -c and -o options?
10223 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10225 # Must we lock files when doing compilation?
10226 need_locks=$lt_need_locks
10228 # Do we need the lib prefix for modules?
10229 need_lib_prefix=$need_lib_prefix
10231 # Do we need a version for libraries?
10232 need_version=$need_version
10234 # Whether dlopen is supported.
10235 dlopen_support=$enable_dlopen
10237 # Whether dlopen of programs is supported.
10238 dlopen_self=$enable_dlopen_self
10240 # Whether dlopen of statically linked programs is supported.
10241 dlopen_self_static=$enable_dlopen_self_static
10243 # Compiler flag to prevent dynamic linking.
10244 link_static_flag=$lt_lt_prog_compiler_static
10246 # Compiler flag to turn off builtin functions.
10247 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10249 # Compiler flag to allow reflexive dlopens.
10250 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10252 # Compiler flag to generate shared objects directly from archives.
10253 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10255 # Compiler flag to generate thread-safe objects.
10256 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10258 # Library versioning type.
10259 version_type=$version_type
10261 # Format of library name prefix.
10262 libname_spec=$lt_libname_spec
10264 # List of archive names. First name is the real one, the rest are links.
10265 # The last name is the one that the linker finds with -lNAME.
10266 library_names_spec=$lt_library_names_spec
10268 # The coded name of the library, if different from the real name.
10269 soname_spec=$lt_soname_spec
10271 # Commands used to build and install an old-style archive.
10273 old_archive_cmds=$lt_old_archive_cmds
10274 old_postinstall_cmds=$lt_old_postinstall_cmds
10275 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10277 # Create an old-style archive from a shared archive.
10278 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10280 # Create a temporary old-style archive to link instead of a shared archive.
10281 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10283 # Commands used to build and install a shared archive.
10284 archive_cmds=$lt_archive_cmds
10285 archive_expsym_cmds=$lt_archive_expsym_cmds
10286 postinstall_cmds=$lt_postinstall_cmds
10287 postuninstall_cmds=$lt_postuninstall_cmds
10289 # Commands used to build a loadable module (assumed same as above if empty)
10290 module_cmds=$lt_module_cmds
10291 module_expsym_cmds=$lt_module_expsym_cmds
10293 # Commands to strip libraries.
10294 old_striplib=$lt_old_striplib
10295 striplib=$lt_striplib
10297 # Dependencies to place before the objects being linked to create a
10299 predep_objects=$lt_predep_objects
10301 # Dependencies to place after the objects being linked to create a
10303 postdep_objects=$lt_postdep_objects
10305 # Dependencies to place before the objects being linked to create a
10307 predeps=$lt_predeps
10309 # Dependencies to place after the objects being linked to create a
10311 postdeps=$lt_postdeps
10313 # The library search path used internally by the compiler when linking
10314 # a shared library.
10315 compiler_lib_search_path=$lt_compiler_lib_search_path
10317 # Method to check whether dependent libraries are shared objects.
10318 deplibs_check_method=$lt_deplibs_check_method
10320 # Command to use when deplibs_check_method == file_magic.
10321 file_magic_cmd=$lt_file_magic_cmd
10323 # Flag that allows shared libraries with undefined symbols to be built.
10324 allow_undefined_flag=$lt_allow_undefined_flag
10326 # Flag that forces no undefined symbols.
10327 no_undefined_flag=$lt_no_undefined_flag
10329 # Commands used to finish a libtool library installation in a directory.
10330 finish_cmds=$lt_finish_cmds
10332 # Same as above, but a single script fragment to be evaled but not shown.
10333 finish_eval=$lt_finish_eval
10335 # Take the output of nm and produce a listing of raw symbols and C names.
10336 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10338 # Transform the output of nm in a proper C declaration
10339 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10341 # Transform the output of nm in a C name address pair
10342 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10344 # This is the shared library runtime path variable.
10345 runpath_var=$runpath_var
10347 # This is the shared library path variable.
10348 shlibpath_var=$shlibpath_var
10350 # Is shlibpath searched before the hard-coded library search path?
10351 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10353 # How to hardcode a shared library path into an executable.
10354 hardcode_action=$hardcode_action
10356 # Whether we should hardcode library paths into libraries.
10357 hardcode_into_libs=$hardcode_into_libs
10359 # Flag to hardcode \$libdir into a binary during linking.
10360 # This must work even if \$libdir does not exist.
10361 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10363 # If ld is used when linking, flag to hardcode \$libdir into
10364 # a binary during linking. This must work even if \$libdir does
10366 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10368 # Whether we need a single -rpath flag with a separated argument.
10369 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10371 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10372 # resulting binary.
10373 hardcode_direct=$hardcode_direct
10375 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10376 # resulting binary.
10377 hardcode_minus_L=$hardcode_minus_L
10379 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10380 # the resulting binary.
10381 hardcode_shlibpath_var=$hardcode_shlibpath_var
10383 # Set to yes if building a shared library automatically hardcodes DIR into the library
10384 # and all subsequent libraries and executables linked against it.
10385 hardcode_automatic=$hardcode_automatic
10387 # Variables whose values should be saved in libtool wrapper scripts and
10388 # restored at relink time.
10389 variables_saved_for_relink="$variables_saved_for_relink"
10391 # Whether libtool must link a program against all its dependency libraries.
10392 link_all_deplibs=$link_all_deplibs
10394 # Compile-time system search path for libraries
10395 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10397 # Run-time system search path for libraries
10398 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10400 # Fix the shell variable \$srcfile for the compiler.
10401 fix_srcfile_path="$fix_srcfile_path"
10403 # Set to yes if exported symbols are required.
10404 always_export_symbols=$always_export_symbols
10406 # The commands to list exported symbols.
10407 export_symbols_cmds=$lt_export_symbols_cmds
10409 # The commands to extract the exported symbol list from a shared archive.
10410 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10412 # Symbols that should not be listed in the preloaded symbols.
10413 exclude_expsyms=$lt_exclude_expsyms
10415 # Symbols that must always be exported.
10416 include_expsyms=$lt_include_expsyms
10418 # ### END LIBTOOL CONFIG
10425 cat <<\EOF >> "$cfgfile"
10427 # AIX sometimes has problems with the GCC collect2 program. For some
10428 # reason, if we set the COLLECT_NAMES environment variable, the problems
10429 # vanish in a puff of smoke.
10430 if test "X${COLLECT_NAMES+set}" != Xset; then
10432 export COLLECT_NAMES
10438 # We use sed instead of cat because bash on DJGPP gets confused if
10439 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10440 # text mode, it properly converts lines to CR/LF. This bash problem
10441 # is reportedly fixed, but why not run on old versions too?
10442 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10444 mv -f "$cfgfile" "$ofile" || \
10445 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10449 # If there is no Makefile yet, we rely on a make rule to execute
10450 # `config.status
--recheck' to rerun these tests and create the
10451 # libtool script then.
10452 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10453 if test -f "$ltmain_in"; then
10454 test -f Makefile && make "$ltmain"
10460 ac_cpp='$CPP $CPPFLAGS'
10461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10462 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10468 # Check whether --with-tags was given.
10469 if test "${with_tags+set}" = set; then
10470 withval=$with_tags; tagnames="$withval"
10474 if test -f "$ltmain" && test -n "$tagnames"; then
10475 if test ! -f "${ofile}"; then
10476 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10477 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10480 if test -z "$LTCC"; then
10481 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10482 if test -z "$LTCC"; then
10483 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10484 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10486 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10487 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10491 # Extract list of available tagged configurations in $ofile.
10492 # Note that this assumes the entire list is on one line.
10493 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10495 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10496 for tagname in $tagnames; do
10498 # Check whether tagname contains only valid characters
10499 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10501 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10502 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10503 { (exit 1); exit 1; }; }
10507 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10509 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10510 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10511 { (exit 1); exit 1; }; }
10514 # Update the list of available tags.
10515 if test -n "$tagname"; then
10516 echo appending configuration tag \"$tagname\" to $ofile
10520 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10521 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10522 (test "X$CXX" != "Xg++"))) ; then
10524 ac_cpp='$CXXCPP $CPPFLAGS'
10525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10532 archive_cmds_need_lc_CXX=no
10533 allow_undefined_flag_CXX=
10534 always_export_symbols_CXX=no
10535 archive_expsym_cmds_CXX=
10536 export_dynamic_flag_spec_CXX=
10537 hardcode_direct_CXX=no
10538 hardcode_libdir_flag_spec_CXX=
10539 hardcode_libdir_flag_spec_ld_CXX=
10540 hardcode_libdir_separator_CXX=
10541 hardcode_minus_L_CXX=no
10542 hardcode_automatic_CXX=no
10544 module_expsym_cmds_CXX=
10545 link_all_deplibs_CXX=unknown
10546 old_archive_cmds_CXX=$old_archive_cmds
10547 no_undefined_flag_CXX=
10548 whole_archive_flag_spec_CXX=
10549 enable_shared_with_static_runtimes_CXX=no
10551 # Dependencies to place before and after the object being linked:
10552 predep_objects_CXX=
10553 postdep_objects_CXX=
10556 compiler_lib_search_path_CXX=
10558 # Source file extension for C++ test sources.
10561 # Object file extension for compiled C++ test sources.
10565 # Code to be used in simple compile tests
10566 lt_simple_compile_test_code="int some_variable = 0;\n"
10568 # Code to be used in simple link tests
10569 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
10571 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10573 # If no C compiler was specified, use CC.
10576 # Allow CC to be a program name with arguments.
10580 # save warnings/boilerplate of simple test code
10581 ac_outfile=conftest.$ac_objext
10582 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10583 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
10584 _lt_compiler_boilerplate=`cat conftest.err
`
10587 ac_outfile=conftest.$ac_objext
10588 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10589 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
10590 _lt_linker_boilerplate=`cat conftest.err
`
10594 # Allow CC to be a program name with arguments.
10599 lt_save_with_gnu_ld=$with_gnu_ld
10600 lt_save_path_LD=$lt_cv_path_LD
10601 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10602 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10604 unset lt_cv_prog_gnu_ld
10606 if test -n "${lt_cv_path_LDCXX+set}"; then
10607 lt_cv_path_LD=$lt_cv_path_LDCXX
10609 unset lt_cv_path_LD
10611 test -z "${LDCXX+set}" || LD=$LDCXX
10615 for cc_temp in $compiler""; do
10617 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10618 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10623 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10626 # We don't want -fno-exception wen compiling C++ code, so set the
10627 # no_builtin_flag separately
10628 if test "$GXX" = yes; then
10629 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10631 lt_prog_compiler_no_builtin_flag_CXX=
10634 if test "$GXX" = yes; then
10635 # Set up default GNU C++ configuration
10638 # Check whether --with-gnu-ld was given.
10639 if test "${with_gnu_ld+set}" = set; then
10640 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10646 if test "$GCC" = yes; then
10647 # Check if gcc -print-prog-name=ld gives a path.
10648 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10649 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10652 # gcc leaves a trailing carriage return which upsets mingw
10653 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10655 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10658 # Accept absolute paths.
10660 re_direlt='/[^/][^/]*/\.\./'
10661 # Canonicalize the pathname of ld
10662 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10663 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10664 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10666 test -z "$LD" && LD="$ac_prog"
10669 # If it fails, then pretend we aren't using GCC.
10673 # If it is relative, then search for the first ld in PATH.
10674 with_gnu_ld=unknown
10677 elif test "$with_gnu_ld" = yes; then
10678 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10679 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10681 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10682 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10684 if test "${lt_cv_path_LD+set}" = set; then
10685 echo $ECHO_N "(cached) $ECHO_C" >&6
10687 if test -z "$LD"; then
10688 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10689 for ac_dir in $PATH; do
10691 test -z "$ac_dir" && ac_dir=.
10692 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10693 lt_cv_path_LD="$ac_dir/$ac_prog"
10694 # Check to see if the program is GNU ld. I'd rather use --version,
10695 # but apparently some variants of GNU ld only accept -v.
10696 # Break only if it was the GNU/non-GNU ld that we prefer.
10697 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10698 *GNU* | *'with BFD'*)
10699 test "$with_gnu_ld" != no && break
10702 test "$with_gnu_ld" != yes && break
10709 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10713 LD="$lt_cv_path_LD"
10714 if test -n "$LD"; then
10715 { echo "$as_me:$LINENO: result: $LD" >&5
10716 echo "${ECHO_T}$LD" >&6; }
10718 { echo "$as_me:$LINENO: result: no" >&5
10719 echo "${ECHO_T}no" >&6; }
10721 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10722 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10723 { (exit 1); exit 1; }; }
10724 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10725 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10726 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10727 echo $ECHO_N "(cached) $ECHO_C" >&6
10729 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10730 case `$LD -v 2>&1 </dev
/null
` in
10731 *GNU* | *'with BFD'*)
10732 lt_cv_prog_gnu_ld=yes
10735 lt_cv_prog_gnu_ld=no
10739 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10740 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10741 with_gnu_ld=$lt_cv_prog_gnu_ld
10745 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10746 # archiving commands below assume that GNU ld is being used.
10747 if test "$with_gnu_ld" = yes; then
10748 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10749 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'
10751 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10752 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10754 # If archive_cmds runs LD, not CC, wlarc should be empty
10755 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10756 # investigate it a little bit more. (MM)
10759 # ancient GNU ld didn't support --whole-archive et. al.
10760 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10761 grep 'no-whole-archive' > /dev/null; then
10762 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10764 whole_archive_flag_spec_CXX=
10770 # A generic and very simple default shared library creation
10771 # command for GNU C++ for the case where it uses the native
10772 # linker, instead of GNU ld. If possible, this setting should
10773 # overridden to take advantage of the native linker features on
10774 # the platform it is being used on.
10775 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10778 # Commands to make compiler produce verbose output that lists
10779 # what "hidden" libraries, object files and flags are used when
10780 # linking a shared library.
10781 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10789 # PORTME: fill in a description of your system's C++ link characteristics
10790 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10791 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10795 # FIXME: insert proper C++ library support
10799 if test "$host_cpu" = ia64; then
10800 # On IA64, the linker does run time linking by default, so we don't
10801 # have to do anything special.
10802 aix_use_runtimelinking=no
10803 exp_sym_flag='-Bexport'
10806 aix_use_runtimelinking=no
10808 # Test if we are trying to use run time linking or normal
10809 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10810 # need to do runtime linking.
10811 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10812 for ld_flag in $LDFLAGS; do
10815 aix_use_runtimelinking=yes
10822 exp_sym_flag='-bexport'
10823 no_entry_flag='-bnoentry'
10826 # When large executables or shared objects are built, AIX ld can
10827 # have problems creating the table of contents. If linking a library
10828 # or program results in "error TOC overflow" add -mminimal-toc to
10829 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10830 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10832 archive_cmds_CXX=''
10833 hardcode_direct_CXX=yes
10834 hardcode_libdir_separator_CXX=':'
10835 link_all_deplibs_CXX=yes
10837 if test "$GXX" = yes; then
10838 case $host_os in aix4.[012]|aix4.[012].*)
10839 # We only want to do this on AIX 4.2 and lower, the check
10840 # below for broken collect2 doesn't work under 4.3+
10841 collect2name=`${CC} -print-prog-name=collect2
`
10842 if test -f "$collect2name" && \
10843 strings "$collect2name" | grep resolve_lib_name >/dev/null
10845 # We have reworked collect2
10846 hardcode_direct_CXX=yes
10848 # We have old collect2
10849 hardcode_direct_CXX=unsupported
10850 # It fails to find uninstalled libraries when the uninstalled
10851 # path is not listed in the libpath. Setting hardcode_minus_L
10852 # to unsupported forces relinking
10853 hardcode_minus_L_CXX=yes
10854 hardcode_libdir_flag_spec_CXX='-L$libdir'
10855 hardcode_libdir_separator_CXX=
10858 shared_flag='-shared'
10859 if test "$aix_use_runtimelinking" = yes; then
10860 shared_flag="$shared_flag "'${wl}-G'
10864 if test "$host_cpu" = ia64; then
10865 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10866 # chokes on -Wl,-G. The following line is correct:
10869 if test "$aix_use_runtimelinking" = yes; then
10870 shared_flag='${wl}-G'
10872 shared_flag='${wl}-bM:SRE'
10877 # It seems that -bexpall does not export symbols beginning with
10878 # underscore (_), so it is better to generate a list of symbols to export.
10879 always_export_symbols_CXX=yes
10880 if test "$aix_use_runtimelinking" = yes; then
10881 # Warning - without using the other runtime loading flags (-brtl),
10882 # -berok will link without error, but may produce a broken library.
10883 allow_undefined_flag_CXX='-berok'
10884 # Determine the default libpath from the value encoded in an empty executable.
10885 cat >conftest.$ac_ext <<_ACEOF
10888 cat confdefs.h >>conftest.$ac_ext
10889 cat >>conftest.$ac_ext <<_ACEOF
10890 /* end confdefs.h. */
10900 rm -f conftest.$ac_objext conftest$ac_exeext
10901 if { (ac_try="$ac_link"
10902 case "(($ac_try" in
10903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10904 *) ac_try_echo
=$ac_try;;
10906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10907 (eval "$ac_link") 2>conftest.er1
10909 grep -v '^ *+' conftest.er1
>conftest.err
10911 cat conftest.err
>&5
10912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10913 (exit $ac_status); } && {
10914 test -z "$ac_cxx_werror_flag" ||
10915 test ! -s conftest.err
10916 } && test -s conftest
$ac_exeext &&
10917 $as_test_x conftest
$ac_exeext; then
10919 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10921 # Check for a 64-bit object if we didn't find anything.
10922 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10925 echo "$as_me: failed program was:" >&5
10926 sed 's/^/| /' conftest.
$ac_ext >&5
10931 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10932 conftest
$ac_exeext conftest.
$ac_ext
10933 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10935 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10937 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10939 if test "$host_cpu" = ia64; then
10940 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10941 allow_undefined_flag_CXX="-z nodefs"
10942 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
10944 # Determine the default libpath from the value encoded in an empty executable.
10945 cat >conftest.$ac_ext <<_ACEOF
10948 cat confdefs.h >>conftest.$ac_ext
10949 cat >>conftest.$ac_ext <<_ACEOF
10950 /* end confdefs.h. */
10960 rm -f conftest.$ac_objext conftest$ac_exeext
10961 if { (ac_try="$ac_link"
10962 case "(($ac_try" in
10963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10964 *) ac_try_echo=$ac_try;;
10966 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10967 (eval "$ac_link") 2>conftest.er1
10969 grep -v '^ *+' conftest.er1 >conftest.err
10971 cat conftest.err >&5
10972 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10973 (exit $ac_status); } && {
10974 test -z "$ac_cxx_werror_flag" ||
10975 test ! -s conftest.err
10976 } && test -s conftest$ac_exeext &&
10977 $as_test_x conftest$ac_exeext; then
10979 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10981 # Check for a 64-bit object if we didn't find anything.
10982 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10985 echo "$as_me: failed program was
:" >&5
10986 sed 's/^/| /' conftest.$ac_ext >&5
10991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10992 conftest$ac_exeext conftest.$ac_ext
10993 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10995 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10996 # Warning - without using the other run time loading flags,
10997 # -berok will link without error, but may produce a broken library.
10998 no_undefined_flag_CXX=' ${wl}-bernotok'
10999 allow_undefined_flag_CXX=' ${wl}-berok'
11000 # -bexpall does not export symbols beginning with underscore (_)
11001 always_export_symbols_CXX=yes
11002 # Exported symbols can be pulled into shared objects from archives
11003 whole_archive_flag_spec_CXX=' '
11004 archive_cmds_need_lc_CXX=yes
11005 # This is similar to how AIX traditionally builds its shared libraries.
11006 archive_expsym_cmds_CXX="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11011 case $cc_basename in
11013 # FIXME: insert proper C++ library support
11020 cygwin* | mingw* | pw32*)
11021 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11022 # as there is no search path for DLLs.
11023 hardcode_libdir_flag_spec_CXX='-L$libdir'
11024 allow_undefined_flag_CXX=unsupported
11025 always_export_symbols_CXX=no
11026 enable_shared_with_static_runtimes_CXX=yes
11028 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11029 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11030 # If the export-symbols file already is a .def file (1st line
11031 # is EXPORTS), use it as is; otherwise, prepend...
11032 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
11033 cp $export_symbols $output_objdir/$soname.def;
11035 echo EXPORTS > $output_objdir/$soname.def;
11036 cat $export_symbols >> $output_objdir/$soname.def;
11038 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11043 darwin* | rhapsody*)
11045 rhapsody* | darwin1.[012])
11046 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11049 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11050 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11052 case ${MACOSX_DEPLOYMENT_TARGET} in
11054 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11057 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11063 archive_cmds_need_lc_CXX=no
11064 hardcode_direct_CXX=no
11065 hardcode_automatic_CXX=yes
11066 hardcode_shlibpath_var_CXX=unsupported
11067 whole_archive_flag_spec_CXX=''
11068 link_all_deplibs_CXX=yes
11070 if test "$GXX" = yes ; then
11071 lt_int_apple_cc_single_mod=no
11072 output_verbose_link_cmd='echo'
11073 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11074 lt_int_apple_cc_single_mod=yes
11076 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
11077 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11079 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'
11081 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11082 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11083 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
11084 archive_expsym_cmds_CXX='sed -e "s
,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11086 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11088 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}'
11090 case $cc_basename in
11092 output_verbose_link_cmd
='echo'
11093 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11094 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11095 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11096 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11097 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}'
11107 case $cc_basename in
11109 # FIXME: insert proper C++ library support
11113 # Green Hills C++ Compiler
11114 # FIXME: insert proper C++ library support
11118 # FIXME: insert proper C++ library support
11124 # C++ shared libraries reported to be fairly broken before switch to ELF
11128 archive_cmds_need_lc_CXX
=no
11130 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11131 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11138 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11139 hardcode_libdir_separator_CXX
=:
11140 export_dynamic_flag_spec_CXX
='${wl}-E'
11141 hardcode_direct_CXX
=yes
11142 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11143 # but as the default
11144 # location of the library.
11146 case $cc_basename in
11148 # FIXME: insert proper C++ library support
11152 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'
11153 # Commands to make compiler produce verbose output that lists
11154 # what "hidden" libraries, object files and flags are used when
11155 # linking a shared library.
11157 # There doesn't appear to be a way to prevent this compiler from
11158 # explicitly linking system object files so we need to strip them
11159 # from the output so that they don't get included in the library
11161 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'
11164 if test "$GXX" = yes; then
11165 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'
11167 # FIXME: insert proper C++ library support
11174 if test $with_gnu_ld = no
; then
11177 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11178 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
11179 hardcode_libdir_separator_CXX
=:
11182 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11185 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11186 hardcode_libdir_separator_CXX
=:
11187 export_dynamic_flag_spec_CXX
='${wl}-E'
11193 hardcode_direct_CXX
=no
11194 hardcode_shlibpath_var_CXX
=no
11197 hardcode_direct_CXX
=no
11198 hardcode_shlibpath_var_CXX
=no
11199 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11200 # but as the default
11201 # location of the library.
11204 hardcode_direct_CXX
=yes
11205 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11206 # but as the default
11207 # location of the library.
11211 case $cc_basename in
11213 # FIXME: insert proper C++ library support
11219 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11222 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11225 # Commands to make compiler produce verbose output that lists
11226 # what "hidden" libraries, object files and flags are used when
11227 # linking a shared library.
11229 # There doesn't appear to be a way to prevent this compiler from
11230 # explicitly linking system object files so we need to strip them
11231 # from the output so that they don't get included in the library
11233 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'
11236 if test "$GXX" = yes; then
11237 if test $with_gnu_ld = no
; then
11240 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11243 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'
11248 # FIXME: insert proper C++ library support
11255 case $cc_basename in
11258 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'
11260 # Archives containing C++ object files must be created using
11261 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11262 # necessary to make sure instantiated templates are included
11264 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11267 if test "$GXX" = yes; then
11268 if test "$with_gnu_ld" = no
; then
11269 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'
11271 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'
11274 link_all_deplibs_CXX
=yes
11277 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11278 hardcode_libdir_separator_CXX
=:
11281 case $cc_basename in
11283 # Kuck and Associates, Inc. (KAI) C++ Compiler
11285 # KCC will only create a shared library if the output file
11286 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11287 # to its proper name (with version) after linking.
11288 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'
11289 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'
11290 # Commands to make compiler produce verbose output that lists
11291 # what "hidden" libraries, object files and flags are used when
11292 # linking a shared library.
11294 # There doesn't appear to be a way to prevent this compiler from
11295 # explicitly linking system object files so we need to strip them
11296 # from the output so that they don't get included in the library
11298 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'
11300 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11301 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11303 # Archives containing C++ object files must be created using
11304 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11305 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11310 # version 8.0 and above of icpc choke on multiply defined symbols
11311 # if we add $predep_objects and $postdep_objects, however 7.1 and
11312 # earlier do not add the objects themselves.
11313 case `$CC -V 2>&1` in
11315 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11316 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'
11318 *) # Version 8.0 or newer
11321 ia64
*) tmp_idyn
=' -i_dynamic';;
11323 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11324 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'
11327 archive_cmds_need_lc_CXX
=no
11328 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11329 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11330 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11333 # Portland Group C++ compiler
11334 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11335 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'
11337 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11338 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11339 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'
11343 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11344 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'
11346 runpath_var
=LD_RUN_PATH
11347 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11348 hardcode_libdir_separator_CXX
=:
11350 # Commands to make compiler produce verbose output that lists
11351 # what "hidden" libraries, object files and flags are used when
11352 # linking a shared library.
11354 # There doesn't appear to be a way to prevent this compiler from
11355 # explicitly linking system object files so we need to strip them
11356 # from the output so that they don't get included in the library
11358 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'
11363 # FIXME: insert proper C++ library support
11367 # FIXME: insert proper C++ library support
11371 case $cc_basename in
11373 # FIXME: insert proper C++ library support
11377 # FIXME: insert proper C++ library support
11383 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11384 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11386 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11387 hardcode_direct_CXX
=yes
11388 hardcode_shlibpath_var_CXX
=no
11390 # Workaround some broken pre-1.5 toolchains
11391 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11394 # C++ shared libraries are fairly broken
11398 hardcode_direct_CXX
=yes
11399 hardcode_shlibpath_var_CXX
=no
11400 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11401 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11402 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11403 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11404 export_dynamic_flag_spec_CXX
='${wl}-E'
11405 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11407 output_verbose_link_cmd
='echo'
11410 case $cc_basename in
11412 # Kuck and Associates, Inc. (KAI) C++ Compiler
11414 # KCC will only create a shared library if the output file
11415 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11416 # to its proper name (with version) after linking.
11417 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'
11419 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11420 hardcode_libdir_separator_CXX
=:
11422 # Archives containing C++ object files must be created using
11423 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11424 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11428 # Rational C++ 2.4.1
11429 # FIXME: insert proper C++ library support
11433 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11434 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'
11436 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11437 hardcode_libdir_separator_CXX
=:
11439 # Commands to make compiler produce verbose output that lists
11440 # what "hidden" libraries, object files and flags are used when
11441 # linking a shared library.
11443 # There doesn't appear to be a way to prevent this compiler from
11444 # explicitly linking system object files so we need to strip them
11445 # from the output so that they don't get included in the library
11447 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'
11450 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11451 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11452 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'
11454 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11455 hardcode_libdir_separator_CXX
=:
11457 # Commands to make compiler produce verbose output that lists
11458 # what "hidden" libraries, object files and flags are used when
11459 # linking a shared library.
11460 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11463 # FIXME: insert proper C++ library support
11470 case $cc_basename in
11472 # Kuck and Associates, Inc. (KAI) C++ Compiler
11474 # KCC will only create a shared library if the output file
11475 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11476 # to its proper name (with version) after linking.
11477 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'
11479 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11480 hardcode_libdir_separator_CXX
=:
11482 # Archives containing C++ object files must be created using
11483 # the KAI C++ compiler.
11484 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11487 # Rational C++ 2.4.1
11488 # FIXME: insert proper C++ library support
11492 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11493 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'
11494 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11495 echo "-hidden">> $lib.exp~
11496 $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~
11499 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11500 hardcode_libdir_separator_CXX
=:
11502 # Commands to make compiler produce verbose output that lists
11503 # what "hidden" libraries, object files and flags are used when
11504 # linking a shared library.
11506 # There doesn't appear to be a way to prevent this compiler from
11507 # explicitly linking system object files so we need to strip them
11508 # from the output so that they don't get included in the library
11510 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'
11513 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11514 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11515 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'
11517 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11518 hardcode_libdir_separator_CXX
=:
11520 # Commands to make compiler produce verbose output that lists
11521 # what "hidden" libraries, object files and flags are used when
11522 # linking a shared library.
11523 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11526 # FIXME: insert proper C++ library support
11533 # FIXME: insert proper C++ library support
11537 archive_cmds_need_lc_CXX
=no
11538 case $cc_basename in
11540 # FIXME: insert proper C++ library support
11544 # FIXME: insert proper C++ library support
11550 case $cc_basename in
11553 # FIXME: insert proper C++ library support
11558 # FIXME: insert proper C++ library support
11562 # FIXME: insert proper C++ library support
11568 case $cc_basename in
11570 # Sun C++ 4.2, 5.x and Centerline C++
11571 archive_cmds_need_lc_CXX
=yes
11572 no_undefined_flag_CXX
=' -zdefs'
11573 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11574 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11575 $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'
11577 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11578 hardcode_shlibpath_var_CXX
=no
11580 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11582 # The C++ compiler is used as linker so we must use $wl
11583 # flag to pass the commands to the underlying system
11584 # linker. We must also pass each convience library through
11585 # to the system linker between allextract/defaultextract.
11586 # The C++ compiler will combine linker options so we
11587 # cannot just pass the convience library names through
11589 # Supported since Solaris 2.6 (maybe 2.5.1?)
11590 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11593 link_all_deplibs_CXX
=yes
11595 output_verbose_link_cmd
='echo'
11597 # Archives containing C++ object files must be created using
11598 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11599 # necessary to make sure instantiated templates are included
11601 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11604 # Green Hills C++ Compiler
11605 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11607 # The C++ compiler must be used to create the archive.
11608 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11611 # GNU C++ compiler with Solaris linker
11612 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11613 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11614 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11615 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11616 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11617 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11619 # Commands to make compiler produce verbose output that lists
11620 # what "hidden" libraries, object files and flags are used when
11621 # linking a shared library.
11622 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11624 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11626 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11627 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11628 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11630 # Commands to make compiler produce verbose output that lists
11631 # what "hidden" libraries, object files and flags are used when
11632 # linking a shared library.
11633 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11636 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11641 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
11642 archive_cmds_need_lc_CXX
=no
11645 case $cc_basename in
11647 # NonStop-UX NCC 3.20
11648 # FIXME: insert proper C++ library support
11652 # FIXME: insert proper C++ library support
11658 # FIXME: insert proper C++ library support
11662 # FIXME: insert proper C++ library support
11666 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11667 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11668 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11674 cat > conftest.
$ac_ext <<EOF
11678 Foo (void) { a = 0; }
11684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11685 (eval $ac_compile) 2>&5
11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); }; then
11689 # Parse the compiler output and extract the necessary
11690 # objects, libraries and library flags.
11692 # Sentinel used to keep track of whether or not we are before
11693 # the conftest object file.
11694 pre_test_object_deps_done
=no
11696 # The `*' in the case matches for architectures that use `case' in
11697 # $output_verbose_cmd can trigger glob expansion during the loop
11698 # eval without this substitution.
11699 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11701 for p
in `eval $output_verbose_link_cmd`; do
11705 # Some compilers place space between "-{L,R}" and the path.
11706 # Remove the space.
11707 if test $p = "-L" \
11708 ||
test $p = "-R"; then
11715 if test "$pre_test_object_deps_done" = no
; then
11718 # Internal compiler library paths should come after those
11719 # provided the user. The postdeps already come after the
11720 # user supplied libs so there is no need to process them.
11721 if test -z "$compiler_lib_search_path_CXX"; then
11722 compiler_lib_search_path_CXX
="${prev}${p}"
11724 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11727 # The "-l" case would never come before the object being
11728 # linked, so don't bother handling this case.
11731 if test -z "$postdeps_CXX"; then
11732 postdeps_CXX
="${prev}${p}"
11734 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11740 # This assumes that the test object file only shows up
11741 # once in the compiler output.
11742 if test "$p" = "conftest.$objext"; then
11743 pre_test_object_deps_done
=yes
11747 if test "$pre_test_object_deps_done" = no
; then
11748 if test -z "$predep_objects_CXX"; then
11749 predep_objects_CXX
="$p"
11751 predep_objects_CXX
="$predep_objects_CXX $p"
11754 if test -z "$postdep_objects_CXX"; then
11755 postdep_objects_CXX
="$p"
11757 postdep_objects_CXX
="$postdep_objects_CXX $p"
11762 *) ;; # Ignore the rest.
11770 echo "libtool.m4: error: problem compiling CXX test program"
11773 $rm -f confest.
$objext
11775 # PORTME: override above test on systems where it is broken
11778 case $cc_basename in
11780 # Adding this requires a known-good setup of shared libraries for
11781 # Sun compiler versions before 5.6, else PIC objects from an old
11782 # archive will be linked into the output, leading to subtle bugs.
11783 postdeps_CXX
='-lCstd -lCrun'
11789 case " $postdeps_CXX " in
11790 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11793 lt_prog_compiler_wl_CXX
=
11794 lt_prog_compiler_pic_CXX
=
11795 lt_prog_compiler_static_CXX
=
11797 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11798 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11800 # C++ specific cases for pic, static, wl, etc.
11801 if test "$GXX" = yes; then
11802 lt_prog_compiler_wl_CXX
='-Wl,'
11803 lt_prog_compiler_static_CXX
='-static'
11807 # All AIX code is PIC.
11808 if test "$host_cpu" = ia64
; then
11809 # AIX 5 now supports IA64 processor
11810 lt_prog_compiler_static_CXX
='-Bstatic'
11814 # FIXME: we need at least 68020 code to build shared libraries, but
11815 # adding the `-m68020' flag to GCC prevents building anything better,
11817 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11819 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11820 # PIC is the default for these OSes.
11822 mingw
* | os2
* | pw32
*)
11823 # This hack is so that the source file can tell whether it is being
11824 # built for inclusion in a dll (and should export symbols for example).
11825 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11827 darwin
* | rhapsody
*)
11828 # PIC is the default on this platform
11829 # Common symbols not allowed in MH_DYLIB files
11830 lt_prog_compiler_pic_CXX
='-fno-common'
11833 # DJGPP does not support shared libraries at all
11834 lt_prog_compiler_pic_CXX
=
11837 if test -d /usr
/nec
; then
11838 lt_prog_compiler_pic_CXX
=-Kconform_pic
11842 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11843 # not for PA HP-UX.
11848 lt_prog_compiler_pic_CXX
='-fPIC'
11853 lt_prog_compiler_pic_CXX
='-fPIC'
11859 # All AIX code is PIC.
11860 if test "$host_cpu" = ia64
; then
11861 # AIX 5 now supports IA64 processor
11862 lt_prog_compiler_static_CXX
='-Bstatic'
11864 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11868 case $cc_basename in
11870 # Green Hills C++ Compiler
11871 # _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"
11876 # PIC is the default on this platform
11877 # Common symbols not allowed in MH_DYLIB files
11878 case $cc_basename in
11880 lt_prog_compiler_pic_CXX
='-qnocommon'
11881 lt_prog_compiler_wl_CXX
='-Wl,'
11886 case $cc_basename in
11888 lt_prog_compiler_pic_CXX
='-KPIC'
11891 # Green Hills C++ Compiler
11892 lt_prog_compiler_pic_CXX
='-pic'
11898 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11899 # FreeBSD uses GNU C++
11901 hpux9
* | hpux10
* | hpux11
*)
11902 case $cc_basename in
11904 lt_prog_compiler_wl_CXX
='-Wl,'
11905 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11906 if test "$host_cpu" != ia64
; then
11907 lt_prog_compiler_pic_CXX
='+Z'
11911 lt_prog_compiler_wl_CXX
='-Wl,'
11912 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11918 lt_prog_compiler_pic_CXX
='+Z'
11926 irix5
* | irix6
* | nonstopux
*)
11927 case $cc_basename in
11929 lt_prog_compiler_wl_CXX
='-Wl,'
11930 lt_prog_compiler_static_CXX
='-non_shared'
11931 # CC pic flag -KPIC is the default.
11938 case $cc_basename in
11941 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11942 lt_prog_compiler_pic_CXX
='-fPIC'
11946 lt_prog_compiler_wl_CXX
='-Wl,'
11947 lt_prog_compiler_pic_CXX
='-KPIC'
11948 lt_prog_compiler_static_CXX
='-static'
11951 # Portland Group C++ compiler.
11952 lt_prog_compiler_wl_CXX
='-Wl,'
11953 lt_prog_compiler_pic_CXX
='-fpic'
11954 lt_prog_compiler_static_CXX
='-Bstatic'
11958 # Make sure the PIC flag is empty. It appears that all Alpha
11959 # Linux and Compaq Tru64 Unix objects are PIC.
11960 lt_prog_compiler_pic_CXX
=
11961 lt_prog_compiler_static_CXX
='-non_shared'
11972 case $cc_basename in
11974 lt_prog_compiler_pic_CXX
='-W c,exportall'
11982 osf3
* | osf4
* | osf5
*)
11983 case $cc_basename in
11985 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11988 # Rational C++ 2.4.1
11989 lt_prog_compiler_pic_CXX
='-pic'
11992 # Digital/Compaq C++
11993 lt_prog_compiler_wl_CXX
='-Wl,'
11994 # Make sure the PIC flag is empty. It appears that all Alpha
11995 # Linux and Compaq Tru64 Unix objects are PIC.
11996 lt_prog_compiler_pic_CXX
=
11997 lt_prog_compiler_static_CXX
='-non_shared'
12006 case $cc_basename in
12008 lt_prog_compiler_pic_CXX
='-fPIC'
12015 case $cc_basename in
12017 # Sun C++ 4.2, 5.x and Centerline C++
12018 lt_prog_compiler_pic_CXX
='-KPIC'
12019 lt_prog_compiler_static_CXX
='-Bstatic'
12020 lt_prog_compiler_wl_CXX
='-Qoption ld '
12023 # Green Hills C++ Compiler
12024 lt_prog_compiler_pic_CXX
='-PIC'
12031 case $cc_basename in
12034 lt_prog_compiler_pic_CXX
='-pic'
12035 lt_prog_compiler_static_CXX
='-Bstatic'
12039 lt_prog_compiler_pic_CXX
='-pic'
12046 case $cc_basename in
12048 # NonStop-UX NCC 3.20
12049 lt_prog_compiler_pic_CXX
='-KPIC'
12060 lt_prog_compiler_can_build_shared_CXX
=no
12065 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12066 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12069 # Check to make sure the PIC flag actually works.
12071 if test -n "$lt_prog_compiler_pic_CXX"; then
12073 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12074 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12075 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12076 echo $ECHO_N "(cached) $ECHO_C" >&6
12078 lt_prog_compiler_pic_works_CXX
=no
12079 ac_outfile
=conftest.
$ac_objext
12080 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12081 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12082 # Insert the option either (1) after the last *FLAGS variable, or
12083 # (2) before a word containing "conftest.", or (3) at the end.
12084 # Note that $ac_compile itself does not contain backslashes and begins
12085 # with a dollar sign (not a hyphen), so the echo should work correctly.
12086 # The option is referenced via a variable to avoid confusing sed.
12087 lt_compile
=`echo "$ac_compile" | $SED \
12088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12090 -e 's:$: $lt_compiler_flag:'`
12091 (eval echo "\"\$as_me:12091: $lt_compile\"" >&5)
12092 (eval "$lt_compile" 2>conftest.err
)
12094 cat conftest.err
>&5
12095 echo "$as_me:12095: \$? = $ac_status" >&5
12096 if (exit $ac_status) && test -s "$ac_outfile"; then
12097 # The compiler can only warn and ignore the option if not recognized
12098 # So say no if there are warnings other than the usual output.
12099 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
12100 $SED '/^$/d' conftest.err
>conftest.er2
12101 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12102 lt_prog_compiler_pic_works_CXX
=yes
12108 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12109 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12111 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12112 case $lt_prog_compiler_pic_CXX in
12114 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12117 lt_prog_compiler_pic_CXX
=
12118 lt_prog_compiler_can_build_shared_CXX
=no
12123 # For platforms which do not support PIC, -DPIC is meaningless:
12125 lt_prog_compiler_pic_CXX
=
12128 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12132 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12133 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12134 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12135 echo $ECHO_N "(cached) $ECHO_C" >&6
12137 lt_cv_prog_compiler_c_o_CXX
=no
12138 $rm -r conftest
2>/dev
/null
12142 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12144 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12145 # Insert the option either (1) after the last *FLAGS variable, or
12146 # (2) before a word containing "conftest.", or (3) at the end.
12147 # Note that $ac_compile itself does not contain backslashes and begins
12148 # with a dollar sign (not a hyphen), so the echo should work correctly.
12149 lt_compile
=`echo "$ac_compile" | $SED \
12150 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12151 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12152 -e 's:$: $lt_compiler_flag:'`
12153 (eval echo "\"\$as_me:12153: $lt_compile\"" >&5)
12154 (eval "$lt_compile" 2>out
/conftest.err
)
12156 cat out
/conftest.err
>&5
12157 echo "$as_me:12157: \$? = $ac_status" >&5
12158 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12160 # The compiler can only warn and ignore the option if not recognized
12161 # So say no if there are warnings
12162 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
12163 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
12164 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12165 lt_cv_prog_compiler_c_o_CXX
=yes
12170 # SGI C++ compiler will create directory out/ii_files/ for
12171 # template instantiation
12172 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12173 $rm out
/* && rmdir out
12179 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12180 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12183 hard_links
="nottested"
12184 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12185 # do not overwrite the value of need_locks provided by the user
12186 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12187 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12190 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12192 ln conftest.a conftest.b
2>&5 || hard_links
=no
12193 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12194 { echo "$as_me:$LINENO: result: $hard_links" >&5
12195 echo "${ECHO_T}$hard_links" >&6; }
12196 if test "$hard_links" = no
; then
12197 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12198 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12205 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12206 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12208 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12211 # If we're using GNU nm, then we don't want the "-C" option.
12212 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12213 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12214 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'
12216 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'
12220 export_symbols_cmds_CXX
="$ltdll_cmds"
12223 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'
12226 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12230 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12231 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12232 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12234 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12235 if test "$GCC" = yes; then
12236 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12240 # Do we need to explicitly link libc?
12242 case "x$archive_cmds_need_lc_CXX" in
12244 # Assume -lc should be added
12245 archive_cmds_need_lc_CXX
=yes
12247 if test "$enable_shared" = yes && test "$GCC" = yes; then
12248 case $archive_cmds_CXX in
12250 # FIXME: we may have to deal with multi-command sequences.
12253 # Test whether the compiler implicitly links with -lc since on some
12254 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12255 # to ld, don't add -lc before -lgcc.
12256 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12257 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12259 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12262 (eval $ac_compile) 2>&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } 2>conftest.err
; then
12268 libobjs
=conftest.
$ac_objext
12270 wl
=$lt_prog_compiler_wl_CXX
12276 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12277 allow_undefined_flag_CXX
=
12278 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12279 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); }
12284 archive_cmds_need_lc_CXX
=no
12286 archive_cmds_need_lc_CXX
=yes
12288 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12290 cat conftest.err
1>&5
12293 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12294 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12301 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12302 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12303 library_names_spec
=
12304 libname_spec
='lib$name'
12308 postuninstall_cmds
=
12312 shlibpath_overrides_runpath
=unknown
12314 dynamic_linker
="$host_os ld.so"
12315 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12316 if test "$GCC" = yes; then
12317 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12318 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12319 # if the path contains ";" then we assume it to be the separator
12320 # otherwise default to the standard path separator (i.e. ":") - it is
12321 # assumed that no part of a normal pathname contains ";" but that should
12322 # okay in the real world where ";" in dirpaths is itself problematic.
12323 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12325 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12328 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12330 need_lib_prefix
=unknown
12331 hardcode_into_libs
=no
12333 # when you set need_version to no, make sure it does not cause -set_version
12334 # flags to be left without arguments
12335 need_version
=unknown
12340 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12341 shlibpath_var
=LIBPATH
12343 # AIX 3 has no versioning support, so we append a major version to the name.
12344 soname_spec
='${libname}${release}${shared_ext}$major'
12351 hardcode_into_libs
=yes
12352 if test "$host_cpu" = ia64
; then
12353 # AIX 5 supports IA64
12354 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12355 shlibpath_var
=LD_LIBRARY_PATH
12357 # With GCC up to 2.95.x, collect2 would create an import file
12358 # for dependence libraries. The import file would start with
12359 # the line `#! .'. This would cause the generated library to
12360 # depend on `.', always an invalid library. This was fixed in
12361 # development snapshots of GCC prior to 3.0.
12363 aix4 | aix4.
[01] | aix4.
[01].
*)
12364 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12366 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12369 can_build_shared
=no
12373 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12374 # soname into executable. Probably we can add versioning support to
12375 # collect2, so additional links can be useful in future.
12376 if test "$aix_use_runtimelinking" = yes; then
12377 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12378 # instead of lib<name>.a to let people know that these are not
12379 # typical AIX shared libraries.
12380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12382 # We preserve .a as extension for shared libraries through AIX4.2
12383 # and later when we are not doing run time linking.
12384 library_names_spec
='${libname}${release}.a $libname.a'
12385 soname_spec
='${libname}${release}${shared_ext}$major'
12387 shlibpath_var
=LIBPATH
12392 library_names_spec
='$libname.ixlibrary $libname.a'
12393 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12394 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'
12398 library_names_spec
='${libname}${shared_ext}'
12399 dynamic_linker
="$host_os ld.so"
12400 shlibpath_var
=LIBRARY_PATH
12406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12407 soname_spec
='${libname}${release}${shared_ext}$major'
12408 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12409 shlibpath_var
=LD_LIBRARY_PATH
12410 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12411 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12412 # the default ld.so.conf also contains /usr/contrib/lib and
12413 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12414 # libtool to hard-code these into programs
12417 cygwin
* | mingw
* | pw32
*)
12418 version_type
=windows
12423 case $GCC,$host_os in
12424 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12425 library_names_spec
='$libname.dll.a'
12426 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12427 postinstall_cmds
='base_file=`basename \${file}`~
12428 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12429 dldir=$destdir/`dirname \$dlpath`~
12430 test -d \$dldir || mkdir -p \$dldir~
12431 $install_prog $dir/$dlname \$dldir/$dlname~
12432 chmod a+x \$dldir/$dlname'
12433 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12434 dlpath=$dir/\$dldll~
12436 shlibpath_overrides_runpath
=yes
12440 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12441 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12442 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12445 # MinGW DLLs use traditional 'lib' prefix
12446 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12447 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12448 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12449 # It is most probably a Windows format PATH printed by
12450 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12451 # path with ; separators, and with drive letters. We can handle the
12452 # drive letters (cygwin fileutils understands them), so leave them,
12453 # especially as we might pass files found there to a mingw objdump,
12454 # which wouldn't understand a cygwinified path. Ahh.
12455 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12457 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12461 # pw32 DLLs use 'pw' prefix rather than 'lib'
12462 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12468 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12471 dynamic_linker
='Win32 ld.exe'
12472 # FIXME: first we should search . and the directory the executable is in
12476 darwin
* | rhapsody
*)
12477 dynamic_linker
="$host_os dyld"
12478 version_type
=darwin
12481 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12482 soname_spec
='${libname}${release}${major}$shared_ext'
12483 shlibpath_overrides_runpath
=yes
12484 shlibpath_var
=DYLD_LIBRARY_PATH
12485 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12486 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12487 if test "$GCC" = yes; then
12488 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12490 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12492 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12500 soname_spec
='${libname}${release}${shared_ext}$major'
12501 shlibpath_var
=LD_LIBRARY_PATH
12512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12513 soname_spec
='${libname}${release}${shared_ext}$major'
12514 shlibpath_var
=LD_LIBRARY_PATH
12515 shlibpath_overrides_runpath
=no
12516 hardcode_into_libs
=yes
12517 dynamic_linker
='GNU ld.so'
12520 freebsd
* | dragonfly
*)
12521 # DragonFly does not have aout. When/if they implement a new
12522 # versioning mechanism, adjust this.
12523 if test -x /usr
/bin
/objformat
; then
12524 objformat
=`/usr/bin/objformat`
12527 freebsd
[123]*) objformat
=aout
;;
12528 *) objformat
=elf
;;
12531 version_type
=freebsd-
$objformat
12532 case $version_type in
12534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12539 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12543 shlibpath_var
=LD_LIBRARY_PATH
12546 shlibpath_overrides_runpath
=yes
12548 freebsd3.
[01]* | freebsdelf3.
[01]*)
12549 shlibpath_overrides_runpath
=yes
12550 hardcode_into_libs
=yes
12553 shlibpath_overrides_runpath
=no
12554 hardcode_into_libs
=yes
12563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12564 soname_spec
='${libname}${release}${shared_ext}$major'
12565 shlibpath_var
=LD_LIBRARY_PATH
12566 hardcode_into_libs
=yes
12569 hpux9
* | hpux10
* | hpux11
*)
12570 # Give a soname corresponding to the major version so that dld.sl refuses to
12571 # link against other versions.
12578 hardcode_into_libs
=yes
12579 dynamic_linker
="$host_os dld.so"
12580 shlibpath_var
=LD_LIBRARY_PATH
12581 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12583 soname_spec
='${libname}${release}${shared_ext}$major'
12584 if test "X$HPUX_IA64_MODE" = X32
; then
12585 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12587 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12589 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12593 hardcode_into_libs
=yes
12594 dynamic_linker
="$host_os dld.sl"
12595 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12596 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12598 soname_spec
='${libname}${release}${shared_ext}$major'
12599 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12600 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12604 dynamic_linker
="$host_os dld.sl"
12605 shlibpath_var
=SHLIB_PATH
12606 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12608 soname_spec
='${libname}${release}${shared_ext}$major'
12611 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12612 postinstall_cmds
='chmod 555 $lib'
12615 irix5
* | irix6
* | nonstopux
*)
12617 nonstopux
*) version_type
=nonstopux
;;
12619 if test "$lt_cv_prog_gnu_ld" = yes; then
12627 soname_spec
='${libname}${release}${shared_ext}$major'
12628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12630 irix5
* | nonstopux
*)
12631 libsuff
= shlibsuff
=
12634 case $LD in # libtool.m4 will add one of these switches to LD
12635 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12636 libsuff
= shlibsuff
= libmagic
=32-bit;;
12637 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12638 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12639 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12640 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12641 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12645 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12646 shlibpath_overrides_runpath
=no
12647 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12648 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12649 hardcode_into_libs
=yes
12652 # No shared lib support for Linux oldld, aout, or coff.
12653 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12657 # This must be Linux ELF.
12662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12663 soname_spec
='${libname}${release}${shared_ext}$major'
12664 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12665 shlibpath_var
=LD_LIBRARY_PATH
12666 shlibpath_overrides_runpath
=no
12667 # This implies no fast_install, which is unacceptable.
12668 # Some rework will be needed to allow for fast_install
12669 # before this can be enabled.
12670 hardcode_into_libs
=yes
12672 # Append ld.so.conf contents to the search path
12673 if test -f /etc
/ld.so.conf
; then
12674 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12675 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12678 # We used to test for /lib/ld.so.1 and disable shared libraries on
12679 # powerpc, because MkLinux only supported shared libraries with the
12680 # GNU dynamic linker. Since this was broken with cross compilers,
12681 # most powerpc-linux boxes support dynamic linking these days and
12682 # people can always --disable-shared, the test was removed, and we
12683 # assume the GNU/Linux dynamic linker is in use.
12684 dynamic_linker
='GNU/Linux ld.so'
12691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12692 soname_spec
='${libname}${release}${shared_ext}$major'
12693 shlibpath_var
=LD_LIBRARY_PATH
12694 shlibpath_overrides_runpath
=no
12695 hardcode_into_libs
=yes
12696 dynamic_linker
='GNU ld.so'
12703 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12704 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12705 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12706 dynamic_linker
='NetBSD (a.out) ld.so'
12708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12709 soname_spec
='${libname}${release}${shared_ext}$major'
12710 dynamic_linker
='NetBSD ld.elf_so'
12712 shlibpath_var
=LD_LIBRARY_PATH
12713 shlibpath_overrides_runpath
=yes
12714 hardcode_into_libs
=yes
12719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12720 shlibpath_var
=LD_LIBRARY_PATH
12721 shlibpath_overrides_runpath
=yes
12728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12729 soname_spec
='${libname}${release}${shared_ext}$major'
12730 shlibpath_var
=LD_LIBRARY_PATH
12731 shlibpath_overrides_runpath
=yes
12737 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12739 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12740 *) need_version
=no
;;
12742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12743 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12744 shlibpath_var
=LD_LIBRARY_PATH
12745 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12747 openbsd2.
[89] | openbsd2.
[89].
*)
12748 shlibpath_overrides_runpath
=no
12751 shlibpath_overrides_runpath
=yes
12755 shlibpath_overrides_runpath
=yes
12760 libname_spec
='$name'
12763 library_names_spec
='$libname${shared_ext} $libname.a'
12764 dynamic_linker
='OS/2 ld.exe'
12765 shlibpath_var
=LIBPATH
12768 osf3
* | osf4
* | osf5
*)
12772 soname_spec
='${libname}${release}${shared_ext}$major'
12773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12774 shlibpath_var
=LD_LIBRARY_PATH
12775 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12776 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12781 soname_spec
='${libname}${release}${shared_ext}$major'
12782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12783 shlibpath_var
=LD_LIBRARY_PATH
12790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12791 soname_spec
='${libname}${release}${shared_ext}$major'
12792 shlibpath_var
=LD_LIBRARY_PATH
12793 shlibpath_overrides_runpath
=yes
12794 hardcode_into_libs
=yes
12795 # ldd complains unless libraries are executable
12796 postinstall_cmds
='chmod +x $lib'
12801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12802 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12803 shlibpath_var
=LD_LIBRARY_PATH
12804 shlibpath_overrides_runpath
=yes
12805 if test "$with_gnu_ld" = yes; then
12811 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12814 soname_spec
='${libname}${release}${shared_ext}$major'
12815 shlibpath_var
=LD_LIBRARY_PATH
12816 case $host_vendor in
12818 shlibpath_overrides_runpath
=no
12820 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12821 runpath_var
=LD_RUN_PATH
12829 shlibpath_overrides_runpath
=no
12830 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12836 if test -d /usr
/nec
;then
12838 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12839 soname_spec
='$libname${shared_ext}.$major'
12840 shlibpath_var
=LD_LIBRARY_PATH
12846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12847 soname_spec
='${libname}${release}${shared_ext}$major'
12848 shlibpath_var
=LD_LIBRARY_PATH
12855 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12856 echo "${ECHO_T}$dynamic_linker" >&6; }
12857 test "$dynamic_linker" = no
&& can_build_shared
=no
12859 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12860 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12861 hardcode_action_CXX
=
12862 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12863 test -n "$runpath_var_CXX" || \
12864 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12866 # We can hardcode non-existant directories.
12867 if test "$hardcode_direct_CXX" != no
&&
12868 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12869 # have to relink, otherwise we might link with an installed library
12870 # when we should be linking with a yet-to-be-installed one
12871 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12872 test "$hardcode_minus_L_CXX" != no
; then
12873 # Linking always hardcodes the temporary library directory.
12874 hardcode_action_CXX
=relink
12876 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12877 hardcode_action_CXX
=immediate
12880 # We cannot hardcode anything, or else we can only hardcode existing
12882 hardcode_action_CXX
=unsupported
12884 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12885 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12887 if test "$hardcode_action_CXX" = relink
; then
12888 # Fast installation is not supported
12889 enable_fast_install
=no
12890 elif test "$shlibpath_overrides_runpath" = yes ||
12891 test "$enable_shared" = no
; then
12892 # Fast installation is not necessary
12893 enable_fast_install
=needless
12898 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12899 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12900 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12901 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12902 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12903 { echo "$as_me:$LINENO: result: yes" >&5
12904 echo "${ECHO_T}yes" >&6; }
12906 # FIXME - insert some real tests, host_os isn't really good enough
12909 if test -n "$STRIP" ; then
12910 striplib
="$STRIP -x"
12911 { echo "$as_me:$LINENO: result: yes" >&5
12912 echo "${ECHO_T}yes" >&6; }
12914 { echo "$as_me:$LINENO: result: no" >&5
12915 echo "${ECHO_T}no" >&6; }
12919 { echo "$as_me:$LINENO: result: no" >&5
12920 echo "${ECHO_T}no" >&6; }
12925 if test "x$enable_dlopen" != xyes
; then
12926 enable_dlopen
=unknown
12927 enable_dlopen_self
=unknown
12928 enable_dlopen_self_static
=unknown
12935 lt_cv_dlopen
="load_add_on"
12937 lt_cv_dlopen_self
=yes
12941 lt_cv_dlopen
="LoadLibrary"
12946 lt_cv_dlopen
="dlopen"
12951 # if libdl is installed we need to link against it
12952 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12953 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12954 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12955 echo $ECHO_N "(cached) $ECHO_C" >&6
12957 ac_check_lib_save_LIBS
=$LIBS
12959 cat >conftest.
$ac_ext <<_ACEOF
12962 cat confdefs.h
>>conftest.
$ac_ext
12963 cat >>conftest.
$ac_ext <<_ACEOF
12964 /* end confdefs.h. */
12966 /* Override any GCC internal prototype to avoid an error.
12967 Use char because int might match the return type of a GCC
12968 builtin and then its argument prototype would still apply. */
12981 rm -f conftest.
$ac_objext conftest
$ac_exeext
12982 if { (ac_try
="$ac_link"
12983 case "(($ac_try" in
12984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12985 *) ac_try_echo=$ac_try;;
12987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12988 (eval "$ac_link") 2>conftest.er1
12990 grep -v '^ *+' conftest.er1 >conftest.err
12992 cat conftest.err >&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); } && {
12995 test -z "$ac_cxx_werror_flag" ||
12996 test ! -s conftest.err
12997 } && test -s conftest$ac_exeext &&
12998 $as_test_x conftest$ac_exeext; then
12999 ac_cv_lib_dl_dlopen=yes
13001 echo "$as_me: failed program was:" >&5
13002 sed 's/^/| /' conftest.$ac_ext >&5
13004 ac_cv_lib_dl_dlopen=no
13007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13008 conftest$ac_exeext conftest.$ac_ext
13009 LIBS=$ac_check_lib_save_LIBS
13011 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13012 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
13013 if test $ac_cv_lib_dl_dlopen = yes; then
13014 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13017 lt_cv_dlopen="dyld"
13019 lt_cv_dlopen_self=yes
13026 { echo "$as_me:$LINENO: checking for shl_load" >&5
13027 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
13028 if test "${ac_cv_func_shl_load+set}" = set; then
13029 echo $ECHO_N "(cached) $ECHO_C" >&6
13031 cat >conftest.$ac_ext <<_ACEOF
13034 cat confdefs.h >>conftest.$ac_ext
13035 cat >>conftest.$ac_ext <<_ACEOF
13036 /* end confdefs.h. */
13037 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13039 #define shl_load innocuous_shl_load
13041 /* System header to define __stub macros and hopefully few prototypes,
13042 which can conflict with char shl_load (); below.
13043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13044 <limits.h> exists even on freestanding compilers. */
13047 # include <limits.h>
13049 # include <assert.h>
13054 /* Override any GCC internal prototype to avoid an error.
13055 Use char because int might match the return type of a GCC
13056 builtin and then its argument prototype would still apply. */
13061 /* The GNU C library defines this for functions which it implements
13062 to always fail with ENOSYS. Some functions are actually named
13063 something starting with __ and the normal name is an alias. */
13064 #if defined __stub_shl_load || defined __stub___shl_load
13071 return shl_load ();
13076 rm -f conftest.$ac_objext conftest$ac_exeext
13077 if { (ac_try="$ac_link"
13078 case "(($ac_try" in
13079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13080 *) ac_try_echo
=$ac_try;;
13082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13083 (eval "$ac_link") 2>conftest.er1
13085 grep -v '^ *+' conftest.er1
>conftest.err
13087 cat conftest.err
>&5
13088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089 (exit $ac_status); } && {
13090 test -z "$ac_cxx_werror_flag" ||
13091 test ! -s conftest.err
13092 } && test -s conftest
$ac_exeext &&
13093 $as_test_x conftest
$ac_exeext; then
13094 ac_cv_func_shl_load
=yes
13096 echo "$as_me: failed program was:" >&5
13097 sed 's/^/| /' conftest.
$ac_ext >&5
13099 ac_cv_func_shl_load
=no
13102 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13103 conftest
$ac_exeext conftest.
$ac_ext
13105 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13106 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
13107 if test $ac_cv_func_shl_load = yes; then
13108 lt_cv_dlopen
="shl_load"
13110 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13111 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
13112 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13113 echo $ECHO_N "(cached) $ECHO_C" >&6
13115 ac_check_lib_save_LIBS
=$LIBS
13117 cat >conftest.
$ac_ext <<_ACEOF
13120 cat confdefs.h
>>conftest.
$ac_ext
13121 cat >>conftest.
$ac_ext <<_ACEOF
13122 /* end confdefs.h. */
13124 /* Override any GCC internal prototype to avoid an error.
13125 Use char because int might match the return type of a GCC
13126 builtin and then its argument prototype would still apply. */
13134 return shl_load ();
13139 rm -f conftest.
$ac_objext conftest
$ac_exeext
13140 if { (ac_try
="$ac_link"
13141 case "(($ac_try" in
13142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13143 *) ac_try_echo=$ac_try;;
13145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13146 (eval "$ac_link") 2>conftest.er1
13148 grep -v '^ *+' conftest.er1 >conftest.err
13150 cat conftest.err >&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); } && {
13153 test -z "$ac_cxx_werror_flag" ||
13154 test ! -s conftest.err
13155 } && test -s conftest$ac_exeext &&
13156 $as_test_x conftest$ac_exeext; then
13157 ac_cv_lib_dld_shl_load=yes
13159 echo "$as_me: failed program was:" >&5
13160 sed 's/^/| /' conftest.$ac_ext >&5
13162 ac_cv_lib_dld_shl_load=no
13165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13166 conftest$ac_exeext conftest.$ac_ext
13167 LIBS=$ac_check_lib_save_LIBS
13169 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13170 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
13171 if test $ac_cv_lib_dld_shl_load = yes; then
13172 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
13174 { echo "$as_me:$LINENO: checking for dlopen" >&5
13175 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
13176 if test "${ac_cv_func_dlopen+set}" = set; then
13177 echo $ECHO_N "(cached) $ECHO_C" >&6
13179 cat >conftest.$ac_ext <<_ACEOF
13182 cat confdefs.h >>conftest.$ac_ext
13183 cat >>conftest.$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13185 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13187 #define dlopen innocuous_dlopen
13189 /* System header to define __stub macros and hopefully few prototypes,
13190 which can conflict with char dlopen (); below.
13191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13192 <limits.h> exists even on freestanding compilers. */
13195 # include <limits.h>
13197 # include <assert.h>
13202 /* Override any GCC internal prototype to avoid an error.
13203 Use char because int might match the return type of a GCC
13204 builtin and then its argument prototype would still apply. */
13209 /* The GNU C library defines this for functions which it implements
13210 to always fail with ENOSYS. Some functions are actually named
13211 something starting with __ and the normal name is an alias. */
13212 #if defined __stub_dlopen || defined __stub___dlopen
13224 rm -f conftest.$ac_objext conftest$ac_exeext
13225 if { (ac_try="$ac_link"
13226 case "(($ac_try" in
13227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13228 *) ac_try_echo
=$ac_try;;
13230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13231 (eval "$ac_link") 2>conftest.er1
13233 grep -v '^ *+' conftest.er1
>conftest.err
13235 cat conftest.err
>&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); } && {
13238 test -z "$ac_cxx_werror_flag" ||
13239 test ! -s conftest.err
13240 } && test -s conftest
$ac_exeext &&
13241 $as_test_x conftest
$ac_exeext; then
13242 ac_cv_func_dlopen
=yes
13244 echo "$as_me: failed program was:" >&5
13245 sed 's/^/| /' conftest.
$ac_ext >&5
13247 ac_cv_func_dlopen
=no
13250 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13251 conftest
$ac_exeext conftest.
$ac_ext
13253 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13254 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
13255 if test $ac_cv_func_dlopen = yes; then
13256 lt_cv_dlopen
="dlopen"
13258 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13259 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
13260 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13261 echo $ECHO_N "(cached) $ECHO_C" >&6
13263 ac_check_lib_save_LIBS
=$LIBS
13265 cat >conftest.
$ac_ext <<_ACEOF
13268 cat confdefs.h
>>conftest.
$ac_ext
13269 cat >>conftest.
$ac_ext <<_ACEOF
13270 /* end confdefs.h. */
13272 /* Override any GCC internal prototype to avoid an error.
13273 Use char because int might match the return type of a GCC
13274 builtin and then its argument prototype would still apply. */
13287 rm -f conftest.
$ac_objext conftest
$ac_exeext
13288 if { (ac_try
="$ac_link"
13289 case "(($ac_try" in
13290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13291 *) ac_try_echo=$ac_try;;
13293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13294 (eval "$ac_link") 2>conftest.er1
13296 grep -v '^ *+' conftest.er1 >conftest.err
13298 cat conftest.err >&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); } && {
13301 test -z "$ac_cxx_werror_flag" ||
13302 test ! -s conftest.err
13303 } && test -s conftest$ac_exeext &&
13304 $as_test_x conftest$ac_exeext; then
13305 ac_cv_lib_dl_dlopen=yes
13307 echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.$ac_ext >&5
13310 ac_cv_lib_dl_dlopen=no
13313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13314 conftest$ac_exeext conftest.$ac_ext
13315 LIBS=$ac_check_lib_save_LIBS
13317 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13318 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
13319 if test $ac_cv_lib_dl_dlopen = yes; then
13320 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13322 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13323 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
13324 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13325 echo $ECHO_N "(cached) $ECHO_C" >&6
13327 ac_check_lib_save_LIBS=$LIBS
13328 LIBS="-lsvld $LIBS"
13329 cat >conftest.$ac_ext <<_ACEOF
13332 cat confdefs.h >>conftest.$ac_ext
13333 cat >>conftest.$ac_ext <<_ACEOF
13334 /* end confdefs.h. */
13336 /* Override any GCC internal prototype to avoid an error.
13337 Use char because int might match the return type of a GCC
13338 builtin and then its argument prototype would still apply. */
13351 rm -f conftest.$ac_objext conftest$ac_exeext
13352 if { (ac_try="$ac_link"
13353 case "(($ac_try" in
13354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13355 *) ac_try_echo
=$ac_try;;
13357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13358 (eval "$ac_link") 2>conftest.er1
13360 grep -v '^ *+' conftest.er1
>conftest.err
13362 cat conftest.err
>&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); } && {
13365 test -z "$ac_cxx_werror_flag" ||
13366 test ! -s conftest.err
13367 } && test -s conftest
$ac_exeext &&
13368 $as_test_x conftest
$ac_exeext; then
13369 ac_cv_lib_svld_dlopen
=yes
13371 echo "$as_me: failed program was:" >&5
13372 sed 's/^/| /' conftest.
$ac_ext >&5
13374 ac_cv_lib_svld_dlopen
=no
13377 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13378 conftest
$ac_exeext conftest.
$ac_ext
13379 LIBS
=$ac_check_lib_save_LIBS
13381 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
13382 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
13383 if test $ac_cv_lib_svld_dlopen = yes; then
13384 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13386 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
13387 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
13388 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
13389 echo $ECHO_N "(cached) $ECHO_C" >&6
13391 ac_check_lib_save_LIBS
=$LIBS
13393 cat >conftest.
$ac_ext <<_ACEOF
13396 cat confdefs.h
>>conftest.
$ac_ext
13397 cat >>conftest.
$ac_ext <<_ACEOF
13398 /* end confdefs.h. */
13400 /* Override any GCC internal prototype to avoid an error.
13401 Use char because int might match the return type of a GCC
13402 builtin and then its argument prototype would still apply. */
13410 return dld_link ();
13415 rm -f conftest.
$ac_objext conftest
$ac_exeext
13416 if { (ac_try
="$ac_link"
13417 case "(($ac_try" in
13418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13419 *) ac_try_echo=$ac_try;;
13421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13422 (eval "$ac_link") 2>conftest.er1
13424 grep -v '^ *+' conftest.er1 >conftest.err
13426 cat conftest.err >&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); } && {
13429 test -z "$ac_cxx_werror_flag" ||
13430 test ! -s conftest.err
13431 } && test -s conftest$ac_exeext &&
13432 $as_test_x conftest$ac_exeext; then
13433 ac_cv_lib_dld_dld_link=yes
13435 echo "$as_me: failed program was:" >&5
13436 sed 's/^/| /' conftest.$ac_ext >&5
13438 ac_cv_lib_dld_dld_link=no
13441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13442 conftest$ac_exeext conftest.$ac_ext
13443 LIBS=$ac_check_lib_save_LIBS
13445 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
13446 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
13447 if test $ac_cv_lib_dld_dld_link = yes; then
13448 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
13469 if test "x$lt_cv_dlopen" != xno; then
13475 case $lt_cv_dlopen in
13477 save_CPPFLAGS="$CPPFLAGS"
13478 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13480 save_LDFLAGS="$LDFLAGS"
13481 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13484 LIBS="$lt_cv_dlopen_libs $LIBS"
13486 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
13487 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
13488 if test "${lt_cv_dlopen_self+set}" = set; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13491 if test "$cross_compiling" = yes; then :
13492 lt_cv_dlopen_self=cross
13494 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13495 lt_status=$lt_dlunknown
13496 cat > conftest.$ac_ext <<EOF
13497 #line 13497 "configure"
13498 #include "confdefs.h"
13507 # define LT_DLGLOBAL RTLD_GLOBAL
13510 # define LT_DLGLOBAL DL_GLOBAL
13512 # define LT_DLGLOBAL 0
13516 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13517 find out it does not work in some platform. */
13518 #ifndef LT_DLLAZY_OR_NOW
13520 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13523 # define LT_DLLAZY_OR_NOW DL_LAZY
13526 # define LT_DLLAZY_OR_NOW RTLD_NOW
13529 # define LT_DLLAZY_OR_NOW DL_NOW
13531 # define LT_DLLAZY_OR_NOW 0
13539 extern "C" void exit (int);
13542 void fnord() { int i=42;}
13545 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13546 int status = $lt_dlunknown;
13550 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13551 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13552 /* dlclose (self); */
13558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13559 (eval $ac_link) 2>&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13563 (./conftest; exit; ) >&5 2>/dev/null
13565 case x$lt_status in
13566 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13567 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13568 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
13571 # compilation failed
13572 lt_cv_dlopen_self=no
13579 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
13580 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
13582 if test "x$lt_cv_dlopen_self" = xyes; then
13583 LDFLAGS="$LDFLAGS $link_static_flag"
13584 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13585 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
13586 if test "${lt_cv_dlopen_self_static+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 if test "$cross_compiling" = yes; then :
13590 lt_cv_dlopen_self_static=cross
13592 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13593 lt_status=$lt_dlunknown
13594 cat > conftest.$ac_ext <<EOF
13595 #line 13595 "configure"
13596 #include "confdefs.h"
13605 # define LT_DLGLOBAL RTLD_GLOBAL
13608 # define LT_DLGLOBAL DL_GLOBAL
13610 # define LT_DLGLOBAL 0
13614 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13615 find out it does not work in some platform. */
13616 #ifndef LT_DLLAZY_OR_NOW
13618 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13621 # define LT_DLLAZY_OR_NOW DL_LAZY
13624 # define LT_DLLAZY_OR_NOW RTLD_NOW
13627 # define LT_DLLAZY_OR_NOW DL_NOW
13629 # define LT_DLLAZY_OR_NOW 0
13637 extern "C" void exit (int);
13640 void fnord() { int i=42;}
13643 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13644 int status = $lt_dlunknown;
13648 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13649 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13650 /* dlclose (self); */
13656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13657 (eval $ac_link) 2>&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
13661 (./conftest; exit; ) >&5 2>/dev/null
13663 case x$lt_status in
13664 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13665 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13666 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13669 # compilation failed
13670 lt_cv_dlopen_self_static=no
13677 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13678 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
13681 CPPFLAGS="$save_CPPFLAGS"
13682 LDFLAGS="$save_LDFLAGS"
13687 case $lt_cv_dlopen_self in
13688 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13689 *) enable_dlopen_self=unknown ;;
13692 case $lt_cv_dlopen_self_static in
13693 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13694 *) enable_dlopen_self_static=unknown ;;
13699 # The else clause should only fire when bootstrapping the
13700 # libtool distribution, otherwise you forgot to ship ltmain.sh
13701 # with your package, and you will get complaints that there are
13702 # no rules to generate ltmain.sh.
13703 if test -f "$ltmain"; then
13704 # See if we are running on zsh, and set the options which allow our commands through
13705 # without removal of \ escapes.
13706 if test -n "${ZSH_VERSION+set}" ; then
13707 setopt NO_GLOB_SUBST
13709 # Now quote all the things that may contain metacharacters while being
13710 # careful not to overquote the AC_SUBSTed values. We take copies of the
13711 # variables and quote the copies for generation of the libtool script.
13712 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13714 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13715 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13716 deplibs_check_method reload_flag reload_cmds need_locks \
13717 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13718 lt_cv_sys_global_symbol_to_c_name_address \
13719 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13720 old_postinstall_cmds old_postuninstall_cmds \
13724 lt_prog_compiler_wl_CXX \
13725 lt_prog_compiler_pic_CXX \
13726 lt_prog_compiler_static_CXX \
13727 lt_prog_compiler_no_builtin_flag_CXX \
13728 export_dynamic_flag_spec_CXX \
13729 thread_safe_flag_spec_CXX \
13730 whole_archive_flag_spec_CXX \
13731 enable_shared_with_static_runtimes_CXX \
13732 old_archive_cmds_CXX \
13733 old_archive_from_new_cmds_CXX \
13734 predep_objects_CXX \
13735 postdep_objects_CXX \
13738 compiler_lib_search_path_CXX \
13740 archive_expsym_cmds_CXX \
13741 postinstall_cmds_CXX \
13742 postuninstall_cmds_CXX \
13743 old_archive_from_expsyms_cmds_CXX \
13744 allow_undefined_flag_CXX \
13745 no_undefined_flag_CXX \
13746 export_symbols_cmds_CXX \
13747 hardcode_libdir_flag_spec_CXX \
13748 hardcode_libdir_flag_spec_ld_CXX \
13749 hardcode_libdir_separator_CXX \
13750 hardcode_automatic_CXX \
13752 module_expsym_cmds_CXX \
13753 lt_cv_prog_compiler_c_o_CXX \
13754 exclude_expsyms_CXX \
13755 include_expsyms_CXX; do
13758 old_archive_cmds_CXX | \
13759 old_archive_from_new_cmds_CXX | \
13760 archive_cmds_CXX | \
13761 archive_expsym_cmds_CXX | \
13762 module_cmds_CXX | \
13763 module_expsym_cmds_CXX | \
13764 old_archive_from_expsyms_cmds_CXX | \
13765 export_symbols_cmds_CXX | \
13766 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13767 postinstall_cmds | postuninstall_cmds | \
13768 old_postinstall_cmds | old_postuninstall_cmds | \
13769 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13770 # Double-quote double-evaled strings.
13771 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
13774 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
13780 *'\$0 --fallback-echo"')
13781 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13787 cat <<__EOF__ >> "$cfgfile"
13788 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13790 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
13792 # Shell to use when invoking shell scripts.
13795 # Whether or not to build shared libraries.
13796 build_libtool_libs=$enable_shared
13798 # Whether or not to build static libraries.
13799 build_old_libs=$enable_static
13801 # Whether or not to add -lc for building shared libraries.
13802 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13804 # Whether or not to disallow shared libs when runtime libs are static
13805 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13807 # Whether or not to optimize for fast installation.
13808 fast_install=$enable_fast_install
13811 host_alias=$host_alias
13815 # The build system.
13816 build_alias=$build_alias
13820 # An echo program that does not interpret backslashes.
13825 AR_FLAGS=$lt_AR_FLAGS
13830 # A language-specific compiler.
13831 CC=$lt_compiler_CXX
13833 # Is the compiler the GNU C compiler?
13839 # The linker used to build libraries.
13842 # Whether we need hard or soft links.
13845 # A BSD-compatible nm program.
13848 # A symbol stripping program
13851 # Used to examine libraries when file_magic_cmd begins "file"
13852 MAGIC_CMD=$MAGIC_CMD
13854 # Used on cygwin: DLL creation program.
13857 # Used on cygwin: object dumper.
13860 # Used on cygwin: assembler.
13863 # The name of the directory that contains temporary libtool files.
13866 # How to create reloadable object files.
13867 reload_flag=$lt_reload_flag
13868 reload_cmds=$lt_reload_cmds
13870 # How to pass a linker flag through the compiler.
13871 wl=$lt_lt_prog_compiler_wl_CXX
13873 # Object file suffix (normally "o").
13874 objext="$ac_objext"
13876 # Old archive suffix (normally "a").
13879 # Shared library suffix (normally ".so").
13880 shrext_cmds='$shrext_cmds'
13882 # Executable file suffix (normally "").
13885 # Additional compiler flags for building library objects.
13886 pic_flag=$lt_lt_prog_compiler_pic_CXX
13889 # What is the maximum length of a command?
13890 max_cmd_len=$lt_cv_sys_max_cmd_len
13892 # Does compiler simultaneously support -c and -o options?
13893 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13895 # Must we lock files when doing compilation?
13896 need_locks=$lt_need_locks
13898 # Do we need the lib prefix for modules?
13899 need_lib_prefix=$need_lib_prefix
13901 # Do we need a version for libraries?
13902 need_version=$need_version
13904 # Whether dlopen is supported.
13905 dlopen_support=$enable_dlopen
13907 # Whether dlopen of programs is supported.
13908 dlopen_self=$enable_dlopen_self
13910 # Whether dlopen of statically linked programs is supported.
13911 dlopen_self_static=$enable_dlopen_self_static
13913 # Compiler flag to prevent dynamic linking.
13914 link_static_flag=$lt_lt_prog_compiler_static_CXX
13916 # Compiler flag to turn off builtin functions.
13917 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13919 # Compiler flag to allow reflexive dlopens.
13920 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13922 # Compiler flag to generate shared objects directly from archives.
13923 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13925 # Compiler flag to generate thread-safe objects.
13926 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13928 # Library versioning type.
13929 version_type=$version_type
13931 # Format of library name prefix.
13932 libname_spec=$lt_libname_spec
13934 # List of archive names. First name is the real one, the rest are links.
13935 # The last name is the one that the linker finds with -lNAME.
13936 library_names_spec=$lt_library_names_spec
13938 # The coded name of the library, if different from the real name.
13939 soname_spec=$lt_soname_spec
13941 # Commands used to build and install an old-style archive.
13943 old_archive_cmds=$lt_old_archive_cmds_CXX
13944 old_postinstall_cmds=$lt_old_postinstall_cmds
13945 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13947 # Create an old-style archive from a shared archive.
13948 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13950 # Create a temporary old-style archive to link instead of a shared archive.
13951 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13953 # Commands used to build and install a shared archive.
13954 archive_cmds=$lt_archive_cmds_CXX
13955 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13956 postinstall_cmds=$lt_postinstall_cmds
13957 postuninstall_cmds=$lt_postuninstall_cmds
13959 # Commands used to build a loadable module (assumed same as above if empty)
13960 module_cmds=$lt_module_cmds_CXX
13961 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13963 # Commands to strip libraries.
13964 old_striplib=$lt_old_striplib
13965 striplib=$lt_striplib
13967 # Dependencies to place before the objects being linked to create a
13969 predep_objects=$lt_predep_objects_CXX
13971 # Dependencies to place after the objects being linked to create a
13973 postdep_objects=$lt_postdep_objects_CXX
13975 # Dependencies to place before the objects being linked to create a
13977 predeps=$lt_predeps_CXX
13979 # Dependencies to place after the objects being linked to create a
13981 postdeps=$lt_postdeps_CXX
13983 # The library search path used internally by the compiler when linking
13984 # a shared library.
13985 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13987 # Method to check whether dependent libraries are shared objects.
13988 deplibs_check_method=$lt_deplibs_check_method
13990 # Command to use when deplibs_check_method == file_magic.
13991 file_magic_cmd=$lt_file_magic_cmd
13993 # Flag that allows shared libraries with undefined symbols to be built.
13994 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13996 # Flag that forces no undefined symbols.
13997 no_undefined_flag=$lt_no_undefined_flag_CXX
13999 # Commands used to finish a libtool library installation in a directory.
14000 finish_cmds=$lt_finish_cmds
14002 # Same as above, but a single script fragment to be evaled but not shown.
14003 finish_eval=$lt_finish_eval
14005 # Take the output of nm and produce a listing of raw symbols and C names.
14006 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14008 # Transform the output of nm in a proper C declaration
14009 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14011 # Transform the output of nm in a C name address pair
14012 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14014 # This is the shared library runtime path variable.
14015 runpath_var=$runpath_var
14017 # This is the shared library path variable.
14018 shlibpath_var=$shlibpath_var
14020 # Is shlibpath searched before the hard-coded library search path?
14021 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14023 # How to hardcode a shared library path into an executable.
14024 hardcode_action=$hardcode_action_CXX
14026 # Whether we should hardcode library paths into libraries.
14027 hardcode_into_libs=$hardcode_into_libs
14029 # Flag to hardcode \$libdir into a binary during linking.
14030 # This must work even if \$libdir does not exist.
14031 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14033 # If ld is used when linking, flag to hardcode \$libdir into
14034 # a binary during linking. This must work even if \$libdir does
14036 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14038 # Whether we need a single -rpath flag with a separated argument.
14039 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14041 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14042 # resulting binary.
14043 hardcode_direct=$hardcode_direct_CXX
14045 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14046 # resulting binary.
14047 hardcode_minus_L=$hardcode_minus_L_CXX
14049 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14050 # the resulting binary.
14051 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14053 # Set to yes if building a shared library automatically hardcodes DIR into the library
14054 # and all subsequent libraries and executables linked against it.
14055 hardcode_automatic=$hardcode_automatic_CXX
14057 # Variables whose values should be saved in libtool wrapper scripts and
14058 # restored at relink time.
14059 variables_saved_for_relink="$variables_saved_for_relink"
14061 # Whether libtool must link a program against all its dependency libraries.
14062 link_all_deplibs=$link_all_deplibs_CXX
14064 # Compile-time system search path for libraries
14065 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14067 # Run-time system search path for libraries
14068 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14070 # Fix the shell variable \$srcfile for the compiler.
14071 fix_srcfile_path="$fix_srcfile_path_CXX"
14073 # Set to yes if exported symbols are required.
14074 always_export_symbols=$always_export_symbols_CXX
14076 # The commands to list exported symbols.
14077 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14079 # The commands to extract the exported symbol list from a shared archive.
14080 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14082 # Symbols that should not be listed in the preloaded symbols.
14083 exclude_expsyms=$lt_exclude_expsyms_CXX
14085 # Symbols that must always be exported.
14086 include_expsyms=$lt_include_expsyms_CXX
14088 # ### END LIBTOOL TAG CONFIG: $tagname
14094 # If there is no Makefile yet, we rely on a make rule to execute
14095 # `config.status
--recheck' to rerun these tests and create the
14096 # libtool script then.
14097 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
14098 if test -f "$ltmain_in"; then
14099 test -f Makefile && make "$ltmain"
14105 ac_cpp='$CPP $CPPFLAGS'
14106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
14107 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14114 with_gnu_ldcxx=$with_gnu_ld
14115 with_gnu_ld=$lt_save_with_gnu_ld
14116 lt_cv_path_LDCXX=$lt_cv_path_LD
14117 lt_cv_path_LD=$lt_save_path_LD
14118 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14119 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14127 if test -n "$F77" && test "X$F77" != "Xno"; then
14130 ac_compile='$F77 -c $FFLAGS conftest.
$ac_ext >&5'
14131 ac_link='$F77 -o conftest
$ac_exeext $FFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
14132 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14135 archive_cmds_need_lc_F77=no
14136 allow_undefined_flag_F77=
14137 always_export_symbols_F77=no
14138 archive_expsym_cmds_F77=
14139 export_dynamic_flag_spec_F77=
14140 hardcode_direct_F77=no
14141 hardcode_libdir_flag_spec_F77=
14142 hardcode_libdir_flag_spec_ld_F77=
14143 hardcode_libdir_separator_F77=
14144 hardcode_minus_L_F77=no
14145 hardcode_automatic_F77=no
14147 module_expsym_cmds_F77=
14148 link_all_deplibs_F77=unknown
14149 old_archive_cmds_F77=$old_archive_cmds
14150 no_undefined_flag_F77=
14151 whole_archive_flag_spec_F77=
14152 enable_shared_with_static_runtimes_F77=no
14154 # Source file extension for f77 test sources.
14157 # Object file extension for compiled f77 test sources.
14161 # Code to be used in simple compile tests
14162 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
14164 # Code to be used in simple link tests
14165 lt_simple_link_test_code=" program t\n end\n"
14167 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14169 # If no C compiler was specified, use CC.
14172 # Allow CC to be a program name with arguments.
14176 # save warnings/boilerplate of simple test code
14177 ac_outfile=conftest.$ac_objext
14178 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
14179 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
' >conftest.err
14180 _lt_compiler_boilerplate=`cat conftest.err`
14183 ac_outfile=conftest.$ac_objext
14184 printf "$lt_simple_link_test_code" >conftest.$ac_ext
14185 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
' >conftest.err
14186 _lt_linker_boilerplate=`cat conftest.err`
14190 # Allow CC to be a program name with arguments.
14195 for cc_temp in $compiler""; do
14197 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14198 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14203 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
14206 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14207 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14208 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14209 echo "${ECHO_T}$can_build_shared" >&6; }
14211 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14212 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14213 test "$can_build_shared" = "no" && enable_shared=no
14215 # On AIX, shared libraries and static libraries use the same namespace, and
14216 # are all built from PIC.
14219 test "$enable_shared" = yes && enable_static=no
14220 if test -n "$RANLIB"; then
14221 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14222 postinstall_cmds='$RANLIB $lib'
14226 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14227 test "$enable_shared" = yes && enable_static=no
14231 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14232 echo "${ECHO_T}$enable_shared" >&6; }
14234 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14235 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14236 # Make sure either enable_shared or enable_static is yes.
14237 test "$enable_shared" = yes || enable_static=yes
14238 { echo "$as_me:$LINENO: result: $enable_static" >&5
14239 echo "${ECHO_T}$enable_static" >&6; }
14241 test "$ld_shlibs_F77" = no && can_build_shared=no
14246 lt_prog_compiler_wl_F77=
14247 lt_prog_compiler_pic_F77=
14248 lt_prog_compiler_static_F77=
14250 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14251 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14253 if test "$GCC" = yes; then
14254 lt_prog_compiler_wl_F77='-Wl,'
14255 lt_prog_compiler_static_F77='-static'
14259 # All AIX code is PIC.
14260 if test "$host_cpu" = ia64; then
14261 # AIX 5 now supports IA64 processor
14262 lt_prog_compiler_static_F77='-Bstatic'
14267 # FIXME: we need at least 68020 code to build shared libraries, but
14268 # adding the `-m68020' flag to GCC prevents building anything better
,
14270 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14273 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14274 # PIC is the default for these OSes.
14277 mingw
* | pw32
* | os2
*)
14278 # This hack is so that the source file can tell whether it is being
14279 # built for inclusion in a dll (and should export symbols for example).
14280 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14283 darwin
* | rhapsody
*)
14284 # PIC is the default on this platform
14285 # Common symbols not allowed in MH_DYLIB files
14286 lt_prog_compiler_pic_F77
='-fno-common'
14290 # Just because we use GCC doesn't mean we suddenly get shared libraries
14291 # on systems that don't support them.
14292 lt_prog_compiler_can_build_shared_F77
=no
14297 if test -d /usr
/nec
; then
14298 lt_prog_compiler_pic_F77
=-Kconform_pic
14303 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14304 # not for PA HP-UX.
14310 lt_prog_compiler_pic_F77
='-fPIC'
14316 lt_prog_compiler_pic_F77
='-fPIC'
14320 # PORTME Check for flag to pass linker flags through the system compiler.
14323 lt_prog_compiler_wl_F77
='-Wl,'
14324 if test "$host_cpu" = ia64
; then
14325 # AIX 5 now supports IA64 processor
14326 lt_prog_compiler_static_F77
='-Bstatic'
14328 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14332 # PIC is the default on this platform
14333 # Common symbols not allowed in MH_DYLIB files
14334 case $cc_basename in
14336 lt_prog_compiler_pic_F77
='-qnocommon'
14337 lt_prog_compiler_wl_F77
='-Wl,'
14342 mingw
* | pw32
* | os2
*)
14343 # This hack is so that the source file can tell whether it is being
14344 # built for inclusion in a dll (and should export symbols for example).
14345 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14348 hpux9
* | hpux10
* | hpux11
*)
14349 lt_prog_compiler_wl_F77
='-Wl,'
14350 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14351 # not for PA HP-UX.
14357 lt_prog_compiler_pic_F77
='+Z'
14360 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14361 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14364 irix5
* | irix6
* | nonstopux
*)
14365 lt_prog_compiler_wl_F77
='-Wl,'
14366 # PIC (with -KPIC) is the default.
14367 lt_prog_compiler_static_F77
='-non_shared'
14371 lt_prog_compiler_pic_F77
='-KPIC'
14372 lt_prog_compiler_static_F77
='-Bstatic'
14376 case $cc_basename in
14378 lt_prog_compiler_wl_F77
='-Wl,'
14379 lt_prog_compiler_pic_F77
='-KPIC'
14380 lt_prog_compiler_static_F77
='-static'
14382 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14383 # Portland Group compilers (*not* the Pentium gcc compiler,
14384 # which looks to be a dead project)
14385 lt_prog_compiler_wl_F77
='-Wl,'
14386 lt_prog_compiler_pic_F77
='-fpic'
14387 lt_prog_compiler_static_F77
='-Bstatic'
14390 lt_prog_compiler_wl_F77
='-Wl,'
14391 # All Alpha code is PIC.
14392 lt_prog_compiler_static_F77
='-non_shared'
14397 osf3
* | osf4
* | osf5
*)
14398 lt_prog_compiler_wl_F77
='-Wl,'
14399 # All OSF/1 code is PIC.
14400 lt_prog_compiler_static_F77
='-non_shared'
14404 lt_prog_compiler_pic_F77
='-Kpic'
14405 lt_prog_compiler_static_F77
='-dn'
14409 lt_prog_compiler_pic_F77
='-KPIC'
14410 lt_prog_compiler_static_F77
='-Bstatic'
14411 case $cc_basename in
14412 f77
* | f90
* | f95
*)
14413 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14415 lt_prog_compiler_wl_F77
='-Wl,';;
14420 lt_prog_compiler_wl_F77
='-Qoption ld '
14421 lt_prog_compiler_pic_F77
='-PIC'
14422 lt_prog_compiler_static_F77
='-Bstatic'
14425 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14426 lt_prog_compiler_wl_F77
='-Wl,'
14427 lt_prog_compiler_pic_F77
='-KPIC'
14428 lt_prog_compiler_static_F77
='-Bstatic'
14432 if test -d /usr
/nec
;then
14433 lt_prog_compiler_pic_F77
='-Kconform_pic'
14434 lt_prog_compiler_static_F77
='-Bstatic'
14439 lt_prog_compiler_wl_F77
='-Wl,'
14440 lt_prog_compiler_can_build_shared_F77
=no
14444 lt_prog_compiler_pic_F77
='-pic'
14445 lt_prog_compiler_static_F77
='-Bstatic'
14449 lt_prog_compiler_can_build_shared_F77
=no
14454 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14455 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14458 # Check to make sure the PIC flag actually works.
14460 if test -n "$lt_prog_compiler_pic_F77"; then
14462 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14463 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14464 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14465 echo $ECHO_N "(cached) $ECHO_C" >&6
14467 lt_prog_compiler_pic_works_F77
=no
14468 ac_outfile
=conftest.
$ac_objext
14469 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14470 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14471 # Insert the option either (1) after the last *FLAGS variable, or
14472 # (2) before a word containing "conftest.", or (3) at the end.
14473 # Note that $ac_compile itself does not contain backslashes and begins
14474 # with a dollar sign (not a hyphen), so the echo should work correctly.
14475 # The option is referenced via a variable to avoid confusing sed.
14476 lt_compile
=`echo "$ac_compile" | $SED \
14477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14479 -e 's:$: $lt_compiler_flag:'`
14480 (eval echo "\"\$as_me:14480: $lt_compile\"" >&5)
14481 (eval "$lt_compile" 2>conftest.err
)
14483 cat conftest.err
>&5
14484 echo "$as_me:14484: \$? = $ac_status" >&5
14485 if (exit $ac_status) && test -s "$ac_outfile"; then
14486 # The compiler can only warn and ignore the option if not recognized
14487 # So say no if there are warnings other than the usual output.
14488 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
14489 $SED '/^$/d' conftest.err
>conftest.er2
14490 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14491 lt_prog_compiler_pic_works_F77
=yes
14497 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14498 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14500 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14501 case $lt_prog_compiler_pic_F77 in
14503 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14506 lt_prog_compiler_pic_F77
=
14507 lt_prog_compiler_can_build_shared_F77
=no
14512 # For platforms which do not support PIC, -DPIC is meaningless:
14514 lt_prog_compiler_pic_F77
=
14517 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14521 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14522 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14523 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14524 echo $ECHO_N "(cached) $ECHO_C" >&6
14526 lt_cv_prog_compiler_c_o_F77
=no
14527 $rm -r conftest
2>/dev
/null
14531 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14533 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14534 # Insert the option either (1) after the last *FLAGS variable, or
14535 # (2) before a word containing "conftest.", or (3) at the end.
14536 # Note that $ac_compile itself does not contain backslashes and begins
14537 # with a dollar sign (not a hyphen), so the echo should work correctly.
14538 lt_compile
=`echo "$ac_compile" | $SED \
14539 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14540 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14541 -e 's:$: $lt_compiler_flag:'`
14542 (eval echo "\"\$as_me:14542: $lt_compile\"" >&5)
14543 (eval "$lt_compile" 2>out
/conftest.err
)
14545 cat out
/conftest.err
>&5
14546 echo "$as_me:14546: \$? = $ac_status" >&5
14547 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14549 # The compiler can only warn and ignore the option if not recognized
14550 # So say no if there are warnings
14551 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
14552 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
14553 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14554 lt_cv_prog_compiler_c_o_F77
=yes
14559 # SGI C++ compiler will create directory out/ii_files/ for
14560 # template instantiation
14561 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14562 $rm out
/* && rmdir out
14568 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14569 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14572 hard_links
="nottested"
14573 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14574 # do not overwrite the value of need_locks provided by the user
14575 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14576 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14579 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14581 ln conftest.a conftest.b
2>&5 || hard_links
=no
14582 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14583 { echo "$as_me:$LINENO: result: $hard_links" >&5
14584 echo "${ECHO_T}$hard_links" >&6; }
14585 if test "$hard_links" = no
; then
14586 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14587 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14594 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14595 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14598 allow_undefined_flag_F77
=
14599 enable_shared_with_static_runtimes_F77
=no
14601 archive_expsym_cmds_F77
=
14602 old_archive_From_new_cmds_F77
=
14603 old_archive_from_expsyms_cmds_F77
=
14604 export_dynamic_flag_spec_F77
=
14605 whole_archive_flag_spec_F77
=
14606 thread_safe_flag_spec_F77
=
14607 hardcode_libdir_flag_spec_F77
=
14608 hardcode_libdir_flag_spec_ld_F77
=
14609 hardcode_libdir_separator_F77
=
14610 hardcode_direct_F77
=no
14611 hardcode_minus_L_F77
=no
14612 hardcode_shlibpath_var_F77
=unsupported
14613 link_all_deplibs_F77
=unknown
14614 hardcode_automatic_F77
=no
14616 module_expsym_cmds_F77
=
14617 always_export_symbols_F77
=no
14618 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14619 # include_expsyms should be a list of space-separated symbols to be *always*
14620 # included in the symbol list
14621 include_expsyms_F77
=
14622 # exclude_expsyms can be an extended regexp of symbols to exclude
14623 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14624 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14625 # as well as any symbol that contains `d'.
14626 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14627 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14628 # platforms (ab)use it in PIC code, but their linkers get confused if
14629 # the symbol is explicitly referenced. Since portable code cannot
14630 # rely on this symbol name, it's probably fine to never include it in
14631 # preloaded symbol tables.
14632 extract_expsyms_cmds
=
14633 # Just being paranoid about ensuring that cc_basename is set.
14634 for cc_temp
in $compiler""; do
14636 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14637 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14642 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14645 cygwin
* | mingw
* | pw32
*)
14646 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14647 # When not using gcc, we currently assume that we are using
14648 # Microsoft Visual C++.
14649 if test "$GCC" != yes; then
14659 if test "$with_gnu_ld" = yes; then
14660 # If archive_cmds runs LD, not CC, wlarc should be empty
14663 # Set some defaults for GNU ld with shared library support. These
14664 # are reset later if shared libraries are not supported. Putting them
14665 # here allows them to be overridden if necessary.
14666 runpath_var
=LD_RUN_PATH
14667 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14668 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14669 # ancient GNU ld didn't support --whole-archive et. al.
14670 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14671 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14673 whole_archive_flag_spec_F77
=
14675 supports_anon_versioning
=no
14676 case `$LD -v 2>/dev/null` in
14677 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14678 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14679 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14680 *\
2.11.
*) ;; # other 2.11 versions
14681 *) supports_anon_versioning
=yes ;;
14684 # See if GNU ld supports shared libraries.
14686 aix3
* | aix4
* | aix5
*)
14687 # On AIX/PPC, the GNU linker is very broken
14688 if test "$host_cpu" != ia64
; then
14692 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14693 *** to be unable to reliably create shared libraries on AIX.
14694 *** Therefore, libtool is disabling shared libraries support. If you
14695 *** really care for shared libraries, you may want to modify your PATH
14696 *** so that a non-GNU linker is found, and then restart.
14703 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)'
14704 hardcode_libdir_flag_spec_F77
='-L$libdir'
14705 hardcode_minus_L_F77
=yes
14707 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14708 # that the semantics of dynamic libraries on AmigaOS, at least up
14709 # to version 4, is to share data among multiple programs linked
14710 # with the same dynamic library. Since this doesn't match the
14711 # behavior of shared libraries on other platforms, we can't use
14717 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14718 allow_undefined_flag_F77
=unsupported
14719 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14720 # support --undefined. This deserves some investigation. FIXME
14721 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14727 cygwin
* | mingw
* | pw32
*)
14728 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14729 # as there is no search path for DLLs.
14730 hardcode_libdir_flag_spec_F77
='-L$libdir'
14731 allow_undefined_flag_F77
=unsupported
14732 always_export_symbols_F77
=no
14733 enable_shared_with_static_runtimes_F77
=yes
14734 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14736 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14737 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14738 # If the export-symbols file already is a .def file (1st line
14739 # is EXPORTS), use it as is; otherwise, prepend...
14740 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14741 cp $export_symbols $output_objdir/$soname.def;
14743 echo EXPORTS > $output_objdir/$soname.def;
14744 cat $export_symbols >> $output_objdir/$soname.def;
14746 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14753 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14755 case $cc_basename,$host_cpu in
14756 pgcc
*) # Portland Group C compiler
14757 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'
14758 tmp_addflag
=' $pic_flag'
14760 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14761 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'
14762 tmp_addflag
=' $pic_flag -Mnomain' ;;
14763 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14764 tmp_addflag
=' -i_dynamic' ;;
14765 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14766 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14767 ifc
* | ifort
*) # Intel Fortran compiler
14768 tmp_addflag
=' -nofor_main' ;;
14770 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14772 if test $supports_anon_versioning = yes; then
14773 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14774 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14775 $echo "local: *; };" >> $output_objdir/$libname.ver~
14776 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14784 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14785 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14788 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14789 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14794 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14798 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14799 *** create shared libraries on Solaris systems. Therefore, libtool
14800 *** is disabling shared libraries support. We urge you to upgrade GNU
14801 *** binutils to release 2.9.1 or newer. Another option is to modify
14802 *** your PATH or compiler configuration so that the native linker is
14803 *** used, and then restart.
14806 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14807 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14808 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14815 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14817 hardcode_direct_F77
=yes
14818 hardcode_shlibpath_var_F77
=no
14822 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14823 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14824 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14831 if test "$ld_shlibs_F77" = no
; then
14833 hardcode_libdir_flag_spec_F77
=
14834 export_dynamic_flag_spec_F77
=
14835 whole_archive_flag_spec_F77
=
14838 # PORTME fill in a description of your system's linker (not GNU ld)
14841 allow_undefined_flag_F77
=unsupported
14842 always_export_symbols_F77
=yes
14843 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'
14844 # Note: this linker hardcodes the directories in LIBPATH if there
14845 # are no directories specified by -L.
14846 hardcode_minus_L_F77
=yes
14847 if test "$GCC" = yes && test -z "$link_static_flag"; then
14848 # Neither direct hardcoding nor static linking is supported with a
14850 hardcode_direct_F77
=unsupported
14855 if test "$host_cpu" = ia64
; then
14856 # On IA64, the linker does run time linking by default, so we don't
14857 # have to do anything special.
14858 aix_use_runtimelinking
=no
14859 exp_sym_flag
='-Bexport'
14862 # If we're using GNU nm, then we don't want the "-C" option.
14863 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14864 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14865 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'
14867 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'
14869 aix_use_runtimelinking
=no
14871 # Test if we are trying to use run time linking or normal
14872 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14873 # need to do runtime linking.
14874 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14875 for ld_flag
in $LDFLAGS; do
14876 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14877 aix_use_runtimelinking
=yes
14883 exp_sym_flag
='-bexport'
14884 no_entry_flag
='-bnoentry'
14887 # When large executables or shared objects are built, AIX ld can
14888 # have problems creating the table of contents. If linking a library
14889 # or program results in "error TOC overflow" add -mminimal-toc to
14890 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14891 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14893 archive_cmds_F77
=''
14894 hardcode_direct_F77
=yes
14895 hardcode_libdir_separator_F77
=':'
14896 link_all_deplibs_F77
=yes
14898 if test "$GCC" = yes; then
14899 case $host_os in aix4.
[012]|aix4.
[012].
*)
14900 # We only want to do this on AIX 4.2 and lower, the check
14901 # below for broken collect2 doesn't work under 4.3+
14902 collect2name
=`${CC} -print-prog-name=collect2`
14903 if test -f "$collect2name" && \
14904 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14906 # We have reworked collect2
14907 hardcode_direct_F77
=yes
14909 # We have old collect2
14910 hardcode_direct_F77
=unsupported
14911 # It fails to find uninstalled libraries when the uninstalled
14912 # path is not listed in the libpath. Setting hardcode_minus_L
14913 # to unsupported forces relinking
14914 hardcode_minus_L_F77
=yes
14915 hardcode_libdir_flag_spec_F77
='-L$libdir'
14916 hardcode_libdir_separator_F77
=
14919 shared_flag
='-shared'
14920 if test "$aix_use_runtimelinking" = yes; then
14921 shared_flag
="$shared_flag "'${wl}-G'
14925 if test "$host_cpu" = ia64
; then
14926 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14927 # chokes on -Wl,-G. The following line is correct:
14930 if test "$aix_use_runtimelinking" = yes; then
14931 shared_flag
='${wl}-G'
14933 shared_flag
='${wl}-bM:SRE'
14938 # It seems that -bexpall does not export symbols beginning with
14939 # underscore (_), so it is better to generate a list of symbols to export.
14940 always_export_symbols_F77
=yes
14941 if test "$aix_use_runtimelinking" = yes; then
14942 # Warning - without using the other runtime loading flags (-brtl),
14943 # -berok will link without error, but may produce a broken library.
14944 allow_undefined_flag_F77
='-berok'
14945 # Determine the default libpath from the value encoded in an empty executable.
14946 cat >conftest.
$ac_ext <<_ACEOF
14951 rm -f conftest.
$ac_objext conftest
$ac_exeext
14952 if { (ac_try
="$ac_link"
14953 case "(($ac_try" in
14954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14955 *) ac_try_echo=$ac_try;;
14957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14958 (eval "$ac_link") 2>conftest.er1
14960 grep -v '^ *+' conftest.er1 >conftest.err
14962 cat conftest.err >&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); } && {
14965 test -z "$ac_f77_werror_flag" ||
14966 test ! -s conftest.err
14967 } && test -s conftest$ac_exeext &&
14968 $as_test_x conftest$ac_exeext; then
14970 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14972 # Check for a 64-bit object if we didn't find anything.
14973 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14976 echo "$as_me: failed program was:" >&5
14977 sed 's/^/| /' conftest.$ac_ext >&5
14982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14983 conftest$ac_exeext conftest.$ac_ext
14984 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14986 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14987 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14989 if test "$host_cpu" = ia64
; then
14990 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
14991 allow_undefined_flag_F77
="-z nodefs"
14992 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
14994 # Determine the default libpath from the value encoded in an empty executable.
14995 cat >conftest.$ac_ext <<_ACEOF
15000 rm -f conftest.$ac_objext conftest$ac_exeext
15001 if { (ac_try="$ac_link"
15002 case "(($ac_try" in
15003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15004 *) ac_try_echo=$ac_try;;
15006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15007 (eval "$ac_link") 2>conftest.er1
15009 grep -v '^
*+' conftest.er1 >conftest.err
15011 cat conftest.err >&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); } && {
15014 test -z "$ac_f77_werror_flag" ||
15015 test ! -s conftest.err
15016 } && test -s conftest$ac_exeext &&
15017 $as_test_x conftest$ac_exeext; then
15019 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
15021 # Check for a 64-bit object if we didn't
find anything.
15022 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15025 echo "$as_me: failed program was:" >&5
15026 sed 's/^/| /' conftest.
$ac_ext >&5
15031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15032 conftest
$ac_exeext conftest.
$ac_ext
15033 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15035 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15036 # Warning - without using the other run time loading flags,
15037 # -berok will link without error, but may produce a broken library.
15038 no_undefined_flag_F77
=' ${wl}-bernotok'
15039 allow_undefined_flag_F77
=' ${wl}-berok'
15040 # -bexpall does not export symbols beginning with underscore (_)
15041 always_export_symbols_F77
=yes
15042 # Exported symbols can be pulled into shared objects from archives
15043 whole_archive_flag_spec_F77
=' '
15044 archive_cmds_need_lc_F77
=yes
15045 # This is similar to how AIX traditionally builds its shared libraries.
15046 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15052 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)'
15053 hardcode_libdir_flag_spec_F77
='-L$libdir'
15054 hardcode_minus_L_F77
=yes
15055 # see comment about different semantics on the GNU ld section
15060 export_dynamic_flag_spec_F77
=-rdynamic
15063 cygwin
* | mingw
* | pw32
*)
15064 # When not using gcc, we currently assume that we are using
15065 # Microsoft Visual C++.
15066 # hardcode_libdir_flag_spec is actually meaningless, as there is
15067 # no search path for DLLs.
15068 hardcode_libdir_flag_spec_F77
=' '
15069 allow_undefined_flag_F77
=unsupported
15070 # Tell ltmain to make .lib files, not .a files.
15072 # Tell ltmain to make .dll files, not .so files.
15074 # FIXME: Setting linknames here is a bad hack.
15075 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15076 # The linker will automatically build a .lib file if we build a DLL.
15077 old_archive_From_new_cmds_F77
='true'
15078 # FIXME: Should let the user specify the lib program.
15079 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15080 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15081 enable_shared_with_static_runtimes_F77
=yes
15084 darwin
* | rhapsody
*)
15086 rhapsody
* | darwin1.
[012])
15087 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15090 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15091 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15093 case ${MACOSX_DEPLOYMENT_TARGET} in
15095 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15098 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15104 archive_cmds_need_lc_F77
=no
15105 hardcode_direct_F77
=no
15106 hardcode_automatic_F77
=yes
15107 hardcode_shlibpath_var_F77
=unsupported
15108 whole_archive_flag_spec_F77
=''
15109 link_all_deplibs_F77
=yes
15110 if test "$GCC" = yes ; then
15111 output_verbose_link_cmd
='echo'
15112 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15113 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15114 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15115 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15116 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}'
15118 case $cc_basename in
15120 output_verbose_link_cmd
='echo'
15121 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15122 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15123 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15124 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15125 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}'
15135 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15136 hardcode_libdir_flag_spec_F77
='-L$libdir'
15137 hardcode_shlibpath_var_F77
=no
15144 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15145 # support. Future versions do this automatically, but an explicit c++rt0.o
15146 # does not break anything, and helps significantly (at the cost of a little
15149 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15150 hardcode_libdir_flag_spec_F77
='-R$libdir'
15151 hardcode_direct_F77
=yes
15152 hardcode_shlibpath_var_F77
=no
15155 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15157 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15158 hardcode_direct_F77
=yes
15159 hardcode_minus_L_F77
=yes
15160 hardcode_shlibpath_var_F77
=no
15163 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15164 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15165 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15166 hardcode_libdir_flag_spec_F77
='-R$libdir'
15167 hardcode_direct_F77
=yes
15168 hardcode_shlibpath_var_F77
=no
15172 if test "$GCC" = yes; then
15173 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'
15175 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'
15177 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15178 hardcode_libdir_separator_F77
=:
15179 hardcode_direct_F77
=yes
15181 # hardcode_minus_L: Not really in the search PATH,
15182 # but as the default location of the library.
15183 hardcode_minus_L_F77
=yes
15184 export_dynamic_flag_spec_F77
='${wl}-E'
15188 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15191 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15194 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15200 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15203 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15207 if test "$with_gnu_ld" = no
; then
15210 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15211 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15212 hardcode_libdir_separator_F77
=:
15213 hardcode_direct_F77
=no
15214 hardcode_shlibpath_var_F77
=no
15217 hardcode_libdir_flag_spec_F77
='-L$libdir'
15218 hardcode_direct_F77
=no
15219 hardcode_shlibpath_var_F77
=no
15221 # hardcode_minus_L: Not really in the search PATH,
15222 # but as the default location of the library.
15223 hardcode_minus_L_F77
=yes
15226 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15227 hardcode_libdir_separator_F77
=:
15228 hardcode_direct_F77
=yes
15229 export_dynamic_flag_spec_F77
='${wl}-E'
15231 # hardcode_minus_L: Not really in the search PATH,
15232 # but as the default location of the library.
15233 hardcode_minus_L_F77
=yes
15239 irix5
* | irix6
* | nonstopux
*)
15240 if test "$GCC" = yes; then
15241 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'
15243 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'
15244 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15246 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15247 hardcode_libdir_separator_F77
=:
15248 link_all_deplibs_F77
=yes
15252 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15253 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15255 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15257 hardcode_libdir_flag_spec_F77
='-R$libdir'
15258 hardcode_direct_F77
=yes
15259 hardcode_shlibpath_var_F77
=no
15263 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15264 hardcode_direct_F77
=yes
15265 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15266 hardcode_libdir_separator_F77
=:
15267 hardcode_shlibpath_var_F77
=no
15271 hardcode_direct_F77
=yes
15272 hardcode_shlibpath_var_F77
=no
15273 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15274 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15275 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15276 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15277 export_dynamic_flag_spec_F77
='${wl}-E'
15280 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15281 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15282 hardcode_libdir_flag_spec_F77
='-R$libdir'
15285 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15286 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15293 hardcode_libdir_flag_spec_F77
='-L$libdir'
15294 hardcode_minus_L_F77
=yes
15295 allow_undefined_flag_F77
=unsupported
15296 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'
15297 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15301 if test "$GCC" = yes; then
15302 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15303 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'
15305 allow_undefined_flag_F77
=' -expect_unresolved \*'
15306 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'
15308 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15309 hardcode_libdir_separator_F77
=:
15312 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15313 if test "$GCC" = yes; then
15314 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15315 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'
15316 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15318 allow_undefined_flag_F77
=' -expect_unresolved \*'
15319 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'
15320 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~
15321 $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'
15323 # Both c and cxx compiler support -rpath directly
15324 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15326 hardcode_libdir_separator_F77
=:
15330 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15331 hardcode_shlibpath_var_F77
=no
15332 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15333 runpath_var
=LD_RUN_PATH
15334 hardcode_runpath_var
=yes
15338 no_undefined_flag_F77
=' -z text'
15339 if test "$GCC" = yes; then
15341 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15342 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15343 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15346 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15347 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15348 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15350 hardcode_libdir_flag_spec_F77
='-R$libdir'
15351 hardcode_shlibpath_var_F77
=no
15353 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15355 # The compiler driver will combine linker options so we
15356 # cannot just pass the convience library names through
15357 # without $wl, iff we do not link with $LD.
15358 # Luckily, gcc supports the same syntax we need for Sun Studio.
15359 # Supported since Solaris 2.6 (maybe 2.5.1?)
15362 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15364 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15367 link_all_deplibs_F77
=yes
15371 if test "x$host_vendor" = xsequent
; then
15372 # Use $CC to link under sequent, because it throws in some extra .o
15373 # files that make .init and .fini sections work.
15374 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15376 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15378 hardcode_libdir_flag_spec_F77
='-L$libdir'
15379 hardcode_direct_F77
=yes
15380 hardcode_minus_L_F77
=yes
15381 hardcode_shlibpath_var_F77
=no
15385 case $host_vendor in
15387 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15388 hardcode_direct_F77
=yes # is this really true???
15391 ## LD is ld it makes a PLAMLIB
15392 ## CC just makes a GrossModule.
15393 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15394 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15395 hardcode_direct_F77
=no
15398 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15399 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15402 runpath_var
='LD_RUN_PATH'
15403 hardcode_shlibpath_var_F77
=no
15407 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15408 hardcode_shlibpath_var_F77
=no
15409 export_dynamic_flag_spec_F77
='-Bexport'
15413 if test -d /usr
/nec
; then
15414 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15415 hardcode_shlibpath_var_F77
=no
15416 runpath_var
=LD_RUN_PATH
15417 hardcode_runpath_var
=yes
15423 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15424 hardcode_direct_F77
=yes
15425 hardcode_minus_L_F77
=no
15426 hardcode_shlibpath_var_F77
=no
15427 hardcode_runpath_var
=yes
15428 runpath_var
=LD_RUN_PATH
15431 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
15432 no_undefined_flag_F77
='${wl}-z ${wl}text'
15433 if test "$GCC" = yes; then
15434 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15436 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15438 runpath_var
='LD_RUN_PATH'
15439 hardcode_shlibpath_var_F77
=no
15443 no_undefined_flag_F77
=' -z text'
15444 # $CC -shared without GNU ld will not create a library from C++
15445 # object files and a static libstdc++, better avoid it by now
15446 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15447 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15448 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15449 hardcode_libdir_flag_spec_F77
=
15450 hardcode_shlibpath_var_F77
=no
15451 runpath_var
='LD_RUN_PATH'
15455 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15456 hardcode_libdir_flag_spec_F77
='-L$libdir'
15457 hardcode_shlibpath_var_F77
=no
15466 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15467 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15468 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15470 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15471 if test "$GCC" = yes; then
15472 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15476 # Do we need to explicitly link libc?
15478 case "x$archive_cmds_need_lc_F77" in
15480 # Assume -lc should be added
15481 archive_cmds_need_lc_F77
=yes
15483 if test "$enable_shared" = yes && test "$GCC" = yes; then
15484 case $archive_cmds_F77 in
15486 # FIXME: we may have to deal with multi-command sequences.
15489 # Test whether the compiler implicitly links with -lc since on some
15490 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15491 # to ld, don't add -lc before -lgcc.
15492 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15493 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15495 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15498 (eval $ac_compile) 2>&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); } 2>conftest.err
; then
15504 libobjs
=conftest.
$ac_objext
15506 wl
=$lt_prog_compiler_wl_F77
15512 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15513 allow_undefined_flag_F77
=
15514 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15515 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); }
15520 archive_cmds_need_lc_F77
=no
15522 archive_cmds_need_lc_F77
=yes
15524 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15526 cat conftest.err
1>&5
15529 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15530 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15537 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15538 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15539 library_names_spec
=
15540 libname_spec
='lib$name'
15544 postuninstall_cmds
=
15548 shlibpath_overrides_runpath
=unknown
15550 dynamic_linker
="$host_os ld.so"
15551 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15552 if test "$GCC" = yes; then
15553 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15554 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15555 # if the path contains ";" then we assume it to be the separator
15556 # otherwise default to the standard path separator (i.e. ":") - it is
15557 # assumed that no part of a normal pathname contains ";" but that should
15558 # okay in the real world where ";" in dirpaths is itself problematic.
15559 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15561 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15564 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15566 need_lib_prefix
=unknown
15567 hardcode_into_libs
=no
15569 # when you set need_version to no, make sure it does not cause -set_version
15570 # flags to be left without arguments
15571 need_version
=unknown
15576 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15577 shlibpath_var
=LIBPATH
15579 # AIX 3 has no versioning support, so we append a major version to the name.
15580 soname_spec
='${libname}${release}${shared_ext}$major'
15587 hardcode_into_libs
=yes
15588 if test "$host_cpu" = ia64
; then
15589 # AIX 5 supports IA64
15590 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15591 shlibpath_var
=LD_LIBRARY_PATH
15593 # With GCC up to 2.95.x, collect2 would create an import file
15594 # for dependence libraries. The import file would start with
15595 # the line `#! .'. This would cause the generated library to
15596 # depend on `.', always an invalid library. This was fixed in
15597 # development snapshots of GCC prior to 3.0.
15599 aix4 | aix4.
[01] | aix4.
[01].
*)
15600 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15602 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15605 can_build_shared
=no
15609 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15610 # soname into executable. Probably we can add versioning support to
15611 # collect2, so additional links can be useful in future.
15612 if test "$aix_use_runtimelinking" = yes; then
15613 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15614 # instead of lib<name>.a to let people know that these are not
15615 # typical AIX shared libraries.
15616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15618 # We preserve .a as extension for shared libraries through AIX4.2
15619 # and later when we are not doing run time linking.
15620 library_names_spec
='${libname}${release}.a $libname.a'
15621 soname_spec
='${libname}${release}${shared_ext}$major'
15623 shlibpath_var
=LIBPATH
15628 library_names_spec
='$libname.ixlibrary $libname.a'
15629 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15630 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'
15634 library_names_spec
='${libname}${shared_ext}'
15635 dynamic_linker
="$host_os ld.so"
15636 shlibpath_var
=LIBRARY_PATH
15642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15643 soname_spec
='${libname}${release}${shared_ext}$major'
15644 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15645 shlibpath_var
=LD_LIBRARY_PATH
15646 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15647 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15648 # the default ld.so.conf also contains /usr/contrib/lib and
15649 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15650 # libtool to hard-code these into programs
15653 cygwin
* | mingw
* | pw32
*)
15654 version_type
=windows
15659 case $GCC,$host_os in
15660 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15661 library_names_spec
='$libname.dll.a'
15662 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15663 postinstall_cmds
='base_file=`basename \${file}`~
15664 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15665 dldir=$destdir/`dirname \$dlpath`~
15666 test -d \$dldir || mkdir -p \$dldir~
15667 $install_prog $dir/$dlname \$dldir/$dlname~
15668 chmod a+x \$dldir/$dlname'
15669 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15670 dlpath=$dir/\$dldll~
15672 shlibpath_overrides_runpath
=yes
15676 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15677 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15678 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15681 # MinGW DLLs use traditional 'lib' prefix
15682 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15683 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15684 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15685 # It is most probably a Windows format PATH printed by
15686 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15687 # path with ; separators, and with drive letters. We can handle the
15688 # drive letters (cygwin fileutils understands them), so leave them,
15689 # especially as we might pass files found there to a mingw objdump,
15690 # which wouldn't understand a cygwinified path. Ahh.
15691 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15693 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15697 # pw32 DLLs use 'pw' prefix rather than 'lib'
15698 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15704 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15707 dynamic_linker
='Win32 ld.exe'
15708 # FIXME: first we should search . and the directory the executable is in
15712 darwin
* | rhapsody
*)
15713 dynamic_linker
="$host_os dyld"
15714 version_type
=darwin
15717 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15718 soname_spec
='${libname}${release}${major}$shared_ext'
15719 shlibpath_overrides_runpath
=yes
15720 shlibpath_var
=DYLD_LIBRARY_PATH
15721 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15722 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15723 if test "$GCC" = yes; then
15724 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15726 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15728 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15736 soname_spec
='${libname}${release}${shared_ext}$major'
15737 shlibpath_var
=LD_LIBRARY_PATH
15748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15749 soname_spec
='${libname}${release}${shared_ext}$major'
15750 shlibpath_var
=LD_LIBRARY_PATH
15751 shlibpath_overrides_runpath
=no
15752 hardcode_into_libs
=yes
15753 dynamic_linker
='GNU ld.so'
15756 freebsd
* | dragonfly
*)
15757 # DragonFly does not have aout. When/if they implement a new
15758 # versioning mechanism, adjust this.
15759 if test -x /usr
/bin
/objformat
; then
15760 objformat
=`/usr/bin/objformat`
15763 freebsd
[123]*) objformat
=aout
;;
15764 *) objformat
=elf
;;
15767 version_type
=freebsd-
$objformat
15768 case $version_type in
15770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15775 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15779 shlibpath_var
=LD_LIBRARY_PATH
15782 shlibpath_overrides_runpath
=yes
15784 freebsd3.
[01]* | freebsdelf3.
[01]*)
15785 shlibpath_overrides_runpath
=yes
15786 hardcode_into_libs
=yes
15789 shlibpath_overrides_runpath
=no
15790 hardcode_into_libs
=yes
15799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15800 soname_spec
='${libname}${release}${shared_ext}$major'
15801 shlibpath_var
=LD_LIBRARY_PATH
15802 hardcode_into_libs
=yes
15805 hpux9
* | hpux10
* | hpux11
*)
15806 # Give a soname corresponding to the major version so that dld.sl refuses to
15807 # link against other versions.
15814 hardcode_into_libs
=yes
15815 dynamic_linker
="$host_os dld.so"
15816 shlibpath_var
=LD_LIBRARY_PATH
15817 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15819 soname_spec
='${libname}${release}${shared_ext}$major'
15820 if test "X$HPUX_IA64_MODE" = X32
; then
15821 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15823 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15825 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15829 hardcode_into_libs
=yes
15830 dynamic_linker
="$host_os dld.sl"
15831 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15832 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15834 soname_spec
='${libname}${release}${shared_ext}$major'
15835 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15836 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15840 dynamic_linker
="$host_os dld.sl"
15841 shlibpath_var
=SHLIB_PATH
15842 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15844 soname_spec
='${libname}${release}${shared_ext}$major'
15847 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15848 postinstall_cmds
='chmod 555 $lib'
15851 irix5
* | irix6
* | nonstopux
*)
15853 nonstopux
*) version_type
=nonstopux
;;
15855 if test "$lt_cv_prog_gnu_ld" = yes; then
15863 soname_spec
='${libname}${release}${shared_ext}$major'
15864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15866 irix5
* | nonstopux
*)
15867 libsuff
= shlibsuff
=
15870 case $LD in # libtool.m4 will add one of these switches to LD
15871 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15872 libsuff
= shlibsuff
= libmagic
=32-bit;;
15873 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15874 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15875 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15876 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15877 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15881 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15882 shlibpath_overrides_runpath
=no
15883 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15884 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15885 hardcode_into_libs
=yes
15888 # No shared lib support for Linux oldld, aout, or coff.
15889 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15893 # This must be Linux ELF.
15898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15899 soname_spec
='${libname}${release}${shared_ext}$major'
15900 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15901 shlibpath_var
=LD_LIBRARY_PATH
15902 shlibpath_overrides_runpath
=no
15903 # This implies no fast_install, which is unacceptable.
15904 # Some rework will be needed to allow for fast_install
15905 # before this can be enabled.
15906 hardcode_into_libs
=yes
15908 # Append ld.so.conf contents to the search path
15909 if test -f /etc
/ld.so.conf
; then
15910 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15911 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15914 # We used to test for /lib/ld.so.1 and disable shared libraries on
15915 # powerpc, because MkLinux only supported shared libraries with the
15916 # GNU dynamic linker. Since this was broken with cross compilers,
15917 # most powerpc-linux boxes support dynamic linking these days and
15918 # people can always --disable-shared, the test was removed, and we
15919 # assume the GNU/Linux dynamic linker is in use.
15920 dynamic_linker
='GNU/Linux ld.so'
15927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15928 soname_spec
='${libname}${release}${shared_ext}$major'
15929 shlibpath_var
=LD_LIBRARY_PATH
15930 shlibpath_overrides_runpath
=no
15931 hardcode_into_libs
=yes
15932 dynamic_linker
='GNU ld.so'
15939 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15941 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15942 dynamic_linker
='NetBSD (a.out) ld.so'
15944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15945 soname_spec
='${libname}${release}${shared_ext}$major'
15946 dynamic_linker
='NetBSD ld.elf_so'
15948 shlibpath_var
=LD_LIBRARY_PATH
15949 shlibpath_overrides_runpath
=yes
15950 hardcode_into_libs
=yes
15955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15956 shlibpath_var
=LD_LIBRARY_PATH
15957 shlibpath_overrides_runpath
=yes
15964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15965 soname_spec
='${libname}${release}${shared_ext}$major'
15966 shlibpath_var
=LD_LIBRARY_PATH
15967 shlibpath_overrides_runpath
=yes
15973 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15975 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15976 *) need_version
=no
;;
15978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15979 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15980 shlibpath_var
=LD_LIBRARY_PATH
15981 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15983 openbsd2.
[89] | openbsd2.
[89].
*)
15984 shlibpath_overrides_runpath
=no
15987 shlibpath_overrides_runpath
=yes
15991 shlibpath_overrides_runpath
=yes
15996 libname_spec
='$name'
15999 library_names_spec
='$libname${shared_ext} $libname.a'
16000 dynamic_linker
='OS/2 ld.exe'
16001 shlibpath_var
=LIBPATH
16004 osf3
* | osf4
* | osf5
*)
16008 soname_spec
='${libname}${release}${shared_ext}$major'
16009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16010 shlibpath_var
=LD_LIBRARY_PATH
16011 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16012 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16017 soname_spec
='${libname}${release}${shared_ext}$major'
16018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16019 shlibpath_var
=LD_LIBRARY_PATH
16026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16027 soname_spec
='${libname}${release}${shared_ext}$major'
16028 shlibpath_var
=LD_LIBRARY_PATH
16029 shlibpath_overrides_runpath
=yes
16030 hardcode_into_libs
=yes
16031 # ldd complains unless libraries are executable
16032 postinstall_cmds
='chmod +x $lib'
16037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16038 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16039 shlibpath_var
=LD_LIBRARY_PATH
16040 shlibpath_overrides_runpath
=yes
16041 if test "$with_gnu_ld" = yes; then
16047 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16050 soname_spec
='${libname}${release}${shared_ext}$major'
16051 shlibpath_var
=LD_LIBRARY_PATH
16052 case $host_vendor in
16054 shlibpath_overrides_runpath
=no
16056 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16057 runpath_var
=LD_RUN_PATH
16065 shlibpath_overrides_runpath
=no
16066 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16072 if test -d /usr
/nec
;then
16074 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16075 soname_spec
='$libname${shared_ext}.$major'
16076 shlibpath_var
=LD_LIBRARY_PATH
16082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16083 soname_spec
='${libname}${release}${shared_ext}$major'
16084 shlibpath_var
=LD_LIBRARY_PATH
16091 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16092 echo "${ECHO_T}$dynamic_linker" >&6; }
16093 test "$dynamic_linker" = no
&& can_build_shared
=no
16095 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16096 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16097 hardcode_action_F77
=
16098 if test -n "$hardcode_libdir_flag_spec_F77" || \
16099 test -n "$runpath_var_F77" || \
16100 test "X$hardcode_automatic_F77" = "Xyes" ; then
16102 # We can hardcode non-existant directories.
16103 if test "$hardcode_direct_F77" != no
&&
16104 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16105 # have to relink, otherwise we might link with an installed library
16106 # when we should be linking with a yet-to-be-installed one
16107 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16108 test "$hardcode_minus_L_F77" != no
; then
16109 # Linking always hardcodes the temporary library directory.
16110 hardcode_action_F77
=relink
16112 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16113 hardcode_action_F77
=immediate
16116 # We cannot hardcode anything, or else we can only hardcode existing
16118 hardcode_action_F77
=unsupported
16120 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16121 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16123 if test "$hardcode_action_F77" = relink
; then
16124 # Fast installation is not supported
16125 enable_fast_install
=no
16126 elif test "$shlibpath_overrides_runpath" = yes ||
16127 test "$enable_shared" = no
; then
16128 # Fast installation is not necessary
16129 enable_fast_install
=needless
16134 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16135 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
16136 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16137 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16138 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16139 { echo "$as_me:$LINENO: result: yes" >&5
16140 echo "${ECHO_T}yes" >&6; }
16142 # FIXME - insert some real tests, host_os isn't really good enough
16145 if test -n "$STRIP" ; then
16146 striplib
="$STRIP -x"
16147 { echo "$as_me:$LINENO: result: yes" >&5
16148 echo "${ECHO_T}yes" >&6; }
16150 { echo "$as_me:$LINENO: result: no" >&5
16151 echo "${ECHO_T}no" >&6; }
16155 { echo "$as_me:$LINENO: result: no" >&5
16156 echo "${ECHO_T}no" >&6; }
16163 # The else clause should only fire when bootstrapping the
16164 # libtool distribution, otherwise you forgot to ship ltmain.sh
16165 # with your package, and you will get complaints that there are
16166 # no rules to generate ltmain.sh.
16167 if test -f "$ltmain"; then
16168 # See if we are running on zsh, and set the options which allow our commands through
16169 # without removal of \ escapes.
16170 if test -n "${ZSH_VERSION+set}" ; then
16171 setopt NO_GLOB_SUBST
16173 # Now quote all the things that may contain metacharacters while being
16174 # careful not to overquote the AC_SUBSTed values. We take copies of the
16175 # variables and quote the copies for generation of the libtool script.
16176 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
16178 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16179 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16180 deplibs_check_method reload_flag reload_cmds need_locks \
16181 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16182 lt_cv_sys_global_symbol_to_c_name_address \
16183 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16184 old_postinstall_cmds old_postuninstall_cmds \
16188 lt_prog_compiler_wl_F77 \
16189 lt_prog_compiler_pic_F77 \
16190 lt_prog_compiler_static_F77 \
16191 lt_prog_compiler_no_builtin_flag_F77 \
16192 export_dynamic_flag_spec_F77 \
16193 thread_safe_flag_spec_F77 \
16194 whole_archive_flag_spec_F77 \
16195 enable_shared_with_static_runtimes_F77 \
16196 old_archive_cmds_F77 \
16197 old_archive_from_new_cmds_F77 \
16198 predep_objects_F77 \
16199 postdep_objects_F77 \
16202 compiler_lib_search_path_F77 \
16204 archive_expsym_cmds_F77 \
16205 postinstall_cmds_F77 \
16206 postuninstall_cmds_F77 \
16207 old_archive_from_expsyms_cmds_F77 \
16208 allow_undefined_flag_F77 \
16209 no_undefined_flag_F77 \
16210 export_symbols_cmds_F77 \
16211 hardcode_libdir_flag_spec_F77 \
16212 hardcode_libdir_flag_spec_ld_F77 \
16213 hardcode_libdir_separator_F77 \
16214 hardcode_automatic_F77 \
16216 module_expsym_cmds_F77 \
16217 lt_cv_prog_compiler_c_o_F77 \
16218 exclude_expsyms_F77 \
16219 include_expsyms_F77
; do
16222 old_archive_cmds_F77 | \
16223 old_archive_from_new_cmds_F77 | \
16224 archive_cmds_F77 | \
16225 archive_expsym_cmds_F77 | \
16226 module_cmds_F77 | \
16227 module_expsym_cmds_F77 | \
16228 old_archive_from_expsyms_cmds_F77 | \
16229 export_symbols_cmds_F77 | \
16230 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16231 postinstall_cmds | postuninstall_cmds | \
16232 old_postinstall_cmds | old_postuninstall_cmds | \
16233 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16234 # Double-quote double-evaled strings.
16235 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16238 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16244 *'\$0 --fallback-echo"')
16245 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16251 cat <<__EOF__ >> "$cfgfile"
16252 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16254 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16256 # Shell to use when invoking shell scripts.
16259 # Whether or not to build shared libraries.
16260 build_libtool_libs=$enable_shared
16262 # Whether or not to build static libraries.
16263 build_old_libs=$enable_static
16265 # Whether or not to add -lc for building shared libraries.
16266 build_libtool_need_lc=$archive_cmds_need_lc_F77
16268 # Whether or not to disallow shared libs when runtime libs are static
16269 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16271 # Whether or not to optimize for fast installation.
16272 fast_install=$enable_fast_install
16275 host_alias=$host_alias
16279 # The build system.
16280 build_alias=$build_alias
16284 # An echo program that does not interpret backslashes.
16289 AR_FLAGS=$lt_AR_FLAGS
16294 # A language-specific compiler.
16295 CC=$lt_compiler_F77
16297 # Is the compiler the GNU C compiler?
16303 # The linker used to build libraries.
16306 # Whether we need hard or soft links.
16309 # A BSD-compatible nm program.
16312 # A symbol stripping program
16315 # Used to examine libraries when file_magic_cmd begins "file"
16316 MAGIC_CMD=$MAGIC_CMD
16318 # Used on cygwin: DLL creation program.
16321 # Used on cygwin: object dumper.
16324 # Used on cygwin: assembler.
16327 # The name of the directory that contains temporary libtool files.
16330 # How to create reloadable object files.
16331 reload_flag=$lt_reload_flag
16332 reload_cmds=$lt_reload_cmds
16334 # How to pass a linker flag through the compiler.
16335 wl=$lt_lt_prog_compiler_wl_F77
16337 # Object file suffix (normally "o").
16338 objext="$ac_objext"
16340 # Old archive suffix (normally "a").
16343 # Shared library suffix (normally ".so").
16344 shrext_cmds='$shrext_cmds'
16346 # Executable file suffix (normally "").
16349 # Additional compiler flags for building library objects.
16350 pic_flag=$lt_lt_prog_compiler_pic_F77
16353 # What is the maximum length of a command?
16354 max_cmd_len=$lt_cv_sys_max_cmd_len
16356 # Does compiler simultaneously support -c and -o options?
16357 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16359 # Must we lock files when doing compilation?
16360 need_locks=$lt_need_locks
16362 # Do we need the lib prefix for modules?
16363 need_lib_prefix=$need_lib_prefix
16365 # Do we need a version for libraries?
16366 need_version=$need_version
16368 # Whether dlopen is supported.
16369 dlopen_support=$enable_dlopen
16371 # Whether dlopen of programs is supported.
16372 dlopen_self=$enable_dlopen_self
16374 # Whether dlopen of statically linked programs is supported.
16375 dlopen_self_static=$enable_dlopen_self_static
16377 # Compiler flag to prevent dynamic linking.
16378 link_static_flag=$lt_lt_prog_compiler_static_F77
16380 # Compiler flag to turn off builtin functions.
16381 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16383 # Compiler flag to allow reflexive dlopens.
16384 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16386 # Compiler flag to generate shared objects directly from archives.
16387 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16389 # Compiler flag to generate thread-safe objects.
16390 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16392 # Library versioning type.
16393 version_type=$version_type
16395 # Format of library name prefix.
16396 libname_spec=$lt_libname_spec
16398 # List of archive names. First name is the real one, the rest are links.
16399 # The last name is the one that the linker finds with -lNAME.
16400 library_names_spec=$lt_library_names_spec
16402 # The coded name of the library, if different from the real name.
16403 soname_spec=$lt_soname_spec
16405 # Commands used to build and install an old-style archive.
16407 old_archive_cmds=$lt_old_archive_cmds_F77
16408 old_postinstall_cmds=$lt_old_postinstall_cmds
16409 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16411 # Create an old-style archive from a shared archive.
16412 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16414 # Create a temporary old-style archive to link instead of a shared archive.
16415 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16417 # Commands used to build and install a shared archive.
16418 archive_cmds=$lt_archive_cmds_F77
16419 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16420 postinstall_cmds=$lt_postinstall_cmds
16421 postuninstall_cmds=$lt_postuninstall_cmds
16423 # Commands used to build a loadable module (assumed same as above if empty)
16424 module_cmds=$lt_module_cmds_F77
16425 module_expsym_cmds=$lt_module_expsym_cmds_F77
16427 # Commands to strip libraries.
16428 old_striplib=$lt_old_striplib
16429 striplib=$lt_striplib
16431 # Dependencies to place before the objects being linked to create a
16433 predep_objects=$lt_predep_objects_F77
16435 # Dependencies to place after the objects being linked to create a
16437 postdep_objects=$lt_postdep_objects_F77
16439 # Dependencies to place before the objects being linked to create a
16441 predeps=$lt_predeps_F77
16443 # Dependencies to place after the objects being linked to create a
16445 postdeps=$lt_postdeps_F77
16447 # The library search path used internally by the compiler when linking
16448 # a shared library.
16449 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16451 # Method to check whether dependent libraries are shared objects.
16452 deplibs_check_method=$lt_deplibs_check_method
16454 # Command to use when deplibs_check_method == file_magic.
16455 file_magic_cmd=$lt_file_magic_cmd
16457 # Flag that allows shared libraries with undefined symbols to be built.
16458 allow_undefined_flag=$lt_allow_undefined_flag_F77
16460 # Flag that forces no undefined symbols.
16461 no_undefined_flag=$lt_no_undefined_flag_F77
16463 # Commands used to finish a libtool library installation in a directory.
16464 finish_cmds=$lt_finish_cmds
16466 # Same as above, but a single script fragment to be evaled but not shown.
16467 finish_eval=$lt_finish_eval
16469 # Take the output of nm and produce a listing of raw symbols and C names.
16470 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16472 # Transform the output of nm in a proper C declaration
16473 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16475 # Transform the output of nm in a C name address pair
16476 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16478 # This is the shared library runtime path variable.
16479 runpath_var=$runpath_var
16481 # This is the shared library path variable.
16482 shlibpath_var=$shlibpath_var
16484 # Is shlibpath searched before the hard-coded library search path?
16485 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16487 # How to hardcode a shared library path into an executable.
16488 hardcode_action=$hardcode_action_F77
16490 # Whether we should hardcode library paths into libraries.
16491 hardcode_into_libs=$hardcode_into_libs
16493 # Flag to hardcode \$libdir into a binary during linking.
16494 # This must work even if \$libdir does not exist.
16495 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16497 # If ld is used when linking, flag to hardcode \$libdir into
16498 # a binary during linking. This must work even if \$libdir does
16500 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16502 # Whether we need a single -rpath flag with a separated argument.
16503 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16505 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16506 # resulting binary.
16507 hardcode_direct=$hardcode_direct_F77
16509 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16510 # resulting binary.
16511 hardcode_minus_L=$hardcode_minus_L_F77
16513 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16514 # the resulting binary.
16515 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16517 # Set to yes if building a shared library automatically hardcodes DIR into the library
16518 # and all subsequent libraries and executables linked against it.
16519 hardcode_automatic=$hardcode_automatic_F77
16521 # Variables whose values should be saved in libtool wrapper scripts and
16522 # restored at relink time.
16523 variables_saved_for_relink="$variables_saved_for_relink"
16525 # Whether libtool must link a program against all its dependency libraries.
16526 link_all_deplibs=$link_all_deplibs_F77
16528 # Compile-time system search path for libraries
16529 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16531 # Run-time system search path for libraries
16532 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16534 # Fix the shell variable \$srcfile for the compiler.
16535 fix_srcfile_path="$fix_srcfile_path_F77"
16537 # Set to yes if exported symbols are required.
16538 always_export_symbols=$always_export_symbols_F77
16540 # The commands to list exported symbols.
16541 export_symbols_cmds=$lt_export_symbols_cmds_F77
16543 # The commands to extract the exported symbol list from a shared archive.
16544 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16546 # Symbols that should not be listed in the preloaded symbols.
16547 exclude_expsyms=$lt_exclude_expsyms_F77
16549 # Symbols that must always be exported.
16550 include_expsyms=$lt_include_expsyms_F77
16552 # ### END LIBTOOL TAG CONFIG: $tagname
16558 # If there is no Makefile yet, we rely on a make rule to execute
16559 # `config.status --recheck' to rerun these tests and create the
16560 # libtool script then.
16561 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16562 if test -f "$ltmain_in"; then
16563 test -f Makefile
&& make "$ltmain"
16569 ac_cpp
='$CPP $CPPFLAGS'
16570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16582 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16585 # Source file extension for Java test sources.
16588 # Object file extension for compiled Java test sources.
16592 # Code to be used in simple compile tests
16593 lt_simple_compile_test_code
="class foo {}\n"
16595 # Code to be used in simple link tests
16596 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16598 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16600 # If no C compiler was specified, use CC.
16603 # Allow CC to be a program name with arguments.
16607 # save warnings/boilerplate of simple test code
16608 ac_outfile
=conftest.
$ac_objext
16609 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16610 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
16611 _lt_compiler_boilerplate
=`cat conftest.err`
16614 ac_outfile
=conftest.
$ac_objext
16615 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16616 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
16617 _lt_linker_boilerplate
=`cat conftest.err`
16621 # Allow CC to be a program name with arguments.
16626 for cc_temp
in $compiler""; do
16628 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16629 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16634 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16637 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16638 archive_cmds_need_lc_GCJ
=no
16640 old_archive_cmds_GCJ
=$old_archive_cmds
16643 lt_prog_compiler_no_builtin_flag_GCJ
=
16645 if test "$GCC" = yes; then
16646 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16649 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16650 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16651 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16652 echo $ECHO_N "(cached) $ECHO_C" >&6
16654 lt_cv_prog_compiler_rtti_exceptions
=no
16655 ac_outfile
=conftest.
$ac_objext
16656 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16657 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16658 # Insert the option either (1) after the last *FLAGS variable, or
16659 # (2) before a word containing "conftest.", or (3) at the end.
16660 # Note that $ac_compile itself does not contain backslashes and begins
16661 # with a dollar sign (not a hyphen), so the echo should work correctly.
16662 # The option is referenced via a variable to avoid confusing sed.
16663 lt_compile
=`echo "$ac_compile" | $SED \
16664 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16665 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16666 -e 's:$: $lt_compiler_flag:'`
16667 (eval echo "\"\$as_me:16667: $lt_compile\"" >&5)
16668 (eval "$lt_compile" 2>conftest.err
)
16670 cat conftest.err
>&5
16671 echo "$as_me:16671: \$? = $ac_status" >&5
16672 if (exit $ac_status) && test -s "$ac_outfile"; then
16673 # The compiler can only warn and ignore the option if not recognized
16674 # So say no if there are warnings other than the usual output.
16675 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
16676 $SED '/^$/d' conftest.err
>conftest.er2
16677 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16678 lt_cv_prog_compiler_rtti_exceptions
=yes
16684 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16685 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16687 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16688 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16695 lt_prog_compiler_wl_GCJ
=
16696 lt_prog_compiler_pic_GCJ
=
16697 lt_prog_compiler_static_GCJ
=
16699 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16700 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16702 if test "$GCC" = yes; then
16703 lt_prog_compiler_wl_GCJ
='-Wl,'
16704 lt_prog_compiler_static_GCJ
='-static'
16708 # All AIX code is PIC.
16709 if test "$host_cpu" = ia64
; then
16710 # AIX 5 now supports IA64 processor
16711 lt_prog_compiler_static_GCJ
='-Bstatic'
16716 # FIXME: we need at least 68020 code to build shared libraries, but
16717 # adding the `-m68020' flag to GCC prevents building anything better,
16719 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16722 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16723 # PIC is the default for these OSes.
16726 mingw
* | pw32
* | os2
*)
16727 # This hack is so that the source file can tell whether it is being
16728 # built for inclusion in a dll (and should export symbols for example).
16729 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16732 darwin
* | rhapsody
*)
16733 # PIC is the default on this platform
16734 # Common symbols not allowed in MH_DYLIB files
16735 lt_prog_compiler_pic_GCJ
='-fno-common'
16739 # Just because we use GCC doesn't mean we suddenly get shared libraries
16740 # on systems that don't support them.
16741 lt_prog_compiler_can_build_shared_GCJ
=no
16746 if test -d /usr
/nec
; then
16747 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16752 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16753 # not for PA HP-UX.
16759 lt_prog_compiler_pic_GCJ
='-fPIC'
16765 lt_prog_compiler_pic_GCJ
='-fPIC'
16769 # PORTME Check for flag to pass linker flags through the system compiler.
16772 lt_prog_compiler_wl_GCJ
='-Wl,'
16773 if test "$host_cpu" = ia64
; then
16774 # AIX 5 now supports IA64 processor
16775 lt_prog_compiler_static_GCJ
='-Bstatic'
16777 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16781 # PIC is the default on this platform
16782 # Common symbols not allowed in MH_DYLIB files
16783 case $cc_basename in
16785 lt_prog_compiler_pic_GCJ
='-qnocommon'
16786 lt_prog_compiler_wl_GCJ
='-Wl,'
16791 mingw
* | pw32
* | os2
*)
16792 # This hack is so that the source file can tell whether it is being
16793 # built for inclusion in a dll (and should export symbols for example).
16794 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16797 hpux9
* | hpux10
* | hpux11
*)
16798 lt_prog_compiler_wl_GCJ
='-Wl,'
16799 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16800 # not for PA HP-UX.
16806 lt_prog_compiler_pic_GCJ
='+Z'
16809 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16810 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16813 irix5
* | irix6
* | nonstopux
*)
16814 lt_prog_compiler_wl_GCJ
='-Wl,'
16815 # PIC (with -KPIC) is the default.
16816 lt_prog_compiler_static_GCJ
='-non_shared'
16820 lt_prog_compiler_pic_GCJ
='-KPIC'
16821 lt_prog_compiler_static_GCJ
='-Bstatic'
16825 case $cc_basename in
16827 lt_prog_compiler_wl_GCJ
='-Wl,'
16828 lt_prog_compiler_pic_GCJ
='-KPIC'
16829 lt_prog_compiler_static_GCJ
='-static'
16831 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16832 # Portland Group compilers (*not* the Pentium gcc compiler,
16833 # which looks to be a dead project)
16834 lt_prog_compiler_wl_GCJ
='-Wl,'
16835 lt_prog_compiler_pic_GCJ
='-fpic'
16836 lt_prog_compiler_static_GCJ
='-Bstatic'
16839 lt_prog_compiler_wl_GCJ
='-Wl,'
16840 # All Alpha code is PIC.
16841 lt_prog_compiler_static_GCJ
='-non_shared'
16846 osf3
* | osf4
* | osf5
*)
16847 lt_prog_compiler_wl_GCJ
='-Wl,'
16848 # All OSF/1 code is PIC.
16849 lt_prog_compiler_static_GCJ
='-non_shared'
16853 lt_prog_compiler_pic_GCJ
='-Kpic'
16854 lt_prog_compiler_static_GCJ
='-dn'
16858 lt_prog_compiler_pic_GCJ
='-KPIC'
16859 lt_prog_compiler_static_GCJ
='-Bstatic'
16860 case $cc_basename in
16861 f77
* | f90
* | f95
*)
16862 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16864 lt_prog_compiler_wl_GCJ
='-Wl,';;
16869 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16870 lt_prog_compiler_pic_GCJ
='-PIC'
16871 lt_prog_compiler_static_GCJ
='-Bstatic'
16874 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16875 lt_prog_compiler_wl_GCJ
='-Wl,'
16876 lt_prog_compiler_pic_GCJ
='-KPIC'
16877 lt_prog_compiler_static_GCJ
='-Bstatic'
16881 if test -d /usr
/nec
;then
16882 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16883 lt_prog_compiler_static_GCJ
='-Bstatic'
16888 lt_prog_compiler_wl_GCJ
='-Wl,'
16889 lt_prog_compiler_can_build_shared_GCJ
=no
16893 lt_prog_compiler_pic_GCJ
='-pic'
16894 lt_prog_compiler_static_GCJ
='-Bstatic'
16898 lt_prog_compiler_can_build_shared_GCJ
=no
16903 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16904 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16907 # Check to make sure the PIC flag actually works.
16909 if test -n "$lt_prog_compiler_pic_GCJ"; then
16911 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16912 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16913 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16914 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 lt_prog_compiler_pic_works_GCJ
=no
16917 ac_outfile
=conftest.
$ac_objext
16918 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16919 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16920 # Insert the option either (1) after the last *FLAGS variable, or
16921 # (2) before a word containing "conftest.", or (3) at the end.
16922 # Note that $ac_compile itself does not contain backslashes and begins
16923 # with a dollar sign (not a hyphen), so the echo should work correctly.
16924 # The option is referenced via a variable to avoid confusing sed.
16925 lt_compile
=`echo "$ac_compile" | $SED \
16926 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16928 -e 's:$: $lt_compiler_flag:'`
16929 (eval echo "\"\$as_me:16929: $lt_compile\"" >&5)
16930 (eval "$lt_compile" 2>conftest.err
)
16932 cat conftest.err
>&5
16933 echo "$as_me:16933: \$? = $ac_status" >&5
16934 if (exit $ac_status) && test -s "$ac_outfile"; then
16935 # The compiler can only warn and ignore the option if not recognized
16936 # So say no if there are warnings other than the usual output.
16937 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
16938 $SED '/^$/d' conftest.err
>conftest.er2
16939 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16940 lt_prog_compiler_pic_works_GCJ
=yes
16946 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16947 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16949 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16950 case $lt_prog_compiler_pic_GCJ in
16952 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16955 lt_prog_compiler_pic_GCJ
=
16956 lt_prog_compiler_can_build_shared_GCJ
=no
16961 # For platforms which do not support PIC, -DPIC is meaningless:
16963 lt_prog_compiler_pic_GCJ
=
16966 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16970 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16971 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16972 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16973 echo $ECHO_N "(cached) $ECHO_C" >&6
16975 lt_cv_prog_compiler_c_o_GCJ
=no
16976 $rm -r conftest
2>/dev
/null
16980 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16982 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16983 # Insert the option either (1) after the last *FLAGS variable, or
16984 # (2) before a word containing "conftest.", or (3) at the end.
16985 # Note that $ac_compile itself does not contain backslashes and begins
16986 # with a dollar sign (not a hyphen), so the echo should work correctly.
16987 lt_compile
=`echo "$ac_compile" | $SED \
16988 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16989 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16990 -e 's:$: $lt_compiler_flag:'`
16991 (eval echo "\"\$as_me:16991: $lt_compile\"" >&5)
16992 (eval "$lt_compile" 2>out
/conftest.err
)
16994 cat out
/conftest.err
>&5
16995 echo "$as_me:16995: \$? = $ac_status" >&5
16996 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16998 # The compiler can only warn and ignore the option if not recognized
16999 # So say no if there are warnings
17000 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
17001 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
17002 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17003 lt_cv_prog_compiler_c_o_GCJ
=yes
17008 # SGI C++ compiler will create directory out/ii_files/ for
17009 # template instantiation
17010 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17011 $rm out
/* && rmdir out
17017 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17018 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17021 hard_links
="nottested"
17022 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17023 # do not overwrite the value of need_locks provided by the user
17024 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17025 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17028 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17030 ln conftest.a conftest.b
2>&5 || hard_links
=no
17031 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17032 { echo "$as_me:$LINENO: result: $hard_links" >&5
17033 echo "${ECHO_T}$hard_links" >&6; }
17034 if test "$hard_links" = no
; then
17035 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17036 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17043 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17044 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17047 allow_undefined_flag_GCJ
=
17048 enable_shared_with_static_runtimes_GCJ
=no
17050 archive_expsym_cmds_GCJ
=
17051 old_archive_From_new_cmds_GCJ
=
17052 old_archive_from_expsyms_cmds_GCJ
=
17053 export_dynamic_flag_spec_GCJ
=
17054 whole_archive_flag_spec_GCJ
=
17055 thread_safe_flag_spec_GCJ
=
17056 hardcode_libdir_flag_spec_GCJ
=
17057 hardcode_libdir_flag_spec_ld_GCJ
=
17058 hardcode_libdir_separator_GCJ
=
17059 hardcode_direct_GCJ
=no
17060 hardcode_minus_L_GCJ
=no
17061 hardcode_shlibpath_var_GCJ
=unsupported
17062 link_all_deplibs_GCJ
=unknown
17063 hardcode_automatic_GCJ
=no
17065 module_expsym_cmds_GCJ
=
17066 always_export_symbols_GCJ
=no
17067 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17068 # include_expsyms should be a list of space-separated symbols to be *always*
17069 # included in the symbol list
17070 include_expsyms_GCJ
=
17071 # exclude_expsyms can be an extended regexp of symbols to exclude
17072 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17073 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17074 # as well as any symbol that contains `d'.
17075 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17076 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17077 # platforms (ab)use it in PIC code, but their linkers get confused if
17078 # the symbol is explicitly referenced. Since portable code cannot
17079 # rely on this symbol name, it's probably fine to never include it in
17080 # preloaded symbol tables.
17081 extract_expsyms_cmds
=
17082 # Just being paranoid about ensuring that cc_basename is set.
17083 for cc_temp
in $compiler""; do
17085 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17086 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17091 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17094 cygwin
* | mingw
* | pw32
*)
17095 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17096 # When not using gcc, we currently assume that we are using
17097 # Microsoft Visual C++.
17098 if test "$GCC" != yes; then
17108 if test "$with_gnu_ld" = yes; then
17109 # If archive_cmds runs LD, not CC, wlarc should be empty
17112 # Set some defaults for GNU ld with shared library support. These
17113 # are reset later if shared libraries are not supported. Putting them
17114 # here allows them to be overridden if necessary.
17115 runpath_var
=LD_RUN_PATH
17116 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17117 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17118 # ancient GNU ld didn't support --whole-archive et. al.
17119 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17120 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17122 whole_archive_flag_spec_GCJ
=
17124 supports_anon_versioning
=no
17125 case `$LD -v 2>/dev/null` in
17126 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17127 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17128 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17129 *\
2.11.
*) ;; # other 2.11 versions
17130 *) supports_anon_versioning
=yes ;;
17133 # See if GNU ld supports shared libraries.
17135 aix3
* | aix4
* | aix5
*)
17136 # On AIX/PPC, the GNU linker is very broken
17137 if test "$host_cpu" != ia64
; then
17141 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17142 *** to be unable to reliably create shared libraries on AIX.
17143 *** Therefore, libtool is disabling shared libraries support. If you
17144 *** really care for shared libraries, you may want to modify your PATH
17145 *** so that a non-GNU linker is found, and then restart.
17152 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)'
17153 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17154 hardcode_minus_L_GCJ
=yes
17156 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17157 # that the semantics of dynamic libraries on AmigaOS, at least up
17158 # to version 4, is to share data among multiple programs linked
17159 # with the same dynamic library. Since this doesn't match the
17160 # behavior of shared libraries on other platforms, we can't use
17166 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17167 allow_undefined_flag_GCJ
=unsupported
17168 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17169 # support --undefined. This deserves some investigation. FIXME
17170 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17176 cygwin
* | mingw
* | pw32
*)
17177 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17178 # as there is no search path for DLLs.
17179 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17180 allow_undefined_flag_GCJ
=unsupported
17181 always_export_symbols_GCJ
=no
17182 enable_shared_with_static_runtimes_GCJ
=yes
17183 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17185 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17186 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17187 # If the export-symbols file already is a .def file (1st line
17188 # is EXPORTS), use it as is; otherwise, prepend...
17189 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17190 cp $export_symbols $output_objdir/$soname.def;
17192 echo EXPORTS > $output_objdir/$soname.def;
17193 cat $export_symbols >> $output_objdir/$soname.def;
17195 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17202 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17204 case $cc_basename,$host_cpu in
17205 pgcc
*) # Portland Group C compiler
17206 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'
17207 tmp_addflag
=' $pic_flag'
17209 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17210 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'
17211 tmp_addflag
=' $pic_flag -Mnomain' ;;
17212 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17213 tmp_addflag
=' -i_dynamic' ;;
17214 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17215 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17216 ifc
* | ifort
*) # Intel Fortran compiler
17217 tmp_addflag
=' -nofor_main' ;;
17219 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17221 if test $supports_anon_versioning = yes; then
17222 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17223 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17224 $echo "local: *; };" >> $output_objdir/$libname.ver~
17225 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17233 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17234 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17237 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17238 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17243 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17247 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17248 *** create shared libraries on Solaris systems. Therefore, libtool
17249 *** is disabling shared libraries support. We urge you to upgrade GNU
17250 *** binutils to release 2.9.1 or newer. Another option is to modify
17251 *** your PATH or compiler configuration so that the native linker is
17252 *** used, and then restart.
17255 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17256 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17257 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17264 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17266 hardcode_direct_GCJ
=yes
17267 hardcode_shlibpath_var_GCJ
=no
17271 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17272 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17273 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17280 if test "$ld_shlibs_GCJ" = no
; then
17282 hardcode_libdir_flag_spec_GCJ
=
17283 export_dynamic_flag_spec_GCJ
=
17284 whole_archive_flag_spec_GCJ
=
17287 # PORTME fill in a description of your system's linker (not GNU ld)
17290 allow_undefined_flag_GCJ
=unsupported
17291 always_export_symbols_GCJ
=yes
17292 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'
17293 # Note: this linker hardcodes the directories in LIBPATH if there
17294 # are no directories specified by -L.
17295 hardcode_minus_L_GCJ
=yes
17296 if test "$GCC" = yes && test -z "$link_static_flag"; then
17297 # Neither direct hardcoding nor static linking is supported with a
17299 hardcode_direct_GCJ
=unsupported
17304 if test "$host_cpu" = ia64
; then
17305 # On IA64, the linker does run time linking by default, so we don't
17306 # have to do anything special.
17307 aix_use_runtimelinking
=no
17308 exp_sym_flag
='-Bexport'
17311 # If we're using GNU nm, then we don't want the "-C" option.
17312 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17313 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17314 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'
17316 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'
17318 aix_use_runtimelinking
=no
17320 # Test if we are trying to use run time linking or normal
17321 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17322 # need to do runtime linking.
17323 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17324 for ld_flag
in $LDFLAGS; do
17325 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17326 aix_use_runtimelinking
=yes
17332 exp_sym_flag
='-bexport'
17333 no_entry_flag
='-bnoentry'
17336 # When large executables or shared objects are built, AIX ld can
17337 # have problems creating the table of contents. If linking a library
17338 # or program results in "error TOC overflow" add -mminimal-toc to
17339 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17340 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17342 archive_cmds_GCJ
=''
17343 hardcode_direct_GCJ
=yes
17344 hardcode_libdir_separator_GCJ
=':'
17345 link_all_deplibs_GCJ
=yes
17347 if test "$GCC" = yes; then
17348 case $host_os in aix4.
[012]|aix4.
[012].
*)
17349 # We only want to do this on AIX 4.2 and lower, the check
17350 # below for broken collect2 doesn't work under 4.3+
17351 collect2name
=`${CC} -print-prog-name=collect2`
17352 if test -f "$collect2name" && \
17353 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17355 # We have reworked collect2
17356 hardcode_direct_GCJ
=yes
17358 # We have old collect2
17359 hardcode_direct_GCJ
=unsupported
17360 # It fails to find uninstalled libraries when the uninstalled
17361 # path is not listed in the libpath. Setting hardcode_minus_L
17362 # to unsupported forces relinking
17363 hardcode_minus_L_GCJ
=yes
17364 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17365 hardcode_libdir_separator_GCJ
=
17368 shared_flag
='-shared'
17369 if test "$aix_use_runtimelinking" = yes; then
17370 shared_flag
="$shared_flag "'${wl}-G'
17374 if test "$host_cpu" = ia64
; then
17375 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17376 # chokes on -Wl,-G. The following line is correct:
17379 if test "$aix_use_runtimelinking" = yes; then
17380 shared_flag
='${wl}-G'
17382 shared_flag
='${wl}-bM:SRE'
17387 # It seems that -bexpall does not export symbols beginning with
17388 # underscore (_), so it is better to generate a list of symbols to export.
17389 always_export_symbols_GCJ
=yes
17390 if test "$aix_use_runtimelinking" = yes; then
17391 # Warning - without using the other runtime loading flags (-brtl),
17392 # -berok will link without error, but may produce a broken library.
17393 allow_undefined_flag_GCJ
='-berok'
17394 # Determine the default libpath from the value encoded in an empty executable.
17395 cat >conftest.
$ac_ext <<_ACEOF
17398 cat confdefs.h
>>conftest.
$ac_ext
17399 cat >>conftest.
$ac_ext <<_ACEOF
17400 /* end confdefs.h. */
17410 rm -f conftest.
$ac_objext conftest
$ac_exeext
17411 if { (ac_try
="$ac_link"
17412 case "(($ac_try" in
17413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17414 *) ac_try_echo=$ac_try;;
17416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17417 (eval "$ac_link") 2>conftest.er1
17419 grep -v '^ *+' conftest.er1 >conftest.err
17421 cat conftest.err >&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } && {
17424 test -z "$ac_c_werror_flag" ||
17425 test ! -s conftest.err
17426 } && test -s conftest$ac_exeext &&
17427 $as_test_x conftest$ac_exeext; then
17429 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17431 # Check for a 64-bit object if we didn't find anything.
17432 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17435 echo "$as_me: failed program was:" >&5
17436 sed 's/^/| /' conftest.$ac_ext >&5
17441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17442 conftest$ac_exeext conftest.$ac_ext
17443 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17445 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17446 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17448 if test "$host_cpu" = ia64
; then
17449 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
17450 allow_undefined_flag_GCJ
="-z nodefs"
17451 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
17453 # Determine the default libpath from the value encoded in an empty executable.
17454 cat >conftest.$ac_ext <<_ACEOF
17457 cat confdefs.h >>conftest.$ac_ext
17458 cat >>conftest.$ac_ext <<_ACEOF
17459 /* end confdefs.h. */
17469 rm -f conftest.$ac_objext conftest$ac_exeext
17470 if { (ac_try="$ac_link"
17471 case "(($ac_try" in
17472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17473 *) ac_try_echo=$ac_try;;
17475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17476 (eval "$ac_link") 2>conftest.er1
17478 grep -v '^
*+' conftest.er1 >conftest.err
17480 cat conftest.err >&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); } && {
17483 test -z "$ac_c_werror_flag" ||
17484 test ! -s conftest.err
17485 } && test -s conftest$ac_exeext &&
17486 $as_test_x conftest$ac_exeext; then
17488 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings
/,/^$
/ { /^
0/ { s
/^
0 *\
(.
*\
)$
/\
1/; p
; }
17490 # Check for a 64-bit object if we didn't
find anything.
17491 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17494 echo "$as_me: failed program was:" >&5
17495 sed 's/^/| /' conftest.
$ac_ext >&5
17500 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17501 conftest
$ac_exeext conftest.
$ac_ext
17502 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17504 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17505 # Warning - without using the other run time loading flags,
17506 # -berok will link without error, but may produce a broken library.
17507 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17508 allow_undefined_flag_GCJ
=' ${wl}-berok'
17509 # -bexpall does not export symbols beginning with underscore (_)
17510 always_export_symbols_GCJ
=yes
17511 # Exported symbols can be pulled into shared objects from archives
17512 whole_archive_flag_spec_GCJ
=' '
17513 archive_cmds_need_lc_GCJ
=yes
17514 # This is similar to how AIX traditionally builds its shared libraries.
17515 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17521 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)'
17522 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17523 hardcode_minus_L_GCJ
=yes
17524 # see comment about different semantics on the GNU ld section
17529 export_dynamic_flag_spec_GCJ
=-rdynamic
17532 cygwin
* | mingw
* | pw32
*)
17533 # When not using gcc, we currently assume that we are using
17534 # Microsoft Visual C++.
17535 # hardcode_libdir_flag_spec is actually meaningless, as there is
17536 # no search path for DLLs.
17537 hardcode_libdir_flag_spec_GCJ
=' '
17538 allow_undefined_flag_GCJ
=unsupported
17539 # Tell ltmain to make .lib files, not .a files.
17541 # Tell ltmain to make .dll files, not .so files.
17543 # FIXME: Setting linknames here is a bad hack.
17544 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17545 # The linker will automatically build a .lib file if we build a DLL.
17546 old_archive_From_new_cmds_GCJ
='true'
17547 # FIXME: Should let the user specify the lib program.
17548 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17549 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17550 enable_shared_with_static_runtimes_GCJ
=yes
17553 darwin
* | rhapsody
*)
17555 rhapsody
* | darwin1.
[012])
17556 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17559 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17560 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17562 case ${MACOSX_DEPLOYMENT_TARGET} in
17564 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17567 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17573 archive_cmds_need_lc_GCJ
=no
17574 hardcode_direct_GCJ
=no
17575 hardcode_automatic_GCJ
=yes
17576 hardcode_shlibpath_var_GCJ
=unsupported
17577 whole_archive_flag_spec_GCJ
=''
17578 link_all_deplibs_GCJ
=yes
17579 if test "$GCC" = yes ; then
17580 output_verbose_link_cmd
='echo'
17581 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17582 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17583 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17584 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17585 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}'
17587 case $cc_basename in
17589 output_verbose_link_cmd
='echo'
17590 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17591 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17592 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17593 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17594 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}'
17604 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17605 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17606 hardcode_shlibpath_var_GCJ
=no
17613 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17614 # support. Future versions do this automatically, but an explicit c++rt0.o
17615 # does not break anything, and helps significantly (at the cost of a little
17618 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17619 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17620 hardcode_direct_GCJ
=yes
17621 hardcode_shlibpath_var_GCJ
=no
17624 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17626 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17627 hardcode_direct_GCJ
=yes
17628 hardcode_minus_L_GCJ
=yes
17629 hardcode_shlibpath_var_GCJ
=no
17632 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17633 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17634 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17635 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17636 hardcode_direct_GCJ
=yes
17637 hardcode_shlibpath_var_GCJ
=no
17641 if test "$GCC" = yes; then
17642 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'
17644 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'
17646 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17647 hardcode_libdir_separator_GCJ
=:
17648 hardcode_direct_GCJ
=yes
17650 # hardcode_minus_L: Not really in the search PATH,
17651 # but as the default location of the library.
17652 hardcode_minus_L_GCJ
=yes
17653 export_dynamic_flag_spec_GCJ
='${wl}-E'
17657 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17660 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17663 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17669 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17672 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17676 if test "$with_gnu_ld" = no
; then
17679 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17680 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17681 hardcode_libdir_separator_GCJ
=:
17682 hardcode_direct_GCJ
=no
17683 hardcode_shlibpath_var_GCJ
=no
17686 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17687 hardcode_direct_GCJ
=no
17688 hardcode_shlibpath_var_GCJ
=no
17690 # hardcode_minus_L: Not really in the search PATH,
17691 # but as the default location of the library.
17692 hardcode_minus_L_GCJ
=yes
17695 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17696 hardcode_libdir_separator_GCJ
=:
17697 hardcode_direct_GCJ
=yes
17698 export_dynamic_flag_spec_GCJ
='${wl}-E'
17700 # hardcode_minus_L: Not really in the search PATH,
17701 # but as the default location of the library.
17702 hardcode_minus_L_GCJ
=yes
17708 irix5
* | irix6
* | nonstopux
*)
17709 if test "$GCC" = yes; then
17710 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'
17712 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'
17713 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17715 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17716 hardcode_libdir_separator_GCJ
=:
17717 link_all_deplibs_GCJ
=yes
17721 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17722 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17724 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17726 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17727 hardcode_direct_GCJ
=yes
17728 hardcode_shlibpath_var_GCJ
=no
17732 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17733 hardcode_direct_GCJ
=yes
17734 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17735 hardcode_libdir_separator_GCJ
=:
17736 hardcode_shlibpath_var_GCJ
=no
17740 hardcode_direct_GCJ
=yes
17741 hardcode_shlibpath_var_GCJ
=no
17742 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17743 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17744 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17745 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17746 export_dynamic_flag_spec_GCJ
='${wl}-E'
17749 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17750 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17751 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17754 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17755 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17762 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17763 hardcode_minus_L_GCJ
=yes
17764 allow_undefined_flag_GCJ
=unsupported
17765 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'
17766 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17770 if test "$GCC" = yes; then
17771 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17772 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'
17774 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17775 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'
17777 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17778 hardcode_libdir_separator_GCJ
=:
17781 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17782 if test "$GCC" = yes; then
17783 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17784 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'
17785 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17787 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17788 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'
17789 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~
17790 $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'
17792 # Both c and cxx compiler support -rpath directly
17793 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17795 hardcode_libdir_separator_GCJ
=:
17799 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17800 hardcode_shlibpath_var_GCJ
=no
17801 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17802 runpath_var
=LD_RUN_PATH
17803 hardcode_runpath_var
=yes
17807 no_undefined_flag_GCJ
=' -z text'
17808 if test "$GCC" = yes; then
17810 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17811 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17812 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17815 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17816 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17817 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17819 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17820 hardcode_shlibpath_var_GCJ
=no
17822 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17824 # The compiler driver will combine linker options so we
17825 # cannot just pass the convience library names through
17826 # without $wl, iff we do not link with $LD.
17827 # Luckily, gcc supports the same syntax we need for Sun Studio.
17828 # Supported since Solaris 2.6 (maybe 2.5.1?)
17831 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17833 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17836 link_all_deplibs_GCJ
=yes
17840 if test "x$host_vendor" = xsequent
; then
17841 # Use $CC to link under sequent, because it throws in some extra .o
17842 # files that make .init and .fini sections work.
17843 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17845 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17847 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17848 hardcode_direct_GCJ
=yes
17849 hardcode_minus_L_GCJ
=yes
17850 hardcode_shlibpath_var_GCJ
=no
17854 case $host_vendor in
17856 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17857 hardcode_direct_GCJ
=yes # is this really true???
17860 ## LD is ld it makes a PLAMLIB
17861 ## CC just makes a GrossModule.
17862 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17863 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17864 hardcode_direct_GCJ
=no
17867 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17868 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17871 runpath_var
='LD_RUN_PATH'
17872 hardcode_shlibpath_var_GCJ
=no
17876 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17877 hardcode_shlibpath_var_GCJ
=no
17878 export_dynamic_flag_spec_GCJ
='-Bexport'
17882 if test -d /usr
/nec
; then
17883 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17884 hardcode_shlibpath_var_GCJ
=no
17885 runpath_var
=LD_RUN_PATH
17886 hardcode_runpath_var
=yes
17892 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17893 hardcode_direct_GCJ
=yes
17894 hardcode_minus_L_GCJ
=no
17895 hardcode_shlibpath_var_GCJ
=no
17896 hardcode_runpath_var
=yes
17897 runpath_var
=LD_RUN_PATH
17900 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
17901 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
17902 if test "$GCC" = yes; then
17903 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17905 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17907 runpath_var
='LD_RUN_PATH'
17908 hardcode_shlibpath_var_GCJ
=no
17912 no_undefined_flag_GCJ
=' -z text'
17913 # $CC -shared without GNU ld will not create a library from C++
17914 # object files and a static libstdc++, better avoid it by now
17915 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17916 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17917 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17918 hardcode_libdir_flag_spec_GCJ
=
17919 hardcode_shlibpath_var_GCJ
=no
17920 runpath_var
='LD_RUN_PATH'
17924 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17925 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17926 hardcode_shlibpath_var_GCJ
=no
17935 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17936 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17937 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17939 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17940 if test "$GCC" = yes; then
17941 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17945 # Do we need to explicitly link libc?
17947 case "x$archive_cmds_need_lc_GCJ" in
17949 # Assume -lc should be added
17950 archive_cmds_need_lc_GCJ
=yes
17952 if test "$enable_shared" = yes && test "$GCC" = yes; then
17953 case $archive_cmds_GCJ in
17955 # FIXME: we may have to deal with multi-command sequences.
17958 # Test whether the compiler implicitly links with -lc since on some
17959 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17960 # to ld, don't add -lc before -lgcc.
17961 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17962 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17964 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17967 (eval $ac_compile) 2>&5
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); } 2>conftest.err
; then
17973 libobjs
=conftest.
$ac_objext
17975 wl
=$lt_prog_compiler_wl_GCJ
17981 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17982 allow_undefined_flag_GCJ
=
17983 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17984 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); }
17989 archive_cmds_need_lc_GCJ
=no
17991 archive_cmds_need_lc_GCJ
=yes
17993 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17995 cat conftest.err
1>&5
17998 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17999 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18006 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18007 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18008 library_names_spec
=
18009 libname_spec
='lib$name'
18013 postuninstall_cmds
=
18017 shlibpath_overrides_runpath
=unknown
18019 dynamic_linker
="$host_os ld.so"
18020 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18021 if test "$GCC" = yes; then
18022 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18023 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
18024 # if the path contains ";" then we assume it to be the separator
18025 # otherwise default to the standard path separator (i.e. ":") - it is
18026 # assumed that no part of a normal pathname contains ";" but that should
18027 # okay in the real world where ";" in dirpaths is itself problematic.
18028 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18030 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18033 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18035 need_lib_prefix
=unknown
18036 hardcode_into_libs
=no
18038 # when you set need_version to no, make sure it does not cause -set_version
18039 # flags to be left without arguments
18040 need_version
=unknown
18045 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18046 shlibpath_var
=LIBPATH
18048 # AIX 3 has no versioning support, so we append a major version to the name.
18049 soname_spec
='${libname}${release}${shared_ext}$major'
18056 hardcode_into_libs
=yes
18057 if test "$host_cpu" = ia64
; then
18058 # AIX 5 supports IA64
18059 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18060 shlibpath_var
=LD_LIBRARY_PATH
18062 # With GCC up to 2.95.x, collect2 would create an import file
18063 # for dependence libraries. The import file would start with
18064 # the line `#! .'. This would cause the generated library to
18065 # depend on `.', always an invalid library. This was fixed in
18066 # development snapshots of GCC prior to 3.0.
18068 aix4 | aix4.
[01] | aix4.
[01].
*)
18069 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18071 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18074 can_build_shared
=no
18078 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18079 # soname into executable. Probably we can add versioning support to
18080 # collect2, so additional links can be useful in future.
18081 if test "$aix_use_runtimelinking" = yes; then
18082 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18083 # instead of lib<name>.a to let people know that these are not
18084 # typical AIX shared libraries.
18085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18087 # We preserve .a as extension for shared libraries through AIX4.2
18088 # and later when we are not doing run time linking.
18089 library_names_spec
='${libname}${release}.a $libname.a'
18090 soname_spec
='${libname}${release}${shared_ext}$major'
18092 shlibpath_var
=LIBPATH
18097 library_names_spec
='$libname.ixlibrary $libname.a'
18098 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18099 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'
18103 library_names_spec
='${libname}${shared_ext}'
18104 dynamic_linker
="$host_os ld.so"
18105 shlibpath_var
=LIBRARY_PATH
18111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18112 soname_spec
='${libname}${release}${shared_ext}$major'
18113 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18114 shlibpath_var
=LD_LIBRARY_PATH
18115 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18116 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18117 # the default ld.so.conf also contains /usr/contrib/lib and
18118 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18119 # libtool to hard-code these into programs
18122 cygwin
* | mingw
* | pw32
*)
18123 version_type
=windows
18128 case $GCC,$host_os in
18129 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18130 library_names_spec
='$libname.dll.a'
18131 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18132 postinstall_cmds
='base_file=`basename \${file}`~
18133 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18134 dldir=$destdir/`dirname \$dlpath`~
18135 test -d \$dldir || mkdir -p \$dldir~
18136 $install_prog $dir/$dlname \$dldir/$dlname~
18137 chmod a+x \$dldir/$dlname'
18138 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18139 dlpath=$dir/\$dldll~
18141 shlibpath_overrides_runpath
=yes
18145 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18146 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18147 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18150 # MinGW DLLs use traditional 'lib' prefix
18151 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18152 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18153 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18154 # It is most probably a Windows format PATH printed by
18155 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18156 # path with ; separators, and with drive letters. We can handle the
18157 # drive letters (cygwin fileutils understands them), so leave them,
18158 # especially as we might pass files found there to a mingw objdump,
18159 # which wouldn't understand a cygwinified path. Ahh.
18160 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18162 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18166 # pw32 DLLs use 'pw' prefix rather than 'lib'
18167 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18173 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18176 dynamic_linker
='Win32 ld.exe'
18177 # FIXME: first we should search . and the directory the executable is in
18181 darwin
* | rhapsody
*)
18182 dynamic_linker
="$host_os dyld"
18183 version_type
=darwin
18186 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18187 soname_spec
='${libname}${release}${major}$shared_ext'
18188 shlibpath_overrides_runpath
=yes
18189 shlibpath_var
=DYLD_LIBRARY_PATH
18190 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18191 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18192 if test "$GCC" = yes; then
18193 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18195 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18197 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18205 soname_spec
='${libname}${release}${shared_ext}$major'
18206 shlibpath_var
=LD_LIBRARY_PATH
18217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18218 soname_spec
='${libname}${release}${shared_ext}$major'
18219 shlibpath_var
=LD_LIBRARY_PATH
18220 shlibpath_overrides_runpath
=no
18221 hardcode_into_libs
=yes
18222 dynamic_linker
='GNU ld.so'
18225 freebsd
* | dragonfly
*)
18226 # DragonFly does not have aout. When/if they implement a new
18227 # versioning mechanism, adjust this.
18228 if test -x /usr
/bin
/objformat
; then
18229 objformat
=`/usr/bin/objformat`
18232 freebsd
[123]*) objformat
=aout
;;
18233 *) objformat
=elf
;;
18236 version_type
=freebsd-
$objformat
18237 case $version_type in
18239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18244 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18248 shlibpath_var
=LD_LIBRARY_PATH
18251 shlibpath_overrides_runpath
=yes
18253 freebsd3.
[01]* | freebsdelf3.
[01]*)
18254 shlibpath_overrides_runpath
=yes
18255 hardcode_into_libs
=yes
18258 shlibpath_overrides_runpath
=no
18259 hardcode_into_libs
=yes
18268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18269 soname_spec
='${libname}${release}${shared_ext}$major'
18270 shlibpath_var
=LD_LIBRARY_PATH
18271 hardcode_into_libs
=yes
18274 hpux9
* | hpux10
* | hpux11
*)
18275 # Give a soname corresponding to the major version so that dld.sl refuses to
18276 # link against other versions.
18283 hardcode_into_libs
=yes
18284 dynamic_linker
="$host_os dld.so"
18285 shlibpath_var
=LD_LIBRARY_PATH
18286 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18288 soname_spec
='${libname}${release}${shared_ext}$major'
18289 if test "X$HPUX_IA64_MODE" = X32
; then
18290 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18292 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18294 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18298 hardcode_into_libs
=yes
18299 dynamic_linker
="$host_os dld.sl"
18300 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18301 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18303 soname_spec
='${libname}${release}${shared_ext}$major'
18304 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18305 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18309 dynamic_linker
="$host_os dld.sl"
18310 shlibpath_var
=SHLIB_PATH
18311 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18313 soname_spec
='${libname}${release}${shared_ext}$major'
18316 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18317 postinstall_cmds
='chmod 555 $lib'
18320 irix5
* | irix6
* | nonstopux
*)
18322 nonstopux
*) version_type
=nonstopux
;;
18324 if test "$lt_cv_prog_gnu_ld" = yes; then
18332 soname_spec
='${libname}${release}${shared_ext}$major'
18333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18335 irix5
* | nonstopux
*)
18336 libsuff
= shlibsuff
=
18339 case $LD in # libtool.m4 will add one of these switches to LD
18340 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18341 libsuff
= shlibsuff
= libmagic
=32-bit;;
18342 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18343 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18344 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18345 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18346 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18350 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18351 shlibpath_overrides_runpath
=no
18352 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18353 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18354 hardcode_into_libs
=yes
18357 # No shared lib support for Linux oldld, aout, or coff.
18358 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18362 # This must be Linux ELF.
18367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18368 soname_spec
='${libname}${release}${shared_ext}$major'
18369 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18370 shlibpath_var
=LD_LIBRARY_PATH
18371 shlibpath_overrides_runpath
=no
18372 # This implies no fast_install, which is unacceptable.
18373 # Some rework will be needed to allow for fast_install
18374 # before this can be enabled.
18375 hardcode_into_libs
=yes
18377 # Append ld.so.conf contents to the search path
18378 if test -f /etc
/ld.so.conf
; then
18379 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18380 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18383 # We used to test for /lib/ld.so.1 and disable shared libraries on
18384 # powerpc, because MkLinux only supported shared libraries with the
18385 # GNU dynamic linker. Since this was broken with cross compilers,
18386 # most powerpc-linux boxes support dynamic linking these days and
18387 # people can always --disable-shared, the test was removed, and we
18388 # assume the GNU/Linux dynamic linker is in use.
18389 dynamic_linker
='GNU/Linux ld.so'
18396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18397 soname_spec
='${libname}${release}${shared_ext}$major'
18398 shlibpath_var
=LD_LIBRARY_PATH
18399 shlibpath_overrides_runpath
=no
18400 hardcode_into_libs
=yes
18401 dynamic_linker
='GNU ld.so'
18408 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18410 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18411 dynamic_linker
='NetBSD (a.out) ld.so'
18413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18414 soname_spec
='${libname}${release}${shared_ext}$major'
18415 dynamic_linker
='NetBSD ld.elf_so'
18417 shlibpath_var
=LD_LIBRARY_PATH
18418 shlibpath_overrides_runpath
=yes
18419 hardcode_into_libs
=yes
18424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18425 shlibpath_var
=LD_LIBRARY_PATH
18426 shlibpath_overrides_runpath
=yes
18433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18434 soname_spec
='${libname}${release}${shared_ext}$major'
18435 shlibpath_var
=LD_LIBRARY_PATH
18436 shlibpath_overrides_runpath
=yes
18442 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18444 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18445 *) need_version
=no
;;
18447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18448 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18449 shlibpath_var
=LD_LIBRARY_PATH
18450 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18452 openbsd2.
[89] | openbsd2.
[89].
*)
18453 shlibpath_overrides_runpath
=no
18456 shlibpath_overrides_runpath
=yes
18460 shlibpath_overrides_runpath
=yes
18465 libname_spec
='$name'
18468 library_names_spec
='$libname${shared_ext} $libname.a'
18469 dynamic_linker
='OS/2 ld.exe'
18470 shlibpath_var
=LIBPATH
18473 osf3
* | osf4
* | osf5
*)
18477 soname_spec
='${libname}${release}${shared_ext}$major'
18478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18479 shlibpath_var
=LD_LIBRARY_PATH
18480 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18481 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18486 soname_spec
='${libname}${release}${shared_ext}$major'
18487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18488 shlibpath_var
=LD_LIBRARY_PATH
18495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18496 soname_spec
='${libname}${release}${shared_ext}$major'
18497 shlibpath_var
=LD_LIBRARY_PATH
18498 shlibpath_overrides_runpath
=yes
18499 hardcode_into_libs
=yes
18500 # ldd complains unless libraries are executable
18501 postinstall_cmds
='chmod +x $lib'
18506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18507 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18508 shlibpath_var
=LD_LIBRARY_PATH
18509 shlibpath_overrides_runpath
=yes
18510 if test "$with_gnu_ld" = yes; then
18516 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18519 soname_spec
='${libname}${release}${shared_ext}$major'
18520 shlibpath_var
=LD_LIBRARY_PATH
18521 case $host_vendor in
18523 shlibpath_overrides_runpath
=no
18525 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18526 runpath_var
=LD_RUN_PATH
18534 shlibpath_overrides_runpath
=no
18535 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18541 if test -d /usr
/nec
;then
18543 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18544 soname_spec
='$libname${shared_ext}.$major'
18545 shlibpath_var
=LD_LIBRARY_PATH
18551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18552 soname_spec
='${libname}${release}${shared_ext}$major'
18553 shlibpath_var
=LD_LIBRARY_PATH
18560 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18561 echo "${ECHO_T}$dynamic_linker" >&6; }
18562 test "$dynamic_linker" = no
&& can_build_shared
=no
18564 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18565 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18566 hardcode_action_GCJ
=
18567 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18568 test -n "$runpath_var_GCJ" || \
18569 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18571 # We can hardcode non-existant directories.
18572 if test "$hardcode_direct_GCJ" != no
&&
18573 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18574 # have to relink, otherwise we might link with an installed library
18575 # when we should be linking with a yet-to-be-installed one
18576 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18577 test "$hardcode_minus_L_GCJ" != no
; then
18578 # Linking always hardcodes the temporary library directory.
18579 hardcode_action_GCJ
=relink
18581 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18582 hardcode_action_GCJ
=immediate
18585 # We cannot hardcode anything, or else we can only hardcode existing
18587 hardcode_action_GCJ
=unsupported
18589 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18590 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18592 if test "$hardcode_action_GCJ" = relink
; then
18593 # Fast installation is not supported
18594 enable_fast_install
=no
18595 elif test "$shlibpath_overrides_runpath" = yes ||
18596 test "$enable_shared" = no
; then
18597 # Fast installation is not necessary
18598 enable_fast_install
=needless
18603 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18604 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
18605 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
18606 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
18607 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
18608 { echo "$as_me:$LINENO: result: yes" >&5
18609 echo "${ECHO_T}yes" >&6; }
18611 # FIXME - insert some real tests, host_os isn't really good enough
18614 if test -n "$STRIP" ; then
18615 striplib
="$STRIP -x"
18616 { echo "$as_me:$LINENO: result: yes" >&5
18617 echo "${ECHO_T}yes" >&6; }
18619 { echo "$as_me:$LINENO: result: no" >&5
18620 echo "${ECHO_T}no" >&6; }
18624 { echo "$as_me:$LINENO: result: no" >&5
18625 echo "${ECHO_T}no" >&6; }
18630 if test "x$enable_dlopen" != xyes
; then
18631 enable_dlopen
=unknown
18632 enable_dlopen_self
=unknown
18633 enable_dlopen_self_static
=unknown
18640 lt_cv_dlopen
="load_add_on"
18642 lt_cv_dlopen_self
=yes
18646 lt_cv_dlopen
="LoadLibrary"
18651 lt_cv_dlopen
="dlopen"
18656 # if libdl is installed we need to link against it
18657 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18658 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18659 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18660 echo $ECHO_N "(cached) $ECHO_C" >&6
18662 ac_check_lib_save_LIBS
=$LIBS
18664 cat >conftest.
$ac_ext <<_ACEOF
18667 cat confdefs.h
>>conftest.
$ac_ext
18668 cat >>conftest.
$ac_ext <<_ACEOF
18669 /* end confdefs.h. */
18671 /* Override any GCC internal prototype to avoid an error.
18672 Use char because int might match the return type of a GCC
18673 builtin and then its argument prototype would still apply. */
18686 rm -f conftest.
$ac_objext conftest
$ac_exeext
18687 if { (ac_try
="$ac_link"
18688 case "(($ac_try" in
18689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18690 *) ac_try_echo=$ac_try;;
18692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18693 (eval "$ac_link") 2>conftest.er1
18695 grep -v '^ *+' conftest.er1 >conftest.err
18697 cat conftest.err >&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); } && {
18700 test -z "$ac_c_werror_flag" ||
18701 test ! -s conftest.err
18702 } && test -s conftest$ac_exeext &&
18703 $as_test_x conftest$ac_exeext; then
18704 ac_cv_lib_dl_dlopen=yes
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.$ac_ext >&5
18709 ac_cv_lib_dl_dlopen=no
18712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18713 conftest$ac_exeext conftest.$ac_ext
18714 LIBS=$ac_check_lib_save_LIBS
18716 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18717 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18718 if test $ac_cv_lib_dl_dlopen = yes; then
18719 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18722 lt_cv_dlopen="dyld"
18724 lt_cv_dlopen_self=yes
18731 { echo "$as_me:$LINENO: checking for shl_load" >&5
18732 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
18733 if test "${ac_cv_func_shl_load+set}" = set; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18736 cat >conftest.$ac_ext <<_ACEOF
18739 cat confdefs.h >>conftest.$ac_ext
18740 cat >>conftest.$ac_ext <<_ACEOF
18741 /* end confdefs.h. */
18742 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18744 #define shl_load innocuous_shl_load
18746 /* System header to define __stub macros and hopefully few prototypes,
18747 which can conflict with char shl_load (); below.
18748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18749 <limits.h> exists even on freestanding compilers. */
18752 # include <limits.h>
18754 # include <assert.h>
18759 /* Override any GCC internal prototype to avoid an error.
18760 Use char because int might match the return type of a GCC
18761 builtin and then its argument prototype would still apply. */
18766 /* The GNU C library defines this for functions which it implements
18767 to always fail with ENOSYS. Some functions are actually named
18768 something starting with __ and the normal name is an alias. */
18769 #if defined __stub_shl_load || defined __stub___shl_load
18776 return shl_load ();
18781 rm -f conftest.$ac_objext conftest$ac_exeext
18782 if { (ac_try="$ac_link"
18783 case "(($ac_try" in
18784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18785 *) ac_try_echo
=$ac_try;;
18787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18788 (eval "$ac_link") 2>conftest.er1
18790 grep -v '^ *+' conftest.er1
>conftest.err
18792 cat conftest.err
>&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); } && {
18795 test -z "$ac_c_werror_flag" ||
18796 test ! -s conftest.err
18797 } && test -s conftest
$ac_exeext &&
18798 $as_test_x conftest
$ac_exeext; then
18799 ac_cv_func_shl_load
=yes
18801 echo "$as_me: failed program was:" >&5
18802 sed 's/^/| /' conftest.
$ac_ext >&5
18804 ac_cv_func_shl_load
=no
18807 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18808 conftest
$ac_exeext conftest.
$ac_ext
18810 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18811 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
18812 if test $ac_cv_func_shl_load = yes; then
18813 lt_cv_dlopen
="shl_load"
18815 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18816 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
18817 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18818 echo $ECHO_N "(cached) $ECHO_C" >&6
18820 ac_check_lib_save_LIBS
=$LIBS
18822 cat >conftest.
$ac_ext <<_ACEOF
18825 cat confdefs.h
>>conftest.
$ac_ext
18826 cat >>conftest.
$ac_ext <<_ACEOF
18827 /* end confdefs.h. */
18829 /* Override any GCC internal prototype to avoid an error.
18830 Use char because int might match the return type of a GCC
18831 builtin and then its argument prototype would still apply. */
18839 return shl_load ();
18844 rm -f conftest.
$ac_objext conftest
$ac_exeext
18845 if { (ac_try
="$ac_link"
18846 case "(($ac_try" in
18847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18848 *) ac_try_echo=$ac_try;;
18850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18851 (eval "$ac_link") 2>conftest.er1
18853 grep -v '^ *+' conftest.er1 >conftest.err
18855 cat conftest.err >&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } && {
18858 test -z "$ac_c_werror_flag" ||
18859 test ! -s conftest.err
18860 } && test -s conftest$ac_exeext &&
18861 $as_test_x conftest$ac_exeext; then
18862 ac_cv_lib_dld_shl_load=yes
18864 echo "$as_me: failed program was:" >&5
18865 sed 's/^/| /' conftest.$ac_ext >&5
18867 ac_cv_lib_dld_shl_load=no
18870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18871 conftest$ac_exeext conftest.$ac_ext
18872 LIBS=$ac_check_lib_save_LIBS
18874 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18875 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
18876 if test $ac_cv_lib_dld_shl_load = yes; then
18877 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18879 { echo "$as_me:$LINENO: checking for dlopen" >&5
18880 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
18881 if test "${ac_cv_func_dlopen+set}" = set; then
18882 echo $ECHO_N "(cached) $ECHO_C" >&6
18884 cat >conftest.$ac_ext <<_ACEOF
18887 cat confdefs.h >>conftest.$ac_ext
18888 cat >>conftest.$ac_ext <<_ACEOF
18889 /* end confdefs.h. */
18890 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18892 #define dlopen innocuous_dlopen
18894 /* System header to define __stub macros and hopefully few prototypes,
18895 which can conflict with char dlopen (); below.
18896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18897 <limits.h> exists even on freestanding compilers. */
18900 # include <limits.h>
18902 # include <assert.h>
18907 /* Override any GCC internal prototype to avoid an error.
18908 Use char because int might match the return type of a GCC
18909 builtin and then its argument prototype would still apply. */
18914 /* The GNU C library defines this for functions which it implements
18915 to always fail with ENOSYS. Some functions are actually named
18916 something starting with __ and the normal name is an alias. */
18917 #if defined __stub_dlopen || defined __stub___dlopen
18929 rm -f conftest.$ac_objext conftest$ac_exeext
18930 if { (ac_try="$ac_link"
18931 case "(($ac_try" in
18932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18933 *) ac_try_echo
=$ac_try;;
18935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18936 (eval "$ac_link") 2>conftest.er1
18938 grep -v '^ *+' conftest.er1
>conftest.err
18940 cat conftest.err
>&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); } && {
18943 test -z "$ac_c_werror_flag" ||
18944 test ! -s conftest.err
18945 } && test -s conftest
$ac_exeext &&
18946 $as_test_x conftest
$ac_exeext; then
18947 ac_cv_func_dlopen
=yes
18949 echo "$as_me: failed program was:" >&5
18950 sed 's/^/| /' conftest.
$ac_ext >&5
18952 ac_cv_func_dlopen
=no
18955 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18956 conftest
$ac_exeext conftest.
$ac_ext
18958 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18959 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
18960 if test $ac_cv_func_dlopen = yes; then
18961 lt_cv_dlopen
="dlopen"
18963 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18964 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18965 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18966 echo $ECHO_N "(cached) $ECHO_C" >&6
18968 ac_check_lib_save_LIBS
=$LIBS
18970 cat >conftest.
$ac_ext <<_ACEOF
18973 cat confdefs.h
>>conftest.
$ac_ext
18974 cat >>conftest.
$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18977 /* Override any GCC internal prototype to avoid an error.
18978 Use char because int might match the return type of a GCC
18979 builtin and then its argument prototype would still apply. */
18992 rm -f conftest.
$ac_objext conftest
$ac_exeext
18993 if { (ac_try
="$ac_link"
18994 case "(($ac_try" in
18995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18996 *) ac_try_echo=$ac_try;;
18998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18999 (eval "$ac_link") 2>conftest.er1
19001 grep -v '^ *+' conftest.er1 >conftest.err
19003 cat conftest.err >&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); } && {
19006 test -z "$ac_c_werror_flag" ||
19007 test ! -s conftest.err
19008 } && test -s conftest$ac_exeext &&
19009 $as_test_x conftest$ac_exeext; then
19010 ac_cv_lib_dl_dlopen=yes
19012 echo "$as_me: failed program was:" >&5
19013 sed 's/^/| /' conftest.$ac_ext >&5
19015 ac_cv_lib_dl_dlopen=no
19018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19019 conftest$ac_exeext conftest.$ac_ext
19020 LIBS=$ac_check_lib_save_LIBS
19022 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19023 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
19024 if test $ac_cv_lib_dl_dlopen = yes; then
19025 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19027 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19028 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
19029 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19030 echo $ECHO_N "(cached) $ECHO_C" >&6
19032 ac_check_lib_save_LIBS=$LIBS
19033 LIBS="-lsvld $LIBS"
19034 cat >conftest.$ac_ext <<_ACEOF
19037 cat confdefs.h >>conftest.$ac_ext
19038 cat >>conftest.$ac_ext <<_ACEOF
19039 /* end confdefs.h. */
19041 /* Override any GCC internal prototype to avoid an error.
19042 Use char because int might match the return type of a GCC
19043 builtin and then its argument prototype would still apply. */
19056 rm -f conftest.$ac_objext conftest$ac_exeext
19057 if { (ac_try="$ac_link"
19058 case "(($ac_try" in
19059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19060 *) ac_try_echo
=$ac_try;;
19062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19063 (eval "$ac_link") 2>conftest.er1
19065 grep -v '^ *+' conftest.er1
>conftest.err
19067 cat conftest.err
>&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_c_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest
$ac_exeext &&
19073 $as_test_x conftest
$ac_exeext; then
19074 ac_cv_lib_svld_dlopen
=yes
19076 echo "$as_me: failed program was:" >&5
19077 sed 's/^/| /' conftest.
$ac_ext >&5
19079 ac_cv_lib_svld_dlopen
=no
19082 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19083 conftest
$ac_exeext conftest.
$ac_ext
19084 LIBS
=$ac_check_lib_save_LIBS
19086 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19087 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
19088 if test $ac_cv_lib_svld_dlopen = yes; then
19089 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
19091 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19092 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
19093 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19094 echo $ECHO_N "(cached) $ECHO_C" >&6
19096 ac_check_lib_save_LIBS
=$LIBS
19098 cat >conftest.
$ac_ext <<_ACEOF
19101 cat confdefs.h
>>conftest.
$ac_ext
19102 cat >>conftest.
$ac_ext <<_ACEOF
19103 /* end confdefs.h. */
19105 /* Override any GCC internal prototype to avoid an error.
19106 Use char because int might match the return type of a GCC
19107 builtin and then its argument prototype would still apply. */
19115 return dld_link ();
19120 rm -f conftest.
$ac_objext conftest
$ac_exeext
19121 if { (ac_try
="$ac_link"
19122 case "(($ac_try" in
19123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19124 *) ac_try_echo=$ac_try;;
19126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19127 (eval "$ac_link") 2>conftest.er1
19129 grep -v '^ *+' conftest.er1 >conftest.err
19131 cat conftest.err >&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); } && {
19134 test -z "$ac_c_werror_flag" ||
19135 test ! -s conftest.err
19136 } && test -s conftest$ac_exeext &&
19137 $as_test_x conftest$ac_exeext; then
19138 ac_cv_lib_dld_dld_link=yes
19140 echo "$as_me: failed program was:" >&5
19141 sed 's/^/| /' conftest.$ac_ext >&5
19143 ac_cv_lib_dld_dld_link=no
19146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19147 conftest$ac_exeext conftest.$ac_ext
19148 LIBS=$ac_check_lib_save_LIBS
19150 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19151 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
19152 if test $ac_cv_lib_dld_dld_link = yes; then
19153 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
19174 if test "x$lt_cv_dlopen" != xno; then
19180 case $lt_cv_dlopen in
19182 save_CPPFLAGS="$CPPFLAGS"
19183 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
19185 save_LDFLAGS="$LDFLAGS"
19186 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
19189 LIBS="$lt_cv_dlopen_libs $LIBS"
19191 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19192 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
19193 if test "${lt_cv_dlopen_self+set}" = set; then
19194 echo $ECHO_N "(cached) $ECHO_C" >&6
19196 if test "$cross_compiling" = yes; then :
19197 lt_cv_dlopen_self=cross
19199 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19200 lt_status=$lt_dlunknown
19201 cat > conftest.$ac_ext <<EOF
19202 #line 19202 "configure"
19203 #include "confdefs.h"
19212 # define LT_DLGLOBAL RTLD_GLOBAL
19215 # define LT_DLGLOBAL DL_GLOBAL
19217 # define LT_DLGLOBAL 0
19221 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19222 find out it does not work in some platform. */
19223 #ifndef LT_DLLAZY_OR_NOW
19225 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19228 # define LT_DLLAZY_OR_NOW DL_LAZY
19231 # define LT_DLLAZY_OR_NOW RTLD_NOW
19234 # define LT_DLLAZY_OR_NOW DL_NOW
19236 # define LT_DLLAZY_OR_NOW 0
19244 extern "C" void exit (int);
19247 void fnord() { int i=42;}
19250 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19251 int status = $lt_dlunknown;
19255 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19256 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19257 /* dlclose (self); */
19263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19264 (eval $ac_link) 2>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19268 (./conftest; exit; ) >&5 2>/dev/null
19270 case x$lt_status in
19271 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
19272 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
19273 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
19276 # compilation failed
19277 lt_cv_dlopen_self=no
19284 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19285 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
19287 if test "x$lt_cv_dlopen_self" = xyes; then
19288 LDFLAGS="$LDFLAGS $link_static_flag"
19289 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19290 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
19291 if test "${lt_cv_dlopen_self_static+set}" = set; then
19292 echo $ECHO_N "(cached) $ECHO_C" >&6
19294 if test "$cross_compiling" = yes; then :
19295 lt_cv_dlopen_self_static=cross
19297 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19298 lt_status=$lt_dlunknown
19299 cat > conftest.$ac_ext <<EOF
19300 #line 19300 "configure"
19301 #include "confdefs.h"
19310 # define LT_DLGLOBAL RTLD_GLOBAL
19313 # define LT_DLGLOBAL DL_GLOBAL
19315 # define LT_DLGLOBAL 0
19319 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19320 find out it does not work in some platform. */
19321 #ifndef LT_DLLAZY_OR_NOW
19323 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19326 # define LT_DLLAZY_OR_NOW DL_LAZY
19329 # define LT_DLLAZY_OR_NOW RTLD_NOW
19332 # define LT_DLLAZY_OR_NOW DL_NOW
19334 # define LT_DLLAZY_OR_NOW 0
19342 extern "C" void exit (int);
19345 void fnord() { int i=42;}
19348 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19349 int status = $lt_dlunknown;
19353 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19354 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19355 /* dlclose (self); */
19361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19362 (eval $ac_link) 2>&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
19366 (./conftest; exit; ) >&5 2>/dev/null
19368 case x$lt_status in
19369 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
19370 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
19371 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
19374 # compilation failed
19375 lt_cv_dlopen_self_static=no
19382 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19383 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
19386 CPPFLAGS="$save_CPPFLAGS"
19387 LDFLAGS="$save_LDFLAGS"
19392 case $lt_cv_dlopen_self in
19393 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
19394 *) enable_dlopen_self=unknown ;;
19397 case $lt_cv_dlopen_self_static in
19398 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
19399 *) enable_dlopen_self_static=unknown ;;
19404 # The else clause should only fire when bootstrapping the
19405 # libtool distribution, otherwise you forgot to ship ltmain.sh
19406 # with your package, and you will get complaints that there are
19407 # no rules to generate ltmain.sh.
19408 if test -f "$ltmain"; then
19409 # See if we are running on zsh, and set the options which allow our commands through
19410 # without removal of \ escapes.
19411 if test -n "${ZSH_VERSION+set}" ; then
19412 setopt NO_GLOB_SUBST
19414 # Now quote all the things that may contain metacharacters while being
19415 # careful not to overquote the AC_SUBSTed values. We take copies of the
19416 # variables and quote the copies for generation of the libtool script.
19417 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19419 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19420 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19421 deplibs_check_method reload_flag reload_cmds need_locks \
19422 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19423 lt_cv_sys_global_symbol_to_c_name_address \
19424 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19425 old_postinstall_cmds old_postuninstall_cmds \
19429 lt_prog_compiler_wl_GCJ \
19430 lt_prog_compiler_pic_GCJ \
19431 lt_prog_compiler_static_GCJ \
19432 lt_prog_compiler_no_builtin_flag_GCJ \
19433 export_dynamic_flag_spec_GCJ \
19434 thread_safe_flag_spec_GCJ \
19435 whole_archive_flag_spec_GCJ \
19436 enable_shared_with_static_runtimes_GCJ \
19437 old_archive_cmds_GCJ \
19438 old_archive_from_new_cmds_GCJ \
19439 predep_objects_GCJ \
19440 postdep_objects_GCJ \
19443 compiler_lib_search_path_GCJ \
19445 archive_expsym_cmds_GCJ \
19446 postinstall_cmds_GCJ \
19447 postuninstall_cmds_GCJ \
19448 old_archive_from_expsyms_cmds_GCJ \
19449 allow_undefined_flag_GCJ \
19450 no_undefined_flag_GCJ \
19451 export_symbols_cmds_GCJ \
19452 hardcode_libdir_flag_spec_GCJ \
19453 hardcode_libdir_flag_spec_ld_GCJ \
19454 hardcode_libdir_separator_GCJ \
19455 hardcode_automatic_GCJ \
19457 module_expsym_cmds_GCJ \
19458 lt_cv_prog_compiler_c_o_GCJ \
19459 exclude_expsyms_GCJ \
19460 include_expsyms_GCJ; do
19463 old_archive_cmds_GCJ | \
19464 old_archive_from_new_cmds_GCJ | \
19465 archive_cmds_GCJ | \
19466 archive_expsym_cmds_GCJ | \
19467 module_cmds_GCJ | \
19468 module_expsym_cmds_GCJ | \
19469 old_archive_from_expsyms_cmds_GCJ | \
19470 export_symbols_cmds_GCJ | \
19471 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19472 postinstall_cmds | postuninstall_cmds | \
19473 old_postinstall_cmds | old_postuninstall_cmds | \
19474 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19475 # Double-quote double-evaled strings.
19476 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
19479 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
19485 *'\$0 --fallback-echo"')
19486 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19492 cat <<__EOF__ >> "$cfgfile"
19493 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19495 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
19497 # Shell to use when invoking shell scripts.
19500 # Whether or not to build shared libraries.
19501 build_libtool_libs=$enable_shared
19503 # Whether or not to build static libraries.
19504 build_old_libs=$enable_static
19506 # Whether or not to add -lc for building shared libraries.
19507 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19509 # Whether or not to disallow shared libs when runtime libs are static
19510 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19512 # Whether or not to optimize for fast installation.
19513 fast_install=$enable_fast_install
19516 host_alias=$host_alias
19520 # The build system.
19521 build_alias=$build_alias
19525 # An echo program that does not interpret backslashes.
19530 AR_FLAGS=$lt_AR_FLAGS
19535 # A language-specific compiler.
19536 CC=$lt_compiler_GCJ
19538 # Is the compiler the GNU C compiler?
19544 # The linker used to build libraries.
19547 # Whether we need hard or soft links.
19550 # A BSD-compatible nm program.
19553 # A symbol stripping program
19556 # Used to examine libraries when file_magic_cmd begins "file"
19557 MAGIC_CMD=$MAGIC_CMD
19559 # Used on cygwin: DLL creation program.
19562 # Used on cygwin: object dumper.
19565 # Used on cygwin: assembler.
19568 # The name of the directory that contains temporary libtool files.
19571 # How to create reloadable object files.
19572 reload_flag=$lt_reload_flag
19573 reload_cmds=$lt_reload_cmds
19575 # How to pass a linker flag through the compiler.
19576 wl=$lt_lt_prog_compiler_wl_GCJ
19578 # Object file suffix (normally "o").
19579 objext="$ac_objext"
19581 # Old archive suffix (normally "a").
19584 # Shared library suffix (normally ".so").
19585 shrext_cmds='$shrext_cmds'
19587 # Executable file suffix (normally "").
19590 # Additional compiler flags for building library objects.
19591 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19594 # What is the maximum length of a command?
19595 max_cmd_len=$lt_cv_sys_max_cmd_len
19597 # Does compiler simultaneously support -c and -o options?
19598 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19600 # Must we lock files when doing compilation?
19601 need_locks=$lt_need_locks
19603 # Do we need the lib prefix for modules?
19604 need_lib_prefix=$need_lib_prefix
19606 # Do we need a version for libraries?
19607 need_version=$need_version
19609 # Whether dlopen is supported.
19610 dlopen_support=$enable_dlopen
19612 # Whether dlopen of programs is supported.
19613 dlopen_self=$enable_dlopen_self
19615 # Whether dlopen of statically linked programs is supported.
19616 dlopen_self_static=$enable_dlopen_self_static
19618 # Compiler flag to prevent dynamic linking.
19619 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19621 # Compiler flag to turn off builtin functions.
19622 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19624 # Compiler flag to allow reflexive dlopens.
19625 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19627 # Compiler flag to generate shared objects directly from archives.
19628 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19630 # Compiler flag to generate thread-safe objects.
19631 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19633 # Library versioning type.
19634 version_type=$version_type
19636 # Format of library name prefix.
19637 libname_spec=$lt_libname_spec
19639 # List of archive names. First name is the real one, the rest are links.
19640 # The last name is the one that the linker finds with -lNAME.
19641 library_names_spec=$lt_library_names_spec
19643 # The coded name of the library, if different from the real name.
19644 soname_spec=$lt_soname_spec
19646 # Commands used to build and install an old-style archive.
19648 old_archive_cmds=$lt_old_archive_cmds_GCJ
19649 old_postinstall_cmds=$lt_old_postinstall_cmds
19650 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19652 # Create an old-style archive from a shared archive.
19653 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19655 # Create a temporary old-style archive to link instead of a shared archive.
19656 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19658 # Commands used to build and install a shared archive.
19659 archive_cmds=$lt_archive_cmds_GCJ
19660 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19661 postinstall_cmds=$lt_postinstall_cmds
19662 postuninstall_cmds=$lt_postuninstall_cmds
19664 # Commands used to build a loadable module (assumed same as above if empty)
19665 module_cmds=$lt_module_cmds_GCJ
19666 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19668 # Commands to strip libraries.
19669 old_striplib=$lt_old_striplib
19670 striplib=$lt_striplib
19672 # Dependencies to place before the objects being linked to create a
19674 predep_objects=$lt_predep_objects_GCJ
19676 # Dependencies to place after the objects being linked to create a
19678 postdep_objects=$lt_postdep_objects_GCJ
19680 # Dependencies to place before the objects being linked to create a
19682 predeps=$lt_predeps_GCJ
19684 # Dependencies to place after the objects being linked to create a
19686 postdeps=$lt_postdeps_GCJ
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_GCJ
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_GCJ
19701 # Flag that forces no undefined symbols.
19702 no_undefined_flag=$lt_no_undefined_flag_GCJ
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_GCJ
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_GCJ
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_GCJ
19743 # Whether we need a single -rpath flag with a separated argument.
19744 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19746 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19747 # resulting binary.
19748 hardcode_direct=$hardcode_direct_GCJ
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_GCJ
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_GCJ
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_GCJ
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_GCJ
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="$fix_srcfile_path_GCJ"
19778 # Set to yes if exported symbols are required.
19779 always_export_symbols=$always_export_symbols_GCJ
19781 # The commands to list exported symbols.
19782 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
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_GCJ
19790 # Symbols that must always be exported.
19791 include_expsyms=$lt_include_expsyms_GCJ
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
19825 # Source file extension for RC test sources.
19828 # Object file extension for compiled RC test sources.
19832 # Code to be used in simple compile tests
19833 lt_simple_compile_test_code='sample MENU
{ MENUITEM
"&Soup", 100, CHECKED
}\n'
19835 # Code to be used in simple link tests
19836 lt_simple_link_test_code="$lt_simple_compile_test_code"
19838 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19840 # If no C compiler was specified, use CC.
19843 # Allow CC to be a program name with arguments.
19847 # save warnings/boilerplate of simple test code
19848 ac_outfile=conftest.$ac_objext
19849 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19850 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
' >conftest.err
19851 _lt_compiler_boilerplate=`cat conftest.err`
19854 ac_outfile=conftest.$ac_objext
19855 printf "$lt_simple_link_test_code" >conftest.$ac_ext
19856 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
' >conftest.err
19857 _lt_linker_boilerplate=`cat conftest.err`
19861 # Allow CC to be a program name with arguments.
19866 for cc_temp in $compiler""; do
19868 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19869 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19874 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
19876 lt_cv_prog_compiler_c_o_RC=yes
19878 # The else clause should only fire when bootstrapping the
19879 # libtool distribution, otherwise you forgot to ship ltmain.sh
19880 # with your package, and you will get complaints that there are
19881 # no rules to generate ltmain.sh.
19882 if test -f "$ltmain"; then
19883 # See if we are running on zsh, and set the options which allow our commands through
19884 # without removal of \ escapes.
19885 if test -n "${ZSH_VERSION+set}" ; then
19886 setopt NO_GLOB_SUBST
19888 # Now quote all the things that may contain metacharacters while being
19889 # careful not to overquote the AC_SUBSTed values. We take copies of the
19890 # variables and quote the copies for generation of the libtool script.
19891 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19893 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19894 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19895 deplibs_check_method reload_flag reload_cmds need_locks \
19896 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19897 lt_cv_sys_global_symbol_to_c_name_address \
19898 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19899 old_postinstall_cmds old_postuninstall_cmds \
19903 lt_prog_compiler_wl_RC \
19904 lt_prog_compiler_pic_RC \
19905 lt_prog_compiler_static_RC \
19906 lt_prog_compiler_no_builtin_flag_RC \
19907 export_dynamic_flag_spec_RC \
19908 thread_safe_flag_spec_RC \
19909 whole_archive_flag_spec_RC \
19910 enable_shared_with_static_runtimes_RC \
19911 old_archive_cmds_RC \
19912 old_archive_from_new_cmds_RC \
19913 predep_objects_RC \
19914 postdep_objects_RC \
19917 compiler_lib_search_path_RC \
19919 archive_expsym_cmds_RC \
19920 postinstall_cmds_RC \
19921 postuninstall_cmds_RC \
19922 old_archive_from_expsyms_cmds_RC \
19923 allow_undefined_flag_RC \
19924 no_undefined_flag_RC \
19925 export_symbols_cmds_RC \
19926 hardcode_libdir_flag_spec_RC \
19927 hardcode_libdir_flag_spec_ld_RC \
19928 hardcode_libdir_separator_RC \
19929 hardcode_automatic_RC \
19931 module_expsym_cmds_RC \
19932 lt_cv_prog_compiler_c_o_RC \
19933 exclude_expsyms_RC \
19934 include_expsyms_RC; do
19937 old_archive_cmds_RC | \
19938 old_archive_from_new_cmds_RC | \
19939 archive_cmds_RC | \
19940 archive_expsym_cmds_RC | \
19942 module_expsym_cmds_RC | \
19943 old_archive_from_expsyms_cmds_RC | \
19944 export_symbols_cmds_RC | \
19945 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19946 postinstall_cmds | postuninstall_cmds | \
19947 old_postinstall_cmds | old_postuninstall_cmds | \
19948 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19949 # Double-quote double-evaled strings.
19950 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19953 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19959 *'\
$0 --fallback-echo"')
19960 lt_echo=`$echo "X
$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$
/$0 --fallback-echo"/'`
19966 cat <<__EOF__ >> "$cfgfile"
19967 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19969 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19971 # Shell to use when invoking shell scripts.
19974 # Whether or not to build shared libraries.
19975 build_libtool_libs=$enable_shared
19977 # Whether or not to build static libraries.
19978 build_old_libs=$enable_static
19980 # Whether or not to add -lc for building shared libraries.
19981 build_libtool_need_lc=$archive_cmds_need_lc_RC
19983 # Whether or not to disallow shared libs when runtime libs are static
19984 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19986 # Whether or not to optimize for fast installation.
19987 fast_install=$enable_fast_install
19990 host_alias=$host_alias
19994 # The build system.
19995 build_alias=$build_alias
19999 # An echo program that does not interpret backslashes.
20004 AR_FLAGS=$lt_AR_FLAGS
20009 # A language-specific compiler.
20012 # Is the compiler the GNU C compiler?
20018 # The linker used to build libraries.
20021 # Whether we need hard or soft links.
20024 # A BSD-compatible nm program.
20027 # A symbol stripping program
20030 # Used to examine libraries when file_magic_cmd begins "file"
20031 MAGIC_CMD=$MAGIC_CMD
20033 # Used on cygwin: DLL creation program.
20036 # Used on cygwin: object dumper.
20039 # Used on cygwin: assembler.
20042 # The name of the directory that contains temporary libtool files.
20045 # How to create reloadable object files.
20046 reload_flag=$lt_reload_flag
20047 reload_cmds=$lt_reload_cmds
20049 # How to pass a linker flag through the compiler.
20050 wl=$lt_lt_prog_compiler_wl_RC
20052 # Object file suffix (normally "o
").
20053 objext="$ac_objext"
20055 # Old archive suffix (normally "a
").
20058 # Shared library suffix (normally ".so
").
20059 shrext_cmds='$shrext_cmds'
20061 # Executable file suffix (normally "").
20064 # Additional compiler flags for building library objects.
20065 pic_flag=$lt_lt_prog_compiler_pic_RC
20068 # What is the maximum length of a command?
20069 max_cmd_len=$lt_cv_sys_max_cmd_len
20071 # Does compiler simultaneously support -c and -o options?
20072 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20074 # Must we lock files when doing compilation?
20075 need_locks=$lt_need_locks
20077 # Do we need the lib prefix for modules?
20078 need_lib_prefix=$need_lib_prefix
20080 # Do we need a version for libraries?
20081 need_version=$need_version
20083 # Whether dlopen is supported.
20084 dlopen_support=$enable_dlopen
20086 # Whether dlopen of programs is supported.
20087 dlopen_self=$enable_dlopen_self
20089 # Whether dlopen of statically linked programs is supported.
20090 dlopen_self_static=$enable_dlopen_self_static
20092 # Compiler flag to prevent dynamic linking.
20093 link_static_flag=$lt_lt_prog_compiler_static_RC
20095 # Compiler flag to turn off builtin functions.
20096 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20098 # Compiler flag to allow reflexive dlopens.
20099 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20101 # Compiler flag to generate shared objects directly from archives.
20102 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20104 # Compiler flag to generate thread-safe objects.
20105 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20107 # Library versioning type.
20108 version_type=$version_type
20110 # Format of library name prefix.
20111 libname_spec=$lt_libname_spec
20113 # List of archive names. First name is the real one, the rest are links.
20114 # The last name is the one that the linker finds with -lNAME.
20115 library_names_spec=$lt_library_names_spec
20117 # The coded name of the library, if different from the real name.
20118 soname_spec=$lt_soname_spec
20120 # Commands used to build and install an old-style archive.
20122 old_archive_cmds=$lt_old_archive_cmds_RC
20123 old_postinstall_cmds=$lt_old_postinstall_cmds
20124 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20126 # Create an old-style archive from a shared archive.
20127 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20129 # Create a temporary old-style archive to link instead of a shared archive.
20130 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20132 # Commands used to build and install a shared archive.
20133 archive_cmds=$lt_archive_cmds_RC
20134 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20135 postinstall_cmds=$lt_postinstall_cmds
20136 postuninstall_cmds=$lt_postuninstall_cmds
20138 # Commands used to build a loadable module (assumed same as above if empty)
20139 module_cmds=$lt_module_cmds_RC
20140 module_expsym_cmds=$lt_module_expsym_cmds_RC
20142 # Commands to strip libraries.
20143 old_striplib=$lt_old_striplib
20144 striplib=$lt_striplib
20146 # Dependencies to place before the objects being linked to create a
20148 predep_objects=$lt_predep_objects_RC
20150 # Dependencies to place after the objects being linked to create a
20152 postdep_objects=$lt_postdep_objects_RC
20154 # Dependencies to place before the objects being linked to create a
20156 predeps=$lt_predeps_RC
20158 # Dependencies to place after the objects being linked to create a
20160 postdeps=$lt_postdeps_RC
20162 # The library search path used internally by the compiler when linking
20163 # a shared library.
20164 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20166 # Method to check whether dependent libraries are shared objects.
20167 deplibs_check_method=$lt_deplibs_check_method
20169 # Command to use when deplibs_check_method == file_magic.
20170 file_magic_cmd=$lt_file_magic_cmd
20172 # Flag that allows shared libraries with undefined symbols to be built.
20173 allow_undefined_flag=$lt_allow_undefined_flag_RC
20175 # Flag that forces no undefined symbols.
20176 no_undefined_flag=$lt_no_undefined_flag_RC
20178 # Commands used to finish a libtool library installation in a directory.
20179 finish_cmds=$lt_finish_cmds
20181 # Same as above, but a single script fragment to be evaled but not shown.
20182 finish_eval=$lt_finish_eval
20184 # Take the output of nm and produce a listing of raw symbols and C names.
20185 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20187 # Transform the output of nm in a proper C declaration
20188 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20190 # Transform the output of nm in a C name address pair
20191 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20193 # This is the shared library runtime path variable.
20194 runpath_var=$runpath_var
20196 # This is the shared library path variable.
20197 shlibpath_var=$shlibpath_var
20199 # Is shlibpath searched before the hard-coded library search path?
20200 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20202 # How to hardcode a shared library path into an executable.
20203 hardcode_action=$hardcode_action_RC
20205 # Whether we should hardcode library paths into libraries.
20206 hardcode_into_libs=$hardcode_into_libs
20208 # Flag to hardcode \$libdir into a binary during linking.
20209 # This must work even if \$libdir does not exist.
20210 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20212 # If ld is used when linking, flag to hardcode \$libdir into
20213 # a binary during linking. This must work even if \$libdir does
20215 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20217 # Whether we need a single -rpath flag with a separated argument.
20218 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20220 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20221 # resulting binary.
20222 hardcode_direct=$hardcode_direct_RC
20224 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20225 # resulting binary.
20226 hardcode_minus_L=$hardcode_minus_L_RC
20228 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20229 # the resulting binary.
20230 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20232 # Set to yes if building a shared library automatically hardcodes DIR into the library
20233 # and all subsequent libraries and executables linked against it.
20234 hardcode_automatic=$hardcode_automatic_RC
20236 # Variables whose values should be saved in libtool wrapper scripts and
20237 # restored at relink time.
20238 variables_saved_for_relink="$variables_saved_for_relink"
20240 # Whether libtool must link a program against all its dependency libraries.
20241 link_all_deplibs=$link_all_deplibs_RC
20243 # Compile-time system search path for libraries
20244 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20246 # Run-time system search path for libraries
20247 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20249 # Fix the shell variable \$srcfile for the compiler.
20250 fix_srcfile_path="$fix_srcfile_path_RC"
20252 # Set to yes if exported symbols are required.
20253 always_export_symbols=$always_export_symbols_RC
20255 # The commands to list exported symbols.
20256 export_symbols_cmds=$lt_export_symbols_cmds_RC
20258 # The commands to extract the exported symbol list from a shared archive.
20259 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20261 # Symbols that should not be listed in the preloaded symbols.
20262 exclude_expsyms=$lt_exclude_expsyms_RC
20264 # Symbols that must always be exported.
20265 include_expsyms=$lt_include_expsyms_RC
20267 # ### END LIBTOOL TAG CONFIG: $tagname
20273 # If there is no Makefile yet, we rely on a make rule to execute
20274 # `config.status --recheck' to rerun these tests and create the
20275 # libtool script then.
20276 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20277 if test -f "$ltmain_in"; then
20278 test -f Makefile && make "$ltmain"
20284 ac_cpp='$CPP $CPPFLAGS'
20285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20294 { { echo "$as_me:$LINENO: error
: Unsupported tag name
: $tagname" >&5
20295 echo "$as_me: error
: Unsupported tag name
: $tagname" >&2;}
20296 { (exit 1); exit 1; }; }
20300 # Append the new tag name to the list of available tags.
20301 if test -n "$tagname" ; then
20302 available_tags="$available_tags $tagname"
20308 # Now substitute the updated list of available tags.
20309 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T
\""; then
20310 mv "${ofile}T
" "$ofile"
20314 { { echo "$as_me:$LINENO: error
: unable to update list of available tagged configurations.
" >&5
20315 echo "$as_me: error
: unable to update list of available tagged configurations.
" >&2;}
20316 { (exit 1); exit 1; }; }
20322 # This can be used to rebuild libtool when needed
20323 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh
"
20325 # Always use our own libtool.
20326 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20328 # Prevent multiple expansion
20350 { echo "$as_me:$LINENO: checking whether NLS is requested
" >&5
20351 echo $ECHO_N "checking whether NLS is requested...
$ECHO_C" >&6; }
20352 # Check whether --enable-nls was given.
20353 if test "${enable_nls+set}" = set; then
20354 enableval=$enable_nls; USE_NLS=$enableval
20359 { echo "$as_me:$LINENO: result
: $USE_NLS" >&5
20360 echo "${ECHO_T}$USE_NLS" >&6; }
20365 case "$am__api_version" in
20367 { { echo "$as_me:$LINENO: error
: Automake
1.5 or newer is required to use intltool
" >&5
20368 echo "$as_me: error
: Automake
1.5 or newer is required to use intltool
" >&2;}
20369 { (exit 1); exit 1; }; }
20375 if test -n "0.23"; then
20376 { echo "$as_me:$LINENO: checking
for intltool
>= 0.23" >&5
20377 echo $ECHO_N "checking
for intltool
>= 0.23...
$ECHO_C" >&6; }
20379 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.23 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
20380 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
20381 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
20383 { echo "$as_me:$LINENO: result
: $INTLTOOL_APPLIED_VERSION found
" >&5
20384 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found
" >&6; }
20385 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
20386 { { echo "$as_me:$LINENO: error
: Your intltool is too old. You need intltool
0.23 or later.
" >&5
20387 echo "$as_me: error
: Your intltool is too old. You need intltool
0.23 or later.
" >&2;}
20388 { (exit 1); exit 1; }; }
20391 # Extract the first word of "intltool-update
", so it can be a program name with args.
20392 set dummy intltool-update; ac_word=$2
20393 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
20394 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
20395 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
20396 echo $ECHO_N "(cached
) $ECHO_C" >&6
20398 case $INTLTOOL_UPDATE in
20400 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
20403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20404 for as_dir in $PATH
20407 test -z "$as_dir" && as_dir=.
20408 for ac_exec_ext in '' $ac_executable_extensions; do
20409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20410 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
20411 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20421 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
20422 if test -n "$INTLTOOL_UPDATE"; then
20423 { echo "$as_me:$LINENO: result
: $INTLTOOL_UPDATE" >&5
20424 echo "${ECHO_T}$INTLTOOL_UPDATE" >&6; }
20426 { echo "$as_me:$LINENO: result
: no
" >&5
20427 echo "${ECHO_T}no
" >&6; }
20431 # Extract the first word of "intltool-merge
", so it can be a program name with args.
20432 set dummy intltool-merge; ac_word=$2
20433 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
20434 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
20435 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
20436 echo $ECHO_N "(cached
) $ECHO_C" >&6
20438 case $INTLTOOL_MERGE in
20440 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
20443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20444 for as_dir in $PATH
20447 test -z "$as_dir" && as_dir=.
20448 for ac_exec_ext in '' $ac_executable_extensions; do
20449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20450 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
20451 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20461 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
20462 if test -n "$INTLTOOL_MERGE"; then
20463 { echo "$as_me:$LINENO: result
: $INTLTOOL_MERGE" >&5
20464 echo "${ECHO_T}$INTLTOOL_MERGE" >&6; }
20466 { echo "$as_me:$LINENO: result
: no
" >&5
20467 echo "${ECHO_T}no
" >&6; }
20471 # Extract the first word of "intltool-extract
", so it can be a program name with args.
20472 set dummy intltool-extract; ac_word=$2
20473 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
20474 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
20475 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
20476 echo $ECHO_N "(cached
) $ECHO_C" >&6
20478 case $INTLTOOL_EXTRACT in
20480 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
20483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20484 for as_dir in $PATH
20487 test -z "$as_dir" && as_dir=.
20488 for ac_exec_ext in '' $ac_executable_extensions; do
20489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20490 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
20491 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20501 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
20502 if test -n "$INTLTOOL_EXTRACT"; then
20503 { echo "$as_me:$LINENO: result
: $INTLTOOL_EXTRACT" >&5
20504 echo "${ECHO_T}$INTLTOOL_EXTRACT" >&6; }
20506 { echo "$as_me:$LINENO: result
: no
" >&5
20507 echo "${ECHO_T}no
" >&6; }
20511 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
20512 { { echo "$as_me:$LINENO: error
: The intltool scripts were not found. Please
install intltool.
" >&5
20513 echo "$as_me: error
: The intltool scripts were not found. Please
install intltool.
" >&2;}
20514 { (exit 1); exit 1; }; }
20517 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 $< $@'
20518 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 $< $@'
20519 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 $< $@'
20520 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 $< $@'
20521 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
20522 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 $< $@'
20523 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 $< $@'
20524 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 $< $@'
20525 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 $< $@'
20526 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 $< $@'
20527 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 $< $@'
20528 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
20529 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 $< $@'
20530 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 $< $@'
20531 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 $< $@'
20532 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 $< $@'
20533 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 $< $@'
20534 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 $< $@'
20535 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 $< $@'
20557 # Check the gettext tools to make sure they are GNU
20558 # Extract the first word of "xgettext
", so it can be a program name with args.
20559 set dummy xgettext; ac_word=$2
20560 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
20561 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
20562 if test "${ac_cv_path_XGETTEXT+set}" = set; then
20563 echo $ECHO_N "(cached
) $ECHO_C" >&6
20567 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
20570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20571 for as_dir in $PATH
20574 test -z "$as_dir" && as_dir=.
20575 for ac_exec_ext in '' $ac_executable_extensions; do
20576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20577 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
20578 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20588 XGETTEXT=$ac_cv_path_XGETTEXT
20589 if test -n "$XGETTEXT"; then
20590 { echo "$as_me:$LINENO: result
: $XGETTEXT" >&5
20591 echo "${ECHO_T}$XGETTEXT" >&6; }
20593 { echo "$as_me:$LINENO: result
: no
" >&5
20594 echo "${ECHO_T}no
" >&6; }
20598 # Extract the first word of "msgmerge
", so it can be a program name with args.
20599 set dummy msgmerge; ac_word=$2
20600 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
20601 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
20602 if test "${ac_cv_path_MSGMERGE+set}" = set; then
20603 echo $ECHO_N "(cached
) $ECHO_C" >&6
20607 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
20610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20611 for as_dir in $PATH
20614 test -z "$as_dir" && as_dir=.
20615 for ac_exec_ext in '' $ac_executable_extensions; do
20616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20617 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
20618 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20628 MSGMERGE=$ac_cv_path_MSGMERGE
20629 if test -n "$MSGMERGE"; then
20630 { echo "$as_me:$LINENO: result
: $MSGMERGE" >&5
20631 echo "${ECHO_T}$MSGMERGE" >&6; }
20633 { echo "$as_me:$LINENO: result
: no
" >&5
20634 echo "${ECHO_T}no
" >&6; }
20638 # Extract the first word of "msgfmt
", so it can be a program name with args.
20639 set dummy msgfmt; ac_word=$2
20640 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
20641 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
20642 if test "${ac_cv_path_MSGFMT+set}" = set; then
20643 echo $ECHO_N "(cached
) $ECHO_C" >&6
20647 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
20650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20651 for as_dir in $PATH
20654 test -z "$as_dir" && as_dir=.
20655 for ac_exec_ext in '' $ac_executable_extensions; do
20656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20657 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
20658 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20668 MSGFMT=$ac_cv_path_MSGFMT
20669 if test -n "$MSGFMT"; then
20670 { echo "$as_me:$LINENO: result
: $MSGFMT" >&5
20671 echo "${ECHO_T}$MSGFMT" >&6; }
20673 { echo "$as_me:$LINENO: result
: no
" >&5
20674 echo "${ECHO_T}no
" >&6; }
20678 # Extract the first word of "gmsgfmt
", so it can be a program name with args.
20679 set dummy gmsgfmt; ac_word=$2
20680 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
20681 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
20682 if test "${ac_cv_path_GMSGFMT+set}" = set; then
20683 echo $ECHO_N "(cached
) $ECHO_C" >&6
20687 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
20690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20691 for as_dir in $PATH
20694 test -z "$as_dir" && as_dir=.
20695 for ac_exec_ext in '' $ac_executable_extensions; do
20696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20697 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20698 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20705 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20709 GMSGFMT=$ac_cv_path_GMSGFMT
20710 if test -n "$GMSGFMT"; then
20711 { echo "$as_me:$LINENO: result
: $GMSGFMT" >&5
20712 echo "${ECHO_T}$GMSGFMT" >&6; }
20714 { echo "$as_me:$LINENO: result
: no
" >&5
20715 echo "${ECHO_T}no
" >&6; }
20719 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
20720 { { echo "$as_me:$LINENO: error
: GNU
gettext tools not found
; required
for intltool
" >&5
20721 echo "$as_me: error
: GNU
gettext tools not found
; required
for intltool
" >&2;}
20722 { (exit 1); exit 1; }; }
20724 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
20725 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
20726 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
20727 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
20728 { { echo "$as_me:$LINENO: error
: GNU
gettext tools not found
; required
for intltool
" >&5
20729 echo "$as_me: error
: GNU
gettext tools not found
; required
for intltool
" >&2;}
20730 { (exit 1); exit 1; }; }
20733 # Extract the first word of "perl
", so it can be a program name with args.
20734 set dummy perl; ac_word=$2
20735 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
20736 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
20737 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
20738 echo $ECHO_N "(cached
) $ECHO_C" >&6
20740 case $INTLTOOL_PERL in
20742 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
20745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20746 for as_dir in $PATH
20749 test -z "$as_dir" && as_dir=.
20750 for ac_exec_ext in '' $ac_executable_extensions; do
20751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20752 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
20753 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
20763 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
20764 if test -n "$INTLTOOL_PERL"; then
20765 { echo "$as_me:$LINENO: result
: $INTLTOOL_PERL" >&5
20766 echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
20768 { echo "$as_me:$LINENO: result
: no
" >&5
20769 echo "${ECHO_T}no
" >&6; }
20773 if test -z "$INTLTOOL_PERL"; then
20774 { { echo "$as_me:$LINENO: error
: perl not found
; required
for intltool
" >&5
20775 echo "$as_me: error
: perl not found
; required
for intltool
" >&2;}
20776 { (exit 1); exit 1; }; }
20778 if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
20779 { { echo "$as_me:$LINENO: error
: perl
5.x required
for intltool
" >&5
20780 echo "$as_me: error
: perl
5.x required
for intltool
" >&2;}
20781 { (exit 1); exit 1; }; }
20783 if test "x
" != "xno-xml
"; then
20784 { echo "$as_me:$LINENO: checking
for XML
::Parser
" >&5
20785 echo $ECHO_N "checking
for XML
::Parser...
$ECHO_C" >&6; }
20786 if `$INTLTOOL_PERL -e "require XML
::Parser
" 2>/dev/null`; then
20787 { echo "$as_me:$LINENO: result
: ok
" >&5
20788 echo "${ECHO_T}ok
" >&6; }
20790 { { echo "$as_me:$LINENO: error
: XML
::Parser perl module is required
for intltool
" >&5
20791 echo "$as_me: error
: XML
::Parser perl module is required
for intltool
" >&2;}
20792 { (exit 1); exit 1; }; }
20796 # Substitute ALL_LINGUAS so we can use it in po/Makefile
20799 # Set DATADIRNAME correctly if it is not set yet
20800 # (copied from glib-gettext.m4)
20801 if test -z "$DATADIRNAME"; then
20802 cat >conftest.$ac_ext <<_ACEOF
20805 cat confdefs.h >>conftest.$ac_ext
20806 cat >>conftest.$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20812 extern int _nl_msg_cat_cntr;
20813 return _nl_msg_cat_cntr
20818 rm -f conftest.$ac_objext conftest$ac_exeext
20819 if { (ac_try="$ac_link"
20820 case "(($ac_try" in
20821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20822 *) ac_try_echo=$ac_try;;
20824 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20825 (eval "$ac_link") 2>conftest.er1
20827 grep -v '^ *+' conftest.er1 >conftest.err
20829 cat conftest.err >&5
20830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20831 (exit $ac_status); } && {
20832 test -z "$ac_c_werror_flag" ||
20833 test ! -s conftest.err
20834 } && test -s conftest$ac_exeext &&
20835 $as_test_x conftest$ac_exeext; then
20838 echo "$as_me: failed program was
:" >&5
20839 sed 's/^/| /' conftest.$ac_ext >&5
20843 { echo "$as_me:$LINENO: checking
for bind_textdomain_codeset
" >&5
20844 echo $ECHO_N "checking
for bind_textdomain_codeset...
$ECHO_C" >&6; }
20845 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
20846 echo $ECHO_N "(cached
) $ECHO_C" >&6
20848 cat >conftest.$ac_ext <<_ACEOF
20851 cat confdefs.h >>conftest.$ac_ext
20852 cat >>conftest.$ac_ext <<_ACEOF
20853 /* end confdefs.h. */
20854 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
20855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20856 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
20858 /* System header to define __stub macros and hopefully few prototypes,
20859 which can conflict with char bind_textdomain_codeset (); below.
20860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20861 <limits.h> exists even on freestanding compilers. */
20864 # include <limits.h>
20866 # include <assert.h>
20869 #undef bind_textdomain_codeset
20871 /* Override any GCC internal prototype to avoid an error.
20872 Use char because int might match the return type of a GCC
20873 builtin and then its argument prototype would still apply. */
20877 char bind_textdomain_codeset ();
20878 /* The GNU C library defines this for functions which it implements
20879 to always fail with ENOSYS. Some functions are actually named
20880 something starting with __ and the normal name is an alias. */
20881 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
20888 return bind_textdomain_codeset ();
20893 rm -f conftest.$ac_objext conftest$ac_exeext
20894 if { (ac_try="$ac_link"
20895 case "(($ac_try" in
20896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20897 *) ac_try_echo=$ac_try;;
20899 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20900 (eval "$ac_link") 2>conftest.er1
20902 grep -v '^ *+' conftest.er1 >conftest.err
20904 cat conftest.err >&5
20905 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20906 (exit $ac_status); } && {
20907 test -z "$ac_c_werror_flag" ||
20908 test ! -s conftest.err
20909 } && test -s conftest$ac_exeext &&
20910 $as_test_x conftest$ac_exeext; then
20911 ac_cv_func_bind_textdomain_codeset=yes
20913 echo "$as_me: failed program was
:" >&5
20914 sed 's/^/| /' conftest.$ac_ext >&5
20916 ac_cv_func_bind_textdomain_codeset=no
20919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20920 conftest$ac_exeext conftest.$ac_ext
20922 { echo "$as_me:$LINENO: result
: $ac_cv_func_bind_textdomain_codeset" >&5
20923 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
20924 if test $ac_cv_func_bind_textdomain_codeset = yes; then
20937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20938 conftest$ac_exeext conftest.$ac_ext
20945 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
20946 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
20947 if test "${ac_cv_header_stdc+set}" = set; then
20948 echo $ECHO_N "(cached
) $ECHO_C" >&6
20950 cat >conftest.$ac_ext <<_ACEOF
20953 cat confdefs.h >>conftest.$ac_ext
20954 cat >>conftest.$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20956 #include <stdlib.h>
20957 #include <stdarg.h>
20958 #include <string.h>
20969 rm -f conftest.$ac_objext
20970 if { (ac_try="$ac_compile"
20971 case "(($ac_try" in
20972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20973 *) ac_try_echo=$ac_try;;
20975 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20976 (eval "$ac_compile") 2>conftest.er1
20978 grep -v '^ *+' conftest.er1 >conftest.err
20980 cat conftest.err >&5
20981 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20982 (exit $ac_status); } && {
20983 test -z "$ac_c_werror_flag" ||
20984 test ! -s conftest.err
20985 } && test -s conftest.$ac_objext; then
20986 ac_cv_header_stdc=yes
20988 echo "$as_me: failed program was
:" >&5
20989 sed 's/^/| /' conftest.$ac_ext >&5
20991 ac_cv_header_stdc=no
20994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20996 if test $ac_cv_header_stdc = yes; then
20997 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20998 cat >conftest.$ac_ext <<_ACEOF
21001 cat confdefs.h >>conftest.$ac_ext
21002 cat >>conftest.$ac_ext <<_ACEOF
21003 /* end confdefs.h. */
21004 #include <string.h>
21007 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21008 $EGREP "memchr
" >/dev/null 2>&1; then
21011 ac_cv_header_stdc=no
21017 if test $ac_cv_header_stdc = yes; then
21018 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21019 cat >conftest.$ac_ext <<_ACEOF
21022 cat confdefs.h >>conftest.$ac_ext
21023 cat >>conftest.$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21025 #include <stdlib.h>
21028 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21029 $EGREP "free
" >/dev/null 2>&1; then
21032 ac_cv_header_stdc=no
21038 if test $ac_cv_header_stdc = yes; then
21039 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21040 if test "$cross_compiling" = yes; then
21043 cat >conftest.$ac_ext <<_ACEOF
21046 cat confdefs.h >>conftest.$ac_ext
21047 cat >>conftest.$ac_ext <<_ACEOF
21048 /* end confdefs.h. */
21050 #include <stdlib.h>
21051 #if ((' ' & 0x0FF) == 0x020)
21052 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21053 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21055 # define ISLOWER(c) \
21056 (('a' <= (c) && (c) <= 'i') \
21057 || ('j' <= (c) && (c) <= 'r') \
21058 || ('s' <= (c) && (c) <= 'z'))
21059 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21062 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21067 for (i = 0; i < 256; i++)
21068 if (XOR (islower (i), ISLOWER (i))
21069 || toupper (i) != TOUPPER (i))
21074 rm -f conftest$ac_exeext
21075 if { (ac_try="$ac_link"
21076 case "(($ac_try" in
21077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21078 *) ac_try_echo=$ac_try;;
21080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21081 (eval "$ac_link") 2>&5
21083 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21084 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21085 { (case "(($ac_try" in
21086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21087 *) ac_try_echo=$ac_try;;
21089 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21090 (eval "$ac_try") 2>&5
21092 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21093 (exit $ac_status); }; }; then
21096 echo "$as_me: program exited with status
$ac_status" >&5
21097 echo "$as_me: failed program was
:" >&5
21098 sed 's/^/| /' conftest.$ac_ext >&5
21100 ( exit $ac_status )
21101 ac_cv_header_stdc=no
21103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21109 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
21110 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21111 if test $ac_cv_header_stdc = yes; then
21113 cat >>confdefs.h <<\_ACEOF
21114 #define STDC_HEADERS 1
21120 # Option to enable debugging
21121 # Check whether --enable-debug was given.
21122 if test "${enable_debug+set}" = set; then
21123 enableval=$enable_debug; with_debug=yes
21129 if test "x
$with_debug" == "xyes
" ; then
21130 CFLAGS="$CFLAGS -ggdb -O0 -DDEBUG -Wall -ansi -pedantic"
21132 # CFLAGS="$CFLAGS -O2 -Wall -ansi -pedantic"
21133 CFLAGS="$CFLAGS -O2 -Wall -ansi"
21136 # Hildon library dependencies
21139 if test "x
$ac_cv_env_PKG_CONFIG_set" != "xset
"; then
21140 if test -n "$ac_tool_prefix"; then
21141 # Extract the first word of "${ac_tool_prefix}pkg-config
", so it can be a program name with args.
21142 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21143 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
21144 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
21145 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21146 echo $ECHO_N "(cached
) $ECHO_C" >&6
21148 case $PKG_CONFIG in
21150 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21154 for as_dir in $PATH
21157 test -z "$as_dir" && as_dir=.
21158 for ac_exec_ext in '' $ac_executable_extensions; do
21159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21160 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21161 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
21171 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21172 if test -n "$PKG_CONFIG"; then
21173 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
21174 echo "${ECHO_T}$PKG_CONFIG" >&6; }
21176 { echo "$as_me:$LINENO: result
: no
" >&5
21177 echo "${ECHO_T}no
" >&6; }
21182 if test -z "$ac_cv_path_PKG_CONFIG"; then
21183 ac_pt_PKG_CONFIG=$PKG_CONFIG
21184 # Extract the first word of "pkg-config
", so it can be a program name with args.
21185 set dummy pkg-config; ac_word=$2
21186 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
21187 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
21188 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
21189 echo $ECHO_N "(cached
) $ECHO_C" >&6
21191 case $ac_pt_PKG_CONFIG in
21193 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21197 for as_dir in $PATH
21200 test -z "$as_dir" && as_dir=.
21201 for ac_exec_ext in '' $ac_executable_extensions; do
21202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21203 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21204 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
21214 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21215 if test -n "$ac_pt_PKG_CONFIG"; then
21216 { echo "$as_me:$LINENO: result
: $ac_pt_PKG_CONFIG" >&5
21217 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
21219 { echo "$as_me:$LINENO: result
: no
" >&5
21220 echo "${ECHO_T}no
" >&6; }
21223 if test "x
$ac_pt_PKG_CONFIG" = x; then
21226 case $cross_compiling:$ac_tool_warned in
21228 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
21229 whose name does not start with the
host triplet. If you think this
21230 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
21231 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
21232 whose name does not start with the
host triplet. If you think this
21233 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
21234 ac_tool_warned=yes ;;
21236 PKG_CONFIG=$ac_pt_PKG_CONFIG
21239 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21243 if test -n "$PKG_CONFIG"; then
21244 _pkg_min_version=0.9.0
21245 { echo "$as_me:$LINENO: checking pkg-config is
at least version
$_pkg_min_version" >&5
21246 echo $ECHO_N "checking pkg-config is
at least version
$_pkg_min_version...
$ECHO_C" >&6; }
21247 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21248 { echo "$as_me:$LINENO: result
: yes" >&5
21249 echo "${ECHO_T}yes" >&6; }
21251 { echo "$as_me:$LINENO: result
: no
" >&5
21252 echo "${ECHO_T}no
" >&6; }
21259 { echo "$as_me:$LINENO: checking
for HILDON
" >&5
21260 echo $ECHO_N "checking
for HILDON...
$ECHO_C" >&6; }
21262 if test -n "$PKG_CONFIG"; then
21263 if test -n "$HILDON_CFLAGS"; then
21264 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
21266 if test -n "$PKG_CONFIG" && \
21267 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"hildon-1
>= 0.9.9 hildon-fm-2 wpeditor
\"") >&5
21268 ($PKG_CONFIG --exists --print-errors "hildon-1
>= 0.9.9 hildon-fm-2 wpeditor
") 2>&5
21270 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21271 (exit $ac_status); }; then
21272 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-1
>= 0.9.9 hildon-fm-2 wpeditor
" 2>/dev/null`
21280 if test -n "$PKG_CONFIG"; then
21281 if test -n "$HILDON_LIBS"; then
21282 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
21284 if test -n "$PKG_CONFIG" && \
21285 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"hildon-1
>= 0.9.9 hildon-fm-2 wpeditor
\"") >&5
21286 ($PKG_CONFIG --exists --print-errors "hildon-1
>= 0.9.9 hildon-fm-2 wpeditor
") 2>&5
21288 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21289 (exit $ac_status); }; then
21290 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-1
>= 0.9.9 hildon-fm-2 wpeditor
" 2>/dev/null`
21301 if test $pkg_failed = yes; then
21303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21304 _pkg_short_errors_supported=yes
21306 _pkg_short_errors_supported=no
21308 if test $_pkg_short_errors_supported = yes; then
21309 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1
>= 0.9.9 hildon-fm-2 wpeditor
"`
21311 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1
>= 0.9.9 hildon-fm-2 wpeditor
"`
21313 # Put the nasty error message in config.log where it belongs
21314 echo "$HILDON_PKG_ERRORS" >&5
21316 { { echo "$as_me:$LINENO: error
: Package requirements
(hildon-1
>= 0.9.9 hildon-fm-2 wpeditor
) were not met
:
21320 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
21321 installed software
in a non-standard prefix.
21323 Alternatively
, you may
set the environment variables HILDON_CFLAGS
21324 and HILDON_LIBS to avoid the need to call pkg-config.
21325 See the pkg-config man page
for more details.
21327 echo "$as_me: error
: Package requirements
(hildon-1
>= 0.9.9 hildon-fm-2 wpeditor
) were not met
:
21331 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
21332 installed software
in a non-standard prefix.
21334 Alternatively
, you may
set the environment variables HILDON_CFLAGS
21335 and HILDON_LIBS to avoid the need to call pkg-config.
21336 See the pkg-config man page
for more details.
21338 { (exit 1); exit 1; }; }
21339 elif test $pkg_failed = untried; then
21340 { { echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
21341 is
in your PATH or
set the PKG_CONFIG environment variable to the full
21342 path to pkg-config.
21344 Alternatively
, you may
set the environment variables HILDON_CFLAGS
21345 and HILDON_LIBS to avoid the need to call pkg-config.
21346 See the pkg-config man page
for more details.
21348 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
21349 See \
`config.log' for more details." >&5
21350 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21351 is in your PATH or set the PKG_CONFIG environment variable to the full
21352 path to pkg-config.
21354 Alternatively, you may set the environment variables HILDON_CFLAGS
21355 and HILDON_LIBS to avoid the need to call pkg-config.
21356 See the pkg-config man page for more details.
21358 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21359 See \`config.log
' for more details." >&2;}
21360 { (exit 1); exit 1; }; }
21362 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
21363 HILDON_LIBS=$pkg_cv_HILDON_LIBS
21364 { echo "$as_me:$LINENO: result: yes" >&5
21365 echo "${ECHO_T}yes" >&6; }
21371 # Only used for the .service file path
21374 { echo "$as_me:$LINENO: checking for DBUS" >&5
21375 echo $ECHO_N "checking for DBUS... $ECHO_C" >&6; }
21377 if test -n "$PKG_CONFIG"; then
21378 if test -n "$DBUS_CFLAGS"; then
21379 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
21381 if test -n "$PKG_CONFIG" && \
21382 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.23.4\"") >&5
21383 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.23.4") 2>&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); }; then
21387 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.23.4" 2>/dev/null`
21395 if test -n "$PKG_CONFIG"; then
21396 if test -n "$DBUS_LIBS"; then
21397 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
21399 if test -n "$PKG_CONFIG" && \
21400 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.23.4\"") >&5
21401 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.23.4") 2>&5
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); }; then
21405 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.23.4" 2>/dev/null`
21416 if test $pkg_failed = yes; then
21418 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21419 _pkg_short_errors_supported=yes
21421 _pkg_short_errors_supported=no
21423 if test $_pkg_short_errors_supported = yes; then
21424 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 >= 0.23.4"`
21426 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= 0.23.4"`
21428 # Put the nasty error message in config.log where it belongs
21429 echo "$DBUS_PKG_ERRORS" >&5
21431 { { echo "$as_me:$LINENO: error: Package requirements (dbus-glib-1 >= 0.23.4) were not met:
21435 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21436 installed software in a non-standard prefix.
21438 Alternatively, you may set the environment variables DBUS_CFLAGS
21439 and DBUS_LIBS to avoid the need to call pkg-config.
21440 See the pkg-config man page for more details.
21442 echo "$as_me: error: Package requirements (dbus-glib-1 >= 0.23.4) were not met:
21446 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21447 installed software in a non-standard prefix.
21449 Alternatively, you may set the environment variables DBUS_CFLAGS
21450 and DBUS_LIBS to avoid the need to call pkg-config.
21451 See the pkg-config man page for more details.
21453 { (exit 1); exit 1; }; }
21454 elif test $pkg_failed = untried; then
21455 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21456 is in your PATH or set the PKG_CONFIG environment variable to the full
21457 path to pkg-config.
21459 Alternatively, you may set the environment variables DBUS_CFLAGS
21460 and DBUS_LIBS to avoid the need to call pkg-config.
21461 See the pkg-config man page for more details.
21463 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21464 See \`config.log' for more details.
" >&5
21465 echo "$as_me: error
: The pkg-config
script could not be found or is too old. Make sure it
21466 is
in your PATH or
set the PKG_CONFIG environment variable to the full
21467 path to pkg-config.
21469 Alternatively
, you may
set the environment variables DBUS_CFLAGS
21470 and DBUS_LIBS to avoid the need to call pkg-config.
21471 See the pkg-config man page
for more details.
21473 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
21474 See \
`config.log' for more details." >&2;}
21475 { (exit 1); exit 1; }; }
21477 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
21478 DBUS_LIBS=$pkg_cv_DBUS_LIBS
21479 { echo "$as_me:$LINENO: result: yes" >&5
21480 echo "${ECHO_T}yes" >&6; }
21484 # OSSO application framework dependencies
21487 { echo "$as_me:$LINENO: checking for OSSO" >&5
21488 echo $ECHO_N "checking for OSSO... $ECHO_C" >&6; }
21490 if test -n "$PKG_CONFIG"; then
21491 if test -n "$OSSO_CFLAGS"; then
21492 pkg_cv_OSSO_CFLAGS="$OSSO_CFLAGS"
21494 if test -n "$PKG_CONFIG" && \
21495 { (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
21496 ($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
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); }; then
21500 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
`
21508 if test -n "$PKG_CONFIG"; then
21509 if test -n "$OSSO_LIBS"; then
21510 pkg_cv_OSSO_LIBS="$OSSO_LIBS"
21512 if test -n "$PKG_CONFIG" && \
21513 { (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
21514 ($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
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; then
21518 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
`
21529 if test $pkg_failed = yes; then
21531 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21532 _pkg_short_errors_supported=yes
21534 _pkg_short_errors_supported=no
21536 if test $_pkg_short_errors_supported = yes; then
21537 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"`
21539 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"`
21541 # Put the nasty error message in config.log where it belongs
21542 echo "$OSSO_PKG_ERRORS" >&5
21544 { { 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:
21548 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21549 installed software in a non-standard prefix.
21551 Alternatively, you may set the environment variables OSSO_CFLAGS
21552 and OSSO_LIBS to avoid the need to call pkg-config.
21553 See the pkg-config man page for more details.
21555 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:
21559 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21560 installed software in a non-standard prefix.
21562 Alternatively, you may set the environment variables OSSO_CFLAGS
21563 and OSSO_LIBS to avoid the need to call pkg-config.
21564 See the pkg-config man page for more details.
21566 { (exit 1); exit 1; }; }
21567 elif test $pkg_failed = untried; then
21568 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21569 is in your PATH or set the PKG_CONFIG environment variable to the full
21570 path to pkg-config.
21572 Alternatively, you may set the environment variables OSSO_CFLAGS
21573 and OSSO_LIBS to avoid the need to call pkg-config.
21574 See the pkg-config man page for more details.
21576 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21577 See \`config.log
' for more details." >&5
21578 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21579 is in your PATH or set the PKG_CONFIG environment variable to the full
21580 path to pkg-config.
21582 Alternatively, you may set the environment variables OSSO_CFLAGS
21583 and OSSO_LIBS to avoid the need to call pkg-config.
21584 See the pkg-config man page for more details.
21586 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21587 See \`config.log' for more details.
" >&2;}
21588 { (exit 1); exit 1; }; }
21590 OSSO_CFLAGS=$pkg_cv_OSSO_CFLAGS
21591 OSSO_LIBS=$pkg_cv_OSSO_LIBS
21592 { echo "$as_me:$LINENO: result
: yes" >&5
21593 echo "${ECHO_T}yes" >&6; }
21600 #PKG_CHECK_MODULES(XML2, libxml-2.0 >= 2.6.0)
21601 #AC_SUBST(XML2_LIBS)
21602 #AC_SUBST(XML2_CFLAGS)
21607 { echo "$as_me:$LINENO: checking
for SQL3
" >&5
21608 echo $ECHO_N "checking
for SQL3...
$ECHO_C" >&6; }
21610 if test -n "$PKG_CONFIG"; then
21611 if test -n "$SQL3_CFLAGS"; then
21612 pkg_cv_SQL3_CFLAGS="$SQL3_CFLAGS"
21614 if test -n "$PKG_CONFIG" && \
21615 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"sqlite3
>= 3.0\"") >&5
21616 ($PKG_CONFIG --exists --print-errors "sqlite3
>= 3.0") 2>&5
21618 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21619 (exit $ac_status); }; then
21620 pkg_cv_SQL3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3
>= 3.0" 2>/dev/null`
21628 if test -n "$PKG_CONFIG"; then
21629 if test -n "$SQL3_LIBS"; then
21630 pkg_cv_SQL3_LIBS="$SQL3_LIBS"
21632 if test -n "$PKG_CONFIG" && \
21633 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"sqlite3
>= 3.0\"") >&5
21634 ($PKG_CONFIG --exists --print-errors "sqlite3
>= 3.0") 2>&5
21636 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21637 (exit $ac_status); }; then
21638 pkg_cv_SQL3_LIBS=`$PKG_CONFIG --libs "sqlite3
>= 3.0" 2>/dev/null`
21649 if test $pkg_failed = yes; then
21651 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21652 _pkg_short_errors_supported=yes
21654 _pkg_short_errors_supported=no
21656 if test $_pkg_short_errors_supported = yes; then
21657 SQL3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3
>= 3.0"`
21659 SQL3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3
>= 3.0"`
21661 # Put the nasty error message in config.log where it belongs
21662 echo "$SQL3_PKG_ERRORS" >&5
21664 { { echo "$as_me:$LINENO: error
: Package requirements
(sqlite3
>= 3.0) were not met
:
21668 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
21669 installed software
in a non-standard prefix.
21671 Alternatively
, you may
set the environment variables SQL3_CFLAGS
21672 and SQL3_LIBS to avoid the need to call pkg-config.
21673 See the pkg-config man page
for more details.
21675 echo "$as_me: error
: Package requirements
(sqlite3
>= 3.0) were not met
:
21679 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
21680 installed software
in a non-standard prefix.
21682 Alternatively
, you may
set the environment variables SQL3_CFLAGS
21683 and SQL3_LIBS to avoid the need to call pkg-config.
21684 See the pkg-config man page
for more details.
21686 { (exit 1); exit 1; }; }
21687 elif test $pkg_failed = untried; then
21688 { { echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
21689 is
in your PATH or
set the PKG_CONFIG environment variable to the full
21690 path to pkg-config.
21692 Alternatively
, you may
set the environment variables SQL3_CFLAGS
21693 and SQL3_LIBS to avoid the need to call pkg-config.
21694 See the pkg-config man page
for more details.
21696 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
21697 See \
`config.log' for more details." >&5
21698 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21699 is in your PATH or set the PKG_CONFIG environment variable to the full
21700 path to pkg-config.
21702 Alternatively, you may set the environment variables SQL3_CFLAGS
21703 and SQL3_LIBS to avoid the need to call pkg-config.
21704 See the pkg-config man page for more details.
21706 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21707 See \`config.log
' for more details." >&2;}
21708 { (exit 1); exit 1; }; }
21710 SQL3_CFLAGS=$pkg_cv_SQL3_CFLAGS
21711 SQL3_LIBS=$pkg_cv_SQL3_LIBS
21712 { echo "$as_me:$LINENO: result: yes" >&5
21713 echo "${ECHO_T}yes" >&6; }
21720 GETTEXT_PACKAGE=$PACKAGE
21723 cat >>confdefs.h <<_ACEOF
21724 #define GETTEXT_PACKAGE "${GETTEXT_PACKAGE}"
21727 ALL_LINGUAS="en_GB fi_FI de_DE"
21730 for ac_header in locale.h
21732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21734 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21736 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21737 echo $ECHO_N "(cached) $ECHO_C" >&6
21739 ac_res=`eval echo '${'$as_ac_Header'}'`
21740 { echo "$as_me:$LINENO: result: $ac_res" >&5
21741 echo "${ECHO_T}$ac_res" >&6; }
21743 # Is the header compilable?
21744 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21745 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21746 cat >conftest.$ac_ext <<_ACEOF
21749 cat confdefs.h >>conftest.$ac_ext
21750 cat >>conftest.$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21752 $ac_includes_default
21753 #include <$ac_header>
21755 rm -f conftest.$ac_objext
21756 if { (ac_try="$ac_compile"
21757 case "(($ac_try" in
21758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21759 *) ac_try_echo=$ac_try;;
21761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21762 (eval "$ac_compile") 2>conftest.er1
21764 grep -v '^
*+' conftest.er1 >conftest.err
21766 cat conftest.err >&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); } && {
21769 test -z "$ac_c_werror_flag" ||
21770 test ! -s conftest.err
21771 } && test -s conftest.$ac_objext; then
21772 ac_header_compiler=yes
21774 echo "$as_me: failed program was:" >&5
21775 sed 's
/^
/|
/' conftest.$ac_ext >&5
21777 ac_header_compiler=no
21780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21781 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21782 echo "${ECHO_T}$ac_header_compiler" >&6; }
21784 # Is the header present?
21785 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21786 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21787 cat >conftest.$ac_ext <<_ACEOF
21790 cat confdefs.h >>conftest.$ac_ext
21791 cat >>conftest.$ac_ext <<_ACEOF
21792 /* end confdefs.h. */
21793 #include <$ac_header>
21795 if { (ac_try="$ac_cpp conftest.$ac_ext"
21796 case "(($ac_try" in
21797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21798 *) ac_try_echo=$ac_try;;
21800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21803 grep -v '^
*+' conftest.er1 >conftest.err
21805 cat conftest.err >&5
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); } >/dev/null && {
21808 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21809 test ! -s conftest.err
21811 ac_header_preproc=yes
21813 echo "$as_me: failed program was:" >&5
21814 sed 's
/^
/|
/' conftest.$ac_ext >&5
21816 ac_header_preproc=no
21819 rm -f conftest.err conftest.$ac_ext
21820 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21821 echo "${ECHO_T}$ac_header_preproc" >&6; }
21823 # So? What about this header?
21824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21826 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21827 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
21829 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
21830 ac_header_preproc=yes
21833 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21834 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21835 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21836 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21837 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21838 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21839 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21840 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
21842 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
21843 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21844 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21848 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21853 eval "$as_ac_Header=\$ac_header_preproc"
21855 ac_res=`eval echo '${'$as_ac_Header'}'`
21856 { echo "$as_me:$LINENO: result: $ac_res" >&5
21857 echo "${ECHO_T}$ac_res" >&6; }
21860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21861 cat >>confdefs.h <<_ACEOF
21862 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21869 if test $ac_cv_header_locale_h = yes; then
21870 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
21871 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
21872 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
21873 echo $ECHO_N "(cached) $ECHO_C" >&6
21875 cat >conftest.$ac_ext <<_ACEOF
21878 cat confdefs.h >>conftest.$ac_ext
21879 cat >>conftest.$ac_ext <<_ACEOF
21880 /* end confdefs.h. */
21881 #include <locale.h>
21890 rm -f conftest.$ac_objext conftest$ac_exeext
21891 if { (ac_try="$ac_link"
21892 case "(($ac_try" in
21893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21894 *) ac_try_echo=$ac_try;;
21896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21897 (eval "$ac_link") 2>conftest.er1
21899 grep -v '^
*+' conftest.er1 >conftest.err
21901 cat conftest.err >&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); } && {
21904 test -z "$ac_c_werror_flag" ||
21905 test ! -s conftest.err
21906 } && test -s conftest$ac_exeext &&
21907 $as_test_x conftest$ac_exeext; then
21908 am_cv_val_LC_MESSAGES=yes
21910 echo "$as_me: failed program was:" >&5
21911 sed 's
/^
/|
/' conftest.$ac_ext >&5
21913 am_cv_val_LC_MESSAGES=no
21916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21917 conftest$ac_exeext conftest.$ac_ext
21919 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
21920 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
21921 if test $am_cv_val_LC_MESSAGES = yes; then
21923 cat >>confdefs.h <<\_ACEOF
21924 #define HAVE_LC_MESSAGES 1
21932 gt_cv_have_gettext=no
21938 if test "${ac_cv_header_libintl_h+set}" = set; then
21939 { echo "$as_me:$LINENO: checking for libintl.h" >&5
21940 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
21941 if test "${ac_cv_header_libintl_h+set}" = set; then
21942 echo $ECHO_N "(cached) $ECHO_C" >&6
21944 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21945 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21947 # Is the header compilable?
21948 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
21949 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
21950 cat >conftest.$ac_ext <<_ACEOF
21953 cat confdefs.h >>conftest.$ac_ext
21954 cat >>conftest.$ac_ext <<_ACEOF
21955 /* end confdefs.h. */
21956 $ac_includes_default
21957 #include <libintl.h>
21959 rm -f conftest.$ac_objext
21960 if { (ac_try="$ac_compile"
21961 case "(($ac_try" in
21962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21963 *) ac_try_echo=$ac_try;;
21965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21966 (eval "$ac_compile") 2>conftest.er1
21968 grep -v '^
*+' conftest.er1 >conftest.err
21970 cat conftest.err >&5
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); } && {
21973 test -z "$ac_c_werror_flag" ||
21974 test ! -s conftest.err
21975 } && test -s conftest.$ac_objext; then
21976 ac_header_compiler=yes
21978 echo "$as_me: failed program was:" >&5
21979 sed 's
/^
/|
/' conftest.$ac_ext >&5
21981 ac_header_compiler=no
21984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21985 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21986 echo "${ECHO_T}$ac_header_compiler" >&6; }
21988 # Is the header present?
21989 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
21990 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
21991 cat >conftest.$ac_ext <<_ACEOF
21994 cat confdefs.h >>conftest.$ac_ext
21995 cat >>conftest.$ac_ext <<_ACEOF
21996 /* end confdefs.h. */
21997 #include <libintl.h>
21999 if { (ac_try="$ac_cpp conftest.$ac_ext"
22000 case "(($ac_try" in
22001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22002 *) ac_try_echo=$ac_try;;
22004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22005 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22007 grep -v '^
*+' conftest.er1 >conftest.err
22009 cat conftest.err >&5
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); } >/dev/null && {
22012 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22013 test ! -s conftest.err
22015 ac_header_preproc=yes
22017 echo "$as_me: failed program was:" >&5
22018 sed 's
/^
/|
/' conftest.$ac_ext >&5
22020 ac_header_preproc=no
22023 rm -f conftest.err conftest.$ac_ext
22024 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22025 echo "${ECHO_T}$ac_header_preproc" >&6; }
22027 # So? What about this header?
22028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22030 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
22031 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22032 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result
" >&5
22033 echo "$as_me: WARNING
: libintl.h
: proceeding with the compiler
's result" >&2;}
22034 ac_header_preproc=yes
22037 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
22038 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
22039 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
22040 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
22041 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
22042 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
22043 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
22044 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
22045 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result
" >&5
22046 echo "$as_me: WARNING
: libintl.h
: proceeding with the preprocessor
's result" >&2;}
22047 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
22048 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
22052 { echo "$as_me:$LINENO: checking for libintl.h" >&5
22053 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
22054 if test "${ac_cv_header_libintl_h+set}" = set; then
22055 echo $ECHO_N "(cached) $ECHO_C" >&6
22057 ac_cv_header_libintl_h=$ac_header_preproc
22059 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
22060 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
22063 if test $ac_cv_header_libintl_h = yes; then
22064 gt_cv_func_dgettext_libintl="no"
22065 libintl_extra_libs=""
22068 # First check in libc
22070 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
22071 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
22072 if test "${gt_cv_func_ngettext_libc+set}" = set; then
22073 echo $ECHO_N "(cached) $ECHO_C" >&6
22075 cat >conftest.$ac_ext <<_ACEOF
22078 cat confdefs.h >>conftest.$ac_ext
22079 cat >>conftest.$ac_ext <<_ACEOF
22080 /* end confdefs.h. */
22082 #include <libintl.h>
22087 return !ngettext ("","", 1)
22092 rm -f conftest.$ac_objext conftest$ac_exeext
22093 if { (ac_try="$ac_link"
22094 case "(($ac_try" in
22095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22096 *) ac_try_echo=$ac_try;;
22098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22099 (eval "$ac_link") 2>conftest.er1
22101 grep -v '^
*+' conftest.er1 >conftest.err
22103 cat conftest.err >&5
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); } && {
22106 test -z "$ac_c_werror_flag" ||
22107 test ! -s conftest.err
22108 } && test -s conftest$ac_exeext &&
22109 $as_test_x conftest$ac_exeext; then
22110 gt_cv_func_ngettext_libc=yes
22112 echo "$as_me: failed program was:" >&5
22113 sed 's
/^
/|
/' conftest.$ac_ext >&5
22115 gt_cv_func_ngettext_libc=no
22118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22119 conftest$ac_exeext conftest.$ac_ext
22122 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
22123 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
22125 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
22126 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
22127 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
22128 if test "${gt_cv_func_dgettext_libc+set}" = set; then
22129 echo $ECHO_N "(cached) $ECHO_C" >&6
22131 cat >conftest.$ac_ext <<_ACEOF
22134 cat confdefs.h >>conftest.$ac_ext
22135 cat >>conftest.$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22138 #include <libintl.h>
22143 return !dgettext ("","")
22148 rm -f conftest.$ac_objext conftest$ac_exeext
22149 if { (ac_try="$ac_link"
22150 case "(($ac_try" in
22151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22152 *) ac_try_echo=$ac_try;;
22154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22155 (eval "$ac_link") 2>conftest.er1
22157 grep -v '^
*+' conftest.er1 >conftest.err
22159 cat conftest.err >&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); } && {
22162 test -z "$ac_c_werror_flag" ||
22163 test ! -s conftest.err
22164 } && test -s conftest$ac_exeext &&
22165 $as_test_x conftest$ac_exeext; then
22166 gt_cv_func_dgettext_libc=yes
22168 echo "$as_me: failed program was:" >&5
22169 sed 's
/^
/|
/' conftest.$ac_ext >&5
22171 gt_cv_func_dgettext_libc=no
22174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22175 conftest$ac_exeext conftest.$ac_ext
22178 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
22179 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
22182 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
22184 for ac_func in bind_textdomain_codeset
22186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22187 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22189 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22190 echo $ECHO_N "(cached) $ECHO_C" >&6
22192 cat >conftest.$ac_ext <<_ACEOF
22195 cat confdefs.h >>conftest.$ac_ext
22196 cat >>conftest.$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22200 #define $ac_func innocuous_$ac_func
22202 /* System header to define __stub macros and hopefully few prototypes,
22203 which can conflict with char $ac_func (); below.
22204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22205 <limits.h> exists even on freestanding compilers. */
22208 # include <limits.h>
22210 # include <assert.h>
22215 /* Override any GCC internal prototype to avoid an error.
22216 Use char because int might match the return type of a GCC
22217 builtin and then its argument prototype would still apply. */
22222 /* The GNU C library defines this for functions which it implements
22223 to always fail with ENOSYS. Some functions are actually named
22224 something starting with __ and the normal name is an alias. */
22225 #if defined __stub_$ac_func || defined __stub___$ac_func
22232 return $ac_func ();
22237 rm -f conftest.$ac_objext conftest$ac_exeext
22238 if { (ac_try="$ac_link"
22239 case "(($ac_try" in
22240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22241 *) ac_try_echo=$ac_try;;
22243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22244 (eval "$ac_link") 2>conftest.er1
22246 grep -v '^
*+' conftest.er1 >conftest.err
22248 cat conftest.err >&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); } && {
22251 test -z "$ac_c_werror_flag" ||
22252 test ! -s conftest.err
22253 } && test -s conftest$ac_exeext &&
22254 $as_test_x conftest$ac_exeext; then
22255 eval "$as_ac_var=yes"
22257 echo "$as_me: failed program was:" >&5
22258 sed 's
/^
/|
/' conftest.$ac_ext >&5
22260 eval "$as_ac_var=no"
22263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22264 conftest$ac_exeext conftest.$ac_ext
22266 ac_res=`eval echo '${'$as_ac_var'}'`
22267 { echo "$as_me:$LINENO: result: $ac_res" >&5
22268 echo "${ECHO_T}$ac_res" >&6; }
22269 if test `eval echo '${'$as_ac_var'}'` = yes; then
22270 cat >>confdefs.h <<_ACEOF
22271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22280 # If we don't have everything we want
, check
in libintl
22282 if test "$gt_cv_func_dgettext_libc" != "yes" \
22283 ||
test "$gt_cv_func_ngettext_libc" != "yes" \
22284 ||
test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
22286 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
22287 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
22288 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
22289 echo $ECHO_N "(cached) $ECHO_C" >&6
22291 ac_check_lib_save_LIBS
=$LIBS
22292 LIBS
="-lintl $LIBS"
22293 cat >conftest.
$ac_ext <<_ACEOF
22296 cat confdefs.h
>>conftest.
$ac_ext
22297 cat >>conftest.
$ac_ext <<_ACEOF
22298 /* end confdefs.h. */
22300 /* Override any GCC internal prototype to avoid an error.
22301 Use char because int might match the return type of a GCC
22302 builtin and then its argument prototype would still apply. */
22306 char bindtextdomain ();
22310 return bindtextdomain ();
22315 rm -f conftest.
$ac_objext conftest
$ac_exeext
22316 if { (ac_try
="$ac_link"
22317 case "(($ac_try" in
22318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22319 *) ac_try_echo=$ac_try;;
22321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22322 (eval "$ac_link") 2>conftest.er1
22324 grep -v '^ *+' conftest.er1 >conftest.err
22326 cat conftest.err >&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); } && {
22329 test -z "$ac_c_werror_flag" ||
22330 test ! -s conftest.err
22331 } && test -s conftest$ac_exeext &&
22332 $as_test_x conftest$ac_exeext; then
22333 ac_cv_lib_intl_bindtextdomain=yes
22335 echo "$as_me: failed program was:" >&5
22336 sed 's/^/| /' conftest.$ac_ext >&5
22338 ac_cv_lib_intl_bindtextdomain=no
22341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22342 conftest$ac_exeext conftest.$ac_ext
22343 LIBS=$ac_check_lib_save_LIBS
22345 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
22346 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
22347 if test $ac_cv_lib_intl_bindtextdomain = yes; then
22348 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
22349 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
22350 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
22351 echo $ECHO_N "(cached) $ECHO_C" >&6
22353 ac_check_lib_save_LIBS=$LIBS
22354 LIBS="-lintl $LIBS"
22355 cat >conftest.$ac_ext <<_ACEOF
22358 cat confdefs.h >>conftest.$ac_ext
22359 cat >>conftest.$ac_ext <<_ACEOF
22360 /* end confdefs.h. */
22362 /* Override any GCC internal prototype to avoid an error.
22363 Use char because int might match the return type of a GCC
22364 builtin and then its argument prototype would still apply. */
22372 return ngettext ();
22377 rm -f conftest.$ac_objext conftest$ac_exeext
22378 if { (ac_try="$ac_link"
22379 case "(($ac_try" in
22380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22381 *) ac_try_echo
=$ac_try;;
22383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22384 (eval "$ac_link") 2>conftest.er1
22386 grep -v '^ *+' conftest.er1
>conftest.err
22388 cat conftest.err
>&5
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); } && {
22391 test -z "$ac_c_werror_flag" ||
22392 test ! -s conftest.err
22393 } && test -s conftest
$ac_exeext &&
22394 $as_test_x conftest
$ac_exeext; then
22395 ac_cv_lib_intl_ngettext
=yes
22397 echo "$as_me: failed program was:" >&5
22398 sed 's/^/| /' conftest.
$ac_ext >&5
22400 ac_cv_lib_intl_ngettext
=no
22403 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22404 conftest
$ac_exeext conftest.
$ac_ext
22405 LIBS
=$ac_check_lib_save_LIBS
22407 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
22408 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
22409 if test $ac_cv_lib_intl_ngettext = yes; then
22410 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
22411 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
22412 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
22413 echo $ECHO_N "(cached) $ECHO_C" >&6
22415 ac_check_lib_save_LIBS
=$LIBS
22416 LIBS
="-lintl $LIBS"
22417 cat >conftest.
$ac_ext <<_ACEOF
22420 cat confdefs.h
>>conftest.
$ac_ext
22421 cat >>conftest.
$ac_ext <<_ACEOF
22422 /* end confdefs.h. */
22424 /* Override any GCC internal prototype to avoid an error.
22425 Use char because int might match the return type of a GCC
22426 builtin and then its argument prototype would still apply. */
22434 return dgettext ();
22439 rm -f conftest.
$ac_objext conftest
$ac_exeext
22440 if { (ac_try
="$ac_link"
22441 case "(($ac_try" in
22442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22443 *) ac_try_echo=$ac_try;;
22445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22446 (eval "$ac_link") 2>conftest.er1
22448 grep -v '^ *+' conftest.er1 >conftest.err
22450 cat conftest.err >&5
22451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452 (exit $ac_status); } && {
22453 test -z "$ac_c_werror_flag" ||
22454 test ! -s conftest.err
22455 } && test -s conftest$ac_exeext &&
22456 $as_test_x conftest$ac_exeext; then
22457 ac_cv_lib_intl_dgettext=yes
22459 echo "$as_me: failed program was:" >&5
22460 sed 's/^/| /' conftest.$ac_ext >&5
22462 ac_cv_lib_intl_dgettext=no
22465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22466 conftest$ac_exeext conftest.$ac_ext
22467 LIBS=$ac_check_lib_save_LIBS
22469 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
22470 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
22471 if test $ac_cv_lib_intl_dgettext = yes; then
22472 gt_cv_func_dgettext_libintl=yes
22480 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
22481 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
22482 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
22483 { echo "$as_me:$LINENO: result: " >&5
22484 echo "${ECHO_T}" >&6; }
22485 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
22486 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
22487 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
22488 echo $ECHO_N "(cached) $ECHO_C" >&6
22490 ac_check_lib_save_LIBS=$LIBS
22491 LIBS="-lintl -liconv $LIBS"
22492 cat >conftest.$ac_ext <<_ACEOF
22495 cat confdefs.h >>conftest.$ac_ext
22496 cat >>conftest.$ac_ext <<_ACEOF
22497 /* end confdefs.h. */
22499 /* Override any GCC internal prototype to avoid an error.
22500 Use char because int might match the return type of a GCC
22501 builtin and then its argument prototype would still apply. */
22509 return ngettext ();
22514 rm -f conftest.$ac_objext conftest$ac_exeext
22515 if { (ac_try="$ac_link"
22516 case "(($ac_try" in
22517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22518 *) ac_try_echo
=$ac_try;;
22520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22521 (eval "$ac_link") 2>conftest.er1
22523 grep -v '^ *+' conftest.er1
>conftest.err
22525 cat conftest.err
>&5
22526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22527 (exit $ac_status); } && {
22528 test -z "$ac_c_werror_flag" ||
22529 test ! -s conftest.err
22530 } && test -s conftest
$ac_exeext &&
22531 $as_test_x conftest
$ac_exeext; then
22532 ac_cv_lib_intl_ngettext
=yes
22534 echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.
$ac_ext >&5
22537 ac_cv_lib_intl_ngettext
=no
22540 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22541 conftest
$ac_exeext conftest.
$ac_ext
22542 LIBS
=$ac_check_lib_save_LIBS
22544 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
22545 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
22546 if test $ac_cv_lib_intl_ngettext = yes; then
22547 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
22548 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
22549 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
22550 echo $ECHO_N "(cached) $ECHO_C" >&6
22552 ac_check_lib_save_LIBS
=$LIBS
22553 LIBS
="-lintl -liconv $LIBS"
22554 cat >conftest.
$ac_ext <<_ACEOF
22557 cat confdefs.h
>>conftest.
$ac_ext
22558 cat >>conftest.
$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22561 /* Override any GCC internal prototype to avoid an error.
22562 Use char because int might match the return type of a GCC
22563 builtin and then its argument prototype would still apply. */
22571 return dcgettext ();
22576 rm -f conftest.
$ac_objext conftest
$ac_exeext
22577 if { (ac_try
="$ac_link"
22578 case "(($ac_try" in
22579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22580 *) ac_try_echo=$ac_try;;
22582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22583 (eval "$ac_link") 2>conftest.er1
22585 grep -v '^ *+' conftest.er1 >conftest.err
22587 cat conftest.err >&5
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); } && {
22590 test -z "$ac_c_werror_flag" ||
22591 test ! -s conftest.err
22592 } && test -s conftest$ac_exeext &&
22593 $as_test_x conftest$ac_exeext; then
22594 ac_cv_lib_intl_dcgettext=yes
22596 echo "$as_me: failed program was:" >&5
22597 sed 's/^/| /' conftest.$ac_ext >&5
22599 ac_cv_lib_intl_dcgettext=no
22602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22603 conftest$ac_exeext conftest.$ac_ext
22604 LIBS=$ac_check_lib_save_LIBS
22606 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
22607 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
22608 if test $ac_cv_lib_intl_dcgettext = yes; then
22609 gt_cv_func_dgettext_libintl=yes
22610 libintl_extra_libs=-liconv
22622 # If we found libintl, then check in it for bind_textdomain_codeset();
22623 # we'll prefer libc if neither have bind_textdomain_codeset(),
22624 # and both have dgettext and ngettext
22626 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
22627 glib_save_LIBS="$LIBS"
22628 LIBS="$LIBS -lintl $libintl_extra_libs"
22629 unset ac_cv_func_bind_textdomain_codeset
22631 for ac_func in bind_textdomain_codeset
22633 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
22634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22637 echo $ECHO_N "(cached) $ECHO_C" >&6
22639 cat >conftest.$ac_ext <<_ACEOF
22642 cat confdefs.h >>conftest.$ac_ext
22643 cat >>conftest.$ac_ext <<_ACEOF
22644 /* end confdefs.h. */
22645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22647 #define $ac_func innocuous_$ac_func
22649 /* System header to define __stub macros and hopefully few prototypes,
22650 which can conflict with char $ac_func (); below.
22651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22652 <limits.h> exists even on freestanding compilers. */
22655 # include <limits.h>
22657 # include <assert.h>
22662 /* Override any GCC internal prototype to avoid an error.
22663 Use char because int might match the return type of a GCC
22664 builtin and then its argument prototype would still apply. */
22669 /* The GNU C library defines this for functions which it implements
22670 to always fail with ENOSYS. Some functions are actually named
22671 something starting with __ and the normal name is an alias. */
22672 #if defined __stub_$ac_func || defined __stub___$ac_func
22679 return $ac_func ();
22684 rm -f conftest.$ac_objext conftest$ac_exeext
22685 if { (ac_try="$ac_link"
22686 case "(($ac_try" in
22687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22688 *) ac_try_echo
=$ac_try;;
22690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22691 (eval "$ac_link") 2>conftest.er1
22693 grep -v '^ *+' conftest.er1
>conftest.err
22695 cat conftest.err
>&5
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); } && {
22698 test -z "$ac_c_werror_flag" ||
22699 test ! -s conftest.err
22700 } && test -s conftest
$ac_exeext &&
22701 $as_test_x conftest
$ac_exeext; then
22702 eval "$as_ac_var=yes"
22704 echo "$as_me: failed program was:" >&5
22705 sed 's/^/| /' conftest.
$ac_ext >&5
22707 eval "$as_ac_var=no"
22710 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22711 conftest
$ac_exeext conftest.
$ac_ext
22713 ac_res
=`eval echo '${'$as_ac_var'}'`
22714 { echo "$as_me:$LINENO: result: $ac_res" >&5
22715 echo "${ECHO_T}$ac_res" >&6; }
22716 if test `eval echo '${'$as_ac_var'}'` = yes; then
22717 cat >>confdefs.h
<<_ACEOF
22718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22724 LIBS
="$glib_save_LIBS"
22726 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
22727 gt_cv_func_dgettext_libc
=no
22729 if test "$gt_cv_func_dgettext_libc" = "yes" \
22730 && test "$gt_cv_func_ngettext_libc" = "yes"; then
22731 gt_cv_func_dgettext_libintl
=no
22737 if test "$gt_cv_func_dgettext_libc" = "yes" \
22738 ||
test "$gt_cv_func_dgettext_libintl" = "yes"; then
22739 gt_cv_have_gettext
=yes
22742 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
22743 INTLLIBS
="-lintl $libintl_extra_libs"
22746 if test "$gt_cv_have_gettext" = "yes"; then
22748 cat >>confdefs.h
<<\_ACEOF
22749 #define HAVE_GETTEXT 1
22752 # Extract the first word of "msgfmt", so it can be a program name with args.
22753 set dummy msgfmt
; ac_word
=$2
22754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22756 if test "${ac_cv_path_MSGFMT+set}" = set; then
22757 echo $ECHO_N "(cached) $ECHO_C" >&6
22761 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
22764 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
22765 for ac_dir
in $PATH; do
22766 test -z "$ac_dir" && ac_dir
=.
22767 if test -f $ac_dir/$ac_word; then
22768 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
22769 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
22775 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
22779 MSGFMT
="$ac_cv_path_MSGFMT"
22780 if test "$MSGFMT" != "no"; then
22781 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
22782 echo "${ECHO_T}$MSGFMT" >&6; }
22784 { echo "$as_me:$LINENO: result: no" >&5
22785 echo "${ECHO_T}no" >&6; }
22787 if test "$MSGFMT" != "no"; then
22788 glib_save_LIBS
="$LIBS"
22789 LIBS
="$LIBS $INTLLIBS"
22791 for ac_func
in dcgettext
22793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22794 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22796 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22797 echo $ECHO_N "(cached) $ECHO_C" >&6
22799 cat >conftest.
$ac_ext <<_ACEOF
22802 cat confdefs.h
>>conftest.
$ac_ext
22803 cat >>conftest.
$ac_ext <<_ACEOF
22804 /* end confdefs.h. */
22805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22807 #define $ac_func innocuous_$ac_func
22809 /* System header to define __stub macros and hopefully few prototypes,
22810 which can conflict with char $ac_func (); below.
22811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22812 <limits.h> exists even on freestanding compilers. */
22815 # include <limits.h>
22817 # include <assert.h>
22822 /* Override any GCC internal prototype to avoid an error.
22823 Use char because int might match the return type of a GCC
22824 builtin and then its argument prototype would still apply. */
22829 /* The GNU C library defines this for functions which it implements
22830 to always fail with ENOSYS. Some functions are actually named
22831 something starting with __ and the normal name is an alias. */
22832 #if defined __stub_$ac_func || defined __stub___$ac_func
22839 return $ac_func ();
22844 rm -f conftest.
$ac_objext conftest
$ac_exeext
22845 if { (ac_try
="$ac_link"
22846 case "(($ac_try" in
22847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22848 *) ac_try_echo=$ac_try;;
22850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22851 (eval "$ac_link") 2>conftest.er1
22853 grep -v '^ *+' conftest.er1 >conftest.err
22855 cat conftest.err >&5
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); } && {
22858 test -z "$ac_c_werror_flag" ||
22859 test ! -s conftest.err
22860 } && test -s conftest$ac_exeext &&
22861 $as_test_x conftest$ac_exeext; then
22862 eval "$as_ac_var=yes"
22864 echo "$as_me: failed program was:" >&5
22865 sed 's/^/| /' conftest.$ac_ext >&5
22867 eval "$as_ac_var=no"
22870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22871 conftest$ac_exeext conftest.$ac_ext
22873 ac_res=`eval echo '${'$as_ac_var'}'`
22874 { echo "$as_me:$LINENO: result: $ac_res" >&5
22875 echo "${ECHO_T}$ac_res" >&6; }
22876 if test `eval echo '${'$as_ac_var'}'` = yes; then
22877 cat >>confdefs.h <<_ACEOF
22878 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
22885 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
22886 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
22887 cat >conftest.foo <<_ACEOF
22891 "Content-Type: text/plain; charset=UTF-8\n"
22892 "Project-Id-Version: test 1.0\n"
22893 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
22894 "Last-Translator: test <foo@bar.xx>\n"
22895 "Language-Team: C <LL@li.org>\n"
22896 "MIME-Version: 1.0\n"
22897 "Content-Transfer-Encoding: 8bit\n"
22900 if { (echo "$as_me:$LINENO: msgfmt -c -o /dev/null conftest.foo") >&5
22901 (msgfmt -c -o /dev/null conftest.foo) 2>&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); }; then
22905 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
22906 echo "${ECHO_T}yes" >&6; }
22907 else { echo "$as_me:$LINENO: result: no" >&5
22908 echo "${ECHO_T}no" >&6; }
22909 echo "$as_me: failed input was:" >&5
22910 sed 's/^/| /' conftest.foo >&5
22913 # Extract the first word of "gmsgfmt", so it can be a program name with args.
22914 set dummy gmsgfmt; ac_word=$2
22915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22917 if test "${ac_cv_path_GMSGFMT+set}" = set; then
22918 echo $ECHO_N "(cached) $ECHO_C" >&6
22922 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22926 for as_dir in $PATH
22929 test -z "$as_dir" && as_dir=.
22930 for ac_exec_ext in '' $ac_executable_extensions; do
22931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22932 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22940 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22944 GMSGFMT=$ac_cv_path_GMSGFMT
22945 if test -n "$GMSGFMT"; then
22946 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22947 echo "${ECHO_T}$GMSGFMT" >&6; }
22949 { echo "$as_me:$LINENO: result: no" >&5
22950 echo "${ECHO_T}no" >&6; }
22954 # Extract the first word of "xgettext", so it can be a program name with args.
22955 set dummy xgettext; ac_word=$2
22956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22958 if test "${ac_cv_path_XGETTEXT+set}" = set; then
22959 echo $ECHO_N "(cached) $ECHO_C" >&6
22961 case "$XGETTEXT" in
22963 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22966 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22967 for ac_dir in $PATH; do
22968 test -z "$ac_dir" && ac_dir=.
22969 if test -f $ac_dir/$ac_word; then
22970 if test -z "`$ac_dir/$ac_word -h 2>&1 |
grep '(HELP)'`"; then
22971 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22977 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22981 XGETTEXT="$ac_cv_path_XGETTEXT"
22982 if test "$XGETTEXT" != ":"; then
22983 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22984 echo "${ECHO_T}$XGETTEXT" >&6; }
22986 { echo "$as_me:$LINENO: result: no" >&5
22987 echo "${ECHO_T}no" >&6; }
22990 cat >conftest.$ac_ext <<_ACEOF
22993 cat confdefs.h >>conftest.$ac_ext
22994 cat >>conftest.$ac_ext <<_ACEOF
22995 /* end confdefs.h. */
23000 extern int _nl_msg_cat_cntr;
23001 return _nl_msg_cat_cntr
23006 rm -f conftest.$ac_objext conftest$ac_exeext
23007 if { (ac_try="$ac_link"
23008 case "(($ac_try" in
23009 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23010 *) ac_try_echo
=$ac_try;;
23012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23013 (eval "$ac_link") 2>conftest.er1
23015 grep -v '^ *+' conftest.er1
>conftest.err
23017 cat conftest.err
>&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); } && {
23020 test -z "$ac_c_werror_flag" ||
23021 test ! -s conftest.err
23022 } && test -s conftest
$ac_exeext &&
23023 $as_test_x conftest
$ac_exeext; then
23027 echo "$as_me: failed program was:" >&5
23028 sed 's/^/| /' conftest.
$ac_ext >&5
23032 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
23033 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
23034 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
23035 echo $ECHO_N "(cached) $ECHO_C" >&6
23037 cat >conftest.
$ac_ext <<_ACEOF
23040 cat confdefs.h
>>conftest.
$ac_ext
23041 cat >>conftest.
$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23043 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
23044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23045 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
23047 /* System header to define __stub macros and hopefully few prototypes,
23048 which can conflict with char bind_textdomain_codeset (); below.
23049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23050 <limits.h> exists even on freestanding compilers. */
23053 # include <limits.h>
23055 # include <assert.h>
23058 #undef bind_textdomain_codeset
23060 /* Override any GCC internal prototype to avoid an error.
23061 Use char because int might match the return type of a GCC
23062 builtin and then its argument prototype would still apply. */
23066 char bind_textdomain_codeset ();
23067 /* The GNU C library defines this for functions which it implements
23068 to always fail with ENOSYS. Some functions are actually named
23069 something starting with __ and the normal name is an alias. */
23070 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
23077 return bind_textdomain_codeset ();
23082 rm -f conftest.
$ac_objext conftest
$ac_exeext
23083 if { (ac_try
="$ac_link"
23084 case "(($ac_try" in
23085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23086 *) ac_try_echo=$ac_try;;
23088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23089 (eval "$ac_link") 2>conftest.er1
23091 grep -v '^ *+' conftest.er1 >conftest.err
23093 cat conftest.err >&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); } && {
23096 test -z "$ac_c_werror_flag" ||
23097 test ! -s conftest.err
23098 } && test -s conftest$ac_exeext &&
23099 $as_test_x conftest$ac_exeext; then
23100 ac_cv_func_bind_textdomain_codeset=yes
23102 echo "$as_me: failed program was:" >&5
23103 sed 's/^/| /' conftest.$ac_ext >&5
23105 ac_cv_func_bind_textdomain_codeset=no
23108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23109 conftest$ac_exeext conftest.$ac_ext
23111 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
23112 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
23113 if test $ac_cv_func_bind_textdomain_codeset = yes; then
23129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23130 conftest$ac_exeext conftest.$ac_ext
23131 LIBS="$glib_save_LIBS"
23134 gt_cv_have_gettext=no
23142 if test "$gt_cv_have_gettext" = "yes" ; then
23144 cat >>confdefs.h <<\_ACEOF
23145 #define ENABLE_NLS 1
23150 if test "$XGETTEXT" != ":"; then
23151 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
23154 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
23155 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
23160 # We need to process the po/ directory.
23163 ac_config_commands="$ac_config_commands default-1"
23166 for lang in $ALL_LINGUAS; do
23167 GMOFILES="$GMOFILES $lang.gmo"
23168 POFILES="$POFILES $lang.po"
23183 if test "$gt_cv_have_gettext" = "yes"; then
23184 if test "x$ALL_LINGUAS" = "x"; then
23187 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
23188 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
23190 for presentlang in $ALL_LINGUAS; do
23192 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
23193 desiredlanguages="$LINGUAS"
23195 desiredlanguages="$ALL_LINGUAS"
23197 for desiredlang in $desiredlanguages; do
23198 # Use the presentlang catalog if desiredlang is
23199 # a. equal to presentlang, or
23200 # b. a variant of presentlang (because in this case,
23201 # presentlang can be used as a fallback for messages
23202 # which are not translated in the desiredlang catalog).
23203 case "$desiredlang" in
23204 "$presentlang"*) useit=yes;;
23207 if test $useit = yes; then
23208 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
23211 LINGUAS=$NEW_LINGUAS
23212 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
23213 echo "${ECHO_T}$LINGUAS" >&6; }
23216 if test -n "$LINGUAS"; then
23217 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
23222 if test -n "$ac_aux_dir"; then
23223 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
23225 if test -z "$MKINSTALLDIRS"; then
23226 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
23230 test -d po || mkdir po
23231 if test "x$srcdir" != "x."; then
23232 if test "x`echo $srcdir |
sed 's@/.*@@'`" = "x"; then
23233 posrcprefix="$srcdir/"
23235 posrcprefix="../$srcdir/"
23241 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
23242 < $srcdir/po/POTFILES.in > po/POTFILES
23245 # To make application visible in maemo Task Navigator it needs a Desktop
23246 # file for the application.
23247 # D-BUS service file is needed to be able to launch the maemo application
23248 # and connect it to D-BUS services.
23249 # The following line defines install directories for these files.
23250 desktopentrydir=/usr/share/applications/hildon
23251 serviceentrydir=/usr/share/dbus-1/services
23253 # Application locale install directory
23254 localedir=/usr/share/locale
23256 # Application pixmaps install directory
23257 pixmapdir=/usr/share/pixmaps/$PACKAGE
23259 # Application icon install directories
23260 icon_26x26dir=$datadir/icons/hicolor/26x26/hildon
23261 icon_34x34dir=$datadir/icons/hicolor/34x34/hildon
23262 icon_40x40dir=$datadir/icons/hicolor/40x40/hildon
23263 icon_50x50dir=$datadir/icons/hicolor/50x50/hildon
23264 icon_scalabledir=$datadir/icons/hicolor/scalable/hildon
23266 # Hildon control panel plugin install directories
23267 pluginlibdir=`$PKG_CONFIG hildon-control-panel
--variable=plugindir
`
23268 plugindesktopentrydir=`$PKG_CONFIG hildon-control-panel
--variable=plugindesktopentrydir
`
23270 # Define as variables in Makefiles
23283 # Application Installer uses alternative root prefix /var/lib/install
23284 # where packages are installed. Build time and run time are different.
23285 # Define runtime paths to applications in config.h.
23286 #runtime_root=/var/lib/install
23287 #runtime_localedir=$runtime_root$localedir
23288 #runtime_pixmapdir=$runtime_root$pixmapdir
23291 cat >>confdefs.h <<_ACEOF
23292 #define LOCALEDIR "${localedir}"
23296 cat >>confdefs.h <<_ACEOF
23297 #define PIXMAPDIR "${pixmapdir}"
23301 # Produce output files
23302 ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile po/Makefile.in po/Makefile"
23304 cat >confcache <<\_ACEOF
23305 # This file is a shell script that caches the results of configure
23306 # tests run on this system so they can be shared between configure
23307 # scripts and configure runs, see configure's option --config-cache.
23308 # It is not useful on other systems. If it contains results you don't
23309 # want to keep, you may remove or edit it.
23311 # config.status only pays attention to the cache file if you give it
23312 # the --recheck option to rerun configure.
23314 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
23315 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23316 # following values.
23320 # The following way of writing the cache mishandles newlines in values,
23321 # but we know of no workaround that is simple, portable, and efficient.
23322 # So, we kill variables containing newlines.
23323 # Ultrix sh set writes to stderr and can't be redirected directly,
23324 # and sets the high bit in the cache file unless we assign to the vars.
23326 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23327 eval ac_val
=\$
$ac_var
23331 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23332 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23335 _ | IFS | as_nl
) ;; #(
23336 *) $as_unset $ac_var ;;
23342 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23343 *${as_nl}ac_space
=\
*)
23344 # `set' does not quote correctly, so add quotes (double-quote
23345 # substitution turns \\\\ into \\, and sed turns \\ into \).
23348 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23351 # `set' quotes correctly as required by POSIX, so do not add quotes.
23352 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23361 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23363 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23365 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23366 if test -w "$cache_file"; then
23367 test "x$cache_file" != "x/dev/null" &&
23368 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23369 echo "$as_me: updating cache $cache_file" >&6;}
23370 cat confcache
>$cache_file
23372 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23373 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23378 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23379 # Let make expand exec_prefix.
23380 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23382 DEFS
=-DHAVE_CONFIG_H
23386 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23387 # 1. Remove the extension, and $U if already installed.
23388 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23389 ac_i
=`echo "$ac_i" | sed "$ac_script"`
23390 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23391 # will be set to the directory where LIBOBJS objects are built.
23392 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23393 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23395 LIBOBJS
=$ac_libobjs
23397 LTLIBOBJS
=$ac_ltlibobjs
23400 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23401 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23402 Usually this means the macro was only invoked conditionally." >&5
23403 echo "$as_me: error: conditional \"AMDEP\" was never defined.
23404 Usually this means the macro was only invoked conditionally." >&2;}
23405 { (exit 1); exit 1; }; }
23407 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23408 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23409 Usually this means the macro was only invoked conditionally." >&5
23410 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23411 Usually this means the macro was only invoked conditionally." >&2;}
23412 { (exit 1); exit 1; }; }
23414 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23415 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23416 Usually this means the macro was only invoked conditionally." >&5
23417 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23418 Usually this means the macro was only invoked conditionally." >&2;}
23419 { (exit 1); exit 1; }; }
23422 ac_config_commands
="$ac_config_commands po/stamp-it"
23426 : ${CONFIG_STATUS=./config.status}
23427 ac_clean_files_save
=$ac_clean_files
23428 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23429 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23430 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23431 cat >$CONFIG_STATUS <<_ACEOF
23433 # Generated by $as_me.
23434 # Run this file to recreate the current configuration.
23435 # Compiler output produced by configure, useful for debugging
23436 # configure, is in config.log if it exists.
23439 ac_cs_recheck=false
23441 SHELL=\${CONFIG_SHELL-$SHELL}
23444 cat >>$CONFIG_STATUS <<\_ACEOF
23445 ## --------------------- ##
23446 ## M4sh Initialization. ##
23447 ## --------------------- ##
23449 # Be more Bourne compatible
23450 DUALCASE
=1; export DUALCASE
# for MKS sh
23451 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23454 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23455 # is contrary to our usage. Disable this feature.
23456 alias -g '${1+"$@"}'='"$@"'
23457 setopt NO_GLOB_SUBST
23459 case `(set -o) 2>/dev/null` in
23460 *posix
*) set -o posix
;;
23469 # Avoid depending upon Character Ranges.
23470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23473 as_cr_digits
='0123456789'
23474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23476 # The user is always right.
23477 if test "${PATH_SEPARATOR+set}" != set; then
23478 echo "#! /bin/sh" >conf$$.sh
23479 echo "exit 0" >>conf$$.sh
23481 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23489 # Support unset when possible.
23490 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23498 # We need space, tab and new line, in precisely that order. Quoting is
23499 # there to prevent editors from complaining about space-tab.
23500 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23501 # splitting by setting IFS to empty value.)
23506 # Find who we are. Look in the path if we contain no directory separator.
23508 *[\\/]* ) as_myself
=$0 ;;
23509 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23510 for as_dir
in $PATH
23513 test -z "$as_dir" && as_dir
=.
23514 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23520 # We did not find ourselves, most probably we were run as `sh COMMAND'
23521 # in which case we are not to be found in the path.
23522 if test "x$as_myself" = x
; then
23525 if test ! -f "$as_myself"; then
23526 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23527 { (exit 1); exit 1; }
23530 # Work around bugs in pre-3.0 UWIN ksh.
23531 for as_var
in ENV MAIL MAILPATH
23532 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23540 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23541 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23542 LC_TELEPHONE LC_TIME
23544 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23545 eval $as_var=C
; export $as_var
23547 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23551 # Required to use basename.
23552 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23553 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23559 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23560 as_basename
=basename
23566 # Name of the executable.
23567 as_me
=`$as_basename -- "$0" ||
23568 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23569 X"$0" : 'X\(//\)$' \| \
23570 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23572 sed '/^.*\/\([^/][^/]*\)\/*$/{
23591 as_lineno_1
=$LINENO
23592 as_lineno_2
=$LINENO
23593 test "x$as_lineno_1" != "x$as_lineno_2" &&
23594 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
23596 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23597 # uniformly replaced by the line number. The first 'sed' inserts a
23598 # line-number line after each line using $LINENO; the second 'sed'
23599 # does the real work. The second script uses 'N' to pair each
23600 # line-number line with the line containing $LINENO, and appends
23601 # trailing '-' during substitution so that $LINENO is not a special
23602 # case at line end.
23603 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23604 # scripts with optimization help from Paolo Bonzini. Blame Lee
23605 # E. McMahon (1931-1989) for sed's syntax. :-)
23617 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23620 ' >$as_me.lineno
&&
23621 chmod +x
"$as_me.lineno" ||
23622 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23623 { (exit 1); exit 1; }; }
23625 # Don't try to exec as it changes $[0], causing all sort of problems
23626 # (the dirname of $[0] is not the place where we might find the
23627 # original and so on. Autoconf is especially sensitive to this).
23628 .
"./$as_me.lineno"
23629 # Exit status is that of the last command.
23634 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23640 ECHO_C
= ECHO_N
= ECHO_T
=
23641 case `echo -n x` in
23643 case `echo 'x\c'` in
23644 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23651 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23652 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23658 rm -f conf$$ conf$$.exe conf$$.
file
23659 if test -d conf$$.dir
; then
23660 rm -f conf$$.dir
/conf$$.
file
23666 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23668 # ... but there are two gotchas:
23669 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23670 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23671 # In both cases, we have to default to `cp -p'.
23672 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23674 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23679 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23680 rmdir conf$$.dir
2>/dev
/null
23682 if mkdir
-p .
2>/dev
/null
; then
23685 test -d .
/-p && rmdir .
/-p
23689 if test -x / >/dev
/null
2>&1; then
23690 as_test_x
='test -x'
23692 if ls -dL / >/dev
/null
2>&1; then
23699 if test -d "$1"; then
23705 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23706 ???[sx]*):;;*)false;;esac;fi
23710 as_executable_p
=$as_test_x
23712 # Sed expression to map a string onto a valid CPP name.
23713 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23715 # Sed expression to map a string onto a valid variable name.
23716 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23721 # Save the log message, to keep $[0] and so on meaningful, and to
23722 # report actual input values of CONFIG_FILES etc. instead of their
23723 # values after options handling.
23725 This file was extended by $as_me, which was
23726 generated by GNU Autoconf 2.61. Invocation command line was
23728 CONFIG_FILES = $CONFIG_FILES
23729 CONFIG_HEADERS = $CONFIG_HEADERS
23730 CONFIG_LINKS = $CONFIG_LINKS
23731 CONFIG_COMMANDS = $CONFIG_COMMANDS
23734 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23739 cat >>$CONFIG_STATUS <<_ACEOF
23740 # Files that config.status was made for.
23741 config_files="$ac_config_files"
23742 config_headers="$ac_config_headers"
23743 config_commands="$ac_config_commands"
23747 cat >>$CONFIG_STATUS <<\_ACEOF
23749 \`$as_me' instantiates files from templates according to the
23750 current configuration.
23752 Usage: $0 [OPTIONS] [FILE]...
23754 -h, --help print this help, then exit
23755 -V, --version print version number and configuration settings, then exit
23756 -q, --quiet do not print progress messages
23757 -d, --debug don't remove temporary files
23758 --recheck update $as_me by reconfiguring in the same conditions
23759 --file=FILE[:TEMPLATE]
23760 instantiate the configuration file FILE
23761 --header=FILE[:TEMPLATE]
23762 instantiate the configuration header FILE
23764 Configuration files:
23767 Configuration headers:
23770 Configuration commands:
23773 Report bugs to <bug-autoconf@gnu.org>."
23776 cat >>$CONFIG_STATUS <<_ACEOF
23779 configured by $0, generated by GNU Autoconf 2.61,
23780 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23782 Copyright (C) 2006 Free Software Foundation, Inc.
23783 This config.status script is free software; the Free Software Foundation
23784 gives unlimited permission to copy, distribute and modify it."
23791 cat >>$CONFIG_STATUS <<\_ACEOF
23792 # If no file are specified by the user, then we need to provide default
23793 # value. By we need to know if files were specified by the user.
23799 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23800 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23811 # Handling of the options.
23812 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23814 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23815 echo "$ac_cs_version"; exit ;;
23816 --debug |
--debu |
--deb |
--de |
--d |
-d )
23818 --file |
--fil |
--fi |
--f )
23820 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23821 ac_need_defaults
=false
;;
23822 --header |
--heade |
--head |
--hea )
23824 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23825 ac_need_defaults
=false
;;
23827 # Conflict between --help and --header
23828 { echo "$as_me: error: ambiguous option: $1
23829 Try \`$0 --help' for more information." >&2
23830 { (exit 1); exit 1; }; };;
23831 --help |
--hel |
-h )
23832 echo "$ac_cs_usage"; exit ;;
23833 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23834 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23837 # This is an error.
23838 -*) { echo "$as_me: error: unrecognized option: $1
23839 Try \`$0 --help' for more information." >&2
23840 { (exit 1); exit 1; }; } ;;
23842 *) ac_config_targets
="$ac_config_targets $1"
23843 ac_need_defaults
=false
;;
23849 ac_configure_extra_args
=
23851 if $ac_cs_silent; then
23853 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23857 cat >>$CONFIG_STATUS <<_ACEOF
23858 if \$ac_cs_recheck; then
23859 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23860 CONFIG_SHELL=$SHELL
23861 export CONFIG_SHELL
23862 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23866 cat >>$CONFIG_STATUS <<\_ACEOF
23870 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23871 ## Running $as_me. ##
23877 cat >>$CONFIG_STATUS <<_ACEOF
23881 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23886 cat >>$CONFIG_STATUS <<\_ACEOF
23888 # Handling of arguments.
23889 for ac_config_target
in $ac_config_targets
23891 case $ac_config_target in
23892 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
23893 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23894 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
23895 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23896 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
23897 "data/Makefile") CONFIG_FILES
="$CONFIG_FILES data/Makefile" ;;
23898 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
23899 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
23900 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
23902 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23903 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23904 { (exit 1); exit 1; }; };;
23909 # If the user did not use the arguments to specify the items to instantiate,
23910 # then the envvar interface is used. Set only those that are not.
23911 # We use the long form for the default assignment because of an extremely
23912 # bizarre bug on SunOS 4.1.3.
23913 if $ac_need_defaults; then
23914 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23915 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23916 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23919 # Have a temporary directory for convenience. Make it in the build tree
23920 # simply because there is no reason against having it here, and in addition,
23921 # creating and moving files from /tmp can sometimes cause problems.
23922 # Hook for its removal unless debugging.
23923 # Note that there is a small window in which the directory will not be cleaned:
23924 # after its creation but before its name has been assigned to `$tmp'.
23928 trap 'exit_status=$?
23929 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23931 trap '{ (exit 1); exit 1; }' 1 2 13 15
23933 # Create a (secure) tmp directory for tmp files.
23936 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23937 test -n "$tmp" && test -d "$tmp"
23940 tmp
=.
/conf$$
-$RANDOM
23941 (umask 077 && mkdir
"$tmp")
23944 echo "$me: cannot create a temporary directory in ." >&2
23945 { (exit 1); exit 1; }
23949 # Set up the sed scripts for CONFIG_FILES section.
23952 # No need to generate the scripts if there are no CONFIG_FILES.
23953 # This happens for instance when ./config.status config.h
23954 if test -n "$CONFIG_FILES"; then
23961 for ac_last_try
in false false false false false
:; do
23962 cat >conf$
$subs.
sed <<_ACEOF
23963 SHELL!$SHELL$ac_delim
23964 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23965 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23966 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23967 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23968 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23969 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23970 exec_prefix!$exec_prefix$ac_delim
23971 prefix!$prefix$ac_delim
23972 program_transform_name!$program_transform_name$ac_delim
23973 bindir!$bindir$ac_delim
23974 sbindir!$sbindir$ac_delim
23975 libexecdir!$libexecdir$ac_delim
23976 datarootdir!$datarootdir$ac_delim
23977 datadir!$datadir$ac_delim
23978 sysconfdir!$sysconfdir$ac_delim
23979 sharedstatedir!$sharedstatedir$ac_delim
23980 localstatedir!$localstatedir$ac_delim
23981 includedir!$includedir$ac_delim
23982 oldincludedir!$oldincludedir$ac_delim
23983 docdir!$docdir$ac_delim
23984 infodir!$infodir$ac_delim
23985 htmldir!$htmldir$ac_delim
23986 dvidir!$dvidir$ac_delim
23987 pdfdir!$pdfdir$ac_delim
23988 psdir!$psdir$ac_delim
23989 libdir!$libdir$ac_delim
23990 localedir!$localedir$ac_delim
23991 mandir!$mandir$ac_delim
23992 DEFS!$DEFS$ac_delim
23993 ECHO_C!$ECHO_C$ac_delim
23994 ECHO_N!$ECHO_N$ac_delim
23995 ECHO_T!$ECHO_T$ac_delim
23996 LIBS!$LIBS$ac_delim
23997 build_alias!$build_alias$ac_delim
23998 host_alias!$host_alias$ac_delim
23999 target_alias!$target_alias$ac_delim
24000 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24001 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24002 INSTALL_DATA!$INSTALL_DATA$ac_delim
24003 CYGPATH_W!$CYGPATH_W$ac_delim
24004 PACKAGE!$PACKAGE$ac_delim
24005 VERSION!$VERSION$ac_delim
24006 ACLOCAL!$ACLOCAL$ac_delim
24007 AUTOCONF!$AUTOCONF$ac_delim
24008 AUTOMAKE!$AUTOMAKE$ac_delim
24009 AUTOHEADER!$AUTOHEADER$ac_delim
24010 MAKEINFO!$MAKEINFO$ac_delim
24011 AMTAR!$AMTAR$ac_delim
24012 install_sh!$install_sh$ac_delim
24013 STRIP!$STRIP$ac_delim
24014 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
24016 SET_MAKE!$SET_MAKE$ac_delim
24017 am__leading_dot!$am__leading_dot$ac_delim
24018 build!$build$ac_delim
24019 build_cpu!$build_cpu$ac_delim
24020 build_vendor!$build_vendor$ac_delim
24021 build_os!$build_os$ac_delim
24022 host!$host$ac_delim
24023 host_cpu!$host_cpu$ac_delim
24024 host_vendor!$host_vendor$ac_delim
24025 host_os!$host_os$ac_delim
24027 CFLAGS!$CFLAGS$ac_delim
24028 LDFLAGS!$LDFLAGS$ac_delim
24029 CPPFLAGS!$CPPFLAGS$ac_delim
24030 ac_ct_CC!$ac_ct_CC$ac_delim
24031 EXEEXT!$EXEEXT$ac_delim
24032 OBJEXT!$OBJEXT$ac_delim
24033 DEPDIR!$DEPDIR$ac_delim
24034 am__include!$am__include$ac_delim
24035 am__quote!$am__quote$ac_delim
24036 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
24037 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
24038 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
24039 CCDEPMODE!$CCDEPMODE$ac_delim
24040 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
24041 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
24043 RANLIB!$RANLIB$ac_delim
24044 GREP!$GREP$ac_delim
24045 EGREP!$EGREP$ac_delim
24046 LN_S!$LN_S$ac_delim
24047 ECHO!$ECHO$ac_delim
24050 CXXFLAGS!$CXXFLAGS$ac_delim
24051 ac_ct_CXX!$ac_ct_CXX$ac_delim
24052 CXXDEPMODE!$CXXDEPMODE$ac_delim
24053 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
24054 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
24055 CXXCPP!$CXXCPP$ac_delim
24057 FFLAGS!$FFLAGS$ac_delim
24058 ac_ct_F77!$ac_ct_F77$ac_delim
24059 LIBTOOL!$LIBTOOL$ac_delim
24062 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
24064 elif $ac_last_try; then
24065 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24066 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24067 { (exit 1); exit 1; }; }
24069 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24073 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24074 if test -n "$ac_eof"; then
24075 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24076 ac_eof
=`expr $ac_eof + 1`
24079 cat >>$CONFIG_STATUS <<_ACEOF
24080 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24081 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24084 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24085 s/^/s,@/; s/!/@,|#_!!_#|/
24088 s/'"$ac_delim"'$/,g/; t
24090 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24091 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24092 rm -f conf$
$subs.
sed
24093 cat >>$CONFIG_STATUS <<_ACEOF
24099 for ac_last_try
in false false false false false
:; do
24100 cat >conf$
$subs.
sed <<_ACEOF
24101 USE_NLS!$USE_NLS$ac_delim
24102 INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
24103 INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
24104 INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
24105 INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
24106 INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
24107 INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
24108 INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
24109 INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
24110 INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
24111 INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
24112 INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
24113 INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
24114 INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
24115 INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
24116 INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
24117 INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
24118 INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
24119 INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
24120 INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
24121 INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
24122 INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
24123 INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
24124 XGETTEXT!$XGETTEXT$ac_delim
24125 MSGMERGE!$MSGMERGE$ac_delim
24126 MSGFMT!$MSGFMT$ac_delim
24127 GMSGFMT!$GMSGFMT$ac_delim
24128 INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
24129 ALL_LINGUAS!$ALL_LINGUAS$ac_delim
24130 DATADIRNAME!$DATADIRNAME$ac_delim
24131 PKG_CONFIG!$PKG_CONFIG$ac_delim
24132 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
24133 HILDON_LIBS!$HILDON_LIBS$ac_delim
24134 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
24135 DBUS_LIBS!$DBUS_LIBS$ac_delim
24136 OSSO_CFLAGS!$OSSO_CFLAGS$ac_delim
24137 OSSO_LIBS!$OSSO_LIBS$ac_delim
24138 SQL3_CFLAGS!$SQL3_CFLAGS$ac_delim
24139 SQL3_LIBS!$SQL3_LIBS$ac_delim
24140 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
24141 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
24142 CATALOGS!$CATALOGS$ac_delim
24143 CATOBJEXT!$CATOBJEXT$ac_delim
24144 GMOFILES!$GMOFILES$ac_delim
24145 INSTOBJEXT!$INSTOBJEXT$ac_delim
24146 INTLLIBS!$INTLLIBS$ac_delim
24147 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
24148 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
24149 POFILES!$POFILES$ac_delim
24150 POSUB!$POSUB$ac_delim
24151 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
24152 desktopentrydir!$desktopentrydir$ac_delim
24153 serviceentrydir!$serviceentrydir$ac_delim
24154 pixmapdir!$pixmapdir$ac_delim
24155 icon_26x26dir!$icon_26x26dir$ac_delim
24156 icon_34x34dir!$icon_34x34dir$ac_delim
24157 icon_40x40dir!$icon_40x40dir$ac_delim
24158 icon_50x50dir!$icon_50x50dir$ac_delim
24159 icon_scalabledir!$icon_scalabledir$ac_delim
24160 pluginlibdir!$pluginlibdir$ac_delim
24161 plugindesktopentrydir!$plugindesktopentrydir$ac_delim
24162 LIBOBJS!$LIBOBJS$ac_delim
24163 LTLIBOBJS!$LTLIBOBJS$ac_delim
24166 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 63; then
24168 elif $ac_last_try; then
24169 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24170 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24171 { (exit 1); exit 1; }; }
24173 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24177 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24178 if test -n "$ac_eof"; then
24179 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24180 ac_eof
=`expr $ac_eof + 1`
24183 cat >>$CONFIG_STATUS <<_ACEOF
24184 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24185 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24188 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24189 s/^/s,@/; s/!/@,|#_!!_#|/
24192 s/'"$ac_delim"'$/,g/; t
24194 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24195 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24196 rm -f conf$
$subs.
sed
24197 cat >>$CONFIG_STATUS <<_ACEOF
24204 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24205 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24206 # trailing colons and then remove the whole line if VPATH becomes empty
24207 # (actually we leave an empty line to preserve line numbers).
24208 if test "x$srcdir" = x.
; then
24209 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
24210 s/:*\$(srcdir):*/:/
24211 s/:*\${srcdir}:*/:/
24213 s/^\([^=]*=[ ]*\):*/\1/
24219 cat >>$CONFIG_STATUS <<\_ACEOF
24220 fi # test -n "$CONFIG_FILES"
24223 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
24226 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24228 case $ac_mode$ac_tag in
24230 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24231 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24232 { (exit 1); exit 1; }; };;
24233 :[FH
]-) ac_tag
=-:-;;
24234 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24251 -) ac_f
="$tmp/stdin";;
24252 *) # Look for the file first in the build tree, then in the source tree
24253 # (if the path is not absolute). The absolute path cannot be DOS-style,
24254 # because $ac_f cannot contain `:'.
24258 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24260 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24261 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24262 { (exit 1); exit 1; }; };;
24264 ac_file_inputs
="$ac_file_inputs $ac_f"
24267 # Let's still pretend it is `configure' which instantiates (i.e., don't
24268 # use $as_me), people would be surprised to read:
24269 # /* config.h. Generated by config.status. */
24270 configure_input
="Generated from "`IFS=:
24271 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24272 if test x
"$ac_file" != x-
; then
24273 configure_input
="$ac_file. $configure_input"
24274 { echo "$as_me:$LINENO: creating $ac_file" >&5
24275 echo "$as_me: creating $ac_file" >&6;}
24279 *:-:* |
*:-) cat >"$tmp/stdin";;
24284 ac_dir
=`$as_dirname -- "$ac_file" ||
24285 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24286 X"$ac_file" : 'X\(//\)[^/]' \| \
24287 X"$ac_file" : 'X\(//\)$' \| \
24288 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24294 /^X\(\/\/\)[^/].*/{
24309 -*) as_dir
=.
/$as_dir;;
24311 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24315 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24316 *) as_qdir
=$as_dir;;
24318 as_dirs
="'$as_qdir' $as_dirs"
24319 as_dir
=`$as_dirname -- "$as_dir" ||
24320 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24321 X"$as_dir" : 'X\(//\)[^/]' \| \
24322 X"$as_dir" : 'X\(//\)$' \| \
24323 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24329 /^X\(\/\/\)[^/].*/{
24342 test -d "$as_dir" && break
24344 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24345 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24346 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24347 { (exit 1); exit 1; }; }; }
24351 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24353 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24354 # A ".." for each directory in $ac_dir_suffix.
24355 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24356 case $ac_top_builddir_sub in
24357 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24358 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24361 ac_abs_top_builddir
=$ac_pwd
24362 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24363 # for backward compatibility:
24364 ac_top_builddir
=$ac_top_build_prefix
24367 .
) # We are building in place.
24369 ac_top_srcdir
=$ac_top_builddir_sub
24370 ac_abs_top_srcdir
=$ac_pwd ;;
24371 [\\/]* | ?
:[\\/]* ) # Absolute name.
24372 ac_srcdir
=$srcdir$ac_dir_suffix;
24373 ac_top_srcdir
=$srcdir
24374 ac_abs_top_srcdir
=$srcdir ;;
24375 *) # Relative name.
24376 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24377 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24378 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24380 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24390 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24391 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24395 cat >>$CONFIG_STATUS <<\_ACEOF
24396 # If the template does not know about datarootdir, expand it.
24397 # FIXME: This hack should be removed a few years after 2.60.
24398 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24400 case `sed -n '/datarootdir/ {
24409 ' $ac_file_inputs` in
24410 *datarootdir
*) ac_datarootdir_seen
=yes;;
24411 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24412 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24413 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24415 cat >>$CONFIG_STATUS <<_ACEOF
24416 ac_datarootdir_hack='
24417 s&@datadir@&$datadir&g
24418 s&@docdir@&$docdir&g
24419 s&@infodir@&$infodir&g
24420 s&@localedir@&$localedir&g
24421 s&@mandir@&$mandir&g
24422 s&\\\${datarootdir}&$datarootdir&g' ;;
24426 # Neutralize VPATH when `$srcdir' = `.'.
24427 # Shell code in configure.ac might set extrasub.
24428 # FIXME: do we really want to maintain this feature?
24429 cat >>$CONFIG_STATUS <<_ACEOF
24433 cat >>$CONFIG_STATUS <<\_ACEOF
24435 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24436 s
&@configure_input@
&$configure_input&;t t
24437 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24438 s
&@srcdir@
&$ac_srcdir&;t t
24439 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24440 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24441 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24442 s
&@builddir@
&$ac_builddir&;t t
24443 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24444 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24445 s
&@INSTALL@
&$ac_INSTALL&;t t
24446 $ac_datarootdir_hack
24447 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
24449 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24450 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
24451 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
24452 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24453 which seems to be undefined. Please make sure it is defined." >&5
24454 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24455 which seems to be undefined. Please make sure it is defined." >&2;}
24459 -) cat "$tmp/out"; rm -f "$tmp/out";;
24460 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24469 # Transform confdefs.h into a sed script `conftest.defines', that
24470 # substitutes the proper values into config.h.in to produce config.h.
24471 rm -f conftest.defines conftest.
tail
24472 # First, append a space to every undef/define line, to ease matching.
24473 echo 's/$/ /' >conftest.defines
24474 # Then, protect against being on the right side of a sed subst, or in
24475 # an unquoted here document, in config.status. If some macros were
24476 # called several times there might be several #defines for the same
24477 # symbol, which is useless. But do not sort them, since the last
24478 # AC_DEFINE must be honored.
24479 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
24480 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24481 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24482 # PARAMS is the parameter list in the macro definition--in most cases, it's
24483 # just an empty string.
24484 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24485 ac_dB
='\\)[ (].*,\\1define\\2'
24493 s/^[ ]*#[ ]*define[ ][ ]*//
24498 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24499 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24500 ' >>conftest.defines
24502 # Remove the space that was appended to ease matching.
24503 # Then replace #undef with comments. This is necessary, for
24504 # example, in the case of _POSIX_SOURCE, which is predefined and required
24505 # on some systems where configure will not decide to define it.
24506 # (The regexp can be short, since the line contains either #define or #undef.)
24508 s,^[ #]*u.*,/* & */,' >>conftest.defines
24510 # Break up conftest.defines:
24511 ac_max_sed_lines
=50
24513 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24514 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24515 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24517 ac_in
='$ac_file_inputs'
24518 ac_out
='"$tmp/out1"'
24519 ac_nxt
='"$tmp/out2"'
24523 # Write a here document:
24524 cat >>$CONFIG_STATUS <<_ACEOF
24525 # First, check the format of the line:
24526 cat >"\$tmp/defines.sed" <<\\CEOF
24527 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24528 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24532 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
24534 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24535 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
24536 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
24537 grep . conftest.
tail >/dev
/null ||
break
24538 rm -f conftest.defines
24539 mv conftest.
tail conftest.defines
24541 rm -f conftest.defines conftest.
tail
24543 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24544 cat >>$CONFIG_STATUS <<\_ACEOF
24545 if test x
"$ac_file" != x-
; then
24546 echo "/* $configure_input */" >"$tmp/config.h"
24547 cat "$ac_result" >>"$tmp/config.h"
24548 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
24549 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24550 echo "$as_me: $ac_file is unchanged" >&6;}
24553 mv "$tmp/config.h" $ac_file
24556 echo "/* $configure_input */"
24560 # Compute $ac_file's index in $config_headers.
24562 for _am_header
in $config_headers :; do
24563 case $_am_header in
24564 $ac_file |
$ac_file:* )
24567 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24570 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
24571 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24572 X$ac_file : 'X\(//\)[^/]' \| \
24573 X$ac_file : 'X\(//\)$' \| \
24574 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
24576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24580 /^X\(\/\/\)[^/].*/{
24592 s/.*/./; q'`/stamp-h
$_am_stamp_count
24595 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24596 echo "$as_me: executing $ac_file commands" >&6;}
24601 case $ac_file$ac_mode in
24602 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
24603 # Strip MF so we end up with the name of the file.
24604 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24605 # Check whether this is an Automake generated Makefile or not.
24606 # We used to match only the files named `Makefile.in', but
24607 # some people rename them; so instead we look at the file content.
24608 # Grep'ing the first line is not enough: some people post-process
24609 # each Makefile.in and add a new line on top of each file to say so.
24610 # So let's grep whole file.
24611 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
24612 dirpart
=`$as_dirname -- "$mf" ||
24613 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24614 X"$mf" : 'X\(//\)[^/]' \| \
24615 X"$mf" : 'X\(//\)$' \| \
24616 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24622 /^X\(\/\/\)[^/].*/{
24638 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
24639 # Extract the definition of DEP_FILES from the Makefile without
24641 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
24642 test -z "$DEPDIR" && continue
24643 # When using ansi2knr, U may be empty or an underscore; expand it
24644 U
=`sed -n -e '/^U = / s///p' < "$mf"`
24645 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
24646 # We invoke sed twice because it is the simplest approach to
24647 # changing $(DEPDIR) to its actual value in the expansion.
24648 for file in `sed -n -e '
24649 /^DEP_FILES = .*\\\\$/ {
24658 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
24659 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24660 # Make sure the directory exists.
24661 test -f "$dirpart/$file" && continue
24662 fdir
=`$as_dirname -- "$file" ||
24663 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24664 X"$file" : 'X\(//\)[^/]' \| \
24665 X"$file" : 'X\(//\)$' \| \
24666 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24672 /^X\(\/\/\)[^/].*/{
24685 { as_dir
=$dirpart/$fdir
24687 -*) as_dir
=.
/$as_dir;;
24689 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24693 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24694 *) as_qdir
=$as_dir;;
24696 as_dirs
="'$as_qdir' $as_dirs"
24697 as_dir
=`$as_dirname -- "$as_dir" ||
24698 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24699 X"$as_dir" : 'X\(//\)[^/]' \| \
24700 X"$as_dir" : 'X\(//\)$' \| \
24701 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24707 /^X\(\/\/\)[^/].*/{
24720 test -d "$as_dir" && break
24722 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24723 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24724 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24725 { (exit 1); exit 1; }; }; }
24726 # echo "creating $dirpart/$file"
24727 echo '# dummy' > "$dirpart/$file"
24731 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
24732 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
24735 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" ; then
24736 { { echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
24737 echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
24738 { (exit 1); exit 1; }; }
24740 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
24745 '"s|^| $ac_top_srcdir/|" \
24746 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
24748 sed '/^POTFILES =/,/[^\\]$/ {
24752 ' "po/Makefile.in" >"po/Makefile"
24753 rm -f "po/Makefile.tmp"
24754 mv "po/stamp-it.tmp" "po/stamp-it"
24761 { (exit 0); exit 0; }
24763 chmod +x
$CONFIG_STATUS
24764 ac_clean_files
=$ac_clean_files_save
24767 # configure is writing to config.log, and then calls config.status.
24768 # config.status does its own redirection, appending to config.log.
24769 # Unfortunately, on DOS this fails, as config.log is still kept open
24770 # by configure, so config.status won't be able to write to it; its
24771 # output is simply discarded. So we exec the FD to /dev/null,
24772 # effectively closing config.log, so it can be properly (re)opened and
24773 # appended to by config.status. When coming back to configure, we
24774 # need to make the FD available again.
24775 if test "$no_create" != yes; then
24777 ac_config_status_args
=
24778 test "$silent" = yes &&
24779 ac_config_status_args
="$ac_config_status_args --quiet"
24781 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24783 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24784 # would make configure fail if this is the last instruction.
24785 $ac_cs_success ||
{ (exit 1); exit 1; }