2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL
=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec
; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo
; then
568 # Avoid inline document here, it may be left over
570 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $echo works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo
; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
591 if test -z "$ECHO"; then
592 if test "X${echo_test_string+set}" != Xset
; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
597 echo_test_string
=`eval $cmd` &&
598 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # The Solaris, AIX, and Digital Unix default echo programs unquote
611 # backslashes. This makes it impossible to quote backslashes using
612 # echo "$something" | sed 's/\\/\\\\/g'
614 # So, first we look for a working echo in the user's PATH.
616 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
617 for dir
in $PATH /usr
/ucb
; do
619 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
620 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622 test "X$echo_testing_string" = "X$echo_test_string"; then
629 if test "X$echo" = Xecho
; then
630 # We didn't find a better echo, so look for alternatives.
631 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # This shell has a builtin print -r that does the trick.
636 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
637 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
638 # If we have ksh, try running configure again with it.
639 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
640 export ORIGINAL_CONFIG_SHELL
641 CONFIG_SHELL
=/bin
/ksh
643 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
652 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653 test "X$echo_testing_string" = 'X\t' &&
654 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
656 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
658 SHELL
="$CONFIG_SHELL"
660 echo="$CONFIG_SHELL $0 --fallback-echo"
661 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662 test "X$echo_testing_string" = 'X\t' &&
663 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664 test "X$echo_testing_string" = "X$echo_test_string"; then
665 echo="$CONFIG_SHELL $0 --fallback-echo"
667 # maybe with a smaller string...
670 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
678 if test "$prev" != 'sed 50q "$0"'; then
679 echo_test_string
=`eval $prev`
680 export echo_test_string
681 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683 # Oops. We lost completely, so just stick with echo.
692 # Copy echo and quote the copy suitably for passing to libtool from
693 # the Makefile, instead of quoting the original, which is used later.
695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
702 tagnames
=${tagnames+${tagnames},}CXX
704 tagnames
=${tagnames+${tagnames},}F77
706 exec 7<&0 </dev
/null
6>&1
709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
716 ac_default_prefix
=/usr
/local
718 ac_config_libobj_dir
=.
724 SHELL
=${CONFIG_SHELL-/bin/sh}
726 # Identity of this package.
733 ac_unique_file
="Makefile.am"
734 # Factoring default headers for most tests.
735 ac_includes_default
="\
737 #ifdef HAVE_SYS_TYPES_H
738 # include <sys/types.h>
740 #ifdef HAVE_SYS_STAT_H
741 # include <sys/stat.h>
747 # ifdef HAVE_STDLIB_H
752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
757 #ifdef HAVE_STRINGS_H
758 # include <strings.h>
760 #ifdef HAVE_INTTYPES_H
761 # include <inttypes.h>
779 program_transform_name
821 INSTALL_STRIP_PROGRAM
874 INTLTOOL_DESKTOP_RULE
875 INTLTOOL_DIRECTORY_RULE
882 INTLTOOL_SOUNDLIST_RULE
887 INTLTOOL_XML_NOMERGE_RULE
889 INTLTOOL_SCHEMAS_RULE
891 INTLTOOL_SERVICE_RULE
932 plugindesktopentrydir
936 ac_precious_vars
='build_alias
964 # Initialize some variables set by options.
966 ac_init_version
=false
967 # The variables have the same names as the options, with
968 # dashes changed to underlines.
976 program_transform_name
=s
,x
,x
,
984 # Installation directory options.
985 # These are left unexpanded so users can "make install exec_prefix=/foo"
986 # and all the variables that are supposed to be based on exec_prefix
987 # by default will actually change.
988 # Use braces instead of parens because sh, perl, etc. also accept them.
989 # (The list follows the same order as the GNU Coding Standards.)
990 bindir
='${exec_prefix}/bin'
991 sbindir
='${exec_prefix}/sbin'
992 libexecdir
='${exec_prefix}/libexec'
993 datarootdir
='${prefix}/share'
994 datadir
='${datarootdir}'
995 sysconfdir
='${prefix}/etc'
996 sharedstatedir
='${prefix}/com'
997 localstatedir
='${prefix}/var'
998 includedir
='${prefix}/include'
999 oldincludedir
='/usr/include'
1000 docdir
='${datarootdir}/doc/${PACKAGE}'
1001 infodir
='${datarootdir}/info'
1006 libdir
='${exec_prefix}/lib'
1007 localedir
='${datarootdir}/locale'
1008 mandir
='${datarootdir}/man'
1014 # If the previous option needs an argument, assign it.
1015 if test -n "$ac_prev"; then
1016 eval $ac_prev=\
$ac_option
1022 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1026 # Accept the important Cygnus configure options, so we can diagnose typos.
1028 case $ac_dashdash$ac_option in
1032 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1034 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1035 bindir
=$ac_optarg ;;
1037 -build |
--build |
--buil |
--bui |
--bu)
1038 ac_prev
=build_alias
;;
1039 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1040 build_alias
=$ac_optarg ;;
1042 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1043 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1044 ac_prev
=cache_file
;;
1045 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1046 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1047 cache_file
=$ac_optarg ;;
1049 --config-cache |
-C)
1050 cache_file
=config.cache
;;
1052 -datadir |
--datadir |
--datadi |
--datad)
1054 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1055 datadir
=$ac_optarg ;;
1057 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1058 |
--dataroo |
--dataro |
--datar)
1059 ac_prev
=datarootdir
;;
1060 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1061 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1062 datarootdir
=$ac_optarg ;;
1064 -disable-* |
--disable-*)
1065 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1068 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1069 { (exit 1); exit 1; }; }
1070 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1071 eval enable_
$ac_feature=no
;;
1073 -docdir |
--docdir |
--docdi |
--doc |
--do)
1075 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1076 docdir
=$ac_optarg ;;
1078 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1080 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1081 dvidir
=$ac_optarg ;;
1083 -enable-* |
--enable-*)
1084 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1087 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1088 { (exit 1); exit 1; }; }
1089 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1090 eval enable_
$ac_feature=\
$ac_optarg ;;
1092 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1093 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1094 |
--exec |
--exe |
--ex)
1095 ac_prev
=exec_prefix
;;
1096 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1097 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1098 |
--exec=* |
--exe=* |
--ex=*)
1099 exec_prefix
=$ac_optarg ;;
1101 -gas |
--gas |
--ga |
--g)
1102 # Obsolete; use --with-gas.
1105 -help |
--help |
--hel |
--he |
-h)
1106 ac_init_help
=long
;;
1107 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1108 ac_init_help
=recursive
;;
1109 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1110 ac_init_help
=short
;;
1112 -host |
--host |
--hos |
--ho)
1113 ac_prev
=host_alias
;;
1114 -host=* |
--host=* |
--hos=* |
--ho=*)
1115 host_alias
=$ac_optarg ;;
1117 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1119 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1121 htmldir
=$ac_optarg ;;
1123 -includedir |
--includedir |
--includedi |
--included |
--include \
1124 |
--includ |
--inclu |
--incl |
--inc)
1125 ac_prev
=includedir
;;
1126 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1127 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1128 includedir
=$ac_optarg ;;
1130 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1132 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1133 infodir
=$ac_optarg ;;
1135 -libdir |
--libdir |
--libdi |
--libd)
1137 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1138 libdir
=$ac_optarg ;;
1140 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1141 |
--libexe |
--libex |
--libe)
1142 ac_prev
=libexecdir
;;
1143 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1144 |
--libexe=* |
--libex=* |
--libe=*)
1145 libexecdir
=$ac_optarg ;;
1147 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1148 ac_prev
=localedir
;;
1149 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1150 localedir
=$ac_optarg ;;
1152 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1153 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1154 ac_prev
=localstatedir
;;
1155 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1156 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1157 localstatedir
=$ac_optarg ;;
1159 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1161 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1162 mandir
=$ac_optarg ;;
1164 -nfp |
--nfp |
--nf)
1165 # Obsolete; use --without-fp.
1168 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1169 |
--no-cr |
--no-c |
-n)
1172 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1173 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1176 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1177 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1178 |
--oldin |
--oldi |
--old |
--ol |
--o)
1179 ac_prev
=oldincludedir
;;
1180 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1181 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1182 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1183 oldincludedir
=$ac_optarg ;;
1185 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1187 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1188 prefix
=$ac_optarg ;;
1190 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1191 |
--program-pre |
--program-pr |
--program-p)
1192 ac_prev
=program_prefix
;;
1193 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1194 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1195 program_prefix
=$ac_optarg ;;
1197 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1198 |
--program-suf |
--program-su |
--program-s)
1199 ac_prev
=program_suffix
;;
1200 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1201 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1202 program_suffix
=$ac_optarg ;;
1204 -program-transform-name |
--program-transform-name \
1205 |
--program-transform-nam |
--program-transform-na \
1206 |
--program-transform-n |
--program-transform- \
1207 |
--program-transform |
--program-transfor \
1208 |
--program-transfo |
--program-transf \
1209 |
--program-trans |
--program-tran \
1210 |
--progr-tra |
--program-tr |
--program-t)
1211 ac_prev
=program_transform_name
;;
1212 -program-transform-name=* |
--program-transform-name=* \
1213 |
--program-transform-nam=* |
--program-transform-na=* \
1214 |
--program-transform-n=* |
--program-transform-=* \
1215 |
--program-transform=* |
--program-transfor=* \
1216 |
--program-transfo=* |
--program-transf=* \
1217 |
--program-trans=* |
--program-tran=* \
1218 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1219 program_transform_name
=$ac_optarg ;;
1221 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1223 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1224 pdfdir
=$ac_optarg ;;
1226 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1228 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1231 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1232 |
-silent |
--silent |
--silen |
--sile |
--sil)
1235 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1237 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1239 sbindir
=$ac_optarg ;;
1241 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1242 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1243 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1245 ac_prev
=sharedstatedir
;;
1246 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1247 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1248 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1250 sharedstatedir
=$ac_optarg ;;
1252 -site |
--site |
--sit)
1254 -site=* |
--site=* |
--sit=*)
1257 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1259 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1260 srcdir
=$ac_optarg ;;
1262 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1263 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1264 ac_prev
=sysconfdir
;;
1265 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1266 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1267 sysconfdir
=$ac_optarg ;;
1269 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1270 ac_prev
=target_alias
;;
1271 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1272 target_alias
=$ac_optarg ;;
1274 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1277 -version |
--version |
--versio |
--versi |
--vers |
-V)
1278 ac_init_version
=: ;;
1281 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1282 # Reject names that are not valid shell variable names.
1283 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1284 { echo "$as_me: error: invalid package name: $ac_package" >&2
1285 { (exit 1); exit 1; }; }
1286 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1287 eval with_
$ac_package=\
$ac_optarg ;;
1289 -without-* |
--without-*)
1290 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1291 # Reject names that are not valid shell variable names.
1292 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1293 { echo "$as_me: error: invalid package name: $ac_package" >&2
1294 { (exit 1); exit 1; }; }
1295 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1296 eval with_
$ac_package=no
;;
1299 # Obsolete; use --with-x.
1302 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1303 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1304 ac_prev
=x_includes
;;
1305 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1306 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1307 x_includes
=$ac_optarg ;;
1309 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1310 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1311 ac_prev
=x_libraries
;;
1312 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1313 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1314 x_libraries
=$ac_optarg ;;
1316 -*) { echo "$as_me: error: unrecognized option: $ac_option
1317 Try \`$0 --help' for more information." >&2
1318 { (exit 1); exit 1; }; }
1322 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1323 # Reject names that are not valid shell variable names.
1324 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1325 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1326 { (exit 1); exit 1; }; }
1327 eval $ac_envvar=\
$ac_optarg
1328 export $ac_envvar ;;
1331 # FIXME: should be removed in autoconf 3.0.
1332 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1333 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1334 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1335 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1341 if test -n "$ac_prev"; then
1342 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1343 { echo "$as_me: error: missing argument to $ac_option" >&2
1344 { (exit 1); exit 1; }; }
1347 # Be sure to have absolute directory names.
1348 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1349 datadir sysconfdir sharedstatedir localstatedir includedir \
1350 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1351 libdir localedir mandir
1353 eval ac_val
=\$
$ac_var
1355 [\\/$
]* | ?
:[\\/]* ) continue;;
1356 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1358 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1359 { (exit 1); exit 1; }; }
1362 # There might be people who depend on the old broken behavior: `$host'
1363 # used to hold the argument of --host etc.
1364 # FIXME: To remove some day.
1367 target
=$target_alias
1369 # FIXME: To remove some day.
1370 if test "x$host_alias" != x
; then
1371 if test "x$build_alias" = x
; then
1372 cross_compiling
=maybe
1373 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1374 If a cross compiler is detected then cross compile mode will be used." >&2
1375 elif test "x$build_alias" != "x$host_alias"; then
1381 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1383 test "$silent" = yes && exec 6>/dev
/null
1386 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1387 ac_ls_di
=`ls -di .` &&
1388 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1389 { echo "$as_me: error: Working directory cannot be determined" >&2
1390 { (exit 1); exit 1; }; }
1391 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1392 { echo "$as_me: error: pwd does not report name of working directory" >&2
1393 { (exit 1); exit 1; }; }
1396 # Find the source files, if location was not specified.
1397 if test -z "$srcdir"; then
1398 ac_srcdir_defaulted
=yes
1399 # Try the directory containing this script, then the parent directory.
1400 ac_confdir
=`$as_dirname -- "$0" ||
1401 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1402 X"$0" : 'X\(//\)[^/]' \| \
1403 X"$0" : 'X\(//\)$' \| \
1404 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1428 ac_srcdir_defaulted
=no
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1431 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1432 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1433 { (exit 1); exit 1; }; }
1435 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1437 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1438 { (exit 1); exit 1; }; }
1440 # When building in place, set srcdir=.
1441 if test "$ac_abs_confdir" = "$ac_pwd"; then
1444 # Remove unnecessary trailing slashes from srcdir.
1445 # Double slashes in file names in object file debugging info
1446 # mess up M-x gdb in Emacs.
1448 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1450 for ac_var
in $ac_precious_vars; do
1451 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1452 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1453 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1454 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1458 # Report the --help message.
1460 if test "$ac_init_help" = "long"; then
1461 # Omit some internal or obsolete options to make the list less imposing.
1462 # This message is too long to be a string in the A/UX 3.1 sh.
1464 \`configure' configures this package to adapt to many kinds of systems.
1466 Usage: $0 [OPTION]... [VAR=VALUE]...
1468 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1469 VAR=VALUE. See below for descriptions of some of the useful variables.
1471 Defaults for the options are specified in brackets.
1474 -h, --help display this help and exit
1475 --help=short display options specific to this package
1476 --help=recursive display the short help of all the included packages
1477 -V, --version display version information and exit
1478 -q, --quiet, --silent do not print \`checking...' messages
1479 --cache-file=FILE cache test results in FILE [disabled]
1480 -C, --config-cache alias for \`--cache-file=config.cache'
1481 -n, --no-create do not create output files
1482 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1484 Installation directories:
1485 --prefix=PREFIX install architecture-independent files in PREFIX
1486 [$ac_default_prefix]
1487 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1490 By default, \`make install' will install all the files in
1491 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1492 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1493 for instance \`--prefix=\$HOME'.
1495 For better control, use the options below.
1497 Fine tuning of the installation directories:
1498 --bindir=DIR user executables [EPREFIX/bin]
1499 --sbindir=DIR system admin executables [EPREFIX/sbin]
1500 --libexecdir=DIR program executables [EPREFIX/libexec]
1501 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1502 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1503 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1504 --libdir=DIR object code libraries [EPREFIX/lib]
1505 --includedir=DIR C header files [PREFIX/include]
1506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1509 --infodir=DIR info documentation [DATAROOTDIR/info]
1510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1511 --mandir=DIR man documentation [DATAROOTDIR/man]
1512 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1513 --htmldir=DIR html documentation [DOCDIR]
1514 --dvidir=DIR dvi documentation [DOCDIR]
1515 --pdfdir=DIR pdf documentation [DOCDIR]
1516 --psdir=DIR ps documentation [DOCDIR]
1522 --program-prefix=PREFIX prepend PREFIX to installed program names
1523 --program-suffix=SUFFIX append SUFFIX to installed program names
1524 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1527 --build=BUILD configure
for building on BUILD
[guessed
]
1528 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1532 if test -n "$ac_init_help"; then
1537 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1538 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1539 --disable-dependency-tracking Speeds up one-time builds
1540 --enable-dependency-tracking Do not reject slow dependency extractors
1541 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1542 --enable-static[=PKGS
] build static libraries
[default
=yes]
1543 --enable-fast-install[=PKGS
]
1544 optimize
for fast installation
[default
=yes]
1545 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1546 --disable-nls do not use Native Language Support
1547 --enable-debug Debugging
(default
=no
)
1550 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1551 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1552 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1553 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1555 --with-tags[=TAGS
] include additional configurations
[automatic
]
1557 Some influential environment variables
:
1558 CC C compiler
command
1559 CFLAGS C compiler flags
1560 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1561 nonstandard directory
<lib dir
>
1562 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1563 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1564 you have headers
in a nonstandard directory
<include dir
>
1566 CXX C
++ compiler
command
1567 CXXFLAGS C
++ compiler flags
1568 CXXCPP C
++ preprocessor
1569 F77 Fortran
77 compiler
command
1570 FFLAGS Fortran
77 compiler flags
1571 PKG_CONFIG path to pkg-config utility
1573 C compiler flags
for HILDON
, overriding pkg-config
1574 HILDON_LIBS linker flags
for HILDON
, overriding pkg-config
1575 DBUS_CFLAGS C compiler flags
for DBUS
, overriding pkg-config
1576 DBUS_LIBS linker flags
for DBUS
, overriding pkg-config
1577 OSSO_CFLAGS C compiler flags
for OSSO
, overriding pkg-config
1578 OSSO_LIBS linker flags
for OSSO
, overriding pkg-config
1579 SQL3_CFLAGS C compiler flags
for SQL3
, overriding pkg-config
1580 SQL3_LIBS linker flags
for SQL3
, overriding pkg-config
1581 SHARINGDIALOG_CFLAGS
1582 C compiler flags
for SHARINGDIALOG
, overriding pkg-config
1584 linker flags
for SHARINGDIALOG
, overriding pkg-config
1586 Use these variables to override the choices made by
`configure' or to help
1587 it to find libraries and programs with nonstandard names/locations.
1593 if test "$ac_init_help" = "recursive"; then
1594 # If there are subdirs, report their specific --help.
1595 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1596 test -d "$ac_dir" || continue
1600 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1602 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1603 # A ".." for each directory in $ac_dir_suffix.
1604 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1605 case $ac_top_builddir_sub in
1606 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1607 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1610 ac_abs_top_builddir=$ac_pwd
1611 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1612 # for backward compatibility:
1613 ac_top_builddir=$ac_top_build_prefix
1616 .) # We are building in place.
1618 ac_top_srcdir=$ac_top_builddir_sub
1619 ac_abs_top_srcdir=$ac_pwd ;;
1620 [\\/]* | ?:[\\/]* ) # Absolute name.
1621 ac_srcdir=$srcdir$ac_dir_suffix;
1622 ac_top_srcdir=$srcdir
1623 ac_abs_top_srcdir=$srcdir ;;
1625 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1626 ac_top_srcdir=$ac_top_build_prefix$srcdir
1627 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1629 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1631 cd "$ac_dir" || { ac_status=$?; continue; }
1632 # Check for guested configure.
1633 if test -f "$ac_srcdir/configure.gnu"; then
1635 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1636 elif test -f "$ac_srcdir/configure"; then
1638 $SHELL "$ac_srcdir/configure" --help=recursive
1640 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1642 cd "$ac_pwd" || { ac_status=$?; break; }
1646 test -n "$ac_init_help" && exit $ac_status
1647 if $ac_init_version; then
1650 generated by GNU Autoconf 2.61
1652 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1653 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1654 This configure script is free software; the Free Software Foundation
1655 gives unlimited permission to copy, distribute and modify it.
1659 cat >config.log <<_ACEOF
1660 This file contains any messages produced by compilers while
1661 running configure, to aid debugging if configure makes a mistake.
1663 It was created by $as_me, which was
1664 generated by GNU Autoconf 2.61. Invocation command line was
1676 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1677 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1678 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1679 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1680 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1682 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1683 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1685 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1686 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1687 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1688 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1689 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1690 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1691 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1699 test -z "$as_dir" && as_dir=.
1700 echo "PATH: $as_dir"
1716 # Keep a trace of the command line.
1717 # Strip out --no-create and --no-recursion so they do not pile up.
1718 # Strip out --silent because we don't want to record it for future runs.
1719 # Also quote any args containing shell meta-characters.
1720 # Make two passes to allow for proper duplicate-argument suppression.
1724 ac_must_keep_next=false
1730 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1731 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1732 | -silent | --silent | --silen | --sile | --sil)
1735 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1738 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1740 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1741 if test $ac_must_keep_next = true; then
1742 ac_must_keep_next=false # Got value, back to normal.
1745 *=* | --config-cache | -C | -disable-* | --disable-* \
1746 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1747 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1748 | -with-* | --with-* | -without-* | --without-* | --x)
1749 case "$ac_configure_args0 " in
1750 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1753 -* ) ac_must_keep_next=true ;;
1756 ac_configure_args="$ac_configure_args '$ac_arg'"
1761 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1762 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1764 # When interrupted or exit'd, cleanup temporary files, and complete
1765 # config.log. We remove comments because anyway the quotes in there
1766 # would cause problems or look ugly.
1767 # WARNING: Use '\'' to represent an apostrophe within the trap.
1768 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1769 trap 'exit_status=$?
1770 # Save into config.log some information that might help in debugging.
1775 ## ---------------- ##
1776 ## Cache variables. ##
1777 ## ---------------- ##
1780 # The following way of writing the cache mishandles newlines in values,
1782 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1783 eval ac_val=\$$ac_var
1787 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1788 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1791 _ | IFS | as_nl) ;; #(
1792 *) $as_unset $ac_var ;;
1797 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1798 *${as_nl}ac_space=\ *)
1800 "s/'\''/'\''\\\\'\'''\''/g;
1801 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1804 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1812 ## ----------------- ##
1813 ## Output variables. ##
1814 ## ----------------- ##
1817 for ac_var in $ac_subst_vars
1819 eval ac_val=\$$ac_var
1821 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1823 echo "$ac_var='\''$ac_val'\''"
1827 if test -n "$ac_subst_files"; then
1829 ## ------------------- ##
1830 ## File substitutions. ##
1831 ## ------------------- ##
1834 for ac_var in $ac_subst_files
1836 eval ac_val=\$$ac_var
1838 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1840 echo "$ac_var='\''$ac_val'\''"
1845 if test -s confdefs.h; then
1855 test "$ac_signal" != 0 &&
1856 echo "$as_me: caught signal $ac_signal"
1857 echo "$as_me: exit $exit_status"
1859 rm -f core *.core core.conftest.* &&
1860 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1863 for ac_signal in 1 2 13 15; do
1864 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1868 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1869 rm -f -r conftest* confdefs.h
1871 # Predefined preprocessor variables.
1873 cat >>confdefs.h <<_ACEOF
1874 #define PACKAGE_NAME "$PACKAGE_NAME"
1878 cat >>confdefs.h <<_ACEOF
1879 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1883 cat >>confdefs.h <<_ACEOF
1884 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_STRING "$PACKAGE_STRING"
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1898 # Let the site file select an alternate cache file if it wants to.
1899 # Prefer explicitly selected file to automatically selected ones.
1900 if test -n "$CONFIG_SITE"; then
1901 set x "$CONFIG_SITE"
1902 elif test "x$prefix" != xNONE; then
1903 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1905 set x "$ac_default_prefix/share/config.site" \
1906 "$ac_default_prefix/etc/config.site"
1911 if test -r "$ac_site_file"; then
1912 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1913 echo "$as_me: loading site script $ac_site_file" >&6;}
1914 sed 's/^/| /' "$ac_site_file" >&5
1919 if test -r "$cache_file"; then
1920 # Some versions of bash will fail to source /dev/null (special
1921 # files actually), so we avoid doing that.
1922 if test -f "$cache_file"; then
1923 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1924 echo "$as_me: loading cache $cache_file" >&6;}
1926 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1927 *) . "./$cache_file";;
1931 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1932 echo "$as_me: creating cache $cache_file" >&6;}
1936 # Check that the precious variables saved in the cache have kept the same
1938 ac_cache_corrupted=false
1939 for ac_var in $ac_precious_vars; do
1940 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1941 eval ac_new_set=\$ac_env_${ac_var}_set
1942 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1943 eval ac_new_val=\$ac_env_${ac_var}_value
1944 case $ac_old_set,$ac_new_set in
1946 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1947 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1948 ac_cache_corrupted=: ;;
1950 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1951 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1952 ac_cache_corrupted=: ;;
1955 if test "x$ac_old_val" != "x$ac_new_val"; then
1956 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1957 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1958 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1959 echo "$as_me: former value
: $ac_old_val" >&2;}
1960 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1961 echo "$as_me: current value
: $ac_new_val" >&2;}
1962 ac_cache_corrupted=:
1965 # Pass precious variables to config.status.
1966 if test "$ac_new_set" = set; then
1968 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1969 *) ac_arg=$ac_var=$ac_new_val ;;
1971 case " $ac_configure_args " in
1972 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1973 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1977 if $ac_cache_corrupted; then
1978 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1979 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1980 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1981 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1982 { (exit 1); exit 1; }; }
2002 ac_cpp='$CPP $CPPFLAGS'
2003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2008 am__api_version="1.7"
2010 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2011 if test -f "$ac_dir/install-sh"; then
2013 ac_install_sh="$ac_aux_dir/install-sh -c"
2015 elif test -f "$ac_dir/install.sh"; then
2017 ac_install_sh="$ac_aux_dir/install.sh -c"
2019 elif test -f "$ac_dir/shtool"; then
2021 ac_install_sh="$ac_aux_dir/shtool install -c"
2025 if test -z "$ac_aux_dir"; then
2026 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2027 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2028 { (exit 1); exit 1; }; }
2031 # These three variables are undocumented and unsupported,
2032 # and are intended to be withdrawn in a future Autoconf release.
2033 # They can cause serious problems if a builder's source tree is in a directory
2034 # whose full name contains unusual characters.
2035 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2036 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2037 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2040 # Find a good install program. We prefer a C program (faster),
2041 # so one script is as good as another. But avoid the broken or
2042 # incompatible versions:
2043 # SysV /etc/install, /usr/sbin/install
2044 # SunOS /usr/etc/install
2045 # IRIX /sbin/install
2047 # AmigaOS /C/install, which installs bootblocks on floppy discs
2048 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2049 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2050 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2051 # OS/2's system install, which has a completely different semantic
2052 # ./install, which can be erroneously created by make from ./install.sh.
2053 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2054 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2055 if test -z "$INSTALL"; then
2056 if test "${ac_cv_path_install+set}" = set; then
2057 echo $ECHO_N "(cached) $ECHO_C" >&6
2059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 test -z "$as_dir" && as_dir=.
2064 # Account for people who put trailing slashes in PATH elements.
2066 ./ | .// | /cC/* | \
2067 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2068 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2071 # OSF1 and SCO ODT 3.0 have their own names for install.
2072 # Don't use installbsd from OSF since it installs stuff as root
2074 for ac_prog in ginstall scoinst install; do
2075 for ac_exec_ext in '' $ac_executable_extensions; do
2076 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2077 if test $ac_prog = install &&
2078 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2079 # AIX install. It has an incompatible calling convention.
2081 elif test $ac_prog = install &&
2082 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2083 # program-specific install script used by HP pwplus--don't use.
2086 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2099 if test "${ac_cv_path_install+set}" = set; then
2100 INSTALL=$ac_cv_path_install
2102 # As a last resort, use the slow shell script. Don't cache a
2103 # value for INSTALL within a source directory, because that will
2104 # break other packages using the cache if that directory is
2105 # removed, or if the value is a relative name.
2106 INSTALL=$ac_install_sh
2109 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2110 echo "${ECHO_T}$INSTALL" >&6; }
2112 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2113 # It thinks the first close brace ends the variable substitution.
2114 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2116 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2118 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2120 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2121 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2124 echo timestamp > conftest.file
2125 # Do `set' in a subshell so we don't clobber the current shell
's
2126 # arguments. Must try -L first in case configure is actually a
2127 # symlink; some systems play weird games with the mod time of symlinks
2128 # (eg FreeBSD returns the mod time of the symlink's containing
2131 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2132 if test "$*" = "X"; then
2134 set X
`ls -t $srcdir/configure conftest.file`
2137 if test "$*" != "X $srcdir/configure conftest.file" \
2138 && test "$*" != "X conftest.file $srcdir/configure"; then
2140 # If neither matched, then we have a broken ls. This can happen
2141 # if, for instance, CONFIG_SHELL is bash and it inherits a
2142 # broken ls alias from the environment. This has actually
2143 # happened. Such a system could not be considered "sane".
2144 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2145 alias in your environment" >&5
2146 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2147 alias in your environment" >&2;}
2148 { (exit 1); exit 1; }; }
2151 test "$2" = conftest.
file
2157 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2158 Check your system clock" >&5
2159 echo "$as_me: error: newly created file is older than distributed files!
2160 Check your system clock" >&2;}
2161 { (exit 1); exit 1; }; }
2163 { echo "$as_me:$LINENO: result: yes" >&5
2164 echo "${ECHO_T}yes" >&6; }
2165 test "$program_prefix" != NONE
&&
2166 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2167 # Use a double $ so make ignores it.
2168 test "$program_suffix" != NONE
&&
2169 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2170 # Double any \ or $. echo might interpret backslashes.
2171 # By default was `s,x,x', remove it if useless.
2172 cat <<\_ACEOF
>conftest.
sed
2173 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2175 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2179 # expand $ac_aux_dir to an absolute path
2180 am_aux_dir
=`cd $ac_aux_dir && pwd`
2182 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2183 # Use eval to expand $SHELL
2184 if eval "$MISSING --run true"; then
2185 am_missing_run
="$MISSING --run "
2188 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2189 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2192 for ac_prog
in gawk mawk nawk
awk
2194 # Extract the first word of "$ac_prog", so it can be a program name with args.
2195 set dummy
$ac_prog; ac_word
=$2
2196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2198 if test "${ac_cv_prog_AWK+set}" = set; then
2199 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 if test -n "$AWK"; then
2202 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2208 test -z "$as_dir" && as_dir
=.
2209 for ac_exec_ext
in '' $ac_executable_extensions; do
2210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2211 ac_cv_prog_AWK
="$ac_prog"
2212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 if test -n "$AWK"; then
2223 { echo "$as_me:$LINENO: result: $AWK" >&5
2224 echo "${ECHO_T}$AWK" >&6; }
2226 { echo "$as_me:$LINENO: result: no" >&5
2227 echo "${ECHO_T}no" >&6; }
2231 test -n "$AWK" && break
2234 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2235 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2236 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2237 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2238 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 cat >conftest.
make <<\_ACEOF
2243 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2245 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2246 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2248 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2250 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2254 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2255 { echo "$as_me:$LINENO: result: yes" >&5
2256 echo "${ECHO_T}yes" >&6; }
2259 { echo "$as_me:$LINENO: result: no" >&5
2260 echo "${ECHO_T}no" >&6; }
2261 SET_MAKE
="MAKE=${MAKE-make}"
2264 rm -rf .tst
2>/dev
/null
2265 mkdir .tst
2>/dev
/null
2266 if test -d .tst
; then
2271 rmdir .tst
2>/dev
/null
2273 # test to see if srcdir already configured
2274 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2275 test -f $srcdir/config.status
; then
2276 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2277 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2278 { (exit 1); exit 1; }; }
2281 # test whether we have cygpath
2282 if test -z "$CYGPATH_W"; then
2283 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2284 CYGPATH_W
='cygpath -w'
2291 # Define the identity of the package.
2296 cat >>confdefs.h
<<_ACEOF
2297 #define PACKAGE "$PACKAGE"
2301 cat >>confdefs.h
<<_ACEOF
2302 #define VERSION "$VERSION"
2305 # Some tools Automake needs.
2307 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2310 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2313 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2316 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2319 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2322 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2324 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2326 # Installed binaries are usually stripped using `strip' when the user
2327 # run `make install-strip'. However `strip' might not be the right
2328 # tool to use in cross-compilation environments, therefore Automake
2329 # will honor the `STRIP' environment variable to overrule this program.
2330 if test "$cross_compiling" != no
; then
2331 if test -n "$ac_tool_prefix"; then
2332 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2333 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2336 if test "${ac_cv_prog_STRIP+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 if test -n "$STRIP"; then
2340 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir
=.
2347 for ac_exec_ext
in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 STRIP
=$ac_cv_prog_STRIP
2360 if test -n "$STRIP"; then
2361 { echo "$as_me:$LINENO: result: $STRIP" >&5
2362 echo "${ECHO_T}$STRIP" >&6; }
2364 { echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6; }
2370 if test -z "$ac_cv_prog_STRIP"; then
2372 # Extract the first word of "strip", so it can be a program name with args.
2373 set dummy strip
; ac_word
=$2
2374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2376 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 if test -n "$ac_ct_STRIP"; then
2380 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir
=.
2387 for ac_exec_ext
in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 ac_cv_prog_ac_ct_STRIP
="strip"
2390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2400 if test -n "$ac_ct_STRIP"; then
2401 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2402 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2404 { echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6; }
2408 if test "x$ac_ct_STRIP" = x
; then
2411 case $cross_compiling:$ac_tool_warned in
2413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2414 whose name does not start with the host triplet. If you think this
2415 configuration is useful to you, please write to autoconf@gnu.org." >&5
2416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2417 whose name does not start with the host triplet. If you think this
2418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2419 ac_tool_warned
=yes ;;
2424 STRIP
="$ac_cv_prog_STRIP"
2428 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2430 # We need awk for the "check" target. The system "awk" is bad on
2435 ac_config_headers
="$ac_config_headers config.h"
2438 # Make sure we can run config.sub.
2439 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2440 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2441 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2442 { (exit 1); exit 1; }; }
2444 { echo "$as_me:$LINENO: checking build system type" >&5
2445 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2446 if test "${ac_cv_build+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 ac_build_alias
=$build_alias
2450 test "x$ac_build_alias" = x
&&
2451 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2452 test "x$ac_build_alias" = x
&&
2453 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2454 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2455 { (exit 1); exit 1; }; }
2456 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2457 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2458 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2459 { (exit 1); exit 1; }; }
2462 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2463 echo "${ECHO_T}$ac_cv_build" >&6; }
2464 case $ac_cv_build in
2466 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2467 echo "$as_me: error: invalid value of canonical build" >&2;}
2468 { (exit 1); exit 1; }; };;
2471 ac_save_IFS
=$IFS; IFS
='-'
2477 # Remember, the first character of IFS is used to create $*,
2478 # except with old shells:
2481 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2484 { echo "$as_me:$LINENO: checking host system type" >&5
2485 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2486 if test "${ac_cv_host+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2489 if test "x$host_alias" = x
; then
2490 ac_cv_host
=$ac_cv_build
2492 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2493 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2494 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2495 { (exit 1); exit 1; }; }
2499 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2500 echo "${ECHO_T}$ac_cv_host" >&6; }
2503 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2504 echo "$as_me: error: invalid value of canonical host" >&2;}
2505 { (exit 1); exit 1; }; };;
2508 ac_save_IFS
=$IFS; IFS
='-'
2514 # Remember, the first character of IFS is used to create $*,
2515 # except with old shells:
2518 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2523 ac_cpp
='$CPP $CPPFLAGS'
2524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2527 if test -n "$ac_tool_prefix"; then
2528 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2529 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2532 if test "${ac_cv_prog_CC+set}" = set; then
2533 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 if test -n "$CC"; then
2536 ac_cv_prog_CC
="$CC" # Let the user override the test.
2538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2542 test -z "$as_dir" && as_dir
=.
2543 for ac_exec_ext
in '' $ac_executable_extensions; do
2544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2545 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2556 if test -n "$CC"; then
2557 { echo "$as_me:$LINENO: result: $CC" >&5
2558 echo "${ECHO_T}$CC" >&6; }
2560 { echo "$as_me:$LINENO: result: no" >&5
2561 echo "${ECHO_T}no" >&6; }
2566 if test -z "$ac_cv_prog_CC"; then
2568 # Extract the first word of "gcc", so it can be a program name with args.
2569 set dummy gcc
; ac_word
=$2
2570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2572 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 if test -n "$ac_ct_CC"; then
2576 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir
=.
2583 for ac_exec_ext
in '' $ac_executable_extensions; do
2584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2585 ac_cv_prog_ac_ct_CC
="gcc"
2586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2596 if test -n "$ac_ct_CC"; then
2597 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2598 echo "${ECHO_T}$ac_ct_CC" >&6; }
2600 { echo "$as_me:$LINENO: result: no" >&5
2601 echo "${ECHO_T}no" >&6; }
2604 if test "x$ac_ct_CC" = x
; then
2607 case $cross_compiling:$ac_tool_warned in
2609 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2610 whose name does not start with the host triplet. If you think this
2611 configuration is useful to you, please write to autoconf@gnu.org." >&5
2612 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2613 whose name does not start with the host triplet. If you think this
2614 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2615 ac_tool_warned
=yes ;;
2623 if test -z "$CC"; then
2624 if test -n "$ac_tool_prefix"; then
2625 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2626 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2629 if test "${ac_cv_prog_CC+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 if test -n "$CC"; then
2633 ac_cv_prog_CC
="$CC" # Let the user override the test.
2635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir
=.
2640 for ac_exec_ext
in '' $ac_executable_extensions; do
2641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 if test -n "$CC"; then
2654 { echo "$as_me:$LINENO: result: $CC" >&5
2655 echo "${ECHO_T}$CC" >&6; }
2657 { echo "$as_me:$LINENO: result: no" >&5
2658 echo "${ECHO_T}no" >&6; }
2664 if test -z "$CC"; then
2665 # Extract the first word of "cc", so it can be a program name with args.
2666 set dummy cc
; ac_word
=$2
2667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2669 if test "${ac_cv_prog_CC+set}" = set; then
2670 echo $ECHO_N "(cached) $ECHO_C" >&6
2672 if test -n "$CC"; then
2673 ac_cv_prog_CC
="$CC" # Let the user override the test.
2676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir
=.
2681 for ac_exec_ext
in '' $ac_executable_extensions; do
2682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2683 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2684 ac_prog_rejected
=yes
2688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 if test $ac_prog_rejected = yes; then
2696 # We found a bogon in the path, so make sure we never use it.
2697 set dummy
$ac_cv_prog_CC
2699 if test $# != 0; then
2700 # We chose a different compiler from the bogus one.
2701 # However, it has the same basename, so the bogon will be chosen
2702 # first if we set CC to just the basename; use the full file name.
2704 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2710 if test -n "$CC"; then
2711 { echo "$as_me:$LINENO: result: $CC" >&5
2712 echo "${ECHO_T}$CC" >&6; }
2714 { echo "$as_me:$LINENO: result: no" >&5
2715 echo "${ECHO_T}no" >&6; }
2720 if test -z "$CC"; then
2721 if test -n "$ac_tool_prefix"; then
2722 for ac_prog
in cl.exe
2724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2725 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2726 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2728 if test "${ac_cv_prog_CC+set}" = set; then
2729 echo $ECHO_N "(cached) $ECHO_C" >&6
2731 if test -n "$CC"; then
2732 ac_cv_prog_CC
="$CC" # Let the user override the test.
2734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2738 test -z "$as_dir" && as_dir
=.
2739 for ac_exec_ext
in '' $ac_executable_extensions; do
2740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 if test -n "$CC"; then
2753 { echo "$as_me:$LINENO: result: $CC" >&5
2754 echo "${ECHO_T}$CC" >&6; }
2756 { echo "$as_me:$LINENO: result: no" >&5
2757 echo "${ECHO_T}no" >&6; }
2761 test -n "$CC" && break
2764 if test -z "$CC"; then
2766 for ac_prog
in cl.exe
2768 # Extract the first word of "$ac_prog", so it can be a program name with args.
2769 set dummy
$ac_prog; ac_word
=$2
2770 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2772 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2773 echo $ECHO_N "(cached) $ECHO_C" >&6
2775 if test -n "$ac_ct_CC"; then
2776 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir
=.
2783 for ac_exec_ext
in '' $ac_executable_extensions; do
2784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 ac_cv_prog_ac_ct_CC
="$ac_prog"
2786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2796 if test -n "$ac_ct_CC"; then
2797 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2798 echo "${ECHO_T}$ac_ct_CC" >&6; }
2800 { echo "$as_me:$LINENO: result: no" >&5
2801 echo "${ECHO_T}no" >&6; }
2805 test -n "$ac_ct_CC" && break
2808 if test "x$ac_ct_CC" = x
; then
2811 case $cross_compiling:$ac_tool_warned in
2813 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2814 whose name does not start with the host triplet. If you think this
2815 configuration is useful to you, please write to autoconf@gnu.org." >&5
2816 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2817 whose name does not start with the host triplet. If you think this
2818 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2819 ac_tool_warned
=yes ;;
2828 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2829 See \`config.log' for more details." >&5
2830 echo "$as_me: error: no acceptable C compiler found in \$PATH
2831 See \`config.log' for more details." >&2;}
2832 { (exit 1); exit 1; }; }
2834 # Provide some information about the compiler.
2835 echo "$as_me:$LINENO: checking for C compiler version" >&5
2836 ac_compiler
=`set X $ac_compile; echo $2`
2837 { (ac_try
="$ac_compiler --version >&5"
2839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2843 (eval "$ac_compiler --version >&5") 2>&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }
2847 { (ac_try="$ac_compiler -v >&5"
2849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2850 *) ac_try_echo
=$ac_try;;
2852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2853 (eval "$ac_compiler -v >&5") 2>&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }
2857 { (ac_try
="$ac_compiler -V >&5"
2859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
2862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2863 (eval "$ac_compiler -V >&5") 2>&5
2865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866 (exit $ac_status); }
2868 cat >conftest.$ac_ext <<_ACEOF
2871 cat confdefs.h >>conftest.$ac_ext
2872 cat >>conftest.$ac_ext <<_ACEOF
2873 /* end confdefs.h. */
2883 ac_clean_files_save=$ac_clean_files
2884 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2885 # Try to create an executable without -o first, disregard a.out.
2886 # It will help us diagnose broken compilers, and finding out an intuition
2888 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2889 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2890 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2892 # List of possible output files, starting from the most likely.
2893 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2894 # only as a last resort. b.out is created by i960 compilers.
2895 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2897 # The IRIX 6 linker writes into existing files which may not be
2898 # executable, retaining their permissions. Remove them first so a
2899 # subsequent execution test works.
2901 for ac_file in $ac_files
2904 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2905 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2910 if { (ac_try="$ac_link_default"
2912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2913 *) ac_try_echo=$ac_try;;
2915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2916 (eval "$ac_link_default") 2>&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); }; then
2920 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2921 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2922 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2923 # so that the user can short-circuit this test for compilers unknown to
2925 for ac_file
in $ac_files ''
2927 test -f "$ac_file" ||
continue
2929 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2932 # We found the default executable, but exeext='' is most
2936 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2938 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2940 # We set ac_cv_exeext here because the later test for it is not
2941 # safe: cross compilers may not add the suffix if given an `-o'
2942 # argument, so we may need to know it at that point already.
2943 # Even if this section looks crufty: it has the advantage of
2950 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2956 { echo "$as_me:$LINENO: result: $ac_file" >&5
2957 echo "${ECHO_T}$ac_file" >&6; }
2958 if test -z "$ac_file"; then
2959 echo "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.
$ac_ext >&5
2962 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2963 See \`config.log' for more details." >&5
2964 echo "$as_me: error: C compiler cannot create executables
2965 See \`config.log' for more details." >&2;}
2966 { (exit 77); exit 77; }; }
2969 ac_exeext
=$ac_cv_exeext
2971 # Check that the compiler produces executables we can run. If not, either
2972 # the compiler is broken, or we cross compile.
2973 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2974 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2975 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2976 # If not cross compiling, check that we can run a simple program.
2977 if test "$cross_compiling" != yes; then
2978 if { ac_try
='./$ac_file'
2979 { (case "(($ac_try" in
2980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2981 *) ac_try_echo=$ac_try;;
2983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2984 (eval "$ac_try") 2>&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }; }; then
2990 if test "$cross_compiling" = maybe; then
2993 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2994 If you meant to cross compile, use \`--host'.
2995 See \`config.log' for more details.
" >&5
2996 echo "$as_me: error
: cannot run C compiled programs.
2997 If you meant to cross compile
, use \
`--host'.
2998 See \`config.log
' for more details." >&2;}
2999 { (exit 1); exit 1; }; }
3003 { echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6; }
3006 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3007 ac_clean_files=$ac_clean_files_save
3008 # Check that the compiler produces executables we can run. If not, either
3009 # the compiler is broken, or we cross compile.
3010 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3011 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3012 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3013 echo "${ECHO_T}$cross_compiling" >&6; }
3015 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3016 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3017 if { (ac_try="$ac_link"
3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020 *) ac_try_echo=$ac_try;;
3022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3023 (eval "$ac_link") 2>&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }; then
3027 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3028 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3029 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3031 for ac_file
in conftest.exe conftest conftest.
*; do
3032 test -f "$ac_file" ||
continue
3034 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3035 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3041 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3042 See \`config.log' for more details." >&5
3043 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3044 See \`config.log' for more details." >&2;}
3045 { (exit 1); exit 1; }; }
3048 rm -f conftest
$ac_cv_exeext
3049 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3050 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3052 rm -f conftest.
$ac_ext
3053 EXEEXT
=$ac_cv_exeext
3055 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3056 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3057 if test "${ac_cv_objext+set}" = set; then
3058 echo $ECHO_N "(cached) $ECHO_C" >&6
3060 cat >conftest.
$ac_ext <<_ACEOF
3063 cat confdefs.h
>>conftest.
$ac_ext
3064 cat >>conftest.
$ac_ext <<_ACEOF
3065 /* end confdefs.h. */
3075 rm -f conftest.o conftest.obj
3076 if { (ac_try
="$ac_compile"
3078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3082 (eval "$ac_compile") 2>&5
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }; then
3086 for ac_file in conftest.o conftest.obj conftest.*; do
3087 test -f "$ac_file" || continue;
3089 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3090 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3095 echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3098 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3099 See \`config.log
' for more details." >&5
3100 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3101 See \`config.log' for more details.
" >&2;}
3102 { (exit 1); exit 1; }; }
3105 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3107 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3108 echo "${ECHO_T}$ac_cv_objext" >&6; }
3109 OBJEXT=$ac_cv_objext
3111 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3112 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3113 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3114 echo $ECHO_N "(cached
) $ECHO_C" >&6
3116 cat >conftest.$ac_ext <<_ACEOF
3119 cat confdefs.h >>conftest.$ac_ext
3120 cat >>conftest.$ac_ext <<_ACEOF
3121 /* end confdefs.h. */
3134 rm -f conftest.$ac_objext
3135 if { (ac_try="$ac_compile"
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3141 (eval "$ac_compile") 2>conftest.er1
3143 grep -v '^ *+' conftest.er1 >conftest.err
3145 cat conftest.err >&5
3146 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3147 (exit $ac_status); } && {
3148 test -z "$ac_c_werror_flag" ||
3149 test ! -s conftest.err
3150 } && test -s conftest.$ac_objext; then
3153 echo "$as_me: failed program was
:" >&5
3154 sed 's/^/| /' conftest.$ac_ext >&5
3159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3160 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3163 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3164 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3165 GCC=`test $ac_compiler_gnu = yes && echo yes`
3166 ac_test_CFLAGS=${CFLAGS+set}
3167 ac_save_CFLAGS=$CFLAGS
3168 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3169 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3170 if test "${ac_cv_prog_cc_g+set}" = set; then
3171 echo $ECHO_N "(cached
) $ECHO_C" >&6
3173 ac_save_c_werror_flag=$ac_c_werror_flag
3174 ac_c_werror_flag=yes
3177 cat >conftest.$ac_ext <<_ACEOF
3180 cat confdefs.h >>conftest.$ac_ext
3181 cat >>conftest.$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3192 rm -f conftest.$ac_objext
3193 if { (ac_try="$ac_compile"
3195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3196 *) ac_try_echo=$ac_try;;
3198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3199 (eval "$ac_compile") 2>conftest.er1
3201 grep -v '^ *+' conftest.er1 >conftest.err
3203 cat conftest.err >&5
3204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3205 (exit $ac_status); } && {
3206 test -z "$ac_c_werror_flag" ||
3207 test ! -s conftest.err
3208 } && test -s conftest.$ac_objext; then
3211 echo "$as_me: failed program was
:" >&5
3212 sed 's/^/| /' conftest.$ac_ext >&5
3215 cat >conftest.$ac_ext <<_ACEOF
3218 cat confdefs.h >>conftest.$ac_ext
3219 cat >>conftest.$ac_ext <<_ACEOF
3220 /* end confdefs.h. */
3230 rm -f conftest.$ac_objext
3231 if { (ac_try="$ac_compile"
3233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3234 *) ac_try_echo=$ac_try;;
3236 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3237 (eval "$ac_compile") 2>conftest.er1
3239 grep -v '^ *+' conftest.er1 >conftest.err
3241 cat conftest.err >&5
3242 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3243 (exit $ac_status); } && {
3244 test -z "$ac_c_werror_flag" ||
3245 test ! -s conftest.err
3246 } && test -s conftest.$ac_objext; then
3249 echo "$as_me: failed program was
:" >&5
3250 sed 's/^/| /' conftest.$ac_ext >&5
3252 ac_c_werror_flag=$ac_save_c_werror_flag
3254 cat >conftest.$ac_ext <<_ACEOF
3257 cat confdefs.h >>conftest.$ac_ext
3258 cat >>conftest.$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3269 rm -f conftest.$ac_objext
3270 if { (ac_try="$ac_compile"
3272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3273 *) ac_try_echo=$ac_try;;
3275 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3276 (eval "$ac_compile") 2>conftest.er1
3278 grep -v '^ *+' conftest.er1 >conftest.err
3280 cat conftest.err >&5
3281 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3282 (exit $ac_status); } && {
3283 test -z "$ac_c_werror_flag" ||
3284 test ! -s conftest.err
3285 } && test -s conftest.$ac_objext; then
3288 echo "$as_me: failed program was
:" >&5
3289 sed 's/^/| /' conftest.$ac_ext >&5
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301 ac_c_werror_flag=$ac_save_c_werror_flag
3303 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3304 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3305 if test "$ac_test_CFLAGS" = set; then
3306 CFLAGS=$ac_save_CFLAGS
3307 elif test $ac_cv_prog_cc_g = yes; then
3308 if test "$GCC" = yes; then
3314 if test "$GCC" = yes; then
3320 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3321 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3322 if test "${ac_cv_prog_cc_c89+set}" = set; then
3323 echo $ECHO_N "(cached
) $ECHO_C" >&6
3325 ac_cv_prog_cc_c89=no
3327 cat >conftest.$ac_ext <<_ACEOF
3330 cat confdefs.h >>conftest.$ac_ext
3331 cat >>conftest.$ac_ext <<_ACEOF
3332 /* end confdefs.h. */
3335 #include <sys/types.h>
3336 #include <sys/stat.h>
3337 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3338 struct buf { int x; };
3339 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3340 static char *e (p, i)
3346 static char *f (char * (*g) (char **, int), char **p, ...)
3351 s = g (p, va_arg (v,int));
3356 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3357 function prototypes and stuff, but not '\xHH' hex character constants.
3358 These don't provoke an error unfortunately, instead are silently treated
3359 as 'x'. The following induces an error, until -std is added to get
3360 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3361 array size at least. It's necessary to write '\x00'==0 to get something
3362 that's true only with -std. */
3363 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3365 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3366 inside strings and character constants. */
3368 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3370 int test (int i, double x);
3371 struct s1 {int (*f) (int a);};
3372 struct s2 {int (*f) (double a);};
3373 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3379 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3384 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3385 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3387 CC="$ac_save_CC $ac_arg"
3388 rm -f conftest.$ac_objext
3389 if { (ac_try="$ac_compile"
3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3394 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3395 (eval "$ac_compile") 2>conftest.er1
3397 grep -v '^ *+' conftest.er1 >conftest.err
3399 cat conftest.err >&5
3400 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3401 (exit $ac_status); } && {
3402 test -z "$ac_c_werror_flag" ||
3403 test ! -s conftest.err
3404 } && test -s conftest.$ac_objext; then
3405 ac_cv_prog_cc_c89=$ac_arg
3407 echo "$as_me: failed program was
:" >&5
3408 sed 's/^/| /' conftest.$ac_ext >&5
3413 rm -f core conftest.err conftest.$ac_objext
3414 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3416 rm -f conftest.$ac_ext
3421 case "x
$ac_cv_prog_cc_c89" in
3423 { echo "$as_me:$LINENO: result
: none needed
" >&5
3424 echo "${ECHO_T}none needed
" >&6; } ;;
3426 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3427 echo "${ECHO_T}unsupported
" >&6; } ;;
3429 CC="$CC $ac_cv_prog_cc_c89"
3430 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3431 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3436 ac_cpp='$CPP $CPPFLAGS'
3437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3440 DEPDIR="${am__leading_dot}deps
"
3442 ac_config_commands="$ac_config_commands depfiles
"
3445 am_make=${MAKE-make}
3446 cat > confinc << 'END'
3451 # If we don't find an include directive, just comment out the code.
3452 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3453 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3457 # First try GNU make style include.
3458 echo "include confinc" > confmf
3459 # We grep out `Entering directory' and `Leaving directory'
3460 # messages which can occur if `w' ends up in MAKEFLAGS.
3461 # In particular we don't look at `^make:' because GNU make might
3462 # be invoked under some other name (usually "gmake"), in which
3463 # case it prints its new name instead of `make'.
3464 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3469 # Now try BSD make style include.
3470 if test "$am__include" = "#"; then
3471 echo '.include "confinc"' > confmf
3472 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3473 am__include
=.include
3480 { echo "$as_me:$LINENO: result: $_am_result" >&5
3481 echo "${ECHO_T}$_am_result" >&6; }
3482 rm -f confinc confmf
3484 # Check whether --enable-dependency-tracking was given.
3485 if test "${enable_dependency_tracking+set}" = set; then
3486 enableval
=$enable_dependency_tracking;
3489 if test "x$enable_dependency_tracking" != xno
; then
3490 am_depcomp
="$ac_aux_dir/depcomp"
3495 if test "x$enable_dependency_tracking" != xno; then
3506 depcc
="$CC" am_compiler_list
=
3508 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3509 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3510 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3511 echo $ECHO_N "(cached) $ECHO_C" >&6
3513 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3514 # We make a subdir and do the tests there. Otherwise we can end up
3515 # making bogus files that we don't know about and never remove. For
3516 # instance it was reported that on HP-UX the gcc test will end up
3517 # making a dummy file named `D' -- because `-MD' means `put the output
3520 # Copy depcomp to subdir because otherwise we won't find it if we're
3521 # using a relative directory.
3522 cp "$am_depcomp" conftest.dir
3524 # We will build objects and dependencies in a subdirectory because
3525 # it helps to detect inapplicable dependency modes. For instance
3526 # both Tru64's cc and ICC support -MD to output dependencies as a
3527 # side effect of compilation, but ICC will put the dependencies in
3528 # the current directory while Tru64 will put them in the object
3532 am_cv_CC_dependencies_compiler_type
=none
3533 if test "$am_compiler_list" = ""; then
3534 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3536 for depmode
in $am_compiler_list; do
3537 # Setup a source with many dependencies, because some compilers
3538 # like to wrap large dependency lists on column 80 (with \), and
3539 # we should not choose a depcomp mode which is confused by this.
3541 # We need to recreate these files for each test, as the compiler may
3542 # overwrite some of them when testing with obscure command lines.
3543 # This happens at least with the AIX C compiler.
3545 for i
in 1 2 3 4 5 6; do
3546 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3549 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3553 # after this tag, mechanisms are not by side-effect, so they'll
3554 # only be used when explicitly requested
3555 if test "x$enable_dependency_tracking" = xyes
; then
3563 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3564 # mode. It turns out that the SunPro C++ compiler does not properly
3565 # handle `-M -o', and we need to detect this.
3566 if depmode
=$depmode \
3567 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3568 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3569 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3570 >/dev
/null
2>conftest.err
&&
3571 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3572 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3573 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3574 # icc doesn't choke on unknown options, it will just issue warnings
3575 # (even with -Werror). So we grep stderr for any message
3576 # that says an option was ignored.
3577 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
3578 am_cv_CC_dependencies_compiler_type
=$depmode
3587 am_cv_CC_dependencies_compiler_type
=none
3591 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3592 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3593 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3598 test "x$enable_dependency_tracking" != xno \
3599 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3601 am__fastdepCC_FALSE
='#'
3603 am__fastdepCC_TRUE
='#'
3604 am__fastdepCC_FALSE
=
3609 ac_cpp
='$CPP $CPPFLAGS'
3610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3613 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3614 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3615 # On Suns, sometimes $CPP names a directory.
3616 if test -n "$CPP" && test -d "$CPP"; then
3619 if test -z "$CPP"; then
3620 if test "${ac_cv_prog_CPP+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6
3623 # Double quotes because CPP needs to be expanded
3624 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3627 for ac_c_preproc_warn_flag
in '' yes
3629 # Use a header file that comes with gcc, so configuring glibc
3630 # with a fresh cross-compiler works.
3631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3632 # <limits.h> exists even on freestanding compilers.
3633 # On the NeXT, cc -E runs the code through the compiler's parser,
3634 # not just through cpp. "Syntax error" is here to catch this case.
3635 cat >conftest.
$ac_ext <<_ACEOF
3638 cat confdefs.h
>>conftest.
$ac_ext
3639 cat >>conftest.
$ac_ext <<_ACEOF
3640 /* end confdefs.h. */
3642 # include <limits.h>
3644 # include <assert.h>
3648 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3651 *) ac_try_echo=$ac_try;;
3653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3656 grep -v '^ *+' conftest.er1 >conftest.err
3658 cat conftest.err >&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); } >/dev/null && {
3661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3662 test ! -s conftest.err
3666 echo "$as_me: failed program was:" >&5
3667 sed 's/^/| /' conftest.$ac_ext >&5
3669 # Broken: fails on valid input.
3673 rm -f conftest.err conftest.$ac_ext
3675 # OK, works on sane cases. Now check whether nonexistent headers
3676 # can be detected and how.
3677 cat >conftest.$ac_ext <<_ACEOF
3680 cat confdefs.h >>conftest.$ac_ext
3681 cat >>conftest.$ac_ext <<_ACEOF
3682 /* end confdefs.h. */
3683 #include <ac_nonexistent.h>
3685 if { (ac_try="$ac_cpp conftest.$ac_ext"
3687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3688 *) ac_try_echo
=$ac_try;;
3690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3693 grep -v '^ *+' conftest.er1
>conftest.err
3695 cat conftest.err
>&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); } >/dev
/null
&& {
3698 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3699 test ! -s conftest.err
3701 # Broken: success on invalid input.
3704 echo "$as_me: failed program was:" >&5
3705 sed 's/^/| /' conftest.
$ac_ext >&5
3707 # Passes both tests.
3712 rm -f conftest.err conftest.
$ac_ext
3715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3716 rm -f conftest.err conftest.
$ac_ext
3717 if $ac_preproc_ok; then
3729 { echo "$as_me:$LINENO: result: $CPP" >&5
3730 echo "${ECHO_T}$CPP" >&6; }
3732 for ac_c_preproc_warn_flag
in '' yes
3734 # Use a header file that comes with gcc, so configuring glibc
3735 # with a fresh cross-compiler works.
3736 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3737 # <limits.h> exists even on freestanding compilers.
3738 # On the NeXT, cc -E runs the code through the compiler's parser,
3739 # not just through cpp. "Syntax error" is here to catch this case.
3740 cat >conftest.
$ac_ext <<_ACEOF
3743 cat confdefs.h
>>conftest.
$ac_ext
3744 cat >>conftest.
$ac_ext <<_ACEOF
3745 /* end confdefs.h. */
3747 # include <limits.h>
3749 # include <assert.h>
3753 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3756 *) ac_try_echo=$ac_try;;
3758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3759 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3761 grep -v '^ *+' conftest.er1 >conftest.err
3763 cat conftest.err >&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } >/dev/null && {
3766 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3767 test ! -s conftest.err
3771 echo "$as_me: failed program was:" >&5
3772 sed 's/^/| /' conftest.$ac_ext >&5
3774 # Broken: fails on valid input.
3778 rm -f conftest.err conftest.$ac_ext
3780 # OK, works on sane cases. Now check whether nonexistent headers
3781 # can be detected and how.
3782 cat >conftest.$ac_ext <<_ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3788 #include <ac_nonexistent.h>
3790 if { (ac_try="$ac_cpp conftest.$ac_ext"
3792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3793 *) ac_try_echo
=$ac_try;;
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3798 grep -v '^ *+' conftest.er1
>conftest.err
3800 cat conftest.err
>&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } >/dev
/null
&& {
3803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3806 # Broken: success on invalid input.
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.
$ac_ext >&5
3812 # Passes both tests.
3817 rm -f conftest.err conftest.
$ac_ext
3820 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3821 rm -f conftest.err conftest.
$ac_ext
3822 if $ac_preproc_ok; then
3825 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3826 See \`config.log' for more details." >&5
3827 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3828 See \`config.log' for more details." >&2;}
3829 { (exit 1); exit 1; }; }
3833 ac_cpp
='$CPP $CPPFLAGS'
3834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3838 # Find a good install program. We prefer a C program (faster),
3839 # so one script is as good as another. But avoid the broken or
3840 # incompatible versions:
3841 # SysV /etc/install, /usr/sbin/install
3842 # SunOS /usr/etc/install
3843 # IRIX /sbin/install
3845 # AmigaOS /C/install, which installs bootblocks on floppy discs
3846 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3847 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3848 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3849 # OS/2's system install, which has a completely different semantic
3850 # ./install, which can be erroneously created by make from ./install.sh.
3851 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3852 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3853 if test -z "$INSTALL"; then
3854 if test "${ac_cv_path_install+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3861 test -z "$as_dir" && as_dir
=.
3862 # Account for people who put trailing slashes in PATH elements.
3864 .
/ | .
// |
/cC
/* | \
3865 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3866 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3869 # OSF1 and SCO ODT 3.0 have their own names for install.
3870 # Don't use installbsd from OSF since it installs stuff as root
3872 for ac_prog
in ginstall scoinst
install; do
3873 for ac_exec_ext
in '' $ac_executable_extensions; do
3874 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3875 if test $ac_prog = install &&
3876 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3877 # AIX install. It has an incompatible calling convention.
3879 elif test $ac_prog = install &&
3880 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3881 # program-specific install script used by HP pwplus--don't use.
3884 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3897 if test "${ac_cv_path_install+set}" = set; then
3898 INSTALL
=$ac_cv_path_install
3900 # As a last resort, use the slow shell script. Don't cache a
3901 # value for INSTALL within a source directory, because that will
3902 # break other packages using the cache if that directory is
3903 # removed, or if the value is a relative name.
3904 INSTALL
=$ac_install_sh
3907 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3908 echo "${ECHO_T}$INSTALL" >&6; }
3910 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3911 # It thinks the first close brace ends the variable substitution.
3912 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3914 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3916 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3918 if test -n "$ac_tool_prefix"; then
3919 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3920 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3923 if test "${ac_cv_prog_RANLIB+set}" = set; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 if test -n "$RANLIB"; then
3927 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3933 test -z "$as_dir" && as_dir
=.
3934 for ac_exec_ext
in '' $ac_executable_extensions; do
3935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3936 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 RANLIB
=$ac_cv_prog_RANLIB
3947 if test -n "$RANLIB"; then
3948 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3949 echo "${ECHO_T}$RANLIB" >&6; }
3951 { echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6; }
3957 if test -z "$ac_cv_prog_RANLIB"; then
3958 ac_ct_RANLIB
=$RANLIB
3959 # Extract the first word of "ranlib", so it can be a program name with args.
3960 set dummy ranlib
; ac_word
=$2
3961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3963 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 if test -n "$ac_ct_RANLIB"; then
3967 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3973 test -z "$as_dir" && as_dir
=.
3974 for ac_exec_ext
in '' $ac_executable_extensions; do
3975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3976 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3986 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3987 if test -n "$ac_ct_RANLIB"; then
3988 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3989 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3991 { echo "$as_me:$LINENO: result: no" >&5
3992 echo "${ECHO_T}no" >&6; }
3995 if test "x$ac_ct_RANLIB" = x
; then
3998 case $cross_compiling:$ac_tool_warned in
4000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4001 whose name does not start with the host triplet. If you think this
4002 configuration is useful to you, please write to autoconf@gnu.org." >&5
4003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4004 whose name does not start with the host triplet. If you think this
4005 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4006 ac_tool_warned
=yes ;;
4008 RANLIB
=$ac_ct_RANLIB
4011 RANLIB
="$ac_cv_prog_RANLIB"
4014 # Check whether --enable-shared was given.
4015 if test "${enable_shared+set}" = set; then
4016 enableval
=$enable_shared; p
=${PACKAGE-default}
4018 yes) enable_shared
=yes ;;
4019 no
) enable_shared
=no
;;
4022 # Look at the argument we got. We use all the common list separators.
4023 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4024 for pkg
in $enableval; do
4026 if test "X$pkg" = "X$p"; then
4038 # Check whether --enable-static was given.
4039 if test "${enable_static+set}" = set; then
4040 enableval
=$enable_static; p
=${PACKAGE-default}
4042 yes) enable_static
=yes ;;
4043 no
) enable_static
=no
;;
4046 # Look at the argument we got. We use all the common list separators.
4047 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4048 for pkg
in $enableval; do
4050 if test "X$pkg" = "X$p"; then
4062 # Check whether --enable-fast-install was given.
4063 if test "${enable_fast_install+set}" = set; then
4064 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4066 yes) enable_fast_install
=yes ;;
4067 no
) enable_fast_install
=no
;;
4069 enable_fast_install
=no
4070 # Look at the argument we got. We use all the common list separators.
4071 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4072 for pkg
in $enableval; do
4074 if test "X$pkg" = "X$p"; then
4075 enable_fast_install
=yes
4082 enable_fast_install
=yes
4086 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4087 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4088 if test "${lt_cv_path_SED+set}" = set; then
4089 echo $ECHO_N "(cached) $ECHO_C" >&6
4091 # Loop through the user's path and test for sed and gsed.
4092 # Then use that list of sed's as ones to test for truncation.
4093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir
=.
4098 for lt_ac_prog
in sed gsed
; do
4099 for ac_exec_ext
in '' $ac_executable_extensions; do
4100 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4101 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4109 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4110 # along with /bin/sed that truncates output.
4111 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4112 test ! -f $lt_ac_sed && continue
4113 cat /dev
/null
> conftest.
in
4115 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4116 # Check for GNU sed and select it if it is found.
4117 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4118 lt_cv_path_SED
=$lt_ac_sed
4122 cat conftest.
in conftest.
in >conftest.tmp
4123 mv conftest.tmp conftest.
in
4124 cp conftest.
in conftest.
nl
4126 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4127 cmp -s conftest.out conftest.
nl ||
break
4128 # 10000 chars as input seems more than enough
4129 test $lt_ac_count -gt 10 && break
4130 lt_ac_count
=`expr $lt_ac_count + 1`
4131 if test $lt_ac_count -gt $lt_ac_max; then
4132 lt_ac_max
=$lt_ac_count
4133 lt_cv_path_SED
=$lt_ac_sed
4142 { echo "$as_me:$LINENO: result: $SED" >&5
4143 echo "${ECHO_T}$SED" >&6; }
4145 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4146 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4147 if test "${ac_cv_path_GREP+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4150 # Extract the first word of "grep ggrep" to use in msg output
4151 if test -z "$GREP"; then
4152 set dummy
grep ggrep
; ac_prog_name
=$2
4153 if test "${ac_cv_path_GREP+set}" = set; then
4154 echo $ECHO_N "(cached) $ECHO_C" >&6
4156 ac_path_GREP_found
=false
4157 # Loop through the user's path and test for each of PROGNAME-LIST
4158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4159 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4162 test -z "$as_dir" && as_dir
=.
4163 for ac_prog
in grep ggrep
; do
4164 for ac_exec_ext
in '' $ac_executable_extensions; do
4165 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4166 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4167 # Check for GNU ac_path_GREP and select it if it is found.
4168 # Check for GNU $ac_path_GREP
4169 case `"$ac_path_GREP" --version 2>&1` in
4171 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4174 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4177 cat "conftest.in" "conftest.in" >"conftest.tmp"
4178 mv "conftest.tmp" "conftest.in"
4179 cp "conftest.in" "conftest.nl"
4180 echo 'GREP' >> "conftest.nl"
4181 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4182 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4183 ac_count
=`expr $ac_count + 1`
4184 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4185 # Best one so far, save it but keep looking for a better one
4186 ac_cv_path_GREP
="$ac_path_GREP"
4187 ac_path_GREP_max
=$ac_count
4189 # 10*(2^10) chars as input seems more than enough
4190 test $ac_count -gt 10 && break
4192 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4196 $ac_path_GREP_found && break 3
4206 GREP
="$ac_cv_path_GREP"
4207 if test -z "$GREP"; then
4208 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4209 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4210 { (exit 1); exit 1; }; }
4214 ac_cv_path_GREP
=$GREP
4219 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4220 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4221 GREP
="$ac_cv_path_GREP"
4224 { echo "$as_me:$LINENO: checking for egrep" >&5
4225 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4226 if test "${ac_cv_path_EGREP+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4229 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4230 then ac_cv_path_EGREP
="$GREP -E"
4232 # Extract the first word of "egrep" to use in msg output
4233 if test -z "$EGREP"; then
4234 set dummy
egrep; ac_prog_name
=$2
4235 if test "${ac_cv_path_EGREP+set}" = set; then
4236 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 ac_path_EGREP_found
=false
4239 # Loop through the user's path and test for each of PROGNAME-LIST
4240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4241 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4244 test -z "$as_dir" && as_dir
=.
4245 for ac_prog
in egrep; do
4246 for ac_exec_ext
in '' $ac_executable_extensions; do
4247 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4248 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4249 # Check for GNU ac_path_EGREP and select it if it is found.
4250 # Check for GNU $ac_path_EGREP
4251 case `"$ac_path_EGREP" --version 2>&1` in
4253 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4256 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4259 cat "conftest.in" "conftest.in" >"conftest.tmp"
4260 mv "conftest.tmp" "conftest.in"
4261 cp "conftest.in" "conftest.nl"
4262 echo 'EGREP' >> "conftest.nl"
4263 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4264 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4265 ac_count
=`expr $ac_count + 1`
4266 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4267 # Best one so far, save it but keep looking for a better one
4268 ac_cv_path_EGREP
="$ac_path_EGREP"
4269 ac_path_EGREP_max
=$ac_count
4271 # 10*(2^10) chars as input seems more than enough
4272 test $ac_count -gt 10 && break
4274 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4278 $ac_path_EGREP_found && break 3
4288 EGREP
="$ac_cv_path_EGREP"
4289 if test -z "$EGREP"; then
4290 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4291 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4292 { (exit 1); exit 1; }; }
4296 ac_cv_path_EGREP
=$EGREP
4302 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4303 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4304 EGREP
="$ac_cv_path_EGREP"
4308 # Check whether --with-gnu-ld was given.
4309 if test "${with_gnu_ld+set}" = set; then
4310 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4316 if test "$GCC" = yes; then
4317 # Check if gcc -print-prog-name=ld gives a path.
4318 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4319 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4322 # gcc leaves a trailing carriage return which upsets mingw
4323 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4325 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4328 # Accept absolute paths.
4330 re_direlt
='/[^/][^/]*/\.\./'
4331 # Canonicalize the pathname of ld
4332 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4333 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4334 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4336 test -z "$LD" && LD
="$ac_prog"
4339 # If it fails, then pretend we aren't using GCC.
4343 # If it is relative, then search for the first ld in PATH.
4347 elif test "$with_gnu_ld" = yes; then
4348 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4349 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4351 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4352 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4354 if test "${lt_cv_path_LD+set}" = set; then
4355 echo $ECHO_N "(cached) $ECHO_C" >&6
4357 if test -z "$LD"; then
4358 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4359 for ac_dir
in $PATH; do
4361 test -z "$ac_dir" && ac_dir
=.
4362 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4363 lt_cv_path_LD
="$ac_dir/$ac_prog"
4364 # Check to see if the program is GNU ld. I'd rather use --version,
4365 # but apparently some variants of GNU ld only accept -v.
4366 # Break only if it was the GNU/non-GNU ld that we prefer.
4367 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4368 *GNU
* |
*'with BFD'*)
4369 test "$with_gnu_ld" != no
&& break
4372 test "$with_gnu_ld" != yes && break
4379 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4384 if test -n "$LD"; then
4385 { echo "$as_me:$LINENO: result: $LD" >&5
4386 echo "${ECHO_T}$LD" >&6; }
4388 { echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6; }
4391 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4392 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4393 { (exit 1); exit 1; }; }
4394 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4395 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4396 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4397 echo $ECHO_N "(cached) $ECHO_C" >&6
4399 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4400 case `$LD -v 2>&1 </dev/null` in
4401 *GNU
* |
*'with BFD'*)
4402 lt_cv_prog_gnu_ld
=yes
4405 lt_cv_prog_gnu_ld
=no
4409 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4410 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4411 with_gnu_ld
=$lt_cv_prog_gnu_ld
4414 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4415 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4416 if test "${lt_cv_ld_reload_flag+set}" = set; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 lt_cv_ld_reload_flag
='-r'
4421 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4422 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4423 reload_flag
=$lt_cv_ld_reload_flag
4424 case $reload_flag in
4426 *) reload_flag
=" $reload_flag" ;;
4428 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4431 if test "$GCC" = yes; then
4432 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4434 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4439 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4440 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4441 if test "${lt_cv_path_NM+set}" = set; then
4442 echo $ECHO_N "(cached) $ECHO_C" >&6
4444 if test -n "$NM"; then
4445 # Let the user override the test.
4448 lt_nm_to_check
="${ac_tool_prefix}nm"
4449 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4450 lt_nm_to_check
="$lt_nm_to_check nm"
4452 for lt_tmp_nm
in $lt_nm_to_check; do
4453 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4454 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4456 test -z "$ac_dir" && ac_dir
=.
4457 tmp_nm
="$ac_dir/$lt_tmp_nm"
4458 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4459 # Check to see if the nm accepts a BSD-compat flag.
4460 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4461 # nm: unknown option "B" ignored
4462 # Tru64's nm complains that /dev/null is an invalid object file
4463 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4464 */dev
/null
* |
*'Invalid file or object type'*)
4465 lt_cv_path_NM
="$tmp_nm -B"
4469 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4471 lt_cv_path_NM
="$tmp_nm -p"
4475 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4476 continue # so that we can try to find one that supports BSD flags
4485 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4488 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4489 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4492 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4493 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4495 if test "$LN_S" = "ln -s"; then
4496 { echo "$as_me:$LINENO: result: yes" >&5
4497 echo "${ECHO_T}yes" >&6; }
4499 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4500 echo "${ECHO_T}no, using $LN_S" >&6; }
4503 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4504 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4505 if test "${lt_cv_deplibs_check_method+set}" = set; then
4506 echo $ECHO_N "(cached) $ECHO_C" >&6
4508 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4509 lt_cv_file_magic_test_file
=
4510 lt_cv_deplibs_check_method
='unknown'
4511 # Need to set the preceding variable on all platforms that support
4512 # interlibrary dependencies.
4513 # 'none' -- dependencies not supported.
4514 # `unknown' -- same as none, but documents that we really don't know.
4515 # 'pass_all' -- all dependencies passed with no checks.
4516 # 'test_compile' -- check by making test program.
4517 # 'file_magic [[regex]]' -- check by looking for files in library path
4518 # which responds to the $file_magic_cmd with a given extended regex.
4519 # If you have `file' or equivalent on your system and you're not sure
4520 # whether `pass_all' will *always* work, you probably want this one.
4524 lt_cv_deplibs_check_method
=pass_all
4528 lt_cv_deplibs_check_method
=pass_all
4532 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4533 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4534 lt_cv_file_magic_test_file
=/shlib
/libc.so
4538 # func_win32_libid is a shell function defined in ltmain.sh
4539 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4540 lt_cv_file_magic_cmd
='func_win32_libid'
4544 # Base MSYS/MinGW do not provide the 'file' command needed by
4545 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4546 # unless we find 'file', for example because we are cross-compiling.
4547 if ( file / ) >/dev
/null
2>&1; then
4548 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4549 lt_cv_file_magic_cmd
='func_win32_libid'
4551 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4552 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4556 darwin
* | rhapsody
*)
4557 lt_cv_deplibs_check_method
=pass_all
4560 freebsd
* | dragonfly
*)
4561 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4564 # Not sure whether the presence of OpenBSD here was a mistake.
4565 # Let's accept both of them until this is cleared up.
4566 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4567 lt_cv_file_magic_cmd
=/usr
/bin
/file
4568 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4572 lt_cv_deplibs_check_method
=pass_all
4577 lt_cv_deplibs_check_method
=pass_all
4580 hpux10.20
* | hpux11
*)
4581 lt_cv_file_magic_cmd
=/usr
/bin
/file
4584 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4585 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4588 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]'
4589 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4592 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4593 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4599 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4600 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4603 irix5
* | irix6
* | nonstopux
*)
4605 *-32|
*"-32 ") libmagic
=32-bit;;
4606 *-n32|
*"-n32 ") libmagic
=N32
;;
4607 *-64|
*"-64 ") libmagic
=64-bit;;
4608 *) libmagic
=never-match
;;
4610 lt_cv_deplibs_check_method
=pass_all
4613 # This must be Linux ELF.
4614 linux
* | k
*bsd
*-gnu)
4615 lt_cv_deplibs_check_method
=pass_all
4619 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4620 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4622 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4627 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4628 lt_cv_file_magic_cmd
=/usr
/bin
/file
4629 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4633 lt_cv_deplibs_check_method
=unknown
4637 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4638 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4640 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4644 osf3
* | osf4
* | osf5
*)
4645 lt_cv_deplibs_check_method
=pass_all
4649 lt_cv_deplibs_check_method
=pass_all
4653 lt_cv_deplibs_check_method
=pass_all
4657 case $host_vendor in
4659 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]'
4660 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4663 lt_cv_deplibs_check_method
=pass_all
4666 lt_cv_file_magic_cmd
='/bin/file'
4667 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4670 lt_cv_file_magic_cmd
='/bin/file'
4671 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4672 lt_cv_file_magic_test_file
=/lib
/libc.so
4675 lt_cv_deplibs_check_method
=pass_all
4678 lt_cv_deplibs_check_method
=pass_all
4683 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4684 lt_cv_deplibs_check_method
=pass_all
4689 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4690 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4691 file_magic_cmd
=$lt_cv_file_magic_cmd
4692 deplibs_check_method
=$lt_cv_deplibs_check_method
4693 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4698 # If no C compiler was specified, use CC.
4701 # If no C compiler flags were specified, use CFLAGS.
4702 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4704 # Allow CC to be a program name with arguments.
4708 # Check whether --enable-libtool-lock was given.
4709 if test "${enable_libtool_lock+set}" = set; then
4710 enableval
=$enable_libtool_lock;
4713 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4715 # Some flags need to be propagated to the compiler or linker for good
4719 # Find out which ABI we are using.
4720 echo 'int i;' > conftest.
$ac_ext
4721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4722 (eval $ac_compile) 2>&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); }; then
4726 case `/usr/bin/file conftest.$ac_objext` in
4738 # Find out which ABI we are using.
4739 echo '#line 4739 "configure"' > 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 if test "$lt_cv_prog_gnu_ld" = yes; then
4746 case `/usr/bin/file conftest.$ac_objext` in
4748 LD
="${LD-ld} -melf32bsmip"
4751 LD
="${LD-ld} -melf32bmipn32"
4754 LD
="${LD-ld} -melf64bmip"
4758 case `/usr/bin/file conftest.$ac_objext` in
4774 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4775 s390
*-*linux
*|sparc
*-*linux
*)
4776 # Find out which ABI we are using.
4777 echo 'int i;' > conftest.
$ac_ext
4778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4779 (eval $ac_compile) 2>&5
4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782 (exit $ac_status); }; then
4783 case `/usr/bin/file conftest.o` in
4786 x86_64-
*kfreebsd
*-gnu)
4787 LD
="${LD-ld} -m elf_i386_fbsd"
4790 LD
="${LD-ld} -m elf_i386"
4792 ppc64-
*linux
*|powerpc64-
*linux
*)
4793 LD
="${LD-ld} -m elf32ppclinux"
4796 LD
="${LD-ld} -m elf_s390"
4799 LD
="${LD-ld} -m elf32_sparc"
4805 x86_64-
*kfreebsd
*-gnu)
4806 LD
="${LD-ld} -m elf_x86_64_fbsd"
4809 LD
="${LD-ld} -m elf_x86_64"
4811 ppc
*-*linux
*|powerpc
*-*linux
*)
4812 LD
="${LD-ld} -m elf64ppc"
4815 LD
="${LD-ld} -m elf64_s390"
4818 LD
="${LD-ld} -m elf64_sparc"
4828 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4829 SAVE_CFLAGS
="$CFLAGS"
4830 CFLAGS
="$CFLAGS -belf"
4831 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4832 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4833 if test "${lt_cv_cc_needs_belf+set}" = set; then
4834 echo $ECHO_N "(cached) $ECHO_C" >&6
4837 ac_cpp
='$CPP $CPPFLAGS'
4838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4842 cat >conftest.
$ac_ext <<_ACEOF
4845 cat confdefs.h
>>conftest.
$ac_ext
4846 cat >>conftest.
$ac_ext <<_ACEOF
4847 /* end confdefs.h. */
4857 rm -f conftest.
$ac_objext conftest
$ac_exeext
4858 if { (ac_try
="$ac_link"
4860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4861 *) ac_try_echo=$ac_try;;
4863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4864 (eval "$ac_link") 2>conftest.er1
4866 grep -v '^ *+' conftest.er1 >conftest.err
4868 cat conftest.err >&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); } && {
4871 test -z "$ac_c_werror_flag" ||
4872 test ! -s conftest.err
4873 } && test -s conftest$ac_exeext &&
4874 $as_test_x conftest$ac_exeext; then
4875 lt_cv_cc_needs_belf=yes
4877 echo "$as_me: failed program was:" >&5
4878 sed 's/^/| /' conftest.$ac_ext >&5
4880 lt_cv_cc_needs_belf=no
4883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4884 conftest$ac_exeext conftest.$ac_ext
4886 ac_cpp='$CPP $CPPFLAGS'
4887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4892 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4893 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4894 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4895 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4896 CFLAGS="$SAVE_CFLAGS"
4900 # Find out which ABI we are using.
4901 echo 'int i;' > conftest.$ac_ext
4902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4903 (eval $ac_compile) 2>&5
4905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906 (exit $ac_status); }; then
4907 case `/usr
/bin
/file conftest.o
` in
4909 case $lt_cv_prog_gnu_ld in
4910 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4912 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4926 need_locks="$enable_libtool_lock"
4930 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4931 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4932 if test "${ac_cv_header_stdc+set}" = set; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 cat >conftest.$ac_ext <<_ACEOF
4938 cat confdefs.h >>conftest.$ac_ext
4939 cat >>conftest.$ac_ext <<_ACEOF
4940 /* end confdefs.h. */
4954 rm -f conftest.$ac_objext
4955 if { (ac_try="$ac_compile"
4957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4958 *) ac_try_echo
=$ac_try;;
4960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961 (eval "$ac_compile") 2>conftest.er1
4963 grep -v '^ *+' conftest.er1
>conftest.err
4965 cat conftest.err
>&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } && {
4968 test -z "$ac_c_werror_flag" ||
4969 test ! -s conftest.err
4970 } && test -s conftest.
$ac_objext; then
4971 ac_cv_header_stdc
=yes
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.
$ac_ext >&5
4976 ac_cv_header_stdc
=no
4979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4981 if test $ac_cv_header_stdc = yes; then
4982 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4983 cat >conftest.
$ac_ext <<_ACEOF
4986 cat confdefs.h
>>conftest.
$ac_ext
4987 cat >>conftest.
$ac_ext <<_ACEOF
4988 /* end confdefs.h. */
4992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4993 $EGREP "memchr" >/dev
/null
2>&1; then
4996 ac_cv_header_stdc
=no
5002 if test $ac_cv_header_stdc = yes; then
5003 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5004 cat >conftest.
$ac_ext <<_ACEOF
5007 cat confdefs.h
>>conftest.
$ac_ext
5008 cat >>conftest.
$ac_ext <<_ACEOF
5009 /* end confdefs.h. */
5013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5014 $EGREP "free" >/dev
/null
2>&1; then
5017 ac_cv_header_stdc
=no
5023 if test $ac_cv_header_stdc = yes; then
5024 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5025 if test "$cross_compiling" = yes; then
5028 cat >conftest.
$ac_ext <<_ACEOF
5031 cat confdefs.h
>>conftest.
$ac_ext
5032 cat >>conftest.
$ac_ext <<_ACEOF
5033 /* end confdefs.h. */
5036 #if ((' ' & 0x0FF) == 0x020)
5037 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5038 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5040 # define ISLOWER(c) \
5041 (('a' <= (c) && (c) <= 'i') \
5042 || ('j' <= (c) && (c) <= 'r') \
5043 || ('s' <= (c) && (c) <= 'z'))
5044 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5047 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5052 for (i = 0; i < 256; i++)
5053 if (XOR (islower (i), ISLOWER (i))
5054 || toupper (i) != TOUPPER (i))
5059 rm -f conftest
$ac_exeext
5060 if { (ac_try
="$ac_link"
5062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5063 *) ac_try_echo=$ac_try;;
5065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5066 (eval "$ac_link") 2>&5
5068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5070 { (case "(($ac_try" in
5071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5072 *) ac_try_echo
=$ac_try;;
5074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5075 (eval "$ac_try") 2>&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); }; }; then
5081 echo "$as_me: program exited with status $ac_status" >&5
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.
$ac_ext >&5
5086 ac_cv_header_stdc
=no
5088 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5094 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5095 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5096 if test $ac_cv_header_stdc = yes; then
5098 cat >>confdefs.h
<<\_ACEOF
5099 #define STDC_HEADERS 1
5104 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5114 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5115 inttypes.h stdint.h unistd.h
5117 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5118 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5120 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5121 echo $ECHO_N "(cached) $ECHO_C" >&6
5123 cat >conftest.
$ac_ext <<_ACEOF
5126 cat confdefs.h
>>conftest.
$ac_ext
5127 cat >>conftest.
$ac_ext <<_ACEOF
5128 /* end confdefs.h. */
5129 $ac_includes_default
5131 #include <$ac_header>
5133 rm -f conftest.
$ac_objext
5134 if { (ac_try
="$ac_compile"
5136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5137 *) ac_try_echo=$ac_try;;
5139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5140 (eval "$ac_compile") 2>conftest.er1
5142 grep -v '^ *+' conftest.er1 >conftest.err
5144 cat conftest.err >&5
5145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146 (exit $ac_status); } && {
5147 test -z "$ac_c_werror_flag" ||
5148 test ! -s conftest.err
5149 } && test -s conftest.$ac_objext; then
5150 eval "$as_ac_Header=yes"
5152 echo "$as_me: failed program was:" >&5
5153 sed 's/^/| /' conftest.$ac_ext >&5
5155 eval "$as_ac_Header=no"
5158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5160 ac_res=`eval echo '${'$as_ac_Header'}'`
5161 { echo "$as_me:$LINENO: result: $ac_res" >&5
5162 echo "${ECHO_T}$ac_res" >&6; }
5163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5164 cat >>confdefs.h <<_ACEOF
5165 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5174 for ac_header in dlfcn.h
5176 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5177 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5178 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5181 echo $ECHO_N "(cached) $ECHO_C" >&6
5183 ac_res=`eval echo '${'$as_ac_Header'}'`
5184 { echo "$as_me:$LINENO: result: $ac_res" >&5
5185 echo "${ECHO_T}$ac_res" >&6; }
5187 # Is the header compilable?
5188 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5189 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5190 cat >conftest.$ac_ext <<_ACEOF
5193 cat confdefs.h >>conftest.$ac_ext
5194 cat >>conftest.$ac_ext <<_ACEOF
5195 /* end confdefs.h. */
5196 $ac_includes_default
5197 #include <$ac_header>
5199 rm -f conftest.$ac_objext
5200 if { (ac_try="$ac_compile"
5202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5203 *) ac_try_echo
=$ac_try;;
5205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5206 (eval "$ac_compile") 2>conftest.er1
5208 grep -v '^ *+' conftest.er1
>conftest.err
5210 cat conftest.err
>&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); } && {
5213 test -z "$ac_c_werror_flag" ||
5214 test ! -s conftest.err
5215 } && test -s conftest.
$ac_objext; then
5216 ac_header_compiler
=yes
5218 echo "$as_me: failed program was:" >&5
5219 sed 's/^/| /' conftest.
$ac_ext >&5
5221 ac_header_compiler
=no
5224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5225 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5226 echo "${ECHO_T}$ac_header_compiler" >&6; }
5228 # Is the header present?
5229 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5230 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5231 cat >conftest.
$ac_ext <<_ACEOF
5234 cat confdefs.h
>>conftest.
$ac_ext
5235 cat >>conftest.
$ac_ext <<_ACEOF
5236 /* end confdefs.h. */
5237 #include <$ac_header>
5239 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5242 *) ac_try_echo=$ac_try;;
5244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5247 grep -v '^ *+' conftest.er1 >conftest.err
5249 cat conftest.err >&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); } >/dev/null && {
5252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5253 test ! -s conftest.err
5255 ac_header_preproc=yes
5257 echo "$as_me: failed program was:" >&5
5258 sed 's/^/| /' conftest.$ac_ext >&5
5260 ac_header_preproc=no
5263 rm -f conftest.err conftest.$ac_ext
5264 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5265 echo "${ECHO_T}$ac_header_preproc" >&6; }
5267 # So? What about this header?
5268 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5270 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5271 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5273 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5274 ac_header_preproc=yes
5277 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5278 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5279 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5280 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5281 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5282 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5283 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5284 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5286 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5287 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5288 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5292 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5295 echo $ECHO_N "(cached) $ECHO_C" >&6
5297 eval "$as_ac_Header=\$ac_header_preproc"
5299 ac_res=`eval echo '${'$as_ac_Header'}'`
5300 { echo "$as_me:$LINENO: result: $ac_res" >&5
5301 echo "${ECHO_T}$ac_res" >&6; }
5304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5305 cat >>confdefs.h <<_ACEOF
5306 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5314 ac_cpp='$CXXCPP $CPPFLAGS'
5315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5318 if test -z "$CXX"; then
5319 if test -n "$CCC"; then
5322 if test -n "$ac_tool_prefix"; then
5323 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5325 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5326 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5329 if test "${ac_cv_prog_CXX+set}" = set; then
5330 echo $ECHO_N "(cached) $ECHO_C" >&6
5332 if test -n "$CXX"; then
5333 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir=.
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5342 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5353 if test -n "$CXX"; then
5354 { echo "$as_me:$LINENO: result: $CXX" >&5
5355 echo "${ECHO_T}$CXX" >&6; }
5357 { echo "$as_me:$LINENO: result: no" >&5
5358 echo "${ECHO_T}no" >&6; }
5362 test -n "$CXX" && break
5365 if test -z "$CXX"; then
5367 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5369 # Extract the first word of "$ac_prog", so it can be a program name with args.
5370 set dummy $ac_prog; ac_word=$2
5371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5373 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5374 echo $ECHO_N "(cached) $ECHO_C" >&6
5376 if test -n "$ac_ct_CXX"; then
5377 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 test -z "$as_dir" && as_dir=.
5384 for ac_exec_ext in '' $ac_executable_extensions; do
5385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5386 ac_cv_prog_ac_ct_CXX="$ac_prog"
5387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5397 if test -n "$ac_ct_CXX"; then
5398 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5399 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5401 { echo "$as_me:$LINENO: result: no" >&5
5402 echo "${ECHO_T}no" >&6; }
5406 test -n "$ac_ct_CXX" && break
5409 if test "x$ac_ct_CXX" = x; then
5412 case $cross_compiling:$ac_tool_warned in
5414 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5415 whose name does not start with the host triplet. If you think this
5416 configuration is useful to you, please write to autoconf@gnu.org." >&5
5417 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5418 whose name does not start with the host triplet. If you think this
5419 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5420 ac_tool_warned=yes ;;
5428 # Provide some information about the compiler.
5429 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5430 ac_compiler=`set X
$ac_compile; echo $2`
5431 { (ac_try="$ac_compiler --version >&5"
5433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5434 *) ac_try_echo
=$ac_try;;
5436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5437 (eval "$ac_compiler --version >&5") 2>&5
5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 (exit $ac_status); }
5441 { (ac_try
="$ac_compiler -v >&5"
5443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5444 *) ac_try_echo=$ac_try;;
5446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5447 (eval "$ac_compiler -v >&5") 2>&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); }
5451 { (ac_try="$ac_compiler -V >&5"
5453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5454 *) ac_try_echo
=$ac_try;;
5456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5457 (eval "$ac_compiler -V >&5") 2>&5
5459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460 (exit $ac_status); }
5462 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5463 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5464 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5465 echo $ECHO_N "(cached) $ECHO_C" >&6
5467 cat >conftest.
$ac_ext <<_ACEOF
5470 cat confdefs.h
>>conftest.
$ac_ext
5471 cat >>conftest.
$ac_ext <<_ACEOF
5472 /* end confdefs.h. */
5485 rm -f conftest.
$ac_objext
5486 if { (ac_try
="$ac_compile"
5488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5489 *) ac_try_echo=$ac_try;;
5491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5492 (eval "$ac_compile") 2>conftest.er1
5494 grep -v '^ *+' conftest.er1 >conftest.err
5496 cat conftest.err >&5
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); } && {
5499 test -z "$ac_cxx_werror_flag" ||
5500 test ! -s conftest.err
5501 } && test -s conftest.$ac_objext; then
5504 echo "$as_me: failed program was:" >&5
5505 sed 's/^/| /' conftest.$ac_ext >&5
5510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5511 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5514 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5515 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5516 GXX=`test $ac_compiler_gnu = yes && echo yes`
5517 ac_test_CXXFLAGS=${CXXFLAGS+set}
5518 ac_save_CXXFLAGS=$CXXFLAGS
5519 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5520 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5521 if test "${ac_cv_prog_cxx_g+set}" = set; then
5522 echo $ECHO_N "(cached) $ECHO_C" >&6
5524 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5525 ac_cxx_werror_flag=yes
5528 cat >conftest.$ac_ext <<_ACEOF
5531 cat confdefs.h >>conftest.$ac_ext
5532 cat >>conftest.$ac_ext <<_ACEOF
5533 /* end confdefs.h. */
5543 rm -f conftest.$ac_objext
5544 if { (ac_try="$ac_compile"
5546 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5547 *) ac_try_echo
=$ac_try;;
5549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5550 (eval "$ac_compile") 2>conftest.er1
5552 grep -v '^ *+' conftest.er1
>conftest.err
5554 cat conftest.err
>&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); } && {
5557 test -z "$ac_cxx_werror_flag" ||
5558 test ! -s conftest.err
5559 } && test -s conftest.
$ac_objext; then
5560 ac_cv_prog_cxx_g
=yes
5562 echo "$as_me: failed program was:" >&5
5563 sed 's/^/| /' conftest.
$ac_ext >&5
5566 cat >conftest.
$ac_ext <<_ACEOF
5569 cat confdefs.h
>>conftest.
$ac_ext
5570 cat >>conftest.
$ac_ext <<_ACEOF
5571 /* end confdefs.h. */
5581 rm -f conftest.
$ac_objext
5582 if { (ac_try
="$ac_compile"
5584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5585 *) ac_try_echo=$ac_try;;
5587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5588 (eval "$ac_compile") 2>conftest.er1
5590 grep -v '^ *+' conftest.er1 >conftest.err
5592 cat conftest.err >&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); } && {
5595 test -z "$ac_cxx_werror_flag" ||
5596 test ! -s conftest.err
5597 } && test -s conftest.$ac_objext; then
5600 echo "$as_me: failed program was:" >&5
5601 sed 's/^/| /' conftest.$ac_ext >&5
5603 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5605 cat >conftest.$ac_ext <<_ACEOF
5608 cat confdefs.h >>conftest.$ac_ext
5609 cat >>conftest.$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5620 rm -f conftest.$ac_objext
5621 if { (ac_try="$ac_compile"
5623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5624 *) ac_try_echo
=$ac_try;;
5626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5627 (eval "$ac_compile") 2>conftest.er1
5629 grep -v '^ *+' conftest.er1
>conftest.err
5631 cat conftest.err
>&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); } && {
5634 test -z "$ac_cxx_werror_flag" ||
5635 test ! -s conftest.err
5636 } && test -s conftest.
$ac_objext; then
5637 ac_cv_prog_cxx_g
=yes
5639 echo "$as_me: failed program was:" >&5
5640 sed 's/^/| /' conftest.
$ac_ext >&5
5645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5652 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5654 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5655 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5656 if test "$ac_test_CXXFLAGS" = set; then
5657 CXXFLAGS
=$ac_save_CXXFLAGS
5658 elif test $ac_cv_prog_cxx_g = yes; then
5659 if test "$GXX" = yes; then
5665 if test "$GXX" = yes; then
5672 ac_cpp
='$CXXCPP $CPPFLAGS'
5673 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5674 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5675 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5677 depcc
="$CXX" am_compiler_list
=
5679 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5680 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5681 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5682 echo $ECHO_N "(cached) $ECHO_C" >&6
5684 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5685 # We make a subdir and do the tests there. Otherwise we can end up
5686 # making bogus files that we don't know about and never remove. For
5687 # instance it was reported that on HP-UX the gcc test will end up
5688 # making a dummy file named `D' -- because `-MD' means `put the output
5691 # Copy depcomp to subdir because otherwise we won't find it if we're
5692 # using a relative directory.
5693 cp "$am_depcomp" conftest.dir
5695 # We will build objects and dependencies in a subdirectory because
5696 # it helps to detect inapplicable dependency modes. For instance
5697 # both Tru64's cc and ICC support -MD to output dependencies as a
5698 # side effect of compilation, but ICC will put the dependencies in
5699 # the current directory while Tru64 will put them in the object
5703 am_cv_CXX_dependencies_compiler_type
=none
5704 if test "$am_compiler_list" = ""; then
5705 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5707 for depmode
in $am_compiler_list; do
5708 # Setup a source with many dependencies, because some compilers
5709 # like to wrap large dependency lists on column 80 (with \), and
5710 # we should not choose a depcomp mode which is confused by this.
5712 # We need to recreate these files for each test, as the compiler may
5713 # overwrite some of them when testing with obscure command lines.
5714 # This happens at least with the AIX C compiler.
5716 for i
in 1 2 3 4 5 6; do
5717 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5720 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5724 # after this tag, mechanisms are not by side-effect, so they'll
5725 # only be used when explicitly requested
5726 if test "x$enable_dependency_tracking" = xyes
; then
5734 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5735 # mode. It turns out that the SunPro C++ compiler does not properly
5736 # handle `-M -o', and we need to detect this.
5737 if depmode
=$depmode \
5738 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5739 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5740 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5741 >/dev
/null
2>conftest.err
&&
5742 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5743 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5744 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5745 # icc doesn't choke on unknown options, it will just issue warnings
5746 # (even with -Werror). So we grep stderr for any message
5747 # that says an option was ignored.
5748 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
5749 am_cv_CXX_dependencies_compiler_type
=$depmode
5758 am_cv_CXX_dependencies_compiler_type
=none
5762 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5763 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5764 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5769 test "x$enable_dependency_tracking" != xno \
5770 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5771 am__fastdepCXX_TRUE
=
5772 am__fastdepCXX_FALSE
='#'
5774 am__fastdepCXX_TRUE
='#'
5775 am__fastdepCXX_FALSE
=
5781 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5782 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5783 (test "X$CXX" != "Xg++"))) ; then
5785 ac_cpp
='$CXXCPP $CPPFLAGS'
5786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5789 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5790 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5791 if test -z "$CXXCPP"; then
5792 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5793 echo $ECHO_N "(cached) $ECHO_C" >&6
5795 # Double quotes because CXXCPP needs to be expanded
5796 for CXXCPP
in "$CXX -E" "/lib/cpp"
5799 for ac_cxx_preproc_warn_flag
in '' yes
5801 # Use a header file that comes with gcc, so configuring glibc
5802 # with a fresh cross-compiler works.
5803 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5804 # <limits.h> exists even on freestanding compilers.
5805 # On the NeXT, cc -E runs the code through the compiler's parser,
5806 # not just through cpp. "Syntax error" is here to catch this case.
5807 cat >conftest.
$ac_ext <<_ACEOF
5810 cat confdefs.h
>>conftest.
$ac_ext
5811 cat >>conftest.
$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5814 # include <limits.h>
5816 # include <assert.h>
5820 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5823 *) ac_try_echo=$ac_try;;
5825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5828 grep -v '^ *+' conftest.er1 >conftest.err
5830 cat conftest.err >&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); } >/dev/null && {
5833 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5834 test ! -s conftest.err
5838 echo "$as_me: failed program was:" >&5
5839 sed 's/^/| /' conftest.$ac_ext >&5
5841 # Broken: fails on valid input.
5845 rm -f conftest.err conftest.$ac_ext
5847 # OK, works on sane cases. Now check whether nonexistent headers
5848 # can be detected and how.
5849 cat >conftest.$ac_ext <<_ACEOF
5852 cat confdefs.h >>conftest.$ac_ext
5853 cat >>conftest.$ac_ext <<_ACEOF
5854 /* end confdefs.h. */
5855 #include <ac_nonexistent.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
5873 # Broken: success on invalid input.
5876 echo "$as_me: failed program was:" >&5
5877 sed 's/^/| /' conftest.
$ac_ext >&5
5879 # Passes both tests.
5884 rm -f conftest.err conftest.
$ac_ext
5887 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5888 rm -f conftest.err conftest.
$ac_ext
5889 if $ac_preproc_ok; then
5894 ac_cv_prog_CXXCPP
=$CXXCPP
5897 CXXCPP
=$ac_cv_prog_CXXCPP
5899 ac_cv_prog_CXXCPP
=$CXXCPP
5901 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5902 echo "${ECHO_T}$CXXCPP" >&6; }
5904 for ac_cxx_preproc_warn_flag
in '' yes
5906 # Use a header file that comes with gcc, so configuring glibc
5907 # with a fresh cross-compiler works.
5908 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5909 # <limits.h> exists even on freestanding compilers.
5910 # On the NeXT, cc -E runs the code through the compiler's parser,
5911 # not just through cpp. "Syntax error" is here to catch this case.
5912 cat >conftest.
$ac_ext <<_ACEOF
5915 cat confdefs.h
>>conftest.
$ac_ext
5916 cat >>conftest.
$ac_ext <<_ACEOF
5917 /* end confdefs.h. */
5919 # include <limits.h>
5921 # include <assert.h>
5925 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5928 *) ac_try_echo=$ac_try;;
5930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5931 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5933 grep -v '^ *+' conftest.er1 >conftest.err
5935 cat conftest.err >&5
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); } >/dev/null && {
5938 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5939 test ! -s conftest.err
5943 echo "$as_me: failed program was:" >&5
5944 sed 's/^/| /' conftest.$ac_ext >&5
5946 # Broken: fails on valid input.
5950 rm -f conftest.err conftest.$ac_ext
5952 # OK, works on sane cases. Now check whether nonexistent headers
5953 # can be detected and how.
5954 cat >conftest.$ac_ext <<_ACEOF
5957 cat confdefs.h >>conftest.$ac_ext
5958 cat >>conftest.$ac_ext <<_ACEOF
5959 /* end confdefs.h. */
5960 #include <ac_nonexistent.h>
5962 if { (ac_try="$ac_cpp conftest.$ac_ext"
5964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5965 *) ac_try_echo
=$ac_try;;
5967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5970 grep -v '^ *+' conftest.er1
>conftest.err
5972 cat conftest.err
>&5
5973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974 (exit $ac_status); } >/dev
/null
&& {
5975 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5976 test ! -s conftest.err
5978 # Broken: success on invalid input.
5981 echo "$as_me: failed program was:" >&5
5982 sed 's/^/| /' conftest.
$ac_ext >&5
5984 # Passes both tests.
5989 rm -f conftest.err conftest.
$ac_ext
5992 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5993 rm -f conftest.err conftest.
$ac_ext
5994 if $ac_preproc_ok; then
5997 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5998 See \`config.log' for more details." >&5
5999 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6000 See \`config.log' for more details." >&2;}
6001 { (exit 1); exit 1; }; }
6005 ac_cpp
='$CXXCPP $CPPFLAGS'
6006 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6007 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6008 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6014 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6015 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6016 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6017 if test -n "$ac_tool_prefix"; then
6018 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
6020 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6021 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6024 if test "${ac_cv_prog_F77+set}" = set; then
6025 echo $ECHO_N "(cached) $ECHO_C" >&6
6027 if test -n "$F77"; then
6028 ac_cv_prog_F77
="$F77" # Let the user override the test.
6030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6034 test -z "$as_dir" && as_dir
=.
6035 for ac_exec_ext
in '' $ac_executable_extensions; do
6036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6037 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6048 if test -n "$F77"; then
6049 { echo "$as_me:$LINENO: result: $F77" >&5
6050 echo "${ECHO_T}$F77" >&6; }
6052 { echo "$as_me:$LINENO: result: no" >&5
6053 echo "${ECHO_T}no" >&6; }
6057 test -n "$F77" && break
6060 if test -z "$F77"; then
6062 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
6064 # Extract the first word of "$ac_prog", so it can be a program name with args.
6065 set dummy
$ac_prog; ac_word
=$2
6066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6068 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 if test -n "$ac_ct_F77"; then
6072 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6078 test -z "$as_dir" && as_dir
=.
6079 for ac_exec_ext
in '' $ac_executable_extensions; do
6080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6081 ac_cv_prog_ac_ct_F77
="$ac_prog"
6082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6092 if test -n "$ac_ct_F77"; then
6093 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6094 echo "${ECHO_T}$ac_ct_F77" >&6; }
6096 { echo "$as_me:$LINENO: result: no" >&5
6097 echo "${ECHO_T}no" >&6; }
6101 test -n "$ac_ct_F77" && break
6104 if test "x$ac_ct_F77" = x
; then
6107 case $cross_compiling:$ac_tool_warned in
6109 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6110 whose name does not start with the host triplet. If you think this
6111 configuration is useful to you, please write to autoconf@gnu.org." >&5
6112 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6113 whose name does not start with the host triplet. If you think this
6114 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6115 ac_tool_warned
=yes ;;
6122 # Provide some information about the compiler.
6123 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6124 ac_compiler
=`set X $ac_compile; echo $2`
6125 { (ac_try
="$ac_compiler --version >&5"
6127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6128 *) ac_try_echo=$ac_try;;
6130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6131 (eval "$ac_compiler --version >&5") 2>&5
6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); }
6135 { (ac_try="$ac_compiler -v >&5"
6137 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6138 *) ac_try_echo
=$ac_try;;
6140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6141 (eval "$ac_compiler -v >&5") 2>&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); }
6145 { (ac_try
="$ac_compiler -V >&5"
6147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6148 *) ac_try_echo=$ac_try;;
6150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6151 (eval "$ac_compiler -V >&5") 2>&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); }
6157 # If we don't use `.F
' as extension, the preprocessor is not run on the
6158 # input file. (Note that this only needs to work for GNU compilers.)
6161 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6162 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6163 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6164 echo $ECHO_N "(cached) $ECHO_C" >&6
6166 cat >conftest.$ac_ext <<_ACEOF
6174 rm -f conftest.$ac_objext
6175 if { (ac_try="$ac_compile"
6177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6178 *) ac_try_echo=$ac_try;;
6180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6181 (eval "$ac_compile") 2>conftest.er1
6183 grep -v '^
*+' conftest.er1 >conftest.err
6185 cat conftest.err >&5
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); } && {
6188 test -z "$ac_f77_werror_flag" ||
6189 test ! -s conftest.err
6190 } && test -s conftest.$ac_objext; then
6193 echo "$as_me: failed program was:" >&5
6194 sed 's
/^
/|
/' conftest.$ac_ext >&5
6199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6200 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6203 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6204 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6206 ac_test_FFLAGS=${FFLAGS+set}
6207 ac_save_FFLAGS=$FFLAGS
6209 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6210 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6211 if test "${ac_cv_prog_f77_g+set}" = set; then
6212 echo $ECHO_N "(cached) $ECHO_C" >&6
6215 cat >conftest.$ac_ext <<_ACEOF
6220 rm -f conftest.$ac_objext
6221 if { (ac_try="$ac_compile"
6223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6224 *) ac_try_echo=$ac_try;;
6226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6227 (eval "$ac_compile") 2>conftest.er1
6229 grep -v '^
*+' conftest.er1 >conftest.err
6231 cat conftest.err >&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); } && {
6234 test -z "$ac_f77_werror_flag" ||
6235 test ! -s conftest.err
6236 } && test -s conftest.$ac_objext; then
6237 ac_cv_prog_f77_g=yes
6239 echo "$as_me: failed program was:" >&5
6240 sed 's
/^
/|
/' conftest.$ac_ext >&5
6245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6248 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6249 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6250 if test "$ac_test_FFLAGS" = set; then
6251 FFLAGS=$ac_save_FFLAGS
6252 elif test $ac_cv_prog_f77_g = yes; then
6253 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6259 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6266 G77=`test $ac_compiler_gnu = yes && echo yes`
6268 ac_cpp='$CPP $CPPFLAGS'
6269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6270 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6275 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6276 # find the maximum length of command line arguments
6277 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6278 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6279 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6280 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 # On DJGPP, this test can blow up pretty badly due to problems in libc
6288 # (any single argument exceeding 2000 bytes causes a buffer overrun
6289 # during glob expansion). Even if it were fixed, the result of this
6290 # check would be larger than it should be.
6291 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6295 # Under GNU Hurd, this test is not required because there is
6296 # no limit to the length of command line arguments.
6297 # Libtool will interpret -1 as no limit whatsoever
6298 lt_cv_sys_max_cmd_len
=-1;
6302 # On Win9x/ME, this test blows up -- it succeeds, but takes
6303 # about 5 minutes as the teststring grows exponentially.
6304 # Worse, since 9x/ME are not pre-emptively multitasking,
6305 # you end up with a "frozen" computer, even though with patience
6306 # the test eventually succeeds (with a max line length of 256k).
6307 # Instead, let's just punt: use the minimum linelength reported by
6308 # all of the supported platforms: 8192 (on NT/2K/XP).
6309 lt_cv_sys_max_cmd_len
=8192;
6313 # On AmigaOS with pdksh, this test takes hours, literally.
6314 # So we just punt and use a minimum line length of 8192.
6315 lt_cv_sys_max_cmd_len
=8192;
6318 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6319 # This has been around since 386BSD, at least. Likely further.
6320 if test -x /sbin
/sysctl
; then
6321 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6322 elif test -x /usr
/sbin
/sysctl
; then
6323 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6325 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6327 # And add a safety zone
6328 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6329 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6333 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6334 lt_cv_sys_max_cmd_len
=196608
6338 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6339 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6340 # nice to cause kernel panics so lets avoid the loop below.
6341 # First set a reasonable default.
6342 lt_cv_sys_max_cmd_len
=16384
6344 if test -x /sbin
/sysconfig
; then
6345 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6346 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6351 lt_cv_sys_max_cmd_len
=102400
6353 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6354 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6355 if test -n "$kargmax"; then
6356 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6358 lt_cv_sys_max_cmd_len
=32768
6362 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6363 if test -n "$lt_cv_sys_max_cmd_len"; then
6364 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6365 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6367 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6368 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6369 = "XX$teststring") >/dev
/null
2>&1 &&
6370 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6371 lt_cv_sys_max_cmd_len
=$new_result &&
6372 test $i != 17 # 1/2 MB should be enough
6375 teststring
=$teststring$teststring
6378 # Add a significant safety factor because C++ compilers can tack on massive
6379 # amounts of additional arguments before passing them to the linker.
6380 # It appears as though 1/2 is a usable value.
6381 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6388 if test -n $lt_cv_sys_max_cmd_len ; then
6389 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6390 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6392 { echo "$as_me:$LINENO: result: none" >&5
6393 echo "${ECHO_T}none" >&6; }
6400 # Check for command to grab the raw symbol name followed by C symbol from nm.
6401 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6402 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6403 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6407 # These are sane defaults that work on at least a few old systems.
6408 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6410 # Character class describing NM global symbol codes.
6411 symcode
='[BCDEGRST]'
6413 # Regexp to match symbols that can be accessed directly from C.
6414 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6416 # Transform an extracted symbol line into a proper C declaration
6417 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6419 # Transform an extracted symbol line into symbol name and symbol address
6420 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'"
6422 # Define system-specific variables.
6427 cygwin
* | mingw
* | pw32
*)
6428 symcode
='[ABCDGISTW]'
6430 hpux
*) # Its linker distinguishes data from code symbols
6431 if test "$host_cpu" = ia64
; then
6432 symcode
='[ABCDEGRST]'
6434 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6435 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6437 linux
* | k
*bsd
*-gnu)
6438 if test "$host_cpu" = ia64
; then
6439 symcode
='[ABCDGIRSTW]'
6440 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6441 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'"
6445 symcode
='[BCDEGRST]'
6448 symcode
='[BCDEGQRST]'
6459 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6467 # Handle CRLF in mingw tool chain
6471 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6475 # If we're using GNU nm, then use its standard symbol codes.
6476 case `$NM -V 2>&1` in
6477 *GNU
* |
*'with BFD'*)
6478 symcode
='[ABCDGIRSTW]' ;;
6481 # Try without a prefix undercore, then with it.
6482 for ac_symprfx
in "" "_"; do
6484 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6485 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6487 # Write the raw and C identifiers.
6488 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6490 # Check to see that the pipe works correctly.
6494 cat > conftest.
$ac_ext <<EOF
6499 void nm_test_func(){}
6503 int main(){nm_test_var='a';nm_test_func();return(0);}
6506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6507 (eval $ac_compile) 2>&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); }; then
6511 # Now try to grab the symbols.
6513 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6514 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); } && test -s "$nlist"; then
6518 # Try sorting and uniquifying the output.
6519 if sort "$nlist" |
uniq > "$nlist"T
; then
6520 mv -f "$nlist"T
"$nlist"
6525 # Make sure that we snagged all the symbols we need.
6526 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6527 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6528 cat <<EOF > conftest.$ac_ext
6534 # Now generate the symbol file.
6535 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6537 cat <<EOF >> conftest.$ac_ext
6538 #if defined (__STDC__) && __STDC__
6539 # define lt_ptr_t void *
6541 # define lt_ptr_t char *
6545 /* The mapping between symbol names and symbols. */
6550 lt_preloaded_symbols[] =
6553 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6554 cat <<\EOF
>> conftest.
$ac_ext
6562 # Now try linking the two files.
6563 mv conftest.
$ac_objext conftstm.
$ac_objext
6564 lt_save_LIBS
="$LIBS"
6565 lt_save_CFLAGS
="$CFLAGS"
6566 LIBS
="conftstm.$ac_objext"
6567 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6569 (eval $ac_link) 2>&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6575 LIBS
="$lt_save_LIBS"
6576 CFLAGS
="$lt_save_CFLAGS"
6578 echo "cannot find nm_test_func in $nlist" >&5
6581 echo "cannot find nm_test_var in $nlist" >&5
6584 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6587 echo "$progname: failed program was:" >&5
6588 cat conftest.
$ac_ext >&5
6590 rm -rf conftest
* conftst
*
6592 # Do not use the global_symbol_pipe unless it works.
6593 if test "$pipe_works" = yes; then
6596 lt_cv_sys_global_symbol_pipe
=
6602 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6603 lt_cv_sys_global_symbol_to_cdecl
=
6605 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6606 { echo "$as_me:$LINENO: result: failed" >&5
6607 echo "${ECHO_T}failed" >&6; }
6609 { echo "$as_me:$LINENO: result: ok" >&5
6610 echo "${ECHO_T}ok" >&6; }
6613 { echo "$as_me:$LINENO: checking for objdir" >&5
6614 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6615 if test "${lt_cv_objdir+set}" = set; then
6616 echo $ECHO_N "(cached) $ECHO_C" >&6
6618 rm -f .libs
2>/dev
/null
6619 mkdir .libs
2>/dev
/null
6620 if test -d .libs
; then
6623 # MS-DOS does not allow filenames that begin with a dot.
6626 rmdir .libs
2>/dev
/null
6628 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6629 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6630 objdir
=$lt_cv_objdir
6638 # AIX sometimes has problems with the GCC collect2 program. For some
6639 # reason, if we set the COLLECT_NAMES environment variable, the problems
6640 # vanish in a puff of smoke.
6641 if test "X${COLLECT_NAMES+set}" != Xset
; then
6643 export COLLECT_NAMES
6648 # Sed substitution that helps us do robust quoting. It backslashifies
6649 # metacharacters that are still active within double-quoted strings.
6650 Xsed
='sed -e 1s/^X//'
6651 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6653 # Same as above, but do not quote variable references.
6654 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6656 # Sed substitution to delay expansion of an escaped shell variable in a
6657 # double_quote_subst'ed string.
6658 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6660 # Sed substitution to avoid accidental globbing in evaled expressions
6661 no_glob_subst
='s/\*/\\\*/g'
6667 default_ofile
=libtool
6668 can_build_shared
=yes
6670 # All known linkers require a `.a' archive for static linking (except MSVC,
6671 # which needs '.lib').
6673 ltmain
="$ac_aux_dir/ltmain.sh"
6674 ofile
="$default_ofile"
6675 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6677 if test -n "$ac_tool_prefix"; then
6678 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6679 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6682 if test "${ac_cv_prog_AR+set}" = set; then
6683 echo $ECHO_N "(cached) $ECHO_C" >&6
6685 if test -n "$AR"; then
6686 ac_cv_prog_AR
="$AR" # Let the user override the test.
6688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6692 test -z "$as_dir" && as_dir
=.
6693 for ac_exec_ext
in '' $ac_executable_extensions; do
6694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6695 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 if test -n "$AR"; then
6707 { echo "$as_me:$LINENO: result: $AR" >&5
6708 echo "${ECHO_T}$AR" >&6; }
6710 { echo "$as_me:$LINENO: result: no" >&5
6711 echo "${ECHO_T}no" >&6; }
6716 if test -z "$ac_cv_prog_AR"; then
6718 # Extract the first word of "ar", so it can be a program name with args.
6719 set dummy
ar; ac_word
=$2
6720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6722 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6723 echo $ECHO_N "(cached) $ECHO_C" >&6
6725 if test -n "$ac_ct_AR"; then
6726 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6732 test -z "$as_dir" && as_dir
=.
6733 for ac_exec_ext
in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_prog_ac_ct_AR
="ar"
6736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6745 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6746 if test -n "$ac_ct_AR"; then
6747 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6748 echo "${ECHO_T}$ac_ct_AR" >&6; }
6750 { echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6; }
6754 if test "x$ac_ct_AR" = x
; then
6757 case $cross_compiling:$ac_tool_warned in
6759 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6760 whose name does not start with the host triplet. If you think this
6761 configuration is useful to you, please write to autoconf@gnu.org." >&5
6762 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6763 whose name does not start with the host triplet. If you think this
6764 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6765 ac_tool_warned
=yes ;;
6773 if test -n "$ac_tool_prefix"; then
6774 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6775 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6778 if test "${ac_cv_prog_RANLIB+set}" = set; then
6779 echo $ECHO_N "(cached) $ECHO_C" >&6
6781 if test -n "$RANLIB"; then
6782 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6788 test -z "$as_dir" && as_dir
=.
6789 for ac_exec_ext
in '' $ac_executable_extensions; do
6790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6791 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6801 RANLIB
=$ac_cv_prog_RANLIB
6802 if test -n "$RANLIB"; then
6803 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6804 echo "${ECHO_T}$RANLIB" >&6; }
6806 { echo "$as_me:$LINENO: result: no" >&5
6807 echo "${ECHO_T}no" >&6; }
6812 if test -z "$ac_cv_prog_RANLIB"; then
6813 ac_ct_RANLIB
=$RANLIB
6814 # Extract the first word of "ranlib", so it can be a program name with args.
6815 set dummy ranlib
; ac_word
=$2
6816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6818 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6819 echo $ECHO_N "(cached) $ECHO_C" >&6
6821 if test -n "$ac_ct_RANLIB"; then
6822 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6828 test -z "$as_dir" && as_dir
=.
6829 for ac_exec_ext
in '' $ac_executable_extensions; do
6830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6831 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6841 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6842 if test -n "$ac_ct_RANLIB"; then
6843 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6844 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6846 { echo "$as_me:$LINENO: result: no" >&5
6847 echo "${ECHO_T}no" >&6; }
6850 if test "x$ac_ct_RANLIB" = x
; then
6853 case $cross_compiling:$ac_tool_warned in
6855 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6856 whose name does not start with the host triplet. If you think this
6857 configuration is useful to you, please write to autoconf@gnu.org." >&5
6858 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6859 whose name does not start with the host triplet. If you think this
6860 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6861 ac_tool_warned
=yes ;;
6863 RANLIB
=$ac_ct_RANLIB
6866 RANLIB
="$ac_cv_prog_RANLIB"
6869 if test -n "$ac_tool_prefix"; then
6870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6871 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6874 if test "${ac_cv_prog_STRIP+set}" = set; then
6875 echo $ECHO_N "(cached) $ECHO_C" >&6
6877 if test -n "$STRIP"; then
6878 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6884 test -z "$as_dir" && as_dir
=.
6885 for ac_exec_ext
in '' $ac_executable_extensions; do
6886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6887 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6897 STRIP
=$ac_cv_prog_STRIP
6898 if test -n "$STRIP"; then
6899 { echo "$as_me:$LINENO: result: $STRIP" >&5
6900 echo "${ECHO_T}$STRIP" >&6; }
6902 { echo "$as_me:$LINENO: result: no" >&5
6903 echo "${ECHO_T}no" >&6; }
6908 if test -z "$ac_cv_prog_STRIP"; then
6910 # Extract the first word of "strip", so it can be a program name with args.
6911 set dummy strip
; ac_word
=$2
6912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6914 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6915 echo $ECHO_N "(cached) $ECHO_C" >&6
6917 if test -n "$ac_ct_STRIP"; then
6918 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6924 test -z "$as_dir" && as_dir
=.
6925 for ac_exec_ext
in '' $ac_executable_extensions; do
6926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6927 ac_cv_prog_ac_ct_STRIP
="strip"
6928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6937 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6938 if test -n "$ac_ct_STRIP"; then
6939 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6940 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6942 { echo "$as_me:$LINENO: result: no" >&5
6943 echo "${ECHO_T}no" >&6; }
6946 if test "x$ac_ct_STRIP" = x
; then
6949 case $cross_compiling:$ac_tool_warned in
6951 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6952 whose name does not start with the host triplet. If you think this
6953 configuration is useful to you, please write to autoconf@gnu.org." >&5
6954 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6955 whose name does not start with the host triplet. If you think this
6956 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6957 ac_tool_warned
=yes ;;
6962 STRIP
="$ac_cv_prog_STRIP"
6967 old_CFLAGS
="$CFLAGS"
6969 # Set sane defaults for various variables
6970 test -z "$AR" && AR
=ar
6971 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6972 test -z "$AS" && AS
=as
6973 test -z "$CC" && CC
=cc
6974 test -z "$LTCC" && LTCC
=$CC
6975 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6976 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6977 test -z "$LD" && LD
=ld
6978 test -z "$LN_S" && LN_S
="ln -s"
6979 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6980 test -z "$NM" && NM
=nm
6981 test -z "$SED" && SED
=sed
6982 test -z "$OBJDUMP" && OBJDUMP
=objdump
6983 test -z "$RANLIB" && RANLIB
=:
6984 test -z "$STRIP" && STRIP
=:
6985 test -z "$ac_objext" && ac_objext
=o
6987 # Determine commands to create old-style static archives.
6988 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6989 old_postinstall_cmds
='chmod 644 $oldlib'
6990 old_postuninstall_cmds
=
6992 if test -n "$RANLIB"; then
6995 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6998 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7001 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7004 for cc_temp
in $compiler""; do
7006 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7007 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7012 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7015 # Only perform the check for file, if the check method requires it
7016 case $deplibs_check_method in
7018 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7019 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7020 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7021 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7022 echo $ECHO_N "(cached) $ECHO_C" >&6
7026 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7029 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7030 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7031 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7032 for ac_dir
in $ac_dummy; do
7034 test -z "$ac_dir" && ac_dir
=.
7035 if test -f $ac_dir/${ac_tool_prefix}file; then
7036 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7037 if test -n "$file_magic_test_file"; then
7038 case $deplibs_check_method in
7040 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7041 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7042 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7043 $EGREP "$file_magic_regex" > /dev
/null
; then
7048 *** Warning: the command libtool uses to detect shared libraries,
7049 *** $file_magic_cmd, produces output that libtool cannot recognize.
7050 *** The result is that libtool may fail to recognize shared libraries
7051 *** as such. This will affect the creation of libtool libraries that
7052 *** depend on shared libraries, but programs linked with such libtool
7053 *** libraries will work regardless of this problem. Nevertheless, you
7054 *** may want to report the problem to your system manager and/or to
7055 *** bug-libtool@gnu.org
7065 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7070 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7071 if test -n "$MAGIC_CMD"; then
7072 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7073 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7075 { echo "$as_me:$LINENO: result: no" >&5
7076 echo "${ECHO_T}no" >&6; }
7079 if test -z "$lt_cv_path_MAGIC_CMD"; then
7080 if test -n "$ac_tool_prefix"; then
7081 { echo "$as_me:$LINENO: checking for file" >&5
7082 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7083 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7084 echo $ECHO_N "(cached) $ECHO_C" >&6
7088 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7091 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7092 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7093 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7094 for ac_dir
in $ac_dummy; do
7096 test -z "$ac_dir" && ac_dir
=.
7097 if test -f $ac_dir/file; then
7098 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7099 if test -n "$file_magic_test_file"; then
7100 case $deplibs_check_method in
7102 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7103 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7104 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7105 $EGREP "$file_magic_regex" > /dev
/null
; then
7110 *** Warning: the command libtool uses to detect shared libraries,
7111 *** $file_magic_cmd, produces output that libtool cannot recognize.
7112 *** The result is that libtool may fail to recognize shared libraries
7113 *** as such. This will affect the creation of libtool libraries that
7114 *** depend on shared libraries, but programs linked with such libtool
7115 *** libraries will work regardless of this problem. Nevertheless, you
7116 *** may want to report the problem to your system manager and/or to
7117 *** bug-libtool@gnu.org
7127 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7132 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7133 if test -n "$MAGIC_CMD"; then
7134 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7135 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7137 { echo "$as_me:$LINENO: result: no" >&5
7138 echo "${ECHO_T}no" >&6; }
7152 rhapsody
* | darwin
*)
7153 if test -n "$ac_tool_prefix"; then
7154 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7155 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7158 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 if test -n "$DSYMUTIL"; then
7162 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7168 test -z "$as_dir" && as_dir
=.
7169 for ac_exec_ext
in '' $ac_executable_extensions; do
7170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7171 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7181 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7182 if test -n "$DSYMUTIL"; then
7183 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7184 echo "${ECHO_T}$DSYMUTIL" >&6; }
7186 { echo "$as_me:$LINENO: result: no" >&5
7187 echo "${ECHO_T}no" >&6; }
7192 if test -z "$ac_cv_prog_DSYMUTIL"; then
7193 ac_ct_DSYMUTIL
=$DSYMUTIL
7194 # Extract the first word of "dsymutil", so it can be a program name with args.
7195 set dummy dsymutil
; ac_word
=$2
7196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7198 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7199 echo $ECHO_N "(cached) $ECHO_C" >&6
7201 if test -n "$ac_ct_DSYMUTIL"; then
7202 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7208 test -z "$as_dir" && as_dir
=.
7209 for ac_exec_ext
in '' $ac_executable_extensions; do
7210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7211 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7221 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7222 if test -n "$ac_ct_DSYMUTIL"; then
7223 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7224 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7226 { echo "$as_me:$LINENO: result: no" >&5
7227 echo "${ECHO_T}no" >&6; }
7230 if test "x$ac_ct_DSYMUTIL" = x
; then
7233 case $cross_compiling:$ac_tool_warned in
7235 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7236 whose name does not start with the host triplet. If you think this
7237 configuration is useful to you, please write to autoconf@gnu.org." >&5
7238 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7239 whose name does not start with the host triplet. If you think this
7240 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7241 ac_tool_warned
=yes ;;
7243 DSYMUTIL
=$ac_ct_DSYMUTIL
7246 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7249 if test -n "$ac_tool_prefix"; then
7250 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7251 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7254 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7255 echo $ECHO_N "(cached) $ECHO_C" >&6
7257 if test -n "$NMEDIT"; then
7258 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7264 test -z "$as_dir" && as_dir
=.
7265 for ac_exec_ext
in '' $ac_executable_extensions; do
7266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7267 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7277 NMEDIT
=$ac_cv_prog_NMEDIT
7278 if test -n "$NMEDIT"; then
7279 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7280 echo "${ECHO_T}$NMEDIT" >&6; }
7282 { echo "$as_me:$LINENO: result: no" >&5
7283 echo "${ECHO_T}no" >&6; }
7288 if test -z "$ac_cv_prog_NMEDIT"; then
7289 ac_ct_NMEDIT
=$NMEDIT
7290 # Extract the first word of "nmedit", so it can be a program name with args.
7291 set dummy nmedit
; ac_word
=$2
7292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7294 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7295 echo $ECHO_N "(cached) $ECHO_C" >&6
7297 if test -n "$ac_ct_NMEDIT"; then
7298 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7304 test -z "$as_dir" && as_dir
=.
7305 for ac_exec_ext
in '' $ac_executable_extensions; do
7306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7307 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7317 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7318 if test -n "$ac_ct_NMEDIT"; then
7319 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7320 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7322 { echo "$as_me:$LINENO: result: no" >&5
7323 echo "${ECHO_T}no" >&6; }
7326 if test "x$ac_ct_NMEDIT" = x
; then
7329 case $cross_compiling:$ac_tool_warned in
7331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7332 whose name does not start with the host triplet. If you think this
7333 configuration is useful to you, please write to autoconf@gnu.org." >&5
7334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7335 whose name does not start with the host triplet. If you think this
7336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7337 ac_tool_warned
=yes ;;
7339 NMEDIT
=$ac_ct_NMEDIT
7342 NMEDIT
="$ac_cv_prog_NMEDIT"
7346 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7347 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7348 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7349 echo $ECHO_N "(cached) $ECHO_C" >&6
7351 lt_cv_apple_cc_single_mod
=no
7352 if test -z "${LT_MULTI_MODULE}"; then
7353 # By default we will add the -single_module flag. You can override
7354 # by either setting the environment variable LT_MULTI_MODULE
7355 # non-empty at configure time, or by adding -multi_module to the
7357 echo "int foo(void){return 1;}" > conftest.c
7358 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7359 -dynamiclib ${wl}-single_module conftest.c
7360 if test -f libconftest.dylib
; then
7361 lt_cv_apple_cc_single_mod
=yes
7362 rm -rf libconftest.dylib
*
7367 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7368 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7369 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7370 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7371 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7374 lt_cv_ld_exported_symbols_list
=no
7375 save_LDFLAGS
=$LDFLAGS
7376 echo "_main" > conftest.sym
7377 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7378 cat >conftest.
$ac_ext <<_ACEOF
7381 cat confdefs.h
>>conftest.
$ac_ext
7382 cat >>conftest.
$ac_ext <<_ACEOF
7383 /* end confdefs.h. */
7393 rm -f conftest.
$ac_objext conftest
$ac_exeext
7394 if { (ac_try
="$ac_link"
7396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7397 *) ac_try_echo=$ac_try;;
7399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7400 (eval "$ac_link") 2>conftest.er1
7402 grep -v '^ *+' conftest.er1 >conftest.err
7404 cat conftest.err >&5
7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); } && {
7407 test -z "$ac_c_werror_flag" ||
7408 test ! -s conftest.err
7409 } && test -s conftest$ac_exeext &&
7410 $as_test_x conftest$ac_exeext; then
7411 lt_cv_ld_exported_symbols_list=yes
7413 echo "$as_me: failed program was:" >&5
7414 sed 's/^/| /' conftest.$ac_ext >&5
7416 lt_cv_ld_exported_symbols_list=no
7419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7420 conftest$ac_exeext conftest.$ac_ext
7421 LDFLAGS="$save_LDFLAGS"
7424 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7425 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7427 rhapsody* | darwin1.[0123])
7428 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7430 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7432 # if running on 10.5 or later, the deployment target defaults
7433 # to the OS version, if on x86, and 10.4, the deployment
7434 # target defaults to 10.4. Don't you love it?
7435 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7436 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7437 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7439 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7441 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7445 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7446 _lt_dar_single_mod='$single_module'
7448 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7449 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7451 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7453 if test "$DSYMUTIL" != ":"; then
7454 _lt_dsymutil="~$DSYMUTIL \$lib || :"
7465 # Check whether --enable-libtool-lock was given.
7466 if test "${enable_libtool_lock+set}" = set; then
7467 enableval=$enable_libtool_lock;
7470 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7473 # Check whether --with-pic was given.
7474 if test "${with_pic+set}" = set; then
7475 withval=$with_pic; pic_mode="$withval"
7480 test -z "$pic_mode" && pic_mode=default
7482 # Use C for the default configuration in the libtool script
7486 ac_cpp='$CPP $CPPFLAGS'
7487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7492 # Source file extension for C test sources.
7495 # Object file extension for compiled C test sources.
7499 # Code to be used in simple compile tests
7500 lt_simple_compile_test_code="int some_variable = 0;"
7502 # Code to be used in simple link tests
7503 lt_simple_link_test_code='int main(){return(0);}'
7506 # If no C compiler was specified, use CC.
7509 # If no C compiler flags were specified, use CFLAGS.
7510 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7512 # Allow CC to be a program name with arguments.
7516 # save warnings/boilerplate of simple test code
7517 ac_outfile=conftest.$ac_objext
7518 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7519 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7520 _lt_compiler_boilerplate=`cat conftest.err
`
7523 ac_outfile=conftest.$ac_objext
7524 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7525 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7526 _lt_linker_boilerplate=`cat conftest.err
`
7531 lt_prog_compiler_no_builtin_flag=
7533 if test "$GCC" = yes; then
7534 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7537 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7538 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7539 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7540 echo $ECHO_N "(cached) $ECHO_C" >&6
7542 lt_cv_prog_compiler_rtti_exceptions=no
7543 ac_outfile=conftest.$ac_objext
7544 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7545 lt_compiler_flag="-fno-rtti -fno-exceptions"
7546 # Insert the option either (1) after the last *FLAGS variable, or
7547 # (2) before a word containing "conftest.", or (3) at the end.
7548 # Note that $ac_compile itself does not contain backslashes and begins
7549 # with a dollar sign (not a hyphen), so the echo should work correctly.
7550 # The option is referenced via a variable to avoid confusing sed.
7551 lt_compile=`echo "$ac_compile" |
$SED \
7552 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7553 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7554 -e 's:$: $lt_compiler_flag:'`
7555 (eval echo "\"\$as_me:7555: $lt_compile\"" >&5)
7556 (eval "$lt_compile" 2>conftest.err)
7558 cat conftest.err >&5
7559 echo "$as_me:7559: \$? = $ac_status" >&5
7560 if (exit $ac_status) && test -s "$ac_outfile"; then
7561 # The compiler can only warn and ignore the option if not recognized
7562 # So say no if there are warnings other than the usual output.
7563 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7564 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7565 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7566 lt_cv_prog_compiler_rtti_exceptions=yes
7572 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7573 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7575 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7576 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7583 lt_prog_compiler_wl=
7584 lt_prog_compiler_pic=
7585 lt_prog_compiler_static=
7587 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7588 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7590 if test "$GCC" = yes; then
7591 lt_prog_compiler_wl='-Wl,'
7592 lt_prog_compiler_static='-static'
7596 # All AIX code is PIC.
7597 if test "$host_cpu" = ia64; then
7598 # AIX 5 now supports IA64 processor
7599 lt_prog_compiler_static='-Bstatic'
7604 # FIXME: we need at least 68020 code to build shared libraries, but
7605 # adding the `-m68020' flag to GCC prevents building anything better,
7607 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7610 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7611 # PIC is the default for these OSes.
7614 mingw
* | cygwin
* | pw32
* | os2
*)
7615 # This hack is so that the source file can tell whether it is being
7616 # built for inclusion in a dll (and should export symbols for example).
7617 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7618 # (--disable-auto-import) libraries
7619 lt_prog_compiler_pic
='-DDLL_EXPORT'
7622 darwin
* | rhapsody
*)
7623 # PIC is the default on this platform
7624 # Common symbols not allowed in MH_DYLIB files
7625 lt_prog_compiler_pic
='-fno-common'
7629 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7630 # Instead, we relocate shared libraries at runtime.
7634 # Just because we use GCC doesn't mean we suddenly get shared libraries
7635 # on systems that don't support them.
7636 lt_prog_compiler_can_build_shared
=no
7641 if test -d /usr
/nec
; then
7642 lt_prog_compiler_pic
=-Kconform_pic
7647 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7654 lt_prog_compiler_pic
='-fPIC'
7660 lt_prog_compiler_pic
='-fPIC'
7664 # PORTME Check for flag to pass linker flags through the system compiler.
7667 lt_prog_compiler_wl
='-Wl,'
7668 if test "$host_cpu" = ia64
; then
7669 # AIX 5 now supports IA64 processor
7670 lt_prog_compiler_static
='-Bstatic'
7672 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7676 # PIC is the default on this platform
7677 # Common symbols not allowed in MH_DYLIB files
7678 case $cc_basename in
7680 lt_prog_compiler_pic
='-qnocommon'
7681 lt_prog_compiler_wl
='-Wl,'
7686 mingw
* | cygwin
* | pw32
* | os2
*)
7687 # This hack is so that the source file can tell whether it is being
7688 # built for inclusion in a dll (and should export symbols for example).
7689 lt_prog_compiler_pic
='-DDLL_EXPORT'
7692 hpux9
* | hpux10
* | hpux11
*)
7693 lt_prog_compiler_wl
='-Wl,'
7694 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7701 lt_prog_compiler_pic
='+Z'
7704 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7705 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7708 irix5
* | irix6
* | nonstopux
*)
7709 lt_prog_compiler_wl
='-Wl,'
7710 # PIC (with -KPIC) is the default.
7711 lt_prog_compiler_static
='-non_shared'
7715 lt_prog_compiler_pic
='-KPIC'
7716 lt_prog_compiler_static
='-Bstatic'
7719 linux
* | k
*bsd
*-gnu)
7720 case $cc_basename in
7722 lt_prog_compiler_wl
='-Wl,'
7723 lt_prog_compiler_pic
='-KPIC'
7724 lt_prog_compiler_static
='-static'
7726 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7727 # Portland Group compilers (*not* the Pentium gcc compiler,
7728 # which looks to be a dead project)
7729 lt_prog_compiler_wl
='-Wl,'
7730 lt_prog_compiler_pic
='-fpic'
7731 lt_prog_compiler_static
='-Bstatic'
7734 lt_prog_compiler_wl
='-Wl,'
7735 # All Alpha code is PIC.
7736 lt_prog_compiler_static
='-non_shared'
7739 case `$CC -V 2>&1 | sed 5q` in
7742 lt_prog_compiler_pic
='-KPIC'
7743 lt_prog_compiler_static
='-Bstatic'
7744 lt_prog_compiler_wl
='-Wl,'
7747 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7748 lt_prog_compiler_pic
='-KPIC'
7749 lt_prog_compiler_static
='-Bstatic'
7750 lt_prog_compiler_wl
=''
7757 osf3
* | osf4
* | osf5
*)
7758 lt_prog_compiler_wl
='-Wl,'
7759 # All OSF/1 code is PIC.
7760 lt_prog_compiler_static
='-non_shared'
7764 lt_prog_compiler_static
='-non_shared'
7768 lt_prog_compiler_pic
='-KPIC'
7769 lt_prog_compiler_static
='-Bstatic'
7770 case $cc_basename in
7772 lt_prog_compiler_wl
='-Qoption ld ';;
7774 lt_prog_compiler_wl
='-Wl,';;
7779 lt_prog_compiler_wl
='-Qoption ld '
7780 lt_prog_compiler_pic
='-PIC'
7781 lt_prog_compiler_static
='-Bstatic'
7784 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7785 lt_prog_compiler_wl
='-Wl,'
7786 lt_prog_compiler_pic
='-KPIC'
7787 lt_prog_compiler_static
='-Bstatic'
7791 if test -d /usr
/nec
;then
7792 lt_prog_compiler_pic
='-Kconform_pic'
7793 lt_prog_compiler_static
='-Bstatic'
7797 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7798 lt_prog_compiler_wl
='-Wl,'
7799 lt_prog_compiler_pic
='-KPIC'
7800 lt_prog_compiler_static
='-Bstatic'
7804 lt_prog_compiler_wl
='-Wl,'
7805 lt_prog_compiler_can_build_shared
=no
7809 lt_prog_compiler_pic
='-pic'
7810 lt_prog_compiler_static
='-Bstatic'
7814 lt_prog_compiler_can_build_shared
=no
7819 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7820 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7823 # Check to make sure the PIC flag actually works.
7825 if test -n "$lt_prog_compiler_pic"; then
7827 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7828 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7829 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7830 echo $ECHO_N "(cached) $ECHO_C" >&6
7832 lt_cv_prog_compiler_pic_works
=no
7833 ac_outfile
=conftest.
$ac_objext
7834 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7835 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7836 # Insert the option either (1) after the last *FLAGS variable, or
7837 # (2) before a word containing "conftest.", or (3) at the end.
7838 # Note that $ac_compile itself does not contain backslashes and begins
7839 # with a dollar sign (not a hyphen), so the echo should work correctly.
7840 # The option is referenced via a variable to avoid confusing sed.
7841 lt_compile
=`echo "$ac_compile" | $SED \
7842 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7843 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7844 -e 's:$: $lt_compiler_flag:'`
7845 (eval echo "\"\$as_me:7845: $lt_compile\"" >&5)
7846 (eval "$lt_compile" 2>conftest.err
)
7848 cat conftest.err
>&5
7849 echo "$as_me:7849: \$? = $ac_status" >&5
7850 if (exit $ac_status) && test -s "$ac_outfile"; then
7851 # The compiler can only warn and ignore the option if not recognized
7852 # So say no if there are warnings other than the usual output.
7853 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7854 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7855 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7856 lt_cv_prog_compiler_pic_works
=yes
7862 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7863 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7865 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7866 case $lt_prog_compiler_pic in
7868 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7871 lt_prog_compiler_pic
=
7872 lt_prog_compiler_can_build_shared
=no
7877 # For platforms which do not support PIC, -DPIC is meaningless:
7879 lt_prog_compiler_pic
=
7882 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7887 # Check to make sure the static flag actually works.
7889 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7890 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7891 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7892 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7893 echo $ECHO_N "(cached) $ECHO_C" >&6
7895 lt_cv_prog_compiler_static_works
=no
7896 save_LDFLAGS
="$LDFLAGS"
7897 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7898 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7899 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7900 # The linker can only warn and ignore the option if not recognized
7901 # So say no if there are warnings
7902 if test -s conftest.err
; then
7903 # Append any errors to the config.log.
7904 cat conftest.err
1>&5
7905 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7906 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7907 if diff conftest.exp conftest.er2
>/dev
/null
; then
7908 lt_cv_prog_compiler_static_works
=yes
7911 lt_cv_prog_compiler_static_works
=yes
7915 LDFLAGS
="$save_LDFLAGS"
7918 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7919 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7921 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7924 lt_prog_compiler_static
=
7928 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7929 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7930 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7931 echo $ECHO_N "(cached) $ECHO_C" >&6
7933 lt_cv_prog_compiler_c_o
=no
7934 $rm -r conftest
2>/dev
/null
7938 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7940 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7941 # Insert the option either (1) after the last *FLAGS variable, or
7942 # (2) before a word containing "conftest.", or (3) at the end.
7943 # Note that $ac_compile itself does not contain backslashes and begins
7944 # with a dollar sign (not a hyphen), so the echo should work correctly.
7945 lt_compile
=`echo "$ac_compile" | $SED \
7946 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7947 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7948 -e 's:$: $lt_compiler_flag:'`
7949 (eval echo "\"\$as_me:7949: $lt_compile\"" >&5)
7950 (eval "$lt_compile" 2>out
/conftest.err
)
7952 cat out
/conftest.err
>&5
7953 echo "$as_me:7953: \$? = $ac_status" >&5
7954 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7956 # The compiler can only warn and ignore the option if not recognized
7957 # So say no if there are warnings
7958 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7959 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7960 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7961 lt_cv_prog_compiler_c_o
=yes
7966 # SGI C++ compiler will create directory out/ii_files/ for
7967 # template instantiation
7968 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7969 $rm out
/* && rmdir out
7975 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7976 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7979 hard_links
="nottested"
7980 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7981 # do not overwrite the value of need_locks provided by the user
7982 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7983 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7986 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7988 ln conftest.a conftest.b
2>&5 || hard_links
=no
7989 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7990 { echo "$as_me:$LINENO: result: $hard_links" >&5
7991 echo "${ECHO_T}$hard_links" >&6; }
7992 if test "$hard_links" = no
; then
7993 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7994 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8001 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8002 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8005 allow_undefined_flag
=
8006 enable_shared_with_static_runtimes
=no
8008 archive_expsym_cmds
=
8009 old_archive_From_new_cmds
=
8010 old_archive_from_expsyms_cmds
=
8011 export_dynamic_flag_spec
=
8012 whole_archive_flag_spec
=
8013 thread_safe_flag_spec
=
8014 hardcode_libdir_flag_spec
=
8015 hardcode_libdir_flag_spec_ld
=
8016 hardcode_libdir_separator
=
8019 hardcode_shlibpath_var
=unsupported
8020 link_all_deplibs
=unknown
8021 hardcode_automatic
=no
8024 always_export_symbols
=no
8025 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8026 # include_expsyms should be a list of space-separated symbols to be *always*
8027 # included in the symbol list
8029 # exclude_expsyms can be an extended regexp of symbols to exclude
8030 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8031 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8032 # as well as any symbol that contains `d'.
8033 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8034 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8035 # platforms (ab)use it in PIC code, but their linkers get confused if
8036 # the symbol is explicitly referenced. Since portable code cannot
8037 # rely on this symbol name, it's probably fine to never include it in
8038 # preloaded symbol tables.
8039 # Exclude shared library initialization/finalization symbols.
8040 extract_expsyms_cmds
=
8041 # Just being paranoid about ensuring that cc_basename is set.
8042 for cc_temp
in $compiler""; do
8044 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8045 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8050 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8053 cygwin
* | mingw
* | pw32
*)
8054 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8055 # When not using gcc, we currently assume that we are using
8056 # Microsoft Visual C++.
8057 if test "$GCC" != yes; then
8062 # we just hope/assume this is gcc and not c89 (= MSVC++)
8071 if test "$with_gnu_ld" = yes; then
8072 # If archive_cmds runs LD, not CC, wlarc should be empty
8075 # Set some defaults for GNU ld with shared library support. These
8076 # are reset later if shared libraries are not supported. Putting them
8077 # here allows them to be overridden if necessary.
8078 runpath_var
=LD_RUN_PATH
8079 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8080 export_dynamic_flag_spec
='${wl}--export-dynamic'
8081 # ancient GNU ld didn't support --whole-archive et. al.
8082 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8083 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8085 whole_archive_flag_spec
=
8087 supports_anon_versioning
=no
8088 case `$LD -v 2>/dev/null` in
8089 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8090 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8091 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8092 *\
2.11.
*) ;; # other 2.11 versions
8093 *) supports_anon_versioning
=yes ;;
8096 # See if GNU ld supports shared libraries.
8099 # On AIX/PPC, the GNU linker is very broken
8100 if test "$host_cpu" != ia64
; then
8104 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8105 *** to be unable to reliably create shared libraries on AIX.
8106 *** Therefore, libtool is disabling shared libraries support. If you
8107 *** really care for shared libraries, you may want to modify your PATH
8108 *** so that a non-GNU linker is found, and then restart.
8115 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)'
8116 hardcode_libdir_flag_spec
='-L$libdir'
8117 hardcode_minus_L
=yes
8119 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8120 # that the semantics of dynamic libraries on AmigaOS, at least up
8121 # to version 4, is to share data among multiple programs linked
8122 # with the same dynamic library. Since this doesn't match the
8123 # behavior of shared libraries on other platforms, we can't use
8129 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8130 allow_undefined_flag
=unsupported
8131 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8132 # support --undefined. This deserves some investigation. FIXME
8133 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8139 cygwin
* | mingw
* | pw32
*)
8140 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8141 # as there is no search path for DLLs.
8142 hardcode_libdir_flag_spec
='-L$libdir'
8143 allow_undefined_flag
=unsupported
8144 always_export_symbols
=no
8145 enable_shared_with_static_runtimes
=yes
8146 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8148 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8149 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8150 # If the export-symbols file already is a .def file (1st line
8151 # is EXPORTS), use it as is; otherwise, prepend...
8152 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8153 cp $export_symbols $output_objdir/$soname.def;
8155 echo EXPORTS > $output_objdir/$soname.def;
8156 cat $export_symbols >> $output_objdir/$soname.def;
8158 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8166 hardcode_shlibpath_var
=no
8167 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8168 export_dynamic_flag_spec
='${wl}-E'
8169 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8170 # Instead, shared libraries are loaded at an image base (0x10000000 by
8171 # default) and relocated if they conflict, which is a slow very memory
8172 # consuming and fragmenting process. To avoid this, we pick a random,
8173 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8174 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8175 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8176 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8179 gnu
* | linux
* | k
*bsd
*-gnu)
8180 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8182 case $cc_basename,$host_cpu in
8183 pgcc
*) # Portland Group C compiler
8184 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'
8185 tmp_addflag
=' $pic_flag'
8187 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8188 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'
8189 tmp_addflag
=' $pic_flag -Mnomain' ;;
8190 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8191 tmp_addflag
=' -i_dynamic' ;;
8192 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8193 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8194 ifc
* | ifort
*) # Intel Fortran compiler
8195 tmp_addflag
=' -nofor_main' ;;
8197 case `$CC -V 2>&1 | sed 5q` in
8198 *Sun\ C
*) # Sun C 5.9
8199 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8200 tmp_sharedflag
='-G' ;;
8201 *Sun\ F
*) # Sun Fortran 8.3
8202 tmp_sharedflag
='-G' ;;
8204 tmp_sharedflag
='-shared' ;;
8206 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8208 if test $supports_anon_versioning = yes; then
8209 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8210 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8211 $echo "local: *; };" >> $output_objdir/$libname.ver~
8212 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8220 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8221 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8224 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8225 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8230 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8234 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8235 *** create shared libraries on Solaris systems. Therefore, libtool
8236 *** is disabling shared libraries support. We urge you to upgrade GNU
8237 *** binutils to release 2.9.1 or newer. Another option is to modify
8238 *** your PATH or compiler configuration so that the native linker is
8239 *** used, and then restart.
8242 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8243 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8244 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8250 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8251 case `$LD -v 2>&1` in
8252 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8256 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8257 *** reliably create shared libraries on SCO systems. Therefore, libtool
8258 *** is disabling shared libraries support. We urge you to upgrade GNU
8259 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8260 *** your PATH or compiler configuration so that the native linker is
8261 *** used, and then restart.
8266 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8267 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8268 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8269 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8278 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8281 hardcode_shlibpath_var
=no
8285 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8286 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8287 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8294 if test "$ld_shlibs" = no
; then
8296 hardcode_libdir_flag_spec
=
8297 export_dynamic_flag_spec
=
8298 whole_archive_flag_spec
=
8301 # PORTME fill in a description of your system's linker (not GNU ld)
8304 allow_undefined_flag
=unsupported
8305 always_export_symbols
=yes
8306 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'
8307 # Note: this linker hardcodes the directories in LIBPATH if there
8308 # are no directories specified by -L.
8309 hardcode_minus_L
=yes
8310 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8311 # Neither direct hardcoding nor static linking is supported with a
8313 hardcode_direct
=unsupported
8318 if test "$host_cpu" = ia64
; then
8319 # On IA64, the linker does run time linking by default, so we don't
8320 # have to do anything special.
8321 aix_use_runtimelinking
=no
8322 exp_sym_flag
='-Bexport'
8325 # If we're using GNU nm, then we don't want the "-C" option.
8326 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8327 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8328 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'
8330 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'
8332 aix_use_runtimelinking
=no
8334 # Test if we are trying to use run time linking or normal
8335 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8336 # need to do runtime linking.
8337 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8338 for ld_flag
in $LDFLAGS; do
8339 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8340 aix_use_runtimelinking
=yes
8347 exp_sym_flag
='-bexport'
8348 no_entry_flag
='-bnoentry'
8351 # When large executables or shared objects are built, AIX ld can
8352 # have problems creating the table of contents. If linking a library
8353 # or program results in "error TOC overflow" add -mminimal-toc to
8354 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8355 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8359 hardcode_libdir_separator
=':'
8360 link_all_deplibs
=yes
8362 if test "$GCC" = yes; then
8363 case $host_os in aix4.
[012]|aix4.
[012].
*)
8364 # We only want to do this on AIX 4.2 and lower, the check
8365 # below for broken collect2 doesn't work under 4.3+
8366 collect2name
=`${CC} -print-prog-name=collect2`
8367 if test -f "$collect2name" && \
8368 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8370 # We have reworked collect2
8373 # We have old collect2
8374 hardcode_direct
=unsupported
8375 # It fails to find uninstalled libraries when the uninstalled
8376 # path is not listed in the libpath. Setting hardcode_minus_L
8377 # to unsupported forces relinking
8378 hardcode_minus_L
=yes
8379 hardcode_libdir_flag_spec
='-L$libdir'
8380 hardcode_libdir_separator
=
8384 shared_flag
='-shared'
8385 if test "$aix_use_runtimelinking" = yes; then
8386 shared_flag
="$shared_flag "'${wl}-G'
8390 if test "$host_cpu" = ia64
; then
8391 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8392 # chokes on -Wl,-G. The following line is correct:
8395 if test "$aix_use_runtimelinking" = yes; then
8396 shared_flag
='${wl}-G'
8398 shared_flag
='${wl}-bM:SRE'
8403 # It seems that -bexpall does not export symbols beginning with
8404 # underscore (_), so it is better to generate a list of symbols to export.
8405 always_export_symbols
=yes
8406 if test "$aix_use_runtimelinking" = yes; then
8407 # Warning - without using the other runtime loading flags (-brtl),
8408 # -berok will link without error, but may produce a broken library.
8409 allow_undefined_flag
='-berok'
8410 # Determine the default libpath from the value encoded in an empty executable.
8411 cat >conftest.
$ac_ext <<_ACEOF
8414 cat confdefs.h
>>conftest.
$ac_ext
8415 cat >>conftest.
$ac_ext <<_ACEOF
8416 /* end confdefs.h. */
8426 rm -f conftest.
$ac_objext conftest
$ac_exeext
8427 if { (ac_try
="$ac_link"
8429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8430 *) ac_try_echo=$ac_try;;
8432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8433 (eval "$ac_link") 2>conftest.er1
8435 grep -v '^ *+' conftest.er1 >conftest.err
8437 cat conftest.err >&5
8438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439 (exit $ac_status); } && {
8440 test -z "$ac_c_werror_flag" ||
8441 test ! -s conftest.err
8442 } && test -s conftest$ac_exeext &&
8443 $as_test_x conftest$ac_exeext; then
8445 lt_aix_libpath_sed='
8446 /Import File Strings/,/^$/ {
8452 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8453 # Check for a 64-bit object if we didn't find anything.
8454 if test -z "$aix_libpath"; then
8455 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8458 echo "$as_me: failed program was:" >&5
8459 sed 's/^/| /' conftest.$ac_ext >&5
8464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8465 conftest$ac_exeext conftest.$ac_ext
8466 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8468 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8469 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8471 if test "$host_cpu" = ia64; then
8472 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8473 allow_undefined_flag="-z nodefs"
8474 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8476 # Determine the default libpath from the value encoded in an empty executable.
8477 cat >conftest.$ac_ext <<_ACEOF
8480 cat confdefs.h >>conftest.$ac_ext
8481 cat >>conftest.$ac_ext <<_ACEOF
8482 /* end confdefs.h. */
8492 rm -f conftest.$ac_objext conftest$ac_exeext
8493 if { (ac_try="$ac_link"
8495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8496 *) ac_try_echo
=$ac_try;;
8498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8499 (eval "$ac_link") 2>conftest.er1
8501 grep -v '^ *+' conftest.er1
>conftest.err
8503 cat conftest.err
>&5
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 (exit $ac_status); } && {
8506 test -z "$ac_c_werror_flag" ||
8507 test ! -s conftest.err
8508 } && test -s conftest
$ac_exeext &&
8509 $as_test_x conftest
$ac_exeext; then
8511 lt_aix_libpath_sed
='
8512 /Import File Strings/,/^$/ {
8518 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8519 # Check for a 64-bit object if we didn't find anything.
8520 if test -z "$aix_libpath"; then
8521 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8524 echo "$as_me: failed program was:" >&5
8525 sed 's/^/| /' conftest.
$ac_ext >&5
8530 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8531 conftest
$ac_exeext conftest.
$ac_ext
8532 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8534 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8535 # Warning - without using the other run time loading flags,
8536 # -berok will link without error, but may produce a broken library.
8537 no_undefined_flag
=' ${wl}-bernotok'
8538 allow_undefined_flag
=' ${wl}-berok'
8539 # Exported symbols can be pulled into shared objects from archives
8540 whole_archive_flag_spec
='$convenience'
8541 archive_cmds_need_lc
=yes
8542 # This is similar to how AIX traditionally builds its shared libraries.
8543 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8549 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)'
8550 hardcode_libdir_flag_spec
='-L$libdir'
8551 hardcode_minus_L
=yes
8552 # see comment about different semantics on the GNU ld section
8557 export_dynamic_flag_spec
=-rdynamic
8560 cygwin
* | mingw
* | pw32
*)
8561 # When not using gcc, we currently assume that we are using
8562 # Microsoft Visual C++.
8563 # hardcode_libdir_flag_spec is actually meaningless, as there is
8564 # no search path for DLLs.
8565 hardcode_libdir_flag_spec
=' '
8566 allow_undefined_flag
=unsupported
8567 # Tell ltmain to make .lib files, not .a files.
8569 # Tell ltmain to make .dll files, not .so files.
8571 # FIXME: Setting linknames here is a bad hack.
8572 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8573 # The linker will automatically build a .lib file if we build a DLL.
8574 old_archive_From_new_cmds
='true'
8575 # FIXME: Should let the user specify the lib program.
8576 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8577 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8578 enable_shared_with_static_runtimes
=yes
8581 darwin
* | rhapsody
*)
8583 rhapsody
* | darwin1.
[012])
8584 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8587 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8588 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8590 case ${MACOSX_DEPLOYMENT_TARGET} in
8592 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8595 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8601 archive_cmds_need_lc
=no
8603 hardcode_automatic
=yes
8604 hardcode_shlibpath_var
=unsupported
8605 whole_archive_flag_spec
=''
8606 link_all_deplibs
=yes
8607 if test "$GCC" = yes ; then
8608 output_verbose_link_cmd
='echo'
8609 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8610 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8611 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8612 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8614 case $cc_basename in
8616 output_verbose_link_cmd
='echo'
8617 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8618 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8619 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8620 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8621 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}'
8631 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8632 hardcode_libdir_flag_spec
='-L$libdir'
8633 hardcode_shlibpath_var
=no
8640 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8641 # support. Future versions do this automatically, but an explicit c++rt0.o
8642 # does not break anything, and helps significantly (at the cost of a little
8645 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8646 hardcode_libdir_flag_spec
='-R$libdir'
8648 hardcode_shlibpath_var
=no
8651 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8653 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8655 hardcode_minus_L
=yes
8656 hardcode_shlibpath_var
=no
8659 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8660 freebsd
* | dragonfly
*)
8661 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8662 hardcode_libdir_flag_spec
='-R$libdir'
8664 hardcode_shlibpath_var
=no
8668 if test "$GCC" = yes; then
8669 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'
8671 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'
8673 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8674 hardcode_libdir_separator
=:
8677 # hardcode_minus_L: Not really in the search PATH,
8678 # but as the default location of the library.
8679 hardcode_minus_L
=yes
8680 export_dynamic_flag_spec
='${wl}-E'
8684 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8685 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8687 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8689 if test "$with_gnu_ld" = no
; then
8690 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8691 hardcode_libdir_separator
=:
8694 export_dynamic_flag_spec
='${wl}-E'
8696 # hardcode_minus_L: Not really in the search PATH,
8697 # but as the default location of the library.
8698 hardcode_minus_L
=yes
8703 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8706 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8709 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8712 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8718 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8721 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8724 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8728 if test "$with_gnu_ld" = no
; then
8729 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8730 hardcode_libdir_separator
=:
8734 hardcode_libdir_flag_spec_ld
='+b $libdir'
8736 hardcode_shlibpath_var
=no
8740 export_dynamic_flag_spec
='${wl}-E'
8742 # hardcode_minus_L: Not really in the search PATH,
8743 # but as the default location of the library.
8744 hardcode_minus_L
=yes
8750 irix5
* | irix6
* | nonstopux
*)
8751 if test "$GCC" = yes; then
8752 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'
8754 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'
8755 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8757 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8758 hardcode_libdir_separator
=:
8759 link_all_deplibs
=yes
8763 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8764 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8766 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8768 hardcode_libdir_flag_spec
='-R$libdir'
8770 hardcode_shlibpath_var
=no
8774 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8776 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8777 hardcode_libdir_separator
=:
8778 hardcode_shlibpath_var
=no
8782 if test -f /usr
/libexec
/ld.so
; then
8784 hardcode_shlibpath_var
=no
8785 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8786 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8787 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8788 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8789 export_dynamic_flag_spec
='${wl}-E'
8792 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8793 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8794 hardcode_libdir_flag_spec
='-R$libdir'
8797 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8798 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8808 hardcode_libdir_flag_spec
='-L$libdir'
8809 hardcode_minus_L
=yes
8810 allow_undefined_flag
=unsupported
8811 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'
8812 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8816 if test "$GCC" = yes; then
8817 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8818 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'
8820 allow_undefined_flag
=' -expect_unresolved \*'
8821 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'
8823 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8824 hardcode_libdir_separator
=:
8827 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8828 if test "$GCC" = yes; then
8829 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8830 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'
8831 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8833 allow_undefined_flag
=' -expect_unresolved \*'
8834 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'
8835 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8836 $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'
8838 # Both c and cxx compiler support -rpath directly
8839 hardcode_libdir_flag_spec
='-rpath $libdir'
8841 hardcode_libdir_separator
=:
8845 no_undefined_flag
=' -z text'
8846 if test "$GCC" = yes; then
8848 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8849 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8850 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8853 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8854 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8855 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8857 hardcode_libdir_flag_spec
='-R$libdir'
8858 hardcode_shlibpath_var
=no
8860 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8862 # The compiler driver will combine and reorder linker options,
8863 # but understands `-z linker_flag'. GCC discards it without `$wl',
8864 # but is careful enough not to reorder.
8865 # Supported since Solaris 2.6 (maybe 2.5.1?)
8866 if test "$GCC" = yes; then
8867 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8869 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8873 link_all_deplibs
=yes
8877 if test "x$host_vendor" = xsequent
; then
8878 # Use $CC to link under sequent, because it throws in some extra .o
8879 # files that make .init and .fini sections work.
8880 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8882 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8884 hardcode_libdir_flag_spec
='-L$libdir'
8886 hardcode_minus_L
=yes
8887 hardcode_shlibpath_var
=no
8891 case $host_vendor in
8893 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8894 hardcode_direct
=yes # is this really true???
8897 ## LD is ld it makes a PLAMLIB
8898 ## CC just makes a GrossModule.
8899 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8900 reload_cmds
='$CC -r -o $output$reload_objs'
8904 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8905 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8908 runpath_var
='LD_RUN_PATH'
8909 hardcode_shlibpath_var
=no
8913 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8914 hardcode_shlibpath_var
=no
8915 export_dynamic_flag_spec
='-Bexport'
8919 if test -d /usr
/nec
; then
8920 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8921 hardcode_shlibpath_var
=no
8922 runpath_var
=LD_RUN_PATH
8923 hardcode_runpath_var
=yes
8928 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8929 no_undefined_flag
='${wl}-z,text'
8930 archive_cmds_need_lc
=no
8931 hardcode_shlibpath_var
=no
8932 runpath_var
='LD_RUN_PATH'
8934 if test "$GCC" = yes; then
8935 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8936 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8938 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8939 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8943 sysv5
* | sco3.2v5
* | sco5v6
*)
8944 # Note: We can NOT use -z defs as we might desire, because we do not
8945 # link with -lc, and that would cause any symbols used from libc to
8946 # always be unresolved, which means just about no library would
8947 # ever link correctly. If we're not using GNU ld we use -z text
8948 # though, which does catch some bad symbols but isn't as heavy-handed
8950 no_undefined_flag
='${wl}-z,text'
8951 allow_undefined_flag
='${wl}-z,nodefs'
8952 archive_cmds_need_lc
=no
8953 hardcode_shlibpath_var
=no
8954 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8955 hardcode_libdir_separator
=':'
8956 link_all_deplibs
=yes
8957 export_dynamic_flag_spec
='${wl}-Bexport'
8958 runpath_var
='LD_RUN_PATH'
8960 if test "$GCC" = yes; then
8961 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8962 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8964 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8965 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8970 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8971 hardcode_libdir_flag_spec
='-L$libdir'
8972 hardcode_shlibpath_var
=no
8981 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8982 echo "${ECHO_T}$ld_shlibs" >&6; }
8983 test "$ld_shlibs" = no
&& can_build_shared
=no
8986 # Do we need to explicitly link libc?
8988 case "x$archive_cmds_need_lc" in
8990 # Assume -lc should be added
8991 archive_cmds_need_lc
=yes
8993 if test "$enable_shared" = yes && test "$GCC" = yes; then
8994 case $archive_cmds in
8996 # FIXME: we may have to deal with multi-command sequences.
8999 # Test whether the compiler implicitly links with -lc since on some
9000 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9001 # to ld, don't add -lc before -lgcc.
9002 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9003 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9005 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9008 (eval $ac_compile) 2>&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); } 2>conftest.err
; then
9014 libobjs
=conftest.
$ac_objext
9016 wl
=$lt_prog_compiler_wl
9017 pic_flag
=$lt_prog_compiler_pic
9023 lt_save_allow_undefined_flag
=$allow_undefined_flag
9024 allow_undefined_flag
=
9025 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9026 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); }
9031 archive_cmds_need_lc
=no
9033 archive_cmds_need_lc
=yes
9035 allow_undefined_flag
=$lt_save_allow_undefined_flag
9037 cat conftest.err
1>&5
9040 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9041 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9048 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9049 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9051 libname_spec
='lib$name'
9059 shlibpath_overrides_runpath
=unknown
9061 dynamic_linker
="$host_os ld.so"
9062 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9064 if test "$GCC" = yes; then
9066 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9067 *) lt_awk_arg
="/^libraries:/" ;;
9069 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9070 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
9071 # if the path contains ";" then we assume it to be the separator
9072 # otherwise default to the standard path separator (i.e. ":") - it is
9073 # assumed that no part of a normal pathname contains ";" but that should
9074 # okay in the real world where ";" in dirpaths is itself problematic.
9075 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9077 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9079 # Ok, now we have the path, separated by spaces, we can step through it
9080 # and add multilib dir if necessary.
9081 lt_tmp_lt_search_path_spec
=
9082 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9083 for lt_sys_path
in $lt_search_path_spec; do
9084 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9085 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9087 test -d "$lt_sys_path" && \
9088 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9091 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
9092 BEGIN {RS=" "; FS="/|\n";} {
9095 for (lt_i = NF; lt_i > 0; lt_i--) {
9096 if ($lt_i != "" && $lt_i != ".") {
9097 if ($lt_i == "..") {
9100 if (lt_count == 0) {
9101 lt_foo="/" $lt_i lt_foo;
9108 if (lt_foo != "") { lt_freq[lt_foo]++; }
9109 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9111 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
9113 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9115 need_lib_prefix
=unknown
9116 hardcode_into_libs
=no
9118 # when you set need_version to no, make sure it does not cause -set_version
9119 # flags to be left without arguments
9120 need_version
=unknown
9125 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9126 shlibpath_var
=LIBPATH
9128 # AIX 3 has no versioning support, so we append a major version to the name.
9129 soname_spec
='${libname}${release}${shared_ext}$major'
9136 hardcode_into_libs
=yes
9137 if test "$host_cpu" = ia64
; then
9138 # AIX 5 supports IA64
9139 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9140 shlibpath_var
=LD_LIBRARY_PATH
9142 # With GCC up to 2.95.x, collect2 would create an import file
9143 # for dependence libraries. The import file would start with
9144 # the line `#! .'. This would cause the generated library to
9145 # depend on `.', always an invalid library. This was fixed in
9146 # development snapshots of GCC prior to 3.0.
9148 aix4 | aix4.
[01] | aix4.
[01].
*)
9149 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9151 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9158 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9159 # soname into executable. Probably we can add versioning support to
9160 # collect2, so additional links can be useful in future.
9161 if test "$aix_use_runtimelinking" = yes; then
9162 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9163 # instead of lib<name>.a to let people know that these are not
9164 # typical AIX shared libraries.
9165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9167 # We preserve .a as extension for shared libraries through AIX4.2
9168 # and later when we are not doing run time linking.
9169 library_names_spec
='${libname}${release}.a $libname.a'
9170 soname_spec
='${libname}${release}${shared_ext}$major'
9172 shlibpath_var
=LIBPATH
9177 library_names_spec
='$libname.ixlibrary $libname.a'
9178 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9179 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'
9183 library_names_spec
='${libname}${shared_ext}'
9184 dynamic_linker
="$host_os ld.so"
9185 shlibpath_var
=LIBRARY_PATH
9191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9192 soname_spec
='${libname}${release}${shared_ext}$major'
9193 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9194 shlibpath_var
=LD_LIBRARY_PATH
9195 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9196 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9197 # the default ld.so.conf also contains /usr/contrib/lib and
9198 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9199 # libtool to hard-code these into programs
9202 cygwin
* | mingw
* | pw32
*)
9203 version_type
=windows
9208 case $GCC,$host_os in
9209 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9210 library_names_spec
='$libname.dll.a'
9211 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9212 postinstall_cmds
='base_file=`basename \${file}`~
9213 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9214 dldir=$destdir/`dirname \$dlpath`~
9215 test -d \$dldir || mkdir -p \$dldir~
9216 $install_prog $dir/$dlname \$dldir/$dlname~
9217 chmod a+x \$dldir/$dlname'
9218 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9219 dlpath=$dir/\$dldll~
9221 shlibpath_overrides_runpath
=yes
9225 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9226 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9227 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9230 # MinGW DLLs use traditional 'lib' prefix
9231 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9232 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9233 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9234 # It is most probably a Windows format PATH printed by
9235 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9236 # path with ; separators, and with drive letters. We can handle the
9237 # drive letters (cygwin fileutils understands them), so leave them,
9238 # especially as we might pass files found there to a mingw objdump,
9239 # which wouldn't understand a cygwinified path. Ahh.
9240 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9242 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9246 # pw32 DLLs use 'pw' prefix rather than 'lib'
9247 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9253 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9256 dynamic_linker
='Win32 ld.exe'
9257 # FIXME: first we should search . and the directory the executable is in
9261 darwin
* | rhapsody
*)
9262 dynamic_linker
="$host_os dyld"
9266 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9267 soname_spec
='${libname}${release}${major}$shared_ext'
9268 shlibpath_overrides_runpath
=yes
9269 shlibpath_var
=DYLD_LIBRARY_PATH
9270 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9272 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9273 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9281 soname_spec
='${libname}${release}${shared_ext}$major'
9282 shlibpath_var
=LD_LIBRARY_PATH
9289 freebsd
* | dragonfly
*)
9290 # DragonFly does not have aout. When/if they implement a new
9291 # versioning mechanism, adjust this.
9292 if test -x /usr
/bin
/objformat
; then
9293 objformat
=`/usr/bin/objformat`
9296 freebsd
[123]*) objformat
=aout
;;
9300 version_type
=freebsd-
$objformat
9301 case $version_type in
9303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9308 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9312 shlibpath_var
=LD_LIBRARY_PATH
9315 shlibpath_overrides_runpath
=yes
9317 freebsd3.
[01]* | freebsdelf3.
[01]*)
9318 shlibpath_overrides_runpath
=yes
9319 hardcode_into_libs
=yes
9321 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9322 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9323 shlibpath_overrides_runpath
=no
9324 hardcode_into_libs
=yes
9326 *) # from 4.6 on, and DragonFly
9327 shlibpath_overrides_runpath
=yes
9328 hardcode_into_libs
=yes
9337 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9338 soname_spec
='${libname}${release}${shared_ext}$major'
9339 shlibpath_var
=LD_LIBRARY_PATH
9340 hardcode_into_libs
=yes
9343 hpux9
* | hpux10
* | hpux11
*)
9344 # Give a soname corresponding to the major version so that dld.sl refuses to
9345 # link against other versions.
9352 hardcode_into_libs
=yes
9353 dynamic_linker
="$host_os dld.so"
9354 shlibpath_var
=LD_LIBRARY_PATH
9355 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9357 soname_spec
='${libname}${release}${shared_ext}$major'
9358 if test "X$HPUX_IA64_MODE" = X32
; then
9359 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9361 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9363 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9367 hardcode_into_libs
=yes
9368 dynamic_linker
="$host_os dld.sl"
9369 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9370 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9372 soname_spec
='${libname}${release}${shared_ext}$major'
9373 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9374 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9378 dynamic_linker
="$host_os dld.sl"
9379 shlibpath_var
=SHLIB_PATH
9380 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9382 soname_spec
='${libname}${release}${shared_ext}$major'
9385 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9386 postinstall_cmds
='chmod 555 $lib'
9393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9394 soname_spec
='${libname}${release}${shared_ext}$major'
9395 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9396 shlibpath_var
=LD_LIBRARY_PATH
9397 shlibpath_overrides_runpath
=no
9398 hardcode_into_libs
=yes
9401 irix5
* | irix6
* | nonstopux
*)
9403 nonstopux
*) version_type
=nonstopux
;;
9405 if test "$lt_cv_prog_gnu_ld" = yes; then
9413 soname_spec
='${libname}${release}${shared_ext}$major'
9414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9416 irix5
* | nonstopux
*)
9420 case $LD in # libtool.m4 will add one of these switches to LD
9421 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9422 libsuff
= shlibsuff
= libmagic
=32-bit;;
9423 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9424 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9425 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9426 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9427 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9431 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9432 shlibpath_overrides_runpath
=no
9433 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9434 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9435 hardcode_into_libs
=yes
9438 # No shared lib support for Linux oldld, aout, or coff.
9439 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9443 # This must be Linux ELF.
9444 linux
* | k
*bsd
*-gnu)
9448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9449 soname_spec
='${libname}${release}${shared_ext}$major'
9450 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9451 shlibpath_var
=LD_LIBRARY_PATH
9452 shlibpath_overrides_runpath
=no
9453 # This implies no fast_install, which is unacceptable.
9454 # Some rework will be needed to allow for fast_install
9455 # before this can be enabled.
9456 hardcode_into_libs
=yes
9458 # Append ld.so.conf contents to the search path
9459 if test -f /etc
/ld.so.conf
; then
9460 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9461 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9464 # We used to test for /lib/ld.so.1 and disable shared libraries on
9465 # powerpc, because MkLinux only supported shared libraries with the
9466 # GNU dynamic linker. Since this was broken with cross compilers,
9467 # most powerpc-linux boxes support dynamic linking these days and
9468 # people can always --disable-shared, the test was removed, and we
9469 # assume the GNU/Linux dynamic linker is in use.
9470 dynamic_linker
='GNU/Linux ld.so'
9477 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9479 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9480 dynamic_linker
='NetBSD (a.out) ld.so'
9482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9483 soname_spec
='${libname}${release}${shared_ext}$major'
9484 dynamic_linker
='NetBSD ld.elf_so'
9486 shlibpath_var
=LD_LIBRARY_PATH
9487 shlibpath_overrides_runpath
=yes
9488 hardcode_into_libs
=yes
9493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9494 shlibpath_var
=LD_LIBRARY_PATH
9495 shlibpath_overrides_runpath
=yes
9502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9503 soname_spec
='${libname}${release}${shared_ext}$major'
9504 shlibpath_var
=LD_LIBRARY_PATH
9505 shlibpath_overrides_runpath
=yes
9510 sys_lib_dlsearch_path_spec
="/usr/lib"
9512 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9514 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9515 *) need_version
=no
;;
9517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9518 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9519 shlibpath_var
=LD_LIBRARY_PATH
9520 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9522 openbsd2.
[89] | openbsd2.
[89].
*)
9523 shlibpath_overrides_runpath
=no
9526 shlibpath_overrides_runpath
=yes
9530 shlibpath_overrides_runpath
=yes
9535 libname_spec
='$name'
9538 library_names_spec
='$libname${shared_ext} $libname.a'
9539 dynamic_linker
='OS/2 ld.exe'
9540 shlibpath_var
=LIBPATH
9543 osf3
* | osf4
* | osf5
*)
9547 soname_spec
='${libname}${release}${shared_ext}$major'
9548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9549 shlibpath_var
=LD_LIBRARY_PATH
9550 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9551 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9563 soname_spec
='${libname}${release}${shared_ext}$major'
9564 shlibpath_var
=LD_LIBRARY_PATH
9565 shlibpath_overrides_runpath
=yes
9566 hardcode_into_libs
=yes
9567 # ldd complains unless libraries are executable
9568 postinstall_cmds
='chmod +x $lib'
9573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9574 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9575 shlibpath_var
=LD_LIBRARY_PATH
9576 shlibpath_overrides_runpath
=yes
9577 if test "$with_gnu_ld" = yes; then
9585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9586 soname_spec
='${libname}${release}${shared_ext}$major'
9587 shlibpath_var
=LD_LIBRARY_PATH
9588 case $host_vendor in
9590 shlibpath_overrides_runpath
=no
9592 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9593 runpath_var
=LD_RUN_PATH
9601 shlibpath_overrides_runpath
=no
9602 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9608 if test -d /usr
/nec
;then
9610 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9611 soname_spec
='$libname${shared_ext}.$major'
9612 shlibpath_var
=LD_LIBRARY_PATH
9616 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9617 version_type
=freebsd-elf
9620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9621 soname_spec
='${libname}${release}${shared_ext}$major'
9622 shlibpath_var
=LD_LIBRARY_PATH
9623 hardcode_into_libs
=yes
9624 if test "$with_gnu_ld" = yes; then
9625 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9626 shlibpath_overrides_runpath
=no
9628 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9629 shlibpath_overrides_runpath
=yes
9632 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9636 sys_lib_dlsearch_path_spec
='/usr/lib'
9641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9642 soname_spec
='${libname}${release}${shared_ext}$major'
9643 shlibpath_var
=LD_LIBRARY_PATH
9650 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9651 echo "${ECHO_T}$dynamic_linker" >&6; }
9652 test "$dynamic_linker" = no
&& can_build_shared
=no
9654 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9655 echo $ECHO_N "(cached) $ECHO_C" >&6
9657 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
9660 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9661 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9662 echo $ECHO_N "(cached) $ECHO_C" >&6
9664 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
9667 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9669 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9670 if test "$GCC" = yes; then
9671 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9674 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9675 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9677 if test -n "$hardcode_libdir_flag_spec" || \
9678 test -n "$runpath_var" || \
9679 test "X$hardcode_automatic" = "Xyes" ; then
9681 # We can hardcode non-existant directories.
9682 if test "$hardcode_direct" != no
&&
9683 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9684 # have to relink, otherwise we might link with an installed library
9685 # when we should be linking with a yet-to-be-installed one
9686 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9687 test "$hardcode_minus_L" != no
; then
9688 # Linking always hardcodes the temporary library directory.
9689 hardcode_action
=relink
9691 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9692 hardcode_action
=immediate
9695 # We cannot hardcode anything, or else we can only hardcode existing
9697 hardcode_action
=unsupported
9699 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9700 echo "${ECHO_T}$hardcode_action" >&6; }
9702 if test "$hardcode_action" = relink
; then
9703 # Fast installation is not supported
9704 enable_fast_install
=no
9705 elif test "$shlibpath_overrides_runpath" = yes ||
9706 test "$enable_shared" = no
; then
9707 # Fast installation is not necessary
9708 enable_fast_install
=needless
9713 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9714 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9715 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9716 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9717 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9718 { echo "$as_me:$LINENO: result: yes" >&5
9719 echo "${ECHO_T}yes" >&6; }
9721 # FIXME - insert some real tests, host_os isn't really good enough
9724 if test -n "$STRIP" ; then
9725 striplib
="$STRIP -x"
9726 old_striplib
="$STRIP -S"
9727 { echo "$as_me:$LINENO: result: yes" >&5
9728 echo "${ECHO_T}yes" >&6; }
9730 { echo "$as_me:$LINENO: result: no" >&5
9731 echo "${ECHO_T}no" >&6; }
9735 { echo "$as_me:$LINENO: result: no" >&5
9736 echo "${ECHO_T}no" >&6; }
9741 if test "x$enable_dlopen" != xyes
; then
9742 enable_dlopen
=unknown
9743 enable_dlopen_self
=unknown
9744 enable_dlopen_self_static
=unknown
9751 lt_cv_dlopen
="load_add_on"
9753 lt_cv_dlopen_self
=yes
9757 lt_cv_dlopen
="LoadLibrary"
9762 lt_cv_dlopen
="dlopen"
9767 # if libdl is installed we need to link against it
9768 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9769 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9770 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9771 echo $ECHO_N "(cached) $ECHO_C" >&6
9773 ac_check_lib_save_LIBS
=$LIBS
9775 cat >conftest.
$ac_ext <<_ACEOF
9778 cat confdefs.h
>>conftest.
$ac_ext
9779 cat >>conftest.
$ac_ext <<_ACEOF
9780 /* end confdefs.h. */
9782 /* Override any GCC internal prototype to avoid an error.
9783 Use char because int might match the return type of a GCC
9784 builtin and then its argument prototype would still apply. */
9797 rm -f conftest.
$ac_objext conftest
$ac_exeext
9798 if { (ac_try
="$ac_link"
9800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9801 *) ac_try_echo=$ac_try;;
9803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9804 (eval "$ac_link") 2>conftest.er1
9806 grep -v '^ *+' conftest.er1 >conftest.err
9808 cat conftest.err >&5
9809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9810 (exit $ac_status); } && {
9811 test -z "$ac_c_werror_flag" ||
9812 test ! -s conftest.err
9813 } && test -s conftest$ac_exeext &&
9814 $as_test_x conftest$ac_exeext; then
9815 ac_cv_lib_dl_dlopen=yes
9817 echo "$as_me: failed program was:" >&5
9818 sed 's/^/| /' conftest.$ac_ext >&5
9820 ac_cv_lib_dl_dlopen=no
9823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9824 conftest$ac_exeext conftest.$ac_ext
9825 LIBS=$ac_check_lib_save_LIBS
9827 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9828 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9829 if test $ac_cv_lib_dl_dlopen = yes; then
9830 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9835 lt_cv_dlopen_self=yes
9842 { echo "$as_me:$LINENO: checking for shl_load" >&5
9843 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9844 if test "${ac_cv_func_shl_load+set}" = set; then
9845 echo $ECHO_N "(cached) $ECHO_C" >&6
9847 cat >conftest.$ac_ext <<_ACEOF
9850 cat confdefs.h >>conftest.$ac_ext
9851 cat >>conftest.$ac_ext <<_ACEOF
9852 /* end confdefs.h. */
9853 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9855 #define shl_load innocuous_shl_load
9857 /* System header to define __stub macros and hopefully few prototypes,
9858 which can conflict with char shl_load (); below.
9859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9860 <limits.h> exists even on freestanding compilers. */
9863 # include <limits.h>
9865 # include <assert.h>
9870 /* Override any GCC internal prototype to avoid an error.
9871 Use char because int might match the return type of a GCC
9872 builtin and then its argument prototype would still apply. */
9877 /* The GNU C library defines this for functions which it implements
9878 to always fail with ENOSYS. Some functions are actually named
9879 something starting with __ and the normal name is an alias. */
9880 #if defined __stub_shl_load || defined __stub___shl_load
9892 rm -f conftest.$ac_objext conftest$ac_exeext
9893 if { (ac_try="$ac_link"
9895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9896 *) ac_try_echo
=$ac_try;;
9898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9899 (eval "$ac_link") 2>conftest.er1
9901 grep -v '^ *+' conftest.er1
>conftest.err
9903 cat conftest.err
>&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); } && {
9906 test -z "$ac_c_werror_flag" ||
9907 test ! -s conftest.err
9908 } && test -s conftest
$ac_exeext &&
9909 $as_test_x conftest
$ac_exeext; then
9910 ac_cv_func_shl_load
=yes
9912 echo "$as_me: failed program was:" >&5
9913 sed 's/^/| /' conftest.
$ac_ext >&5
9915 ac_cv_func_shl_load
=no
9918 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9919 conftest
$ac_exeext conftest.
$ac_ext
9921 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9922 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9923 if test $ac_cv_func_shl_load = yes; then
9924 lt_cv_dlopen
="shl_load"
9926 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9927 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9928 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9929 echo $ECHO_N "(cached) $ECHO_C" >&6
9931 ac_check_lib_save_LIBS
=$LIBS
9933 cat >conftest.
$ac_ext <<_ACEOF
9936 cat confdefs.h
>>conftest.
$ac_ext
9937 cat >>conftest.
$ac_ext <<_ACEOF
9938 /* end confdefs.h. */
9940 /* Override any GCC internal prototype to avoid an error.
9941 Use char because int might match the return type of a GCC
9942 builtin and then its argument prototype would still apply. */
9955 rm -f conftest.
$ac_objext conftest
$ac_exeext
9956 if { (ac_try
="$ac_link"
9958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9959 *) ac_try_echo=$ac_try;;
9961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9962 (eval "$ac_link") 2>conftest.er1
9964 grep -v '^ *+' conftest.er1 >conftest.err
9966 cat conftest.err >&5
9967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 (exit $ac_status); } && {
9969 test -z "$ac_c_werror_flag" ||
9970 test ! -s conftest.err
9971 } && test -s conftest$ac_exeext &&
9972 $as_test_x conftest$ac_exeext; then
9973 ac_cv_lib_dld_shl_load=yes
9975 echo "$as_me: failed program was:" >&5
9976 sed 's/^/| /' conftest.$ac_ext >&5
9978 ac_cv_lib_dld_shl_load=no
9981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9982 conftest$ac_exeext conftest.$ac_ext
9983 LIBS=$ac_check_lib_save_LIBS
9985 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9986 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9987 if test $ac_cv_lib_dld_shl_load = yes; then
9988 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9990 { echo "$as_me:$LINENO: checking for dlopen" >&5
9991 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9992 if test "${ac_cv_func_dlopen+set}" = set; then
9993 echo $ECHO_N "(cached) $ECHO_C" >&6
9995 cat >conftest.$ac_ext <<_ACEOF
9998 cat confdefs.h >>conftest.$ac_ext
9999 cat >>conftest.$ac_ext <<_ACEOF
10000 /* end confdefs.h. */
10001 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10003 #define dlopen innocuous_dlopen
10005 /* System header to define __stub macros and hopefully few prototypes,
10006 which can conflict with char dlopen (); below.
10007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10008 <limits.h> exists even on freestanding compilers. */
10011 # include <limits.h>
10013 # include <assert.h>
10018 /* Override any GCC internal prototype to avoid an error.
10019 Use char because int might match the return type of a GCC
10020 builtin and then its argument prototype would still apply. */
10025 /* The GNU C library defines this for functions which it implements
10026 to always fail with ENOSYS. Some functions are actually named
10027 something starting with __ and the normal name is an alias. */
10028 #if defined __stub_dlopen || defined __stub___dlopen
10040 rm -f conftest.$ac_objext conftest$ac_exeext
10041 if { (ac_try="$ac_link"
10042 case "(($ac_try" in
10043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10044 *) ac_try_echo
=$ac_try;;
10046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10047 (eval "$ac_link") 2>conftest.er1
10049 grep -v '^ *+' conftest.er1
>conftest.err
10051 cat conftest.err
>&5
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 (exit $ac_status); } && {
10054 test -z "$ac_c_werror_flag" ||
10055 test ! -s conftest.err
10056 } && test -s conftest
$ac_exeext &&
10057 $as_test_x conftest
$ac_exeext; then
10058 ac_cv_func_dlopen
=yes
10060 echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.
$ac_ext >&5
10063 ac_cv_func_dlopen
=no
10066 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10067 conftest
$ac_exeext conftest.
$ac_ext
10069 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10070 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10071 if test $ac_cv_func_dlopen = yes; then
10072 lt_cv_dlopen
="dlopen"
10074 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10075 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10076 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10077 echo $ECHO_N "(cached) $ECHO_C" >&6
10079 ac_check_lib_save_LIBS
=$LIBS
10081 cat >conftest.
$ac_ext <<_ACEOF
10084 cat confdefs.h
>>conftest.
$ac_ext
10085 cat >>conftest.
$ac_ext <<_ACEOF
10086 /* end confdefs.h. */
10088 /* Override any GCC internal prototype to avoid an error.
10089 Use char because int might match the return type of a GCC
10090 builtin and then its argument prototype would still apply. */
10103 rm -f conftest.
$ac_objext conftest
$ac_exeext
10104 if { (ac_try
="$ac_link"
10105 case "(($ac_try" in
10106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10107 *) ac_try_echo=$ac_try;;
10109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10110 (eval "$ac_link") 2>conftest.er1
10112 grep -v '^ *+' conftest.er1 >conftest.err
10114 cat conftest.err >&5
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); } && {
10117 test -z "$ac_c_werror_flag" ||
10118 test ! -s conftest.err
10119 } && test -s conftest$ac_exeext &&
10120 $as_test_x conftest$ac_exeext; then
10121 ac_cv_lib_dl_dlopen=yes
10123 echo "$as_me: failed program was:" >&5
10124 sed 's/^/| /' conftest.$ac_ext >&5
10126 ac_cv_lib_dl_dlopen=no
10129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10130 conftest$ac_exeext conftest.$ac_ext
10131 LIBS=$ac_check_lib_save_LIBS
10133 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10134 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10135 if test $ac_cv_lib_dl_dlopen = yes; then
10136 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10138 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10139 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10140 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10141 echo $ECHO_N "(cached) $ECHO_C" >&6
10143 ac_check_lib_save_LIBS=$LIBS
10144 LIBS="-lsvld $LIBS"
10145 cat >conftest.$ac_ext <<_ACEOF
10148 cat confdefs.h >>conftest.$ac_ext
10149 cat >>conftest.$ac_ext <<_ACEOF
10150 /* end confdefs.h. */
10152 /* Override any GCC internal prototype to avoid an error.
10153 Use char because int might match the return type of a GCC
10154 builtin and then its argument prototype would still apply. */
10167 rm -f conftest.$ac_objext conftest$ac_exeext
10168 if { (ac_try="$ac_link"
10169 case "(($ac_try" in
10170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10171 *) ac_try_echo
=$ac_try;;
10173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10174 (eval "$ac_link") 2>conftest.er1
10176 grep -v '^ *+' conftest.er1
>conftest.err
10178 cat conftest.err
>&5
10179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10180 (exit $ac_status); } && {
10181 test -z "$ac_c_werror_flag" ||
10182 test ! -s conftest.err
10183 } && test -s conftest
$ac_exeext &&
10184 $as_test_x conftest
$ac_exeext; then
10185 ac_cv_lib_svld_dlopen
=yes
10187 echo "$as_me: failed program was:" >&5
10188 sed 's/^/| /' conftest.
$ac_ext >&5
10190 ac_cv_lib_svld_dlopen
=no
10193 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10194 conftest
$ac_exeext conftest.
$ac_ext
10195 LIBS
=$ac_check_lib_save_LIBS
10197 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10198 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10199 if test $ac_cv_lib_svld_dlopen = yes; then
10200 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10202 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10203 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10204 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10205 echo $ECHO_N "(cached) $ECHO_C" >&6
10207 ac_check_lib_save_LIBS
=$LIBS
10209 cat >conftest.
$ac_ext <<_ACEOF
10212 cat confdefs.h
>>conftest.
$ac_ext
10213 cat >>conftest.
$ac_ext <<_ACEOF
10214 /* end confdefs.h. */
10216 /* Override any GCC internal prototype to avoid an error.
10217 Use char because int might match the return type of a GCC
10218 builtin and then its argument prototype would still apply. */
10226 return dld_link ();
10231 rm -f conftest.
$ac_objext conftest
$ac_exeext
10232 if { (ac_try
="$ac_link"
10233 case "(($ac_try" in
10234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10235 *) ac_try_echo=$ac_try;;
10237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10238 (eval "$ac_link") 2>conftest.er1
10240 grep -v '^ *+' conftest.er1 >conftest.err
10242 cat conftest.err >&5
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); } && {
10245 test -z "$ac_c_werror_flag" ||
10246 test ! -s conftest.err
10247 } && test -s conftest$ac_exeext &&
10248 $as_test_x conftest$ac_exeext; then
10249 ac_cv_lib_dld_dld_link=yes
10251 echo "$as_me: failed program was:" >&5
10252 sed 's/^/| /' conftest.$ac_ext >&5
10254 ac_cv_lib_dld_dld_link=no
10257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10258 conftest$ac_exeext conftest.$ac_ext
10259 LIBS=$ac_check_lib_save_LIBS
10261 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10262 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10263 if test $ac_cv_lib_dld_dld_link = yes; then
10264 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10285 if test "x$lt_cv_dlopen" != xno; then
10291 case $lt_cv_dlopen in
10293 save_CPPFLAGS="$CPPFLAGS"
10294 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10296 save_LDFLAGS="$LDFLAGS"
10297 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10300 LIBS="$lt_cv_dlopen_libs $LIBS"
10302 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10303 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10304 if test "${lt_cv_dlopen_self+set}" = set; then
10305 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 if test "$cross_compiling" = yes; then :
10308 lt_cv_dlopen_self=cross
10310 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10311 lt_status=$lt_dlunknown
10312 cat > conftest.$ac_ext <<EOF
10313 #line 10313 "configure"
10314 #include "confdefs.h"
10323 # define LT_DLGLOBAL RTLD_GLOBAL
10326 # define LT_DLGLOBAL DL_GLOBAL
10328 # define LT_DLGLOBAL 0
10332 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10333 find out it does not work in some platform. */
10334 #ifndef LT_DLLAZY_OR_NOW
10336 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10339 # define LT_DLLAZY_OR_NOW DL_LAZY
10342 # define LT_DLLAZY_OR_NOW RTLD_NOW
10345 # define LT_DLLAZY_OR_NOW DL_NOW
10347 # define LT_DLLAZY_OR_NOW 0
10355 extern "C" void exit (int);
10358 void fnord() { int i=42;}
10361 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10362 int status = $lt_dlunknown;
10366 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10367 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10368 /* dlclose (self); */
10376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10377 (eval $ac_link) 2>&5
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10381 (./conftest; exit; ) >&5 2>/dev/null
10383 case x$lt_status in
10384 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10385 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10386 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10389 # compilation failed
10390 lt_cv_dlopen_self=no
10397 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10398 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10400 if test "x$lt_cv_dlopen_self" = xyes; then
10401 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10402 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10403 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10404 if test "${lt_cv_dlopen_self_static+set}" = set; then
10405 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 if test "$cross_compiling" = yes; then :
10408 lt_cv_dlopen_self_static=cross
10410 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10411 lt_status=$lt_dlunknown
10412 cat > conftest.$ac_ext <<EOF
10413 #line 10413 "configure"
10414 #include "confdefs.h"
10423 # define LT_DLGLOBAL RTLD_GLOBAL
10426 # define LT_DLGLOBAL DL_GLOBAL
10428 # define LT_DLGLOBAL 0
10432 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10433 find out it does not work in some platform. */
10434 #ifndef LT_DLLAZY_OR_NOW
10436 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10439 # define LT_DLLAZY_OR_NOW DL_LAZY
10442 # define LT_DLLAZY_OR_NOW RTLD_NOW
10445 # define LT_DLLAZY_OR_NOW DL_NOW
10447 # define LT_DLLAZY_OR_NOW 0
10455 extern "C" void exit (int);
10458 void fnord() { int i=42;}
10461 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10462 int status = $lt_dlunknown;
10466 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10467 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10468 /* dlclose (self); */
10476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10477 (eval $ac_link) 2>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10481 (./conftest; exit; ) >&5 2>/dev/null
10483 case x$lt_status in
10484 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10485 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10486 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10489 # compilation failed
10490 lt_cv_dlopen_self_static=no
10497 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10498 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10501 CPPFLAGS="$save_CPPFLAGS"
10502 LDFLAGS="$save_LDFLAGS"
10507 case $lt_cv_dlopen_self in
10508 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10509 *) enable_dlopen_self=unknown ;;
10512 case $lt_cv_dlopen_self_static in
10513 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10514 *) enable_dlopen_self_static=unknown ;;
10519 # Report which library types will actually be built
10520 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10521 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10522 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10523 echo "${ECHO_T}$can_build_shared" >&6; }
10525 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10526 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10527 test "$can_build_shared" = "no" && enable_shared=no
10529 # On AIX, shared libraries and static libraries use the same namespace, and
10530 # are all built from PIC.
10533 test "$enable_shared" = yes && enable_static=no
10534 if test -n "$RANLIB"; then
10535 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10536 postinstall_cmds='$RANLIB $lib'
10541 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10542 test "$enable_shared" = yes && enable_static=no
10546 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10547 echo "${ECHO_T}$enable_shared" >&6; }
10549 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10550 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10551 # Make sure either enable_shared or enable_static is yes.
10552 test "$enable_shared" = yes || enable_static=yes
10553 { echo "$as_me:$LINENO: result: $enable_static" >&5
10554 echo "${ECHO_T}$enable_static" >&6; }
10556 # The else clause should only fire when bootstrapping the
10557 # libtool distribution, otherwise you forgot to ship ltmain.sh
10558 # with your package, and you will get complaints that there are
10559 # no rules to generate ltmain.sh.
10560 if test -f "$ltmain"; then
10561 # See if we are running on zsh, and set the options which allow our commands through
10562 # without removal of \ escapes.
10563 if test -n "${ZSH_VERSION+set}" ; then
10564 setopt NO_GLOB_SUBST
10566 # Now quote all the things that may contain metacharacters while being
10567 # careful not to overquote the AC_SUBSTed values. We take copies of the
10568 # variables and quote the copies for generation of the libtool script.
10569 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10571 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10572 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10573 deplibs_check_method reload_flag reload_cmds need_locks \
10574 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10575 lt_cv_sys_global_symbol_to_c_name_address \
10576 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10577 old_postinstall_cmds old_postuninstall_cmds \
10581 lt_prog_compiler_wl \
10582 lt_prog_compiler_pic \
10583 lt_prog_compiler_static \
10584 lt_prog_compiler_no_builtin_flag \
10585 export_dynamic_flag_spec \
10586 thread_safe_flag_spec \
10587 whole_archive_flag_spec \
10588 enable_shared_with_static_runtimes \
10590 old_archive_from_new_cmds \
10595 compiler_lib_search_path \
10596 compiler_lib_search_dirs \
10598 archive_expsym_cmds \
10600 postuninstall_cmds \
10601 old_archive_from_expsyms_cmds \
10602 allow_undefined_flag \
10603 no_undefined_flag \
10604 export_symbols_cmds \
10605 hardcode_libdir_flag_spec \
10606 hardcode_libdir_flag_spec_ld \
10607 hardcode_libdir_separator \
10608 hardcode_automatic \
10610 module_expsym_cmds \
10611 lt_cv_prog_compiler_c_o \
10614 include_expsyms; do
10617 old_archive_cmds | \
10618 old_archive_from_new_cmds | \
10620 archive_expsym_cmds | \
10622 module_expsym_cmds | \
10623 old_archive_from_expsyms_cmds | \
10624 export_symbols_cmds | \
10625 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10626 postinstall_cmds | postuninstall_cmds | \
10627 old_postinstall_cmds | old_postuninstall_cmds | \
10628 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10629 # Double-quote double-evaled strings.
10630 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10633 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10639 *'\$0 --fallback-echo"')
10640 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10644 cfgfile="${ofile}T"
10645 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10647 { echo "$as_me:$LINENO: creating $ofile" >&5
10648 echo "$as_me: creating $ofile" >&6;}
10650 cat <<__EOF__ >> "$cfgfile"
10653 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10654 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10655 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10657 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10658 # Free Software Foundation, Inc.
10660 # This file is part of GNU Libtool:
10661 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10663 # This program is free software; you can redistribute it and/or modify
10664 # it under the terms of the GNU General Public License as published by
10665 # the Free Software Foundation; either version 2 of the License, or
10666 # (at your option) any later version.
10668 # This program is distributed in the hope that it will be useful, but
10669 # WITHOUT ANY WARRANTY; without even the implied warranty of
10670 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10671 # General Public License for more details.
10673 # You should have received a copy of the GNU General Public License
10674 # along with this program; if not, write to the Free Software
10675 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10677 # As a special exception to the GNU General Public License, if you
10678 # distribute this file as part of a program that contains a
10679 # configuration script generated by Autoconf, you may include it under
10680 # the same distribution terms that you use for the rest of that program.
10682 # A sed program that does not truncate output.
10685 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10686 Xsed="$SED -e 1s/^X//"
10688 # The HP-UX ksh and POSIX shell print the target directory to stdout
10689 # if CDPATH is set.
10690 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10692 # The names of the tagged configurations supported by this script.
10695 # ### BEGIN LIBTOOL CONFIG
10697 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10699 # Shell to use when invoking shell scripts.
10702 # Whether or not to build shared libraries.
10703 build_libtool_libs=$enable_shared
10705 # Whether or not to build static libraries.
10706 build_old_libs=$enable_static
10708 # Whether or not to add -lc for building shared libraries.
10709 build_libtool_need_lc=$archive_cmds_need_lc
10711 # Whether or not to disallow shared libs when runtime libs are static
10712 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10714 # Whether or not to optimize for fast installation.
10715 fast_install=$enable_fast_install
10718 host_alias=$host_alias
10722 # The build system.
10723 build_alias=$build_alias
10727 # An echo program that does not interpret backslashes.
10732 AR_FLAGS=$lt_AR_FLAGS
10737 # LTCC compiler flags.
10738 LTCFLAGS=$lt_LTCFLAGS
10740 # A language-specific compiler.
10743 # Is the compiler the GNU C compiler?
10749 # The linker used to build libraries.
10752 # Whether we need hard or soft links.
10755 # A BSD-compatible nm program.
10758 # A symbol stripping program
10761 # Used to examine libraries when file_magic_cmd begins "file"
10762 MAGIC_CMD=$MAGIC_CMD
10764 # Used on cygwin: DLL creation program.
10767 # Used on cygwin: object dumper.
10770 # Used on cygwin: assembler.
10773 # The name of the directory that contains temporary libtool files.
10776 # How to create reloadable object files.
10777 reload_flag=$lt_reload_flag
10778 reload_cmds=$lt_reload_cmds
10780 # How to pass a linker flag through the compiler.
10781 wl=$lt_lt_prog_compiler_wl
10783 # Object file suffix (normally "o").
10784 objext="$ac_objext"
10786 # Old archive suffix (normally "a").
10789 # Shared library suffix (normally ".so").
10790 shrext_cmds='$shrext_cmds'
10792 # Executable file suffix (normally "").
10795 # Additional compiler flags for building library objects.
10796 pic_flag=$lt_lt_prog_compiler_pic
10799 # What is the maximum length of a command?
10800 max_cmd_len=$lt_cv_sys_max_cmd_len
10802 # Does compiler simultaneously support -c and -o options?
10803 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10805 # Must we lock files when doing compilation?
10806 need_locks=$lt_need_locks
10808 # Do we need the lib prefix for modules?
10809 need_lib_prefix=$need_lib_prefix
10811 # Do we need a version for libraries?
10812 need_version=$need_version
10814 # Whether dlopen is supported.
10815 dlopen_support=$enable_dlopen
10817 # Whether dlopen of programs is supported.
10818 dlopen_self=$enable_dlopen_self
10820 # Whether dlopen of statically linked programs is supported.
10821 dlopen_self_static=$enable_dlopen_self_static
10823 # Compiler flag to prevent dynamic linking.
10824 link_static_flag=$lt_lt_prog_compiler_static
10826 # Compiler flag to turn off builtin functions.
10827 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10829 # Compiler flag to allow reflexive dlopens.
10830 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10832 # Compiler flag to generate shared objects directly from archives.
10833 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10835 # Compiler flag to generate thread-safe objects.
10836 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10838 # Library versioning type.
10839 version_type=$version_type
10841 # Format of library name prefix.
10842 libname_spec=$lt_libname_spec
10844 # List of archive names. First name is the real one, the rest are links.
10845 # The last name is the one that the linker finds with -lNAME.
10846 library_names_spec=$lt_library_names_spec
10848 # The coded name of the library, if different from the real name.
10849 soname_spec=$lt_soname_spec
10851 # Commands used to build and install an old-style archive.
10853 old_archive_cmds=$lt_old_archive_cmds
10854 old_postinstall_cmds=$lt_old_postinstall_cmds
10855 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10857 # Create an old-style archive from a shared archive.
10858 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10860 # Create a temporary old-style archive to link instead of a shared archive.
10861 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10863 # Commands used to build and install a shared archive.
10864 archive_cmds=$lt_archive_cmds
10865 archive_expsym_cmds=$lt_archive_expsym_cmds
10866 postinstall_cmds=$lt_postinstall_cmds
10867 postuninstall_cmds=$lt_postuninstall_cmds
10869 # Commands used to build a loadable module (assumed same as above if empty)
10870 module_cmds=$lt_module_cmds
10871 module_expsym_cmds=$lt_module_expsym_cmds
10873 # Commands to strip libraries.
10874 old_striplib=$lt_old_striplib
10875 striplib=$lt_striplib
10877 # Dependencies to place before the objects being linked to create a
10879 predep_objects=$lt_predep_objects
10881 # Dependencies to place after the objects being linked to create a
10883 postdep_objects=$lt_postdep_objects
10885 # Dependencies to place before the objects being linked to create a
10887 predeps=$lt_predeps
10889 # Dependencies to place after the objects being linked to create a
10891 postdeps=$lt_postdeps
10893 # The directories searched by this compiler when creating a shared
10895 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
10897 # The library search path used internally by the compiler when linking
10898 # a shared library.
10899 compiler_lib_search_path=$lt_compiler_lib_search_path
10901 # Method to check whether dependent libraries are shared objects.
10902 deplibs_check_method=$lt_deplibs_check_method
10904 # Command to use when deplibs_check_method == file_magic.
10905 file_magic_cmd=$lt_file_magic_cmd
10907 # Flag that allows shared libraries with undefined symbols to be built.
10908 allow_undefined_flag=$lt_allow_undefined_flag
10910 # Flag that forces no undefined symbols.
10911 no_undefined_flag=$lt_no_undefined_flag
10913 # Commands used to finish a libtool library installation in a directory.
10914 finish_cmds=$lt_finish_cmds
10916 # Same as above, but a single script fragment to be evaled but not shown.
10917 finish_eval=$lt_finish_eval
10919 # Take the output of nm and produce a listing of raw symbols and C names.
10920 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10922 # Transform the output of nm in a proper C declaration
10923 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10925 # Transform the output of nm in a C name address pair
10926 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10928 # This is the shared library runtime path variable.
10929 runpath_var=$runpath_var
10931 # This is the shared library path variable.
10932 shlibpath_var=$shlibpath_var
10934 # Is shlibpath searched before the hard-coded library search path?
10935 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10937 # How to hardcode a shared library path into an executable.
10938 hardcode_action=$hardcode_action
10940 # Whether we should hardcode library paths into libraries.
10941 hardcode_into_libs=$hardcode_into_libs
10943 # Flag to hardcode \$libdir into a binary during linking.
10944 # This must work even if \$libdir does not exist.
10945 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10947 # If ld is used when linking, flag to hardcode \$libdir into
10948 # a binary during linking. This must work even if \$libdir does
10950 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10952 # Whether we need a single -rpath flag with a separated argument.
10953 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10955 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10956 # resulting binary.
10957 hardcode_direct=$hardcode_direct
10959 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10960 # resulting binary.
10961 hardcode_minus_L=$hardcode_minus_L
10963 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10964 # the resulting binary.
10965 hardcode_shlibpath_var=$hardcode_shlibpath_var
10967 # Set to yes if building a shared library automatically hardcodes DIR into the library
10968 # and all subsequent libraries and executables linked against it.
10969 hardcode_automatic=$hardcode_automatic
10971 # Variables whose values should be saved in libtool wrapper scripts and
10972 # restored at relink time.
10973 variables_saved_for_relink="$variables_saved_for_relink"
10975 # Whether libtool must link a program against all its dependency libraries.
10976 link_all_deplibs=$link_all_deplibs
10978 # Compile-time system search path for libraries
10979 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10981 # Run-time system search path for libraries
10982 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10984 # Fix the shell variable \$srcfile for the compiler.
10985 fix_srcfile_path=$lt_fix_srcfile_path
10987 # Set to yes if exported symbols are required.
10988 always_export_symbols=$always_export_symbols
10990 # The commands to list exported symbols.
10991 export_symbols_cmds=$lt_export_symbols_cmds
10993 # The commands to extract the exported symbol list from a shared archive.
10994 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10996 # Symbols that should not be listed in the preloaded symbols.
10997 exclude_expsyms=$lt_exclude_expsyms
10999 # Symbols that must always be exported.
11000 include_expsyms=$lt_include_expsyms
11002 # ### END LIBTOOL CONFIG
11009 cat <<\EOF >> "$cfgfile"
11011 # AIX sometimes has problems with the GCC collect2 program. For some
11012 # reason, if we set the COLLECT_NAMES environment variable, the problems
11013 # vanish in a puff of smoke.
11014 if test "X${COLLECT_NAMES+set}" != Xset; then
11016 export COLLECT_NAMES
11022 # We use sed instead of cat because bash on DJGPP gets confused if
11023 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11024 # text mode, it properly converts lines to CR/LF. This bash problem
11025 # is reportedly fixed, but why not run on old versions too?
11026 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11028 mv -f "$cfgfile" "$ofile" || \
11029 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11033 # If there is no Makefile yet, we rely on a make rule to execute
11034 # `config.status
--recheck' to rerun these tests and create the
11035 # libtool script then.
11036 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11037 if test -f "$ltmain_in"; then
11038 test -f Makefile && make "$ltmain"
11044 ac_cpp='$CPP $CPPFLAGS'
11045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11046 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11052 # Check whether --with-tags was given.
11053 if test "${with_tags+set}" = set; then
11054 withval=$with_tags; tagnames="$withval"
11058 if test -f "$ltmain" && test -n "$tagnames"; then
11059 if test ! -f "${ofile}"; then
11060 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11061 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11064 if test -z "$LTCC"; then
11065 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11066 if test -z "$LTCC"; then
11067 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11068 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11070 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11071 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11074 if test -z "$LTCFLAGS"; then
11075 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11078 # Extract list of available tagged configurations in $ofile.
11079 # Note that this assumes the entire list is on one line.
11080 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11082 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11083 for tagname in $tagnames; do
11085 # Check whether tagname contains only valid characters
11086 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11088 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11089 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11090 { (exit 1); exit 1; }; }
11094 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11096 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11097 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11098 { (exit 1); exit 1; }; }
11101 # Update the list of available tags.
11102 if test -n "$tagname"; then
11103 echo appending configuration tag \"$tagname\" to $ofile
11107 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11108 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11109 (test "X$CXX" != "Xg++"))) ; then
11111 ac_cpp='$CXXCPP $CPPFLAGS'
11112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11119 archive_cmds_need_lc_CXX=no
11120 allow_undefined_flag_CXX=
11121 always_export_symbols_CXX=no
11122 archive_expsym_cmds_CXX=
11123 export_dynamic_flag_spec_CXX=
11124 hardcode_direct_CXX=no
11125 hardcode_libdir_flag_spec_CXX=
11126 hardcode_libdir_flag_spec_ld_CXX=
11127 hardcode_libdir_separator_CXX=
11128 hardcode_minus_L_CXX=no
11129 hardcode_shlibpath_var_CXX=unsupported
11130 hardcode_automatic_CXX=no
11132 module_expsym_cmds_CXX=
11133 link_all_deplibs_CXX=unknown
11134 old_archive_cmds_CXX=$old_archive_cmds
11135 no_undefined_flag_CXX=
11136 whole_archive_flag_spec_CXX=
11137 enable_shared_with_static_runtimes_CXX=no
11139 # Dependencies to place before and after the object being linked:
11140 predep_objects_CXX=
11141 postdep_objects_CXX=
11144 compiler_lib_search_path_CXX=
11145 compiler_lib_search_dirs_CXX=
11147 # Source file extension for C++ test sources.
11150 # Object file extension for compiled C++ test sources.
11154 # Code to be used in simple compile tests
11155 lt_simple_compile_test_code="int some_variable = 0;"
11157 # Code to be used in simple link tests
11158 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11160 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11162 # If no C compiler was specified, use CC.
11165 # If no C compiler flags were specified, use CFLAGS.
11166 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11168 # Allow CC to be a program name with arguments.
11172 # save warnings/boilerplate of simple test code
11173 ac_outfile=conftest.$ac_objext
11174 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11175 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11176 _lt_compiler_boilerplate=`cat conftest.err
`
11179 ac_outfile=conftest.$ac_objext
11180 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11181 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11182 _lt_linker_boilerplate=`cat conftest.err
`
11186 # Allow CC to be a program name with arguments.
11191 lt_save_with_gnu_ld=$with_gnu_ld
11192 lt_save_path_LD=$lt_cv_path_LD
11193 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11194 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11196 $as_unset lt_cv_prog_gnu_ld
11198 if test -n "${lt_cv_path_LDCXX+set}"; then
11199 lt_cv_path_LD=$lt_cv_path_LDCXX
11201 $as_unset lt_cv_path_LD
11203 test -z "${LDCXX+set}" || LD=$LDCXX
11207 for cc_temp in $compiler""; do
11209 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11210 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11215 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11218 # We don't want -fno-exception wen compiling C++ code, so set the
11219 # no_builtin_flag separately
11220 if test "$GXX" = yes; then
11221 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11223 lt_prog_compiler_no_builtin_flag_CXX=
11226 if test "$GXX" = yes; then
11227 # Set up default GNU C++ configuration
11230 # Check whether --with-gnu-ld was given.
11231 if test "${with_gnu_ld+set}" = set; then
11232 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11238 if test "$GCC" = yes; then
11239 # Check if gcc -print-prog-name=ld gives a path.
11240 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11241 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11244 # gcc leaves a trailing carriage return which upsets mingw
11245 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11247 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11250 # Accept absolute paths.
11252 re_direlt='/[^/][^/]*/\.\./'
11253 # Canonicalize the pathname of ld
11254 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11255 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11256 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11258 test -z "$LD" && LD="$ac_prog"
11261 # If it fails, then pretend we aren't using GCC.
11265 # If it is relative, then search for the first ld in PATH.
11266 with_gnu_ld=unknown
11269 elif test "$with_gnu_ld" = yes; then
11270 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11271 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11273 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11274 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11276 if test "${lt_cv_path_LD+set}" = set; then
11277 echo $ECHO_N "(cached) $ECHO_C" >&6
11279 if test -z "$LD"; then
11280 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11281 for ac_dir in $PATH; do
11283 test -z "$ac_dir" && ac_dir=.
11284 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11285 lt_cv_path_LD="$ac_dir/$ac_prog"
11286 # Check to see if the program is GNU ld. I'd rather use --version,
11287 # but apparently some variants of GNU ld only accept -v.
11288 # Break only if it was the GNU/non-GNU ld that we prefer.
11289 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11290 *GNU* | *'with BFD'*)
11291 test "$with_gnu_ld" != no && break
11294 test "$with_gnu_ld" != yes && break
11301 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11305 LD="$lt_cv_path_LD"
11306 if test -n "$LD"; then
11307 { echo "$as_me:$LINENO: result: $LD" >&5
11308 echo "${ECHO_T}$LD" >&6; }
11310 { echo "$as_me:$LINENO: result: no" >&5
11311 echo "${ECHO_T}no" >&6; }
11313 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11314 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11315 { (exit 1); exit 1; }; }
11316 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11317 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11318 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11319 echo $ECHO_N "(cached) $ECHO_C" >&6
11321 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11322 case `$LD -v 2>&1 </dev
/null
` in
11323 *GNU* | *'with BFD'*)
11324 lt_cv_prog_gnu_ld=yes
11327 lt_cv_prog_gnu_ld=no
11331 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11332 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11333 with_gnu_ld=$lt_cv_prog_gnu_ld
11337 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11338 # archiving commands below assume that GNU ld is being used.
11339 if test "$with_gnu_ld" = yes; then
11340 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11341 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'
11343 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11344 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11346 # If archive_cmds runs LD, not CC, wlarc should be empty
11347 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11348 # investigate it a little bit more. (MM)
11351 # ancient GNU ld didn't support --whole-archive et. al.
11352 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11353 grep 'no-whole-archive' > /dev/null; then
11354 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11356 whole_archive_flag_spec_CXX=
11362 # A generic and very simple default shared library creation
11363 # command for GNU C++ for the case where it uses the native
11364 # linker, instead of GNU ld. If possible, this setting should
11365 # overridden to take advantage of the native linker features on
11366 # the platform it is being used on.
11367 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11370 # Commands to make compiler produce verbose output that lists
11371 # what "hidden" libraries, object files and flags are used when
11372 # linking a shared library.
11373 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11381 # PORTME: fill in a description of your system's C++ link characteristics
11382 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11383 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11387 # FIXME: insert proper C++ library support
11391 if test "$host_cpu" = ia64; then
11392 # On IA64, the linker does run time linking by default, so we don't
11393 # have to do anything special.
11394 aix_use_runtimelinking=no
11395 exp_sym_flag='-Bexport'
11398 aix_use_runtimelinking=no
11400 # Test if we are trying to use run time linking or normal
11401 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11402 # need to do runtime linking.
11403 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11404 for ld_flag in $LDFLAGS; do
11407 aix_use_runtimelinking=yes
11415 exp_sym_flag='-bexport'
11416 no_entry_flag='-bnoentry'
11419 # When large executables or shared objects are built, AIX ld can
11420 # have problems creating the table of contents. If linking a library
11421 # or program results in "error TOC overflow" add -mminimal-toc to
11422 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11423 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11425 archive_cmds_CXX=''
11426 hardcode_direct_CXX=yes
11427 hardcode_libdir_separator_CXX=':'
11428 link_all_deplibs_CXX=yes
11430 if test "$GXX" = yes; then
11431 case $host_os in aix4.[012]|aix4.[012].*)
11432 # We only want to do this on AIX 4.2 and lower, the check
11433 # below for broken collect2 doesn't work under 4.3+
11434 collect2name=`${CC} -print-prog-name=collect2
`
11435 if test -f "$collect2name" && \
11436 strings "$collect2name" | grep resolve_lib_name >/dev/null
11438 # We have reworked collect2
11441 # We have old collect2
11442 hardcode_direct_CXX=unsupported
11443 # It fails to find uninstalled libraries when the uninstalled
11444 # path is not listed in the libpath. Setting hardcode_minus_L
11445 # to unsupported forces relinking
11446 hardcode_minus_L_CXX=yes
11447 hardcode_libdir_flag_spec_CXX='-L$libdir'
11448 hardcode_libdir_separator_CXX=
11452 shared_flag='-shared'
11453 if test "$aix_use_runtimelinking" = yes; then
11454 shared_flag="$shared_flag "'${wl}-G'
11458 if test "$host_cpu" = ia64; then
11459 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11460 # chokes on -Wl,-G. The following line is correct:
11463 if test "$aix_use_runtimelinking" = yes; then
11464 shared_flag='${wl}-G'
11466 shared_flag='${wl}-bM:SRE'
11471 # It seems that -bexpall does not export symbols beginning with
11472 # underscore (_), so it is better to generate a list of symbols to export.
11473 always_export_symbols_CXX=yes
11474 if test "$aix_use_runtimelinking" = yes; then
11475 # Warning - without using the other runtime loading flags (-brtl),
11476 # -berok will link without error, but may produce a broken library.
11477 allow_undefined_flag_CXX='-berok'
11478 # Determine the default libpath from the value encoded in an empty executable.
11479 cat >conftest.$ac_ext <<_ACEOF
11482 cat confdefs.h >>conftest.$ac_ext
11483 cat >>conftest.$ac_ext <<_ACEOF
11484 /* end confdefs.h. */
11494 rm -f conftest.$ac_objext conftest$ac_exeext
11495 if { (ac_try="$ac_link"
11496 case "(($ac_try" in
11497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11498 *) ac_try_echo
=$ac_try;;
11500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11501 (eval "$ac_link") 2>conftest.er1
11503 grep -v '^ *+' conftest.er1
>conftest.err
11505 cat conftest.err
>&5
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); } && {
11508 test -z "$ac_cxx_werror_flag" ||
11509 test ! -s conftest.err
11510 } && test -s conftest
$ac_exeext &&
11511 $as_test_x conftest
$ac_exeext; then
11513 lt_aix_libpath_sed
='
11514 /Import File Strings/,/^$/ {
11520 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11521 # Check for a 64-bit object if we didn't find anything.
11522 if test -z "$aix_libpath"; then
11523 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11526 echo "$as_me: failed program was:" >&5
11527 sed 's/^/| /' conftest.
$ac_ext >&5
11532 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11533 conftest
$ac_exeext conftest.
$ac_ext
11534 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11536 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11538 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11540 if test "$host_cpu" = ia64
; then
11541 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11542 allow_undefined_flag_CXX
="-z nodefs"
11543 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11545 # Determine the default libpath from the value encoded in an empty executable.
11546 cat >conftest.
$ac_ext <<_ACEOF
11549 cat confdefs.h
>>conftest.
$ac_ext
11550 cat >>conftest.
$ac_ext <<_ACEOF
11551 /* end confdefs.h. */
11561 rm -f conftest.
$ac_objext conftest
$ac_exeext
11562 if { (ac_try
="$ac_link"
11563 case "(($ac_try" in
11564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11565 *) ac_try_echo=$ac_try;;
11567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11568 (eval "$ac_link") 2>conftest.er1
11570 grep -v '^ *+' conftest.er1 >conftest.err
11572 cat conftest.err >&5
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); } && {
11575 test -z "$ac_cxx_werror_flag" ||
11576 test ! -s conftest.err
11577 } && test -s conftest$ac_exeext &&
11578 $as_test_x conftest$ac_exeext; then
11580 lt_aix_libpath_sed='
11581 /Import File Strings/,/^$/ {
11587 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11588 # Check for a 64-bit object if we didn't find anything.
11589 if test -z "$aix_libpath"; then
11590 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11593 echo "$as_me: failed program was:" >&5
11594 sed 's/^/| /' conftest.$ac_ext >&5
11599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11600 conftest$ac_exeext conftest.$ac_ext
11601 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11603 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11604 # Warning - without using the other run time loading flags,
11605 # -berok will link without error, but may produce a broken library.
11606 no_undefined_flag_CXX=' ${wl}-bernotok'
11607 allow_undefined_flag_CXX=' ${wl}-berok'
11608 # Exported symbols can be pulled into shared objects from archives
11609 whole_archive_flag_spec_CXX='$convenience'
11610 archive_cmds_need_lc_CXX=yes
11611 # This is similar to how AIX traditionally builds its shared libraries.
11612 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11618 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11619 allow_undefined_flag_CXX=unsupported
11620 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11621 # support --undefined. This deserves some investigation. FIXME
11622 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11629 case $cc_basename in
11631 # FIXME: insert proper C++ library support
11637 cygwin* | mingw* | pw32*)
11638 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11639 # as there is no search path for DLLs.
11640 hardcode_libdir_flag_spec_CXX='-L$libdir'
11641 allow_undefined_flag_CXX=unsupported
11642 always_export_symbols_CXX=no
11643 enable_shared_with_static_runtimes_CXX=yes
11645 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11646 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11647 # If the export-symbols file already is a .def file (1st line
11648 # is EXPORTS), use it as is; otherwise, prepend...
11649 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11650 cp $export_symbols $output_objdir/$soname.def;
11652 echo EXPORTS > $output_objdir/$soname.def;
11653 cat $export_symbols >> $output_objdir/$soname.def;
11655 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11660 darwin* | rhapsody*)
11661 archive_cmds_need_lc_CXX=no
11662 hardcode_direct_CXX=no
11663 hardcode_automatic_CXX=yes
11664 hardcode_shlibpath_var_CXX=unsupported
11665 whole_archive_flag_spec_CXX=''
11666 link_all_deplibs_CXX=yes
11667 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11668 if test "$GXX" = yes ; then
11669 output_verbose_link_cmd='echo'
11670 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11671 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11672 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11673 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11674 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11675 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
11676 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
11679 case $cc_basename in
11681 output_verbose_link_cmd='echo'
11682 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11683 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11684 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11685 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11686 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}'
11696 case $cc_basename in
11698 # FIXME: insert proper C++ library support
11702 # Green Hills C++ Compiler
11703 # FIXME: insert proper C++ library support
11707 # FIXME: insert proper C++ library support
11713 # C++ shared libraries reported to be fairly broken before switch to ELF
11717 archive_cmds_need_lc_CXX=no
11719 freebsd* | dragonfly*)
11720 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11727 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11728 hardcode_libdir_separator_CXX=:
11729 export_dynamic_flag_spec_CXX='${wl}-E'
11730 hardcode_direct_CXX=yes
11731 hardcode_minus_L_CXX=yes # Not in the search PATH,
11732 # but as the default
11733 # location of the library.
11735 case $cc_basename in
11737 # FIXME: insert proper C++ library support
11741 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'
11742 # Commands to make compiler produce verbose output that lists
11743 # what "hidden" libraries, object files and flags are used when
11744 # linking a shared library.
11746 # There doesn't appear to be a way to prevent this compiler from
11747 # explicitly linking system object files so we need to strip them
11748 # from the output so that they don't get included in the library
11750 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'
11753 if test "$GXX" = yes; then
11754 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'
11756 # FIXME: insert proper C++ library support
11763 if test $with_gnu_ld = no; then
11764 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11765 hardcode_libdir_separator_CXX=:
11770 export_dynamic_flag_spec_CXX='${wl}-E'
11776 hardcode_direct_CXX=no
11777 hardcode_shlibpath_var_CXX=no
11780 hardcode_direct_CXX=yes
11781 hardcode_minus_L_CXX=yes # Not in the search PATH,
11782 # but as the default
11783 # location of the library.
11787 case $cc_basename in
11789 # FIXME: insert proper C++ library support
11795 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11798 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11801 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11804 # Commands to make compiler produce verbose output that lists
11805 # what "hidden" libraries, object files and flags are used when
11806 # linking a shared library.
11808 # There doesn't appear to be a way to prevent this compiler from
11809 # explicitly linking system object files so we need to strip them
11810 # from the output so that they don't get included in the library
11812 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'
11815 if test "$GXX" = yes; then
11816 if test $with_gnu_ld = no; then
11819 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11822 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11825 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'
11830 # FIXME: insert proper C++ library support
11837 hardcode_direct_CXX=no
11838 hardcode_shlibpath_var_CXX=no
11839 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11840 export_dynamic_flag_spec_CXX='${wl}-E'
11841 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11842 # Instead, shared libraries are loaded at an image base (0x10000000 by
11843 # default) and relocated if they conflict, which is a slow very memory
11844 # consuming and fragmenting process. To avoid this, we pick a random,
11845 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11846 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11847 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11848 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~
$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \
* 262144 + 1342177280` -o $lib'
11851 case $cc_basename in
11854 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'
11856 # Archives containing C++ object files must be created using
11857 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11858 # necessary to make sure instantiated templates are included
11860 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11863 if test "$GXX" = yes; then
11864 if test "$with_gnu_ld" = no; then
11865 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'
11867 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'
11870 link_all_deplibs_CXX=yes
11873 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11874 hardcode_libdir_separator_CXX=:
11876 linux* | k*bsd*-gnu)
11877 case $cc_basename in
11879 # Kuck and Associates, Inc. (KAI) C++ Compiler
11881 # KCC will only create a shared library if the output file
11882 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11883 # to its proper name (with version) after linking.
11884 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'
11885 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'
11886 # Commands to make compiler produce verbose output that lists
11887 # what "hidden" libraries, object files and flags are used when
11888 # linking a shared library.
11890 # There doesn't appear to be a way to prevent this compiler from
11891 # explicitly linking system object files so we need to strip them
11892 # from the output so that they don't get included in the library
11894 output_verbose_link_cmd
='templist=`$CC $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'
11896 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11897 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11899 # Archives containing C++ object files must be created using
11900 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11901 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11906 # version 8.0 and above of icpc choke on multiply defined symbols
11907 # if we add $predep_objects and $postdep_objects, however 7.1 and
11908 # earlier do not add the objects themselves.
11909 case `$CC -V 2>&1` in
11911 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11912 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'
11914 *) # Version 8.0 or newer
11917 ia64
*) tmp_idyn
=' -i_dynamic';;
11919 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11920 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'
11923 archive_cmds_need_lc_CXX
=no
11924 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11925 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11926 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11929 # Portland Group C++ compiler
11930 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11931 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'
11933 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11934 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11935 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'
11939 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11940 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'
11942 runpath_var
=LD_RUN_PATH
11943 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11944 hardcode_libdir_separator_CXX
=:
11946 # Commands to make compiler produce verbose output that lists
11947 # what "hidden" libraries, object files and flags are used when
11948 # linking a shared library.
11950 # There doesn't appear to be a way to prevent this compiler from
11951 # explicitly linking system object files so we need to strip them
11952 # from the output so that they don't get included in the library
11954 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'
11957 case `$CC -V 2>&1 | sed 5q` in
11960 no_undefined_flag_CXX
=' -zdefs'
11961 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11962 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11963 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11964 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11966 # Not sure whether something based on
11967 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11969 output_verbose_link_cmd
='echo'
11971 # Archives containing C++ object files must be created using
11972 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11973 # necessary to make sure instantiated templates are included
11975 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11982 # FIXME: insert proper C++ library support
11986 # FIXME: insert proper C++ library support
11990 case $cc_basename in
11992 # FIXME: insert proper C++ library support
11996 # FIXME: insert proper C++ library support
12002 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12003 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12005 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12006 hardcode_direct_CXX
=yes
12007 hardcode_shlibpath_var_CXX
=no
12009 # Workaround some broken pre-1.5 toolchains
12010 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12013 # C++ shared libraries are fairly broken
12017 if test -f /usr
/libexec
/ld.so
; then
12018 hardcode_direct_CXX
=yes
12019 hardcode_shlibpath_var_CXX
=no
12020 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12021 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12022 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12023 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12024 export_dynamic_flag_spec_CXX
='${wl}-E'
12025 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12027 output_verbose_link_cmd
='echo'
12033 case $cc_basename in
12035 # Kuck and Associates, Inc. (KAI) C++ Compiler
12037 # KCC will only create a shared library if the output file
12038 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12039 # to its proper name (with version) after linking.
12040 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'
12042 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12043 hardcode_libdir_separator_CXX
=:
12045 # Archives containing C++ object files must be created using
12046 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12047 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12051 # Rational C++ 2.4.1
12052 # FIXME: insert proper C++ library support
12056 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12057 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'
12059 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12060 hardcode_libdir_separator_CXX
=:
12062 # Commands to make compiler produce verbose output that lists
12063 # what "hidden" libraries, object files and flags are used when
12064 # linking a shared library.
12066 # There doesn't appear to be a way to prevent this compiler from
12067 # explicitly linking system object files so we need to strip them
12068 # from the output so that they don't get included in the library
12070 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'
12073 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12074 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12075 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'
12077 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12078 hardcode_libdir_separator_CXX
=:
12080 # Commands to make compiler produce verbose output that lists
12081 # what "hidden" libraries, object files and flags are used when
12082 # linking a shared library.
12083 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12086 # FIXME: insert proper C++ library support
12093 case $cc_basename in
12095 # Kuck and Associates, Inc. (KAI) C++ Compiler
12097 # KCC will only create a shared library if the output file
12098 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12099 # to its proper name (with version) after linking.
12100 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'
12102 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12103 hardcode_libdir_separator_CXX
=:
12105 # Archives containing C++ object files must be created using
12106 # the KAI C++ compiler.
12107 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12110 # Rational C++ 2.4.1
12111 # FIXME: insert proper C++ library support
12115 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12116 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'
12117 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12118 echo "-hidden">> $lib.exp~
12119 $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~
12122 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12123 hardcode_libdir_separator_CXX
=:
12125 # Commands to make compiler produce verbose output that lists
12126 # what "hidden" libraries, object files and flags are used when
12127 # linking a shared library.
12129 # There doesn't appear to be a way to prevent this compiler from
12130 # explicitly linking system object files so we need to strip them
12131 # from the output so that they don't get included in the library
12133 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'
12136 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12137 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12138 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'
12140 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12141 hardcode_libdir_separator_CXX
=:
12143 # Commands to make compiler produce verbose output that lists
12144 # what "hidden" libraries, object files and flags are used when
12145 # linking a shared library.
12146 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12149 # FIXME: insert proper C++ library support
12156 # FIXME: insert proper C++ library support
12160 case $cc_basename in
12163 # FIXME: insert proper C++ library support
12168 # FIXME: insert proper C++ library support
12172 # FIXME: insert proper C++ library support
12178 case $cc_basename in
12180 # Sun C++ 4.2, 5.x and Centerline C++
12181 archive_cmds_need_lc_CXX
=yes
12182 no_undefined_flag_CXX
=' -zdefs'
12183 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12184 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12185 $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'
12187 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12188 hardcode_shlibpath_var_CXX
=no
12190 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12192 # The compiler driver will combine and reorder linker options,
12193 # but understands `-z linker_flag'.
12194 # Supported since Solaris 2.6 (maybe 2.5.1?)
12195 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12198 link_all_deplibs_CXX
=yes
12200 output_verbose_link_cmd
='echo'
12202 # Archives containing C++ object files must be created using
12203 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12204 # necessary to make sure instantiated templates are included
12206 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12209 # Green Hills C++ Compiler
12210 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12212 # The C++ compiler must be used to create the archive.
12213 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12216 # GNU C++ compiler with Solaris linker
12217 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12218 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12219 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12220 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12221 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12222 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12224 # Commands to make compiler produce verbose output that lists
12225 # what "hidden" libraries, object files and flags are used when
12226 # linking a shared library.
12227 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12229 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12231 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12232 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12233 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12235 # Commands to make compiler produce verbose output that lists
12236 # what "hidden" libraries, object files and flags are used when
12237 # linking a shared library.
12238 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12241 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12243 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12245 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12252 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12253 no_undefined_flag_CXX
='${wl}-z,text'
12254 archive_cmds_need_lc_CXX
=no
12255 hardcode_shlibpath_var_CXX
=no
12256 runpath_var
='LD_RUN_PATH'
12258 case $cc_basename in
12260 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12261 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12264 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12265 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12269 sysv5
* | sco3.2v5
* | sco5v6
*)
12270 # Note: We can NOT use -z defs as we might desire, because we do not
12271 # link with -lc, and that would cause any symbols used from libc to
12272 # always be unresolved, which means just about no library would
12273 # ever link correctly. If we're not using GNU ld we use -z text
12274 # though, which does catch some bad symbols but isn't as heavy-handed
12276 # For security reasons, it is highly recommended that you always
12277 # use absolute paths for naming shared libraries, and exclude the
12278 # DT_RUNPATH tag from executables and libraries. But doing so
12279 # requires that you compile everything twice, which is a pain.
12280 # So that behaviour is only enabled if SCOABSPATH is set to a
12281 # non-empty value in the environment. Most likely only useful for
12282 # creating official distributions of packages.
12283 # This is a hack until libtool officially supports absolute path
12284 # names for shared libraries.
12285 no_undefined_flag_CXX
='${wl}-z,text'
12286 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12287 archive_cmds_need_lc_CXX
=no
12288 hardcode_shlibpath_var_CXX
=no
12289 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12290 hardcode_libdir_separator_CXX
=':'
12291 link_all_deplibs_CXX
=yes
12292 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12293 runpath_var
='LD_RUN_PATH'
12295 case $cc_basename in
12297 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12298 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12301 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12302 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12307 case $cc_basename in
12309 # NonStop-UX NCC 3.20
12310 # FIXME: insert proper C++ library support
12314 # FIXME: insert proper C++ library support
12320 # FIXME: insert proper C++ library support
12324 # FIXME: insert proper C++ library support
12328 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12329 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12330 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12335 cat > conftest.
$ac_ext <<EOF
12339 Foo (void) { a = 0; }
12345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12346 (eval $ac_compile) 2>&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); }; then
12350 # Parse the compiler output and extract the necessary
12351 # objects, libraries and library flags.
12353 # Sentinel used to keep track of whether or not we are before
12354 # the conftest object file.
12355 pre_test_object_deps_done
=no
12357 # The `*' in the case matches for architectures that use `case' in
12358 # $output_verbose_cmd can trigger glob expansion during the loop
12359 # eval without this substitution.
12360 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12362 for p
in `eval $output_verbose_link_cmd`; do
12366 # Some compilers place space between "-{L,R}" and the path.
12367 # Remove the space.
12368 if test $p = "-L" \
12369 ||
test $p = "-R"; then
12376 if test "$pre_test_object_deps_done" = no
; then
12379 # Internal compiler library paths should come after those
12380 # provided the user. The postdeps already come after the
12381 # user supplied libs so there is no need to process them.
12382 if test -z "$compiler_lib_search_path_CXX"; then
12383 compiler_lib_search_path_CXX
="${prev}${p}"
12385 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12388 # The "-l" case would never come before the object being
12389 # linked, so don't bother handling this case.
12392 if test -z "$postdeps_CXX"; then
12393 postdeps_CXX
="${prev}${p}"
12395 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12401 # This assumes that the test object file only shows up
12402 # once in the compiler output.
12403 if test "$p" = "conftest.$objext"; then
12404 pre_test_object_deps_done
=yes
12408 if test "$pre_test_object_deps_done" = no
; then
12409 if test -z "$predep_objects_CXX"; then
12410 predep_objects_CXX
="$p"
12412 predep_objects_CXX
="$predep_objects_CXX $p"
12415 if test -z "$postdep_objects_CXX"; then
12416 postdep_objects_CXX
="$p"
12418 postdep_objects_CXX
="$postdep_objects_CXX $p"
12423 *) ;; # Ignore the rest.
12431 echo "libtool.m4: error: problem compiling CXX test program"
12434 $rm -f confest.
$objext
12436 compiler_lib_search_dirs_CXX
=
12437 if test -n "$compiler_lib_search_path_CXX"; then
12438 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12441 # PORTME: override above test on systems where it is broken
12444 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12445 # hack all around it, let's just trust "g++" to DTRT.
12446 predep_objects_CXX
=
12447 postdep_objects_CXX
=
12452 case `$CC -V 2>&1 | sed 5q` in
12456 # The more standards-conforming stlport4 library is
12457 # incompatible with the Cstd library. Avoid specifying
12458 # it if it's in CXXFLAGS. Ignore libCrun as
12459 # -library=stlport4 depends on it.
12460 case " $CXX $CXXFLAGS " in
12461 *" -library=stlport4 "*)
12462 solaris_use_stlport4
=yes
12465 if test "$solaris_use_stlport4" != yes; then
12466 postdeps_CXX
='-library=Cstd -library=Crun'
12473 case $cc_basename in
12475 # The more standards-conforming stlport4 library is
12476 # incompatible with the Cstd library. Avoid specifying
12477 # it if it's in CXXFLAGS. Ignore libCrun as
12478 # -library=stlport4 depends on it.
12479 case " $CXX $CXXFLAGS " in
12480 *" -library=stlport4 "*)
12481 solaris_use_stlport4
=yes
12485 # Adding this requires a known-good setup of shared libraries for
12486 # Sun compiler versions before 5.6, else PIC objects from an old
12487 # archive will be linked into the output, leading to subtle bugs.
12488 if test "$solaris_use_stlport4" != yes; then
12489 postdeps_CXX
='-library=Cstd -library=Crun'
12496 case " $postdeps_CXX " in
12497 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12500 lt_prog_compiler_wl_CXX
=
12501 lt_prog_compiler_pic_CXX
=
12502 lt_prog_compiler_static_CXX
=
12504 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12505 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12507 # C++ specific cases for pic, static, wl, etc.
12508 if test "$GXX" = yes; then
12509 lt_prog_compiler_wl_CXX
='-Wl,'
12510 lt_prog_compiler_static_CXX
='-static'
12514 # All AIX code is PIC.
12515 if test "$host_cpu" = ia64
; then
12516 # AIX 5 now supports IA64 processor
12517 lt_prog_compiler_static_CXX
='-Bstatic'
12521 # FIXME: we need at least 68020 code to build shared libraries, but
12522 # adding the `-m68020' flag to GCC prevents building anything better,
12524 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12526 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12527 # PIC is the default for these OSes.
12529 mingw
* | cygwin
* | os2
* | pw32
*)
12530 # This hack is so that the source file can tell whether it is being
12531 # built for inclusion in a dll (and should export symbols for example).
12532 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12533 # (--disable-auto-import) libraries
12534 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12536 darwin
* | rhapsody
*)
12537 # PIC is the default on this platform
12538 # Common symbols not allowed in MH_DYLIB files
12539 lt_prog_compiler_pic_CXX
='-fno-common'
12542 # DJGPP does not support shared libraries at all
12543 lt_prog_compiler_pic_CXX
=
12546 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12547 # Instead, we relocate shared libraries at runtime.
12550 if test -d /usr
/nec
; then
12551 lt_prog_compiler_pic_CXX
=-Kconform_pic
12555 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12556 # not for PA HP-UX.
12561 lt_prog_compiler_pic_CXX
='-fPIC'
12566 lt_prog_compiler_pic_CXX
='-fPIC'
12572 # All AIX code is PIC.
12573 if test "$host_cpu" = ia64
; then
12574 # AIX 5 now supports IA64 processor
12575 lt_prog_compiler_static_CXX
='-Bstatic'
12577 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12581 case $cc_basename in
12583 # Green Hills C++ Compiler
12584 # _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"
12589 # PIC is the default on this platform
12590 # Common symbols not allowed in MH_DYLIB files
12591 case $cc_basename in
12593 lt_prog_compiler_pic_CXX
='-qnocommon'
12594 lt_prog_compiler_wl_CXX
='-Wl,'
12599 case $cc_basename in
12601 lt_prog_compiler_pic_CXX
='-KPIC'
12604 # Green Hills C++ Compiler
12605 lt_prog_compiler_pic_CXX
='-pic'
12611 freebsd
* | dragonfly
*)
12612 # FreeBSD uses GNU C++
12614 hpux9
* | hpux10
* | hpux11
*)
12615 case $cc_basename in
12617 lt_prog_compiler_wl_CXX
='-Wl,'
12618 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12619 if test "$host_cpu" != ia64
; then
12620 lt_prog_compiler_pic_CXX
='+Z'
12624 lt_prog_compiler_wl_CXX
='-Wl,'
12625 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12631 lt_prog_compiler_pic_CXX
='+Z'
12640 # This is c89, which is MS Visual C++ (no shared libs)
12641 # Anyone wants to do a port?
12643 irix5
* | irix6
* | nonstopux
*)
12644 case $cc_basename in
12646 lt_prog_compiler_wl_CXX
='-Wl,'
12647 lt_prog_compiler_static_CXX
='-non_shared'
12648 # CC pic flag -KPIC is the default.
12654 linux
* | k
*bsd
*-gnu)
12655 case $cc_basename in
12658 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12659 lt_prog_compiler_pic_CXX
='-fPIC'
12663 lt_prog_compiler_wl_CXX
='-Wl,'
12664 lt_prog_compiler_pic_CXX
='-KPIC'
12665 lt_prog_compiler_static_CXX
='-static'
12668 # Portland Group C++ compiler.
12669 lt_prog_compiler_wl_CXX
='-Wl,'
12670 lt_prog_compiler_pic_CXX
='-fpic'
12671 lt_prog_compiler_static_CXX
='-Bstatic'
12675 # Make sure the PIC flag is empty. It appears that all Alpha
12676 # Linux and Compaq Tru64 Unix objects are PIC.
12677 lt_prog_compiler_pic_CXX
=
12678 lt_prog_compiler_static_CXX
='-non_shared'
12681 case `$CC -V 2>&1 | sed 5q` in
12684 lt_prog_compiler_pic_CXX
='-KPIC'
12685 lt_prog_compiler_static_CXX
='-Bstatic'
12686 lt_prog_compiler_wl_CXX
='-Qoption ld '
12697 case $cc_basename in
12699 lt_prog_compiler_pic_CXX
='-W c,exportall'
12707 osf3
* | osf4
* | osf5
*)
12708 case $cc_basename in
12710 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12713 # Rational C++ 2.4.1
12714 lt_prog_compiler_pic_CXX
='-pic'
12717 # Digital/Compaq C++
12718 lt_prog_compiler_wl_CXX
='-Wl,'
12719 # Make sure the PIC flag is empty. It appears that all Alpha
12720 # Linux and Compaq Tru64 Unix objects are PIC.
12721 lt_prog_compiler_pic_CXX
=
12722 lt_prog_compiler_static_CXX
='-non_shared'
12731 case $cc_basename in
12733 # Sun C++ 4.2, 5.x and Centerline C++
12734 lt_prog_compiler_pic_CXX
='-KPIC'
12735 lt_prog_compiler_static_CXX
='-Bstatic'
12736 lt_prog_compiler_wl_CXX
='-Qoption ld '
12739 # Green Hills C++ Compiler
12740 lt_prog_compiler_pic_CXX
='-PIC'
12747 case $cc_basename in
12750 lt_prog_compiler_pic_CXX
='-pic'
12751 lt_prog_compiler_static_CXX
='-Bstatic'
12755 lt_prog_compiler_pic_CXX
='-pic'
12762 case $cc_basename in
12764 # NonStop-UX NCC 3.20
12765 lt_prog_compiler_pic_CXX
='-KPIC'
12771 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12772 case $cc_basename in
12774 lt_prog_compiler_wl_CXX
='-Wl,'
12775 lt_prog_compiler_pic_CXX
='-KPIC'
12776 lt_prog_compiler_static_CXX
='-Bstatic'
12783 lt_prog_compiler_can_build_shared_CXX
=no
12788 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12789 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12792 # Check to make sure the PIC flag actually works.
12794 if test -n "$lt_prog_compiler_pic_CXX"; then
12796 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12797 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12798 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12799 echo $ECHO_N "(cached) $ECHO_C" >&6
12801 lt_cv_prog_compiler_pic_works_CXX
=no
12802 ac_outfile
=conftest.
$ac_objext
12803 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12804 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12805 # Insert the option either (1) after the last *FLAGS variable, or
12806 # (2) before a word containing "conftest.", or (3) at the end.
12807 # Note that $ac_compile itself does not contain backslashes and begins
12808 # with a dollar sign (not a hyphen), so the echo should work correctly.
12809 # The option is referenced via a variable to avoid confusing sed.
12810 lt_compile
=`echo "$ac_compile" | $SED \
12811 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12812 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12813 -e 's:$: $lt_compiler_flag:'`
12814 (eval echo "\"\$as_me:12814: $lt_compile\"" >&5)
12815 (eval "$lt_compile" 2>conftest.err
)
12817 cat conftest.err
>&5
12818 echo "$as_me:12818: \$? = $ac_status" >&5
12819 if (exit $ac_status) && test -s "$ac_outfile"; then
12820 # The compiler can only warn and ignore the option if not recognized
12821 # So say no if there are warnings other than the usual output.
12822 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12823 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12824 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12825 lt_cv_prog_compiler_pic_works_CXX
=yes
12831 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12832 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12834 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12835 case $lt_prog_compiler_pic_CXX in
12837 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12840 lt_prog_compiler_pic_CXX
=
12841 lt_prog_compiler_can_build_shared_CXX
=no
12846 # For platforms which do not support PIC, -DPIC is meaningless:
12848 lt_prog_compiler_pic_CXX
=
12851 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12856 # Check to make sure the static flag actually works.
12858 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12859 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12860 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12861 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12862 echo $ECHO_N "(cached) $ECHO_C" >&6
12864 lt_cv_prog_compiler_static_works_CXX
=no
12865 save_LDFLAGS
="$LDFLAGS"
12866 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12867 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12868 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12869 # The linker can only warn and ignore the option if not recognized
12870 # So say no if there are warnings
12871 if test -s conftest.err
; then
12872 # Append any errors to the config.log.
12873 cat conftest.err
1>&5
12874 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12875 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12876 if diff conftest.exp conftest.er2
>/dev
/null
; then
12877 lt_cv_prog_compiler_static_works_CXX
=yes
12880 lt_cv_prog_compiler_static_works_CXX
=yes
12884 LDFLAGS
="$save_LDFLAGS"
12887 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12888 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12890 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12893 lt_prog_compiler_static_CXX
=
12897 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12898 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12899 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12900 echo $ECHO_N "(cached) $ECHO_C" >&6
12902 lt_cv_prog_compiler_c_o_CXX
=no
12903 $rm -r conftest
2>/dev
/null
12907 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12909 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12910 # Insert the option either (1) after the last *FLAGS variable, or
12911 # (2) before a word containing "conftest.", or (3) at the end.
12912 # Note that $ac_compile itself does not contain backslashes and begins
12913 # with a dollar sign (not a hyphen), so the echo should work correctly.
12914 lt_compile
=`echo "$ac_compile" | $SED \
12915 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12916 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12917 -e 's:$: $lt_compiler_flag:'`
12918 (eval echo "\"\$as_me:12918: $lt_compile\"" >&5)
12919 (eval "$lt_compile" 2>out
/conftest.err
)
12921 cat out
/conftest.err
>&5
12922 echo "$as_me:12922: \$? = $ac_status" >&5
12923 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12925 # The compiler can only warn and ignore the option if not recognized
12926 # So say no if there are warnings
12927 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12928 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12929 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12930 lt_cv_prog_compiler_c_o_CXX
=yes
12935 # SGI C++ compiler will create directory out/ii_files/ for
12936 # template instantiation
12937 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12938 $rm out
/* && rmdir out
12944 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12945 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12948 hard_links
="nottested"
12949 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12950 # do not overwrite the value of need_locks provided by the user
12951 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12952 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12955 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12957 ln conftest.a conftest.b
2>&5 || hard_links
=no
12958 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12959 { echo "$as_me:$LINENO: result: $hard_links" >&5
12960 echo "${ECHO_T}$hard_links" >&6; }
12961 if test "$hard_links" = no
; then
12962 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12963 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12970 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12971 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12973 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12976 # If we're using GNU nm, then we don't want the "-C" option.
12977 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12978 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12979 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'
12981 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'
12985 export_symbols_cmds_CXX
="$ltdll_cmds"
12988 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'
12991 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12994 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12996 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12997 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12998 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13001 # Do we need to explicitly link libc?
13003 case "x$archive_cmds_need_lc_CXX" in
13005 # Assume -lc should be added
13006 archive_cmds_need_lc_CXX
=yes
13008 if test "$enable_shared" = yes && test "$GCC" = yes; then
13009 case $archive_cmds_CXX in
13011 # FIXME: we may have to deal with multi-command sequences.
13014 # Test whether the compiler implicitly links with -lc since on some
13015 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13016 # to ld, don't add -lc before -lgcc.
13017 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13018 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13020 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13023 (eval $ac_compile) 2>&5
13025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13026 (exit $ac_status); } 2>conftest.err
; then
13029 libobjs
=conftest.
$ac_objext
13031 wl
=$lt_prog_compiler_wl_CXX
13032 pic_flag
=$lt_prog_compiler_pic_CXX
13038 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13039 allow_undefined_flag_CXX
=
13040 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13041 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); }
13046 archive_cmds_need_lc_CXX
=no
13048 archive_cmds_need_lc_CXX
=yes
13050 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13052 cat conftest.err
1>&5
13055 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13056 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13063 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13064 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13065 library_names_spec
=
13066 libname_spec
='lib$name'
13070 postuninstall_cmds
=
13074 shlibpath_overrides_runpath
=unknown
13076 dynamic_linker
="$host_os ld.so"
13077 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13079 need_lib_prefix
=unknown
13080 hardcode_into_libs
=no
13082 # when you set need_version to no, make sure it does not cause -set_version
13083 # flags to be left without arguments
13084 need_version
=unknown
13089 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13090 shlibpath_var
=LIBPATH
13092 # AIX 3 has no versioning support, so we append a major version to the name.
13093 soname_spec
='${libname}${release}${shared_ext}$major'
13100 hardcode_into_libs
=yes
13101 if test "$host_cpu" = ia64
; then
13102 # AIX 5 supports IA64
13103 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13104 shlibpath_var
=LD_LIBRARY_PATH
13106 # With GCC up to 2.95.x, collect2 would create an import file
13107 # for dependence libraries. The import file would start with
13108 # the line `#! .'. This would cause the generated library to
13109 # depend on `.', always an invalid library. This was fixed in
13110 # development snapshots of GCC prior to 3.0.
13112 aix4 | aix4.
[01] | aix4.
[01].
*)
13113 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13115 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13118 can_build_shared
=no
13122 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13123 # soname into executable. Probably we can add versioning support to
13124 # collect2, so additional links can be useful in future.
13125 if test "$aix_use_runtimelinking" = yes; then
13126 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13127 # instead of lib<name>.a to let people know that these are not
13128 # typical AIX shared libraries.
13129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13131 # We preserve .a as extension for shared libraries through AIX4.2
13132 # and later when we are not doing run time linking.
13133 library_names_spec
='${libname}${release}.a $libname.a'
13134 soname_spec
='${libname}${release}${shared_ext}$major'
13136 shlibpath_var
=LIBPATH
13141 library_names_spec
='$libname.ixlibrary $libname.a'
13142 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13143 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'
13147 library_names_spec
='${libname}${shared_ext}'
13148 dynamic_linker
="$host_os ld.so"
13149 shlibpath_var
=LIBRARY_PATH
13155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13156 soname_spec
='${libname}${release}${shared_ext}$major'
13157 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13158 shlibpath_var
=LD_LIBRARY_PATH
13159 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13160 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13161 # the default ld.so.conf also contains /usr/contrib/lib and
13162 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13163 # libtool to hard-code these into programs
13166 cygwin
* | mingw
* | pw32
*)
13167 version_type
=windows
13172 case $GCC,$host_os in
13173 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13174 library_names_spec
='$libname.dll.a'
13175 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13176 postinstall_cmds
='base_file=`basename \${file}`~
13177 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13178 dldir=$destdir/`dirname \$dlpath`~
13179 test -d \$dldir || mkdir -p \$dldir~
13180 $install_prog $dir/$dlname \$dldir/$dlname~
13181 chmod a+x \$dldir/$dlname'
13182 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13183 dlpath=$dir/\$dldll~
13185 shlibpath_overrides_runpath
=yes
13189 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13190 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13191 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13194 # MinGW DLLs use traditional 'lib' prefix
13195 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13196 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13197 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13198 # It is most probably a Windows format PATH printed by
13199 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13200 # path with ; separators, and with drive letters. We can handle the
13201 # drive letters (cygwin fileutils understands them), so leave them,
13202 # especially as we might pass files found there to a mingw objdump,
13203 # which wouldn't understand a cygwinified path. Ahh.
13204 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13206 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13210 # pw32 DLLs use 'pw' prefix rather than 'lib'
13211 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13217 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13220 dynamic_linker
='Win32 ld.exe'
13221 # FIXME: first we should search . and the directory the executable is in
13225 darwin
* | rhapsody
*)
13226 dynamic_linker
="$host_os dyld"
13227 version_type
=darwin
13230 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13231 soname_spec
='${libname}${release}${major}$shared_ext'
13232 shlibpath_overrides_runpath
=yes
13233 shlibpath_var
=DYLD_LIBRARY_PATH
13234 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13236 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13244 soname_spec
='${libname}${release}${shared_ext}$major'
13245 shlibpath_var
=LD_LIBRARY_PATH
13252 freebsd
* | dragonfly
*)
13253 # DragonFly does not have aout. When/if they implement a new
13254 # versioning mechanism, adjust this.
13255 if test -x /usr
/bin
/objformat
; then
13256 objformat
=`/usr/bin/objformat`
13259 freebsd
[123]*) objformat
=aout
;;
13260 *) objformat
=elf
;;
13263 version_type
=freebsd-
$objformat
13264 case $version_type in
13266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13271 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13275 shlibpath_var
=LD_LIBRARY_PATH
13278 shlibpath_overrides_runpath
=yes
13280 freebsd3.
[01]* | freebsdelf3.
[01]*)
13281 shlibpath_overrides_runpath
=yes
13282 hardcode_into_libs
=yes
13284 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13285 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13286 shlibpath_overrides_runpath
=no
13287 hardcode_into_libs
=yes
13289 *) # from 4.6 on, and DragonFly
13290 shlibpath_overrides_runpath
=yes
13291 hardcode_into_libs
=yes
13300 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13301 soname_spec
='${libname}${release}${shared_ext}$major'
13302 shlibpath_var
=LD_LIBRARY_PATH
13303 hardcode_into_libs
=yes
13306 hpux9
* | hpux10
* | hpux11
*)
13307 # Give a soname corresponding to the major version so that dld.sl refuses to
13308 # link against other versions.
13315 hardcode_into_libs
=yes
13316 dynamic_linker
="$host_os dld.so"
13317 shlibpath_var
=LD_LIBRARY_PATH
13318 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13320 soname_spec
='${libname}${release}${shared_ext}$major'
13321 if test "X$HPUX_IA64_MODE" = X32
; then
13322 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13324 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13326 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13330 hardcode_into_libs
=yes
13331 dynamic_linker
="$host_os dld.sl"
13332 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13333 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13335 soname_spec
='${libname}${release}${shared_ext}$major'
13336 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13337 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13341 dynamic_linker
="$host_os dld.sl"
13342 shlibpath_var
=SHLIB_PATH
13343 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13345 soname_spec
='${libname}${release}${shared_ext}$major'
13348 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13349 postinstall_cmds
='chmod 555 $lib'
13356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13357 soname_spec
='${libname}${release}${shared_ext}$major'
13358 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13359 shlibpath_var
=LD_LIBRARY_PATH
13360 shlibpath_overrides_runpath
=no
13361 hardcode_into_libs
=yes
13364 irix5
* | irix6
* | nonstopux
*)
13366 nonstopux
*) version_type
=nonstopux
;;
13368 if test "$lt_cv_prog_gnu_ld" = yes; then
13376 soname_spec
='${libname}${release}${shared_ext}$major'
13377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13379 irix5
* | nonstopux
*)
13380 libsuff
= shlibsuff
=
13383 case $LD in # libtool.m4 will add one of these switches to LD
13384 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13385 libsuff
= shlibsuff
= libmagic
=32-bit;;
13386 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13387 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13388 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13389 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13390 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13394 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13395 shlibpath_overrides_runpath
=no
13396 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13397 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13398 hardcode_into_libs
=yes
13401 # No shared lib support for Linux oldld, aout, or coff.
13402 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13406 # This must be Linux ELF.
13407 linux
* | k
*bsd
*-gnu)
13411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13412 soname_spec
='${libname}${release}${shared_ext}$major'
13413 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13414 shlibpath_var
=LD_LIBRARY_PATH
13415 shlibpath_overrides_runpath
=no
13416 # This implies no fast_install, which is unacceptable.
13417 # Some rework will be needed to allow for fast_install
13418 # before this can be enabled.
13419 hardcode_into_libs
=yes
13421 # Append ld.so.conf contents to the search path
13422 if test -f /etc
/ld.so.conf
; then
13423 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13424 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13427 # We used to test for /lib/ld.so.1 and disable shared libraries on
13428 # powerpc, because MkLinux only supported shared libraries with the
13429 # GNU dynamic linker. Since this was broken with cross compilers,
13430 # most powerpc-linux boxes support dynamic linking these days and
13431 # people can always --disable-shared, the test was removed, and we
13432 # assume the GNU/Linux dynamic linker is in use.
13433 dynamic_linker
='GNU/Linux ld.so'
13440 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13442 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13443 dynamic_linker
='NetBSD (a.out) ld.so'
13445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13446 soname_spec
='${libname}${release}${shared_ext}$major'
13447 dynamic_linker
='NetBSD ld.elf_so'
13449 shlibpath_var
=LD_LIBRARY_PATH
13450 shlibpath_overrides_runpath
=yes
13451 hardcode_into_libs
=yes
13456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13457 shlibpath_var
=LD_LIBRARY_PATH
13458 shlibpath_overrides_runpath
=yes
13465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13466 soname_spec
='${libname}${release}${shared_ext}$major'
13467 shlibpath_var
=LD_LIBRARY_PATH
13468 shlibpath_overrides_runpath
=yes
13473 sys_lib_dlsearch_path_spec
="/usr/lib"
13475 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13477 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13478 *) need_version
=no
;;
13480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13481 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13482 shlibpath_var
=LD_LIBRARY_PATH
13483 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13485 openbsd2.
[89] | openbsd2.
[89].
*)
13486 shlibpath_overrides_runpath
=no
13489 shlibpath_overrides_runpath
=yes
13493 shlibpath_overrides_runpath
=yes
13498 libname_spec
='$name'
13501 library_names_spec
='$libname${shared_ext} $libname.a'
13502 dynamic_linker
='OS/2 ld.exe'
13503 shlibpath_var
=LIBPATH
13506 osf3
* | osf4
* | osf5
*)
13510 soname_spec
='${libname}${release}${shared_ext}$major'
13511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13512 shlibpath_var
=LD_LIBRARY_PATH
13513 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13514 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13525 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13526 soname_spec
='${libname}${release}${shared_ext}$major'
13527 shlibpath_var
=LD_LIBRARY_PATH
13528 shlibpath_overrides_runpath
=yes
13529 hardcode_into_libs
=yes
13530 # ldd complains unless libraries are executable
13531 postinstall_cmds
='chmod +x $lib'
13536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13537 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13538 shlibpath_var
=LD_LIBRARY_PATH
13539 shlibpath_overrides_runpath
=yes
13540 if test "$with_gnu_ld" = yes; then
13548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13549 soname_spec
='${libname}${release}${shared_ext}$major'
13550 shlibpath_var
=LD_LIBRARY_PATH
13551 case $host_vendor in
13553 shlibpath_overrides_runpath
=no
13555 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13556 runpath_var
=LD_RUN_PATH
13564 shlibpath_overrides_runpath
=no
13565 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13571 if test -d /usr
/nec
;then
13573 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13574 soname_spec
='$libname${shared_ext}.$major'
13575 shlibpath_var
=LD_LIBRARY_PATH
13579 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13580 version_type
=freebsd-elf
13583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13584 soname_spec
='${libname}${release}${shared_ext}$major'
13585 shlibpath_var
=LD_LIBRARY_PATH
13586 hardcode_into_libs
=yes
13587 if test "$with_gnu_ld" = yes; then
13588 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13589 shlibpath_overrides_runpath
=no
13591 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13592 shlibpath_overrides_runpath
=yes
13595 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13599 sys_lib_dlsearch_path_spec
='/usr/lib'
13604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13605 soname_spec
='${libname}${release}${shared_ext}$major'
13606 shlibpath_var
=LD_LIBRARY_PATH
13613 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13614 echo "${ECHO_T}$dynamic_linker" >&6; }
13615 test "$dynamic_linker" = no
&& can_build_shared
=no
13617 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13620 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
13623 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13624 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13625 echo $ECHO_N "(cached) $ECHO_C" >&6
13627 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
13630 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13632 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13633 if test "$GCC" = yes; then
13634 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13637 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13638 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13639 hardcode_action_CXX
=
13640 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13641 test -n "$runpath_var_CXX" || \
13642 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13644 # We can hardcode non-existant directories.
13645 if test "$hardcode_direct_CXX" != no
&&
13646 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13647 # have to relink, otherwise we might link with an installed library
13648 # when we should be linking with a yet-to-be-installed one
13649 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13650 test "$hardcode_minus_L_CXX" != no
; then
13651 # Linking always hardcodes the temporary library directory.
13652 hardcode_action_CXX
=relink
13654 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13655 hardcode_action_CXX
=immediate
13658 # We cannot hardcode anything, or else we can only hardcode existing
13660 hardcode_action_CXX
=unsupported
13662 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13663 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13665 if test "$hardcode_action_CXX" = relink
; then
13666 # Fast installation is not supported
13667 enable_fast_install
=no
13668 elif test "$shlibpath_overrides_runpath" = yes ||
13669 test "$enable_shared" = no
; then
13670 # Fast installation is not necessary
13671 enable_fast_install
=needless
13675 # The else clause should only fire when bootstrapping the
13676 # libtool distribution, otherwise you forgot to ship ltmain.sh
13677 # with your package, and you will get complaints that there are
13678 # no rules to generate ltmain.sh.
13679 if test -f "$ltmain"; then
13680 # See if we are running on zsh, and set the options which allow our commands through
13681 # without removal of \ escapes.
13682 if test -n "${ZSH_VERSION+set}" ; then
13683 setopt NO_GLOB_SUBST
13685 # Now quote all the things that may contain metacharacters while being
13686 # careful not to overquote the AC_SUBSTed values. We take copies of the
13687 # variables and quote the copies for generation of the libtool script.
13688 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13690 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13691 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13692 deplibs_check_method reload_flag reload_cmds need_locks \
13693 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13694 lt_cv_sys_global_symbol_to_c_name_address \
13695 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13696 old_postinstall_cmds old_postuninstall_cmds \
13700 lt_prog_compiler_wl_CXX \
13701 lt_prog_compiler_pic_CXX \
13702 lt_prog_compiler_static_CXX \
13703 lt_prog_compiler_no_builtin_flag_CXX \
13704 export_dynamic_flag_spec_CXX \
13705 thread_safe_flag_spec_CXX \
13706 whole_archive_flag_spec_CXX \
13707 enable_shared_with_static_runtimes_CXX \
13708 old_archive_cmds_CXX \
13709 old_archive_from_new_cmds_CXX \
13710 predep_objects_CXX \
13711 postdep_objects_CXX \
13714 compiler_lib_search_path_CXX \
13715 compiler_lib_search_dirs_CXX \
13717 archive_expsym_cmds_CXX \
13718 postinstall_cmds_CXX \
13719 postuninstall_cmds_CXX \
13720 old_archive_from_expsyms_cmds_CXX \
13721 allow_undefined_flag_CXX \
13722 no_undefined_flag_CXX \
13723 export_symbols_cmds_CXX \
13724 hardcode_libdir_flag_spec_CXX \
13725 hardcode_libdir_flag_spec_ld_CXX \
13726 hardcode_libdir_separator_CXX \
13727 hardcode_automatic_CXX \
13729 module_expsym_cmds_CXX \
13730 lt_cv_prog_compiler_c_o_CXX \
13731 fix_srcfile_path_CXX \
13732 exclude_expsyms_CXX \
13733 include_expsyms_CXX
; do
13736 old_archive_cmds_CXX | \
13737 old_archive_from_new_cmds_CXX | \
13738 archive_cmds_CXX | \
13739 archive_expsym_cmds_CXX | \
13740 module_cmds_CXX | \
13741 module_expsym_cmds_CXX | \
13742 old_archive_from_expsyms_cmds_CXX | \
13743 export_symbols_cmds_CXX | \
13744 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13745 postinstall_cmds | postuninstall_cmds | \
13746 old_postinstall_cmds | old_postuninstall_cmds | \
13747 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13748 # Double-quote double-evaled strings.
13749 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13752 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13758 *'\$0 --fallback-echo"')
13759 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13765 cat <<__EOF__ >> "$cfgfile"
13766 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13768 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13770 # Shell to use when invoking shell scripts.
13773 # Whether or not to build shared libraries.
13774 build_libtool_libs=$enable_shared
13776 # Whether or not to build static libraries.
13777 build_old_libs=$enable_static
13779 # Whether or not to add -lc for building shared libraries.
13780 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13782 # Whether or not to disallow shared libs when runtime libs are static
13783 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13785 # Whether or not to optimize for fast installation.
13786 fast_install=$enable_fast_install
13789 host_alias=$host_alias
13793 # The build system.
13794 build_alias=$build_alias
13798 # An echo program that does not interpret backslashes.
13803 AR_FLAGS=$lt_AR_FLAGS
13808 # LTCC compiler flags.
13809 LTCFLAGS=$lt_LTCFLAGS
13811 # A language-specific compiler.
13812 CC=$lt_compiler_CXX
13814 # Is the compiler the GNU C compiler?
13820 # The linker used to build libraries.
13823 # Whether we need hard or soft links.
13826 # A BSD-compatible nm program.
13829 # A symbol stripping program
13832 # Used to examine libraries when file_magic_cmd begins "file"
13833 MAGIC_CMD=$MAGIC_CMD
13835 # Used on cygwin: DLL creation program.
13838 # Used on cygwin: object dumper.
13841 # Used on cygwin: assembler.
13844 # The name of the directory that contains temporary libtool files.
13847 # How to create reloadable object files.
13848 reload_flag=$lt_reload_flag
13849 reload_cmds=$lt_reload_cmds
13851 # How to pass a linker flag through the compiler.
13852 wl=$lt_lt_prog_compiler_wl_CXX
13854 # Object file suffix (normally "o").
13855 objext="$ac_objext"
13857 # Old archive suffix (normally "a").
13860 # Shared library suffix (normally ".so").
13861 shrext_cmds='$shrext_cmds'
13863 # Executable file suffix (normally "").
13866 # Additional compiler flags for building library objects.
13867 pic_flag=$lt_lt_prog_compiler_pic_CXX
13870 # What is the maximum length of a command?
13871 max_cmd_len=$lt_cv_sys_max_cmd_len
13873 # Does compiler simultaneously support -c and -o options?
13874 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13876 # Must we lock files when doing compilation?
13877 need_locks=$lt_need_locks
13879 # Do we need the lib prefix for modules?
13880 need_lib_prefix=$need_lib_prefix
13882 # Do we need a version for libraries?
13883 need_version=$need_version
13885 # Whether dlopen is supported.
13886 dlopen_support=$enable_dlopen
13888 # Whether dlopen of programs is supported.
13889 dlopen_self=$enable_dlopen_self
13891 # Whether dlopen of statically linked programs is supported.
13892 dlopen_self_static=$enable_dlopen_self_static
13894 # Compiler flag to prevent dynamic linking.
13895 link_static_flag=$lt_lt_prog_compiler_static_CXX
13897 # Compiler flag to turn off builtin functions.
13898 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13900 # Compiler flag to allow reflexive dlopens.
13901 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13903 # Compiler flag to generate shared objects directly from archives.
13904 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13906 # Compiler flag to generate thread-safe objects.
13907 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13909 # Library versioning type.
13910 version_type=$version_type
13912 # Format of library name prefix.
13913 libname_spec=$lt_libname_spec
13915 # List of archive names. First name is the real one, the rest are links.
13916 # The last name is the one that the linker finds with -lNAME.
13917 library_names_spec=$lt_library_names_spec
13919 # The coded name of the library, if different from the real name.
13920 soname_spec=$lt_soname_spec
13922 # Commands used to build and install an old-style archive.
13924 old_archive_cmds=$lt_old_archive_cmds_CXX
13925 old_postinstall_cmds=$lt_old_postinstall_cmds
13926 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13928 # Create an old-style archive from a shared archive.
13929 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13931 # Create a temporary old-style archive to link instead of a shared archive.
13932 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13934 # Commands used to build and install a shared archive.
13935 archive_cmds=$lt_archive_cmds_CXX
13936 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13937 postinstall_cmds=$lt_postinstall_cmds
13938 postuninstall_cmds=$lt_postuninstall_cmds
13940 # Commands used to build a loadable module (assumed same as above if empty)
13941 module_cmds=$lt_module_cmds_CXX
13942 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13944 # Commands to strip libraries.
13945 old_striplib=$lt_old_striplib
13946 striplib=$lt_striplib
13948 # Dependencies to place before the objects being linked to create a
13950 predep_objects=$lt_predep_objects_CXX
13952 # Dependencies to place after the objects being linked to create a
13954 postdep_objects=$lt_postdep_objects_CXX
13956 # Dependencies to place before the objects being linked to create a
13958 predeps=$lt_predeps_CXX
13960 # Dependencies to place after the objects being linked to create a
13962 postdeps=$lt_postdeps_CXX
13964 # The directories searched by this compiler when creating a shared
13966 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
13968 # The library search path used internally by the compiler when linking
13969 # a shared library.
13970 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13972 # Method to check whether dependent libraries are shared objects.
13973 deplibs_check_method=$lt_deplibs_check_method
13975 # Command to use when deplibs_check_method == file_magic.
13976 file_magic_cmd=$lt_file_magic_cmd
13978 # Flag that allows shared libraries with undefined symbols to be built.
13979 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13981 # Flag that forces no undefined symbols.
13982 no_undefined_flag=$lt_no_undefined_flag_CXX
13984 # Commands used to finish a libtool library installation in a directory.
13985 finish_cmds=$lt_finish_cmds
13987 # Same as above, but a single script fragment to be evaled but not shown.
13988 finish_eval=$lt_finish_eval
13990 # Take the output of nm and produce a listing of raw symbols and C names.
13991 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13993 # Transform the output of nm in a proper C declaration
13994 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13996 # Transform the output of nm in a C name address pair
13997 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13999 # This is the shared library runtime path variable.
14000 runpath_var=$runpath_var
14002 # This is the shared library path variable.
14003 shlibpath_var=$shlibpath_var
14005 # Is shlibpath searched before the hard-coded library search path?
14006 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14008 # How to hardcode a shared library path into an executable.
14009 hardcode_action=$hardcode_action_CXX
14011 # Whether we should hardcode library paths into libraries.
14012 hardcode_into_libs=$hardcode_into_libs
14014 # Flag to hardcode \$libdir into a binary during linking.
14015 # This must work even if \$libdir does not exist.
14016 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14018 # If ld is used when linking, flag to hardcode \$libdir into
14019 # a binary during linking. This must work even if \$libdir does
14021 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14023 # Whether we need a single -rpath flag with a separated argument.
14024 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14026 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14027 # resulting binary.
14028 hardcode_direct=$hardcode_direct_CXX
14030 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14031 # resulting binary.
14032 hardcode_minus_L=$hardcode_minus_L_CXX
14034 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14035 # the resulting binary.
14036 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14038 # Set to yes if building a shared library automatically hardcodes DIR into the library
14039 # and all subsequent libraries and executables linked against it.
14040 hardcode_automatic=$hardcode_automatic_CXX
14042 # Variables whose values should be saved in libtool wrapper scripts and
14043 # restored at relink time.
14044 variables_saved_for_relink="$variables_saved_for_relink"
14046 # Whether libtool must link a program against all its dependency libraries.
14047 link_all_deplibs=$link_all_deplibs_CXX
14049 # Compile-time system search path for libraries
14050 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14052 # Run-time system search path for libraries
14053 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14055 # Fix the shell variable \$srcfile for the compiler.
14056 fix_srcfile_path=$lt_fix_srcfile_path
14058 # Set to yes if exported symbols are required.
14059 always_export_symbols=$always_export_symbols_CXX
14061 # The commands to list exported symbols.
14062 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14064 # The commands to extract the exported symbol list from a shared archive.
14065 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14067 # Symbols that should not be listed in the preloaded symbols.
14068 exclude_expsyms=$lt_exclude_expsyms_CXX
14070 # Symbols that must always be exported.
14071 include_expsyms=$lt_include_expsyms_CXX
14073 # ### END LIBTOOL TAG CONFIG: $tagname
14079 # If there is no Makefile yet, we rely on a make rule to execute
14080 # `config.status --recheck' to rerun these tests and create the
14081 # libtool script then.
14082 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14083 if test -f "$ltmain_in"; then
14084 test -f Makefile
&& make "$ltmain"
14090 ac_cpp
='$CPP $CPPFLAGS'
14091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14099 with_gnu_ldcxx
=$with_gnu_ld
14100 with_gnu_ld
=$lt_save_with_gnu_ld
14101 lt_cv_path_LDCXX
=$lt_cv_path_LD
14102 lt_cv_path_LD
=$lt_save_path_LD
14103 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14104 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14112 if test -n "$F77" && test "X$F77" != "Xno"; then
14115 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14116 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14117 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14120 archive_cmds_need_lc_F77
=no
14121 allow_undefined_flag_F77
=
14122 always_export_symbols_F77
=no
14123 archive_expsym_cmds_F77
=
14124 export_dynamic_flag_spec_F77
=
14125 hardcode_direct_F77
=no
14126 hardcode_libdir_flag_spec_F77
=
14127 hardcode_libdir_flag_spec_ld_F77
=
14128 hardcode_libdir_separator_F77
=
14129 hardcode_minus_L_F77
=no
14130 hardcode_automatic_F77
=no
14132 module_expsym_cmds_F77
=
14133 link_all_deplibs_F77
=unknown
14134 old_archive_cmds_F77
=$old_archive_cmds
14135 no_undefined_flag_F77
=
14136 whole_archive_flag_spec_F77
=
14137 enable_shared_with_static_runtimes_F77
=no
14139 # Source file extension for f77 test sources.
14142 # Object file extension for compiled f77 test sources.
14146 # Code to be used in simple compile tests
14147 lt_simple_compile_test_code
="\
14153 # Code to be used in simple link tests
14154 lt_simple_link_test_code
="\
14159 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14161 # If no C compiler was specified, use CC.
14164 # If no C compiler flags were specified, use CFLAGS.
14165 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14167 # Allow CC to be a program name with arguments.
14171 # save warnings/boilerplate of simple test code
14172 ac_outfile
=conftest.
$ac_objext
14173 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14174 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14175 _lt_compiler_boilerplate
=`cat conftest.err`
14178 ac_outfile
=conftest.
$ac_objext
14179 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14180 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14181 _lt_linker_boilerplate
=`cat conftest.err`
14185 # Allow CC to be a program name with arguments.
14190 for cc_temp
in $compiler""; do
14192 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14193 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14198 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14201 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14202 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14203 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14204 echo "${ECHO_T}$can_build_shared" >&6; }
14206 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14207 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14208 test "$can_build_shared" = "no" && enable_shared
=no
14210 # On AIX, shared libraries and static libraries use the same namespace, and
14211 # are all built from PIC.
14214 test "$enable_shared" = yes && enable_static
=no
14215 if test -n "$RANLIB"; then
14216 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14217 postinstall_cmds
='$RANLIB $lib'
14221 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14222 test "$enable_shared" = yes && enable_static
=no
14226 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14227 echo "${ECHO_T}$enable_shared" >&6; }
14229 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14230 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14231 # Make sure either enable_shared or enable_static is yes.
14232 test "$enable_shared" = yes || enable_static
=yes
14233 { echo "$as_me:$LINENO: result: $enable_static" >&5
14234 echo "${ECHO_T}$enable_static" >&6; }
14239 lt_prog_compiler_wl_F77
=
14240 lt_prog_compiler_pic_F77
=
14241 lt_prog_compiler_static_F77
=
14243 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14244 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14246 if test "$GCC" = yes; then
14247 lt_prog_compiler_wl_F77
='-Wl,'
14248 lt_prog_compiler_static_F77
='-static'
14252 # All AIX code is PIC.
14253 if test "$host_cpu" = ia64
; then
14254 # AIX 5 now supports IA64 processor
14255 lt_prog_compiler_static_F77
='-Bstatic'
14260 # FIXME: we need at least 68020 code to build shared libraries, but
14261 # adding the `-m68020' flag to GCC prevents building anything better,
14263 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14266 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14267 # PIC is the default for these OSes.
14270 mingw
* | cygwin
* | pw32
* | os2
*)
14271 # This hack is so that the source file can tell whether it is being
14272 # built for inclusion in a dll (and should export symbols for example).
14273 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14274 # (--disable-auto-import) libraries
14275 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14278 darwin
* | rhapsody
*)
14279 # PIC is the default on this platform
14280 # Common symbols not allowed in MH_DYLIB files
14281 lt_prog_compiler_pic_F77
='-fno-common'
14285 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14286 # Instead, we relocate shared libraries at runtime.
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
* | cygwin
* | 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'
14375 linux
* | k
*bsd
*-gnu)
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'
14395 case `$CC -V 2>&1 | sed 5q` in
14398 lt_prog_compiler_pic_F77
='-KPIC'
14399 lt_prog_compiler_static_F77
='-Bstatic'
14400 lt_prog_compiler_wl_F77
='-Wl,'
14403 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14404 lt_prog_compiler_pic_F77
='-KPIC'
14405 lt_prog_compiler_static_F77
='-Bstatic'
14406 lt_prog_compiler_wl_F77
=''
14413 osf3
* | osf4
* | osf5
*)
14414 lt_prog_compiler_wl_F77
='-Wl,'
14415 # All OSF/1 code is PIC.
14416 lt_prog_compiler_static_F77
='-non_shared'
14420 lt_prog_compiler_static_F77
='-non_shared'
14424 lt_prog_compiler_pic_F77
='-KPIC'
14425 lt_prog_compiler_static_F77
='-Bstatic'
14426 case $cc_basename in
14427 f77
* | f90
* | f95
*)
14428 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14430 lt_prog_compiler_wl_F77
='-Wl,';;
14435 lt_prog_compiler_wl_F77
='-Qoption ld '
14436 lt_prog_compiler_pic_F77
='-PIC'
14437 lt_prog_compiler_static_F77
='-Bstatic'
14440 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14441 lt_prog_compiler_wl_F77
='-Wl,'
14442 lt_prog_compiler_pic_F77
='-KPIC'
14443 lt_prog_compiler_static_F77
='-Bstatic'
14447 if test -d /usr
/nec
;then
14448 lt_prog_compiler_pic_F77
='-Kconform_pic'
14449 lt_prog_compiler_static_F77
='-Bstatic'
14453 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14454 lt_prog_compiler_wl_F77
='-Wl,'
14455 lt_prog_compiler_pic_F77
='-KPIC'
14456 lt_prog_compiler_static_F77
='-Bstatic'
14460 lt_prog_compiler_wl_F77
='-Wl,'
14461 lt_prog_compiler_can_build_shared_F77
=no
14465 lt_prog_compiler_pic_F77
='-pic'
14466 lt_prog_compiler_static_F77
='-Bstatic'
14470 lt_prog_compiler_can_build_shared_F77
=no
14475 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14476 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14479 # Check to make sure the PIC flag actually works.
14481 if test -n "$lt_prog_compiler_pic_F77"; then
14483 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14484 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14485 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14486 echo $ECHO_N "(cached) $ECHO_C" >&6
14488 lt_cv_prog_compiler_pic_works_F77
=no
14489 ac_outfile
=conftest.
$ac_objext
14490 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14491 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14492 # Insert the option either (1) after the last *FLAGS variable, or
14493 # (2) before a word containing "conftest.", or (3) at the end.
14494 # Note that $ac_compile itself does not contain backslashes and begins
14495 # with a dollar sign (not a hyphen), so the echo should work correctly.
14496 # The option is referenced via a variable to avoid confusing sed.
14497 lt_compile
=`echo "$ac_compile" | $SED \
14498 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14499 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14500 -e 's:$: $lt_compiler_flag:'`
14501 (eval echo "\"\$as_me:14501: $lt_compile\"" >&5)
14502 (eval "$lt_compile" 2>conftest.err
)
14504 cat conftest.err
>&5
14505 echo "$as_me:14505: \$? = $ac_status" >&5
14506 if (exit $ac_status) && test -s "$ac_outfile"; then
14507 # The compiler can only warn and ignore the option if not recognized
14508 # So say no if there are warnings other than the usual output.
14509 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14510 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14511 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14512 lt_cv_prog_compiler_pic_works_F77
=yes
14518 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14519 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14521 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
14522 case $lt_prog_compiler_pic_F77 in
14524 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14527 lt_prog_compiler_pic_F77
=
14528 lt_prog_compiler_can_build_shared_F77
=no
14533 # For platforms which do not support PIC, -DPIC is meaningless:
14535 lt_prog_compiler_pic_F77
=
14538 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14543 # Check to make sure the static flag actually works.
14545 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14546 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14547 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14548 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14549 echo $ECHO_N "(cached) $ECHO_C" >&6
14551 lt_cv_prog_compiler_static_works_F77
=no
14552 save_LDFLAGS
="$LDFLAGS"
14553 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14554 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14555 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14556 # The linker can only warn and ignore the option if not recognized
14557 # So say no if there are warnings
14558 if test -s conftest.err
; then
14559 # Append any errors to the config.log.
14560 cat conftest.err
1>&5
14561 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14562 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14563 if diff conftest.exp conftest.er2
>/dev
/null
; then
14564 lt_cv_prog_compiler_static_works_F77
=yes
14567 lt_cv_prog_compiler_static_works_F77
=yes
14571 LDFLAGS
="$save_LDFLAGS"
14574 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14575 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14577 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
14580 lt_prog_compiler_static_F77
=
14584 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14585 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14586 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14587 echo $ECHO_N "(cached) $ECHO_C" >&6
14589 lt_cv_prog_compiler_c_o_F77
=no
14590 $rm -r conftest
2>/dev
/null
14594 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14596 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14597 # Insert the option either (1) after the last *FLAGS variable, or
14598 # (2) before a word containing "conftest.", or (3) at the end.
14599 # Note that $ac_compile itself does not contain backslashes and begins
14600 # with a dollar sign (not a hyphen), so the echo should work correctly.
14601 lt_compile
=`echo "$ac_compile" | $SED \
14602 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14603 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14604 -e 's:$: $lt_compiler_flag:'`
14605 (eval echo "\"\$as_me:14605: $lt_compile\"" >&5)
14606 (eval "$lt_compile" 2>out
/conftest.err
)
14608 cat out
/conftest.err
>&5
14609 echo "$as_me:14609: \$? = $ac_status" >&5
14610 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14612 # The compiler can only warn and ignore the option if not recognized
14613 # So say no if there are warnings
14614 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14615 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14616 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14617 lt_cv_prog_compiler_c_o_F77
=yes
14622 # SGI C++ compiler will create directory out/ii_files/ for
14623 # template instantiation
14624 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14625 $rm out
/* && rmdir out
14631 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14632 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14635 hard_links
="nottested"
14636 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14637 # do not overwrite the value of need_locks provided by the user
14638 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14639 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14642 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14644 ln conftest.a conftest.b
2>&5 || hard_links
=no
14645 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14646 { echo "$as_me:$LINENO: result: $hard_links" >&5
14647 echo "${ECHO_T}$hard_links" >&6; }
14648 if test "$hard_links" = no
; then
14649 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14650 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14657 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14658 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14661 allow_undefined_flag_F77
=
14662 enable_shared_with_static_runtimes_F77
=no
14664 archive_expsym_cmds_F77
=
14665 old_archive_From_new_cmds_F77
=
14666 old_archive_from_expsyms_cmds_F77
=
14667 export_dynamic_flag_spec_F77
=
14668 whole_archive_flag_spec_F77
=
14669 thread_safe_flag_spec_F77
=
14670 hardcode_libdir_flag_spec_F77
=
14671 hardcode_libdir_flag_spec_ld_F77
=
14672 hardcode_libdir_separator_F77
=
14673 hardcode_direct_F77
=no
14674 hardcode_minus_L_F77
=no
14675 hardcode_shlibpath_var_F77
=unsupported
14676 link_all_deplibs_F77
=unknown
14677 hardcode_automatic_F77
=no
14679 module_expsym_cmds_F77
=
14680 always_export_symbols_F77
=no
14681 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14682 # include_expsyms should be a list of space-separated symbols to be *always*
14683 # included in the symbol list
14684 include_expsyms_F77
=
14685 # exclude_expsyms can be an extended regexp of symbols to exclude
14686 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14687 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14688 # as well as any symbol that contains `d'.
14689 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14690 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14691 # platforms (ab)use it in PIC code, but their linkers get confused if
14692 # the symbol is explicitly referenced. Since portable code cannot
14693 # rely on this symbol name, it's probably fine to never include it in
14694 # preloaded symbol tables.
14695 # Exclude shared library initialization/finalization symbols.
14696 extract_expsyms_cmds
=
14697 # Just being paranoid about ensuring that cc_basename is set.
14698 for cc_temp
in $compiler""; do
14700 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14701 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14706 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14709 cygwin
* | mingw
* | pw32
*)
14710 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14711 # When not using gcc, we currently assume that we are using
14712 # Microsoft Visual C++.
14713 if test "$GCC" != yes; then
14718 # we just hope/assume this is gcc and not c89 (= MSVC++)
14727 if test "$with_gnu_ld" = yes; then
14728 # If archive_cmds runs LD, not CC, wlarc should be empty
14731 # Set some defaults for GNU ld with shared library support. These
14732 # are reset later if shared libraries are not supported. Putting them
14733 # here allows them to be overridden if necessary.
14734 runpath_var
=LD_RUN_PATH
14735 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14736 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14737 # ancient GNU ld didn't support --whole-archive et. al.
14738 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14739 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14741 whole_archive_flag_spec_F77
=
14743 supports_anon_versioning
=no
14744 case `$LD -v 2>/dev/null` in
14745 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14746 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14747 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14748 *\
2.11.
*) ;; # other 2.11 versions
14749 *) supports_anon_versioning
=yes ;;
14752 # See if GNU ld supports shared libraries.
14755 # On AIX/PPC, the GNU linker is very broken
14756 if test "$host_cpu" != ia64
; then
14760 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14761 *** to be unable to reliably create shared libraries on AIX.
14762 *** Therefore, libtool is disabling shared libraries support. If you
14763 *** really care for shared libraries, you may want to modify your PATH
14764 *** so that a non-GNU linker is found, and then restart.
14771 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)'
14772 hardcode_libdir_flag_spec_F77
='-L$libdir'
14773 hardcode_minus_L_F77
=yes
14775 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14776 # that the semantics of dynamic libraries on AmigaOS, at least up
14777 # to version 4, is to share data among multiple programs linked
14778 # with the same dynamic library. Since this doesn't match the
14779 # behavior of shared libraries on other platforms, we can't use
14785 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14786 allow_undefined_flag_F77
=unsupported
14787 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14788 # support --undefined. This deserves some investigation. FIXME
14789 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14795 cygwin
* | mingw
* | pw32
*)
14796 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14797 # as there is no search path for DLLs.
14798 hardcode_libdir_flag_spec_F77
='-L$libdir'
14799 allow_undefined_flag_F77
=unsupported
14800 always_export_symbols_F77
=no
14801 enable_shared_with_static_runtimes_F77
=yes
14802 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14804 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14805 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14806 # If the export-symbols file already is a .def file (1st line
14807 # is EXPORTS), use it as is; otherwise, prepend...
14808 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14809 cp $export_symbols $output_objdir/$soname.def;
14811 echo EXPORTS > $output_objdir/$soname.def;
14812 cat $export_symbols >> $output_objdir/$soname.def;
14814 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14821 hardcode_direct_F77
=no
14822 hardcode_shlibpath_var_F77
=no
14823 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14824 export_dynamic_flag_spec_F77
='${wl}-E'
14825 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14826 # Instead, shared libraries are loaded at an image base (0x10000000 by
14827 # default) and relocated if they conflict, which is a slow very memory
14828 # consuming and fragmenting process. To avoid this, we pick a random,
14829 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14830 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14831 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14832 archive_expsym_cmds_F77
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14835 gnu
* | linux
* | k
*bsd
*-gnu)
14836 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14838 case $cc_basename,$host_cpu in
14839 pgcc
*) # Portland Group C compiler
14840 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'
14841 tmp_addflag
=' $pic_flag'
14843 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14844 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'
14845 tmp_addflag
=' $pic_flag -Mnomain' ;;
14846 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14847 tmp_addflag
=' -i_dynamic' ;;
14848 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14849 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14850 ifc
* | ifort
*) # Intel Fortran compiler
14851 tmp_addflag
=' -nofor_main' ;;
14853 case `$CC -V 2>&1 | sed 5q` in
14854 *Sun\ C
*) # Sun C 5.9
14855 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14856 tmp_sharedflag
='-G' ;;
14857 *Sun\ F
*) # Sun Fortran 8.3
14858 tmp_sharedflag
='-G' ;;
14860 tmp_sharedflag
='-shared' ;;
14862 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14864 if test $supports_anon_versioning = yes; then
14865 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14866 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14867 $echo "local: *; };" >> $output_objdir/$libname.ver~
14868 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14876 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14877 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14880 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14881 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14886 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14890 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14891 *** create shared libraries on Solaris systems. Therefore, libtool
14892 *** is disabling shared libraries support. We urge you to upgrade GNU
14893 *** binutils to release 2.9.1 or newer. Another option is to modify
14894 *** your PATH or compiler configuration so that the native linker is
14895 *** used, and then restart.
14898 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14899 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14900 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14906 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14907 case `$LD -v 2>&1` in
14908 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14912 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14913 *** reliably create shared libraries on SCO systems. Therefore, libtool
14914 *** is disabling shared libraries support. We urge you to upgrade GNU
14915 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14916 *** your PATH or compiler configuration so that the native linker is
14917 *** used, and then restart.
14922 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14923 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14924 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14925 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14934 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14936 hardcode_direct_F77
=yes
14937 hardcode_shlibpath_var_F77
=no
14941 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14942 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14943 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14950 if test "$ld_shlibs_F77" = no
; then
14952 hardcode_libdir_flag_spec_F77
=
14953 export_dynamic_flag_spec_F77
=
14954 whole_archive_flag_spec_F77
=
14957 # PORTME fill in a description of your system's linker (not GNU ld)
14960 allow_undefined_flag_F77
=unsupported
14961 always_export_symbols_F77
=yes
14962 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'
14963 # Note: this linker hardcodes the directories in LIBPATH if there
14964 # are no directories specified by -L.
14965 hardcode_minus_L_F77
=yes
14966 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14967 # Neither direct hardcoding nor static linking is supported with a
14969 hardcode_direct_F77
=unsupported
14974 if test "$host_cpu" = ia64
; then
14975 # On IA64, the linker does run time linking by default, so we don't
14976 # have to do anything special.
14977 aix_use_runtimelinking
=no
14978 exp_sym_flag
='-Bexport'
14981 # If we're using GNU nm, then we don't want the "-C" option.
14982 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14983 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14984 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'
14986 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'
14988 aix_use_runtimelinking
=no
14990 # Test if we are trying to use run time linking or normal
14991 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14992 # need to do runtime linking.
14993 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14994 for ld_flag
in $LDFLAGS; do
14995 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14996 aix_use_runtimelinking
=yes
15003 exp_sym_flag
='-bexport'
15004 no_entry_flag
='-bnoentry'
15007 # When large executables or shared objects are built, AIX ld can
15008 # have problems creating the table of contents. If linking a library
15009 # or program results in "error TOC overflow" add -mminimal-toc to
15010 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15011 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15013 archive_cmds_F77
=''
15014 hardcode_direct_F77
=yes
15015 hardcode_libdir_separator_F77
=':'
15016 link_all_deplibs_F77
=yes
15018 if test "$GCC" = yes; then
15019 case $host_os in aix4.
[012]|aix4.
[012].
*)
15020 # We only want to do this on AIX 4.2 and lower, the check
15021 # below for broken collect2 doesn't work under 4.3+
15022 collect2name
=`${CC} -print-prog-name=collect2`
15023 if test -f "$collect2name" && \
15024 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15026 # We have reworked collect2
15029 # We have old collect2
15030 hardcode_direct_F77
=unsupported
15031 # It fails to find uninstalled libraries when the uninstalled
15032 # path is not listed in the libpath. Setting hardcode_minus_L
15033 # to unsupported forces relinking
15034 hardcode_minus_L_F77
=yes
15035 hardcode_libdir_flag_spec_F77
='-L$libdir'
15036 hardcode_libdir_separator_F77
=
15040 shared_flag
='-shared'
15041 if test "$aix_use_runtimelinking" = yes; then
15042 shared_flag
="$shared_flag "'${wl}-G'
15046 if test "$host_cpu" = ia64
; then
15047 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15048 # chokes on -Wl,-G. The following line is correct:
15051 if test "$aix_use_runtimelinking" = yes; then
15052 shared_flag
='${wl}-G'
15054 shared_flag
='${wl}-bM:SRE'
15059 # It seems that -bexpall does not export symbols beginning with
15060 # underscore (_), so it is better to generate a list of symbols to export.
15061 always_export_symbols_F77
=yes
15062 if test "$aix_use_runtimelinking" = yes; then
15063 # Warning - without using the other runtime loading flags (-brtl),
15064 # -berok will link without error, but may produce a broken library.
15065 allow_undefined_flag_F77
='-berok'
15066 # Determine the default libpath from the value encoded in an empty executable.
15067 cat >conftest.
$ac_ext <<_ACEOF
15072 rm -f conftest.
$ac_objext conftest
$ac_exeext
15073 if { (ac_try
="$ac_link"
15074 case "(($ac_try" in
15075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15076 *) ac_try_echo=$ac_try;;
15078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15079 (eval "$ac_link") 2>conftest.er1
15081 grep -v '^ *+' conftest.er1 >conftest.err
15083 cat conftest.err >&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); } && {
15086 test -z "$ac_f77_werror_flag" ||
15087 test ! -s conftest.err
15088 } && test -s conftest$ac_exeext &&
15089 $as_test_x conftest$ac_exeext; then
15091 lt_aix_libpath_sed='
15092 /Import File Strings/,/^$/ {
15098 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15099 # Check for a 64-bit object if we didn't find anything.
15100 if test -z "$aix_libpath"; then
15101 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15104 echo "$as_me: failed program was:" >&5
15105 sed 's/^/| /' conftest.$ac_ext >&5
15110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15111 conftest$ac_exeext conftest.$ac_ext
15112 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15114 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15115 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15117 if test "$host_cpu" = ia64; then
15118 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15119 allow_undefined_flag_F77="-z nodefs"
15120 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15122 # Determine the default libpath from the value encoded in an empty executable.
15123 cat >conftest.$ac_ext <<_ACEOF
15128 rm -f conftest.$ac_objext conftest$ac_exeext
15129 if { (ac_try="$ac_link"
15130 case "(($ac_try" in
15131 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15132 *) ac_try_echo
=$ac_try;;
15134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15135 (eval "$ac_link") 2>conftest.er1
15137 grep -v '^ *+' conftest.er1
>conftest.err
15139 cat conftest.err
>&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); } && {
15142 test -z "$ac_f77_werror_flag" ||
15143 test ! -s conftest.err
15144 } && test -s conftest
$ac_exeext &&
15145 $as_test_x conftest
$ac_exeext; then
15147 lt_aix_libpath_sed
='
15148 /Import File Strings/,/^$/ {
15154 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15155 # Check for a 64-bit object if we didn't find anything.
15156 if test -z "$aix_libpath"; then
15157 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15160 echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.
$ac_ext >&5
15166 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15167 conftest
$ac_exeext conftest.
$ac_ext
15168 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15170 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15171 # Warning - without using the other run time loading flags,
15172 # -berok will link without error, but may produce a broken library.
15173 no_undefined_flag_F77
=' ${wl}-bernotok'
15174 allow_undefined_flag_F77
=' ${wl}-berok'
15175 # Exported symbols can be pulled into shared objects from archives
15176 whole_archive_flag_spec_F77
='$convenience'
15177 archive_cmds_need_lc_F77
=yes
15178 # This is similar to how AIX traditionally builds its shared libraries.
15179 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15185 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)'
15186 hardcode_libdir_flag_spec_F77
='-L$libdir'
15187 hardcode_minus_L_F77
=yes
15188 # see comment about different semantics on the GNU ld section
15193 export_dynamic_flag_spec_F77
=-rdynamic
15196 cygwin
* | mingw
* | pw32
*)
15197 # When not using gcc, we currently assume that we are using
15198 # Microsoft Visual C++.
15199 # hardcode_libdir_flag_spec is actually meaningless, as there is
15200 # no search path for DLLs.
15201 hardcode_libdir_flag_spec_F77
=' '
15202 allow_undefined_flag_F77
=unsupported
15203 # Tell ltmain to make .lib files, not .a files.
15205 # Tell ltmain to make .dll files, not .so files.
15207 # FIXME: Setting linknames here is a bad hack.
15208 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15209 # The linker will automatically build a .lib file if we build a DLL.
15210 old_archive_From_new_cmds_F77
='true'
15211 # FIXME: Should let the user specify the lib program.
15212 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15213 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15214 enable_shared_with_static_runtimes_F77
=yes
15217 darwin
* | rhapsody
*)
15219 rhapsody
* | darwin1.
[012])
15220 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15223 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15224 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15226 case ${MACOSX_DEPLOYMENT_TARGET} in
15228 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15231 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15237 archive_cmds_need_lc_F77
=no
15238 hardcode_direct_F77
=no
15239 hardcode_automatic_F77
=yes
15240 hardcode_shlibpath_var_F77
=unsupported
15241 whole_archive_flag_spec_F77
=''
15242 link_all_deplibs_F77
=yes
15243 if test "$GCC" = yes ; then
15244 output_verbose_link_cmd
='echo'
15245 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15246 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15247 archive_expsym_cmds_F77
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15248 module_expsym_cmds_F77
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15250 case $cc_basename in
15252 output_verbose_link_cmd
='echo'
15253 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15254 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15255 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15256 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15257 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}'
15267 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15268 hardcode_libdir_flag_spec_F77
='-L$libdir'
15269 hardcode_shlibpath_var_F77
=no
15276 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15277 # support. Future versions do this automatically, but an explicit c++rt0.o
15278 # does not break anything, and helps significantly (at the cost of a little
15281 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15282 hardcode_libdir_flag_spec_F77
='-R$libdir'
15283 hardcode_direct_F77
=yes
15284 hardcode_shlibpath_var_F77
=no
15287 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15289 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15290 hardcode_direct_F77
=yes
15291 hardcode_minus_L_F77
=yes
15292 hardcode_shlibpath_var_F77
=no
15295 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15296 freebsd
* | dragonfly
*)
15297 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15298 hardcode_libdir_flag_spec_F77
='-R$libdir'
15299 hardcode_direct_F77
=yes
15300 hardcode_shlibpath_var_F77
=no
15304 if test "$GCC" = yes; then
15305 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'
15307 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'
15309 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15310 hardcode_libdir_separator_F77
=:
15311 hardcode_direct_F77
=yes
15313 # hardcode_minus_L: Not really in the search PATH,
15314 # but as the default location of the library.
15315 hardcode_minus_L_F77
=yes
15316 export_dynamic_flag_spec_F77
='${wl}-E'
15320 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15321 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15323 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15325 if test "$with_gnu_ld" = no
; then
15326 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15327 hardcode_libdir_separator_F77
=:
15329 hardcode_direct_F77
=yes
15330 export_dynamic_flag_spec_F77
='${wl}-E'
15332 # hardcode_minus_L: Not really in the search PATH,
15333 # but as the default location of the library.
15334 hardcode_minus_L_F77
=yes
15339 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15342 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15345 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15348 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15354 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15357 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15360 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15364 if test "$with_gnu_ld" = no
; then
15365 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15366 hardcode_libdir_separator_F77
=:
15370 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15371 hardcode_direct_F77
=no
15372 hardcode_shlibpath_var_F77
=no
15375 hardcode_direct_F77
=yes
15376 export_dynamic_flag_spec_F77
='${wl}-E'
15378 # hardcode_minus_L: Not really in the search PATH,
15379 # but as the default location of the library.
15380 hardcode_minus_L_F77
=yes
15386 irix5
* | irix6
* | nonstopux
*)
15387 if test "$GCC" = yes; then
15388 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'
15390 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'
15391 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15393 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15394 hardcode_libdir_separator_F77
=:
15395 link_all_deplibs_F77
=yes
15399 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15400 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15402 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15404 hardcode_libdir_flag_spec_F77
='-R$libdir'
15405 hardcode_direct_F77
=yes
15406 hardcode_shlibpath_var_F77
=no
15410 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15411 hardcode_direct_F77
=yes
15412 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15413 hardcode_libdir_separator_F77
=:
15414 hardcode_shlibpath_var_F77
=no
15418 if test -f /usr
/libexec
/ld.so
; then
15419 hardcode_direct_F77
=yes
15420 hardcode_shlibpath_var_F77
=no
15421 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15422 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15423 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15424 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15425 export_dynamic_flag_spec_F77
='${wl}-E'
15428 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15429 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15430 hardcode_libdir_flag_spec_F77
='-R$libdir'
15433 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15434 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15444 hardcode_libdir_flag_spec_F77
='-L$libdir'
15445 hardcode_minus_L_F77
=yes
15446 allow_undefined_flag_F77
=unsupported
15447 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'
15448 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15452 if test "$GCC" = yes; then
15453 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15454 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'
15456 allow_undefined_flag_F77
=' -expect_unresolved \*'
15457 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'
15459 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15460 hardcode_libdir_separator_F77
=:
15463 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15464 if test "$GCC" = yes; then
15465 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15466 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'
15467 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15469 allow_undefined_flag_F77
=' -expect_unresolved \*'
15470 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'
15471 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~
15472 $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'
15474 # Both c and cxx compiler support -rpath directly
15475 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15477 hardcode_libdir_separator_F77
=:
15481 no_undefined_flag_F77
=' -z text'
15482 if test "$GCC" = yes; then
15484 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15485 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15486 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15489 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15490 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15491 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15493 hardcode_libdir_flag_spec_F77
='-R$libdir'
15494 hardcode_shlibpath_var_F77
=no
15496 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15498 # The compiler driver will combine and reorder linker options,
15499 # but understands `-z linker_flag'. GCC discards it without `$wl',
15500 # but is careful enough not to reorder.
15501 # Supported since Solaris 2.6 (maybe 2.5.1?)
15502 if test "$GCC" = yes; then
15503 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15505 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15509 link_all_deplibs_F77
=yes
15513 if test "x$host_vendor" = xsequent
; then
15514 # Use $CC to link under sequent, because it throws in some extra .o
15515 # files that make .init and .fini sections work.
15516 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15518 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15520 hardcode_libdir_flag_spec_F77
='-L$libdir'
15521 hardcode_direct_F77
=yes
15522 hardcode_minus_L_F77
=yes
15523 hardcode_shlibpath_var_F77
=no
15527 case $host_vendor in
15529 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15530 hardcode_direct_F77
=yes # is this really true???
15533 ## LD is ld it makes a PLAMLIB
15534 ## CC just makes a GrossModule.
15535 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15536 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15537 hardcode_direct_F77
=no
15540 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15541 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15544 runpath_var
='LD_RUN_PATH'
15545 hardcode_shlibpath_var_F77
=no
15549 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15550 hardcode_shlibpath_var_F77
=no
15551 export_dynamic_flag_spec_F77
='-Bexport'
15555 if test -d /usr
/nec
; then
15556 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15557 hardcode_shlibpath_var_F77
=no
15558 runpath_var
=LD_RUN_PATH
15559 hardcode_runpath_var
=yes
15564 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15565 no_undefined_flag_F77
='${wl}-z,text'
15566 archive_cmds_need_lc_F77
=no
15567 hardcode_shlibpath_var_F77
=no
15568 runpath_var
='LD_RUN_PATH'
15570 if test "$GCC" = yes; then
15571 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15572 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15574 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15575 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15579 sysv5
* | sco3.2v5
* | sco5v6
*)
15580 # Note: We can NOT use -z defs as we might desire, because we do not
15581 # link with -lc, and that would cause any symbols used from libc to
15582 # always be unresolved, which means just about no library would
15583 # ever link correctly. If we're not using GNU ld we use -z text
15584 # though, which does catch some bad symbols but isn't as heavy-handed
15586 no_undefined_flag_F77
='${wl}-z,text'
15587 allow_undefined_flag_F77
='${wl}-z,nodefs'
15588 archive_cmds_need_lc_F77
=no
15589 hardcode_shlibpath_var_F77
=no
15590 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15591 hardcode_libdir_separator_F77
=':'
15592 link_all_deplibs_F77
=yes
15593 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15594 runpath_var
='LD_RUN_PATH'
15596 if test "$GCC" = yes; then
15597 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15598 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15600 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15601 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15606 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15607 hardcode_libdir_flag_spec_F77
='-L$libdir'
15608 hardcode_shlibpath_var_F77
=no
15617 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15618 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15619 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15622 # Do we need to explicitly link libc?
15624 case "x$archive_cmds_need_lc_F77" in
15626 # Assume -lc should be added
15627 archive_cmds_need_lc_F77
=yes
15629 if test "$enable_shared" = yes && test "$GCC" = yes; then
15630 case $archive_cmds_F77 in
15632 # FIXME: we may have to deal with multi-command sequences.
15635 # Test whether the compiler implicitly links with -lc since on some
15636 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15637 # to ld, don't add -lc before -lgcc.
15638 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15639 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15641 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15644 (eval $ac_compile) 2>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } 2>conftest.err
; then
15650 libobjs
=conftest.
$ac_objext
15652 wl
=$lt_prog_compiler_wl_F77
15653 pic_flag
=$lt_prog_compiler_pic_F77
15659 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15660 allow_undefined_flag_F77
=
15661 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15662 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }
15667 archive_cmds_need_lc_F77
=no
15669 archive_cmds_need_lc_F77
=yes
15671 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15673 cat conftest.err
1>&5
15676 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15677 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15684 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15685 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15686 library_names_spec
=
15687 libname_spec
='lib$name'
15691 postuninstall_cmds
=
15695 shlibpath_overrides_runpath
=unknown
15697 dynamic_linker
="$host_os ld.so"
15698 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15700 need_lib_prefix
=unknown
15701 hardcode_into_libs
=no
15703 # when you set need_version to no, make sure it does not cause -set_version
15704 # flags to be left without arguments
15705 need_version
=unknown
15710 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15711 shlibpath_var
=LIBPATH
15713 # AIX 3 has no versioning support, so we append a major version to the name.
15714 soname_spec
='${libname}${release}${shared_ext}$major'
15721 hardcode_into_libs
=yes
15722 if test "$host_cpu" = ia64
; then
15723 # AIX 5 supports IA64
15724 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15725 shlibpath_var
=LD_LIBRARY_PATH
15727 # With GCC up to 2.95.x, collect2 would create an import file
15728 # for dependence libraries. The import file would start with
15729 # the line `#! .'. This would cause the generated library to
15730 # depend on `.', always an invalid library. This was fixed in
15731 # development snapshots of GCC prior to 3.0.
15733 aix4 | aix4.
[01] | aix4.
[01].
*)
15734 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15736 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15739 can_build_shared
=no
15743 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15744 # soname into executable. Probably we can add versioning support to
15745 # collect2, so additional links can be useful in future.
15746 if test "$aix_use_runtimelinking" = yes; then
15747 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15748 # instead of lib<name>.a to let people know that these are not
15749 # typical AIX shared libraries.
15750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15752 # We preserve .a as extension for shared libraries through AIX4.2
15753 # and later when we are not doing run time linking.
15754 library_names_spec
='${libname}${release}.a $libname.a'
15755 soname_spec
='${libname}${release}${shared_ext}$major'
15757 shlibpath_var
=LIBPATH
15762 library_names_spec
='$libname.ixlibrary $libname.a'
15763 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15764 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'
15768 library_names_spec
='${libname}${shared_ext}'
15769 dynamic_linker
="$host_os ld.so"
15770 shlibpath_var
=LIBRARY_PATH
15776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15777 soname_spec
='${libname}${release}${shared_ext}$major'
15778 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15779 shlibpath_var
=LD_LIBRARY_PATH
15780 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15781 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15782 # the default ld.so.conf also contains /usr/contrib/lib and
15783 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15784 # libtool to hard-code these into programs
15787 cygwin
* | mingw
* | pw32
*)
15788 version_type
=windows
15793 case $GCC,$host_os in
15794 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15795 library_names_spec
='$libname.dll.a'
15796 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15797 postinstall_cmds
='base_file=`basename \${file}`~
15798 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15799 dldir=$destdir/`dirname \$dlpath`~
15800 test -d \$dldir || mkdir -p \$dldir~
15801 $install_prog $dir/$dlname \$dldir/$dlname~
15802 chmod a+x \$dldir/$dlname'
15803 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15804 dlpath=$dir/\$dldll~
15806 shlibpath_overrides_runpath
=yes
15810 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15811 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15812 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15815 # MinGW DLLs use traditional 'lib' prefix
15816 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15817 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15818 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15819 # It is most probably a Windows format PATH printed by
15820 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15821 # path with ; separators, and with drive letters. We can handle the
15822 # drive letters (cygwin fileutils understands them), so leave them,
15823 # especially as we might pass files found there to a mingw objdump,
15824 # which wouldn't understand a cygwinified path. Ahh.
15825 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15827 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15831 # pw32 DLLs use 'pw' prefix rather than 'lib'
15832 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15838 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15841 dynamic_linker
='Win32 ld.exe'
15842 # FIXME: first we should search . and the directory the executable is in
15846 darwin
* | rhapsody
*)
15847 dynamic_linker
="$host_os dyld"
15848 version_type
=darwin
15851 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15852 soname_spec
='${libname}${release}${major}$shared_ext'
15853 shlibpath_overrides_runpath
=yes
15854 shlibpath_var
=DYLD_LIBRARY_PATH
15855 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15857 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15865 soname_spec
='${libname}${release}${shared_ext}$major'
15866 shlibpath_var
=LD_LIBRARY_PATH
15873 freebsd
* | dragonfly
*)
15874 # DragonFly does not have aout. When/if they implement a new
15875 # versioning mechanism, adjust this.
15876 if test -x /usr
/bin
/objformat
; then
15877 objformat
=`/usr/bin/objformat`
15880 freebsd
[123]*) objformat
=aout
;;
15881 *) objformat
=elf
;;
15884 version_type
=freebsd-
$objformat
15885 case $version_type in
15887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15892 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15896 shlibpath_var
=LD_LIBRARY_PATH
15899 shlibpath_overrides_runpath
=yes
15901 freebsd3.
[01]* | freebsdelf3.
[01]*)
15902 shlibpath_overrides_runpath
=yes
15903 hardcode_into_libs
=yes
15905 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15906 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15907 shlibpath_overrides_runpath
=no
15908 hardcode_into_libs
=yes
15910 *) # from 4.6 on, and DragonFly
15911 shlibpath_overrides_runpath
=yes
15912 hardcode_into_libs
=yes
15921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15922 soname_spec
='${libname}${release}${shared_ext}$major'
15923 shlibpath_var
=LD_LIBRARY_PATH
15924 hardcode_into_libs
=yes
15927 hpux9
* | hpux10
* | hpux11
*)
15928 # Give a soname corresponding to the major version so that dld.sl refuses to
15929 # link against other versions.
15936 hardcode_into_libs
=yes
15937 dynamic_linker
="$host_os dld.so"
15938 shlibpath_var
=LD_LIBRARY_PATH
15939 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15941 soname_spec
='${libname}${release}${shared_ext}$major'
15942 if test "X$HPUX_IA64_MODE" = X32
; then
15943 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15945 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15947 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15951 hardcode_into_libs
=yes
15952 dynamic_linker
="$host_os dld.sl"
15953 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15954 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15956 soname_spec
='${libname}${release}${shared_ext}$major'
15957 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15958 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15962 dynamic_linker
="$host_os dld.sl"
15963 shlibpath_var
=SHLIB_PATH
15964 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15966 soname_spec
='${libname}${release}${shared_ext}$major'
15969 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15970 postinstall_cmds
='chmod 555 $lib'
15977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15978 soname_spec
='${libname}${release}${shared_ext}$major'
15979 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15980 shlibpath_var
=LD_LIBRARY_PATH
15981 shlibpath_overrides_runpath
=no
15982 hardcode_into_libs
=yes
15985 irix5
* | irix6
* | nonstopux
*)
15987 nonstopux
*) version_type
=nonstopux
;;
15989 if test "$lt_cv_prog_gnu_ld" = yes; then
15997 soname_spec
='${libname}${release}${shared_ext}$major'
15998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16000 irix5
* | nonstopux
*)
16001 libsuff
= shlibsuff
=
16004 case $LD in # libtool.m4 will add one of these switches to LD
16005 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16006 libsuff
= shlibsuff
= libmagic
=32-bit;;
16007 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16008 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16009 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16010 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16011 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16015 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16016 shlibpath_overrides_runpath
=no
16017 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16018 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16019 hardcode_into_libs
=yes
16022 # No shared lib support for Linux oldld, aout, or coff.
16023 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16027 # This must be Linux ELF.
16028 linux
* | k
*bsd
*-gnu)
16032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16033 soname_spec
='${libname}${release}${shared_ext}$major'
16034 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16035 shlibpath_var
=LD_LIBRARY_PATH
16036 shlibpath_overrides_runpath
=no
16037 # This implies no fast_install, which is unacceptable.
16038 # Some rework will be needed to allow for fast_install
16039 # before this can be enabled.
16040 hardcode_into_libs
=yes
16042 # Append ld.so.conf contents to the search path
16043 if test -f /etc
/ld.so.conf
; then
16044 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16045 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16048 # We used to test for /lib/ld.so.1 and disable shared libraries on
16049 # powerpc, because MkLinux only supported shared libraries with the
16050 # GNU dynamic linker. Since this was broken with cross compilers,
16051 # most powerpc-linux boxes support dynamic linking these days and
16052 # people can always --disable-shared, the test was removed, and we
16053 # assume the GNU/Linux dynamic linker is in use.
16054 dynamic_linker
='GNU/Linux ld.so'
16061 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16063 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16064 dynamic_linker
='NetBSD (a.out) ld.so'
16066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16067 soname_spec
='${libname}${release}${shared_ext}$major'
16068 dynamic_linker
='NetBSD ld.elf_so'
16070 shlibpath_var
=LD_LIBRARY_PATH
16071 shlibpath_overrides_runpath
=yes
16072 hardcode_into_libs
=yes
16077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16078 shlibpath_var
=LD_LIBRARY_PATH
16079 shlibpath_overrides_runpath
=yes
16086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16087 soname_spec
='${libname}${release}${shared_ext}$major'
16088 shlibpath_var
=LD_LIBRARY_PATH
16089 shlibpath_overrides_runpath
=yes
16094 sys_lib_dlsearch_path_spec
="/usr/lib"
16096 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16098 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16099 *) need_version
=no
;;
16101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16102 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16103 shlibpath_var
=LD_LIBRARY_PATH
16104 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16106 openbsd2.
[89] | openbsd2.
[89].
*)
16107 shlibpath_overrides_runpath
=no
16110 shlibpath_overrides_runpath
=yes
16114 shlibpath_overrides_runpath
=yes
16119 libname_spec
='$name'
16122 library_names_spec
='$libname${shared_ext} $libname.a'
16123 dynamic_linker
='OS/2 ld.exe'
16124 shlibpath_var
=LIBPATH
16127 osf3
* | osf4
* | osf5
*)
16131 soname_spec
='${libname}${release}${shared_ext}$major'
16132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16133 shlibpath_var
=LD_LIBRARY_PATH
16134 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16135 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16147 soname_spec
='${libname}${release}${shared_ext}$major'
16148 shlibpath_var
=LD_LIBRARY_PATH
16149 shlibpath_overrides_runpath
=yes
16150 hardcode_into_libs
=yes
16151 # ldd complains unless libraries are executable
16152 postinstall_cmds
='chmod +x $lib'
16157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16158 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16159 shlibpath_var
=LD_LIBRARY_PATH
16160 shlibpath_overrides_runpath
=yes
16161 if test "$with_gnu_ld" = yes; then
16169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16170 soname_spec
='${libname}${release}${shared_ext}$major'
16171 shlibpath_var
=LD_LIBRARY_PATH
16172 case $host_vendor in
16174 shlibpath_overrides_runpath
=no
16176 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16177 runpath_var
=LD_RUN_PATH
16185 shlibpath_overrides_runpath
=no
16186 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16192 if test -d /usr
/nec
;then
16194 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16195 soname_spec
='$libname${shared_ext}.$major'
16196 shlibpath_var
=LD_LIBRARY_PATH
16200 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16201 version_type
=freebsd-elf
16204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16205 soname_spec
='${libname}${release}${shared_ext}$major'
16206 shlibpath_var
=LD_LIBRARY_PATH
16207 hardcode_into_libs
=yes
16208 if test "$with_gnu_ld" = yes; then
16209 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16210 shlibpath_overrides_runpath
=no
16212 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16213 shlibpath_overrides_runpath
=yes
16216 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16220 sys_lib_dlsearch_path_spec
='/usr/lib'
16225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16226 soname_spec
='${libname}${release}${shared_ext}$major'
16227 shlibpath_var
=LD_LIBRARY_PATH
16234 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16235 echo "${ECHO_T}$dynamic_linker" >&6; }
16236 test "$dynamic_linker" = no
&& can_build_shared
=no
16238 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16241 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16244 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16245 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16246 echo $ECHO_N "(cached) $ECHO_C" >&6
16248 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16251 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16253 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16254 if test "$GCC" = yes; then
16255 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16258 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16259 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16260 hardcode_action_F77
=
16261 if test -n "$hardcode_libdir_flag_spec_F77" || \
16262 test -n "$runpath_var_F77" || \
16263 test "X$hardcode_automatic_F77" = "Xyes" ; then
16265 # We can hardcode non-existant directories.
16266 if test "$hardcode_direct_F77" != no
&&
16267 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16268 # have to relink, otherwise we might link with an installed library
16269 # when we should be linking with a yet-to-be-installed one
16270 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16271 test "$hardcode_minus_L_F77" != no
; then
16272 # Linking always hardcodes the temporary library directory.
16273 hardcode_action_F77
=relink
16275 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16276 hardcode_action_F77
=immediate
16279 # We cannot hardcode anything, or else we can only hardcode existing
16281 hardcode_action_F77
=unsupported
16283 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16284 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16286 if test "$hardcode_action_F77" = relink
; then
16287 # Fast installation is not supported
16288 enable_fast_install
=no
16289 elif test "$shlibpath_overrides_runpath" = yes ||
16290 test "$enable_shared" = no
; then
16291 # Fast installation is not necessary
16292 enable_fast_install
=needless
16296 # The else clause should only fire when bootstrapping the
16297 # libtool distribution, otherwise you forgot to ship ltmain.sh
16298 # with your package, and you will get complaints that there are
16299 # no rules to generate ltmain.sh.
16300 if test -f "$ltmain"; then
16301 # See if we are running on zsh, and set the options which allow our commands through
16302 # without removal of \ escapes.
16303 if test -n "${ZSH_VERSION+set}" ; then
16304 setopt NO_GLOB_SUBST
16306 # Now quote all the things that may contain metacharacters while being
16307 # careful not to overquote the AC_SUBSTed values. We take copies of the
16308 # variables and quote the copies for generation of the libtool script.
16309 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16311 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16312 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16313 deplibs_check_method reload_flag reload_cmds need_locks \
16314 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16315 lt_cv_sys_global_symbol_to_c_name_address \
16316 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16317 old_postinstall_cmds old_postuninstall_cmds \
16321 lt_prog_compiler_wl_F77 \
16322 lt_prog_compiler_pic_F77 \
16323 lt_prog_compiler_static_F77 \
16324 lt_prog_compiler_no_builtin_flag_F77 \
16325 export_dynamic_flag_spec_F77 \
16326 thread_safe_flag_spec_F77 \
16327 whole_archive_flag_spec_F77 \
16328 enable_shared_with_static_runtimes_F77 \
16329 old_archive_cmds_F77 \
16330 old_archive_from_new_cmds_F77 \
16331 predep_objects_F77 \
16332 postdep_objects_F77 \
16335 compiler_lib_search_path_F77 \
16336 compiler_lib_search_dirs_F77 \
16338 archive_expsym_cmds_F77 \
16339 postinstall_cmds_F77 \
16340 postuninstall_cmds_F77 \
16341 old_archive_from_expsyms_cmds_F77 \
16342 allow_undefined_flag_F77 \
16343 no_undefined_flag_F77 \
16344 export_symbols_cmds_F77 \
16345 hardcode_libdir_flag_spec_F77 \
16346 hardcode_libdir_flag_spec_ld_F77 \
16347 hardcode_libdir_separator_F77 \
16348 hardcode_automatic_F77 \
16350 module_expsym_cmds_F77 \
16351 lt_cv_prog_compiler_c_o_F77 \
16352 fix_srcfile_path_F77 \
16353 exclude_expsyms_F77 \
16354 include_expsyms_F77
; do
16357 old_archive_cmds_F77 | \
16358 old_archive_from_new_cmds_F77 | \
16359 archive_cmds_F77 | \
16360 archive_expsym_cmds_F77 | \
16361 module_cmds_F77 | \
16362 module_expsym_cmds_F77 | \
16363 old_archive_from_expsyms_cmds_F77 | \
16364 export_symbols_cmds_F77 | \
16365 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16366 postinstall_cmds | postuninstall_cmds | \
16367 old_postinstall_cmds | old_postuninstall_cmds | \
16368 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16369 # Double-quote double-evaled strings.
16370 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16373 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16379 *'\$0 --fallback-echo"')
16380 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16386 cat <<__EOF__ >> "$cfgfile"
16387 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16389 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16391 # Shell to use when invoking shell scripts.
16394 # Whether or not to build shared libraries.
16395 build_libtool_libs=$enable_shared
16397 # Whether or not to build static libraries.
16398 build_old_libs=$enable_static
16400 # Whether or not to add -lc for building shared libraries.
16401 build_libtool_need_lc=$archive_cmds_need_lc_F77
16403 # Whether or not to disallow shared libs when runtime libs are static
16404 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16406 # Whether or not to optimize for fast installation.
16407 fast_install=$enable_fast_install
16410 host_alias=$host_alias
16414 # The build system.
16415 build_alias=$build_alias
16419 # An echo program that does not interpret backslashes.
16424 AR_FLAGS=$lt_AR_FLAGS
16429 # LTCC compiler flags.
16430 LTCFLAGS=$lt_LTCFLAGS
16432 # A language-specific compiler.
16433 CC=$lt_compiler_F77
16435 # Is the compiler the GNU C compiler?
16441 # The linker used to build libraries.
16444 # Whether we need hard or soft links.
16447 # A BSD-compatible nm program.
16450 # A symbol stripping program
16453 # Used to examine libraries when file_magic_cmd begins "file"
16454 MAGIC_CMD=$MAGIC_CMD
16456 # Used on cygwin: DLL creation program.
16459 # Used on cygwin: object dumper.
16462 # Used on cygwin: assembler.
16465 # The name of the directory that contains temporary libtool files.
16468 # How to create reloadable object files.
16469 reload_flag=$lt_reload_flag
16470 reload_cmds=$lt_reload_cmds
16472 # How to pass a linker flag through the compiler.
16473 wl=$lt_lt_prog_compiler_wl_F77
16475 # Object file suffix (normally "o").
16476 objext="$ac_objext"
16478 # Old archive suffix (normally "a").
16481 # Shared library suffix (normally ".so").
16482 shrext_cmds='$shrext_cmds'
16484 # Executable file suffix (normally "").
16487 # Additional compiler flags for building library objects.
16488 pic_flag=$lt_lt_prog_compiler_pic_F77
16491 # What is the maximum length of a command?
16492 max_cmd_len=$lt_cv_sys_max_cmd_len
16494 # Does compiler simultaneously support -c and -o options?
16495 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16497 # Must we lock files when doing compilation?
16498 need_locks=$lt_need_locks
16500 # Do we need the lib prefix for modules?
16501 need_lib_prefix=$need_lib_prefix
16503 # Do we need a version for libraries?
16504 need_version=$need_version
16506 # Whether dlopen is supported.
16507 dlopen_support=$enable_dlopen
16509 # Whether dlopen of programs is supported.
16510 dlopen_self=$enable_dlopen_self
16512 # Whether dlopen of statically linked programs is supported.
16513 dlopen_self_static=$enable_dlopen_self_static
16515 # Compiler flag to prevent dynamic linking.
16516 link_static_flag=$lt_lt_prog_compiler_static_F77
16518 # Compiler flag to turn off builtin functions.
16519 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16521 # Compiler flag to allow reflexive dlopens.
16522 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16524 # Compiler flag to generate shared objects directly from archives.
16525 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16527 # Compiler flag to generate thread-safe objects.
16528 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16530 # Library versioning type.
16531 version_type=$version_type
16533 # Format of library name prefix.
16534 libname_spec=$lt_libname_spec
16536 # List of archive names. First name is the real one, the rest are links.
16537 # The last name is the one that the linker finds with -lNAME.
16538 library_names_spec=$lt_library_names_spec
16540 # The coded name of the library, if different from the real name.
16541 soname_spec=$lt_soname_spec
16543 # Commands used to build and install an old-style archive.
16545 old_archive_cmds=$lt_old_archive_cmds_F77
16546 old_postinstall_cmds=$lt_old_postinstall_cmds
16547 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16549 # Create an old-style archive from a shared archive.
16550 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16552 # Create a temporary old-style archive to link instead of a shared archive.
16553 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16555 # Commands used to build and install a shared archive.
16556 archive_cmds=$lt_archive_cmds_F77
16557 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16558 postinstall_cmds=$lt_postinstall_cmds
16559 postuninstall_cmds=$lt_postuninstall_cmds
16561 # Commands used to build a loadable module (assumed same as above if empty)
16562 module_cmds=$lt_module_cmds_F77
16563 module_expsym_cmds=$lt_module_expsym_cmds_F77
16565 # Commands to strip libraries.
16566 old_striplib=$lt_old_striplib
16567 striplib=$lt_striplib
16569 # Dependencies to place before the objects being linked to create a
16571 predep_objects=$lt_predep_objects_F77
16573 # Dependencies to place after the objects being linked to create a
16575 postdep_objects=$lt_postdep_objects_F77
16577 # Dependencies to place before the objects being linked to create a
16579 predeps=$lt_predeps_F77
16581 # Dependencies to place after the objects being linked to create a
16583 postdeps=$lt_postdeps_F77
16585 # The directories searched by this compiler when creating a shared
16587 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16589 # The library search path used internally by the compiler when linking
16590 # a shared library.
16591 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16593 # Method to check whether dependent libraries are shared objects.
16594 deplibs_check_method=$lt_deplibs_check_method
16596 # Command to use when deplibs_check_method == file_magic.
16597 file_magic_cmd=$lt_file_magic_cmd
16599 # Flag that allows shared libraries with undefined symbols to be built.
16600 allow_undefined_flag=$lt_allow_undefined_flag_F77
16602 # Flag that forces no undefined symbols.
16603 no_undefined_flag=$lt_no_undefined_flag_F77
16605 # Commands used to finish a libtool library installation in a directory.
16606 finish_cmds=$lt_finish_cmds
16608 # Same as above, but a single script fragment to be evaled but not shown.
16609 finish_eval=$lt_finish_eval
16611 # Take the output of nm and produce a listing of raw symbols and C names.
16612 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16614 # Transform the output of nm in a proper C declaration
16615 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16617 # Transform the output of nm in a C name address pair
16618 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16620 # This is the shared library runtime path variable.
16621 runpath_var=$runpath_var
16623 # This is the shared library path variable.
16624 shlibpath_var=$shlibpath_var
16626 # Is shlibpath searched before the hard-coded library search path?
16627 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16629 # How to hardcode a shared library path into an executable.
16630 hardcode_action=$hardcode_action_F77
16632 # Whether we should hardcode library paths into libraries.
16633 hardcode_into_libs=$hardcode_into_libs
16635 # Flag to hardcode \$libdir into a binary during linking.
16636 # This must work even if \$libdir does not exist.
16637 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16639 # If ld is used when linking, flag to hardcode \$libdir into
16640 # a binary during linking. This must work even if \$libdir does
16642 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16644 # Whether we need a single -rpath flag with a separated argument.
16645 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16647 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16648 # resulting binary.
16649 hardcode_direct=$hardcode_direct_F77
16651 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16652 # resulting binary.
16653 hardcode_minus_L=$hardcode_minus_L_F77
16655 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16656 # the resulting binary.
16657 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16659 # Set to yes if building a shared library automatically hardcodes DIR into the library
16660 # and all subsequent libraries and executables linked against it.
16661 hardcode_automatic=$hardcode_automatic_F77
16663 # Variables whose values should be saved in libtool wrapper scripts and
16664 # restored at relink time.
16665 variables_saved_for_relink="$variables_saved_for_relink"
16667 # Whether libtool must link a program against all its dependency libraries.
16668 link_all_deplibs=$link_all_deplibs_F77
16670 # Compile-time system search path for libraries
16671 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16673 # Run-time system search path for libraries
16674 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16676 # Fix the shell variable \$srcfile for the compiler.
16677 fix_srcfile_path=$lt_fix_srcfile_path
16679 # Set to yes if exported symbols are required.
16680 always_export_symbols=$always_export_symbols_F77
16682 # The commands to list exported symbols.
16683 export_symbols_cmds=$lt_export_symbols_cmds_F77
16685 # The commands to extract the exported symbol list from a shared archive.
16686 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16688 # Symbols that should not be listed in the preloaded symbols.
16689 exclude_expsyms=$lt_exclude_expsyms_F77
16691 # Symbols that must always be exported.
16692 include_expsyms=$lt_include_expsyms_F77
16694 # ### END LIBTOOL TAG CONFIG: $tagname
16700 # If there is no Makefile yet, we rely on a make rule to execute
16701 # `config.status --recheck' to rerun these tests and create the
16702 # libtool script then.
16703 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16704 if test -f "$ltmain_in"; then
16705 test -f Makefile
&& make "$ltmain"
16711 ac_cpp
='$CPP $CPPFLAGS'
16712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16724 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16727 # Source file extension for Java test sources.
16730 # Object file extension for compiled Java test sources.
16734 # Code to be used in simple compile tests
16735 lt_simple_compile_test_code
="class foo {}"
16737 # Code to be used in simple link tests
16738 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16740 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16742 # If no C compiler was specified, use CC.
16745 # If no C compiler flags were specified, use CFLAGS.
16746 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16748 # Allow CC to be a program name with arguments.
16752 # save warnings/boilerplate of simple test code
16753 ac_outfile
=conftest.
$ac_objext
16754 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16755 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16756 _lt_compiler_boilerplate
=`cat conftest.err`
16759 ac_outfile
=conftest.
$ac_objext
16760 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16761 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16762 _lt_linker_boilerplate
=`cat conftest.err`
16766 # Allow CC to be a program name with arguments.
16771 for cc_temp
in $compiler""; do
16773 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16774 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16779 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16782 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16783 archive_cmds_need_lc_GCJ
=no
16785 old_archive_cmds_GCJ
=$old_archive_cmds
16788 lt_prog_compiler_no_builtin_flag_GCJ
=
16790 if test "$GCC" = yes; then
16791 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16794 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16795 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16796 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16797 echo $ECHO_N "(cached) $ECHO_C" >&6
16799 lt_cv_prog_compiler_rtti_exceptions
=no
16800 ac_outfile
=conftest.
$ac_objext
16801 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16802 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16803 # Insert the option either (1) after the last *FLAGS variable, or
16804 # (2) before a word containing "conftest.", or (3) at the end.
16805 # Note that $ac_compile itself does not contain backslashes and begins
16806 # with a dollar sign (not a hyphen), so the echo should work correctly.
16807 # The option is referenced via a variable to avoid confusing sed.
16808 lt_compile
=`echo "$ac_compile" | $SED \
16809 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16810 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16811 -e 's:$: $lt_compiler_flag:'`
16812 (eval echo "\"\$as_me:16812: $lt_compile\"" >&5)
16813 (eval "$lt_compile" 2>conftest.err
)
16815 cat conftest.err
>&5
16816 echo "$as_me:16816: \$? = $ac_status" >&5
16817 if (exit $ac_status) && test -s "$ac_outfile"; then
16818 # The compiler can only warn and ignore the option if not recognized
16819 # So say no if there are warnings other than the usual output.
16820 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16821 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16822 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16823 lt_cv_prog_compiler_rtti_exceptions
=yes
16829 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16830 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16832 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16833 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16840 lt_prog_compiler_wl_GCJ
=
16841 lt_prog_compiler_pic_GCJ
=
16842 lt_prog_compiler_static_GCJ
=
16844 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16845 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16847 if test "$GCC" = yes; then
16848 lt_prog_compiler_wl_GCJ
='-Wl,'
16849 lt_prog_compiler_static_GCJ
='-static'
16853 # All AIX code is PIC.
16854 if test "$host_cpu" = ia64
; then
16855 # AIX 5 now supports IA64 processor
16856 lt_prog_compiler_static_GCJ
='-Bstatic'
16861 # FIXME: we need at least 68020 code to build shared libraries, but
16862 # adding the `-m68020' flag to GCC prevents building anything better,
16864 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16867 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16868 # PIC is the default for these OSes.
16871 mingw
* | cygwin
* | pw32
* | os2
*)
16872 # This hack is so that the source file can tell whether it is being
16873 # built for inclusion in a dll (and should export symbols for example).
16874 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16875 # (--disable-auto-import) libraries
16879 darwin
* | rhapsody
*)
16880 # PIC is the default on this platform
16881 # Common symbols not allowed in MH_DYLIB files
16882 lt_prog_compiler_pic_GCJ
='-fno-common'
16886 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16887 # Instead, we relocate shared libraries at runtime.
16891 # Just because we use GCC doesn't mean we suddenly get shared libraries
16892 # on systems that don't support them.
16893 lt_prog_compiler_can_build_shared_GCJ
=no
16898 if test -d /usr
/nec
; then
16899 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16904 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16905 # not for PA HP-UX.
16911 lt_prog_compiler_pic_GCJ
='-fPIC'
16917 lt_prog_compiler_pic_GCJ
='-fPIC'
16921 # PORTME Check for flag to pass linker flags through the system compiler.
16924 lt_prog_compiler_wl_GCJ
='-Wl,'
16925 if test "$host_cpu" = ia64
; then
16926 # AIX 5 now supports IA64 processor
16927 lt_prog_compiler_static_GCJ
='-Bstatic'
16929 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16933 # PIC is the default on this platform
16934 # Common symbols not allowed in MH_DYLIB files
16935 case $cc_basename in
16937 lt_prog_compiler_pic_GCJ
='-qnocommon'
16938 lt_prog_compiler_wl_GCJ
='-Wl,'
16943 mingw
* | cygwin
* | pw32
* | os2
*)
16944 # This hack is so that the source file can tell whether it is being
16945 # built for inclusion in a dll (and should export symbols for example).
16949 hpux9
* | hpux10
* | hpux11
*)
16950 lt_prog_compiler_wl_GCJ
='-Wl,'
16951 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16952 # not for PA HP-UX.
16958 lt_prog_compiler_pic_GCJ
='+Z'
16961 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16962 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16965 irix5
* | irix6
* | nonstopux
*)
16966 lt_prog_compiler_wl_GCJ
='-Wl,'
16967 # PIC (with -KPIC) is the default.
16968 lt_prog_compiler_static_GCJ
='-non_shared'
16972 lt_prog_compiler_pic_GCJ
='-KPIC'
16973 lt_prog_compiler_static_GCJ
='-Bstatic'
16976 linux
* | k
*bsd
*-gnu)
16977 case $cc_basename in
16979 lt_prog_compiler_wl_GCJ
='-Wl,'
16980 lt_prog_compiler_pic_GCJ
='-KPIC'
16981 lt_prog_compiler_static_GCJ
='-static'
16983 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16984 # Portland Group compilers (*not* the Pentium gcc compiler,
16985 # which looks to be a dead project)
16986 lt_prog_compiler_wl_GCJ
='-Wl,'
16987 lt_prog_compiler_pic_GCJ
='-fpic'
16988 lt_prog_compiler_static_GCJ
='-Bstatic'
16991 lt_prog_compiler_wl_GCJ
='-Wl,'
16992 # All Alpha code is PIC.
16993 lt_prog_compiler_static_GCJ
='-non_shared'
16996 case `$CC -V 2>&1 | sed 5q` in
16999 lt_prog_compiler_pic_GCJ
='-KPIC'
17000 lt_prog_compiler_static_GCJ
='-Bstatic'
17001 lt_prog_compiler_wl_GCJ
='-Wl,'
17004 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17005 lt_prog_compiler_pic_GCJ
='-KPIC'
17006 lt_prog_compiler_static_GCJ
='-Bstatic'
17007 lt_prog_compiler_wl_GCJ
=''
17014 osf3
* | osf4
* | osf5
*)
17015 lt_prog_compiler_wl_GCJ
='-Wl,'
17016 # All OSF/1 code is PIC.
17017 lt_prog_compiler_static_GCJ
='-non_shared'
17021 lt_prog_compiler_static_GCJ
='-non_shared'
17025 lt_prog_compiler_pic_GCJ
='-KPIC'
17026 lt_prog_compiler_static_GCJ
='-Bstatic'
17027 case $cc_basename in
17028 f77
* | f90
* | f95
*)
17029 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17031 lt_prog_compiler_wl_GCJ
='-Wl,';;
17036 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17037 lt_prog_compiler_pic_GCJ
='-PIC'
17038 lt_prog_compiler_static_GCJ
='-Bstatic'
17041 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17042 lt_prog_compiler_wl_GCJ
='-Wl,'
17043 lt_prog_compiler_pic_GCJ
='-KPIC'
17044 lt_prog_compiler_static_GCJ
='-Bstatic'
17048 if test -d /usr
/nec
;then
17049 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17050 lt_prog_compiler_static_GCJ
='-Bstatic'
17054 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17055 lt_prog_compiler_wl_GCJ
='-Wl,'
17056 lt_prog_compiler_pic_GCJ
='-KPIC'
17057 lt_prog_compiler_static_GCJ
='-Bstatic'
17061 lt_prog_compiler_wl_GCJ
='-Wl,'
17062 lt_prog_compiler_can_build_shared_GCJ
=no
17066 lt_prog_compiler_pic_GCJ
='-pic'
17067 lt_prog_compiler_static_GCJ
='-Bstatic'
17071 lt_prog_compiler_can_build_shared_GCJ
=no
17076 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17077 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17080 # Check to make sure the PIC flag actually works.
17082 if test -n "$lt_prog_compiler_pic_GCJ"; then
17084 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17085 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17086 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17087 echo $ECHO_N "(cached) $ECHO_C" >&6
17089 lt_cv_prog_compiler_pic_works_GCJ
=no
17090 ac_outfile
=conftest.
$ac_objext
17091 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17092 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17093 # Insert the option either (1) after the last *FLAGS variable, or
17094 # (2) before a word containing "conftest.", or (3) at the end.
17095 # Note that $ac_compile itself does not contain backslashes and begins
17096 # with a dollar sign (not a hyphen), so the echo should work correctly.
17097 # The option is referenced via a variable to avoid confusing sed.
17098 lt_compile
=`echo "$ac_compile" | $SED \
17099 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17101 -e 's:$: $lt_compiler_flag:'`
17102 (eval echo "\"\$as_me:17102: $lt_compile\"" >&5)
17103 (eval "$lt_compile" 2>conftest.err
)
17105 cat conftest.err
>&5
17106 echo "$as_me:17106: \$? = $ac_status" >&5
17107 if (exit $ac_status) && test -s "$ac_outfile"; then
17108 # The compiler can only warn and ignore the option if not recognized
17109 # So say no if there are warnings other than the usual output.
17110 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17111 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17112 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17113 lt_cv_prog_compiler_pic_works_GCJ
=yes
17119 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17120 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17122 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17123 case $lt_prog_compiler_pic_GCJ in
17125 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17128 lt_prog_compiler_pic_GCJ
=
17129 lt_prog_compiler_can_build_shared_GCJ
=no
17134 # For platforms which do not support PIC, -DPIC is meaningless:
17136 lt_prog_compiler_pic_GCJ
=
17139 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17144 # Check to make sure the static flag actually works.
17146 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17147 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17148 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17149 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17150 echo $ECHO_N "(cached) $ECHO_C" >&6
17152 lt_cv_prog_compiler_static_works_GCJ
=no
17153 save_LDFLAGS
="$LDFLAGS"
17154 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17155 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17156 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17157 # The linker can only warn and ignore the option if not recognized
17158 # So say no if there are warnings
17159 if test -s conftest.err
; then
17160 # Append any errors to the config.log.
17161 cat conftest.err
1>&5
17162 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17163 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17164 if diff conftest.exp conftest.er2
>/dev
/null
; then
17165 lt_cv_prog_compiler_static_works_GCJ
=yes
17168 lt_cv_prog_compiler_static_works_GCJ
=yes
17172 LDFLAGS
="$save_LDFLAGS"
17175 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17176 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17178 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17181 lt_prog_compiler_static_GCJ
=
17185 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17186 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17187 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17188 echo $ECHO_N "(cached) $ECHO_C" >&6
17190 lt_cv_prog_compiler_c_o_GCJ
=no
17191 $rm -r conftest
2>/dev
/null
17195 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17197 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17198 # Insert the option either (1) after the last *FLAGS variable, or
17199 # (2) before a word containing "conftest.", or (3) at the end.
17200 # Note that $ac_compile itself does not contain backslashes and begins
17201 # with a dollar sign (not a hyphen), so the echo should work correctly.
17202 lt_compile
=`echo "$ac_compile" | $SED \
17203 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17204 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17205 -e 's:$: $lt_compiler_flag:'`
17206 (eval echo "\"\$as_me:17206: $lt_compile\"" >&5)
17207 (eval "$lt_compile" 2>out
/conftest.err
)
17209 cat out
/conftest.err
>&5
17210 echo "$as_me:17210: \$? = $ac_status" >&5
17211 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17213 # The compiler can only warn and ignore the option if not recognized
17214 # So say no if there are warnings
17215 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17216 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17217 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17218 lt_cv_prog_compiler_c_o_GCJ
=yes
17223 # SGI C++ compiler will create directory out/ii_files/ for
17224 # template instantiation
17225 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17226 $rm out
/* && rmdir out
17232 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17233 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17236 hard_links
="nottested"
17237 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17238 # do not overwrite the value of need_locks provided by the user
17239 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17240 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17243 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17245 ln conftest.a conftest.b
2>&5 || hard_links
=no
17246 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17247 { echo "$as_me:$LINENO: result: $hard_links" >&5
17248 echo "${ECHO_T}$hard_links" >&6; }
17249 if test "$hard_links" = no
; then
17250 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17251 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17258 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17259 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17262 allow_undefined_flag_GCJ
=
17263 enable_shared_with_static_runtimes_GCJ
=no
17265 archive_expsym_cmds_GCJ
=
17266 old_archive_From_new_cmds_GCJ
=
17267 old_archive_from_expsyms_cmds_GCJ
=
17268 export_dynamic_flag_spec_GCJ
=
17269 whole_archive_flag_spec_GCJ
=
17270 thread_safe_flag_spec_GCJ
=
17271 hardcode_libdir_flag_spec_GCJ
=
17272 hardcode_libdir_flag_spec_ld_GCJ
=
17273 hardcode_libdir_separator_GCJ
=
17274 hardcode_direct_GCJ
=no
17275 hardcode_minus_L_GCJ
=no
17276 hardcode_shlibpath_var_GCJ
=unsupported
17277 link_all_deplibs_GCJ
=unknown
17278 hardcode_automatic_GCJ
=no
17280 module_expsym_cmds_GCJ
=
17281 always_export_symbols_GCJ
=no
17282 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17283 # include_expsyms should be a list of space-separated symbols to be *always*
17284 # included in the symbol list
17285 include_expsyms_GCJ
=
17286 # exclude_expsyms can be an extended regexp of symbols to exclude
17287 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17288 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17289 # as well as any symbol that contains `d'.
17290 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17291 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17292 # platforms (ab)use it in PIC code, but their linkers get confused if
17293 # the symbol is explicitly referenced. Since portable code cannot
17294 # rely on this symbol name, it's probably fine to never include it in
17295 # preloaded symbol tables.
17296 # Exclude shared library initialization/finalization symbols.
17297 extract_expsyms_cmds
=
17298 # Just being paranoid about ensuring that cc_basename is set.
17299 for cc_temp
in $compiler""; do
17301 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17302 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17307 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17310 cygwin
* | mingw
* | pw32
*)
17311 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17312 # When not using gcc, we currently assume that we are using
17313 # Microsoft Visual C++.
17314 if test "$GCC" != yes; then
17319 # we just hope/assume this is gcc and not c89 (= MSVC++)
17328 if test "$with_gnu_ld" = yes; then
17329 # If archive_cmds runs LD, not CC, wlarc should be empty
17332 # Set some defaults for GNU ld with shared library support. These
17333 # are reset later if shared libraries are not supported. Putting them
17334 # here allows them to be overridden if necessary.
17335 runpath_var
=LD_RUN_PATH
17336 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17337 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17338 # ancient GNU ld didn't support --whole-archive et. al.
17339 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17340 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17342 whole_archive_flag_spec_GCJ
=
17344 supports_anon_versioning
=no
17345 case `$LD -v 2>/dev/null` in
17346 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17347 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17348 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17349 *\
2.11.
*) ;; # other 2.11 versions
17350 *) supports_anon_versioning
=yes ;;
17353 # See if GNU ld supports shared libraries.
17356 # On AIX/PPC, the GNU linker is very broken
17357 if test "$host_cpu" != ia64
; then
17361 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17362 *** to be unable to reliably create shared libraries on AIX.
17363 *** Therefore, libtool is disabling shared libraries support. If you
17364 *** really care for shared libraries, you may want to modify your PATH
17365 *** so that a non-GNU linker is found, and then restart.
17372 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)'
17373 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17374 hardcode_minus_L_GCJ
=yes
17376 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17377 # that the semantics of dynamic libraries on AmigaOS, at least up
17378 # to version 4, is to share data among multiple programs linked
17379 # with the same dynamic library. Since this doesn't match the
17380 # behavior of shared libraries on other platforms, we can't use
17386 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17387 allow_undefined_flag_GCJ
=unsupported
17388 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17389 # support --undefined. This deserves some investigation. FIXME
17390 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17396 cygwin
* | mingw
* | pw32
*)
17397 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17398 # as there is no search path for DLLs.
17399 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17400 allow_undefined_flag_GCJ
=unsupported
17401 always_export_symbols_GCJ
=no
17402 enable_shared_with_static_runtimes_GCJ
=yes
17403 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17405 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17406 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17407 # If the export-symbols file already is a .def file (1st line
17408 # is EXPORTS), use it as is; otherwise, prepend...
17409 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17410 cp $export_symbols $output_objdir/$soname.def;
17412 echo EXPORTS > $output_objdir/$soname.def;
17413 cat $export_symbols >> $output_objdir/$soname.def;
17415 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17422 hardcode_direct_GCJ
=no
17423 hardcode_shlibpath_var_GCJ
=no
17424 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17425 export_dynamic_flag_spec_GCJ
='${wl}-E'
17426 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17427 # Instead, shared libraries are loaded at an image base (0x10000000 by
17428 # default) and relocated if they conflict, which is a slow very memory
17429 # consuming and fragmenting process. To avoid this, we pick a random,
17430 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17431 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17432 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17433 archive_expsym_cmds_GCJ
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17436 gnu
* | linux
* | k
*bsd
*-gnu)
17437 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17439 case $cc_basename,$host_cpu in
17440 pgcc
*) # Portland Group C compiler
17441 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'
17442 tmp_addflag
=' $pic_flag'
17444 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17445 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'
17446 tmp_addflag
=' $pic_flag -Mnomain' ;;
17447 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17448 tmp_addflag
=' -i_dynamic' ;;
17449 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17450 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17451 ifc
* | ifort
*) # Intel Fortran compiler
17452 tmp_addflag
=' -nofor_main' ;;
17454 case `$CC -V 2>&1 | sed 5q` in
17455 *Sun\ C
*) # Sun C 5.9
17456 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17457 tmp_sharedflag
='-G' ;;
17458 *Sun\ F
*) # Sun Fortran 8.3
17459 tmp_sharedflag
='-G' ;;
17461 tmp_sharedflag
='-shared' ;;
17463 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17465 if test $supports_anon_versioning = yes; then
17466 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17467 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17468 $echo "local: *; };" >> $output_objdir/$libname.ver~
17469 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17477 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17478 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17481 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17482 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17487 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17491 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17492 *** create shared libraries on Solaris systems. Therefore, libtool
17493 *** is disabling shared libraries support. We urge you to upgrade GNU
17494 *** binutils to release 2.9.1 or newer. Another option is to modify
17495 *** your PATH or compiler configuration so that the native linker is
17496 *** used, and then restart.
17499 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17500 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17501 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17507 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17508 case `$LD -v 2>&1` in
17509 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17513 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17514 *** reliably create shared libraries on SCO systems. Therefore, libtool
17515 *** is disabling shared libraries support. We urge you to upgrade GNU
17516 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17517 *** your PATH or compiler configuration so that the native linker is
17518 *** used, and then restart.
17523 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17524 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17525 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17526 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17535 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17537 hardcode_direct_GCJ
=yes
17538 hardcode_shlibpath_var_GCJ
=no
17542 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17543 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17544 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17551 if test "$ld_shlibs_GCJ" = no
; then
17553 hardcode_libdir_flag_spec_GCJ
=
17554 export_dynamic_flag_spec_GCJ
=
17555 whole_archive_flag_spec_GCJ
=
17558 # PORTME fill in a description of your system's linker (not GNU ld)
17561 allow_undefined_flag_GCJ
=unsupported
17562 always_export_symbols_GCJ
=yes
17563 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'
17564 # Note: this linker hardcodes the directories in LIBPATH if there
17565 # are no directories specified by -L.
17566 hardcode_minus_L_GCJ
=yes
17567 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17568 # Neither direct hardcoding nor static linking is supported with a
17570 hardcode_direct_GCJ
=unsupported
17575 if test "$host_cpu" = ia64
; then
17576 # On IA64, the linker does run time linking by default, so we don't
17577 # have to do anything special.
17578 aix_use_runtimelinking
=no
17579 exp_sym_flag
='-Bexport'
17582 # If we're using GNU nm, then we don't want the "-C" option.
17583 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17584 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17585 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'
17587 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'
17589 aix_use_runtimelinking
=no
17591 # Test if we are trying to use run time linking or normal
17592 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17593 # need to do runtime linking.
17594 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17595 for ld_flag
in $LDFLAGS; do
17596 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17597 aix_use_runtimelinking
=yes
17604 exp_sym_flag
='-bexport'
17605 no_entry_flag
='-bnoentry'
17608 # When large executables or shared objects are built, AIX ld can
17609 # have problems creating the table of contents. If linking a library
17610 # or program results in "error TOC overflow" add -mminimal-toc to
17611 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17612 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17614 archive_cmds_GCJ
=''
17615 hardcode_direct_GCJ
=yes
17616 hardcode_libdir_separator_GCJ
=':'
17617 link_all_deplibs_GCJ
=yes
17619 if test "$GCC" = yes; then
17620 case $host_os in aix4.
[012]|aix4.
[012].
*)
17621 # We only want to do this on AIX 4.2 and lower, the check
17622 # below for broken collect2 doesn't work under 4.3+
17623 collect2name
=`${CC} -print-prog-name=collect2`
17624 if test -f "$collect2name" && \
17625 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17627 # We have reworked collect2
17630 # We have old collect2
17631 hardcode_direct_GCJ
=unsupported
17632 # It fails to find uninstalled libraries when the uninstalled
17633 # path is not listed in the libpath. Setting hardcode_minus_L
17634 # to unsupported forces relinking
17635 hardcode_minus_L_GCJ
=yes
17636 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17637 hardcode_libdir_separator_GCJ
=
17641 shared_flag
='-shared'
17642 if test "$aix_use_runtimelinking" = yes; then
17643 shared_flag
="$shared_flag "'${wl}-G'
17647 if test "$host_cpu" = ia64
; then
17648 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17649 # chokes on -Wl,-G. The following line is correct:
17652 if test "$aix_use_runtimelinking" = yes; then
17653 shared_flag
='${wl}-G'
17655 shared_flag
='${wl}-bM:SRE'
17660 # It seems that -bexpall does not export symbols beginning with
17661 # underscore (_), so it is better to generate a list of symbols to export.
17662 always_export_symbols_GCJ
=yes
17663 if test "$aix_use_runtimelinking" = yes; then
17664 # Warning - without using the other runtime loading flags (-brtl),
17665 # -berok will link without error, but may produce a broken library.
17666 allow_undefined_flag_GCJ
='-berok'
17667 # Determine the default libpath from the value encoded in an empty executable.
17668 cat >conftest.
$ac_ext <<_ACEOF
17671 cat confdefs.h
>>conftest.
$ac_ext
17672 cat >>conftest.
$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17683 rm -f conftest.
$ac_objext conftest
$ac_exeext
17684 if { (ac_try
="$ac_link"
17685 case "(($ac_try" in
17686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17687 *) ac_try_echo=$ac_try;;
17689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17690 (eval "$ac_link") 2>conftest.er1
17692 grep -v '^ *+' conftest.er1 >conftest.err
17694 cat conftest.err >&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } && {
17697 test -z "$ac_c_werror_flag" ||
17698 test ! -s conftest.err
17699 } && test -s conftest$ac_exeext &&
17700 $as_test_x conftest$ac_exeext; then
17702 lt_aix_libpath_sed='
17703 /Import File Strings/,/^$/ {
17709 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17710 # Check for a 64-bit object if we didn't find anything.
17711 if test -z "$aix_libpath"; then
17712 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.$ac_ext >&5
17721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17722 conftest$ac_exeext conftest.$ac_ext
17723 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17725 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17726 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17728 if test "$host_cpu" = ia64; then
17729 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17730 allow_undefined_flag_GCJ="-z nodefs"
17731 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17733 # Determine the default libpath from the value encoded in an empty executable.
17734 cat >conftest.$ac_ext <<_ACEOF
17737 cat confdefs.h >>conftest.$ac_ext
17738 cat >>conftest.$ac_ext <<_ACEOF
17739 /* end confdefs.h. */
17749 rm -f conftest.$ac_objext conftest$ac_exeext
17750 if { (ac_try="$ac_link"
17751 case "(($ac_try" in
17752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17753 *) ac_try_echo
=$ac_try;;
17755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17756 (eval "$ac_link") 2>conftest.er1
17758 grep -v '^ *+' conftest.er1
>conftest.err
17760 cat conftest.err
>&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } && {
17763 test -z "$ac_c_werror_flag" ||
17764 test ! -s conftest.err
17765 } && test -s conftest
$ac_exeext &&
17766 $as_test_x conftest
$ac_exeext; then
17768 lt_aix_libpath_sed
='
17769 /Import File Strings/,/^$/ {
17775 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17776 # Check for a 64-bit object if we didn't find anything.
17777 if test -z "$aix_libpath"; then
17778 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17781 echo "$as_me: failed program was:" >&5
17782 sed 's/^/| /' conftest.
$ac_ext >&5
17787 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17788 conftest
$ac_exeext conftest.
$ac_ext
17789 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17791 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17792 # Warning - without using the other run time loading flags,
17793 # -berok will link without error, but may produce a broken library.
17794 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17795 allow_undefined_flag_GCJ
=' ${wl}-berok'
17796 # Exported symbols can be pulled into shared objects from archives
17797 whole_archive_flag_spec_GCJ
='$convenience'
17798 archive_cmds_need_lc_GCJ
=yes
17799 # This is similar to how AIX traditionally builds its shared libraries.
17800 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17806 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)'
17807 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17808 hardcode_minus_L_GCJ
=yes
17809 # see comment about different semantics on the GNU ld section
17814 export_dynamic_flag_spec_GCJ
=-rdynamic
17817 cygwin
* | mingw
* | pw32
*)
17818 # When not using gcc, we currently assume that we are using
17819 # Microsoft Visual C++.
17820 # hardcode_libdir_flag_spec is actually meaningless, as there is
17821 # no search path for DLLs.
17822 hardcode_libdir_flag_spec_GCJ
=' '
17823 allow_undefined_flag_GCJ
=unsupported
17824 # Tell ltmain to make .lib files, not .a files.
17826 # Tell ltmain to make .dll files, not .so files.
17828 # FIXME: Setting linknames here is a bad hack.
17829 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17830 # The linker will automatically build a .lib file if we build a DLL.
17831 old_archive_From_new_cmds_GCJ
='true'
17832 # FIXME: Should let the user specify the lib program.
17833 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17834 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17835 enable_shared_with_static_runtimes_GCJ
=yes
17838 darwin
* | rhapsody
*)
17840 rhapsody
* | darwin1.
[012])
17841 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17844 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17845 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17847 case ${MACOSX_DEPLOYMENT_TARGET} in
17849 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17852 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17858 archive_cmds_need_lc_GCJ
=no
17859 hardcode_direct_GCJ
=no
17860 hardcode_automatic_GCJ
=yes
17861 hardcode_shlibpath_var_GCJ
=unsupported
17862 whole_archive_flag_spec_GCJ
=''
17863 link_all_deplibs_GCJ
=yes
17864 if test "$GCC" = yes ; then
17865 output_verbose_link_cmd
='echo'
17866 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17867 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17868 archive_expsym_cmds_GCJ
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17869 module_expsym_cmds_GCJ
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17871 case $cc_basename in
17873 output_verbose_link_cmd
='echo'
17874 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17875 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17876 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17877 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17878 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}'
17888 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17889 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17890 hardcode_shlibpath_var_GCJ
=no
17897 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17898 # support. Future versions do this automatically, but an explicit c++rt0.o
17899 # does not break anything, and helps significantly (at the cost of a little
17902 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17903 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17904 hardcode_direct_GCJ
=yes
17905 hardcode_shlibpath_var_GCJ
=no
17908 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17910 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17911 hardcode_direct_GCJ
=yes
17912 hardcode_minus_L_GCJ
=yes
17913 hardcode_shlibpath_var_GCJ
=no
17916 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17917 freebsd
* | dragonfly
*)
17918 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17919 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17920 hardcode_direct_GCJ
=yes
17921 hardcode_shlibpath_var_GCJ
=no
17925 if test "$GCC" = yes; then
17926 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'
17928 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'
17930 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17931 hardcode_libdir_separator_GCJ
=:
17932 hardcode_direct_GCJ
=yes
17934 # hardcode_minus_L: Not really in the search PATH,
17935 # but as the default location of the library.
17936 hardcode_minus_L_GCJ
=yes
17937 export_dynamic_flag_spec_GCJ
='${wl}-E'
17941 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17942 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17944 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17946 if test "$with_gnu_ld" = no
; then
17947 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17948 hardcode_libdir_separator_GCJ
=:
17950 hardcode_direct_GCJ
=yes
17951 export_dynamic_flag_spec_GCJ
='${wl}-E'
17953 # hardcode_minus_L: Not really in the search PATH,
17954 # but as the default location of the library.
17955 hardcode_minus_L_GCJ
=yes
17960 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17963 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17966 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17969 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17975 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17978 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17981 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17985 if test "$with_gnu_ld" = no
; then
17986 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17987 hardcode_libdir_separator_GCJ
=:
17991 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17992 hardcode_direct_GCJ
=no
17993 hardcode_shlibpath_var_GCJ
=no
17996 hardcode_direct_GCJ
=yes
17997 export_dynamic_flag_spec_GCJ
='${wl}-E'
17999 # hardcode_minus_L: Not really in the search PATH,
18000 # but as the default location of the library.
18001 hardcode_minus_L_GCJ
=yes
18007 irix5
* | irix6
* | nonstopux
*)
18008 if test "$GCC" = yes; then
18009 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'
18011 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'
18012 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18014 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18015 hardcode_libdir_separator_GCJ
=:
18016 link_all_deplibs_GCJ
=yes
18020 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18021 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18023 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18025 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18026 hardcode_direct_GCJ
=yes
18027 hardcode_shlibpath_var_GCJ
=no
18031 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18032 hardcode_direct_GCJ
=yes
18033 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18034 hardcode_libdir_separator_GCJ
=:
18035 hardcode_shlibpath_var_GCJ
=no
18039 if test -f /usr
/libexec
/ld.so
; then
18040 hardcode_direct_GCJ
=yes
18041 hardcode_shlibpath_var_GCJ
=no
18042 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18043 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18044 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18045 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18046 export_dynamic_flag_spec_GCJ
='${wl}-E'
18049 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18050 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18051 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18054 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18055 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18065 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18066 hardcode_minus_L_GCJ
=yes
18067 allow_undefined_flag_GCJ
=unsupported
18068 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'
18069 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18073 if test "$GCC" = yes; then
18074 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18075 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'
18077 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18078 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'
18080 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18081 hardcode_libdir_separator_GCJ
=:
18084 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18085 if test "$GCC" = yes; then
18086 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18087 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'
18088 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18090 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18091 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'
18092 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~
18093 $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'
18095 # Both c and cxx compiler support -rpath directly
18096 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18098 hardcode_libdir_separator_GCJ
=:
18102 no_undefined_flag_GCJ
=' -z text'
18103 if test "$GCC" = yes; then
18105 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18106 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18107 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18110 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18111 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18112 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18114 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18115 hardcode_shlibpath_var_GCJ
=no
18117 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18119 # The compiler driver will combine and reorder linker options,
18120 # but understands `-z linker_flag'. GCC discards it without `$wl',
18121 # but is careful enough not to reorder.
18122 # Supported since Solaris 2.6 (maybe 2.5.1?)
18123 if test "$GCC" = yes; then
18124 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18126 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18130 link_all_deplibs_GCJ
=yes
18134 if test "x$host_vendor" = xsequent
; then
18135 # Use $CC to link under sequent, because it throws in some extra .o
18136 # files that make .init and .fini sections work.
18137 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18139 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18141 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18142 hardcode_direct_GCJ
=yes
18143 hardcode_minus_L_GCJ
=yes
18144 hardcode_shlibpath_var_GCJ
=no
18148 case $host_vendor in
18150 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18151 hardcode_direct_GCJ
=yes # is this really true???
18154 ## LD is ld it makes a PLAMLIB
18155 ## CC just makes a GrossModule.
18156 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18157 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18158 hardcode_direct_GCJ
=no
18161 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18162 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18165 runpath_var
='LD_RUN_PATH'
18166 hardcode_shlibpath_var_GCJ
=no
18170 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18171 hardcode_shlibpath_var_GCJ
=no
18172 export_dynamic_flag_spec_GCJ
='-Bexport'
18176 if test -d /usr
/nec
; then
18177 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18178 hardcode_shlibpath_var_GCJ
=no
18179 runpath_var
=LD_RUN_PATH
18180 hardcode_runpath_var
=yes
18185 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18186 no_undefined_flag_GCJ
='${wl}-z,text'
18187 archive_cmds_need_lc_GCJ
=no
18188 hardcode_shlibpath_var_GCJ
=no
18189 runpath_var
='LD_RUN_PATH'
18191 if test "$GCC" = yes; then
18192 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18193 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18195 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18196 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18200 sysv5
* | sco3.2v5
* | sco5v6
*)
18201 # Note: We can NOT use -z defs as we might desire, because we do not
18202 # link with -lc, and that would cause any symbols used from libc to
18203 # always be unresolved, which means just about no library would
18204 # ever link correctly. If we're not using GNU ld we use -z text
18205 # though, which does catch some bad symbols but isn't as heavy-handed
18207 no_undefined_flag_GCJ
='${wl}-z,text'
18208 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18209 archive_cmds_need_lc_GCJ
=no
18210 hardcode_shlibpath_var_GCJ
=no
18211 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18212 hardcode_libdir_separator_GCJ
=':'
18213 link_all_deplibs_GCJ
=yes
18214 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18215 runpath_var
='LD_RUN_PATH'
18217 if test "$GCC" = yes; then
18218 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18219 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18221 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18222 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18227 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18228 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18229 hardcode_shlibpath_var_GCJ
=no
18238 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18239 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18240 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18243 # Do we need to explicitly link libc?
18245 case "x$archive_cmds_need_lc_GCJ" in
18247 # Assume -lc should be added
18248 archive_cmds_need_lc_GCJ
=yes
18250 if test "$enable_shared" = yes && test "$GCC" = yes; then
18251 case $archive_cmds_GCJ in
18253 # FIXME: we may have to deal with multi-command sequences.
18256 # Test whether the compiler implicitly links with -lc since on some
18257 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18258 # to ld, don't add -lc before -lgcc.
18259 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18260 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18262 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18265 (eval $ac_compile) 2>&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); } 2>conftest.err
; then
18271 libobjs
=conftest.
$ac_objext
18273 wl
=$lt_prog_compiler_wl_GCJ
18274 pic_flag
=$lt_prog_compiler_pic_GCJ
18280 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18281 allow_undefined_flag_GCJ
=
18282 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18283 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }
18288 archive_cmds_need_lc_GCJ
=no
18290 archive_cmds_need_lc_GCJ
=yes
18292 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18294 cat conftest.err
1>&5
18297 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18298 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18305 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18306 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18307 library_names_spec
=
18308 libname_spec
='lib$name'
18312 postuninstall_cmds
=
18316 shlibpath_overrides_runpath
=unknown
18318 dynamic_linker
="$host_os ld.so"
18319 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18321 need_lib_prefix
=unknown
18322 hardcode_into_libs
=no
18324 # when you set need_version to no, make sure it does not cause -set_version
18325 # flags to be left without arguments
18326 need_version
=unknown
18331 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18332 shlibpath_var
=LIBPATH
18334 # AIX 3 has no versioning support, so we append a major version to the name.
18335 soname_spec
='${libname}${release}${shared_ext}$major'
18342 hardcode_into_libs
=yes
18343 if test "$host_cpu" = ia64
; then
18344 # AIX 5 supports IA64
18345 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18346 shlibpath_var
=LD_LIBRARY_PATH
18348 # With GCC up to 2.95.x, collect2 would create an import file
18349 # for dependence libraries. The import file would start with
18350 # the line `#! .'. This would cause the generated library to
18351 # depend on `.', always an invalid library. This was fixed in
18352 # development snapshots of GCC prior to 3.0.
18354 aix4 | aix4.
[01] | aix4.
[01].
*)
18355 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18357 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18360 can_build_shared
=no
18364 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18365 # soname into executable. Probably we can add versioning support to
18366 # collect2, so additional links can be useful in future.
18367 if test "$aix_use_runtimelinking" = yes; then
18368 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18369 # instead of lib<name>.a to let people know that these are not
18370 # typical AIX shared libraries.
18371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18373 # We preserve .a as extension for shared libraries through AIX4.2
18374 # and later when we are not doing run time linking.
18375 library_names_spec
='${libname}${release}.a $libname.a'
18376 soname_spec
='${libname}${release}${shared_ext}$major'
18378 shlibpath_var
=LIBPATH
18383 library_names_spec
='$libname.ixlibrary $libname.a'
18384 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18385 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'
18389 library_names_spec
='${libname}${shared_ext}'
18390 dynamic_linker
="$host_os ld.so"
18391 shlibpath_var
=LIBRARY_PATH
18397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18398 soname_spec
='${libname}${release}${shared_ext}$major'
18399 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18400 shlibpath_var
=LD_LIBRARY_PATH
18401 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18402 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18403 # the default ld.so.conf also contains /usr/contrib/lib and
18404 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18405 # libtool to hard-code these into programs
18408 cygwin
* | mingw
* | pw32
*)
18409 version_type
=windows
18414 case $GCC,$host_os in
18415 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18416 library_names_spec
='$libname.dll.a'
18417 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18418 postinstall_cmds
='base_file=`basename \${file}`~
18419 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18420 dldir=$destdir/`dirname \$dlpath`~
18421 test -d \$dldir || mkdir -p \$dldir~
18422 $install_prog $dir/$dlname \$dldir/$dlname~
18423 chmod a+x \$dldir/$dlname'
18424 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18425 dlpath=$dir/\$dldll~
18427 shlibpath_overrides_runpath
=yes
18431 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18432 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18433 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18436 # MinGW DLLs use traditional 'lib' prefix
18437 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18438 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18439 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18440 # It is most probably a Windows format PATH printed by
18441 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18442 # path with ; separators, and with drive letters. We can handle the
18443 # drive letters (cygwin fileutils understands them), so leave them,
18444 # especially as we might pass files found there to a mingw objdump,
18445 # which wouldn't understand a cygwinified path. Ahh.
18446 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18448 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18452 # pw32 DLLs use 'pw' prefix rather than 'lib'
18453 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18459 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18462 dynamic_linker
='Win32 ld.exe'
18463 # FIXME: first we should search . and the directory the executable is in
18467 darwin
* | rhapsody
*)
18468 dynamic_linker
="$host_os dyld"
18469 version_type
=darwin
18472 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18473 soname_spec
='${libname}${release}${major}$shared_ext'
18474 shlibpath_overrides_runpath
=yes
18475 shlibpath_var
=DYLD_LIBRARY_PATH
18476 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18478 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18486 soname_spec
='${libname}${release}${shared_ext}$major'
18487 shlibpath_var
=LD_LIBRARY_PATH
18494 freebsd
* | dragonfly
*)
18495 # DragonFly does not have aout. When/if they implement a new
18496 # versioning mechanism, adjust this.
18497 if test -x /usr
/bin
/objformat
; then
18498 objformat
=`/usr/bin/objformat`
18501 freebsd
[123]*) objformat
=aout
;;
18502 *) objformat
=elf
;;
18505 version_type
=freebsd-
$objformat
18506 case $version_type in
18508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18513 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18517 shlibpath_var
=LD_LIBRARY_PATH
18520 shlibpath_overrides_runpath
=yes
18522 freebsd3.
[01]* | freebsdelf3.
[01]*)
18523 shlibpath_overrides_runpath
=yes
18524 hardcode_into_libs
=yes
18526 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18527 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18528 shlibpath_overrides_runpath
=no
18529 hardcode_into_libs
=yes
18531 *) # from 4.6 on, and DragonFly
18532 shlibpath_overrides_runpath
=yes
18533 hardcode_into_libs
=yes
18542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18543 soname_spec
='${libname}${release}${shared_ext}$major'
18544 shlibpath_var
=LD_LIBRARY_PATH
18545 hardcode_into_libs
=yes
18548 hpux9
* | hpux10
* | hpux11
*)
18549 # Give a soname corresponding to the major version so that dld.sl refuses to
18550 # link against other versions.
18557 hardcode_into_libs
=yes
18558 dynamic_linker
="$host_os dld.so"
18559 shlibpath_var
=LD_LIBRARY_PATH
18560 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18562 soname_spec
='${libname}${release}${shared_ext}$major'
18563 if test "X$HPUX_IA64_MODE" = X32
; then
18564 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18566 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18568 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18572 hardcode_into_libs
=yes
18573 dynamic_linker
="$host_os dld.sl"
18574 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18575 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18577 soname_spec
='${libname}${release}${shared_ext}$major'
18578 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18579 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18583 dynamic_linker
="$host_os dld.sl"
18584 shlibpath_var
=SHLIB_PATH
18585 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18587 soname_spec
='${libname}${release}${shared_ext}$major'
18590 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18591 postinstall_cmds
='chmod 555 $lib'
18598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18599 soname_spec
='${libname}${release}${shared_ext}$major'
18600 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18601 shlibpath_var
=LD_LIBRARY_PATH
18602 shlibpath_overrides_runpath
=no
18603 hardcode_into_libs
=yes
18606 irix5
* | irix6
* | nonstopux
*)
18608 nonstopux
*) version_type
=nonstopux
;;
18610 if test "$lt_cv_prog_gnu_ld" = yes; then
18618 soname_spec
='${libname}${release}${shared_ext}$major'
18619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18621 irix5
* | nonstopux
*)
18622 libsuff
= shlibsuff
=
18625 case $LD in # libtool.m4 will add one of these switches to LD
18626 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18627 libsuff
= shlibsuff
= libmagic
=32-bit;;
18628 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18629 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18630 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18631 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18632 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18636 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18637 shlibpath_overrides_runpath
=no
18638 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18639 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18640 hardcode_into_libs
=yes
18643 # No shared lib support for Linux oldld, aout, or coff.
18644 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18648 # This must be Linux ELF.
18649 linux
* | k
*bsd
*-gnu)
18653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18654 soname_spec
='${libname}${release}${shared_ext}$major'
18655 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18656 shlibpath_var
=LD_LIBRARY_PATH
18657 shlibpath_overrides_runpath
=no
18658 # This implies no fast_install, which is unacceptable.
18659 # Some rework will be needed to allow for fast_install
18660 # before this can be enabled.
18661 hardcode_into_libs
=yes
18663 # Append ld.so.conf contents to the search path
18664 if test -f /etc
/ld.so.conf
; then
18665 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18666 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18669 # We used to test for /lib/ld.so.1 and disable shared libraries on
18670 # powerpc, because MkLinux only supported shared libraries with the
18671 # GNU dynamic linker. Since this was broken with cross compilers,
18672 # most powerpc-linux boxes support dynamic linking these days and
18673 # people can always --disable-shared, the test was removed, and we
18674 # assume the GNU/Linux dynamic linker is in use.
18675 dynamic_linker
='GNU/Linux ld.so'
18682 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18684 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18685 dynamic_linker
='NetBSD (a.out) ld.so'
18687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18688 soname_spec
='${libname}${release}${shared_ext}$major'
18689 dynamic_linker
='NetBSD ld.elf_so'
18691 shlibpath_var
=LD_LIBRARY_PATH
18692 shlibpath_overrides_runpath
=yes
18693 hardcode_into_libs
=yes
18698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18699 shlibpath_var
=LD_LIBRARY_PATH
18700 shlibpath_overrides_runpath
=yes
18707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18708 soname_spec
='${libname}${release}${shared_ext}$major'
18709 shlibpath_var
=LD_LIBRARY_PATH
18710 shlibpath_overrides_runpath
=yes
18715 sys_lib_dlsearch_path_spec
="/usr/lib"
18717 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18719 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18720 *) need_version
=no
;;
18722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18723 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18724 shlibpath_var
=LD_LIBRARY_PATH
18725 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18727 openbsd2.
[89] | openbsd2.
[89].
*)
18728 shlibpath_overrides_runpath
=no
18731 shlibpath_overrides_runpath
=yes
18735 shlibpath_overrides_runpath
=yes
18740 libname_spec
='$name'
18743 library_names_spec
='$libname${shared_ext} $libname.a'
18744 dynamic_linker
='OS/2 ld.exe'
18745 shlibpath_var
=LIBPATH
18748 osf3
* | osf4
* | osf5
*)
18752 soname_spec
='${libname}${release}${shared_ext}$major'
18753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18754 shlibpath_var
=LD_LIBRARY_PATH
18755 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18756 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18768 soname_spec
='${libname}${release}${shared_ext}$major'
18769 shlibpath_var
=LD_LIBRARY_PATH
18770 shlibpath_overrides_runpath
=yes
18771 hardcode_into_libs
=yes
18772 # ldd complains unless libraries are executable
18773 postinstall_cmds
='chmod +x $lib'
18778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18779 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18780 shlibpath_var
=LD_LIBRARY_PATH
18781 shlibpath_overrides_runpath
=yes
18782 if test "$with_gnu_ld" = yes; then
18790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18791 soname_spec
='${libname}${release}${shared_ext}$major'
18792 shlibpath_var
=LD_LIBRARY_PATH
18793 case $host_vendor in
18795 shlibpath_overrides_runpath
=no
18797 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18798 runpath_var
=LD_RUN_PATH
18806 shlibpath_overrides_runpath
=no
18807 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18813 if test -d /usr
/nec
;then
18815 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18816 soname_spec
='$libname${shared_ext}.$major'
18817 shlibpath_var
=LD_LIBRARY_PATH
18821 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18822 version_type
=freebsd-elf
18825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18826 soname_spec
='${libname}${release}${shared_ext}$major'
18827 shlibpath_var
=LD_LIBRARY_PATH
18828 hardcode_into_libs
=yes
18829 if test "$with_gnu_ld" = yes; then
18830 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18831 shlibpath_overrides_runpath
=no
18833 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18834 shlibpath_overrides_runpath
=yes
18837 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18841 sys_lib_dlsearch_path_spec
='/usr/lib'
18846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18847 soname_spec
='${libname}${release}${shared_ext}$major'
18848 shlibpath_var
=LD_LIBRARY_PATH
18855 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18856 echo "${ECHO_T}$dynamic_linker" >&6; }
18857 test "$dynamic_linker" = no
&& can_build_shared
=no
18859 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18860 echo $ECHO_N "(cached) $ECHO_C" >&6
18862 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
18865 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
18866 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18867 echo $ECHO_N "(cached) $ECHO_C" >&6
18869 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
18872 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
18874 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18875 if test "$GCC" = yes; then
18876 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18879 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18880 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18881 hardcode_action_GCJ
=
18882 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18883 test -n "$runpath_var_GCJ" || \
18884 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18886 # We can hardcode non-existant directories.
18887 if test "$hardcode_direct_GCJ" != no
&&
18888 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18889 # have to relink, otherwise we might link with an installed library
18890 # when we should be linking with a yet-to-be-installed one
18891 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18892 test "$hardcode_minus_L_GCJ" != no
; then
18893 # Linking always hardcodes the temporary library directory.
18894 hardcode_action_GCJ
=relink
18896 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18897 hardcode_action_GCJ
=immediate
18900 # We cannot hardcode anything, or else we can only hardcode existing
18902 hardcode_action_GCJ
=unsupported
18904 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18905 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18907 if test "$hardcode_action_GCJ" = relink
; then
18908 # Fast installation is not supported
18909 enable_fast_install
=no
18910 elif test "$shlibpath_overrides_runpath" = yes ||
18911 test "$enable_shared" = no
; then
18912 # Fast installation is not necessary
18913 enable_fast_install
=needless
18917 # The else clause should only fire when bootstrapping the
18918 # libtool distribution, otherwise you forgot to ship ltmain.sh
18919 # with your package, and you will get complaints that there are
18920 # no rules to generate ltmain.sh.
18921 if test -f "$ltmain"; then
18922 # See if we are running on zsh, and set the options which allow our commands through
18923 # without removal of \ escapes.
18924 if test -n "${ZSH_VERSION+set}" ; then
18925 setopt NO_GLOB_SUBST
18927 # Now quote all the things that may contain metacharacters while being
18928 # careful not to overquote the AC_SUBSTed values. We take copies of the
18929 # variables and quote the copies for generation of the libtool script.
18930 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18932 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18933 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18934 deplibs_check_method reload_flag reload_cmds need_locks \
18935 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18936 lt_cv_sys_global_symbol_to_c_name_address \
18937 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18938 old_postinstall_cmds old_postuninstall_cmds \
18942 lt_prog_compiler_wl_GCJ \
18943 lt_prog_compiler_pic_GCJ \
18944 lt_prog_compiler_static_GCJ \
18945 lt_prog_compiler_no_builtin_flag_GCJ \
18946 export_dynamic_flag_spec_GCJ \
18947 thread_safe_flag_spec_GCJ \
18948 whole_archive_flag_spec_GCJ \
18949 enable_shared_with_static_runtimes_GCJ \
18950 old_archive_cmds_GCJ \
18951 old_archive_from_new_cmds_GCJ \
18952 predep_objects_GCJ \
18953 postdep_objects_GCJ \
18956 compiler_lib_search_path_GCJ \
18957 compiler_lib_search_dirs_GCJ \
18959 archive_expsym_cmds_GCJ \
18960 postinstall_cmds_GCJ \
18961 postuninstall_cmds_GCJ \
18962 old_archive_from_expsyms_cmds_GCJ \
18963 allow_undefined_flag_GCJ \
18964 no_undefined_flag_GCJ \
18965 export_symbols_cmds_GCJ \
18966 hardcode_libdir_flag_spec_GCJ \
18967 hardcode_libdir_flag_spec_ld_GCJ \
18968 hardcode_libdir_separator_GCJ \
18969 hardcode_automatic_GCJ \
18971 module_expsym_cmds_GCJ \
18972 lt_cv_prog_compiler_c_o_GCJ \
18973 fix_srcfile_path_GCJ \
18974 exclude_expsyms_GCJ \
18975 include_expsyms_GCJ
; do
18978 old_archive_cmds_GCJ | \
18979 old_archive_from_new_cmds_GCJ | \
18980 archive_cmds_GCJ | \
18981 archive_expsym_cmds_GCJ | \
18982 module_cmds_GCJ | \
18983 module_expsym_cmds_GCJ | \
18984 old_archive_from_expsyms_cmds_GCJ | \
18985 export_symbols_cmds_GCJ | \
18986 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18987 postinstall_cmds | postuninstall_cmds | \
18988 old_postinstall_cmds | old_postuninstall_cmds | \
18989 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18990 # Double-quote double-evaled strings.
18991 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18994 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19000 *'\$0 --fallback-echo"')
19001 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19007 cat <<__EOF__ >> "$cfgfile"
19008 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19010 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19012 # Shell to use when invoking shell scripts.
19015 # Whether or not to build shared libraries.
19016 build_libtool_libs=$enable_shared
19018 # Whether or not to build static libraries.
19019 build_old_libs=$enable_static
19021 # Whether or not to add -lc for building shared libraries.
19022 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19024 # Whether or not to disallow shared libs when runtime libs are static
19025 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19027 # Whether or not to optimize for fast installation.
19028 fast_install=$enable_fast_install
19031 host_alias=$host_alias
19035 # The build system.
19036 build_alias=$build_alias
19040 # An echo program that does not interpret backslashes.
19045 AR_FLAGS=$lt_AR_FLAGS
19050 # LTCC compiler flags.
19051 LTCFLAGS=$lt_LTCFLAGS
19053 # A language-specific compiler.
19054 CC=$lt_compiler_GCJ
19056 # Is the compiler the GNU C compiler?
19062 # The linker used to build libraries.
19065 # Whether we need hard or soft links.
19068 # A BSD-compatible nm program.
19071 # A symbol stripping program
19074 # Used to examine libraries when file_magic_cmd begins "file"
19075 MAGIC_CMD=$MAGIC_CMD
19077 # Used on cygwin: DLL creation program.
19080 # Used on cygwin: object dumper.
19083 # Used on cygwin: assembler.
19086 # The name of the directory that contains temporary libtool files.
19089 # How to create reloadable object files.
19090 reload_flag=$lt_reload_flag
19091 reload_cmds=$lt_reload_cmds
19093 # How to pass a linker flag through the compiler.
19094 wl=$lt_lt_prog_compiler_wl_GCJ
19096 # Object file suffix (normally "o").
19097 objext="$ac_objext"
19099 # Old archive suffix (normally "a").
19102 # Shared library suffix (normally ".so").
19103 shrext_cmds='$shrext_cmds'
19105 # Executable file suffix (normally "").
19108 # Additional compiler flags for building library objects.
19109 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19112 # What is the maximum length of a command?
19113 max_cmd_len=$lt_cv_sys_max_cmd_len
19115 # Does compiler simultaneously support -c and -o options?
19116 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19118 # Must we lock files when doing compilation?
19119 need_locks=$lt_need_locks
19121 # Do we need the lib prefix for modules?
19122 need_lib_prefix=$need_lib_prefix
19124 # Do we need a version for libraries?
19125 need_version=$need_version
19127 # Whether dlopen is supported.
19128 dlopen_support=$enable_dlopen
19130 # Whether dlopen of programs is supported.
19131 dlopen_self=$enable_dlopen_self
19133 # Whether dlopen of statically linked programs is supported.
19134 dlopen_self_static=$enable_dlopen_self_static
19136 # Compiler flag to prevent dynamic linking.
19137 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19139 # Compiler flag to turn off builtin functions.
19140 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19142 # Compiler flag to allow reflexive dlopens.
19143 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19145 # Compiler flag to generate shared objects directly from archives.
19146 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19148 # Compiler flag to generate thread-safe objects.
19149 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19151 # Library versioning type.
19152 version_type=$version_type
19154 # Format of library name prefix.
19155 libname_spec=$lt_libname_spec
19157 # List of archive names. First name is the real one, the rest are links.
19158 # The last name is the one that the linker finds with -lNAME.
19159 library_names_spec=$lt_library_names_spec
19161 # The coded name of the library, if different from the real name.
19162 soname_spec=$lt_soname_spec
19164 # Commands used to build and install an old-style archive.
19166 old_archive_cmds=$lt_old_archive_cmds_GCJ
19167 old_postinstall_cmds=$lt_old_postinstall_cmds
19168 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19170 # Create an old-style archive from a shared archive.
19171 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19173 # Create a temporary old-style archive to link instead of a shared archive.
19174 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19176 # Commands used to build and install a shared archive.
19177 archive_cmds=$lt_archive_cmds_GCJ
19178 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19179 postinstall_cmds=$lt_postinstall_cmds
19180 postuninstall_cmds=$lt_postuninstall_cmds
19182 # Commands used to build a loadable module (assumed same as above if empty)
19183 module_cmds=$lt_module_cmds_GCJ
19184 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19186 # Commands to strip libraries.
19187 old_striplib=$lt_old_striplib
19188 striplib=$lt_striplib
19190 # Dependencies to place before the objects being linked to create a
19192 predep_objects=$lt_predep_objects_GCJ
19194 # Dependencies to place after the objects being linked to create a
19196 postdep_objects=$lt_postdep_objects_GCJ
19198 # Dependencies to place before the objects being linked to create a
19200 predeps=$lt_predeps_GCJ
19202 # Dependencies to place after the objects being linked to create a
19204 postdeps=$lt_postdeps_GCJ
19206 # The directories searched by this compiler when creating a shared
19208 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19210 # The library search path used internally by the compiler when linking
19211 # a shared library.
19212 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19214 # Method to check whether dependent libraries are shared objects.
19215 deplibs_check_method=$lt_deplibs_check_method
19217 # Command to use when deplibs_check_method == file_magic.
19218 file_magic_cmd=$lt_file_magic_cmd
19220 # Flag that allows shared libraries with undefined symbols to be built.
19221 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19223 # Flag that forces no undefined symbols.
19224 no_undefined_flag=$lt_no_undefined_flag_GCJ
19226 # Commands used to finish a libtool library installation in a directory.
19227 finish_cmds=$lt_finish_cmds
19229 # Same as above, but a single script fragment to be evaled but not shown.
19230 finish_eval=$lt_finish_eval
19232 # Take the output of nm and produce a listing of raw symbols and C names.
19233 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19235 # Transform the output of nm in a proper C declaration
19236 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19238 # Transform the output of nm in a C name address pair
19239 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19241 # This is the shared library runtime path variable.
19242 runpath_var=$runpath_var
19244 # This is the shared library path variable.
19245 shlibpath_var=$shlibpath_var
19247 # Is shlibpath searched before the hard-coded library search path?
19248 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19250 # How to hardcode a shared library path into an executable.
19251 hardcode_action=$hardcode_action_GCJ
19253 # Whether we should hardcode library paths into libraries.
19254 hardcode_into_libs=$hardcode_into_libs
19256 # Flag to hardcode \$libdir into a binary during linking.
19257 # This must work even if \$libdir does not exist.
19258 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19260 # If ld is used when linking, flag to hardcode \$libdir into
19261 # a binary during linking. This must work even if \$libdir does
19263 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19265 # Whether we need a single -rpath flag with a separated argument.
19266 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19268 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19269 # resulting binary.
19270 hardcode_direct=$hardcode_direct_GCJ
19272 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19273 # resulting binary.
19274 hardcode_minus_L=$hardcode_minus_L_GCJ
19276 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19277 # the resulting binary.
19278 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19280 # Set to yes if building a shared library automatically hardcodes DIR into the library
19281 # and all subsequent libraries and executables linked against it.
19282 hardcode_automatic=$hardcode_automatic_GCJ
19284 # Variables whose values should be saved in libtool wrapper scripts and
19285 # restored at relink time.
19286 variables_saved_for_relink="$variables_saved_for_relink"
19288 # Whether libtool must link a program against all its dependency libraries.
19289 link_all_deplibs=$link_all_deplibs_GCJ
19291 # Compile-time system search path for libraries
19292 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19294 # Run-time system search path for libraries
19295 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19297 # Fix the shell variable \$srcfile for the compiler.
19298 fix_srcfile_path=$lt_fix_srcfile_path
19300 # Set to yes if exported symbols are required.
19301 always_export_symbols=$always_export_symbols_GCJ
19303 # The commands to list exported symbols.
19304 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19306 # The commands to extract the exported symbol list from a shared archive.
19307 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19309 # Symbols that should not be listed in the preloaded symbols.
19310 exclude_expsyms=$lt_exclude_expsyms_GCJ
19312 # Symbols that must always be exported.
19313 include_expsyms=$lt_include_expsyms_GCJ
19315 # ### END LIBTOOL TAG CONFIG: $tagname
19321 # If there is no Makefile yet, we rely on a make rule to execute
19322 # `config.status --recheck' to rerun these tests and create the
19323 # libtool script then.
19324 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19325 if test -f "$ltmain_in"; then
19326 test -f Makefile
&& make "$ltmain"
19332 ac_cpp
='$CPP $CPPFLAGS'
19333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19347 # Source file extension for RC test sources.
19350 # Object file extension for compiled RC test sources.
19354 # Code to be used in simple compile tests
19355 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19357 # Code to be used in simple link tests
19358 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19360 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19362 # If no C compiler was specified, use CC.
19365 # If no C compiler flags were specified, use CFLAGS.
19366 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19368 # Allow CC to be a program name with arguments.
19372 # save warnings/boilerplate of simple test code
19373 ac_outfile
=conftest.
$ac_objext
19374 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19375 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19376 _lt_compiler_boilerplate
=`cat conftest.err`
19379 ac_outfile
=conftest.
$ac_objext
19380 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19381 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19382 _lt_linker_boilerplate
=`cat conftest.err`
19386 # Allow CC to be a program name with arguments.
19391 for cc_temp
in $compiler""; do
19393 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19394 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19399 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19401 lt_cv_prog_compiler_c_o_RC
=yes
19403 # The else clause should only fire when bootstrapping the
19404 # libtool distribution, otherwise you forgot to ship ltmain.sh
19405 # with your package, and you will get complaints that there are
19406 # no rules to generate ltmain.sh.
19407 if test -f "$ltmain"; then
19408 # See if we are running on zsh, and set the options which allow our commands through
19409 # without removal of \ escapes.
19410 if test -n "${ZSH_VERSION+set}" ; then
19411 setopt NO_GLOB_SUBST
19413 # Now quote all the things that may contain metacharacters while being
19414 # careful not to overquote the AC_SUBSTed values. We take copies of the
19415 # variables and quote the copies for generation of the libtool script.
19416 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19418 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19419 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19420 deplibs_check_method reload_flag reload_cmds need_locks \
19421 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19422 lt_cv_sys_global_symbol_to_c_name_address \
19423 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19424 old_postinstall_cmds old_postuninstall_cmds \
19428 lt_prog_compiler_wl_RC \
19429 lt_prog_compiler_pic_RC \
19430 lt_prog_compiler_static_RC \
19431 lt_prog_compiler_no_builtin_flag_RC \
19432 export_dynamic_flag_spec_RC \
19433 thread_safe_flag_spec_RC \
19434 whole_archive_flag_spec_RC \
19435 enable_shared_with_static_runtimes_RC \
19436 old_archive_cmds_RC \
19437 old_archive_from_new_cmds_RC \
19438 predep_objects_RC \
19439 postdep_objects_RC \
19442 compiler_lib_search_path_RC \
19443 compiler_lib_search_dirs_RC \
19445 archive_expsym_cmds_RC \
19446 postinstall_cmds_RC \
19447 postuninstall_cmds_RC \
19448 old_archive_from_expsyms_cmds_RC \
19449 allow_undefined_flag_RC \
19450 no_undefined_flag_RC \
19451 export_symbols_cmds_RC \
19452 hardcode_libdir_flag_spec_RC \
19453 hardcode_libdir_flag_spec_ld_RC \
19454 hardcode_libdir_separator_RC \
19455 hardcode_automatic_RC \
19457 module_expsym_cmds_RC \
19458 lt_cv_prog_compiler_c_o_RC \
19459 fix_srcfile_path_RC \
19460 exclude_expsyms_RC \
19461 include_expsyms_RC
; do
19464 old_archive_cmds_RC | \
19465 old_archive_from_new_cmds_RC | \
19466 archive_cmds_RC | \
19467 archive_expsym_cmds_RC | \
19469 module_expsym_cmds_RC | \
19470 old_archive_from_expsyms_cmds_RC | \
19471 export_symbols_cmds_RC | \
19472 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19473 postinstall_cmds | postuninstall_cmds | \
19474 old_postinstall_cmds | old_postuninstall_cmds | \
19475 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19476 # Double-quote double-evaled strings.
19477 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19480 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19486 *'\$0 --fallback-echo"')
19487 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19493 cat <<__EOF__ >> "$cfgfile"
19494 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19496 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19498 # Shell to use when invoking shell scripts.
19501 # Whether or not to build shared libraries.
19502 build_libtool_libs=$enable_shared
19504 # Whether or not to build static libraries.
19505 build_old_libs=$enable_static
19507 # Whether or not to add -lc for building shared libraries.
19508 build_libtool_need_lc=$archive_cmds_need_lc_RC
19510 # Whether or not to disallow shared libs when runtime libs are static
19511 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19513 # Whether or not to optimize for fast installation.
19514 fast_install=$enable_fast_install
19517 host_alias=$host_alias
19521 # The build system.
19522 build_alias=$build_alias
19526 # An echo program that does not interpret backslashes.
19531 AR_FLAGS=$lt_AR_FLAGS
19536 # LTCC compiler flags.
19537 LTCFLAGS=$lt_LTCFLAGS
19539 # A language-specific compiler.
19542 # Is the compiler the GNU C compiler?
19548 # The linker used to build libraries.
19551 # Whether we need hard or soft links.
19554 # A BSD-compatible nm program.
19557 # A symbol stripping program
19560 # Used to examine libraries when file_magic_cmd begins "file"
19561 MAGIC_CMD=$MAGIC_CMD
19563 # Used on cygwin: DLL creation program.
19566 # Used on cygwin: object dumper.
19569 # Used on cygwin: assembler.
19572 # The name of the directory that contains temporary libtool files.
19575 # How to create reloadable object files.
19576 reload_flag=$lt_reload_flag
19577 reload_cmds=$lt_reload_cmds
19579 # How to pass a linker flag through the compiler.
19580 wl=$lt_lt_prog_compiler_wl_RC
19582 # Object file suffix (normally "o").
19583 objext="$ac_objext"
19585 # Old archive suffix (normally "a").
19588 # Shared library suffix (normally ".so").
19589 shrext_cmds='$shrext_cmds'
19591 # Executable file suffix (normally "").
19594 # Additional compiler flags for building library objects.
19595 pic_flag=$lt_lt_prog_compiler_pic_RC
19598 # What is the maximum length of a command?
19599 max_cmd_len=$lt_cv_sys_max_cmd_len
19601 # Does compiler simultaneously support -c and -o options?
19602 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19604 # Must we lock files when doing compilation?
19605 need_locks=$lt_need_locks
19607 # Do we need the lib prefix for modules?
19608 need_lib_prefix=$need_lib_prefix
19610 # Do we need a version for libraries?
19611 need_version=$need_version
19613 # Whether dlopen is supported.
19614 dlopen_support=$enable_dlopen
19616 # Whether dlopen of programs is supported.
19617 dlopen_self=$enable_dlopen_self
19619 # Whether dlopen of statically linked programs is supported.
19620 dlopen_self_static=$enable_dlopen_self_static
19622 # Compiler flag to prevent dynamic linking.
19623 link_static_flag=$lt_lt_prog_compiler_static_RC
19625 # Compiler flag to turn off builtin functions.
19626 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19628 # Compiler flag to allow reflexive dlopens.
19629 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19631 # Compiler flag to generate shared objects directly from archives.
19632 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19634 # Compiler flag to generate thread-safe objects.
19635 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19637 # Library versioning type.
19638 version_type=$version_type
19640 # Format of library name prefix.
19641 libname_spec=$lt_libname_spec
19643 # List of archive names. First name is the real one, the rest are links.
19644 # The last name is the one that the linker finds with -lNAME.
19645 library_names_spec=$lt_library_names_spec
19647 # The coded name of the library, if different from the real name.
19648 soname_spec=$lt_soname_spec
19650 # Commands used to build and install an old-style archive.
19652 old_archive_cmds=$lt_old_archive_cmds_RC
19653 old_postinstall_cmds=$lt_old_postinstall_cmds
19654 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19656 # Create an old-style archive from a shared archive.
19657 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19659 # Create a temporary old-style archive to link instead of a shared archive.
19660 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19662 # Commands used to build and install a shared archive.
19663 archive_cmds=$lt_archive_cmds_RC
19664 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19665 postinstall_cmds=$lt_postinstall_cmds
19666 postuninstall_cmds=$lt_postuninstall_cmds
19668 # Commands used to build a loadable module (assumed same as above if empty)
19669 module_cmds=$lt_module_cmds_RC
19670 module_expsym_cmds=$lt_module_expsym_cmds_RC
19672 # Commands to strip libraries.
19673 old_striplib=$lt_old_striplib
19674 striplib=$lt_striplib
19676 # Dependencies to place before the objects being linked to create a
19678 predep_objects=$lt_predep_objects_RC
19680 # Dependencies to place after the objects being linked to create a
19682 postdep_objects=$lt_postdep_objects_RC
19684 # Dependencies to place before the objects being linked to create a
19686 predeps=$lt_predeps_RC
19688 # Dependencies to place after the objects being linked to create a
19690 postdeps=$lt_postdeps_RC
19692 # The directories searched by this compiler when creating a shared
19694 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19696 # The library search path used internally by the compiler when linking
19697 # a shared library.
19698 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19700 # Method to check whether dependent libraries are shared objects.
19701 deplibs_check_method=$lt_deplibs_check_method
19703 # Command to use when deplibs_check_method == file_magic.
19704 file_magic_cmd=$lt_file_magic_cmd
19706 # Flag that allows shared libraries with undefined symbols to be built.
19707 allow_undefined_flag=$lt_allow_undefined_flag_RC
19709 # Flag that forces no undefined symbols.
19710 no_undefined_flag=$lt_no_undefined_flag_RC
19712 # Commands used to finish a libtool library installation in a directory.
19713 finish_cmds=$lt_finish_cmds
19715 # Same as above, but a single script fragment to be evaled but not shown.
19716 finish_eval=$lt_finish_eval
19718 # Take the output of nm and produce a listing of raw symbols and C names.
19719 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19721 # Transform the output of nm in a proper C declaration
19722 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19724 # Transform the output of nm in a C name address pair
19725 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19727 # This is the shared library runtime path variable.
19728 runpath_var=$runpath_var
19730 # This is the shared library path variable.
19731 shlibpath_var=$shlibpath_var
19733 # Is shlibpath searched before the hard-coded library search path?
19734 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19736 # How to hardcode a shared library path into an executable.
19737 hardcode_action=$hardcode_action_RC
19739 # Whether we should hardcode library paths into libraries.
19740 hardcode_into_libs=$hardcode_into_libs
19742 # Flag to hardcode \$libdir into a binary during linking.
19743 # This must work even if \$libdir does not exist.
19744 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19746 # If ld is used when linking, flag to hardcode \$libdir into
19747 # a binary during linking. This must work even if \$libdir does
19749 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19751 # Whether we need a single -rpath flag with a separated argument.
19752 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19754 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19755 # resulting binary.
19756 hardcode_direct=$hardcode_direct_RC
19758 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19759 # resulting binary.
19760 hardcode_minus_L=$hardcode_minus_L_RC
19762 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19763 # the resulting binary.
19764 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19766 # Set to yes if building a shared library automatically hardcodes DIR into the library
19767 # and all subsequent libraries and executables linked against it.
19768 hardcode_automatic=$hardcode_automatic_RC
19770 # Variables whose values should be saved in libtool wrapper scripts and
19771 # restored at relink time.
19772 variables_saved_for_relink="$variables_saved_for_relink"
19774 # Whether libtool must link a program against all its dependency libraries.
19775 link_all_deplibs=$link_all_deplibs_RC
19777 # Compile-time system search path for libraries
19778 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19780 # Run-time system search path for libraries
19781 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19783 # Fix the shell variable \$srcfile for the compiler.
19784 fix_srcfile_path=$lt_fix_srcfile_path
19786 # Set to yes if exported symbols are required.
19787 always_export_symbols=$always_export_symbols_RC
19789 # The commands to list exported symbols.
19790 export_symbols_cmds=$lt_export_symbols_cmds_RC
19792 # The commands to extract the exported symbol list from a shared archive.
19793 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19795 # Symbols that should not be listed in the preloaded symbols.
19796 exclude_expsyms=$lt_exclude_expsyms_RC
19798 # Symbols that must always be exported.
19799 include_expsyms=$lt_include_expsyms_RC
19801 # ### END LIBTOOL TAG CONFIG: $tagname
19807 # If there is no Makefile yet, we rely on a make rule to execute
19808 # `config.status --recheck' to rerun these tests and create the
19809 # libtool script then.
19810 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19811 if test -f "$ltmain_in"; then
19812 test -f Makefile
&& make "$ltmain"
19818 ac_cpp
='$CPP $CPPFLAGS'
19819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19828 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19829 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19830 { (exit 1); exit 1; }; }
19834 # Append the new tag name to the list of available tags.
19835 if test -n "$tagname" ; then
19836 available_tags
="$available_tags $tagname"
19842 # Now substitute the updated list of available tags.
19843 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19844 mv "${ofile}T" "$ofile"
19848 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19849 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19850 { (exit 1); exit 1; }; }
19856 # This can be used to rebuild libtool when needed
19857 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19859 # Always use our own libtool.
19860 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19862 # Prevent multiple expansion
19884 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
19885 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
19886 # Check whether --enable-nls was given.
19887 if test "${enable_nls+set}" = set; then
19888 enableval
=$enable_nls; USE_NLS
=$enableval
19893 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
19894 echo "${ECHO_T}$USE_NLS" >&6; }
19899 case "$am__api_version" in
19901 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
19902 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
19903 { (exit 1); exit 1; }; }
19909 if test -n "0.23"; then
19910 { echo "$as_me:$LINENO: checking for intltool >= 0.23" >&5
19911 echo $ECHO_N "checking for intltool >= 0.23... $ECHO_C" >&6; }
19913 INTLTOOL_REQUIRED_VERSION_AS_INT
=`echo 0.23 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
19914 INTLTOOL_APPLIED_VERSION
=`intltool-update --version | head -1 | cut -d" " -f3`
19915 INTLTOOL_APPLIED_VERSION_AS_INT
=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
19917 { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
19918 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
19919 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
19920 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.23 or later." >&5
19921 echo "$as_me: error: Your intltool is too old. You need intltool 0.23 or later." >&2;}
19922 { (exit 1); exit 1; }; }
19925 # Extract the first word of "intltool-update", so it can be a program name with args.
19926 set dummy intltool-update
; ac_word
=$2
19927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19929 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
19930 echo $ECHO_N "(cached) $ECHO_C" >&6
19932 case $INTLTOOL_UPDATE in
19934 ac_cv_path_INTLTOOL_UPDATE
="$INTLTOOL_UPDATE" # Let the user override the test with a path.
19937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19938 for as_dir
in $PATH
19941 test -z "$as_dir" && as_dir
=.
19942 for ac_exec_ext
in '' $ac_executable_extensions; do
19943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19944 ac_cv_path_INTLTOOL_UPDATE
="$as_dir/$ac_word$ac_exec_ext"
19945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19955 INTLTOOL_UPDATE
=$ac_cv_path_INTLTOOL_UPDATE
19956 if test -n "$INTLTOOL_UPDATE"; then
19957 { echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
19958 echo "${ECHO_T}$INTLTOOL_UPDATE" >&6; }
19960 { echo "$as_me:$LINENO: result: no" >&5
19961 echo "${ECHO_T}no" >&6; }
19965 # Extract the first word of "intltool-merge", so it can be a program name with args.
19966 set dummy intltool-merge
; ac_word
=$2
19967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19969 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
19970 echo $ECHO_N "(cached) $ECHO_C" >&6
19972 case $INTLTOOL_MERGE in
19974 ac_cv_path_INTLTOOL_MERGE
="$INTLTOOL_MERGE" # Let the user override the test with a path.
19977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19978 for as_dir
in $PATH
19981 test -z "$as_dir" && as_dir
=.
19982 for ac_exec_ext
in '' $ac_executable_extensions; do
19983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19984 ac_cv_path_INTLTOOL_MERGE
="$as_dir/$ac_word$ac_exec_ext"
19985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19995 INTLTOOL_MERGE
=$ac_cv_path_INTLTOOL_MERGE
19996 if test -n "$INTLTOOL_MERGE"; then
19997 { echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
19998 echo "${ECHO_T}$INTLTOOL_MERGE" >&6; }
20000 { echo "$as_me:$LINENO: result: no" >&5
20001 echo "${ECHO_T}no" >&6; }
20005 # Extract the first word of "intltool-extract", so it can be a program name with args.
20006 set dummy intltool-extract
; ac_word
=$2
20007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20009 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
20010 echo $ECHO_N "(cached) $ECHO_C" >&6
20012 case $INTLTOOL_EXTRACT in
20014 ac_cv_path_INTLTOOL_EXTRACT
="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
20017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20018 for as_dir
in $PATH
20021 test -z "$as_dir" && as_dir
=.
20022 for ac_exec_ext
in '' $ac_executable_extensions; do
20023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20024 ac_cv_path_INTLTOOL_EXTRACT
="$as_dir/$ac_word$ac_exec_ext"
20025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20035 INTLTOOL_EXTRACT
=$ac_cv_path_INTLTOOL_EXTRACT
20036 if test -n "$INTLTOOL_EXTRACT"; then
20037 { echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
20038 echo "${ECHO_T}$INTLTOOL_EXTRACT" >&6; }
20040 { echo "$as_me:$LINENO: result: no" >&5
20041 echo "${ECHO_T}no" >&6; }
20045 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
20046 { { echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
20047 echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
20048 { (exit 1); exit 1; }; }
20051 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 $< $@'
20052 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 $< $@'
20053 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 $< $@'
20054 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 $< $@'
20055 INTLTOOL_OAF_RULE
='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
20056 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 $< $@'
20057 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 $< $@'
20058 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 $< $@'
20059 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 $< $@'
20060 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 $< $@'
20061 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 $< $@'
20062 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
20063 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 $< $@'
20064 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 $< $@'
20065 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 $< $@'
20066 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 $< $@'
20067 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 $< $@'
20068 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 $< $@'
20069 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 $< $@'
20091 # Check the gettext tools to make sure they are GNU
20092 # Extract the first word of "xgettext", so it can be a program name with args.
20093 set dummy xgettext
; ac_word
=$2
20094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20096 if test "${ac_cv_path_XGETTEXT+set}" = set; then
20097 echo $ECHO_N "(cached) $ECHO_C" >&6
20101 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
20104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20105 for as_dir
in $PATH
20108 test -z "$as_dir" && as_dir
=.
20109 for ac_exec_ext
in '' $ac_executable_extensions; do
20110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20111 ac_cv_path_XGETTEXT
="$as_dir/$ac_word$ac_exec_ext"
20112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20122 XGETTEXT
=$ac_cv_path_XGETTEXT
20123 if test -n "$XGETTEXT"; then
20124 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
20125 echo "${ECHO_T}$XGETTEXT" >&6; }
20127 { echo "$as_me:$LINENO: result: no" >&5
20128 echo "${ECHO_T}no" >&6; }
20132 # Extract the first word of "msgmerge", so it can be a program name with args.
20133 set dummy msgmerge
; ac_word
=$2
20134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20136 if test "${ac_cv_path_MSGMERGE+set}" = set; then
20137 echo $ECHO_N "(cached) $ECHO_C" >&6
20141 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
20144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20145 for as_dir
in $PATH
20148 test -z "$as_dir" && as_dir
=.
20149 for ac_exec_ext
in '' $ac_executable_extensions; do
20150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20151 ac_cv_path_MSGMERGE
="$as_dir/$ac_word$ac_exec_ext"
20152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20162 MSGMERGE
=$ac_cv_path_MSGMERGE
20163 if test -n "$MSGMERGE"; then
20164 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
20165 echo "${ECHO_T}$MSGMERGE" >&6; }
20167 { echo "$as_me:$LINENO: result: no" >&5
20168 echo "${ECHO_T}no" >&6; }
20172 # Extract the first word of "msgfmt", so it can be a program name with args.
20173 set dummy msgfmt
; ac_word
=$2
20174 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20176 if test "${ac_cv_path_MSGFMT+set}" = set; then
20177 echo $ECHO_N "(cached) $ECHO_C" >&6
20181 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
20184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20185 for as_dir
in $PATH
20188 test -z "$as_dir" && as_dir
=.
20189 for ac_exec_ext
in '' $ac_executable_extensions; do
20190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20191 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
20192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20202 MSGFMT
=$ac_cv_path_MSGFMT
20203 if test -n "$MSGFMT"; then
20204 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
20205 echo "${ECHO_T}$MSGFMT" >&6; }
20207 { echo "$as_me:$LINENO: result: no" >&5
20208 echo "${ECHO_T}no" >&6; }
20212 # Extract the first word of "gmsgfmt", so it can be a program name with args.
20213 set dummy gmsgfmt
; ac_word
=$2
20214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20216 if test "${ac_cv_path_GMSGFMT+set}" = set; then
20217 echo $ECHO_N "(cached) $ECHO_C" >&6
20221 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
20224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20225 for as_dir
in $PATH
20228 test -z "$as_dir" && as_dir
=.
20229 for ac_exec_ext
in '' $ac_executable_extensions; do
20230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20231 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
20232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20239 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
20243 GMSGFMT
=$ac_cv_path_GMSGFMT
20244 if test -n "$GMSGFMT"; then
20245 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
20246 echo "${ECHO_T}$GMSGFMT" >&6; }
20248 { echo "$as_me:$LINENO: result: no" >&5
20249 echo "${ECHO_T}no" >&6; }
20253 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
20254 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
20255 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
20256 { (exit 1); exit 1; }; }
20258 xgversion
="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
20259 mmversion
="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
20260 mfversion
="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
20261 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
20262 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
20263 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
20264 { (exit 1); exit 1; }; }
20267 # Extract the first word of "perl", so it can be a program name with args.
20268 set dummy perl
; ac_word
=$2
20269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20271 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
20272 echo $ECHO_N "(cached) $ECHO_C" >&6
20274 case $INTLTOOL_PERL in
20276 ac_cv_path_INTLTOOL_PERL
="$INTLTOOL_PERL" # Let the user override the test with a path.
20279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20280 for as_dir
in $PATH
20283 test -z "$as_dir" && as_dir
=.
20284 for ac_exec_ext
in '' $ac_executable_extensions; do
20285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20286 ac_cv_path_INTLTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
20287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20297 INTLTOOL_PERL
=$ac_cv_path_INTLTOOL_PERL
20298 if test -n "$INTLTOOL_PERL"; then
20299 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
20300 echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
20302 { echo "$as_me:$LINENO: result: no" >&5
20303 echo "${ECHO_T}no" >&6; }
20307 if test -z "$INTLTOOL_PERL"; then
20308 { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
20309 echo "$as_me: error: perl not found; required for intltool" >&2;}
20310 { (exit 1); exit 1; }; }
20312 if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
20313 { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
20314 echo "$as_me: error: perl 5.x required for intltool" >&2;}
20315 { (exit 1); exit 1; }; }
20317 if test "x" != "xno-xml"; then
20318 { echo "$as_me:$LINENO: checking for XML::Parser" >&5
20319 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
20320 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
20321 { echo "$as_me:$LINENO: result: ok" >&5
20322 echo "${ECHO_T}ok" >&6; }
20324 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
20325 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
20326 { (exit 1); exit 1; }; }
20330 # Substitute ALL_LINGUAS so we can use it in po/Makefile
20333 # Set DATADIRNAME correctly if it is not set yet
20334 # (copied from glib-gettext.m4)
20335 if test -z "$DATADIRNAME"; then
20336 cat >conftest.
$ac_ext <<_ACEOF
20339 cat confdefs.h
>>conftest.
$ac_ext
20340 cat >>conftest.
$ac_ext <<_ACEOF
20341 /* end confdefs.h. */
20346 extern int _nl_msg_cat_cntr;
20347 return _nl_msg_cat_cntr
20352 rm -f conftest.
$ac_objext conftest
$ac_exeext
20353 if { (ac_try
="$ac_link"
20354 case "(($ac_try" in
20355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20356 *) ac_try_echo=$ac_try;;
20358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20359 (eval "$ac_link") 2>conftest.er1
20361 grep -v '^ *+' conftest.er1 >conftest.err
20363 cat conftest.err >&5
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); } && {
20366 test -z "$ac_c_werror_flag" ||
20367 test ! -s conftest.err
20368 } && test -s conftest$ac_exeext &&
20369 $as_test_x conftest$ac_exeext; then
20372 echo "$as_me: failed program was:" >&5
20373 sed 's/^/| /' conftest.$ac_ext >&5
20377 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
20378 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
20379 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
20380 echo $ECHO_N "(cached) $ECHO_C" >&6
20382 cat >conftest.$ac_ext <<_ACEOF
20385 cat confdefs.h >>conftest.$ac_ext
20386 cat >>conftest.$ac_ext <<_ACEOF
20387 /* end confdefs.h. */
20388 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
20389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20390 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
20392 /* System header to define __stub macros and hopefully few prototypes,
20393 which can conflict with char bind_textdomain_codeset (); below.
20394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20395 <limits.h> exists even on freestanding compilers. */
20398 # include <limits.h>
20400 # include <assert.h>
20403 #undef bind_textdomain_codeset
20405 /* Override any GCC internal prototype to avoid an error.
20406 Use char because int might match the return type of a GCC
20407 builtin and then its argument prototype would still apply. */
20411 char bind_textdomain_codeset ();
20412 /* The GNU C library defines this for functions which it implements
20413 to always fail with ENOSYS. Some functions are actually named
20414 something starting with __ and the normal name is an alias. */
20415 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
20422 return bind_textdomain_codeset ();
20427 rm -f conftest.$ac_objext conftest$ac_exeext
20428 if { (ac_try="$ac_link"
20429 case "(($ac_try" in
20430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20431 *) ac_try_echo
=$ac_try;;
20433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20434 (eval "$ac_link") 2>conftest.er1
20436 grep -v '^ *+' conftest.er1
>conftest.err
20438 cat conftest.err
>&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); } && {
20441 test -z "$ac_c_werror_flag" ||
20442 test ! -s conftest.err
20443 } && test -s conftest
$ac_exeext &&
20444 $as_test_x conftest
$ac_exeext; then
20445 ac_cv_func_bind_textdomain_codeset
=yes
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.
$ac_ext >&5
20450 ac_cv_func_bind_textdomain_codeset
=no
20453 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20454 conftest
$ac_exeext conftest.
$ac_ext
20456 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
20457 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
20458 if test $ac_cv_func_bind_textdomain_codeset = yes; then
20471 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20472 conftest
$ac_exeext conftest.
$ac_ext
20479 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20480 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20481 if test "${ac_cv_header_stdc+set}" = set; then
20482 echo $ECHO_N "(cached) $ECHO_C" >&6
20484 cat >conftest.
$ac_ext <<_ACEOF
20487 cat confdefs.h
>>conftest.
$ac_ext
20488 cat >>conftest.
$ac_ext <<_ACEOF
20489 /* end confdefs.h. */
20490 #include <stdlib.h>
20491 #include <stdarg.h>
20492 #include <string.h>
20503 rm -f conftest.
$ac_objext
20504 if { (ac_try
="$ac_compile"
20505 case "(($ac_try" in
20506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20507 *) ac_try_echo=$ac_try;;
20509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20510 (eval "$ac_compile") 2>conftest.er1
20512 grep -v '^ *+' conftest.er1 >conftest.err
20514 cat conftest.err >&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); } && {
20517 test -z "$ac_c_werror_flag" ||
20518 test ! -s conftest.err
20519 } && test -s conftest.$ac_objext; then
20520 ac_cv_header_stdc=yes
20522 echo "$as_me: failed program was:" >&5
20523 sed 's/^/| /' conftest.$ac_ext >&5
20525 ac_cv_header_stdc=no
20528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20530 if test $ac_cv_header_stdc = yes; then
20531 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20532 cat >conftest.$ac_ext <<_ACEOF
20535 cat confdefs.h >>conftest.$ac_ext
20536 cat >>conftest.$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 #include <string.h>
20541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20542 $EGREP "memchr" >/dev/null 2>&1; then
20545 ac_cv_header_stdc=no
20551 if test $ac_cv_header_stdc = yes; then
20552 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20553 cat >conftest.$ac_ext <<_ACEOF
20556 cat confdefs.h >>conftest.$ac_ext
20557 cat >>conftest.$ac_ext <<_ACEOF
20558 /* end confdefs.h. */
20559 #include <stdlib.h>
20562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20563 $EGREP "free" >/dev/null 2>&1; then
20566 ac_cv_header_stdc=no
20572 if test $ac_cv_header_stdc = yes; then
20573 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20574 if test "$cross_compiling" = yes; then
20577 cat >conftest.$ac_ext <<_ACEOF
20580 cat confdefs.h >>conftest.$ac_ext
20581 cat >>conftest.$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20584 #include <stdlib.h>
20585 #if ((' ' & 0x0FF) == 0x020)
20586 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20587 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20589 # define ISLOWER(c) \
20590 (('a' <= (c) && (c) <= 'i') \
20591 || ('j' <= (c) && (c) <= 'r') \
20592 || ('s' <= (c) && (c) <= 'z'))
20593 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20596 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20601 for (i = 0; i < 256; i++)
20602 if (XOR (islower (i), ISLOWER (i))
20603 || toupper (i) != TOUPPER (i))
20608 rm -f conftest$ac_exeext
20609 if { (ac_try="$ac_link"
20610 case "(($ac_try" in
20611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20612 *) ac_try_echo
=$ac_try;;
20614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20615 (eval "$ac_link") 2>&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20619 { (case "(($ac_try" in
20620 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20621 *) ac_try_echo=$ac_try;;
20623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20624 (eval "$ac_try") 2>&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); }; }; then
20630 echo "$as_me: program exited with status $ac_status" >&5
20631 echo "$as_me: failed program was:" >&5
20632 sed 's/^/| /' conftest.$ac_ext >&5
20634 ( exit $ac_status )
20635 ac_cv_header_stdc=no
20637 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20643 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20644 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20645 if test $ac_cv_header_stdc = yes; then
20647 cat >>confdefs.h <<\_ACEOF
20648 #define STDC_HEADERS 1
20654 # Option to enable debugging
20655 # Check whether --enable-debug was given.
20656 if test "${enable_debug+set}" = set; then
20657 enableval=$enable_debug; with_debug=yes
20663 if test "x$with_debug" == "xyes" ; then
20664 CFLAGS="$CFLAGS -ggdb -O0 -DDEBUG -Wall -ansi -pedantic"
20666 # CFLAGS="$CFLAGS -O2 -Wall -ansi -pedantic"
20667 CFLAGS="$CFLAGS -O2 -Wall -ansi"
20670 # Hildon library dependencies
20673 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
20674 if test -n "$ac_tool_prefix"; then
20675 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20676 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20679 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20680 echo $ECHO_N "(cached) $ECHO_C" >&6
20682 case $PKG_CONFIG in
20684 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20688 for as_dir in $PATH
20691 test -z "$as_dir" && as_dir=.
20692 for ac_exec_ext in '' $ac_executable_extensions; do
20693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20694 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20705 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20706 if test -n "$PKG_CONFIG"; then
20707 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20708 echo "${ECHO_T}$PKG_CONFIG" >&6; }
20710 { echo "$as_me:$LINENO: result: no" >&5
20711 echo "${ECHO_T}no" >&6; }
20716 if test -z "$ac_cv_path_PKG_CONFIG"; then
20717 ac_pt_PKG_CONFIG=$PKG_CONFIG
20718 # Extract the first word of "pkg-config", so it can be a program name with args.
20719 set dummy pkg-config; ac_word=$2
20720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20722 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
20723 echo $ECHO_N "(cached) $ECHO_C" >&6
20725 case $ac_pt_PKG_CONFIG in
20727 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
20730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20731 for as_dir in $PATH
20734 test -z "$as_dir" && as_dir=.
20735 for ac_exec_ext in '' $ac_executable_extensions; do
20736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20737 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20748 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
20749 if test -n "$ac_pt_PKG_CONFIG"; then
20750 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
20751 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
20753 { echo "$as_me:$LINENO: result: no" >&5
20754 echo "${ECHO_T}no" >&6; }
20757 if test "x$ac_pt_PKG_CONFIG" = x; then
20760 case $cross_compiling:$ac_tool_warned in
20762 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20763 whose name does not start with the host triplet. If you think this
20764 configuration is useful to you, please write to autoconf@gnu.org." >&5
20765 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20766 whose name does not start with the host triplet. If you think this
20767 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20768 ac_tool_warned=yes ;;
20770 PKG_CONFIG=$ac_pt_PKG_CONFIG
20773 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
20777 if test -n "$PKG_CONFIG"; then
20778 _pkg_min_version=0.9.0
20779 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
20780 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
20781 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
20782 { echo "$as_me:$LINENO: result: yes" >&5
20783 echo "${ECHO_T}yes" >&6; }
20785 { echo "$as_me:$LINENO: result: no" >&5
20786 echo "${ECHO_T}no" >&6; }
20793 { echo "$as_me:$LINENO: checking for HILDON" >&5
20794 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
20796 if test -n "$PKG_CONFIG"; then
20797 if test -n "$HILDON_CFLAGS"; then
20798 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
20800 if test -n "$PKG_CONFIG" && \
20801 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 0.9.9 hildon-fm-2 wpeditor\"") >&5
20802 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor") 2>&5
20804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805 (exit $ac_status); }; then
20806 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor" 2>/dev
/null
`
20814 if test -n "$PKG_CONFIG"; then
20815 if test -n "$HILDON_LIBS"; then
20816 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
20818 if test -n "$PKG_CONFIG" && \
20819 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 0.9.9 hildon-fm-2 wpeditor\"") >&5
20820 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor") 2>&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; then
20824 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor" 2>/dev
/null
`
20835 if test $pkg_failed = yes; then
20837 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20838 _pkg_short_errors_supported=yes
20840 _pkg_short_errors_supported=no
20842 if test $_pkg_short_errors_supported = yes; then
20843 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor"`
20845 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 0.9.9 hildon-fm-2 wpeditor"`
20847 # Put the nasty error message in config.log where it belongs
20848 echo "$HILDON_PKG_ERRORS" >&5
20850 { { echo "$as_me:$LINENO: error: Package requirements (hildon-1 >= 0.9.9 hildon-fm-2 wpeditor) were not met:
20854 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20855 installed software in a non-standard prefix.
20857 Alternatively, you may set the environment variables HILDON_CFLAGS
20858 and HILDON_LIBS to avoid the need to call pkg-config.
20859 See the pkg-config man page for more details.
20861 echo "$as_me: error: Package requirements (hildon-1 >= 0.9.9 hildon-fm-2 wpeditor) were not met:
20865 Consider adjusting the PKG_CONFIG_PATH environment variable if you
20866 installed software in a non-standard prefix.
20868 Alternatively, you may set the environment variables HILDON_CFLAGS
20869 and HILDON_LIBS to avoid the need to call pkg-config.
20870 See the pkg-config man page for more details.
20872 { (exit 1); exit 1; }; }
20873 elif test $pkg_failed = untried; then
20874 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20875 is in your PATH or set the PKG_CONFIG environment variable to the full
20876 path to pkg-config.
20878 Alternatively, you may set the environment variables HILDON_CFLAGS
20879 and HILDON_LIBS to avoid the need to call pkg-config.
20880 See the pkg-config man page for more details.
20882 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20883 See \`config.log
' for more details." >&5
20884 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20885 is in your PATH or set the PKG_CONFIG environment variable to the full
20886 path to pkg-config.
20888 Alternatively, you may set the environment variables HILDON_CFLAGS
20889 and HILDON_LIBS to avoid the need to call pkg-config.
20890 See the pkg-config man page for more details.
20892 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20893 See \`config.log' for more details.
" >&2;}
20894 { (exit 1); exit 1; }; }
20896 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
20897 HILDON_LIBS=$pkg_cv_HILDON_LIBS
20898 { echo "$as_me:$LINENO: result
: yes" >&5
20899 echo "${ECHO_T}yes" >&6; }
20905 # Only used for the .service file path
20908 { echo "$as_me:$LINENO: checking
for DBUS
" >&5
20909 echo $ECHO_N "checking
for DBUS...
$ECHO_C" >&6; }
20911 if test -n "$PKG_CONFIG"; then
20912 if test -n "$DBUS_CFLAGS"; then
20913 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
20915 if test -n "$PKG_CONFIG" && \
20916 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"dbus-glib-1
>= 0.23.4\"") >&5
20917 ($PKG_CONFIG --exists --print-errors "dbus-glib-1
>= 0.23.4") 2>&5
20919 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20920 (exit $ac_status); }; then
20921 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1
>= 0.23.4" 2>/dev/null`
20929 if test -n "$PKG_CONFIG"; then
20930 if test -n "$DBUS_LIBS"; then
20931 pkg_cv_DBUS_LIBS="$DBUS_LIBS"
20933 if test -n "$PKG_CONFIG" && \
20934 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"dbus-glib-1
>= 0.23.4\"") >&5
20935 ($PKG_CONFIG --exists --print-errors "dbus-glib-1
>= 0.23.4") 2>&5
20937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20938 (exit $ac_status); }; then
20939 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1
>= 0.23.4" 2>/dev/null`
20950 if test $pkg_failed = yes; then
20952 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20953 _pkg_short_errors_supported=yes
20955 _pkg_short_errors_supported=no
20957 if test $_pkg_short_errors_supported = yes; then
20958 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1
>= 0.23.4"`
20960 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1
>= 0.23.4"`
20962 # Put the nasty error message in config.log where it belongs
20963 echo "$DBUS_PKG_ERRORS" >&5
20965 { { echo "$as_me:$LINENO: error
: Package requirements
(dbus-glib-1
>= 0.23.4) were not met
:
20969 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
20970 installed software
in a non-standard prefix.
20972 Alternatively
, you may
set the environment variables DBUS_CFLAGS
20973 and DBUS_LIBS to avoid the need to call pkg-config.
20974 See the pkg-config man page
for more details.
20976 echo "$as_me: error
: Package requirements
(dbus-glib-1
>= 0.23.4) were not met
:
20980 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
20981 installed software
in a non-standard prefix.
20983 Alternatively
, you may
set the environment variables DBUS_CFLAGS
20984 and DBUS_LIBS to avoid the need to call pkg-config.
20985 See the pkg-config man page
for more details.
20987 { (exit 1); exit 1; }; }
20988 elif test $pkg_failed = untried; then
20989 { { echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
20990 is
in your PATH or
set the PKG_CONFIG environment variable to the full
20991 path to pkg-config.
20993 Alternatively
, you may
set the environment variables DBUS_CFLAGS
20994 and DBUS_LIBS to avoid the need to call pkg-config.
20995 See the pkg-config man page
for more details.
20997 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
20998 See \
`config.log' for more details." >&5
20999 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21000 is in your PATH or set the PKG_CONFIG environment variable to the full
21001 path to pkg-config.
21003 Alternatively, you may set the environment variables DBUS_CFLAGS
21004 and DBUS_LIBS to avoid the need to call pkg-config.
21005 See the pkg-config man page for more details.
21007 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21008 See \`config.log
' for more details." >&2;}
21009 { (exit 1); exit 1; }; }
21011 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
21012 DBUS_LIBS=$pkg_cv_DBUS_LIBS
21013 { echo "$as_me:$LINENO: result: yes" >&5
21014 echo "${ECHO_T}yes" >&6; }
21018 # OSSO application framework dependencies
21021 { echo "$as_me:$LINENO: checking for OSSO" >&5
21022 echo $ECHO_N "checking for OSSO... $ECHO_C" >&6; }
21024 if test -n "$PKG_CONFIG"; then
21025 if test -n "$OSSO_CFLAGS"; then
21026 pkg_cv_OSSO_CFLAGS="$OSSO_CFLAGS"
21028 if test -n "$PKG_CONFIG" && \
21029 { (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
21030 ($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
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; then
21034 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`
21042 if test -n "$PKG_CONFIG"; then
21043 if test -n "$OSSO_LIBS"; then
21044 pkg_cv_OSSO_LIBS="$OSSO_LIBS"
21046 if test -n "$PKG_CONFIG" && \
21047 { (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
21048 ($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
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; then
21052 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`
21063 if test $pkg_failed = yes; then
21065 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21066 _pkg_short_errors_supported=yes
21068 _pkg_short_errors_supported=no
21070 if test $_pkg_short_errors_supported = yes; then
21071 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"`
21073 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"`
21075 # Put the nasty error message in config.log where it belongs
21076 echo "$OSSO_PKG_ERRORS" >&5
21078 { { 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:
21082 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21083 installed software in a non-standard prefix.
21085 Alternatively, you may set the environment variables OSSO_CFLAGS
21086 and OSSO_LIBS to avoid the need to call pkg-config.
21087 See the pkg-config man page for more details.
21089 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:
21093 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21094 installed software in a non-standard prefix.
21096 Alternatively, you may set the environment variables OSSO_CFLAGS
21097 and OSSO_LIBS to avoid the need to call pkg-config.
21098 See the pkg-config man page for more details.
21100 { (exit 1); exit 1; }; }
21101 elif test $pkg_failed = untried; then
21102 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21103 is in your PATH or set the PKG_CONFIG environment variable to the full
21104 path to pkg-config.
21106 Alternatively, you may set the environment variables OSSO_CFLAGS
21107 and OSSO_LIBS to avoid the need to call pkg-config.
21108 See the pkg-config man page for more details.
21110 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21111 See \`config.log' for more details.
" >&5
21112 echo "$as_me: error
: The pkg-config
script could not be found or is too old. Make sure it
21113 is
in your PATH or
set the PKG_CONFIG environment variable to the full
21114 path to pkg-config.
21116 Alternatively
, you may
set the environment variables OSSO_CFLAGS
21117 and OSSO_LIBS to avoid the need to call pkg-config.
21118 See the pkg-config man page
for more details.
21120 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
21121 See \
`config.log' for more details." >&2;}
21122 { (exit 1); exit 1; }; }
21124 OSSO_CFLAGS=$pkg_cv_OSSO_CFLAGS
21125 OSSO_LIBS=$pkg_cv_OSSO_LIBS
21126 { echo "$as_me:$LINENO: result: yes" >&5
21127 echo "${ECHO_T}yes" >&6; }
21134 #PKG_CHECK_MODULES(XML2, libxml-2.0 >= 2.6.0)
21135 #AC_SUBST(XML2_LIBS)
21136 #AC_SUBST(XML2_CFLAGS)
21141 { echo "$as_me:$LINENO: checking for SQL3" >&5
21142 echo $ECHO_N "checking for SQL3... $ECHO_C" >&6; }
21144 if test -n "$PKG_CONFIG"; then
21145 if test -n "$SQL3_CFLAGS"; then
21146 pkg_cv_SQL3_CFLAGS="$SQL3_CFLAGS"
21148 if test -n "$PKG_CONFIG" && \
21149 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.0\"") >&5
21150 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.0") 2>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }; then
21154 pkg_cv_SQL3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= 3.0" 2>/dev
/null
`
21162 if test -n "$PKG_CONFIG"; then
21163 if test -n "$SQL3_LIBS"; then
21164 pkg_cv_SQL3_LIBS="$SQL3_LIBS"
21166 if test -n "$PKG_CONFIG" && \
21167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.0\"") >&5
21168 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.0") 2>&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); }; then
21172 pkg_cv_SQL3_LIBS=`$PKG_CONFIG --libs "sqlite3 >= 3.0" 2>/dev
/null
`
21183 if test $pkg_failed = yes; then
21185 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21186 _pkg_short_errors_supported=yes
21188 _pkg_short_errors_supported=no
21190 if test $_pkg_short_errors_supported = yes; then
21191 SQL3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3 >= 3.0"`
21193 SQL3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3 >= 3.0"`
21195 # Put the nasty error message in config.log where it belongs
21196 echo "$SQL3_PKG_ERRORS" >&5
21198 { { echo "$as_me:$LINENO: error: Package requirements (sqlite3 >= 3.0) were not met:
21202 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21203 installed software in a non-standard prefix.
21205 Alternatively, you may set the environment variables SQL3_CFLAGS
21206 and SQL3_LIBS to avoid the need to call pkg-config.
21207 See the pkg-config man page for more details.
21209 echo "$as_me: error: Package requirements (sqlite3 >= 3.0) were not met:
21213 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21214 installed software in a non-standard prefix.
21216 Alternatively, you may set the environment variables SQL3_CFLAGS
21217 and SQL3_LIBS to avoid the need to call pkg-config.
21218 See the pkg-config man page for more details.
21220 { (exit 1); exit 1; }; }
21221 elif test $pkg_failed = untried; then
21222 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21223 is in your PATH or set the PKG_CONFIG environment variable to the full
21224 path to pkg-config.
21226 Alternatively, you may set the environment variables SQL3_CFLAGS
21227 and SQL3_LIBS to avoid the need to call pkg-config.
21228 See the pkg-config man page for more details.
21230 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21231 See \`config.log
' for more details." >&5
21232 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21233 is in your PATH or set the PKG_CONFIG environment variable to the full
21234 path to pkg-config.
21236 Alternatively, you may set the environment variables SQL3_CFLAGS
21237 and SQL3_LIBS to avoid the need to call pkg-config.
21238 See the pkg-config man page for more details.
21240 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21241 See \`config.log' for more details.
" >&2;}
21242 { (exit 1); exit 1; }; }
21244 SQL3_CFLAGS=$pkg_cv_SQL3_CFLAGS
21245 SQL3_LIBS=$pkg_cv_SQL3_LIBS
21246 { echo "$as_me:$LINENO: result
: yes" >&5
21247 echo "${ECHO_T}yes" >&6; }
21256 { echo "$as_me:$LINENO: checking
for SHARINGDIALOG
" >&5
21257 echo $ECHO_N "checking
for SHARINGDIALOG...
$ECHO_C" >&6; }
21259 if test -n "$PKG_CONFIG"; then
21260 if test -n "$SHARINGDIALOG_CFLAGS"; then
21261 pkg_cv_SHARINGDIALOG_CFLAGS="$SHARINGDIALOG_CFLAGS"
21263 if test -n "$PKG_CONFIG" && \
21264 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"sharingdialog
>= 1.1\"") >&5
21265 ($PKG_CONFIG --exists --print-errors "sharingdialog
>= 1.1") 2>&5
21267 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21268 (exit $ac_status); }; then
21269 pkg_cv_SHARINGDIALOG_CFLAGS=`$PKG_CONFIG --cflags "sharingdialog
>= 1.1" 2>/dev/null`
21277 if test -n "$PKG_CONFIG"; then
21278 if test -n "$SHARINGDIALOG_LIBS"; then
21279 pkg_cv_SHARINGDIALOG_LIBS="$SHARINGDIALOG_LIBS"
21281 if test -n "$PKG_CONFIG" && \
21282 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"sharingdialog
>= 1.1\"") >&5
21283 ($PKG_CONFIG --exists --print-errors "sharingdialog
>= 1.1") 2>&5
21285 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21286 (exit $ac_status); }; then
21287 pkg_cv_SHARINGDIALOG_LIBS=`$PKG_CONFIG --libs "sharingdialog
>= 1.1" 2>/dev/null`
21298 if test $pkg_failed = yes; then
21300 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21301 _pkg_short_errors_supported=yes
21303 _pkg_short_errors_supported=no
21305 if test $_pkg_short_errors_supported = yes; then
21306 SHARINGDIALOG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sharingdialog
>= 1.1"`
21308 SHARINGDIALOG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sharingdialog
>= 1.1"`
21310 # Put the nasty error message in config.log where it belongs
21311 echo "$SHARINGDIALOG_PKG_ERRORS" >&5
21313 { { echo "$as_me:$LINENO: error
: Package requirements
(sharingdialog
>= 1.1) were not met
:
21315 $SHARINGDIALOG_PKG_ERRORS
21317 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
21318 installed software
in a non-standard prefix.
21320 Alternatively
, you may
set the environment variables SHARINGDIALOG_CFLAGS
21321 and SHARINGDIALOG_LIBS to avoid the need to call pkg-config.
21322 See the pkg-config man page
for more details.
21324 echo "$as_me: error
: Package requirements
(sharingdialog
>= 1.1) were not met
:
21326 $SHARINGDIALOG_PKG_ERRORS
21328 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
21329 installed software
in a non-standard prefix.
21331 Alternatively
, you may
set the environment variables SHARINGDIALOG_CFLAGS
21332 and SHARINGDIALOG_LIBS to avoid the need to call pkg-config.
21333 See the pkg-config man page
for more details.
21335 { (exit 1); exit 1; }; }
21336 elif test $pkg_failed = untried; then
21337 { { echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
21338 is
in your PATH or
set the PKG_CONFIG environment variable to the full
21339 path to pkg-config.
21341 Alternatively
, you may
set the environment variables SHARINGDIALOG_CFLAGS
21342 and SHARINGDIALOG_LIBS to avoid the need to call pkg-config.
21343 See the pkg-config man page
for more details.
21345 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
21346 See \
`config.log' for more details." >&5
21347 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21348 is in your PATH or set the PKG_CONFIG environment variable to the full
21349 path to pkg-config.
21351 Alternatively, you may set the environment variables SHARINGDIALOG_CFLAGS
21352 and SHARINGDIALOG_LIBS to avoid the need to call pkg-config.
21353 See the pkg-config man page for more details.
21355 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21356 See \`config.log
' for more details." >&2;}
21357 { (exit 1); exit 1; }; }
21359 SHARINGDIALOG_CFLAGS=$pkg_cv_SHARINGDIALOG_CFLAGS
21360 SHARINGDIALOG_LIBS=$pkg_cv_SHARINGDIALOG_LIBS
21361 { echo "$as_me:$LINENO: result: yes" >&5
21362 echo "${ECHO_T}yes" >&6; }
21369 GETTEXT_PACKAGE=$PACKAGE
21372 cat >>confdefs.h <<_ACEOF
21373 #define GETTEXT_PACKAGE "${GETTEXT_PACKAGE}"
21376 ALL_LINGUAS="de_DE en_GB fi_FI hu ru sv_SE"
21379 for ac_header in locale.h
21381 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21382 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21383 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21385 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21386 echo $ECHO_N "(cached) $ECHO_C" >&6
21388 ac_res=`eval echo '${'$as_ac_Header'}'`
21389 { echo "$as_me:$LINENO: result: $ac_res" >&5
21390 echo "${ECHO_T}$ac_res" >&6; }
21392 # Is the header compilable?
21393 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21394 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21395 cat >conftest.$ac_ext <<_ACEOF
21398 cat confdefs.h >>conftest.$ac_ext
21399 cat >>conftest.$ac_ext <<_ACEOF
21400 /* end confdefs.h. */
21401 $ac_includes_default
21402 #include <$ac_header>
21404 rm -f conftest.$ac_objext
21405 if { (ac_try="$ac_compile"
21406 case "(($ac_try" in
21407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21408 *) ac_try_echo=$ac_try;;
21410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21411 (eval "$ac_compile") 2>conftest.er1
21413 grep -v '^
*+' conftest.er1 >conftest.err
21415 cat conftest.err >&5
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); } && {
21418 test -z "$ac_c_werror_flag" ||
21419 test ! -s conftest.err
21420 } && test -s conftest.$ac_objext; then
21421 ac_header_compiler=yes
21423 echo "$as_me: failed program was:" >&5
21424 sed 's
/^
/|
/' conftest.$ac_ext >&5
21426 ac_header_compiler=no
21429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21430 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21431 echo "${ECHO_T}$ac_header_compiler" >&6; }
21433 # Is the header present?
21434 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21436 cat >conftest.$ac_ext <<_ACEOF
21439 cat confdefs.h >>conftest.$ac_ext
21440 cat >>conftest.$ac_ext <<_ACEOF
21441 /* end confdefs.h. */
21442 #include <$ac_header>
21444 if { (ac_try="$ac_cpp conftest.$ac_ext"
21445 case "(($ac_try" in
21446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21447 *) ac_try_echo=$ac_try;;
21449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21452 grep -v '^
*+' conftest.er1 >conftest.err
21454 cat conftest.err >&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } >/dev/null && {
21457 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21458 test ! -s conftest.err
21460 ac_header_preproc=yes
21462 echo "$as_me: failed program was:" >&5
21463 sed 's
/^
/|
/' conftest.$ac_ext >&5
21465 ac_header_preproc=no
21468 rm -f conftest.err conftest.$ac_ext
21469 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21470 echo "${ECHO_T}$ac_header_preproc" >&6; }
21472 # So? What about this header?
21473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21475 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21476 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
21478 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
21479 ac_header_preproc=yes
21482 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21483 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21484 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21485 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21486 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21487 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21488 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21489 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
21491 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
21492 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21493 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21497 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21499 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21500 echo $ECHO_N "(cached) $ECHO_C" >&6
21502 eval "$as_ac_Header=\$ac_header_preproc"
21504 ac_res=`eval echo '${'$as_ac_Header'}'`
21505 { echo "$as_me:$LINENO: result: $ac_res" >&5
21506 echo "${ECHO_T}$ac_res" >&6; }
21509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21510 cat >>confdefs.h <<_ACEOF
21511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21518 if test $ac_cv_header_locale_h = yes; then
21519 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
21520 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
21521 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
21522 echo $ECHO_N "(cached) $ECHO_C" >&6
21524 cat >conftest.$ac_ext <<_ACEOF
21527 cat confdefs.h >>conftest.$ac_ext
21528 cat >>conftest.$ac_ext <<_ACEOF
21529 /* end confdefs.h. */
21530 #include <locale.h>
21539 rm -f conftest.$ac_objext conftest$ac_exeext
21540 if { (ac_try="$ac_link"
21541 case "(($ac_try" in
21542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21543 *) ac_try_echo=$ac_try;;
21545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21546 (eval "$ac_link") 2>conftest.er1
21548 grep -v '^
*+' conftest.er1 >conftest.err
21550 cat conftest.err >&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } && {
21553 test -z "$ac_c_werror_flag" ||
21554 test ! -s conftest.err
21555 } && test -s conftest$ac_exeext &&
21556 $as_test_x conftest$ac_exeext; then
21557 am_cv_val_LC_MESSAGES=yes
21559 echo "$as_me: failed program was:" >&5
21560 sed 's
/^
/|
/' conftest.$ac_ext >&5
21562 am_cv_val_LC_MESSAGES=no
21565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21566 conftest$ac_exeext conftest.$ac_ext
21568 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
21569 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
21570 if test $am_cv_val_LC_MESSAGES = yes; then
21572 cat >>confdefs.h <<\_ACEOF
21573 #define HAVE_LC_MESSAGES 1
21581 gt_cv_have_gettext=no
21587 if test "${ac_cv_header_libintl_h+set}" = set; then
21588 { echo "$as_me:$LINENO: checking for libintl.h" >&5
21589 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
21590 if test "${ac_cv_header_libintl_h+set}" = set; then
21591 echo $ECHO_N "(cached) $ECHO_C" >&6
21593 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21594 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21596 # Is the header compilable?
21597 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
21598 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
21599 cat >conftest.$ac_ext <<_ACEOF
21602 cat confdefs.h >>conftest.$ac_ext
21603 cat >>conftest.$ac_ext <<_ACEOF
21604 /* end confdefs.h. */
21605 $ac_includes_default
21606 #include <libintl.h>
21608 rm -f conftest.$ac_objext
21609 if { (ac_try="$ac_compile"
21610 case "(($ac_try" in
21611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21612 *) ac_try_echo=$ac_try;;
21614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21615 (eval "$ac_compile") 2>conftest.er1
21617 grep -v '^
*+' conftest.er1 >conftest.err
21619 cat conftest.err >&5
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); } && {
21622 test -z "$ac_c_werror_flag" ||
21623 test ! -s conftest.err
21624 } && test -s conftest.$ac_objext; then
21625 ac_header_compiler=yes
21627 echo "$as_me: failed program was:" >&5
21628 sed 's
/^
/|
/' conftest.$ac_ext >&5
21630 ac_header_compiler=no
21633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21634 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21635 echo "${ECHO_T}$ac_header_compiler" >&6; }
21637 # Is the header present?
21638 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
21639 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
21640 cat >conftest.$ac_ext <<_ACEOF
21643 cat confdefs.h >>conftest.$ac_ext
21644 cat >>conftest.$ac_ext <<_ACEOF
21645 /* end confdefs.h. */
21646 #include <libintl.h>
21648 if { (ac_try="$ac_cpp conftest.$ac_ext"
21649 case "(($ac_try" in
21650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21651 *) ac_try_echo=$ac_try;;
21653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21656 grep -v '^
*+' conftest.er1 >conftest.err
21658 cat conftest.err >&5
21659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21660 (exit $ac_status); } >/dev/null && {
21661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21662 test ! -s conftest.err
21664 ac_header_preproc=yes
21666 echo "$as_me: failed program was:" >&5
21667 sed 's
/^
/|
/' conftest.$ac_ext >&5
21669 ac_header_preproc=no
21672 rm -f conftest.err conftest.$ac_ext
21673 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21674 echo "${ECHO_T}$ac_header_preproc" >&6; }
21676 # So? What about this header?
21677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21679 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
21680 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21681 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result
" >&5
21682 echo "$as_me: WARNING
: libintl.h
: proceeding with the compiler
's result" >&2;}
21683 ac_header_preproc=yes
21686 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
21687 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
21688 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
21689 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
21690 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
21691 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
21692 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
21693 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
21694 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result
" >&5
21695 echo "$as_me: WARNING
: libintl.h
: proceeding with the preprocessor
's result" >&2;}
21696 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
21697 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
21701 { echo "$as_me:$LINENO: checking for libintl.h" >&5
21702 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
21703 if test "${ac_cv_header_libintl_h+set}" = set; then
21704 echo $ECHO_N "(cached) $ECHO_C" >&6
21706 ac_cv_header_libintl_h=$ac_header_preproc
21708 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21709 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21712 if test $ac_cv_header_libintl_h = yes; then
21713 gt_cv_func_dgettext_libintl="no"
21714 libintl_extra_libs=""
21717 # First check in libc
21719 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
21720 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
21721 if test "${gt_cv_func_ngettext_libc+set}" = set; then
21722 echo $ECHO_N "(cached) $ECHO_C" >&6
21724 cat >conftest.$ac_ext <<_ACEOF
21727 cat confdefs.h >>conftest.$ac_ext
21728 cat >>conftest.$ac_ext <<_ACEOF
21729 /* end confdefs.h. */
21731 #include <libintl.h>
21736 return !ngettext ("","", 1)
21741 rm -f conftest.$ac_objext conftest$ac_exeext
21742 if { (ac_try="$ac_link"
21743 case "(($ac_try" in
21744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21745 *) ac_try_echo=$ac_try;;
21747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21748 (eval "$ac_link") 2>conftest.er1
21750 grep -v '^
*+' conftest.er1 >conftest.err
21752 cat conftest.err >&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); } && {
21755 test -z "$ac_c_werror_flag" ||
21756 test ! -s conftest.err
21757 } && test -s conftest$ac_exeext &&
21758 $as_test_x conftest$ac_exeext; then
21759 gt_cv_func_ngettext_libc=yes
21761 echo "$as_me: failed program was:" >&5
21762 sed 's
/^
/|
/' conftest.$ac_ext >&5
21764 gt_cv_func_ngettext_libc=no
21767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21768 conftest$ac_exeext conftest.$ac_ext
21771 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
21772 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
21774 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21775 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
21776 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
21777 if test "${gt_cv_func_dgettext_libc+set}" = set; then
21778 echo $ECHO_N "(cached) $ECHO_C" >&6
21780 cat >conftest.$ac_ext <<_ACEOF
21783 cat confdefs.h >>conftest.$ac_ext
21784 cat >>conftest.$ac_ext <<_ACEOF
21785 /* end confdefs.h. */
21787 #include <libintl.h>
21792 return !dgettext ("","")
21797 rm -f conftest.$ac_objext conftest$ac_exeext
21798 if { (ac_try="$ac_link"
21799 case "(($ac_try" in
21800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21801 *) ac_try_echo=$ac_try;;
21803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21804 (eval "$ac_link") 2>conftest.er1
21806 grep -v '^
*+' conftest.er1 >conftest.err
21808 cat conftest.err >&5
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); } && {
21811 test -z "$ac_c_werror_flag" ||
21812 test ! -s conftest.err
21813 } && test -s conftest$ac_exeext &&
21814 $as_test_x conftest$ac_exeext; then
21815 gt_cv_func_dgettext_libc=yes
21817 echo "$as_me: failed program was:" >&5
21818 sed 's
/^
/|
/' conftest.$ac_ext >&5
21820 gt_cv_func_dgettext_libc=no
21823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21824 conftest$ac_exeext conftest.$ac_ext
21827 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
21828 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
21831 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21833 for ac_func in bind_textdomain_codeset
21835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21836 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21838 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21839 echo $ECHO_N "(cached) $ECHO_C" >&6
21841 cat >conftest.$ac_ext <<_ACEOF
21844 cat confdefs.h >>conftest.$ac_ext
21845 cat >>conftest.$ac_ext <<_ACEOF
21846 /* end confdefs.h. */
21847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21849 #define $ac_func innocuous_$ac_func
21851 /* System header to define __stub macros and hopefully few prototypes,
21852 which can conflict with char $ac_func (); below.
21853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21854 <limits.h> exists even on freestanding compilers. */
21857 # include <limits.h>
21859 # include <assert.h>
21864 /* Override any GCC internal prototype to avoid an error.
21865 Use char because int might match the return type of a GCC
21866 builtin and then its argument prototype would still apply. */
21871 /* The GNU C library defines this for functions which it implements
21872 to always fail with ENOSYS. Some functions are actually named
21873 something starting with __ and the normal name is an alias. */
21874 #if defined __stub_$ac_func || defined __stub___$ac_func
21881 return $ac_func ();
21886 rm -f conftest.$ac_objext conftest$ac_exeext
21887 if { (ac_try="$ac_link"
21888 case "(($ac_try" in
21889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21890 *) ac_try_echo=$ac_try;;
21892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21893 (eval "$ac_link") 2>conftest.er1
21895 grep -v '^
*+' conftest.er1 >conftest.err
21897 cat conftest.err >&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); } && {
21900 test -z "$ac_c_werror_flag" ||
21901 test ! -s conftest.err
21902 } && test -s conftest$ac_exeext &&
21903 $as_test_x conftest$ac_exeext; then
21904 eval "$as_ac_var=yes"
21906 echo "$as_me: failed program was:" >&5
21907 sed 's
/^
/|
/' conftest.$ac_ext >&5
21909 eval "$as_ac_var=no"
21912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21913 conftest$ac_exeext conftest.$ac_ext
21915 ac_res=`eval echo '${'$as_ac_var'}'`
21916 { echo "$as_me:$LINENO: result: $ac_res" >&5
21917 echo "${ECHO_T}$ac_res" >&6; }
21918 if test `eval echo '${'$as_ac_var'}'` = yes; then
21919 cat >>confdefs.h <<_ACEOF
21920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21929 # If we don't have everything we want
, check
in libintl
21931 if test "$gt_cv_func_dgettext_libc" != "yes" \
21932 ||
test "$gt_cv_func_ngettext_libc" != "yes" \
21933 ||
test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
21935 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
21936 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
21937 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
21938 echo $ECHO_N "(cached) $ECHO_C" >&6
21940 ac_check_lib_save_LIBS
=$LIBS
21941 LIBS
="-lintl $LIBS"
21942 cat >conftest.
$ac_ext <<_ACEOF
21945 cat confdefs.h
>>conftest.
$ac_ext
21946 cat >>conftest.
$ac_ext <<_ACEOF
21947 /* end confdefs.h. */
21949 /* Override any GCC internal prototype to avoid an error.
21950 Use char because int might match the return type of a GCC
21951 builtin and then its argument prototype would still apply. */
21955 char bindtextdomain ();
21959 return bindtextdomain ();
21964 rm -f conftest.
$ac_objext conftest
$ac_exeext
21965 if { (ac_try
="$ac_link"
21966 case "(($ac_try" in
21967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21968 *) ac_try_echo=$ac_try;;
21970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21971 (eval "$ac_link") 2>conftest.er1
21973 grep -v '^ *+' conftest.er1 >conftest.err
21975 cat conftest.err >&5
21976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977 (exit $ac_status); } && {
21978 test -z "$ac_c_werror_flag" ||
21979 test ! -s conftest.err
21980 } && test -s conftest$ac_exeext &&
21981 $as_test_x conftest$ac_exeext; then
21982 ac_cv_lib_intl_bindtextdomain=yes
21984 echo "$as_me: failed program was:" >&5
21985 sed 's/^/| /' conftest.$ac_ext >&5
21987 ac_cv_lib_intl_bindtextdomain=no
21990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21991 conftest$ac_exeext conftest.$ac_ext
21992 LIBS=$ac_check_lib_save_LIBS
21994 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
21995 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
21996 if test $ac_cv_lib_intl_bindtextdomain = yes; then
21997 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21998 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
21999 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
22000 echo $ECHO_N "(cached) $ECHO_C" >&6
22002 ac_check_lib_save_LIBS=$LIBS
22003 LIBS="-lintl $LIBS"
22004 cat >conftest.$ac_ext <<_ACEOF
22007 cat confdefs.h >>conftest.$ac_ext
22008 cat >>conftest.$ac_ext <<_ACEOF
22009 /* end confdefs.h. */
22011 /* Override any GCC internal prototype to avoid an error.
22012 Use char because int might match the return type of a GCC
22013 builtin and then its argument prototype would still apply. */
22021 return ngettext ();
22026 rm -f conftest.$ac_objext conftest$ac_exeext
22027 if { (ac_try="$ac_link"
22028 case "(($ac_try" in
22029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22030 *) ac_try_echo
=$ac_try;;
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_link") 2>conftest.er1
22035 grep -v '^ *+' conftest.er1
>conftest.err
22037 cat conftest.err
>&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); } && {
22040 test -z "$ac_c_werror_flag" ||
22041 test ! -s conftest.err
22042 } && test -s conftest
$ac_exeext &&
22043 $as_test_x conftest
$ac_exeext; then
22044 ac_cv_lib_intl_ngettext
=yes
22046 echo "$as_me: failed program was:" >&5
22047 sed 's/^/| /' conftest.
$ac_ext >&5
22049 ac_cv_lib_intl_ngettext
=no
22052 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22053 conftest
$ac_exeext conftest.
$ac_ext
22054 LIBS
=$ac_check_lib_save_LIBS
22056 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
22057 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
22058 if test $ac_cv_lib_intl_ngettext = yes; then
22059 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
22060 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
22061 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
22062 echo $ECHO_N "(cached) $ECHO_C" >&6
22064 ac_check_lib_save_LIBS
=$LIBS
22065 LIBS
="-lintl $LIBS"
22066 cat >conftest.
$ac_ext <<_ACEOF
22069 cat confdefs.h
>>conftest.
$ac_ext
22070 cat >>conftest.
$ac_ext <<_ACEOF
22071 /* end confdefs.h. */
22073 /* Override any GCC internal prototype to avoid an error.
22074 Use char because int might match the return type of a GCC
22075 builtin and then its argument prototype would still apply. */
22083 return dgettext ();
22088 rm -f conftest.
$ac_objext conftest
$ac_exeext
22089 if { (ac_try
="$ac_link"
22090 case "(($ac_try" in
22091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22092 *) ac_try_echo=$ac_try;;
22094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22095 (eval "$ac_link") 2>conftest.er1
22097 grep -v '^ *+' conftest.er1 >conftest.err
22099 cat conftest.err >&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); } && {
22102 test -z "$ac_c_werror_flag" ||
22103 test ! -s conftest.err
22104 } && test -s conftest$ac_exeext &&
22105 $as_test_x conftest$ac_exeext; then
22106 ac_cv_lib_intl_dgettext=yes
22108 echo "$as_me: failed program was:" >&5
22109 sed 's/^/| /' conftest.$ac_ext >&5
22111 ac_cv_lib_intl_dgettext=no
22114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22115 conftest$ac_exeext conftest.$ac_ext
22116 LIBS=$ac_check_lib_save_LIBS
22118 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
22119 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
22120 if test $ac_cv_lib_intl_dgettext = yes; then
22121 gt_cv_func_dgettext_libintl=yes
22129 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
22130 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
22131 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
22132 { echo "$as_me:$LINENO: result: " >&5
22133 echo "${ECHO_T}" >&6; }
22134 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
22135 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
22136 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
22137 echo $ECHO_N "(cached) $ECHO_C" >&6
22139 ac_check_lib_save_LIBS=$LIBS
22140 LIBS="-lintl -liconv $LIBS"
22141 cat >conftest.$ac_ext <<_ACEOF
22144 cat confdefs.h >>conftest.$ac_ext
22145 cat >>conftest.$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22148 /* Override any GCC internal prototype to avoid an error.
22149 Use char because int might match the return type of a GCC
22150 builtin and then its argument prototype would still apply. */
22158 return ngettext ();
22163 rm -f conftest.$ac_objext conftest$ac_exeext
22164 if { (ac_try="$ac_link"
22165 case "(($ac_try" in
22166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22167 *) ac_try_echo
=$ac_try;;
22169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22170 (eval "$ac_link") 2>conftest.er1
22172 grep -v '^ *+' conftest.er1
>conftest.err
22174 cat conftest.err
>&5
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); } && {
22177 test -z "$ac_c_werror_flag" ||
22178 test ! -s conftest.err
22179 } && test -s conftest
$ac_exeext &&
22180 $as_test_x conftest
$ac_exeext; then
22181 ac_cv_lib_intl_ngettext
=yes
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.
$ac_ext >&5
22186 ac_cv_lib_intl_ngettext
=no
22189 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22190 conftest
$ac_exeext conftest.
$ac_ext
22191 LIBS
=$ac_check_lib_save_LIBS
22193 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
22194 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
22195 if test $ac_cv_lib_intl_ngettext = yes; then
22196 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
22197 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
22198 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
22199 echo $ECHO_N "(cached) $ECHO_C" >&6
22201 ac_check_lib_save_LIBS
=$LIBS
22202 LIBS
="-lintl -liconv $LIBS"
22203 cat >conftest.
$ac_ext <<_ACEOF
22206 cat confdefs.h
>>conftest.
$ac_ext
22207 cat >>conftest.
$ac_ext <<_ACEOF
22208 /* end confdefs.h. */
22210 /* Override any GCC internal prototype to avoid an error.
22211 Use char because int might match the return type of a GCC
22212 builtin and then its argument prototype would still apply. */
22220 return dcgettext ();
22225 rm -f conftest.
$ac_objext conftest
$ac_exeext
22226 if { (ac_try
="$ac_link"
22227 case "(($ac_try" in
22228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22229 *) ac_try_echo=$ac_try;;
22231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22232 (eval "$ac_link") 2>conftest.er1
22234 grep -v '^ *+' conftest.er1 >conftest.err
22236 cat conftest.err >&5
22237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238 (exit $ac_status); } && {
22239 test -z "$ac_c_werror_flag" ||
22240 test ! -s conftest.err
22241 } && test -s conftest$ac_exeext &&
22242 $as_test_x conftest$ac_exeext; then
22243 ac_cv_lib_intl_dcgettext=yes
22245 echo "$as_me: failed program was:" >&5
22246 sed 's/^/| /' conftest.$ac_ext >&5
22248 ac_cv_lib_intl_dcgettext=no
22251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22252 conftest$ac_exeext conftest.$ac_ext
22253 LIBS=$ac_check_lib_save_LIBS
22255 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
22256 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
22257 if test $ac_cv_lib_intl_dcgettext = yes; then
22258 gt_cv_func_dgettext_libintl=yes
22259 libintl_extra_libs=-liconv
22271 # If we found libintl, then check in it for bind_textdomain_codeset();
22272 # we'll prefer libc if neither have bind_textdomain_codeset(),
22273 # and both have dgettext and ngettext
22275 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
22276 glib_save_LIBS="$LIBS"
22277 LIBS="$LIBS -lintl $libintl_extra_libs"
22278 unset ac_cv_func_bind_textdomain_codeset
22280 for ac_func in bind_textdomain_codeset
22282 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
22283 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22285 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22286 echo $ECHO_N "(cached) $ECHO_C" >&6
22288 cat >conftest.$ac_ext <<_ACEOF
22291 cat confdefs.h >>conftest.$ac_ext
22292 cat >>conftest.$ac_ext <<_ACEOF
22293 /* end confdefs.h. */
22294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22296 #define $ac_func innocuous_$ac_func
22298 /* System header to define __stub macros and hopefully few prototypes,
22299 which can conflict with char $ac_func (); below.
22300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22301 <limits.h> exists even on freestanding compilers. */
22304 # include <limits.h>
22306 # include <assert.h>
22311 /* Override any GCC internal prototype to avoid an error.
22312 Use char because int might match the return type of a GCC
22313 builtin and then its argument prototype would still apply. */
22318 /* The GNU C library defines this for functions which it implements
22319 to always fail with ENOSYS. Some functions are actually named
22320 something starting with __ and the normal name is an alias. */
22321 #if defined __stub_$ac_func || defined __stub___$ac_func
22328 return $ac_func ();
22333 rm -f conftest.$ac_objext conftest$ac_exeext
22334 if { (ac_try="$ac_link"
22335 case "(($ac_try" in
22336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22337 *) ac_try_echo
=$ac_try;;
22339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22340 (eval "$ac_link") 2>conftest.er1
22342 grep -v '^ *+' conftest.er1
>conftest.err
22344 cat conftest.err
>&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } && {
22347 test -z "$ac_c_werror_flag" ||
22348 test ! -s conftest.err
22349 } && test -s conftest
$ac_exeext &&
22350 $as_test_x conftest
$ac_exeext; then
22351 eval "$as_ac_var=yes"
22353 echo "$as_me: failed program was:" >&5
22354 sed 's/^/| /' conftest.
$ac_ext >&5
22356 eval "$as_ac_var=no"
22359 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22360 conftest
$ac_exeext conftest.
$ac_ext
22362 ac_res
=`eval echo '${'$as_ac_var'}'`
22363 { echo "$as_me:$LINENO: result: $ac_res" >&5
22364 echo "${ECHO_T}$ac_res" >&6; }
22365 if test `eval echo '${'$as_ac_var'}'` = yes; then
22366 cat >>confdefs.h
<<_ACEOF
22367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22373 LIBS
="$glib_save_LIBS"
22375 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
22376 gt_cv_func_dgettext_libc
=no
22378 if test "$gt_cv_func_dgettext_libc" = "yes" \
22379 && test "$gt_cv_func_ngettext_libc" = "yes"; then
22380 gt_cv_func_dgettext_libintl
=no
22386 if test "$gt_cv_func_dgettext_libc" = "yes" \
22387 ||
test "$gt_cv_func_dgettext_libintl" = "yes"; then
22388 gt_cv_have_gettext
=yes
22391 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
22392 INTLLIBS
="-lintl $libintl_extra_libs"
22395 if test "$gt_cv_have_gettext" = "yes"; then
22397 cat >>confdefs.h
<<\_ACEOF
22398 #define HAVE_GETTEXT 1
22401 # Extract the first word of "msgfmt", so it can be a program name with args.
22402 set dummy msgfmt
; ac_word
=$2
22403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22405 if test "${ac_cv_path_MSGFMT+set}" = set; then
22406 echo $ECHO_N "(cached) $ECHO_C" >&6
22410 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
22413 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
22414 for ac_dir
in $PATH; do
22415 test -z "$ac_dir" && ac_dir
=.
22416 if test -f $ac_dir/$ac_word; then
22417 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
22418 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
22424 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
22428 MSGFMT
="$ac_cv_path_MSGFMT"
22429 if test "$MSGFMT" != "no"; then
22430 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
22431 echo "${ECHO_T}$MSGFMT" >&6; }
22433 { echo "$as_me:$LINENO: result: no" >&5
22434 echo "${ECHO_T}no" >&6; }
22436 if test "$MSGFMT" != "no"; then
22437 glib_save_LIBS
="$LIBS"
22438 LIBS
="$LIBS $INTLLIBS"
22440 for ac_func
in dcgettext
22442 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22443 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22445 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22446 echo $ECHO_N "(cached) $ECHO_C" >&6
22448 cat >conftest.
$ac_ext <<_ACEOF
22451 cat confdefs.h
>>conftest.
$ac_ext
22452 cat >>conftest.
$ac_ext <<_ACEOF
22453 /* end confdefs.h. */
22454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22456 #define $ac_func innocuous_$ac_func
22458 /* System header to define __stub macros and hopefully few prototypes,
22459 which can conflict with char $ac_func (); below.
22460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22461 <limits.h> exists even on freestanding compilers. */
22464 # include <limits.h>
22466 # include <assert.h>
22471 /* Override any GCC internal prototype to avoid an error.
22472 Use char because int might match the return type of a GCC
22473 builtin and then its argument prototype would still apply. */
22478 /* The GNU C library defines this for functions which it implements
22479 to always fail with ENOSYS. Some functions are actually named
22480 something starting with __ and the normal name is an alias. */
22481 #if defined __stub_$ac_func || defined __stub___$ac_func
22488 return $ac_func ();
22493 rm -f conftest.
$ac_objext conftest
$ac_exeext
22494 if { (ac_try
="$ac_link"
22495 case "(($ac_try" in
22496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22497 *) ac_try_echo=$ac_try;;
22499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22500 (eval "$ac_link") 2>conftest.er1
22502 grep -v '^ *+' conftest.er1 >conftest.err
22504 cat conftest.err >&5
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); } && {
22507 test -z "$ac_c_werror_flag" ||
22508 test ! -s conftest.err
22509 } && test -s conftest$ac_exeext &&
22510 $as_test_x conftest$ac_exeext; then
22511 eval "$as_ac_var=yes"
22513 echo "$as_me: failed program was:" >&5
22514 sed 's/^/| /' conftest.$ac_ext >&5
22516 eval "$as_ac_var=no"
22519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22520 conftest$ac_exeext conftest.$ac_ext
22522 ac_res=`eval echo '${'$as_ac_var'}'`
22523 { echo "$as_me:$LINENO: result: $ac_res" >&5
22524 echo "${ECHO_T}$ac_res" >&6; }
22525 if test `eval echo '${'$as_ac_var'}'` = yes; then
22526 cat >>confdefs.h <<_ACEOF
22527 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
22534 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
22535 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
22536 cat >conftest.foo <<_ACEOF
22540 "Content-Type: text/plain; charset=UTF-8\n"
22541 "Project-Id-Version: test 1.0\n"
22542 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
22543 "Last-Translator: test <foo@bar.xx>\n"
22544 "Language-Team: C <LL@li.org>\n"
22545 "MIME-Version: 1.0\n"
22546 "Content-Transfer-Encoding: 8bit\n"
22549 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
22550 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); }; then
22554 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
22555 echo "${ECHO_T}yes" >&6; }
22556 else { echo "$as_me:$LINENO: result: no" >&5
22557 echo "${ECHO_T}no" >&6; }
22558 echo "$as_me: failed input was:" >&5
22559 sed 's/^/| /' conftest.foo >&5
22562 # Extract the first word of "gmsgfmt", so it can be a program name with args.
22563 set dummy gmsgfmt; ac_word=$2
22564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22566 if test "${ac_cv_path_GMSGFMT+set}" = set; then
22567 echo $ECHO_N "(cached) $ECHO_C" >&6
22571 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22575 for as_dir in $PATH
22578 test -z "$as_dir" && as_dir=.
22579 for ac_exec_ext in '' $ac_executable_extensions; do
22580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22581 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22589 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22593 GMSGFMT=$ac_cv_path_GMSGFMT
22594 if test -n "$GMSGFMT"; then
22595 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22596 echo "${ECHO_T}$GMSGFMT" >&6; }
22598 { echo "$as_me:$LINENO: result: no" >&5
22599 echo "${ECHO_T}no" >&6; }
22603 # Extract the first word of "xgettext", so it can be a program name with args.
22604 set dummy xgettext; ac_word=$2
22605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22607 if test "${ac_cv_path_XGETTEXT+set}" = set; then
22608 echo $ECHO_N "(cached) $ECHO_C" >&6
22610 case "$XGETTEXT" in
22612 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22615 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22616 for ac_dir in $PATH; do
22617 test -z "$ac_dir" && ac_dir=.
22618 if test -f $ac_dir/$ac_word; then
22619 if test -z "`$ac_dir/$ac_word -h 2>&1 |
grep '(HELP)'`"; then
22620 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22626 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22630 XGETTEXT="$ac_cv_path_XGETTEXT"
22631 if test "$XGETTEXT" != ":"; then
22632 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22633 echo "${ECHO_T}$XGETTEXT" >&6; }
22635 { echo "$as_me:$LINENO: result: no" >&5
22636 echo "${ECHO_T}no" >&6; }
22639 cat >conftest.$ac_ext <<_ACEOF
22642 cat confdefs.h >>conftest.$ac_ext
22643 cat >>conftest.$ac_ext <<_ACEOF
22644 /* end confdefs.h. */
22649 extern int _nl_msg_cat_cntr;
22650 return _nl_msg_cat_cntr
22655 rm -f conftest.$ac_objext conftest$ac_exeext
22656 if { (ac_try="$ac_link"
22657 case "(($ac_try" in
22658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22659 *) ac_try_echo
=$ac_try;;
22661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22662 (eval "$ac_link") 2>conftest.er1
22664 grep -v '^ *+' conftest.er1
>conftest.err
22666 cat conftest.err
>&5
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); } && {
22669 test -z "$ac_c_werror_flag" ||
22670 test ! -s conftest.err
22671 } && test -s conftest
$ac_exeext &&
22672 $as_test_x conftest
$ac_exeext; then
22676 echo "$as_me: failed program was:" >&5
22677 sed 's/^/| /' conftest.
$ac_ext >&5
22681 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
22682 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
22683 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
22684 echo $ECHO_N "(cached) $ECHO_C" >&6
22686 cat >conftest.
$ac_ext <<_ACEOF
22689 cat confdefs.h
>>conftest.
$ac_ext
22690 cat >>conftest.
$ac_ext <<_ACEOF
22691 /* end confdefs.h. */
22692 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
22693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22694 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
22696 /* System header to define __stub macros and hopefully few prototypes,
22697 which can conflict with char bind_textdomain_codeset (); below.
22698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22699 <limits.h> exists even on freestanding compilers. */
22702 # include <limits.h>
22704 # include <assert.h>
22707 #undef bind_textdomain_codeset
22709 /* Override any GCC internal prototype to avoid an error.
22710 Use char because int might match the return type of a GCC
22711 builtin and then its argument prototype would still apply. */
22715 char bind_textdomain_codeset ();
22716 /* The GNU C library defines this for functions which it implements
22717 to always fail with ENOSYS. Some functions are actually named
22718 something starting with __ and the normal name is an alias. */
22719 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
22726 return bind_textdomain_codeset ();
22731 rm -f conftest.
$ac_objext conftest
$ac_exeext
22732 if { (ac_try
="$ac_link"
22733 case "(($ac_try" in
22734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22735 *) ac_try_echo=$ac_try;;
22737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22738 (eval "$ac_link") 2>conftest.er1
22740 grep -v '^ *+' conftest.er1 >conftest.err
22742 cat conftest.err >&5
22743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744 (exit $ac_status); } && {
22745 test -z "$ac_c_werror_flag" ||
22746 test ! -s conftest.err
22747 } && test -s conftest$ac_exeext &&
22748 $as_test_x conftest$ac_exeext; then
22749 ac_cv_func_bind_textdomain_codeset=yes
22751 echo "$as_me: failed program was:" >&5
22752 sed 's/^/| /' conftest.$ac_ext >&5
22754 ac_cv_func_bind_textdomain_codeset=no
22757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22758 conftest$ac_exeext conftest.$ac_ext
22760 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
22761 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
22762 if test $ac_cv_func_bind_textdomain_codeset = yes; then
22778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22779 conftest$ac_exeext conftest.$ac_ext
22780 LIBS="$glib_save_LIBS"
22783 gt_cv_have_gettext=no
22791 if test "$gt_cv_have_gettext" = "yes" ; then
22793 cat >>confdefs.h <<\_ACEOF
22794 #define ENABLE_NLS 1
22799 if test "$XGETTEXT" != ":"; then
22800 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22803 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
22804 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
22809 # We need to process the po/ directory.
22812 ac_config_commands="$ac_config_commands default-1"
22815 for lang in $ALL_LINGUAS; do
22816 GMOFILES="$GMOFILES $lang.gmo"
22817 POFILES="$POFILES $lang.po"
22832 if test "$gt_cv_have_gettext" = "yes"; then
22833 if test "x$ALL_LINGUAS" = "x"; then
22836 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
22837 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
22839 for presentlang in $ALL_LINGUAS; do
22841 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
22842 desiredlanguages="$LINGUAS"
22844 desiredlanguages="$ALL_LINGUAS"
22846 for desiredlang in $desiredlanguages; do
22847 # Use the presentlang catalog if desiredlang is
22848 # a. equal to presentlang, or
22849 # b. a variant of presentlang (because in this case,
22850 # presentlang can be used as a fallback for messages
22851 # which are not translated in the desiredlang catalog).
22852 case "$desiredlang" in
22853 "$presentlang"*) useit=yes;;
22856 if test $useit = yes; then
22857 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
22860 LINGUAS=$NEW_LINGUAS
22861 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
22862 echo "${ECHO_T}$LINGUAS" >&6; }
22865 if test -n "$LINGUAS"; then
22866 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
22871 if test -n "$ac_aux_dir"; then
22872 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
22874 if test -z "$MKINSTALLDIRS"; then
22875 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
22879 test -d po || mkdir po
22880 if test "x$srcdir" != "x."; then
22881 if test "x`echo $srcdir |
sed 's@/.*@@'`" = "x"; then
22882 posrcprefix="$srcdir/"
22884 posrcprefix="../$srcdir/"
22890 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
22891 < $srcdir/po/POTFILES.in > po/POTFILES
22894 # To make application visible in maemo Task Navigator it needs a Desktop
22895 # file for the application.
22896 # D-BUS service file is needed to be able to launch the maemo application
22897 # and connect it to D-BUS services.
22898 # The following line defines install directories for these files.
22899 desktopentrydir=/usr/share/applications/hildon
22900 serviceentrydir=/usr/share/dbus-1/services
22902 # Application locale install directory
22903 localedir=/usr/share/locale
22905 # Application pixmaps install directory
22906 pixmapdir=/usr/share/pixmaps/$PACKAGE
22908 # Application icon install directories
22909 icon_26x26dir=$datadir/icons/hicolor/26x26/hildon
22910 icon_34x34dir=$datadir/icons/hicolor/34x34/hildon
22911 icon_40x40dir=$datadir/icons/hicolor/40x40/hildon
22912 icon_50x50dir=$datadir/icons/hicolor/50x50/hildon
22913 icon_scalabledir=$datadir/icons/hicolor/scalable/hildon
22915 # Hildon control panel plugin install directories
22916 pluginlibdir=`$PKG_CONFIG hildon-control-panel
--variable=plugindir
`
22917 plugindesktopentrydir=`$PKG_CONFIG hildon-control-panel
--variable=plugindesktopentrydir
`
22919 # Define as variables in Makefiles
22932 # Application Installer uses alternative root prefix /var/lib/install
22933 # where packages are installed. Build time and run time are different.
22934 # Define runtime paths to applications in config.h.
22935 #runtime_root=/var/lib/install
22936 #runtime_localedir=$runtime_root$localedir
22937 #runtime_pixmapdir=$runtime_root$pixmapdir
22940 cat >>confdefs.h <<_ACEOF
22941 #define LOCALEDIR "${localedir}"
22945 cat >>confdefs.h <<_ACEOF
22946 #define PIXMAPDIR "${pixmapdir}"
22950 # Produce output files
22951 ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile po/Makefile.in po/Makefile"
22953 cat >confcache <<\_ACEOF
22954 # This file is a shell script that caches the results of configure
22955 # tests run on this system so they can be shared between configure
22956 # scripts and configure runs, see configure's option --config-cache.
22957 # It is not useful on other systems. If it contains results you don't
22958 # want to keep, you may remove or edit it.
22960 # config.status only pays attention to the cache file if you give it
22961 # the --recheck option to rerun configure.
22963 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
22964 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22965 # following values.
22969 # The following way of writing the cache mishandles newlines in values,
22970 # but we know of no workaround that is simple, portable, and efficient.
22971 # So, we kill variables containing newlines.
22972 # Ultrix sh set writes to stderr and can't be redirected directly,
22973 # and sets the high bit in the cache file unless we assign to the vars.
22975 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22976 eval ac_val
=\$
$ac_var
22980 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22981 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22984 _ | IFS | as_nl
) ;; #(
22985 *) $as_unset $ac_var ;;
22991 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22992 *${as_nl}ac_space
=\
*)
22993 # `set' does not quote correctly, so add quotes (double-quote
22994 # substitution turns \\\\ into \\, and sed turns \\ into \).
22997 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23000 # `set' quotes correctly as required by POSIX, so do not add quotes.
23001 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23010 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23012 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23014 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23015 if test -w "$cache_file"; then
23016 test "x$cache_file" != "x/dev/null" &&
23017 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23018 echo "$as_me: updating cache $cache_file" >&6;}
23019 cat confcache
>$cache_file
23021 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23022 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23027 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23028 # Let make expand exec_prefix.
23029 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23031 DEFS
=-DHAVE_CONFIG_H
23035 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23036 # 1. Remove the extension, and $U if already installed.
23037 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23038 ac_i
=`echo "$ac_i" | sed "$ac_script"`
23039 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23040 # will be set to the directory where LIBOBJS objects are built.
23041 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23042 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23044 LIBOBJS
=$ac_libobjs
23046 LTLIBOBJS
=$ac_ltlibobjs
23049 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23050 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23051 Usually this means the macro was only invoked conditionally." >&5
23052 echo "$as_me: error: conditional \"AMDEP\" was never defined.
23053 Usually this means the macro was only invoked conditionally." >&2;}
23054 { (exit 1); exit 1; }; }
23056 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23057 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23058 Usually this means the macro was only invoked conditionally." >&5
23059 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23060 Usually this means the macro was only invoked conditionally." >&2;}
23061 { (exit 1); exit 1; }; }
23063 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23064 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23065 Usually this means the macro was only invoked conditionally." >&5
23066 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23067 Usually this means the macro was only invoked conditionally." >&2;}
23068 { (exit 1); exit 1; }; }
23071 ac_config_commands
="$ac_config_commands po/stamp-it"
23075 : ${CONFIG_STATUS=./config.status}
23076 ac_clean_files_save
=$ac_clean_files
23077 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23078 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23079 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23080 cat >$CONFIG_STATUS <<_ACEOF
23082 # Generated by $as_me.
23083 # Run this file to recreate the current configuration.
23084 # Compiler output produced by configure, useful for debugging
23085 # configure, is in config.log if it exists.
23088 ac_cs_recheck=false
23090 SHELL=\${CONFIG_SHELL-$SHELL}
23093 cat >>$CONFIG_STATUS <<\_ACEOF
23094 ## --------------------- ##
23095 ## M4sh Initialization. ##
23096 ## --------------------- ##
23098 # Be more Bourne compatible
23099 DUALCASE
=1; export DUALCASE
# for MKS sh
23100 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23103 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23104 # is contrary to our usage. Disable this feature.
23105 alias -g '${1+"$@"}'='"$@"'
23106 setopt NO_GLOB_SUBST
23108 case `(set -o) 2>/dev/null` in
23109 *posix
*) set -o posix
;;
23118 # Avoid depending upon Character Ranges.
23119 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23120 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23121 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23122 as_cr_digits
='0123456789'
23123 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23125 # The user is always right.
23126 if test "${PATH_SEPARATOR+set}" != set; then
23127 echo "#! /bin/sh" >conf$$.sh
23128 echo "exit 0" >>conf$$.sh
23130 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23138 # Support unset when possible.
23139 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23147 # We need space, tab and new line, in precisely that order. Quoting is
23148 # there to prevent editors from complaining about space-tab.
23149 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23150 # splitting by setting IFS to empty value.)
23155 # Find who we are. Look in the path if we contain no directory separator.
23157 *[\\/]* ) as_myself
=$0 ;;
23158 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23159 for as_dir
in $PATH
23162 test -z "$as_dir" && as_dir
=.
23163 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23169 # We did not find ourselves, most probably we were run as `sh COMMAND'
23170 # in which case we are not to be found in the path.
23171 if test "x$as_myself" = x
; then
23174 if test ! -f "$as_myself"; then
23175 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23176 { (exit 1); exit 1; }
23179 # Work around bugs in pre-3.0 UWIN ksh.
23180 for as_var
in ENV MAIL MAILPATH
23181 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23189 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23190 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23191 LC_TELEPHONE LC_TIME
23193 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23194 eval $as_var=C
; export $as_var
23196 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23200 # Required to use basename.
23201 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23202 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23208 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23209 as_basename
=basename
23215 # Name of the executable.
23216 as_me
=`$as_basename -- "$0" ||
23217 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23218 X"$0" : 'X\(//\)$' \| \
23219 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23221 sed '/^.*\/\([^/][^/]*\)\/*$/{
23240 as_lineno_1
=$LINENO
23241 as_lineno_2
=$LINENO
23242 test "x$as_lineno_1" != "x$as_lineno_2" &&
23243 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
23245 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23246 # uniformly replaced by the line number. The first 'sed' inserts a
23247 # line-number line after each line using $LINENO; the second 'sed'
23248 # does the real work. The second script uses 'N' to pair each
23249 # line-number line with the line containing $LINENO, and appends
23250 # trailing '-' during substitution so that $LINENO is not a special
23251 # case at line end.
23252 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23253 # scripts with optimization help from Paolo Bonzini. Blame Lee
23254 # E. McMahon (1931-1989) for sed's syntax. :-)
23266 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23269 ' >$as_me.lineno
&&
23270 chmod +x
"$as_me.lineno" ||
23271 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23272 { (exit 1); exit 1; }; }
23274 # Don't try to exec as it changes $[0], causing all sort of problems
23275 # (the dirname of $[0] is not the place where we might find the
23276 # original and so on. Autoconf is especially sensitive to this).
23277 .
"./$as_me.lineno"
23278 # Exit status is that of the last command.
23283 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23289 ECHO_C
= ECHO_N
= ECHO_T
=
23290 case `echo -n x` in
23292 case `echo 'x\c'` in
23293 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23300 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23301 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23307 rm -f conf$$ conf$$.exe conf$$.
file
23308 if test -d conf$$.dir
; then
23309 rm -f conf$$.dir
/conf$$.
file
23315 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23317 # ... but there are two gotchas:
23318 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23319 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23320 # In both cases, we have to default to `cp -p'.
23321 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23323 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23328 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23329 rmdir conf$$.dir
2>/dev
/null
23331 if mkdir
-p .
2>/dev
/null
; then
23334 test -d .
/-p && rmdir .
/-p
23338 if test -x / >/dev
/null
2>&1; then
23339 as_test_x
='test -x'
23341 if ls -dL / >/dev
/null
2>&1; then
23348 if test -d "$1"; then
23354 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23355 ???[sx]*):;;*)false;;esac;fi
23359 as_executable_p
=$as_test_x
23361 # Sed expression to map a string onto a valid CPP name.
23362 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23364 # Sed expression to map a string onto a valid variable name.
23365 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23370 # Save the log message, to keep $[0] and so on meaningful, and to
23371 # report actual input values of CONFIG_FILES etc. instead of their
23372 # values after options handling.
23374 This file was extended by $as_me, which was
23375 generated by GNU Autoconf 2.61. Invocation command line was
23377 CONFIG_FILES = $CONFIG_FILES
23378 CONFIG_HEADERS = $CONFIG_HEADERS
23379 CONFIG_LINKS = $CONFIG_LINKS
23380 CONFIG_COMMANDS = $CONFIG_COMMANDS
23383 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23388 cat >>$CONFIG_STATUS <<_ACEOF
23389 # Files that config.status was made for.
23390 config_files="$ac_config_files"
23391 config_headers="$ac_config_headers"
23392 config_commands="$ac_config_commands"
23396 cat >>$CONFIG_STATUS <<\_ACEOF
23398 \`$as_me' instantiates files from templates according to the
23399 current configuration.
23401 Usage: $0 [OPTIONS] [FILE]...
23403 -h, --help print this help, then exit
23404 -V, --version print version number and configuration settings, then exit
23405 -q, --quiet do not print progress messages
23406 -d, --debug don't remove temporary files
23407 --recheck update $as_me by reconfiguring in the same conditions
23408 --file=FILE[:TEMPLATE]
23409 instantiate the configuration file FILE
23410 --header=FILE[:TEMPLATE]
23411 instantiate the configuration header FILE
23413 Configuration files:
23416 Configuration headers:
23419 Configuration commands:
23422 Report bugs to <bug-autoconf@gnu.org>."
23425 cat >>$CONFIG_STATUS <<_ACEOF
23428 configured by $0, generated by GNU Autoconf 2.61,
23429 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23431 Copyright (C) 2006 Free Software Foundation, Inc.
23432 This config.status script is free software; the Free Software Foundation
23433 gives unlimited permission to copy, distribute and modify it."
23440 cat >>$CONFIG_STATUS <<\_ACEOF
23441 # If no file are specified by the user, then we need to provide default
23442 # value. By we need to know if files were specified by the user.
23448 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23449 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23460 # Handling of the options.
23461 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23463 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23464 echo "$ac_cs_version"; exit ;;
23465 --debug |
--debu |
--deb |
--de |
--d |
-d )
23467 --file |
--fil |
--fi |
--f )
23469 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
23470 ac_need_defaults
=false
;;
23471 --header |
--heade |
--head |
--hea )
23473 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
23474 ac_need_defaults
=false
;;
23476 # Conflict between --help and --header
23477 { echo "$as_me: error: ambiguous option: $1
23478 Try \`$0 --help' for more information." >&2
23479 { (exit 1); exit 1; }; };;
23480 --help |
--hel |
-h )
23481 echo "$ac_cs_usage"; exit ;;
23482 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23483 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23486 # This is an error.
23487 -*) { echo "$as_me: error: unrecognized option: $1
23488 Try \`$0 --help' for more information." >&2
23489 { (exit 1); exit 1; }; } ;;
23491 *) ac_config_targets
="$ac_config_targets $1"
23492 ac_need_defaults
=false
;;
23498 ac_configure_extra_args
=
23500 if $ac_cs_silent; then
23502 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23506 cat >>$CONFIG_STATUS <<_ACEOF
23507 if \$ac_cs_recheck; then
23508 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23509 CONFIG_SHELL=$SHELL
23510 export CONFIG_SHELL
23511 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23515 cat >>$CONFIG_STATUS <<\_ACEOF
23519 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23520 ## Running $as_me. ##
23526 cat >>$CONFIG_STATUS <<_ACEOF
23530 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23535 cat >>$CONFIG_STATUS <<\_ACEOF
23537 # Handling of arguments.
23538 for ac_config_target
in $ac_config_targets
23540 case $ac_config_target in
23541 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
23542 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23543 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
23544 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23545 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
23546 "data/Makefile") CONFIG_FILES
="$CONFIG_FILES data/Makefile" ;;
23547 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
23548 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
23549 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
23551 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23552 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23553 { (exit 1); exit 1; }; };;
23558 # If the user did not use the arguments to specify the items to instantiate,
23559 # then the envvar interface is used. Set only those that are not.
23560 # We use the long form for the default assignment because of an extremely
23561 # bizarre bug on SunOS 4.1.3.
23562 if $ac_need_defaults; then
23563 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23564 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23565 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23568 # Have a temporary directory for convenience. Make it in the build tree
23569 # simply because there is no reason against having it here, and in addition,
23570 # creating and moving files from /tmp can sometimes cause problems.
23571 # Hook for its removal unless debugging.
23572 # Note that there is a small window in which the directory will not be cleaned:
23573 # after its creation but before its name has been assigned to `$tmp'.
23577 trap 'exit_status=$?
23578 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23580 trap '{ (exit 1); exit 1; }' 1 2 13 15
23582 # Create a (secure) tmp directory for tmp files.
23585 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23586 test -n "$tmp" && test -d "$tmp"
23589 tmp
=.
/conf$$
-$RANDOM
23590 (umask 077 && mkdir
"$tmp")
23593 echo "$me: cannot create a temporary directory in ." >&2
23594 { (exit 1); exit 1; }
23598 # Set up the sed scripts for CONFIG_FILES section.
23601 # No need to generate the scripts if there are no CONFIG_FILES.
23602 # This happens for instance when ./config.status config.h
23603 if test -n "$CONFIG_FILES"; then
23610 for ac_last_try
in false false false false false
:; do
23611 cat >conf$
$subs.
sed <<_ACEOF
23612 SHELL!$SHELL$ac_delim
23613 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23614 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23615 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23616 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23617 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23618 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23619 exec_prefix!$exec_prefix$ac_delim
23620 prefix!$prefix$ac_delim
23621 program_transform_name!$program_transform_name$ac_delim
23622 bindir!$bindir$ac_delim
23623 sbindir!$sbindir$ac_delim
23624 libexecdir!$libexecdir$ac_delim
23625 datarootdir!$datarootdir$ac_delim
23626 datadir!$datadir$ac_delim
23627 sysconfdir!$sysconfdir$ac_delim
23628 sharedstatedir!$sharedstatedir$ac_delim
23629 localstatedir!$localstatedir$ac_delim
23630 includedir!$includedir$ac_delim
23631 oldincludedir!$oldincludedir$ac_delim
23632 docdir!$docdir$ac_delim
23633 infodir!$infodir$ac_delim
23634 htmldir!$htmldir$ac_delim
23635 dvidir!$dvidir$ac_delim
23636 pdfdir!$pdfdir$ac_delim
23637 psdir!$psdir$ac_delim
23638 libdir!$libdir$ac_delim
23639 localedir!$localedir$ac_delim
23640 mandir!$mandir$ac_delim
23641 DEFS!$DEFS$ac_delim
23642 ECHO_C!$ECHO_C$ac_delim
23643 ECHO_N!$ECHO_N$ac_delim
23644 ECHO_T!$ECHO_T$ac_delim
23645 LIBS!$LIBS$ac_delim
23646 build_alias!$build_alias$ac_delim
23647 host_alias!$host_alias$ac_delim
23648 target_alias!$target_alias$ac_delim
23649 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23650 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23651 INSTALL_DATA!$INSTALL_DATA$ac_delim
23652 CYGPATH_W!$CYGPATH_W$ac_delim
23653 PACKAGE!$PACKAGE$ac_delim
23654 VERSION!$VERSION$ac_delim
23655 ACLOCAL!$ACLOCAL$ac_delim
23656 AUTOCONF!$AUTOCONF$ac_delim
23657 AUTOMAKE!$AUTOMAKE$ac_delim
23658 AUTOHEADER!$AUTOHEADER$ac_delim
23659 MAKEINFO!$MAKEINFO$ac_delim
23660 AMTAR!$AMTAR$ac_delim
23661 install_sh!$install_sh$ac_delim
23662 STRIP!$STRIP$ac_delim
23663 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23665 SET_MAKE!$SET_MAKE$ac_delim
23666 am__leading_dot!$am__leading_dot$ac_delim
23667 build!$build$ac_delim
23668 build_cpu!$build_cpu$ac_delim
23669 build_vendor!$build_vendor$ac_delim
23670 build_os!$build_os$ac_delim
23671 host!$host$ac_delim
23672 host_cpu!$host_cpu$ac_delim
23673 host_vendor!$host_vendor$ac_delim
23674 host_os!$host_os$ac_delim
23676 CFLAGS!$CFLAGS$ac_delim
23677 LDFLAGS!$LDFLAGS$ac_delim
23678 CPPFLAGS!$CPPFLAGS$ac_delim
23679 ac_ct_CC!$ac_ct_CC$ac_delim
23680 EXEEXT!$EXEEXT$ac_delim
23681 OBJEXT!$OBJEXT$ac_delim
23682 DEPDIR!$DEPDIR$ac_delim
23683 am__include!$am__include$ac_delim
23684 am__quote!$am__quote$ac_delim
23685 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23686 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23687 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23688 CCDEPMODE!$CCDEPMODE$ac_delim
23689 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23690 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23692 RANLIB!$RANLIB$ac_delim
23694 GREP!$GREP$ac_delim
23695 EGREP!$EGREP$ac_delim
23696 LN_S!$LN_S$ac_delim
23697 ECHO!$ECHO$ac_delim
23699 DSYMUTIL!$DSYMUTIL$ac_delim
23700 NMEDIT!$NMEDIT$ac_delim
23702 CXXFLAGS!$CXXFLAGS$ac_delim
23703 ac_ct_CXX!$ac_ct_CXX$ac_delim
23704 CXXDEPMODE!$CXXDEPMODE$ac_delim
23705 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23706 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23707 CXXCPP!$CXXCPP$ac_delim
23711 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23713 elif $ac_last_try; then
23714 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23715 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23716 { (exit 1); exit 1; }; }
23718 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23722 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23723 if test -n "$ac_eof"; then
23724 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23725 ac_eof
=`expr $ac_eof + 1`
23728 cat >>$CONFIG_STATUS <<_ACEOF
23729 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23730 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23733 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23734 s/^/s,@/; s/!/@,|#_!!_#|/
23737 s/'"$ac_delim"'$/,g/; t
23739 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23740 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23741 rm -f conf$
$subs.
sed
23742 cat >>$CONFIG_STATUS <<_ACEOF
23748 for ac_last_try
in false false false false false
:; do
23749 cat >conf$
$subs.
sed <<_ACEOF
23750 FFLAGS!$FFLAGS$ac_delim
23751 ac_ct_F77!$ac_ct_F77$ac_delim
23752 LIBTOOL!$LIBTOOL$ac_delim
23753 USE_NLS!$USE_NLS$ac_delim
23754 INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
23755 INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
23756 INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
23757 INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
23758 INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
23759 INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
23760 INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
23761 INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
23762 INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
23763 INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
23764 INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
23765 INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
23766 INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
23767 INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
23768 INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
23769 INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
23770 INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
23771 INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
23772 INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
23773 INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
23774 INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
23775 INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
23776 XGETTEXT!$XGETTEXT$ac_delim
23777 MSGMERGE!$MSGMERGE$ac_delim
23778 MSGFMT!$MSGFMT$ac_delim
23779 GMSGFMT!$GMSGFMT$ac_delim
23780 INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
23781 ALL_LINGUAS!$ALL_LINGUAS$ac_delim
23782 DATADIRNAME!$DATADIRNAME$ac_delim
23783 PKG_CONFIG!$PKG_CONFIG$ac_delim
23784 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
23785 HILDON_LIBS!$HILDON_LIBS$ac_delim
23786 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
23787 DBUS_LIBS!$DBUS_LIBS$ac_delim
23788 OSSO_CFLAGS!$OSSO_CFLAGS$ac_delim
23789 OSSO_LIBS!$OSSO_LIBS$ac_delim
23790 SQL3_CFLAGS!$SQL3_CFLAGS$ac_delim
23791 SQL3_LIBS!$SQL3_LIBS$ac_delim
23792 SHARINGDIALOG_CFLAGS!$SHARINGDIALOG_CFLAGS$ac_delim
23793 SHARINGDIALOG_LIBS!$SHARINGDIALOG_LIBS$ac_delim
23794 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
23795 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
23796 CATALOGS!$CATALOGS$ac_delim
23797 CATOBJEXT!$CATOBJEXT$ac_delim
23798 GMOFILES!$GMOFILES$ac_delim
23799 INSTOBJEXT!$INSTOBJEXT$ac_delim
23800 INTLLIBS!$INTLLIBS$ac_delim
23801 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
23802 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
23803 POFILES!$POFILES$ac_delim
23804 POSUB!$POSUB$ac_delim
23805 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
23806 desktopentrydir!$desktopentrydir$ac_delim
23807 serviceentrydir!$serviceentrydir$ac_delim
23808 pixmapdir!$pixmapdir$ac_delim
23809 icon_26x26dir!$icon_26x26dir$ac_delim
23810 icon_34x34dir!$icon_34x34dir$ac_delim
23811 icon_40x40dir!$icon_40x40dir$ac_delim
23812 icon_50x50dir!$icon_50x50dir$ac_delim
23813 icon_scalabledir!$icon_scalabledir$ac_delim
23814 pluginlibdir!$pluginlibdir$ac_delim
23815 plugindesktopentrydir!$plugindesktopentrydir$ac_delim
23816 LIBOBJS!$LIBOBJS$ac_delim
23817 LTLIBOBJS!$LTLIBOBJS$ac_delim
23820 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 68; then
23822 elif $ac_last_try; then
23823 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23824 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23825 { (exit 1); exit 1; }; }
23827 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
23831 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23832 if test -n "$ac_eof"; then
23833 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
23834 ac_eof
=`expr $ac_eof + 1`
23837 cat >>$CONFIG_STATUS <<_ACEOF
23838 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23839 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23842 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23843 s/^/s,@/; s/!/@,|#_!!_#|/
23846 s/'"$ac_delim"'$/,g/; t
23848 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23849 ' >>$CONFIG_STATUS <conf$
$subs.
sed
23850 rm -f conf$
$subs.
sed
23851 cat >>$CONFIG_STATUS <<_ACEOF
23858 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23859 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23860 # trailing colons and then remove the whole line if VPATH becomes empty
23861 # (actually we leave an empty line to preserve line numbers).
23862 if test "x$srcdir" = x.
; then
23863 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
23864 s/:*\$(srcdir):*/:/
23865 s/:*\${srcdir}:*/:/
23867 s/^\([^=]*=[ ]*\):*/\1/
23873 cat >>$CONFIG_STATUS <<\_ACEOF
23874 fi # test -n "$CONFIG_FILES"
23877 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
23880 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23882 case $ac_mode$ac_tag in
23884 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23885 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23886 { (exit 1); exit 1; }; };;
23887 :[FH
]-) ac_tag
=-:-;;
23888 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23905 -) ac_f
="$tmp/stdin";;
23906 *) # Look for the file first in the build tree, then in the source tree
23907 # (if the path is not absolute). The absolute path cannot be DOS-style,
23908 # because $ac_f cannot contain `:'.
23912 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23914 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23915 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23916 { (exit 1); exit 1; }; };;
23918 ac_file_inputs
="$ac_file_inputs $ac_f"
23921 # Let's still pretend it is `configure' which instantiates (i.e., don't
23922 # use $as_me), people would be surprised to read:
23923 # /* config.h. Generated by config.status. */
23924 configure_input
="Generated from "`IFS=:
23925 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23926 if test x
"$ac_file" != x-
; then
23927 configure_input
="$ac_file. $configure_input"
23928 { echo "$as_me:$LINENO: creating $ac_file" >&5
23929 echo "$as_me: creating $ac_file" >&6;}
23933 *:-:* |
*:-) cat >"$tmp/stdin";;
23938 ac_dir
=`$as_dirname -- "$ac_file" ||
23939 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23940 X"$ac_file" : 'X\(//\)[^/]' \| \
23941 X"$ac_file" : 'X\(//\)$' \| \
23942 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23948 /^X\(\/\/\)[^/].*/{
23963 -*) as_dir
=.
/$as_dir;;
23965 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23969 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23970 *) as_qdir
=$as_dir;;
23972 as_dirs
="'$as_qdir' $as_dirs"
23973 as_dir
=`$as_dirname -- "$as_dir" ||
23974 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23975 X"$as_dir" : 'X\(//\)[^/]' \| \
23976 X"$as_dir" : 'X\(//\)$' \| \
23977 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23983 /^X\(\/\/\)[^/].*/{
23996 test -d "$as_dir" && break
23998 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23999 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24000 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24001 { (exit 1); exit 1; }; }; }
24005 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24007 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24008 # A ".." for each directory in $ac_dir_suffix.
24009 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24010 case $ac_top_builddir_sub in
24011 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24012 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24015 ac_abs_top_builddir
=$ac_pwd
24016 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24017 # for backward compatibility:
24018 ac_top_builddir
=$ac_top_build_prefix
24021 .
) # We are building in place.
24023 ac_top_srcdir
=$ac_top_builddir_sub
24024 ac_abs_top_srcdir
=$ac_pwd ;;
24025 [\\/]* | ?
:[\\/]* ) # Absolute name.
24026 ac_srcdir
=$srcdir$ac_dir_suffix;
24027 ac_top_srcdir
=$srcdir
24028 ac_abs_top_srcdir
=$srcdir ;;
24029 *) # Relative name.
24030 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24031 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24032 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24034 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24044 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24045 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24049 cat >>$CONFIG_STATUS <<\_ACEOF
24050 # If the template does not know about datarootdir, expand it.
24051 # FIXME: This hack should be removed a few years after 2.60.
24052 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24054 case `sed -n '/datarootdir/ {
24063 ' $ac_file_inputs` in
24064 *datarootdir
*) ac_datarootdir_seen
=yes;;
24065 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24066 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24067 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24069 cat >>$CONFIG_STATUS <<_ACEOF
24070 ac_datarootdir_hack='
24071 s&@datadir@&$datadir&g
24072 s&@docdir@&$docdir&g
24073 s&@infodir@&$infodir&g
24074 s&@localedir@&$localedir&g
24075 s&@mandir@&$mandir&g
24076 s&\\\${datarootdir}&$datarootdir&g' ;;
24080 # Neutralize VPATH when `$srcdir' = `.'.
24081 # Shell code in configure.ac might set extrasub.
24082 # FIXME: do we really want to maintain this feature?
24083 cat >>$CONFIG_STATUS <<_ACEOF
24087 cat >>$CONFIG_STATUS <<\_ACEOF
24089 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24090 s
&@configure_input@
&$configure_input&;t t
24091 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24092 s
&@srcdir@
&$ac_srcdir&;t t
24093 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24094 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24095 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24096 s
&@builddir@
&$ac_builddir&;t t
24097 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24098 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24099 s
&@INSTALL@
&$ac_INSTALL&;t t
24100 $ac_datarootdir_hack
24101 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
24103 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24104 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
24105 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
24106 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24107 which seems to be undefined. Please make sure it is defined." >&5
24108 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24109 which seems to be undefined. Please make sure it is defined." >&2;}
24113 -) cat "$tmp/out"; rm -f "$tmp/out";;
24114 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24123 # Transform confdefs.h into a sed script `conftest.defines', that
24124 # substitutes the proper values into config.h.in to produce config.h.
24125 rm -f conftest.defines conftest.
tail
24126 # First, append a space to every undef/define line, to ease matching.
24127 echo 's/$/ /' >conftest.defines
24128 # Then, protect against being on the right side of a sed subst, or in
24129 # an unquoted here document, in config.status. If some macros were
24130 # called several times there might be several #defines for the same
24131 # symbol, which is useless. But do not sort them, since the last
24132 # AC_DEFINE must be honored.
24133 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
24134 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24135 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24136 # PARAMS is the parameter list in the macro definition--in most cases, it's
24137 # just an empty string.
24138 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24139 ac_dB
='\\)[ (].*,\\1define\\2'
24147 s/^[ ]*#[ ]*define[ ][ ]*//
24152 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24153 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24154 ' >>conftest.defines
24156 # Remove the space that was appended to ease matching.
24157 # Then replace #undef with comments. This is necessary, for
24158 # example, in the case of _POSIX_SOURCE, which is predefined and required
24159 # on some systems where configure will not decide to define it.
24160 # (The regexp can be short, since the line contains either #define or #undef.)
24162 s,^[ #]*u.*,/* & */,' >>conftest.defines
24164 # Break up conftest.defines:
24165 ac_max_sed_lines
=50
24167 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24168 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24169 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24171 ac_in
='$ac_file_inputs'
24172 ac_out
='"$tmp/out1"'
24173 ac_nxt
='"$tmp/out2"'
24177 # Write a here document:
24178 cat >>$CONFIG_STATUS <<_ACEOF
24179 # First, check the format of the line:
24180 cat >"\$tmp/defines.sed" <<\\CEOF
24181 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24182 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24186 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
24188 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24189 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
24190 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
24191 grep . conftest.
tail >/dev
/null ||
break
24192 rm -f conftest.defines
24193 mv conftest.
tail conftest.defines
24195 rm -f conftest.defines conftest.
tail
24197 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24198 cat >>$CONFIG_STATUS <<\_ACEOF
24199 if test x
"$ac_file" != x-
; then
24200 echo "/* $configure_input */" >"$tmp/config.h"
24201 cat "$ac_result" >>"$tmp/config.h"
24202 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
24203 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24204 echo "$as_me: $ac_file is unchanged" >&6;}
24207 mv "$tmp/config.h" $ac_file
24210 echo "/* $configure_input */"
24214 # Compute $ac_file's index in $config_headers.
24216 for _am_header
in $config_headers :; do
24217 case $_am_header in
24218 $ac_file |
$ac_file:* )
24221 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24224 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
24225 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24226 X$ac_file : 'X\(//\)[^/]' \| \
24227 X$ac_file : 'X\(//\)$' \| \
24228 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
24230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24234 /^X\(\/\/\)[^/].*/{
24246 s/.*/./; q'`/stamp-h
$_am_stamp_count
24249 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24250 echo "$as_me: executing $ac_file commands" >&6;}
24255 case $ac_file$ac_mode in
24256 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
24257 # Strip MF so we end up with the name of the file.
24258 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24259 # Check whether this is an Automake generated Makefile or not.
24260 # We used to match only the files named `Makefile.in', but
24261 # some people rename them; so instead we look at the file content.
24262 # Grep'ing the first line is not enough: some people post-process
24263 # each Makefile.in and add a new line on top of each file to say so.
24264 # So let's grep whole file.
24265 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
24266 dirpart
=`$as_dirname -- "$mf" ||
24267 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24268 X"$mf" : 'X\(//\)[^/]' \| \
24269 X"$mf" : 'X\(//\)$' \| \
24270 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24276 /^X\(\/\/\)[^/].*/{
24292 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
24293 # Extract the definition of DEP_FILES from the Makefile without
24295 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
24296 test -z "$DEPDIR" && continue
24297 # When using ansi2knr, U may be empty or an underscore; expand it
24298 U
=`sed -n -e '/^U = / s///p' < "$mf"`
24299 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
24300 # We invoke sed twice because it is the simplest approach to
24301 # changing $(DEPDIR) to its actual value in the expansion.
24302 for file in `sed -n -e '
24303 /^DEP_FILES = .*\\\\$/ {
24312 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
24313 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24314 # Make sure the directory exists.
24315 test -f "$dirpart/$file" && continue
24316 fdir
=`$as_dirname -- "$file" ||
24317 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24318 X"$file" : 'X\(//\)[^/]' \| \
24319 X"$file" : 'X\(//\)$' \| \
24320 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24326 /^X\(\/\/\)[^/].*/{
24339 { as_dir
=$dirpart/$fdir
24341 -*) as_dir
=.
/$as_dir;;
24343 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24347 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24348 *) as_qdir
=$as_dir;;
24350 as_dirs
="'$as_qdir' $as_dirs"
24351 as_dir
=`$as_dirname -- "$as_dir" ||
24352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24353 X"$as_dir" : 'X\(//\)[^/]' \| \
24354 X"$as_dir" : 'X\(//\)$' \| \
24355 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24361 /^X\(\/\/\)[^/].*/{
24374 test -d "$as_dir" && break
24376 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24377 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24378 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24379 { (exit 1); exit 1; }; }; }
24380 # echo "creating $dirpart/$file"
24381 echo '# dummy' > "$dirpart/$file"
24385 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
24386 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
24389 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" ; then
24390 { { echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
24391 echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
24392 { (exit 1); exit 1; }; }
24394 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
24399 '"s|^| $ac_top_srcdir/|" \
24400 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
24402 sed '/^POTFILES =/,/[^\\]$/ {
24406 ' "po/Makefile.in" >"po/Makefile"
24407 rm -f "po/Makefile.tmp"
24408 mv "po/stamp-it.tmp" "po/stamp-it"
24415 { (exit 0); exit 0; }
24417 chmod +x
$CONFIG_STATUS
24418 ac_clean_files
=$ac_clean_files_save
24421 # configure is writing to config.log, and then calls config.status.
24422 # config.status does its own redirection, appending to config.log.
24423 # Unfortunately, on DOS this fails, as config.log is still kept open
24424 # by configure, so config.status won't be able to write to it; its
24425 # output is simply discarded. So we exec the FD to /dev/null,
24426 # effectively closing config.log, so it can be properly (re)opened and
24427 # appended to by config.status. When coming back to configure, we
24428 # need to make the FD available again.
24429 if test "$no_create" != yes; then
24431 ac_config_status_args
=
24432 test "$silent" = yes &&
24433 ac_config_status_args
="$ac_config_status_args --quiet"
24435 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24437 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24438 # would make configure fail if this is the last instruction.
24439 $ac_cs_success ||
{ (exit 1); exit 1; }