2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libltdl 1.2.
5 # Report bugs to <bug-libtool@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org and
232 $0: bug-libtool@gnu.org about your system, including any
233 $0: error possibly output before this message. Then install
234 $0: a modern shell, or manually run the script under such a
235 $0: shell if you do have one."
241 SHELL
=${CONFIG_SHELL-/bin/sh}
243 # Unset more variables known to interfere with behavior of common tools.
244 CLICOLOR_FORCE
= GREP_OPTIONS
=
245 unset CLICOLOR_FORCE GREP_OPTIONS
247 ## --------------------- ##
248 ## M4sh Shell Functions. ##
249 ## --------------------- ##
252 # Portably unset VAR.
255 { eval $1=; unset $1;}
259 # as_fn_set_status STATUS
260 # -----------------------
261 # Set $? to STATUS, without forking.
269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279 # Create "$as_dir" as a directory, including parents if necessary.
284 -*) as_dir
=.
/$as_dir;;
286 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
290 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 as_dirs
="'$as_qdir' $as_dirs"
294 as_dir
=`$as_dirname -- "$as_dir" ||
295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296 X"$as_dir" : 'X\(//\)[^/]' \| \
297 X"$as_dir" : 'X\(//\)$' \| \
298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299 $as_echo X"$as_dir" |
300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317 test -d "$as_dir" && break
319 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
320 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
324 # as_fn_append VAR VALUE
325 # ----------------------
326 # Append the text in VALUE to the end of the definition contained in VAR. Take
327 # advantage of any shell optimizations that allow amortized linear growth over
328 # repeated appends, instead of the typical quadratic growth present in naive
330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
331 eval 'as_fn_append ()
344 # Perform arithmetic evaluation on the ARGs, and store the result in the
345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
346 # must be portable across $(()) and expr.
347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
355 as_val
=`expr "$@" || test $? -eq 1`
360 # as_fn_error ERROR [LINENO LOG_FD]
361 # ---------------------------------
362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 # script with status $?, using 1 if that was 0.
367 as_status
=$?
; test $as_status -eq 0 && as_status
=1
369 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 $as_echo "$as_me: error: $1" >&2
373 as_fn_exit
$as_status
376 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
377 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
383 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
395 as_me
=`$as_basename -- "$0" ||
396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 X"$0" : 'X\(//\)$' \| \
398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400 sed '/^.*\/\([^/][^/]*\)\/*$/{
414 # Avoid depending upon Character Ranges.
415 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
416 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
418 as_cr_digits
='0123456789'
419 as_cr_alnum
=$as_cr_Letters$as_cr_digits
422 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
423 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 chmod +x
"$as_me.lineno" ||
443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
445 # Don't try to exec as it changes $[0], causing all sort of problems
446 # (the dirname of $[0] is not the place where we might find the
447 # original and so on. Autoconf is especially sensitive to this).
449 # Exit status is that of the last command.
453 ECHO_C
= ECHO_N
= ECHO_T
=
454 case `echo -n x` in #(((((
456 case `echo 'xy\c'` in
457 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
459 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
466 rm -f conf$$ conf$$.exe conf$$.
file
467 if test -d conf$$.dir
; then
468 rm -f conf$$.dir
/conf$$.
file
471 mkdir conf$$.dir
2>/dev
/null
473 if (echo >conf$$.
file) 2>/dev
/null
; then
474 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
476 # ... but there are two gotchas:
477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
480 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
482 elif ln conf$$.
file conf$$
2>/dev
/null
; then
490 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
491 rmdir conf$$.dir
2>/dev
/null
493 if mkdir
-p .
2>/dev
/null
; then
494 as_mkdir_p
='mkdir -p "$as_dir"'
496 test -d .
/-p && rmdir .
/-p
500 if test -x / >/dev
/null
2>&1; then
503 if ls -dL / >/dev
/null
2>&1; then
510 if test -d "$1"; then
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 ???[sx]*):;;*)false;;esac;fi
521 as_executable_p
=$as_test_x
523 # Sed expression to map a string onto a valid CPP name.
524 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526 # Sed expression to map a string onto a valid variable name.
527 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531 # Check that we are running under the correct shell.
532 SHELL
=${CONFIG_SHELL-/bin/sh}
536 # Remove one level of quotation (which was required for Make).
537 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
542 if test "X$1" = X--no-reexec
; then
543 # Discard the --no-reexec flag, and continue.
545 elif test "X$1" = X--fallback-echo
; then
546 # Avoid inline document here, it may be left over
548 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
549 # Yippee, $echo works!
552 # Restart under the correct shell.
553 exec $SHELL "$0" --no-reexec ${1+"$@"}
556 if test "X$1" = X--fallback-echo
; then
557 # used as fallback echo
565 # The HP-UX ksh and POSIX shell print the target directory to stdout
567 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
569 if test -z "$ECHO"; then
570 if test "X${echo_test_string+set}" != Xset
; then
571 # find a string as large as possible, as long as the shell can cope with it
572 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
573 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
574 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
575 echo_test_string
="`eval $cmd`" &&
576 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
583 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
584 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
585 test "X$echo_testing_string" = "X$echo_test_string"; then
588 # The Solaris, AIX, and Digital Unix default echo programs unquote
589 # backslashes. This makes it impossible to quote backslashes using
590 # echo "$something" | sed 's/\\/\\\\/g'
592 # So, first we look for a working echo in the user's PATH.
594 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
595 for dir
in $PATH /usr
/ucb
; do
597 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
598 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
599 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
600 test "X$echo_testing_string" = "X$echo_test_string"; then
607 if test "X$echo" = Xecho
; then
608 # We didn't find a better echo, so look for alternatives.
609 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
610 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
611 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # This shell has a builtin print -r that does the trick.
614 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
615 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
616 # If we have ksh, try running configure again with it.
617 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
618 export ORIGINAL_CONFIG_SHELL
619 CONFIG_SHELL
=/bin
/ksh
621 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
625 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
626 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
627 test "X$echo_testing_string" = "X$echo_test_string"; then
630 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
631 test "X$echo_testing_string" = 'X\t' &&
632 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
636 SHELL
="$CONFIG_SHELL"
638 echo="$CONFIG_SHELL $0 --fallback-echo"
639 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
640 test "X$echo_testing_string" = 'X\t' &&
641 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
642 test "X$echo_testing_string" = "X$echo_test_string"; then
643 echo="$CONFIG_SHELL $0 --fallback-echo"
645 # maybe with a smaller string...
648 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
649 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
656 if test "$prev" != 'sed 50q "$0"'; then
657 echo_test_string
=`eval $prev`
658 export echo_test_string
659 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661 # Oops. We lost completely, so just stick with echo.
670 # Copy echo and quote the copy suitably for passing to libtool from
671 # the Makefile, instead of quoting the original, which is used later.
673 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
674 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
680 tagnames
=${tagnames+${tagnames},}CXX
682 tagnames
=${tagnames+${tagnames},}F77
684 exec 7<&0 </dev
/null
6>&1
687 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
688 # so uname gets run too.
689 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
694 ac_default_prefix
=/usr
/local
696 ac_config_libobj_dir
=.
703 # Identity of this package.
704 PACKAGE_NAME
='libltdl'
705 PACKAGE_TARNAME
='libltdl'
706 PACKAGE_VERSION
='1.2'
707 PACKAGE_STRING
='libltdl 1.2'
708 PACKAGE_BUGREPORT
='bug-libtool@gnu.org'
711 ac_unique_file
="ltdl.c"
712 # Factoring default headers for most tests.
713 ac_includes_default
="\
715 #ifdef HAVE_SYS_TYPES_H
716 # include <sys/types.h>
718 #ifdef HAVE_SYS_STAT_H
719 # include <sys/stat.h>
725 # ifdef HAVE_STDLIB_H
730 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
735 #ifdef HAVE_STRINGS_H
736 # include <strings.h>
738 #ifdef HAVE_INTTYPES_H
739 # include <inttypes.h>
748 ac_subst_vars
='am__EXEEXT_FALSE
753 CONVENIENCE_LTDL_FALSE
754 CONVENIENCE_LTDL_TRUE
811 INSTALL_STRIP_PROGRAM
828 MAINTAINER_MODE_FALSE
857 program_transform_name
870 enable_option_checking
871 enable_maintainer_mode
873 enable_dependency_tracking
883 ac_precious_vars
='build_alias
900 # Initialize some variables set by options.
902 ac_init_version
=false
903 ac_unrecognized_opts
=
905 # The variables have the same names as the options, with
906 # dashes changed to underlines.
914 program_transform_name
=s
,x
,x
,
922 # Installation directory options.
923 # These are left unexpanded so users can "make install exec_prefix=/foo"
924 # and all the variables that are supposed to be based on exec_prefix
925 # by default will actually change.
926 # Use braces instead of parens because sh, perl, etc. also accept them.
927 # (The list follows the same order as the GNU Coding Standards.)
928 bindir
='${exec_prefix}/bin'
929 sbindir
='${exec_prefix}/sbin'
930 libexecdir
='${exec_prefix}/libexec'
931 datarootdir
='${prefix}/share'
932 datadir
='${datarootdir}'
933 sysconfdir
='${prefix}/etc'
934 sharedstatedir
='${prefix}/com'
935 localstatedir
='${prefix}/var'
936 includedir
='${prefix}/include'
937 oldincludedir
='/usr/include'
938 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
939 infodir
='${datarootdir}/info'
944 libdir
='${exec_prefix}/lib'
945 localedir
='${datarootdir}/locale'
946 mandir
='${datarootdir}/man'
952 # If the previous option needs an argument, assign it.
953 if test -n "$ac_prev"; then
954 eval $ac_prev=\
$ac_option
960 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 # Accept the important Cygnus configure options, so we can diagnose typos.
966 case $ac_dashdash$ac_option in
970 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
972 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
975 -build |
--build |
--buil |
--bui |
--bu)
976 ac_prev
=build_alias
;;
977 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
978 build_alias
=$ac_optarg ;;
980 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
981 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
982 ac_prev
=cache_file
;;
983 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
984 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
985 cache_file
=$ac_optarg ;;
988 cache_file
=config.cache
;;
990 -datadir |
--datadir |
--datadi |
--datad)
992 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
993 datadir
=$ac_optarg ;;
995 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
996 |
--dataroo |
--dataro |
--datar)
997 ac_prev
=datarootdir
;;
998 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
999 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1000 datarootdir
=$ac_optarg ;;
1002 -disable-* |
--disable-*)
1003 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1006 as_fn_error
"invalid feature name: $ac_useropt"
1007 ac_useropt_orig
=$ac_useropt
1008 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009 case $ac_user_opts in
1011 "enable_
$ac_useropt"
1013 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1014 ac_unrecognized_sep
=', ';;
1016 eval enable_
$ac_useropt=no
;;
1018 -docdir |
--docdir |
--docdi |
--doc |
--do)
1020 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1021 docdir
=$ac_optarg ;;
1023 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1025 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1026 dvidir
=$ac_optarg ;;
1028 -enable-* |
--enable-*)
1029 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1032 as_fn_error
"invalid feature name: $ac_useropt"
1033 ac_useropt_orig
=$ac_useropt
1034 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035 case $ac_user_opts in
1037 "enable_
$ac_useropt"
1039 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1040 ac_unrecognized_sep
=', ';;
1042 eval enable_
$ac_useropt=\
$ac_optarg ;;
1044 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1045 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1046 |
--exec |
--exe |
--ex)
1047 ac_prev
=exec_prefix
;;
1048 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1049 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1050 |
--exec=* |
--exe=* |
--ex=*)
1051 exec_prefix
=$ac_optarg ;;
1053 -gas |
--gas |
--ga |
--g)
1054 # Obsolete; use --with-gas.
1057 -help |
--help |
--hel |
--he |
-h)
1058 ac_init_help
=long
;;
1059 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1060 ac_init_help
=recursive
;;
1061 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1062 ac_init_help
=short
;;
1064 -host |
--host |
--hos |
--ho)
1065 ac_prev
=host_alias
;;
1066 -host=* |
--host=* |
--hos=* |
--ho=*)
1067 host_alias
=$ac_optarg ;;
1069 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1071 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1073 htmldir
=$ac_optarg ;;
1075 -includedir |
--includedir |
--includedi |
--included |
--include \
1076 |
--includ |
--inclu |
--incl |
--inc)
1077 ac_prev
=includedir
;;
1078 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1079 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1080 includedir
=$ac_optarg ;;
1082 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1084 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1085 infodir
=$ac_optarg ;;
1087 -libdir |
--libdir |
--libdi |
--libd)
1089 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1090 libdir
=$ac_optarg ;;
1092 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1093 |
--libexe |
--libex |
--libe)
1094 ac_prev
=libexecdir
;;
1095 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1096 |
--libexe=* |
--libex=* |
--libe=*)
1097 libexecdir
=$ac_optarg ;;
1099 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1100 ac_prev
=localedir
;;
1101 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1102 localedir
=$ac_optarg ;;
1104 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1105 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1106 ac_prev
=localstatedir
;;
1107 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1108 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1109 localstatedir
=$ac_optarg ;;
1111 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1113 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1114 mandir
=$ac_optarg ;;
1116 -nfp |
--nfp |
--nf)
1117 # Obsolete; use --without-fp.
1120 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1121 |
--no-cr |
--no-c |
-n)
1124 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1125 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1128 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1129 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1130 |
--oldin |
--oldi |
--old |
--ol |
--o)
1131 ac_prev
=oldincludedir
;;
1132 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1133 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1134 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1135 oldincludedir
=$ac_optarg ;;
1137 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1139 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1140 prefix
=$ac_optarg ;;
1142 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1143 |
--program-pre |
--program-pr |
--program-p)
1144 ac_prev
=program_prefix
;;
1145 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1146 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1147 program_prefix
=$ac_optarg ;;
1149 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1150 |
--program-suf |
--program-su |
--program-s)
1151 ac_prev
=program_suffix
;;
1152 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1153 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1154 program_suffix
=$ac_optarg ;;
1156 -program-transform-name |
--program-transform-name \
1157 |
--program-transform-nam |
--program-transform-na \
1158 |
--program-transform-n |
--program-transform- \
1159 |
--program-transform |
--program-transfor \
1160 |
--program-transfo |
--program-transf \
1161 |
--program-trans |
--program-tran \
1162 |
--progr-tra |
--program-tr |
--program-t)
1163 ac_prev
=program_transform_name
;;
1164 -program-transform-name=* |
--program-transform-name=* \
1165 |
--program-transform-nam=* |
--program-transform-na=* \
1166 |
--program-transform-n=* |
--program-transform-=* \
1167 |
--program-transform=* |
--program-transfor=* \
1168 |
--program-transfo=* |
--program-transf=* \
1169 |
--program-trans=* |
--program-tran=* \
1170 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1171 program_transform_name
=$ac_optarg ;;
1173 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1175 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1176 pdfdir
=$ac_optarg ;;
1178 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1180 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1183 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1184 |
-silent |
--silent |
--silen |
--sile |
--sil)
1187 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1189 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1191 sbindir
=$ac_optarg ;;
1193 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1194 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1195 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1197 ac_prev
=sharedstatedir
;;
1198 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1199 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1200 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1202 sharedstatedir
=$ac_optarg ;;
1204 -site |
--site |
--sit)
1206 -site=* |
--site=* |
--sit=*)
1209 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1211 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1212 srcdir
=$ac_optarg ;;
1214 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1215 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1216 ac_prev
=sysconfdir
;;
1217 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1218 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1219 sysconfdir
=$ac_optarg ;;
1221 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1222 ac_prev
=target_alias
;;
1223 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1224 target_alias
=$ac_optarg ;;
1226 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1229 -version |
--version |
--versio |
--versi |
--vers |
-V)
1230 ac_init_version
=: ;;
1233 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1234 # Reject names that are not valid shell variable names.
1235 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1236 as_fn_error
"invalid package name: $ac_useropt"
1237 ac_useropt_orig
=$ac_useropt
1238 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1239 case $ac_user_opts in
1243 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1244 ac_unrecognized_sep
=', ';;
1246 eval with_
$ac_useropt=\
$ac_optarg ;;
1248 -without-* |
--without-*)
1249 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1252 as_fn_error
"invalid package name: $ac_useropt"
1253 ac_useropt_orig
=$ac_useropt
1254 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1259 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1260 ac_unrecognized_sep
=', ';;
1262 eval with_
$ac_useropt=no
;;
1265 # Obsolete; use --with-x.
1268 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1269 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1270 ac_prev
=x_includes
;;
1271 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1272 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1273 x_includes
=$ac_optarg ;;
1275 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1276 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1277 ac_prev
=x_libraries
;;
1278 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1279 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1280 x_libraries
=$ac_optarg ;;
1282 -*) as_fn_error
"unrecognized option: \`$ac_option'
1283 Try \`$0 --help' for more information."
1287 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1288 # Reject names that are not valid shell variable names.
1289 case $ac_envvar in #(
1290 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1291 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1293 eval $ac_envvar=\
$ac_optarg
1294 export $ac_envvar ;;
1297 # FIXME: should be removed in autoconf 3.0.
1298 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1299 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1300 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1301 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1307 if test -n "$ac_prev"; then
1308 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1309 as_fn_error
"missing argument to $ac_option"
1312 if test -n "$ac_unrecognized_opts"; then
1313 case $enable_option_checking in
1315 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1316 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320 # Check all directory arguments for consistency.
1321 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1322 datadir sysconfdir sharedstatedir localstatedir includedir \
1323 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1324 libdir localedir mandir
1326 eval ac_val
=\$
$ac_var
1327 # Remove trailing slashes.
1330 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1331 eval $ac_var=\
$ac_val;;
1333 # Be sure to have absolute directory names.
1335 [\\/$
]* | ?
:[\\/]* ) continue;;
1336 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1338 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1341 # There might be people who depend on the old broken behavior: `$host'
1342 # used to hold the argument of --host etc.
1343 # FIXME: To remove some day.
1346 target
=$target_alias
1348 # FIXME: To remove some day.
1349 if test "x$host_alias" != x
; then
1350 if test "x$build_alias" = x
; then
1351 cross_compiling
=maybe
1352 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1353 If a cross compiler is detected then cross compile mode will be used." >&2
1354 elif test "x$build_alias" != "x$host_alias"; then
1360 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1362 test "$silent" = yes && exec 6>/dev
/null
1365 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1366 ac_ls_di
=`ls -di .` &&
1367 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1368 as_fn_error
"working directory cannot be determined"
1369 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1370 as_fn_error
"pwd does not report name of working directory"
1373 # Find the source files, if location was not specified.
1374 if test -z "$srcdir"; then
1375 ac_srcdir_defaulted
=yes
1376 # Try the directory containing this script, then the parent directory.
1377 ac_confdir
=`$as_dirname -- "$as_myself" ||
1378 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1379 X"$as_myself" : 'X\(//\)[^/]' \| \
1380 X"$as_myself" : 'X\(//\)$' \| \
1381 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1382 $as_echo X"$as_myself" |
1383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1401 if test ! -r "$srcdir/$ac_unique_file"; then
1405 ac_srcdir_defaulted
=no
1407 if test ! -r "$srcdir/$ac_unique_file"; then
1408 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1409 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1411 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1413 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1415 # When building in place, set srcdir=.
1416 if test "$ac_abs_confdir" = "$ac_pwd"; then
1419 # Remove unnecessary trailing slashes from srcdir.
1420 # Double slashes in file names in object file debugging info
1421 # mess up M-x gdb in Emacs.
1423 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1425 for ac_var
in $ac_precious_vars; do
1426 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1427 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1428 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1429 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1433 # Report the --help message.
1435 if test "$ac_init_help" = "long"; then
1436 # Omit some internal or obsolete options to make the list less imposing.
1437 # This message is too long to be a string in the A/UX 3.1 sh.
1439 \`configure' configures libltdl 1.2 to adapt to many kinds of systems.
1441 Usage: $0 [OPTION]... [VAR=VALUE]...
1443 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1444 VAR=VALUE. See below for descriptions of some of the useful variables.
1446 Defaults for the options are specified in brackets.
1449 -h, --help display this help and exit
1450 --help=short display options specific to this package
1451 --help=recursive display the short help of all the included packages
1452 -V, --version display version information and exit
1453 -q, --quiet, --silent do not print \`checking...' messages
1454 --cache-file=FILE cache test results in FILE [disabled]
1455 -C, --config-cache alias for \`--cache-file=config.cache'
1456 -n, --no-create do not create output files
1457 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1459 Installation directories:
1460 --prefix=PREFIX install architecture-independent files in PREFIX
1461 [$ac_default_prefix]
1462 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1465 By default, \`make install' will install all the files in
1466 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1467 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1468 for instance \`--prefix=\$HOME'.
1470 For better control, use the options below.
1472 Fine tuning of the installation directories:
1473 --bindir=DIR user executables [EPREFIX/bin]
1474 --sbindir=DIR system admin executables [EPREFIX/sbin]
1475 --libexecdir=DIR program executables [EPREFIX/libexec]
1476 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1477 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1478 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1479 --libdir=DIR object code libraries [EPREFIX/lib]
1480 --includedir=DIR C header files [PREFIX/include]
1481 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1482 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1483 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1484 --infodir=DIR info documentation [DATAROOTDIR/info]
1485 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1486 --mandir=DIR man documentation [DATAROOTDIR/man]
1487 --docdir=DIR documentation root [DATAROOTDIR/doc/libltdl]
1488 --htmldir=DIR html documentation [DOCDIR]
1489 --dvidir=DIR dvi documentation [DOCDIR]
1490 --pdfdir=DIR pdf documentation [DOCDIR]
1491 --psdir=DIR ps documentation [DOCDIR]
1497 --program-prefix=PREFIX prepend PREFIX to installed program names
1498 --program-suffix=SUFFIX append SUFFIX to installed program names
1499 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1502 --build=BUILD configure
for building on BUILD
[guessed
]
1503 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1507 if test -n "$ac_init_help"; then
1508 case $ac_init_help in
1509 short | recursive
) echo "Configuration of libltdl 1.2:";;
1514 --disable-option-checking ignore unrecognized
--enable/--with options
1515 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1516 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1517 --enable-maintainer-mode enable make rules and dependencies not useful
1518 (and sometimes confusing
) to the casual installer
1519 --enable-multilib build many library versions
(default
)
1520 --disable-dependency-tracking speeds up one-time build
1521 --enable-dependency-tracking do not reject slow dependency extractors
1522 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1523 --enable-static[=PKGS
] build static libraries
[default
=yes]
1524 --enable-fast-install[=PKGS
]
1525 optimize
for fast installation
[default
=yes]
1526 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1527 --enable-ltdl-install install libltdl
1530 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1531 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1532 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1533 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1535 --with-tags[=TAGS
] include additional configurations
[automatic
]
1537 Some influential environment variables
:
1538 CC C compiler
command
1539 CFLAGS C compiler flags
1540 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1541 nonstandard directory
<lib dir
>
1542 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1543 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1544 you have headers
in a nonstandard directory
<include dir
>
1546 CXX C
++ compiler
command
1547 CXXFLAGS C
++ compiler flags
1548 CXXCPP C
++ preprocessor
1549 F77 Fortran
77 compiler
command
1550 FFLAGS Fortran
77 compiler flags
1552 Use these variables to override the choices made by
`configure' or to help
1553 it to find libraries and programs with nonstandard names/locations.
1555 Report bugs to <bug-libtool@gnu.org>.
1560 if test "$ac_init_help" = "recursive"; then
1561 # If there are subdirs, report their specific --help.
1562 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1563 test -d "$ac_dir" ||
1564 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1569 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1571 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1572 # A ".." for each directory in $ac_dir_suffix.
1573 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1574 case $ac_top_builddir_sub in
1575 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1576 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1579 ac_abs_top_builddir=$ac_pwd
1580 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1581 # for backward compatibility:
1582 ac_top_builddir=$ac_top_build_prefix
1585 .) # We are building in place.
1587 ac_top_srcdir=$ac_top_builddir_sub
1588 ac_abs_top_srcdir=$ac_pwd ;;
1589 [\\/]* | ?:[\\/]* ) # Absolute name.
1590 ac_srcdir=$srcdir$ac_dir_suffix;
1591 ac_top_srcdir=$srcdir
1592 ac_abs_top_srcdir=$srcdir ;;
1594 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1595 ac_top_srcdir=$ac_top_build_prefix$srcdir
1596 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1598 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1600 cd "$ac_dir" || { ac_status=$?; continue; }
1601 # Check for guested configure.
1602 if test -f "$ac_srcdir/configure.gnu"; then
1604 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1605 elif test -f "$ac_srcdir/configure"; then
1607 $SHELL "$ac_srcdir/configure" --help=recursive
1609 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1611 cd "$ac_pwd" || { ac_status=$?; break; }
1615 test -n "$ac_init_help" && exit $ac_status
1616 if $ac_init_version; then
1618 libltdl configure 1.2
1619 generated by GNU Autoconf 2.64
1621 Copyright (C) 2009 Free Software Foundation, Inc.
1622 This configure script is free software; the Free Software Foundation
1623 gives unlimited permission to copy, distribute and modify it.
1628 ## ------------------------ ##
1629 ## Autoconf initialization. ##
1630 ## ------------------------ ##
1632 # ac_fn_c_try_compile LINENO
1633 # --------------------------
1634 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1635 ac_fn_c_try_compile ()
1637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1638 rm -f conftest.$ac_objext
1639 if { { ac_try="$ac_compile"
1641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1642 *) ac_try_echo
=$ac_try;;
1644 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646 (eval "$ac_compile") 2>conftest.err
1648 if test -s conftest.err
; then
1649 grep -v '^ *+' conftest.err
>conftest.er1
1650 cat conftest.er1
>&5
1651 mv -f conftest.er1 conftest.err
1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654 test $ac_status = 0; } && {
1655 test -z "$ac_c_werror_flag" ||
1656 test ! -s conftest.err
1657 } && test -s conftest.
$ac_objext; then :
1660 $as_echo "$as_me: failed program was:" >&5
1661 sed 's/^/| /' conftest.
$ac_ext >&5
1665 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1668 } # ac_fn_c_try_compile
1670 # ac_fn_c_try_link LINENO
1671 # -----------------------
1672 # Try to link conftest.$ac_ext, and return whether this succeeded.
1675 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1676 rm -f conftest.
$ac_objext conftest
$ac_exeext
1677 if { { ac_try
="$ac_link"
1679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1680 *) ac_try_echo=$ac_try;;
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_link") 2>conftest.err
1686 if test -s conftest.err; then
1687 grep -v '^ *+' conftest.err >conftest.er1
1688 cat conftest.er1 >&5
1689 mv -f conftest.er1 conftest.err
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && {
1693 test -z "$ac_c_werror_flag" ||
1694 test ! -s conftest.err
1695 } && test -s conftest$ac_exeext && {
1696 test "$cross_compiling" = yes ||
1697 $as_test_x conftest$ac_exeext
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1706 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1707 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1708 # interfere with the next link command; also delete a directory that is
1709 # left behind by Apple's compiler. We do this before executing the actions.
1710 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1711 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1714 } # ac_fn_c_try_link
1716 # ac_fn_c_try_cpp LINENO
1717 # ----------------------
1718 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 if { { ac_try="$ac_cpp conftest.$ac_ext"
1724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1725 *) ac_try_echo
=$ac_try;;
1727 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1731 if test -s conftest.err
; then
1732 grep -v '^ *+' conftest.err
>conftest.er1
1733 cat conftest.er1
>&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } >/dev
/null
&& {
1738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.
$ac_ext >&5
1748 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1753 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1754 # -------------------------------------------------------
1755 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1756 # the include files in INCLUDES and setting the cache variable VAR
1758 ac_fn_c_check_header_mongrel
()
1760 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1761 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1763 $as_echo_n "checking for $2... " >&6; }
1764 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1765 $as_echo_n "(cached) " >&6
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769 $as_echo "$ac_res" >&6; }
1771 # Is the header compilable?
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1773 $as_echo_n "checking $2 usability... " >&6; }
1774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1775 /* end confdefs.h. */
1779 if ac_fn_c_try_compile
"$LINENO"; then :
1780 ac_header_compiler
=yes
1782 ac_header_compiler
=no
1784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1786 $as_echo "$ac_header_compiler" >&6; }
1788 # Is the header present?
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1790 $as_echo_n "checking $2 presence... " >&6; }
1791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1795 if ac_fn_c_try_cpp
"$LINENO"; then :
1796 ac_header_preproc
=yes
1798 ac_header_preproc
=no
1800 rm -f conftest.err conftest.
$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1802 $as_echo "$ac_header_preproc" >&6; }
1804 # So? What about this header?
1805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1808 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1810 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1814 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1816 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1818 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1820 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1822 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1824 ## ---------------------------------- ##
1825 ## Report this to bug-libtool@gnu.org ##
1826 ## ---------------------------------- ##
1828 ) |
sed "s/^/$as_me: WARNING: /" >&2
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832 $as_echo_n "checking for $2... " >&6; }
1833 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1834 $as_echo_n "(cached) " >&6
1836 eval "$3=\$ac_header_compiler"
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840 $as_echo "$ac_res" >&6; }
1842 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1844 } # ac_fn_c_check_header_mongrel
1846 # ac_fn_c_try_run LINENO
1847 # ----------------------
1848 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1849 # that executables *can* be run.
1852 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1853 if { { ac_try
="$ac_link"
1855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1856 *) ac_try_echo=$ac_try;;
1858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859 $as_echo "$ac_try_echo"; } >&5
1860 (eval "$ac_link") 2>&5
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1864 { { case "(($ac_try" in
1865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1866 *) ac_try_echo
=$ac_try;;
1868 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869 $as_echo "$ac_try_echo"; } >&5
1870 (eval "$ac_try") 2>&5
1872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873 test $ac_status = 0; }; }; then :
1876 $as_echo "$as_me: program exited with status $ac_status" >&5
1877 $as_echo "$as_me: failed program was:" >&5
1878 sed 's/^/| /' conftest.
$ac_ext >&5
1880 ac_retval
=$ac_status
1882 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1883 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1888 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1889 # -------------------------------------------------------
1890 # Tests whether HEADER exists and can be compiled using the include files in
1891 # INCLUDES, setting the cache variable VAR accordingly.
1892 ac_fn_c_check_header_compile
()
1894 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896 $as_echo_n "checking for $2... " >&6; }
1897 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1898 $as_echo_n "(cached) " >&6
1900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1901 /* end confdefs.h. */
1905 if ac_fn_c_try_compile
"$LINENO"; then :
1910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914 $as_echo "$ac_res" >&6; }
1915 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1917 } # ac_fn_c_check_header_compile
1919 # ac_fn_c_check_func LINENO FUNC VAR
1920 # ----------------------------------
1921 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1922 ac_fn_c_check_func
()
1924 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1926 $as_echo_n "checking for $2... " >&6; }
1927 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1928 $as_echo_n "(cached) " >&6
1930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h. */
1932 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1934 #define $2 innocuous_$2
1936 /* System header to define __stub macros and hopefully few prototypes,
1937 which can conflict with char $2 (); below.
1938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1939 <limits.h> exists even on freestanding compilers. */
1942 # include <limits.h>
1944 # include <assert.h>
1949 /* Override any GCC internal prototype to avoid an error.
1950 Use char because int might match the return type of a GCC
1951 builtin and then its argument prototype would still apply. */
1956 /* The GNU C library defines this for functions which it implements
1957 to always fail with ENOSYS. Some functions are actually named
1958 something starting with __ and the normal name is an alias. */
1959 #if defined __stub_$2 || defined __stub___$2
1971 if ac_fn_c_try_link
"$LINENO"; then :
1976 rm -f core conftest.err conftest.
$ac_objext \
1977 conftest
$ac_exeext conftest.
$ac_ext
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1984 } # ac_fn_c_check_func
1986 # ac_fn_cxx_try_compile LINENO
1987 # ----------------------------
1988 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_compile
()
1991 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1992 rm -f conftest.
$ac_objext
1993 if { { ac_try
="$ac_compile"
1995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1996 *) ac_try_echo=$ac_try;;
1998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1999 $as_echo "$ac_try_echo"; } >&5
2000 (eval "$ac_compile") 2>conftest.err
2002 if test -s conftest.err; then
2003 grep -v '^ *+' conftest.err >conftest.er1
2004 cat conftest.er1 >&5
2005 mv -f conftest.er1 conftest.err
2007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008 test $ac_status = 0; } && {
2009 test -z "$ac_cxx_werror_flag" ||
2010 test ! -s conftest.err
2011 } && test -s conftest.$ac_objext; then :
2014 $as_echo "$as_me: failed program was:" >&5
2015 sed 's/^/| /' conftest.$ac_ext >&5
2019 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2022 } # ac_fn_cxx_try_compile
2024 # ac_fn_cxx_try_cpp LINENO
2025 # ------------------------
2026 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2027 ac_fn_cxx_try_cpp ()
2029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030 if { { ac_try="$ac_cpp conftest.$ac_ext"
2032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2033 *) ac_try_echo
=$ac_try;;
2035 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2036 $as_echo "$ac_try_echo"; } >&5
2037 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2039 if test -s conftest.err
; then
2040 grep -v '^ *+' conftest.err
>conftest.er1
2041 cat conftest.er1
>&5
2042 mv -f conftest.er1 conftest.err
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; } >/dev
/null
&& {
2046 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2047 test ! -s conftest.err
2051 $as_echo "$as_me: failed program was:" >&5
2052 sed 's/^/| /' conftest.
$ac_ext >&5
2056 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2059 } # ac_fn_cxx_try_cpp
2061 # ac_fn_cxx_try_link LINENO
2062 # -------------------------
2063 # Try to link conftest.$ac_ext, and return whether this succeeded.
2064 ac_fn_cxx_try_link
()
2066 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2067 rm -f conftest.
$ac_objext conftest
$ac_exeext
2068 if { { ac_try
="$ac_link"
2070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2071 *) ac_try_echo=$ac_try;;
2073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2074 $as_echo "$ac_try_echo"; } >&5
2075 (eval "$ac_link") 2>conftest.err
2077 if test -s conftest.err; then
2078 grep -v '^ *+' conftest.err >conftest.er1
2079 cat conftest.er1 >&5
2080 mv -f conftest.er1 conftest.err
2082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2083 test $ac_status = 0; } && {
2084 test -z "$ac_cxx_werror_flag" ||
2085 test ! -s conftest.err
2086 } && test -s conftest$ac_exeext && {
2087 test "$cross_compiling" = yes ||
2088 $as_test_x conftest$ac_exeext
2092 $as_echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.$ac_ext >&5
2097 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2098 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2099 # interfere with the next link command; also delete a directory that is
2100 # left behind by Apple's compiler. We do this before executing the actions.
2101 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2102 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2105 } # ac_fn_cxx_try_link
2107 # ac_fn_cxx_check_func LINENO FUNC VAR
2108 # ------------------------------------
2109 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2110 ac_fn_cxx_check_func ()
2112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2114 $as_echo_n "checking for $2... " >&6; }
2115 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2116 $as_echo_n "(cached) " >&6
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2120 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2122 #define $2 innocuous_$2
2124 /* System header to define __stub macros and hopefully few prototypes,
2125 which can conflict with char $2 (); below.
2126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2127 <limits.h> exists even on freestanding compilers. */
2130 # include <limits.h>
2132 # include <assert.h>
2137 /* Override any GCC internal prototype to avoid an error.
2138 Use char because int might match the return type of a GCC
2139 builtin and then its argument prototype would still apply. */
2144 /* The GNU C library defines this for functions which it implements
2145 to always fail with ENOSYS. Some functions are actually named
2146 something starting with __ and the normal name is an alias. */
2147 #if defined __stub_$2 || defined __stub___$2
2159 if ac_fn_cxx_try_link "$LINENO"; then :
2164 rm -f core conftest.err conftest.$ac_objext \
2165 conftest$ac_exeext conftest.$ac_ext
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2169 $as_echo "$ac_res" >&6; }
2170 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2172 } # ac_fn_cxx_check_func
2174 # ac_fn_f77_try_compile LINENO
2175 # ----------------------------
2176 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2177 ac_fn_f77_try_compile ()
2179 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2180 rm -f conftest.$ac_objext
2181 if { { ac_try="$ac_compile"
2183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2184 *) ac_try_echo
=$ac_try;;
2186 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2187 $as_echo "$ac_try_echo"; } >&5
2188 (eval "$ac_compile") 2>conftest.err
2190 if test -s conftest.err
; then
2191 grep -v '^ *+' conftest.err
>conftest.er1
2192 cat conftest.er1
>&5
2193 mv -f conftest.er1 conftest.err
2195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2196 test $ac_status = 0; } && {
2197 test -z "$ac_f77_werror_flag" ||
2198 test ! -s conftest.err
2199 } && test -s conftest.
$ac_objext; then :
2202 $as_echo "$as_me: failed program was:" >&5
2203 sed 's/^/| /' conftest.
$ac_ext >&5
2207 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2210 } # ac_fn_f77_try_compile
2212 # ac_fn_f77_try_link LINENO
2213 # -------------------------
2214 # Try to link conftest.$ac_ext, and return whether this succeeded.
2215 ac_fn_f77_try_link
()
2217 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2218 rm -f conftest.
$ac_objext conftest
$ac_exeext
2219 if { { ac_try
="$ac_link"
2221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2222 *) ac_try_echo=$ac_try;;
2224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2225 $as_echo "$ac_try_echo"; } >&5
2226 (eval "$ac_link") 2>conftest.err
2228 if test -s conftest.err; then
2229 grep -v '^ *+' conftest.err >conftest.er1
2230 cat conftest.er1 >&5
2231 mv -f conftest.er1 conftest.err
2233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2234 test $ac_status = 0; } && {
2235 test -z "$ac_f77_werror_flag" ||
2236 test ! -s conftest.err
2237 } && test -s conftest$ac_exeext && {
2238 test "$cross_compiling" = yes ||
2239 $as_test_x conftest$ac_exeext
2243 $as_echo "$as_me: failed program was:" >&5
2244 sed 's/^/| /' conftest.$ac_ext >&5
2248 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2249 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2250 # interfere with the next link command; also delete a directory that is
2251 # left behind by Apple's compiler. We do this before executing the actions.
2252 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2253 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2256 } # ac_fn_f77_try_link
2258 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2259 # -------------------------------------------
2260 # Tests whether TYPE exists after having included INCLUDES, setting cache
2261 # variable VAR accordingly.
2262 ac_fn_c_check_type ()
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2266 $as_echo_n "checking for $2... " >&6; }
2267 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2268 $as_echo_n "(cached) " >&6
2271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h. */
2283 if ac_fn_c_try_compile "$LINENO"; then :
2284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h. */
2296 if ac_fn_c_try_compile "$LINENO"; then :
2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2307 $as_echo "$ac_res" >&6; }
2308 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2310 } # ac_fn_c_check_type
2311 cat >config.log <<_ACEOF
2312 This file contains any messages produced by compilers while
2313 running configure, to aid debugging if configure makes a mistake.
2315 It was created by libltdl $as_me 1.2, which was
2316 generated by GNU Autoconf 2.64. Invocation command line was
2328 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2329 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2330 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2331 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2332 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2334 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2335 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2337 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2338 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2339 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2340 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2341 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2342 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2343 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir=.
2352 $as_echo "PATH: $as_dir"
2368 # Keep a trace of the command line.
2369 # Strip out --no-create and --no-recursion so they do not pile up.
2370 # Strip out --silent because we don't want to record it for future runs.
2371 # Also quote any args containing shell meta-characters.
2372 # Make two passes to allow for proper duplicate-argument suppression.
2376 ac_must_keep_next=false
2382 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2383 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2384 | -silent | --silent | --silen | --sile | --sil)
2387 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2390 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2392 as_fn_append ac_configure_args1 " '$ac_arg'"
2393 if test $ac_must_keep_next = true; then
2394 ac_must_keep_next=false # Got value, back to normal.
2397 *=* | --config-cache | -C | -disable-* | --disable-* \
2398 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2399 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2400 | -with-* | --with-* | -without-* | --without-* | --x)
2401 case "$ac_configure_args0 " in
2402 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2405 -* ) ac_must_keep_next=true ;;
2408 as_fn_append ac_configure_args " '$ac_arg'"
2413 { ac_configure_args0=; unset ac_configure_args0;}
2414 { ac_configure_args1=; unset ac_configure_args1;}
2416 # When interrupted or exit'd, cleanup temporary files, and complete
2417 # config.log. We remove comments because anyway the quotes in there
2418 # would cause problems or look ugly.
2419 # WARNING: Use '\'' to represent an apostrophe within the trap.
2420 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2421 trap 'exit_status=$?
2422 # Save into config.log some information that might help in debugging.
2427 ## ---------------- ##
2428 ## Cache variables. ##
2429 ## ---------------- ##
2432 # The following way of writing the cache mishandles newlines in values,
2434 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2435 eval ac_val=\$$ac_var
2439 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2440 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2443 _ | IFS | as_nl) ;; #(
2444 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2445 *) { eval $ac_var=; unset $ac_var;} ;;
2450 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2451 *${as_nl}ac_space=\ *)
2453 "s/'\''/'\''\\\\'\'''\''/g;
2454 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2457 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2465 ## ----------------- ##
2466 ## Output variables. ##
2467 ## ----------------- ##
2470 for ac_var in $ac_subst_vars
2472 eval ac_val=\$$ac_var
2474 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2476 $as_echo "$ac_var='\''$ac_val'\''"
2480 if test -n "$ac_subst_files"; then
2482 ## ------------------- ##
2483 ## File substitutions. ##
2484 ## ------------------- ##
2487 for ac_var in $ac_subst_files
2489 eval ac_val=\$$ac_var
2491 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2493 $as_echo "$ac_var='\''$ac_val'\''"
2498 if test -s confdefs.h; then
2508 test "$ac_signal" != 0 &&
2509 $as_echo "$as_me: caught signal $ac_signal"
2510 $as_echo "$as_me: exit $exit_status"
2512 rm -f core *.core core.conftest.* &&
2513 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2516 for ac_signal in 1 2 13 15; do
2517 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2521 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2522 rm -f -r conftest* confdefs.h
2524 $as_echo "/* confdefs.h */" > confdefs.h
2526 # Predefined preprocessor variables.
2528 cat >>confdefs.h <<_ACEOF
2529 #define PACKAGE_NAME "$PACKAGE_NAME"
2532 cat >>confdefs.h <<_ACEOF
2533 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2536 cat >>confdefs.h <<_ACEOF
2537 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2540 cat >>confdefs.h <<_ACEOF
2541 #define PACKAGE_STRING "$PACKAGE_STRING"
2544 cat >>confdefs.h <<_ACEOF
2545 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2548 cat >>confdefs.h <<_ACEOF
2549 #define PACKAGE_URL "$PACKAGE_URL"
2553 # Let the site file select an alternate cache file if it wants to.
2554 # Prefer an explicitly selected file to automatically selected ones.
2557 if test -n "$CONFIG_SITE"; then
2558 ac_site_file1=$CONFIG_SITE
2559 elif test "x$prefix" != xNONE; then
2560 ac_site_file1=$prefix/share/config.site
2561 ac_site_file2=$prefix/etc/config.site
2563 ac_site_file1=$ac_default_prefix/share/config.site
2564 ac_site_file2=$ac_default_prefix/etc/config.site
2566 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2568 test "x$ac_site_file" = xNONE && continue
2569 if test -r "$ac_site_file"; then
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2571 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2572 sed 's/^/| /' "$ac_site_file" >&5
2577 if test -r "$cache_file"; then
2578 # Some versions of bash will fail to source /dev/null (special
2579 # files actually), so we avoid doing that.
2580 if test -f "$cache_file"; then
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2582 $as_echo "$as_me: loading cache $cache_file" >&6;}
2584 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2585 *) . "./$cache_file";;
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2590 $as_echo "$as_me: creating cache $cache_file" >&6;}
2594 # Check that the precious variables saved in the cache have kept the same
2596 ac_cache_corrupted=false
2597 for ac_var in $ac_precious_vars; do
2598 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2599 eval ac_new_set=\$ac_env_${ac_var}_set
2600 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2601 eval ac_new_val=\$ac_env_${ac_var}_value
2602 case $ac_old_set,$ac_new_set in
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2605 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2606 ac_cache_corrupted=: ;;
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2609 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2610 ac_cache_corrupted=: ;;
2613 if test "x$ac_old_val" != "x$ac_new_val"; then
2614 # differences in whitespace do not lead to failure.
2615 ac_old_val_w=`echo x
$ac_old_val`
2616 ac_new_val_w=`echo x
$ac_new_val`
2617 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2619 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2620 ac_cache_corrupted=:
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2623 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2624 eval $ac_var=\$ac_old_val
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2627 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2629 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2632 # Pass precious variables to config.status.
2633 if test "$ac_new_set" = set; then
2635 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2636 *) ac_arg=$ac_var=$ac_new_val ;;
2638 case " $ac_configure_args " in
2639 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2640 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2644 if $ac_cache_corrupted; then
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2648 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2649 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2651 ## -------------------- ##
2652 ## Main body of script. ##
2653 ## -------------------- ##
2656 ac_cpp='$CPP $CPPFLAGS'
2657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2667 ## GCJ LOCAL: gcc tree uses maintainer mode.
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2670 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2671 # Check whether --enable-maintainer-mode was given.
2672 if test "${enable_maintainer_mode+set}" = set; then :
2673 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2675 USE_MAINTAINER_MODE=no
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2679 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2680 if test $USE_MAINTAINER_MODE = yes; then
2681 MAINTAINER_MODE_TRUE=
2682 MAINTAINER_MODE_FALSE='#'
2684 MAINTAINER_MODE_TRUE='#'
2685 MAINTAINER_MODE_FALSE=
2688 MAINT=$MAINTAINER_MODE_TRUE
2692 # Default to --enable-multilib
2693 # Check whether --enable-multilib was given.
2694 if test "${enable_multilib+set}" = set; then :
2695 enableval=$enable_multilib; case "$enableval" in
2696 yes) multilib=yes ;;
2698 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2705 # We may get other options which we leave undocumented:
2706 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2707 # See config-ml.in if you want the gory details.
2709 if test "$srcdir" = "."; then
2710 if test "$with_target_subdir" != "."; then
2711 multi_basedir="$srcdir/$with_multisrctop../../.."
2713 multi_basedir="$srcdir/$with_multisrctop../.."
2716 multi_basedir="$srcdir/../.."
2720 # Even if the default multilib is not a cross compilation,
2721 # it may be that some of the other multilibs are.
2722 if test $cross_compiling = no && test $multilib = yes \
2723 && test "x${with_multisubdir}" != x ; then
2724 cross_compiling=maybe
2727 ac_config_commands="$ac_config_commands default-1"
2730 ## ------------------------------- ##
2731 ## Libltdl specific configuration. ##
2732 ## ------------------------------- ##
2735 for ac_dir in . "$srcdir"/.; do
2736 for ac_t in install-sh install.sh shtool; do
2737 if test -f "$ac_dir/$ac_t"; then
2739 ac_install_sh="$ac_aux_dir/$ac_t -c"
2744 if test -z "$ac_aux_dir"; then
2745 as_fn_error "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2748 # These three variables are undocumented and unsupported,
2749 # and are intended to be withdrawn in a future Autoconf release.
2750 # They can cause serious problems if a builder's source tree is in a directory
2751 # whose full name contains unusual characters.
2752 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2753 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2754 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2758 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
2759 if test -f ${srcdir}/ltmain.sh; then
2760 # if libltdl is libtoolized, it is assumed to be stand-alone and
2761 # installed unless the command line overrides it (tested above)
2762 enable_ltdl_install=yes
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** The top-level configure must select either" >&5
2765 $as_echo "$as_me: WARNING: *** The top-level configure must select either" >&2;}
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&5
2767 $as_echo "$as_me: WARNING: *** A\"\"C_LIBLTDL_INSTALLABLE or A\"\"C_LIBLTDL_CONVENIENCE." >&2;}
2768 as_fn_error "*** Maybe you want to --enable-ltdl-install?" "$LINENO" 5
2773 ## ------------------------ ##
2774 ## Automake Initialisation. ##
2775 ## ------------------------ ##
2776 am__api_version='1.11'
2778 # Find a good install program. We prefer a C program (faster),
2779 # so one script is as good as another. But avoid the broken or
2780 # incompatible versions:
2781 # SysV /etc/install, /usr/sbin/install
2782 # SunOS /usr/etc/install
2783 # IRIX /sbin/install
2785 # AmigaOS /C/install, which installs bootblocks on floppy discs
2786 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2787 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2788 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2789 # OS/2's system install, which has a completely different semantic
2790 # ./install, which can be erroneously created by make from ./install.sh.
2791 # Reject install programs that cannot install multiple files.
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2793 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2794 if test -z "$INSTALL"; then
2795 if test "${ac_cv_path_install+set}" = set; then :
2796 $as_echo_n "(cached) " >&6
2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 test -z "$as_dir" && as_dir=.
2803 # Account for people who put trailing slashes in PATH elements.
2804 case $as_dir/ in #((
2805 ./ | .// | /[cC]/* | \
2806 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2807 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2810 # OSF1 and SCO ODT 3.0 have their own names for install.
2811 # Don't use installbsd from OSF since it installs stuff as root
2813 for ac_prog in ginstall scoinst install; do
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2816 if test $ac_prog = install &&
2817 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2818 # AIX install. It has an incompatible calling convention.
2820 elif test $ac_prog = install &&
2821 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2822 # program-specific install script used by HP pwplus--don't use.
2825 rm -rf conftest.one conftest.two conftest.dir
2826 echo one > conftest.one
2827 echo two > conftest.two
2829 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2830 test -s conftest.one && test -s conftest.two &&
2831 test -s conftest.dir/conftest.one &&
2832 test -s conftest.dir/conftest.two
2834 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2847 rm -rf conftest.one conftest.two conftest.dir
2850 if test "${ac_cv_path_install+set}" = set; then
2851 INSTALL=$ac_cv_path_install
2853 # As a last resort, use the slow shell script. Don't cache a
2854 # value for INSTALL within a source directory, because that will
2855 # break other packages using the cache if that directory is
2856 # removed, or if the value is a relative name.
2857 INSTALL=$ac_install_sh
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2861 $as_echo "$INSTALL" >&6; }
2863 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2864 # It thinks the first close brace ends the variable substitution.
2865 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2867 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2869 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2872 $as_echo_n "checking whether build environment is sane... " >&6; }
2875 echo timestamp > conftest.file
2876 # Reject unsafe characters in $srcdir or the absolute working directory
2877 # name. Accept space and tab only in the latter.
2881 *[\\\"\#\$\&\'\`$am_lf]*)
2882 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2885 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2886 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2889 # Do `set' in a subshell so we don't clobber the current shell's
2890 # arguments. Must try -L first in case configure is actually a
2891 # symlink; some systems play weird games with the mod time of symlinks
2892 # (eg FreeBSD returns the mod time of the symlink's containing
2895 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2896 if test "$*" = "X"; then
2898 set X
`ls -t "$srcdir/configure" conftest.file`
2901 if test "$*" != "X $srcdir/configure conftest.file" \
2902 && test "$*" != "X conftest.file $srcdir/configure"; then
2904 # If neither matched, then we have a broken ls. This can happen
2905 # if, for instance, CONFIG_SHELL is bash and it inherits a
2906 # broken ls alias from the environment. This has actually
2907 # happened. Such a system could not be considered "sane".
2908 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2909 alias in your environment" "$LINENO" 5
2912 test "$2" = conftest.
file
2918 as_fn_error
"newly created file is older than distributed files!
2919 Check your system clock" "$LINENO" 5
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2922 $as_echo "yes" >&6; }
2923 test "$program_prefix" != NONE
&&
2924 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2925 # Use a double $ so make ignores it.
2926 test "$program_suffix" != NONE
&&
2927 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2928 # Double any \ or $.
2929 # By default was `s,x,x', remove it if useless.
2930 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2931 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2933 # expand $ac_aux_dir to an absolute path
2934 am_aux_dir
=`cd $ac_aux_dir && pwd`
2936 if test x
"${MISSING+set}" != xset
; then
2939 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2941 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2944 # Use eval to expand $SHELL
2945 if eval "$MISSING --run true"; then
2946 am_missing_run
="$MISSING --run "
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2950 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2953 if test x
"${install_sh}" != xset
; then
2956 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2958 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2962 # Installed binaries are usually stripped using `strip' when the user
2963 # run `make install-strip'. However `strip' might not be the right
2964 # tool to use in cross-compilation environments, therefore Automake
2965 # will honor the `STRIP' environment variable to overrule this program.
2966 if test "$cross_compiling" != no
; then
2967 if test -n "$ac_tool_prefix"; then
2968 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2969 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if test "${ac_cv_prog_STRIP+set}" = set; then :
2973 $as_echo_n "(cached) " >&6
2975 if test -n "$STRIP"; then
2976 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2982 test -z "$as_dir" && as_dir
=.
2983 for ac_exec_ext
in '' $ac_executable_extensions; do
2984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2985 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 STRIP
=$ac_cv_prog_STRIP
2996 if test -n "$STRIP"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2998 $as_echo "$STRIP" >&6; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3006 if test -z "$ac_cv_prog_STRIP"; then
3008 # Extract the first word of "strip", so it can be a program name with args.
3009 set dummy strip
; ac_word
=$2
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3011 $as_echo_n "checking for $ac_word... " >&6; }
3012 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3013 $as_echo_n "(cached) " >&6
3015 if test -n "$ac_ct_STRIP"; then
3016 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3022 test -z "$as_dir" && as_dir
=.
3023 for ac_exec_ext
in '' $ac_executable_extensions; do
3024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3025 ac_cv_prog_ac_ct_STRIP
="strip"
3026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3035 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3036 if test -n "$ac_ct_STRIP"; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3038 $as_echo "$ac_ct_STRIP" >&6; }
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3041 $as_echo "no" >&6; }
3044 if test "x$ac_ct_STRIP" = x
; then
3047 case $cross_compiling:$ac_tool_warned in
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3051 ac_tool_warned
=yes ;;
3056 STRIP
="$ac_cv_prog_STRIP"
3060 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3063 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3064 if test -z "$MKDIR_P"; then
3065 if test "${ac_cv_path_mkdir+set}" = set; then :
3066 $as_echo_n "(cached) " >&6
3068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3069 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3072 test -z "$as_dir" && as_dir
=.
3073 for ac_prog
in mkdir gmkdir
; do
3074 for ac_exec_ext
in '' $ac_executable_extensions; do
3075 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3076 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3077 'mkdir (GNU coreutils) '* | \
3078 'mkdir (coreutils) '* | \
3079 'mkdir (fileutils) '4.1*)
3080 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3090 if test "${ac_cv_path_mkdir+set}" = set; then
3091 MKDIR_P
="$ac_cv_path_mkdir -p"
3093 # As a last resort, use the slow shell script. Don't cache a
3094 # value for MKDIR_P within a source directory, because that will
3095 # break other packages using the cache if that directory is
3096 # removed, or if the value is a relative name.
3097 test -d .
/--version && rmdir .
/--version
3098 MKDIR_P
="$ac_install_sh -d"
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3102 $as_echo "$MKDIR_P" >&6; }
3106 [\\/$
]* | ?
:[\\/]*) ;;
3107 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3110 for ac_prog
in gawk mawk nawk
awk
3112 # Extract the first word of "$ac_prog", so it can be a program name with args.
3113 set dummy
$ac_prog; ac_word
=$2
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3115 $as_echo_n "checking for $ac_word... " >&6; }
3116 if test "${ac_cv_prog_AWK+set}" = set; then :
3117 $as_echo_n "(cached) " >&6
3119 if test -n "$AWK"; then
3120 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3126 test -z "$as_dir" && as_dir
=.
3127 for ac_exec_ext
in '' $ac_executable_extensions; do
3128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3129 ac_cv_prog_AWK
="$ac_prog"
3130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 if test -n "$AWK"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3142 $as_echo "$AWK" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3149 test -n "$AWK" && break
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3153 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3155 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3156 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3157 $as_echo_n "(cached) " >&6
3159 cat >conftest.
make <<\_ACEOF
3162 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3164 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3165 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3167 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3169 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3173 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3175 $as_echo "yes" >&6; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3180 SET_MAKE
="MAKE=${MAKE-make}"
3183 rm -rf .tst
2>/dev
/null
3184 mkdir .tst
2>/dev
/null
3185 if test -d .tst
; then
3190 rmdir .tst
2>/dev
/null
3192 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3193 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3194 # is not polluted with repeated "-I."
3195 am__isrc
=' -I$(srcdir)'
3196 # test to see if srcdir already configured
3197 if test -f $srcdir/config.status
; then
3198 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3202 # test whether we have cygpath
3203 if test -z "$CYGPATH_W"; then
3204 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3205 CYGPATH_W
='cygpath -w'
3212 # Define the identity of the package.
3217 # Some tools Automake needs.
3219 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3222 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3225 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3228 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3231 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3233 # We need awk for the "check" target. The system "awk" is bad on
3235 # Always define AMTAR for backward compatibility.
3237 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3239 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3245 ac_config_headers
="$ac_config_headers config.h:config-h.in"
3249 ## ------------------ ##
3250 ## C compiler checks. ##
3251 ## ------------------ ##
3253 ac_cpp
='$CPP $CPPFLAGS'
3254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3257 if test -n "$ac_tool_prefix"; then
3258 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3259 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261 $as_echo_n "checking for $ac_word... " >&6; }
3262 if test "${ac_cv_prog_CC+set}" = set; then :
3263 $as_echo_n "(cached) " >&6
3265 if test -n "$CC"; then
3266 ac_cv_prog_CC
="$CC" # Let the user override the test.
3268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3272 test -z "$as_dir" && as_dir
=.
3273 for ac_exec_ext
in '' $ac_executable_extensions; do
3274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3275 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286 if test -n "$CC"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3288 $as_echo "$CC" >&6; }
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3296 if test -z "$ac_cv_prog_CC"; then
3298 # Extract the first word of "gcc", so it can be a program name with args.
3299 set dummy gcc
; ac_word
=$2
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3301 $as_echo_n "checking for $ac_word... " >&6; }
3302 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3303 $as_echo_n "(cached) " >&6
3305 if test -n "$ac_ct_CC"; then
3306 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3312 test -z "$as_dir" && as_dir
=.
3313 for ac_exec_ext
in '' $ac_executable_extensions; do
3314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3315 ac_cv_prog_ac_ct_CC
="gcc"
3316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3326 if test -n "$ac_ct_CC"; then
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3328 $as_echo "$ac_ct_CC" >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331 $as_echo "no" >&6; }
3334 if test "x$ac_ct_CC" = x
; then
3337 case $cross_compiling:$ac_tool_warned in
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3341 ac_tool_warned
=yes ;;
3349 if test -z "$CC"; then
3350 if test -n "$ac_tool_prefix"; then
3351 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3352 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3354 $as_echo_n "checking for $ac_word... " >&6; }
3355 if test "${ac_cv_prog_CC+set}" = set; then :
3356 $as_echo_n "(cached) " >&6
3358 if test -n "$CC"; then
3359 ac_cv_prog_CC
="$CC" # Let the user override the test.
3361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3365 test -z "$as_dir" && as_dir
=.
3366 for ac_exec_ext
in '' $ac_executable_extensions; do
3367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3368 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3379 if test -n "$CC"; then
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3381 $as_echo "$CC" >&6; }
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3384 $as_echo "no" >&6; }
3390 if test -z "$CC"; then
3391 # Extract the first word of "cc", so it can be a program name with args.
3392 set dummy cc
; ac_word
=$2
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3394 $as_echo_n "checking for $ac_word... " >&6; }
3395 if test "${ac_cv_prog_CC+set}" = set; then :
3396 $as_echo_n "(cached) " >&6
3398 if test -n "$CC"; then
3399 ac_cv_prog_CC
="$CC" # Let the user override the test.
3402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3406 test -z "$as_dir" && as_dir
=.
3407 for ac_exec_ext
in '' $ac_executable_extensions; do
3408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3410 ac_prog_rejected
=yes
3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 if test $ac_prog_rejected = yes; then
3422 # We found a bogon in the path, so make sure we never use it.
3423 set dummy
$ac_cv_prog_CC
3425 if test $# != 0; then
3426 # We chose a different compiler from the bogus one.
3427 # However, it has the same basename, so the bogon will be chosen
3428 # first if we set CC to just the basename; use the full file name.
3430 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3436 if test -n "$CC"; then
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3438 $as_echo "$CC" >&6; }
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3441 $as_echo "no" >&6; }
3446 if test -z "$CC"; then
3447 if test -n "$ac_tool_prefix"; then
3448 for ac_prog
in cl.exe
3450 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3451 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3453 $as_echo_n "checking for $ac_word... " >&6; }
3454 if test "${ac_cv_prog_CC+set}" = set; then :
3455 $as_echo_n "(cached) " >&6
3457 if test -n "$CC"; then
3458 ac_cv_prog_CC
="$CC" # Let the user override the test.
3460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3464 test -z "$as_dir" && as_dir
=.
3465 for ac_exec_ext
in '' $ac_executable_extensions; do
3466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3467 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3478 if test -n "$CC"; then
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3480 $as_echo "$CC" >&6; }
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3483 $as_echo "no" >&6; }
3487 test -n "$CC" && break
3490 if test -z "$CC"; then
3492 for ac_prog
in cl.exe
3494 # Extract the first word of "$ac_prog", so it can be a program name with args.
3495 set dummy
$ac_prog; ac_word
=$2
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3497 $as_echo_n "checking for $ac_word... " >&6; }
3498 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3499 $as_echo_n "(cached) " >&6
3501 if test -n "$ac_ct_CC"; then
3502 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3508 test -z "$as_dir" && as_dir
=.
3509 for ac_exec_ext
in '' $ac_executable_extensions; do
3510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3511 ac_cv_prog_ac_ct_CC
="$ac_prog"
3512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3521 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3522 if test -n "$ac_ct_CC"; then
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3524 $as_echo "$ac_ct_CC" >&6; }
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3527 $as_echo "no" >&6; }
3531 test -n "$ac_ct_CC" && break
3534 if test "x$ac_ct_CC" = x
; then
3537 case $cross_compiling:$ac_tool_warned in
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3541 ac_tool_warned
=yes ;;
3550 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3552 as_fn_error
"no acceptable C compiler found in \$PATH
3553 See \`config.log' for more details." "$LINENO" 5; }
3555 # Provide some information about the compiler.
3556 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3559 for ac_option
in --version -v -V -qversion; do
3560 { { ac_try
="$ac_compiler $ac_option >&5"
3562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3563 *) ac_try_echo=$ac_try;;
3565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3566 $as_echo "$ac_try_echo"; } >&5
3567 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3569 if test -s conftest.err; then
3571 ... rest of stderr output deleted ...
3572 10q' conftest.err >conftest.er1
3573 cat conftest.er1 >&5
3574 rm -f conftest.er1 conftest.err
3576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3577 test $ac_status = 0; }
3580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581 /* end confdefs.h. */
3591 ac_clean_files_save=$ac_clean_files
3592 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3593 # Try to create an executable without -o first, disregard a.out.
3594 # It will help us diagnose broken compilers, and finding out an intuition
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3597 $as_echo_n "checking for C compiler default output file name... " >&6; }
3598 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3600 # The possible output files:
3601 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3604 for ac_file in $ac_files
3607 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3608 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3613 if { { ac_try="$ac_link_default"
3615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3616 *) ac_try_echo
=$ac_try;;
3618 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3619 $as_echo "$ac_try_echo"; } >&5
3620 (eval "$ac_link_default") 2>&5
3622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3623 test $ac_status = 0; }; then :
3624 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3625 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3626 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3627 # so that the user can short-circuit this test for compilers unknown to
3629 for ac_file
in $ac_files ''
3631 test -f "$ac_file" ||
continue
3633 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3636 # We found the default executable, but exeext='' is most
3640 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3642 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3644 # We set ac_cv_exeext here because the later test for it is not
3645 # safe: cross compilers may not add the suffix if given an `-o'
3646 # argument, so we may need to know it at that point already.
3647 # Even if this section looks crufty: it has the advantage of
3654 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3660 $as_echo "$ac_file" >&6; }
3661 if test -z "$ac_file"; then :
3662 $as_echo "$as_me: failed program was:" >&5
3663 sed 's/^/| /' conftest.
$ac_ext >&5
3665 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3667 { as_fn_set_status
77
3668 as_fn_error
"C compiler cannot create executables
3669 See \`config.log' for more details." "$LINENO" 5; }; }
3671 ac_exeext
=$ac_cv_exeext
3673 # Check that the compiler produces executables we can run. If not, either
3674 # the compiler is broken, or we cross compile.
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3676 $as_echo_n "checking whether the C compiler works... " >&6; }
3677 # If not cross compiling, check that we can run a simple program.
3678 if test "$cross_compiling" != yes; then
3679 if { ac_try
='./$ac_file'
3680 { { case "(($ac_try" in
3681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3682 *) ac_try_echo=$ac_try;;
3684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3685 $as_echo "$ac_try_echo"; } >&5
3686 (eval "$ac_try") 2>&5
3688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3689 test $ac_status = 0; }; }; then
3692 if test "$cross_compiling" = maybe; then
3695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3697 as_fn_error "cannot run C compiled programs.
3698 If you meant to cross compile
, use \
`--host'.
3699 See \`config.log
' for more details." "$LINENO" 5; }
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3704 $as_echo "yes" >&6; }
3706 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3707 ac_clean_files=$ac_clean_files_save
3708 # Check that the compiler produces executables we can run. If not, either
3709 # the compiler is broken, or we cross compile.
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3711 $as_echo_n "checking whether we are cross compiling... " >&6; }
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3713 $as_echo "$cross_compiling" >&6; }
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3716 $as_echo_n "checking for suffix of executables... " >&6; }
3717 if { { ac_try="$ac_link"
3719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3720 *) ac_try_echo=$ac_try;;
3722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3723 $as_echo "$ac_try_echo"; } >&5
3724 (eval "$ac_link") 2>&5
3726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3727 test $ac_status = 0; }; then :
3728 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3729 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3730 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3732 for ac_file
in conftest.exe conftest conftest.
*; do
3733 test -f "$ac_file" ||
continue
3735 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3736 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3744 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3745 See \`config.log' for more details." "$LINENO" 5; }
3747 rm -f conftest
$ac_cv_exeext
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3749 $as_echo "$ac_cv_exeext" >&6; }
3751 rm -f conftest.
$ac_ext
3752 EXEEXT
=$ac_cv_exeext
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3755 $as_echo_n "checking for suffix of object files... " >&6; }
3756 if test "${ac_cv_objext+set}" = set; then :
3757 $as_echo_n "(cached) " >&6
3759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3770 rm -f conftest.o conftest.obj
3771 if { { ac_try
="$ac_compile"
3773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3777 $as_echo "$ac_try_echo"; } >&5
3778 (eval "$ac_compile") 2>&5
3780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3781 test $ac_status = 0; }; then :
3782 for ac_file in conftest.o conftest.obj conftest.*; do
3783 test -f "$ac_file" || continue;
3785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3786 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3791 $as_echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.$ac_ext >&5
3794 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3796 as_fn_error "cannot compute suffix of object files
: cannot compile
3797 See \
`config.log' for more details." "$LINENO" 5; }
3799 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3802 $as_echo "$ac_cv_objext" >&6; }
3803 OBJEXT=$ac_cv_objext
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3806 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3807 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3808 $as_echo_n "(cached) " >&6
3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811 /* end confdefs.h. */
3824 if ac_fn_c_try_compile "$LINENO"; then :
3829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3830 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3834 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3835 if test $ac_compiler_gnu = yes; then
3840 ac_test_CFLAGS=${CFLAGS+set}
3841 ac_save_CFLAGS=$CFLAGS
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3843 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3844 if test "${ac_cv_prog_cc_g+set}" = set; then :
3845 $as_echo_n "(cached) " >&6
3847 ac_save_c_werror_flag=$ac_c_werror_flag
3848 ac_c_werror_flag=yes
3851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3852 /* end confdefs.h. */
3862 if ac_fn_c_try_compile "$LINENO"; then :
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3877 if ac_fn_c_try_compile "$LINENO"; then :
3880 ac_c_werror_flag=$ac_save_c_werror_flag
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3893 if ac_fn_c_try_compile "$LINENO"; then :
3896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3901 ac_c_werror_flag=$ac_save_c_werror_flag
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3904 $as_echo "$ac_cv_prog_cc_g" >&6; }
3905 if test "$ac_test_CFLAGS" = set; then
3906 CFLAGS=$ac_save_CFLAGS
3907 elif test $ac_cv_prog_cc_g = yes; then
3908 if test "$GCC" = yes; then
3914 if test "$GCC" = yes; then
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3921 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3922 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3923 $as_echo_n "(cached) " >&6
3925 ac_cv_prog_cc_c89=no
3927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3931 #include <sys/types.h>
3932 #include <sys/stat.h>
3933 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3934 struct buf { int x; };
3935 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3936 static char *e (p, i)
3942 static char *f (char * (*g) (char **, int), char **p, ...)
3947 s = g (p, va_arg (v,int));
3952 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3953 function prototypes and stuff, but not '\xHH' hex character constants.
3954 These don't provoke an error unfortunately, instead are silently treated
3955 as 'x'. The following induces an error, until -std is added to get
3956 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3957 array size at least. It's necessary to write '\x00'==0 to get something
3958 that's true only with -std. */
3959 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3961 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3962 inside strings and character constants. */
3964 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3966 int test (int i, double x);
3967 struct s1 {int (*f) (int a);};
3968 struct s2 {int (*f) (double a);};
3969 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3975 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3980 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3981 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3983 CC="$ac_save_CC $ac_arg"
3984 if ac_fn_c_try_compile "$LINENO"; then :
3985 ac_cv_prog_cc_c89=$ac_arg
3987 rm -f core conftest.err conftest.$ac_objext
3988 test "x$ac_cv_prog_cc_c89" != "xno" && break
3990 rm -f conftest.$ac_ext
3995 case "x$ac_cv_prog_cc_c89" in
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3998 $as_echo "none needed" >&6; } ;;
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4001 $as_echo "unsupported" >&6; } ;;
4003 CC="$CC $ac_cv_prog_cc_c89"
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4005 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4007 if test "x$ac_cv_prog_cc_c89" != xno; then :
4012 ac_cpp='$CPP $CPPFLAGS'
4013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4016 DEPDIR="${am__leading_dot}deps"
4018 ac_config_commands="$ac_config_commands depfiles"
4021 am_make=${MAKE-make}
4022 cat > confinc << 'END'
4024 @echo this is the am__doit target
4027 # If we don't find an include directive, just comment out the code.
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4029 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4033 # First try GNU make style include.
4034 echo "include confinc" > confmf
4035 # Ignore all kinds of additional output from `make'.
4036 case `$am_make -s -f confmf 2> /dev/null` in #(
4037 *the\ am__doit\ target*)
4043 # Now try BSD make style include.
4044 if test "$am__include" = "#"; then
4045 echo '.include
"confinc"' > confmf
4046 case `$am_make -s -f confmf 2> /dev/null` in #(
4047 *the\ am__doit\ target*)
4048 am__include=.include
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4057 $as_echo "$_am_result" >&6; }
4058 rm -f confinc confmf
4060 # Check whether --enable-dependency-tracking was given.
4061 if test "${enable_dependency_tracking+set}" = set; then :
4062 enableval=$enable_dependency_tracking;
4065 if test "x$enable_dependency_tracking" != xno; then
4066 am_depcomp="$ac_aux_dir/depcomp"
4069 if test "x$enable_dependency_tracking" != xno
; then
4079 depcc
="$CC" am_compiler_list
=
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4082 $as_echo_n "checking dependency style of $depcc... " >&6; }
4083 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4084 $as_echo_n "(cached) " >&6
4086 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4087 # We make a subdir and do the tests there. Otherwise we can end up
4088 # making bogus files that we don't know about and never remove. For
4089 # instance it was reported that on HP-UX the gcc test will end up
4090 # making a dummy file named `D' -- because `-MD' means `put the output
4093 # Copy depcomp to subdir because otherwise we won't find it if we're
4094 # using a relative directory.
4095 cp "$am_depcomp" conftest.dir
4097 # We will build objects and dependencies in a subdirectory because
4098 # it helps to detect inapplicable dependency modes. For instance
4099 # both Tru64's cc and ICC support -MD to output dependencies as a
4100 # side effect of compilation, but ICC will put the dependencies in
4101 # the current directory while Tru64 will put them in the object
4105 am_cv_CC_dependencies_compiler_type
=none
4106 if test "$am_compiler_list" = ""; then
4107 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4110 case " $depcc " in #(
4111 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4114 for depmode
in $am_compiler_list; do
4115 # Setup a source with many dependencies, because some compilers
4116 # like to wrap large dependency lists on column 80 (with \), and
4117 # we should not choose a depcomp mode which is confused by this.
4119 # We need to recreate these files for each test, as the compiler may
4120 # overwrite some of them when testing with obscure command lines.
4121 # This happens at least with the AIX C compiler.
4123 for i
in 1 2 3 4 5 6; do
4124 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4125 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4126 # Solaris 8's {/usr,}/bin/sh.
4127 touch sub
/conftst
$i.h
4129 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4131 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4132 # mode. It turns out that the SunPro C++ compiler does not properly
4133 # handle `-M -o', and we need to detect this. Also, some Intel
4134 # versions had trouble with output in subdirs
4135 am__obj
=sub
/conftest.
${OBJEXT-o}
4136 am__minus_obj
="-o $am__obj"
4139 # This depmode causes a compiler race in universal mode.
4140 test "$am__universal" = false ||
continue
4143 # after this tag, mechanisms are not by side-effect, so they'll
4144 # only be used when explicitly requested
4145 if test "x$enable_dependency_tracking" = xyes
; then
4151 msvisualcpp | msvcmsys
)
4152 # This compiler won't grok `-c -o', but also, the minuso test has
4153 # not run yet. These depmodes are late enough in the game, and
4154 # so weak that their functioning should not be impacted.
4155 am__obj
=conftest.
${OBJEXT-o}
4160 if depmode
=$depmode \
4161 source=sub
/conftest.c object
=$am__obj \
4162 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4163 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4164 >/dev
/null
2>conftest.err
&&
4165 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4166 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4167 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4168 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4169 # icc doesn't choke on unknown options, it will just issue warnings
4170 # or remarks (even with -Werror). So we grep stderr for any message
4171 # that says an option was ignored or not supported.
4172 # When given -MP, icc 7.0 and 7.1 complain thusly:
4173 # icc: Command line warning: ignoring option '-M'; no argument required
4174 # The diagnosis changed in icc 8.0:
4175 # icc: Command line remark: option '-MP' not supported
4176 if (grep 'ignoring option' conftest.err ||
4177 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4178 am_cv_CC_dependencies_compiler_type
=$depmode
4187 am_cv_CC_dependencies_compiler_type
=none
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4192 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4193 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4196 test "x$enable_dependency_tracking" != xno \
4197 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4199 am__fastdepCC_FALSE
='#'
4201 am__fastdepCC_TRUE
='#'
4202 am__fastdepCC_FALSE
=
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4208 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4209 if test "${ac_cv_c_const+set}" = set; then :
4210 $as_echo_n "(cached) " >&6
4212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4218 /* FIXME: Include the comments suggested by Paul. */
4220 /* Ultrix mips cc rejects this. */
4221 typedef int charset[2];
4223 /* SunOS 4.1.1 cc rejects this. */
4224 char const *const *pcpcc;
4226 /* NEC SVR4.0.2 mips cc rejects this. */
4227 struct point {int x, y;};
4228 static struct point const zero = {0,0};
4229 /* AIX XL C 1.02.0.0 rejects this.
4230 It does not let you subtract one const X* pointer from another in
4231 an arm of an if-expression whose if-part is not a constant
4233 const char *g = "string";
4234 pcpcc = &g + (g ? g-g : 0);
4235 /* HPUX 7.0 cc rejects these. */
4237 ppc = (char**) pcpcc;
4238 pcpcc = (char const *const *) ppc;
4239 { /* SCO 3.2v4 cc rejects this. */
4241 char const *s = 0 ? (char *) 0 : (char const *) 0;
4246 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4248 const int *foo = &x[0];
4251 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4252 typedef const int *iptr;
4256 { /* AIX XL C 1.02.0.0 rejects this saying
4257 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4258 struct s { int j; const int *ap[3]; };
4259 struct s *b; b->j = 5;
4261 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4265 return !cs[0] && !zero.x;
4272 if ac_fn_c_try_compile
"$LINENO"; then :
4277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4280 $as_echo "$ac_cv_c_const" >&6; }
4281 if test $ac_cv_c_const = no
; then
4283 $as_echo "#define const /**/" >>confdefs.h
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4288 $as_echo_n "checking for inline... " >&6; }
4289 if test "${ac_cv_c_inline+set}" = set; then :
4290 $as_echo_n "(cached) " >&6
4293 for ac_kw
in inline __inline__ __inline
; do
4294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4295 /* end confdefs.h. */
4298 static $ac_kw foo_t static_foo () {return 0; }
4299 $ac_kw foo_t foo () {return 0; }
4303 if ac_fn_c_try_compile
"$LINENO"; then :
4304 ac_cv_c_inline
=$ac_kw
4306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4307 test "$ac_cv_c_inline" != no
&& break
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4312 $as_echo "$ac_cv_c_inline" >&6; }
4314 case $ac_cv_c_inline in
4317 case $ac_cv_c_inline in
4319 *) ac_val
=$ac_cv_c_inline;;
4321 cat >>confdefs.h
<<_ACEOF
4323 #define inline $ac_val
4331 ## ----------------------- ##
4332 ## Libtool initialisation. ##
4333 ## ----------------------- ##
4336 # Check whether --enable-shared was given.
4337 if test "${enable_shared+set}" = set; then :
4338 enableval
=$enable_shared; p
=${PACKAGE-default}
4340 yes) enable_shared
=yes ;;
4341 no
) enable_shared
=no
;;
4344 # Look at the argument we got. We use all the common list separators.
4345 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4346 for pkg
in $enableval; do
4348 if test "X$pkg" = "X$p"; then
4360 # Check whether --enable-static was given.
4361 if test "${enable_static+set}" = set; then :
4362 enableval
=$enable_static; p
=${PACKAGE-default}
4364 yes) enable_static
=yes ;;
4365 no
) enable_static
=no
;;
4368 # Look at the argument we got. We use all the common list separators.
4369 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4370 for pkg
in $enableval; do
4372 if test "X$pkg" = "X$p"; then
4384 # Check whether --enable-fast-install was given.
4385 if test "${enable_fast_install+set}" = set; then :
4386 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4388 yes) enable_fast_install
=yes ;;
4389 no
) enable_fast_install
=no
;;
4391 enable_fast_install
=no
4392 # Look at the argument we got. We use all the common list separators.
4393 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4394 for pkg
in $enableval; do
4396 if test "X$pkg" = "X$p"; then
4397 enable_fast_install
=yes
4404 enable_fast_install
=yes
4408 # Make sure we can run config.sub.
4409 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4410 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4413 $as_echo_n "checking build system type... " >&6; }
4414 if test "${ac_cv_build+set}" = set; then :
4415 $as_echo_n "(cached) " >&6
4417 ac_build_alias
=$build_alias
4418 test "x$ac_build_alias" = x
&&
4419 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4420 test "x$ac_build_alias" = x
&&
4421 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
4422 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4423 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4427 $as_echo "$ac_cv_build" >&6; }
4428 case $ac_cv_build in
4430 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
4433 ac_save_IFS
=$IFS; IFS
='-'
4439 # Remember, the first character of IFS is used to create $*,
4440 # except with old shells:
4443 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4447 $as_echo_n "checking host system type... " >&6; }
4448 if test "${ac_cv_host+set}" = set; then :
4449 $as_echo_n "(cached) " >&6
4451 if test "x$host_alias" = x
; then
4452 ac_cv_host
=$ac_cv_build
4454 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4455 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4460 $as_echo "$ac_cv_host" >&6; }
4463 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
4466 ac_save_IFS
=$IFS; IFS
='-'
4472 # Remember, the first character of IFS is used to create $*,
4473 # except with old shells:
4476 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4480 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4481 if test "${lt_cv_path_SED+set}" = set; then :
4482 $as_echo_n "(cached) " >&6
4484 # Loop through the user's path and test for sed and gsed.
4485 # Then use that list of sed's as ones to test for truncation.
4486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir
=.
4491 for lt_ac_prog
in sed gsed
; do
4492 for ac_exec_ext
in '' $ac_executable_extensions; do
4493 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4494 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4501 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4502 # along with /bin/sed that truncates output.
4503 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4504 test ! -f $lt_ac_sed && continue
4505 cat /dev
/null
> conftest.
in
4507 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4508 # Check for GNU sed and select it if it is found.
4509 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4510 lt_cv_path_SED
=$lt_ac_sed
4514 cat conftest.
in conftest.
in >conftest.tmp
4515 mv conftest.tmp conftest.
in
4516 cp conftest.
in conftest.
nl
4518 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4519 cmp -s conftest.out conftest.
nl ||
break
4520 # 10000 chars as input seems more than enough
4521 test $lt_ac_count -gt 10 && break
4522 lt_ac_count
=`expr $lt_ac_count + 1`
4523 if test $lt_ac_count -gt $lt_ac_max; then
4524 lt_ac_max
=$lt_ac_count
4525 lt_cv_path_SED
=$lt_ac_sed
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
4534 $as_echo "$SED" >&6; }
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4537 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4538 if test "${ac_cv_path_GREP+set}" = set; then :
4539 $as_echo_n "(cached) " >&6
4541 if test -z "$GREP"; then
4542 ac_path_GREP_found
=false
4543 # Loop through the user's path and test for each of PROGNAME-LIST
4544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4545 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4548 test -z "$as_dir" && as_dir
=.
4549 for ac_prog
in grep ggrep
; do
4550 for ac_exec_ext
in '' $ac_executable_extensions; do
4551 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4552 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4553 # Check for GNU ac_path_GREP and select it if it is found.
4554 # Check for GNU $ac_path_GREP
4555 case `"$ac_path_GREP" --version 2>&1` in
4557 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4560 $as_echo_n 0123456789 >"conftest.in"
4563 cat "conftest.in" "conftest.in" >"conftest.tmp"
4564 mv "conftest.tmp" "conftest.in"
4565 cp "conftest.in" "conftest.nl"
4566 $as_echo 'GREP' >> "conftest.nl"
4567 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4568 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4569 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4570 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4571 # Best one so far, save it but keep looking for a better one
4572 ac_cv_path_GREP
="$ac_path_GREP"
4573 ac_path_GREP_max
=$ac_count
4575 # 10*(2^10) chars as input seems more than enough
4576 test $ac_count -gt 10 && break
4578 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4581 $ac_path_GREP_found && break 3
4586 if test -z "$ac_cv_path_GREP"; then
4587 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4590 ac_cv_path_GREP
=$GREP
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4595 $as_echo "$ac_cv_path_GREP" >&6; }
4596 GREP
="$ac_cv_path_GREP"
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4600 $as_echo_n "checking for egrep... " >&6; }
4601 if test "${ac_cv_path_EGREP+set}" = set; then :
4602 $as_echo_n "(cached) " >&6
4604 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4605 then ac_cv_path_EGREP
="$GREP -E"
4607 if test -z "$EGREP"; then
4608 ac_path_EGREP_found
=false
4609 # Loop through the user's path and test for each of PROGNAME-LIST
4610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4611 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4614 test -z "$as_dir" && as_dir
=.
4615 for ac_prog
in egrep; do
4616 for ac_exec_ext
in '' $ac_executable_extensions; do
4617 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4618 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4619 # Check for GNU ac_path_EGREP and select it if it is found.
4620 # Check for GNU $ac_path_EGREP
4621 case `"$ac_path_EGREP" --version 2>&1` in
4623 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4626 $as_echo_n 0123456789 >"conftest.in"
4629 cat "conftest.in" "conftest.in" >"conftest.tmp"
4630 mv "conftest.tmp" "conftest.in"
4631 cp "conftest.in" "conftest.nl"
4632 $as_echo 'EGREP' >> "conftest.nl"
4633 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4634 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4635 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4636 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4637 # Best one so far, save it but keep looking for a better one
4638 ac_cv_path_EGREP
="$ac_path_EGREP"
4639 ac_path_EGREP_max
=$ac_count
4641 # 10*(2^10) chars as input seems more than enough
4642 test $ac_count -gt 10 && break
4644 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4647 $ac_path_EGREP_found && break 3
4652 if test -z "$ac_cv_path_EGREP"; then
4653 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4656 ac_cv_path_EGREP
=$EGREP
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4662 $as_echo "$ac_cv_path_EGREP" >&6; }
4663 EGREP
="$ac_cv_path_EGREP"
4667 # Check whether --with-gnu-ld was given.
4668 if test "${with_gnu_ld+set}" = set; then :
4669 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4675 if test "$GCC" = yes; then
4676 # Check if gcc -print-prog-name=ld gives a path.
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4678 $as_echo_n "checking for ld used by $CC... " >&6; }
4681 # gcc leaves a trailing carriage return which upsets mingw
4682 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4684 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4687 # Accept absolute paths.
4689 re_direlt
='/[^/][^/]*/\.\./'
4690 # Canonicalize the pathname of ld
4691 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4692 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4693 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4695 test -z "$LD" && LD
="$ac_prog"
4698 # If it fails, then pretend we aren't using GCC.
4702 # If it is relative, then search for the first ld in PATH.
4706 elif test "$with_gnu_ld" = yes; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4708 $as_echo_n "checking for GNU ld... " >&6; }
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4711 $as_echo_n "checking for non-GNU ld... " >&6; }
4713 if test "${lt_cv_path_LD+set}" = set; then :
4714 $as_echo_n "(cached) " >&6
4716 if test -z "$LD"; then
4717 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4718 for ac_dir
in $PATH; do
4720 test -z "$ac_dir" && ac_dir
=.
4721 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4722 lt_cv_path_LD
="$ac_dir/$ac_prog"
4723 # Check to see if the program is GNU ld. I'd rather use --version,
4724 # but apparently some GNU ld's only accept -v.
4725 # Break only if it was the GNU/non-GNU ld that we prefer.
4726 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4727 *GNU
* |
*'with BFD'*)
4728 test "$with_gnu_ld" != no
&& break
4731 test "$with_gnu_ld" != yes && break
4738 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4743 if test -n "$LD"; then
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4745 $as_echo "$LD" >&6; }
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 $as_echo "no" >&6; }
4750 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4752 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4753 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4754 $as_echo_n "(cached) " >&6
4756 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4757 case `$LD -v 2>&1 </dev/null` in
4758 *GNU
* |
*'with BFD'*)
4759 lt_cv_prog_gnu_ld
=yes
4762 lt_cv_prog_gnu_ld
=no
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4767 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4768 with_gnu_ld
=$lt_cv_prog_gnu_ld
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4772 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4773 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4774 $as_echo_n "(cached) " >&6
4776 lt_cv_ld_reload_flag
='-r'
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4779 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4780 reload_flag
=$lt_cv_ld_reload_flag
4781 case $reload_flag in
4783 *) reload_flag
=" $reload_flag" ;;
4785 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4788 if test "$GCC" = yes; then
4789 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
4791 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5
4797 $as_echo_n "checking for BSD-compatible nm... " >&6; }
4798 if test "${lt_cv_path_NM+set}" = set; then :
4799 $as_echo_n "(cached) " >&6
4801 if test -n "$NM"; then
4802 # Let the user override the test.
4805 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4806 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4808 test -z "$ac_dir" && ac_dir
=.
4809 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
4810 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4811 # Check to see if the nm accepts a BSD-compat flag.
4812 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4813 # nm: unknown option "B" ignored
4814 # Tru64's nm complains that /dev/null is an invalid object file
4815 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4816 */dev
/null
* |
*'Invalid file or object type'*)
4817 lt_cv_path_NM
="$tmp_nm -B"
4821 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4823 lt_cv_path_NM
="$tmp_nm -p"
4827 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4828 continue # so that we can try to find one that supports BSD flags
4835 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4839 $as_echo "$lt_cv_path_NM" >&6; }
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4843 $as_echo_n "checking whether ln -s works... " >&6; }
4845 if test "$LN_S" = "ln -s"; then
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4847 $as_echo "yes" >&6; }
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4850 $as_echo "no, using $LN_S" >&6; }
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognise dependent libraries" >&5
4854 $as_echo_n "checking how to recognise dependent libraries... " >&6; }
4855 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4856 $as_echo_n "(cached) " >&6
4858 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4859 lt_cv_file_magic_test_file
=
4860 lt_cv_deplibs_check_method
='unknown'
4861 # Need to set the preceding variable on all platforms that support
4862 # interlibrary dependencies.
4863 # 'none' -- dependencies not supported.
4864 # `unknown' -- same as none, but documents that we really don't know.
4865 # 'pass_all' -- all dependencies passed with no checks.
4866 # 'test_compile' -- check by making test program.
4867 # 'file_magic [[regex]]' -- check by looking for files in library path
4868 # which responds to the $file_magic_cmd with a given extended regex.
4869 # If you have `file' or equivalent on your system and you're not sure
4870 # whether `pass_all' will *always* work, you probably want this one.
4874 lt_cv_deplibs_check_method
=pass_all
4878 lt_cv_deplibs_check_method
=pass_all
4882 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4883 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4884 lt_cv_file_magic_test_file
=/shlib
/libc.so
4888 # func_win32_libid is a shell function defined in ltmain.sh
4889 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4890 lt_cv_file_magic_cmd
='func_win32_libid'
4894 # Base MSYS/MinGW do not provide the 'file' command needed by
4895 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4896 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4897 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4900 darwin
* | rhapsody
*)
4901 lt_cv_deplibs_check_method
=pass_all
4904 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4905 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4908 # Not sure whether the presence of OpenBSD here was a mistake.
4909 # Let's accept both of them until this is cleared up.
4910 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4911 lt_cv_file_magic_cmd
=/usr
/bin
/file
4912 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4916 lt_cv_deplibs_check_method
=pass_all
4921 lt_cv_deplibs_check_method
=pass_all
4924 hpux10.20
* | hpux11
*)
4925 lt_cv_file_magic_cmd
=/usr
/bin
/file
4928 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4929 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4932 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]'
4933 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4936 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4937 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4942 irix5
* | irix6
* | nonstopux
*)
4944 *-32|
*"-32 ") libmagic
=32-bit;;
4945 *-n32|
*"-n32 ") libmagic
=N32
;;
4946 *-64|
*"-64 ") libmagic
=64-bit;;
4947 *) libmagic
=never-match
;;
4949 lt_cv_deplibs_check_method
=pass_all
4952 # This must be Linux ELF.
4954 lt_cv_deplibs_check_method
=pass_all
4958 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4959 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4961 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4966 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4967 lt_cv_file_magic_cmd
=/usr
/bin
/file
4968 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4972 lt_cv_deplibs_check_method
=unknown
4976 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4977 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4979 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4983 osf3
* | osf4
* | osf5
*)
4984 lt_cv_deplibs_check_method
=pass_all
4988 lt_cv_deplibs_check_method
=pass_all
4992 lt_cv_deplibs_check_method
=pass_all
4995 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4996 case $host_vendor in
4998 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]'
4999 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5002 lt_cv_deplibs_check_method
=pass_all
5005 lt_cv_file_magic_cmd
='/bin/file'
5006 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5009 lt_cv_file_magic_cmd
='/bin/file'
5010 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5011 lt_cv_file_magic_test_file
=/lib
/libc.so
5014 lt_cv_deplibs_check_method
=pass_all
5019 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
5020 lt_cv_deplibs_check_method
=pass_all
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5026 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5027 file_magic_cmd
=$lt_cv_file_magic_cmd
5028 deplibs_check_method
=$lt_cv_deplibs_check_method
5029 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5034 # If no C compiler was specified, use CC.
5037 # Allow CC to be a program name with arguments.
5040 # Check whether --enable-libtool-lock was given.
5041 if test "${enable_libtool_lock+set}" = set; then :
5042 enableval
=$enable_libtool_lock;
5045 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5047 # Some flags need to be propagated to the compiler or linker for good
5051 # Find out which ABI we are using.
5052 echo 'int i;' > conftest.
$ac_ext
5053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5054 (eval $ac_compile) 2>&5
5056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5057 test $ac_status = 0; }; then
5058 case `/usr/bin/file conftest.$ac_objext` in
5070 # Find out which ABI we are using.
5071 echo '#line 5071 "configure"' > conftest.
$ac_ext
5072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5073 (eval $ac_compile) 2>&5
5075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5076 test $ac_status = 0; }; then
5077 if test "$lt_cv_prog_gnu_ld" = yes; then
5078 case `/usr/bin/file conftest.$ac_objext` in
5080 LD
="${LD-ld} -melf32bsmip"
5083 LD
="${LD-ld} -melf32bmipn32"
5086 LD
="${LD-ld} -melf64bmip"
5090 case `/usr/bin/file conftest.$ac_objext` in
5106 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5107 # Find out which ABI we are using.
5108 echo 'int i;' > conftest.
$ac_ext
5109 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5110 (eval $ac_compile) 2>&5
5112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5113 test $ac_status = 0; }; then
5114 case "`/usr/bin/file conftest.o`" in
5118 LD
="${LD-ld} -m elf_i386"
5120 ppc64-
*linux
*|powerpc64-
*linux
*)
5121 LD
="${LD-ld} -m elf32ppclinux"
5124 LD
="${LD-ld} -m elf_s390"
5127 LD
="${LD-ld} -m elf32_sparc"
5134 LD
="${LD-ld} -m elf_x86_64"
5136 ppc
*-*linux
*|powerpc
*-*linux
*)
5137 LD
="${LD-ld} -m elf64ppc"
5140 LD
="${LD-ld} -m elf64_s390"
5143 LD
="${LD-ld} -m elf64_sparc"
5153 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5154 SAVE_CFLAGS
="$CFLAGS"
5155 CFLAGS
="$CFLAGS -belf"
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5157 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5158 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5159 $as_echo_n "(cached) " >&6
5162 ac_cpp
='$CPP $CPPFLAGS'
5163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5168 /* end confdefs.h. */
5178 if ac_fn_c_try_link
"$LINENO"; then :
5179 lt_cv_cc_needs_belf
=yes
5181 lt_cv_cc_needs_belf
=no
5183 rm -f core conftest.err conftest.
$ac_objext \
5184 conftest
$ac_exeext conftest.
$ac_ext
5186 ac_cpp
='$CPP $CPPFLAGS'
5187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5193 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5194 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5195 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5196 CFLAGS
="$SAVE_CFLAGS"
5199 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
5200 if test -n "$ac_tool_prefix"; then
5201 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5202 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5206 $as_echo_n "(cached) " >&6
5208 if test -n "$DLLTOOL"; then
5209 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5215 test -z "$as_dir" && as_dir
=.
5216 for ac_exec_ext
in '' $ac_executable_extensions; do
5217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5218 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 DLLTOOL
=$ac_cv_prog_DLLTOOL
5229 if test -n "$DLLTOOL"; then
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5231 $as_echo "$DLLTOOL" >&6; }
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5234 $as_echo "no" >&6; }
5239 if test -z "$ac_cv_prog_DLLTOOL"; then
5240 ac_ct_DLLTOOL
=$DLLTOOL
5241 # Extract the first word of "dlltool", so it can be a program name with args.
5242 set dummy dlltool
; ac_word
=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5246 $as_echo_n "(cached) " >&6
5248 if test -n "$ac_ct_DLLTOOL"; then
5249 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5258 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5269 if test -n "$ac_ct_DLLTOOL"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5271 $as_echo "$ac_ct_DLLTOOL" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5277 if test "x$ac_ct_DLLTOOL" = x
; then
5280 case $cross_compiling:$ac_tool_warned in
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5284 ac_tool_warned
=yes ;;
5286 DLLTOOL
=$ac_ct_DLLTOOL
5289 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5292 if test -n "$ac_tool_prefix"; then
5293 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5294 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5296 $as_echo_n "checking for $ac_word... " >&6; }
5297 if test "${ac_cv_prog_AS+set}" = set; then :
5298 $as_echo_n "(cached) " >&6
5300 if test -n "$AS"; then
5301 ac_cv_prog_AS
="$AS" # Let the user override the test.
5303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5307 test -z "$as_dir" && as_dir
=.
5308 for ac_exec_ext
in '' $ac_executable_extensions; do
5309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5310 ac_cv_prog_AS
="${ac_tool_prefix}as"
5311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 if test -n "$AS"; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5323 $as_echo "$AS" >&6; }
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5331 if test -z "$ac_cv_prog_AS"; then
5333 # Extract the first word of "as", so it can be a program name with args.
5334 set dummy as
; ac_word
=$2
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5336 $as_echo_n "checking for $ac_word... " >&6; }
5337 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5338 $as_echo_n "(cached) " >&6
5340 if test -n "$ac_ct_AS"; then
5341 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5347 test -z "$as_dir" && as_dir
=.
5348 for ac_exec_ext
in '' $ac_executable_extensions; do
5349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5350 ac_cv_prog_ac_ct_AS
="as"
5351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5361 if test -n "$ac_ct_AS"; then
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5363 $as_echo "$ac_ct_AS" >&6; }
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366 $as_echo "no" >&6; }
5369 if test "x$ac_ct_AS" = x
; then
5372 case $cross_compiling:$ac_tool_warned in
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5376 ac_tool_warned
=yes ;;
5384 if test -n "$ac_tool_prefix"; then
5385 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5386 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388 $as_echo_n "checking for $ac_word... " >&6; }
5389 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5390 $as_echo_n "(cached) " >&6
5392 if test -n "$OBJDUMP"; then
5393 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5399 test -z "$as_dir" && as_dir
=.
5400 for ac_exec_ext
in '' $ac_executable_extensions; do
5401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5402 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5412 OBJDUMP
=$ac_cv_prog_OBJDUMP
5413 if test -n "$OBJDUMP"; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5415 $as_echo "$OBJDUMP" >&6; }
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418 $as_echo "no" >&6; }
5423 if test -z "$ac_cv_prog_OBJDUMP"; then
5424 ac_ct_OBJDUMP
=$OBJDUMP
5425 # Extract the first word of "objdump", so it can be a program name with args.
5426 set dummy objdump
; ac_word
=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5430 $as_echo_n "(cached) " >&6
5432 if test -n "$ac_ct_OBJDUMP"; then
5433 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5442 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5453 if test -n "$ac_ct_OBJDUMP"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5455 $as_echo "$ac_ct_OBJDUMP" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5461 if test "x$ac_ct_OBJDUMP" = x
; then
5464 case $cross_compiling:$ac_tool_warned in
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5468 ac_tool_warned
=yes ;;
5470 OBJDUMP
=$ac_ct_OBJDUMP
5473 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5480 need_locks
="$enable_libtool_lock"
5484 ac_cpp
='$CPP $CPPFLAGS'
5485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5489 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5490 # On Suns, sometimes $CPP names a directory.
5491 if test -n "$CPP" && test -d "$CPP"; then
5494 if test -z "$CPP"; then
5495 if test "${ac_cv_prog_CPP+set}" = set; then :
5496 $as_echo_n "(cached) " >&6
5498 # Double quotes because CPP needs to be expanded
5499 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5502 for ac_c_preproc_warn_flag
in '' yes
5504 # Use a header file that comes with gcc, so configuring glibc
5505 # with a fresh cross-compiler works.
5506 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5507 # <limits.h> exists even on freestanding compilers.
5508 # On the NeXT, cc -E runs the code through the compiler's parser,
5509 # not just through cpp. "Syntax error" is here to catch this case.
5510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5511 /* end confdefs.h. */
5513 # include <limits.h>
5515 # include <assert.h>
5519 if ac_fn_c_try_cpp
"$LINENO"; then :
5522 # Broken: fails on valid input.
5525 rm -f conftest.err conftest.
$ac_ext
5527 # OK, works on sane cases. Now check whether nonexistent headers
5528 # can be detected and how.
5529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5530 /* end confdefs.h. */
5531 #include <ac_nonexistent.h>
5533 if ac_fn_c_try_cpp
"$LINENO"; then :
5534 # Broken: success on invalid input.
5537 # Passes both tests.
5541 rm -f conftest.err conftest.
$ac_ext
5544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5545 rm -f conftest.err conftest.
$ac_ext
5546 if $ac_preproc_ok; then :
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5559 $as_echo "$CPP" >&6; }
5561 for ac_c_preproc_warn_flag
in '' yes
5563 # Use a header file that comes with gcc, so configuring glibc
5564 # with a fresh cross-compiler works.
5565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5566 # <limits.h> exists even on freestanding compilers.
5567 # On the NeXT, cc -E runs the code through the compiler's parser,
5568 # not just through cpp. "Syntax error" is here to catch this case.
5569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5570 /* end confdefs.h. */
5572 # include <limits.h>
5574 # include <assert.h>
5578 if ac_fn_c_try_cpp
"$LINENO"; then :
5581 # Broken: fails on valid input.
5584 rm -f conftest.err conftest.
$ac_ext
5586 # OK, works on sane cases. Now check whether nonexistent headers
5587 # can be detected and how.
5588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5590 #include <ac_nonexistent.h>
5592 if ac_fn_c_try_cpp
"$LINENO"; then :
5593 # Broken: success on invalid input.
5596 # Passes both tests.
5600 rm -f conftest.err conftest.
$ac_ext
5603 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5604 rm -f conftest.err conftest.
$ac_ext
5605 if $ac_preproc_ok; then :
5608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5610 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5611 See \`config.log' for more details." "$LINENO" 5; }
5615 ac_cpp
='$CPP $CPPFLAGS'
5616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5622 $as_echo_n "checking for ANSI C header files... " >&6; }
5623 if test "${ac_cv_header_stdc+set}" = set; then :
5624 $as_echo_n "(cached) " >&6
5626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5627 /* end confdefs.h. */
5641 if ac_fn_c_try_compile
"$LINENO"; then :
5642 ac_cv_header_stdc
=yes
5644 ac_cv_header_stdc
=no
5646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5648 if test $ac_cv_header_stdc = yes; then
5649 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5651 /* end confdefs.h. */
5655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5656 $EGREP "memchr" >/dev
/null
2>&1; then :
5659 ac_cv_header_stdc
=no
5665 if test $ac_cv_header_stdc = yes; then
5666 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h. */
5672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5673 $EGREP "free" >/dev
/null
2>&1; then :
5676 ac_cv_header_stdc
=no
5682 if test $ac_cv_header_stdc = yes; then
5683 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5684 if test "$cross_compiling" = yes; then :
5687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5688 /* end confdefs.h. */
5691 #if ((' ' & 0x0FF) == 0x020)
5692 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5693 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5695 # define ISLOWER(c) \
5696 (('a' <= (c) && (c) <= 'i') \
5697 || ('j' <= (c) && (c) <= 'r') \
5698 || ('s' <= (c) && (c) <= 'z'))
5699 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5702 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5707 for (i = 0; i < 256; i++)
5708 if (XOR (islower (i), ISLOWER (i))
5709 || toupper (i) != TOUPPER (i))
5714 if ac_fn_c_try_run
"$LINENO"; then :
5717 ac_cv_header_stdc
=no
5719 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5720 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5726 $as_echo "$ac_cv_header_stdc" >&6; }
5727 if test $ac_cv_header_stdc = yes; then
5729 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5733 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5734 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5735 inttypes.h stdint.h unistd.h
5737 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5738 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5740 eval as_val
=\$
$as_ac_Header
5741 if test "x$as_val" = x
""yes; then :
5742 cat >>confdefs.h
<<_ACEOF
5743 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5751 for ac_header
in dlfcn.h
5753 ac_fn_c_check_header_mongrel
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
5754 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
5755 cat >>confdefs.h
<<_ACEOF
5756 #define HAVE_DLFCN_H 1
5764 ac_cpp
='$CXXCPP $CPPFLAGS'
5765 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5766 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5768 if test -z "$CXX"; then
5769 if test -n "$CCC"; then
5772 if test -n "$ac_tool_prefix"; then
5773 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5775 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5776 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 $as_echo_n "checking for $ac_word... " >&6; }
5779 if test "${ac_cv_prog_CXX+set}" = set; then :
5780 $as_echo_n "(cached) " >&6
5782 if test -n "$CXX"; then
5783 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5789 test -z "$as_dir" && as_dir
=.
5790 for ac_exec_ext
in '' $ac_executable_extensions; do
5791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5792 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 if test -n "$CXX"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5805 $as_echo "$CXX" >&6; }
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }
5812 test -n "$CXX" && break
5815 if test -z "$CXX"; then
5817 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5819 # Extract the first word of "$ac_prog", so it can be a program name with args.
5820 set dummy
$ac_prog; ac_word
=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
5824 $as_echo_n "(cached) " >&6
5826 if test -n "$ac_ct_CXX"; then
5827 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5833 test -z "$as_dir" && as_dir
=.
5834 for ac_exec_ext
in '' $ac_executable_extensions; do
5835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5836 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5847 if test -n "$ac_ct_CXX"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5849 $as_echo "$ac_ct_CXX" >&6; }
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5856 test -n "$ac_ct_CXX" && break
5859 if test "x$ac_ct_CXX" = x
; then
5862 case $cross_compiling:$ac_tool_warned in
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5866 ac_tool_warned
=yes ;;
5874 # Provide some information about the compiler.
5875 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5878 for ac_option
in --version -v -V -qversion; do
5879 { { ac_try
="$ac_compiler $ac_option >&5"
5881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5882 *) ac_try_echo=$ac_try;;
5884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5885 $as_echo "$ac_try_echo"; } >&5
5886 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5888 if test -s conftest.err; then
5890 ... rest of stderr output deleted ...
5891 10q' conftest.err >conftest.er1
5892 cat conftest.er1 >&5
5893 rm -f conftest.er1 conftest.err
5895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5896 test $ac_status = 0; }
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5900 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5901 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
5902 $as_echo_n "(cached) " >&6
5904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5905 /* end confdefs.h. */
5918 if ac_fn_cxx_try_compile "$LINENO"; then :
5923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5924 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5928 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5929 if test $ac_compiler_gnu = yes; then
5934 ac_test_CXXFLAGS=${CXXFLAGS+set}
5935 ac_save_CXXFLAGS=$CXXFLAGS
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5937 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5938 if test "${ac_cv_prog_cxx_g+set}" = set; then :
5939 $as_echo_n "(cached) " >&6
5941 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5942 ac_cxx_werror_flag=yes
5945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5946 /* end confdefs.h. */
5956 if ac_fn_cxx_try_compile "$LINENO"; then :
5957 ac_cv_prog_cxx_g=yes
5960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5961 /* end confdefs.h. */
5971 if ac_fn_cxx_try_compile "$LINENO"; then :
5974 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5977 /* end confdefs.h. */
5987 if ac_fn_cxx_try_compile "$LINENO"; then :
5988 ac_cv_prog_cxx_g=yes
5990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5995 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5998 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5999 if test "$ac_test_CXXFLAGS" = set; then
6000 CXXFLAGS=$ac_save_CXXFLAGS
6001 elif test $ac_cv_prog_cxx_g = yes; then
6002 if test "$GXX" = yes; then
6008 if test "$GXX" = yes; then
6015 ac_cpp='$CXXCPP $CPPFLAGS'
6016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6020 depcc="$CXX" am_compiler_list=
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6023 $as_echo_n "checking dependency style of $depcc... " >&6; }
6024 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
6025 $as_echo_n "(cached) " >&6
6027 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6028 # We make a subdir and do the tests there. Otherwise we can end up
6029 # making bogus files that we don't know about and never remove. For
6030 # instance it was reported that on HP-UX the gcc test will end up
6031 # making a dummy file named `D
' -- because `-MD' means
`put the output
6034 # Copy depcomp to subdir because otherwise we won't find it if we're
6035 # using a relative directory.
6036 cp "$am_depcomp" conftest.dir
6038 # We will build objects and dependencies in a subdirectory because
6039 # it helps to detect inapplicable dependency modes. For instance
6040 # both Tru64's cc and ICC support -MD to output dependencies as a
6041 # side effect of compilation, but ICC will put the dependencies in
6042 # the current directory while Tru64 will put them in the object
6046 am_cv_CXX_dependencies_compiler_type=none
6047 if test "$am_compiler_list" = ""; then
6048 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6051 case " $depcc " in #(
6052 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6055 for depmode in $am_compiler_list; do
6056 # Setup a source with many dependencies, because some compilers
6057 # like to wrap large dependency lists on column 80 (with \), and
6058 # we should not choose a depcomp mode which is confused by this.
6060 # We need to recreate these files for each test, as the compiler may
6061 # overwrite some of them when testing with obscure command lines.
6062 # This happens at least with the AIX C compiler.
6064 for i in 1 2 3 4 5 6; do
6065 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6066 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
6067 # Solaris 8's
{/usr
,}/bin
/sh.
6068 touch sub
/conftst
$i.h
6070 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6072 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6073 # mode. It turns out that the SunPro C++ compiler does not properly
6074 # handle `-M -o', and we need to detect this. Also, some Intel
6075 # versions had trouble with output in subdirs
6076 am__obj
=sub
/conftest.
${OBJEXT-o}
6077 am__minus_obj
="-o $am__obj"
6080 # This depmode causes a compiler race in universal mode.
6081 test "$am__universal" = false ||
continue
6084 # after this tag, mechanisms are not by side-effect, so they'll
6085 # only be used when explicitly requested
6086 if test "x$enable_dependency_tracking" = xyes
; then
6092 msvisualcpp | msvcmsys
)
6093 # This compiler won't grok `-c -o', but also, the minuso test has
6094 # not run yet. These depmodes are late enough in the game, and
6095 # so weak that their functioning should not be impacted.
6096 am__obj
=conftest.
${OBJEXT-o}
6101 if depmode
=$depmode \
6102 source=sub
/conftest.c object
=$am__obj \
6103 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6104 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
6105 >/dev
/null
2>conftest.err
&&
6106 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6107 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6108 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
6109 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6110 # icc doesn't choke on unknown options, it will just issue warnings
6111 # or remarks (even with -Werror). So we grep stderr for any message
6112 # that says an option was ignored or not supported.
6113 # When given -MP, icc 7.0 and 7.1 complain thusly:
6114 # icc: Command line warning: ignoring option '-M'; no argument required
6115 # The diagnosis changed in icc 8.0:
6116 # icc: Command line remark: option '-MP' not supported
6117 if (grep 'ignoring option' conftest.err ||
6118 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6119 am_cv_CXX_dependencies_compiler_type
=$depmode
6128 am_cv_CXX_dependencies_compiler_type
=none
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6133 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6134 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6137 test "x$enable_dependency_tracking" != xno \
6138 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6139 am__fastdepCXX_TRUE
=
6140 am__fastdepCXX_FALSE
='#'
6142 am__fastdepCXX_TRUE
='#'
6143 am__fastdepCXX_FALSE
=
6149 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6150 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6151 (test "X$CXX" != "Xg++"))) ; then
6153 ac_cpp
='$CXXCPP $CPPFLAGS'
6154 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6155 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6156 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6158 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6159 if test -z "$CXXCPP"; then
6160 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
6161 $as_echo_n "(cached) " >&6
6163 # Double quotes because CXXCPP needs to be expanded
6164 for CXXCPP
in "$CXX -E" "/lib/cpp"
6167 for ac_cxx_preproc_warn_flag
in '' yes
6169 # Use a header file that comes with gcc, so configuring glibc
6170 # with a fresh cross-compiler works.
6171 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6172 # <limits.h> exists even on freestanding compilers.
6173 # On the NeXT, cc -E runs the code through the compiler's parser,
6174 # not just through cpp. "Syntax error" is here to catch this case.
6175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6176 /* end confdefs.h. */
6178 # include <limits.h>
6180 # include <assert.h>
6184 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6187 # Broken: fails on valid input.
6190 rm -f conftest.err conftest.
$ac_ext
6192 # OK, works on sane cases. Now check whether nonexistent headers
6193 # can be detected and how.
6194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6195 /* end confdefs.h. */
6196 #include <ac_nonexistent.h>
6198 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6199 # Broken: success on invalid input.
6202 # Passes both tests.
6206 rm -f conftest.err conftest.
$ac_ext
6209 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6210 rm -f conftest.err conftest.
$ac_ext
6211 if $ac_preproc_ok; then :
6216 ac_cv_prog_CXXCPP
=$CXXCPP
6219 CXXCPP
=$ac_cv_prog_CXXCPP
6221 ac_cv_prog_CXXCPP
=$CXXCPP
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
6224 $as_echo "$CXXCPP" >&6; }
6226 for ac_cxx_preproc_warn_flag
in '' yes
6228 # Use a header file that comes with gcc, so configuring glibc
6229 # with a fresh cross-compiler works.
6230 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6231 # <limits.h> exists even on freestanding compilers.
6232 # On the NeXT, cc -E runs the code through the compiler's parser,
6233 # not just through cpp. "Syntax error" is here to catch this case.
6234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6235 /* end confdefs.h. */
6237 # include <limits.h>
6239 # include <assert.h>
6243 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6246 # Broken: fails on valid input.
6249 rm -f conftest.err conftest.
$ac_ext
6251 # OK, works on sane cases. Now check whether nonexistent headers
6252 # can be detected and how.
6253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6254 /* end confdefs.h. */
6255 #include <ac_nonexistent.h>
6257 if ac_fn_cxx_try_cpp
"$LINENO"; then :
6258 # Broken: success on invalid input.
6261 # Passes both tests.
6265 rm -f conftest.err conftest.
$ac_ext
6268 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6269 rm -f conftest.err conftest.
$ac_ext
6270 if $ac_preproc_ok; then :
6273 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6275 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
6276 See \`config.log' for more details." "$LINENO" 5; }
6280 ac_cpp
='$CXXCPP $CPPFLAGS'
6281 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6282 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6283 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6289 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6290 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6291 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6292 if test -n "$ac_tool_prefix"; then
6293 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
6295 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6296 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6298 $as_echo_n "checking for $ac_word... " >&6; }
6299 if test "${ac_cv_prog_F77+set}" = set; then :
6300 $as_echo_n "(cached) " >&6
6302 if test -n "$F77"; then
6303 ac_cv_prog_F77
="$F77" # Let the user override the test.
6305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6309 test -z "$as_dir" && as_dir
=.
6310 for ac_exec_ext
in '' $ac_executable_extensions; do
6311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6312 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6323 if test -n "$F77"; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
6325 $as_echo "$F77" >&6; }
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6328 $as_echo "no" >&6; }
6332 test -n "$F77" && break
6335 if test -z "$F77"; then
6337 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
6339 # Extract the first word of "$ac_prog", so it can be a program name with args.
6340 set dummy
$ac_prog; ac_word
=$2
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6342 $as_echo_n "checking for $ac_word... " >&6; }
6343 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
6344 $as_echo_n "(cached) " >&6
6346 if test -n "$ac_ct_F77"; then
6347 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6353 test -z "$as_dir" && as_dir
=.
6354 for ac_exec_ext
in '' $ac_executable_extensions; do
6355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6356 ac_cv_prog_ac_ct_F77
="$ac_prog"
6357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6366 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6367 if test -n "$ac_ct_F77"; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
6369 $as_echo "$ac_ct_F77" >&6; }
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6372 $as_echo "no" >&6; }
6376 test -n "$ac_ct_F77" && break
6379 if test "x$ac_ct_F77" = x
; then
6382 case $cross_compiling:$ac_tool_warned in
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6386 ac_tool_warned
=yes ;;
6393 # Provide some information about the compiler.
6394 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
6397 for ac_option
in --version -v -V -qversion; do
6398 { { ac_try
="$ac_compiler $ac_option >&5"
6400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6401 *) ac_try_echo=$ac_try;;
6403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6404 $as_echo "$ac_try_echo"; } >&5
6405 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6407 if test -s conftest.err; then
6409 ... rest of stderr output deleted ...
6410 10q' conftest.err >conftest.er1
6411 cat conftest.er1 >&5
6412 rm -f conftest.er1 conftest.err
6414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6415 test $ac_status = 0; }
6419 # If we don't use `.F
' as extension, the preprocessor is not run on the
6420 # input file. (Note that this only needs to work for GNU compilers.)
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
6424 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
6425 if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
6426 $as_echo_n "(cached) " >&6
6428 cat > conftest.$ac_ext <<_ACEOF
6436 if ac_fn_f77_try_compile "$LINENO"; then :
6441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6442 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
6446 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
6448 ac_test_FFLAGS=${FFLAGS+set}
6449 ac_save_FFLAGS=$FFLAGS
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
6452 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
6453 if test "${ac_cv_prog_f77_g+set}" = set; then :
6454 $as_echo_n "(cached) " >&6
6457 cat > conftest.$ac_ext <<_ACEOF
6462 if ac_fn_f77_try_compile "$LINENO"; then :
6463 ac_cv_prog_f77_g=yes
6467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
6471 $as_echo "$ac_cv_prog_f77_g" >&6; }
6472 if test "$ac_test_FFLAGS" = set; then
6473 FFLAGS=$ac_save_FFLAGS
6474 elif test $ac_cv_prog_f77_g = yes; then
6475 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6481 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6488 if test $ac_compiler_gnu = yes; then
6494 ac_cpp='$CPP $CPPFLAGS'
6495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6496 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6501 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6503 # find the maximum length of command line arguments
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6505 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6506 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6507 $as_echo_n "(cached) " >&6
6514 # On DJGPP, this test can blow up pretty badly due to problems in libc
6515 # (any single argument exceeding 2000 bytes causes a buffer overrun
6516 # during glob expansion). Even if it were fixed, the result of this
6517 # check would be larger than it should be.
6518 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6522 # Under GNU Hurd, this test is not required because there is
6523 # no limit to the length of command line arguments.
6524 # Libtool will interpret -1 as no limit whatsoever
6525 lt_cv_sys_max_cmd_len
=-1;
6529 # On Win9x/ME, this test blows up -- it succeeds, but takes
6530 # about 5 minutes as the teststring grows exponentially.
6531 # Worse, since 9x/ME are not pre-emptively multitasking,
6532 # you end up with a "frozen" computer, even though with patience
6533 # the test eventually succeeds (with a max line length of 256k).
6534 # Instead, let's just punt: use the minimum linelength reported by
6535 # all of the supported platforms: 8192 (on NT/2K/XP).
6536 lt_cv_sys_max_cmd_len
=8192;
6540 # On AmigaOS with pdksh, this test takes hours, literally.
6541 # So we just punt and use a minimum line length of 8192.
6542 lt_cv_sys_max_cmd_len
=8192;
6545 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6546 # This has been around since 386BSD, at least. Likely further.
6547 if test -x /sbin
/sysctl
; then
6548 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6549 elif test -x /usr
/sbin
/sysctl
; then
6550 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6552 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
6554 # And add a safety zone
6555 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6556 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6559 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6560 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6561 # nice to cause kernel panics so lets avoid the loop below.
6562 # First set a reasonable default.
6563 lt_cv_sys_max_cmd_len
=16384
6565 if test -x /sbin
/sysconfig
; then
6566 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6567 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6572 # If test is not a shell built-in, we'll probably end up computing a
6573 # maximum length that is only half of the actual maximum length, but
6575 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6576 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6577 = "XX$teststring") >/dev
/null
2>&1 &&
6578 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6579 lt_cv_sys_max_cmd_len
=$new_result &&
6580 test $i != 17 # 1/2 MB should be enough
6583 teststring
=$teststring$teststring
6586 # Add a significant safety factor because C++ compilers can tack on massive
6587 # amounts of additional arguments before passing them to the linker.
6588 # It appears as though 1/2 is a usable value.
6589 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6595 if test -n $lt_cv_sys_max_cmd_len ; then
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6597 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6600 $as_echo "none" >&6; }
6606 # Check for command to grab the raw symbol name followed by C symbol from nm.
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6608 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6609 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6610 $as_echo_n "(cached) " >&6
6613 # These are sane defaults that work on at least a few old systems.
6614 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6616 # Character class describing NM global symbol codes.
6617 symcode
='[BCDEGRST]'
6619 # Regexp to match symbols that can be accessed directly from C.
6620 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6622 # Transform an extracted symbol line into a proper C declaration
6623 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6625 # Transform an extracted symbol line into symbol name and symbol address
6626 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'"
6628 # Define system-specific variables.
6633 cygwin
* | mingw
* | pw32
*)
6634 symcode
='[ABCDGISTW]'
6636 hpux
*) # Its linker distinguishes data from code symbols
6637 if test "$host_cpu" = ia64
; then
6638 symcode
='[ABCDEGRST]'
6640 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6641 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'"
6644 if test "$host_cpu" = ia64
; then
6645 symcode
='[ABCDGIRSTW]'
6646 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6647 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'"
6651 symcode
='[BCDEGRST]'
6654 symcode
='[BCDEGQRST]'
6664 # Handle CRLF in mingw tool chain
6668 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6672 # If we're using GNU nm, then use its standard symbol codes.
6673 case `$NM -V 2>&1` in
6674 *GNU
* |
*'with BFD'*)
6675 symcode
='[ABCDGIRSTW]' ;;
6678 # Try without a prefix undercore, then with it.
6679 for ac_symprfx
in "" "_"; do
6681 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6682 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6684 # Write the raw and C identifiers.
6685 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6687 # Check to see that the pipe works correctly.
6691 cat > conftest.
$ac_ext <<EOF
6696 void nm_test_func(){}
6700 int main(){nm_test_var='a';nm_test_func();return(0);}
6703 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6704 (eval $ac_compile) 2>&5
6706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6707 test $ac_status = 0; }; then
6708 # Now try to grab the symbols.
6710 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6711 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6714 test $ac_status = 0; } && test -s "$nlist"; then
6715 # Try sorting and uniquifying the output.
6716 if sort "$nlist" |
uniq > "$nlist"T
; then
6717 mv -f "$nlist"T
"$nlist"
6722 # Make sure that we snagged all the symbols we need.
6723 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6724 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6725 cat <<EOF > conftest.$ac_ext
6731 # Now generate the symbol file.
6732 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6734 cat <<EOF >> conftest.$ac_ext
6735 #if defined (__STDC__) && __STDC__
6736 # define lt_ptr_t void *
6738 # define lt_ptr_t char *
6742 /* The mapping between symbol names and symbols. */
6747 lt_preloaded_symbols[] =
6750 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6751 cat <<\EOF
>> conftest.
$ac_ext
6759 # Now try linking the two files.
6760 mv conftest.
$ac_objext conftstm.
$ac_objext
6761 lt_save_LIBS
="$LIBS"
6762 lt_save_CFLAGS
="$CFLAGS"
6763 LIBS
="conftstm.$ac_objext"
6764 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6766 (eval $ac_link) 2>&5
6768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6769 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6772 LIBS
="$lt_save_LIBS"
6773 CFLAGS
="$lt_save_CFLAGS"
6775 echo "cannot find nm_test_func in $nlist" >&5
6778 echo "cannot find nm_test_var in $nlist" >&5
6781 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6784 echo "$progname: failed program was:" >&5
6785 cat conftest.
$ac_ext >&5
6787 rm -f conftest
* conftst
*
6789 # Do not use the global_symbol_pipe unless it works.
6790 if test "$pipe_works" = yes; then
6793 lt_cv_sys_global_symbol_pipe
=
6799 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6800 lt_cv_sys_global_symbol_to_cdecl
=
6802 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6804 $as_echo "failed" >&6; }
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6807 $as_echo "ok" >&6; }
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6811 $as_echo_n "checking for objdir... " >&6; }
6812 if test "${lt_cv_objdir+set}" = set; then :
6813 $as_echo_n "(cached) " >&6
6815 rm -f .libs
2>/dev
/null
6816 mkdir .libs
2>/dev
/null
6817 if test -d .libs
; then
6820 # MS-DOS does not allow filenames that begin with a dot.
6823 rmdir .libs
2>/dev
/null
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6826 $as_echo "$lt_cv_objdir" >&6; }
6827 objdir
=$lt_cv_objdir
6835 # AIX sometimes has problems with the GCC collect2 program. For some
6836 # reason, if we set the COLLECT_NAMES environment variable, the problems
6837 # vanish in a puff of smoke.
6838 if test "X${COLLECT_NAMES+set}" != Xset
; then
6840 export COLLECT_NAMES
6845 # Sed substitution that helps us do robust quoting. It backslashifies
6846 # metacharacters that are still active within double-quoted strings.
6847 Xsed
='sed -e 1s/^X//'
6848 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6850 # Same as above, but do not quote variable references.
6851 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6853 # Sed substitution to delay expansion of an escaped shell variable in a
6854 # double_quote_subst'ed string.
6855 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6857 # Sed substitution to avoid accidental globbing in evaled expressions
6858 no_glob_subst
='s/\*/\\\*/g'
6864 default_ofile
=libtool
6865 can_build_shared
=yes
6867 # All known linkers require a `.a' archive for static linking (except M$VC,
6868 # which needs '.lib').
6870 ltmain
="$ac_aux_dir/ltmain.sh"
6871 ofile
="$default_ofile"
6872 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6874 if test -n "$ac_tool_prefix"; then
6875 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6876 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6878 $as_echo_n "checking for $ac_word... " >&6; }
6879 if test "${ac_cv_prog_AR+set}" = set; then :
6880 $as_echo_n "(cached) " >&6
6882 if test -n "$AR"; then
6883 ac_cv_prog_AR
="$AR" # Let the user override the test.
6885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6889 test -z "$as_dir" && as_dir
=.
6890 for ac_exec_ext
in '' $ac_executable_extensions; do
6891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6892 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6903 if test -n "$AR"; then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6905 $as_echo "$AR" >&6; }
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6908 $as_echo "no" >&6; }
6913 if test -z "$ac_cv_prog_AR"; then
6915 # Extract the first word of "ar", so it can be a program name with args.
6916 set dummy
ar; ac_word
=$2
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918 $as_echo_n "checking for $ac_word... " >&6; }
6919 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6920 $as_echo_n "(cached) " >&6
6922 if test -n "$ac_ct_AR"; then
6923 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6929 test -z "$as_dir" && as_dir
=.
6930 for ac_exec_ext
in '' $ac_executable_extensions; do
6931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6932 ac_cv_prog_ac_ct_AR
="ar"
6933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6942 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6943 if test -n "$ac_ct_AR"; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6945 $as_echo "$ac_ct_AR" >&6; }
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948 $as_echo "no" >&6; }
6951 if test "x$ac_ct_AR" = x
; then
6954 case $cross_compiling:$ac_tool_warned in
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6958 ac_tool_warned
=yes ;;
6966 if test -n "$ac_tool_prefix"; then
6967 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6968 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 $as_echo_n "checking for $ac_word... " >&6; }
6971 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6972 $as_echo_n "(cached) " >&6
6974 if test -n "$RANLIB"; then
6975 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6981 test -z "$as_dir" && as_dir
=.
6982 for ac_exec_ext
in '' $ac_executable_extensions; do
6983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6984 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6994 RANLIB
=$ac_cv_prog_RANLIB
6995 if test -n "$RANLIB"; then
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6997 $as_echo "$RANLIB" >&6; }
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 $as_echo "no" >&6; }
7005 if test -z "$ac_cv_prog_RANLIB"; then
7006 ac_ct_RANLIB
=$RANLIB
7007 # Extract the first word of "ranlib", so it can be a program name with args.
7008 set dummy ranlib
; ac_word
=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010 $as_echo_n "checking for $ac_word... " >&6; }
7011 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7012 $as_echo_n "(cached) " >&6
7014 if test -n "$ac_ct_RANLIB"; then
7015 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir
=.
7022 for ac_exec_ext
in '' $ac_executable_extensions; do
7023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7024 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7034 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7035 if test -n "$ac_ct_RANLIB"; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7037 $as_echo "$ac_ct_RANLIB" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7040 $as_echo "no" >&6; }
7043 if test "x$ac_ct_RANLIB" = x
; then
7046 case $cross_compiling:$ac_tool_warned in
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7050 ac_tool_warned
=yes ;;
7052 RANLIB
=$ac_ct_RANLIB
7055 RANLIB
="$ac_cv_prog_RANLIB"
7058 if test -n "$ac_tool_prefix"; then
7059 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7060 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7062 $as_echo_n "checking for $ac_word... " >&6; }
7063 if test "${ac_cv_prog_STRIP+set}" = set; then :
7064 $as_echo_n "(cached) " >&6
7066 if test -n "$STRIP"; then
7067 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7073 test -z "$as_dir" && as_dir
=.
7074 for ac_exec_ext
in '' $ac_executable_extensions; do
7075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7076 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7086 STRIP
=$ac_cv_prog_STRIP
7087 if test -n "$STRIP"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7089 $as_echo "$STRIP" >&6; }
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 $as_echo "no" >&6; }
7097 if test -z "$ac_cv_prog_STRIP"; then
7099 # Extract the first word of "strip", so it can be a program name with args.
7100 set dummy strip
; ac_word
=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 $as_echo_n "checking for $ac_word... " >&6; }
7103 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7104 $as_echo_n "(cached) " >&6
7106 if test -n "$ac_ct_STRIP"; then
7107 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7113 test -z "$as_dir" && as_dir
=.
7114 for ac_exec_ext
in '' $ac_executable_extensions; do
7115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7116 ac_cv_prog_ac_ct_STRIP
="strip"
7117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7126 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7127 if test -n "$ac_ct_STRIP"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7129 $as_echo "$ac_ct_STRIP" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7135 if test "x$ac_ct_STRIP" = x
; then
7138 case $cross_compiling:$ac_tool_warned in
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7142 ac_tool_warned
=yes ;;
7147 STRIP
="$ac_cv_prog_STRIP"
7152 old_CFLAGS
="$CFLAGS"
7154 # Set sane defaults for various variables
7155 test -z "$AR" && AR
=ar
7156 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7157 test -z "$AS" && AS
=as
7158 test -z "$CC" && CC
=cc
7159 test -z "$LTCC" && LTCC
=$CC
7160 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7161 test -z "$LD" && LD
=ld
7162 test -z "$LN_S" && LN_S
="ln -s"
7163 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7164 test -z "$NM" && NM
=nm
7165 test -z "$SED" && SED
=sed
7166 test -z "$OBJDUMP" && OBJDUMP
=objdump
7167 test -z "$RANLIB" && RANLIB
=:
7168 test -z "$STRIP" && STRIP
=:
7169 test -z "$ac_objext" && ac_objext
=o
7171 # Determine commands to create old-style static archives.
7172 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7173 old_postinstall_cmds
='chmod 644 $oldlib'
7174 old_postuninstall_cmds
=
7176 if test -n "$RANLIB"; then
7179 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
7182 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
7185 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7188 for cc_temp
in $compiler""; do
7190 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7191 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7196 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7199 # Only perform the check for file, if the check method requires it
7200 case $deplibs_check_method in
7202 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7204 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7205 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7206 $as_echo_n "(cached) " >&6
7210 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7213 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7214 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7215 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7216 for ac_dir
in $ac_dummy; do
7218 test -z "$ac_dir" && ac_dir
=.
7219 if test -f $ac_dir/${ac_tool_prefix}file; then
7220 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7221 if test -n "$file_magic_test_file"; then
7222 case $deplibs_check_method in
7224 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
7225 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7226 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7227 $EGREP "$file_magic_regex" > /dev
/null
; then
7232 *** Warning: the command libtool uses to detect shared libraries,
7233 *** $file_magic_cmd, produces output that libtool cannot recognize.
7234 *** The result is that libtool may fail to recognize shared libraries
7235 *** as such. This will affect the creation of libtool libraries that
7236 *** depend on shared libraries, but programs linked with such libtool
7237 *** libraries will work regardless of this problem. Nevertheless, you
7238 *** may want to report the problem to your system manager and/or to
7239 *** bug-libtool@gnu.org
7249 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7254 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7255 if test -n "$MAGIC_CMD"; then
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7257 $as_echo "$MAGIC_CMD" >&6; }
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7260 $as_echo "no" >&6; }
7263 if test -z "$lt_cv_path_MAGIC_CMD"; then
7264 if test -n "$ac_tool_prefix"; then
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7266 $as_echo_n "checking for file... " >&6; }
7267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7268 $as_echo_n "(cached) " >&6
7272 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7275 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7276 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7277 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7278 for ac_dir
in $ac_dummy; do
7280 test -z "$ac_dir" && ac_dir
=.
7281 if test -f $ac_dir/file; then
7282 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7283 if test -n "$file_magic_test_file"; then
7284 case $deplibs_check_method in
7286 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
7287 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7288 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7289 $EGREP "$file_magic_regex" > /dev
/null
; then
7294 *** Warning: the command libtool uses to detect shared libraries,
7295 *** $file_magic_cmd, produces output that libtool cannot recognize.
7296 *** The result is that libtool may fail to recognize shared libraries
7297 *** as such. This will affect the creation of libtool libraries that
7298 *** depend on shared libraries, but programs linked with such libtool
7299 *** libraries will work regardless of this problem. Nevertheless, you
7300 *** may want to report the problem to your system manager and/or to
7301 *** bug-libtool@gnu.org
7311 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7316 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7317 if test -n "$MAGIC_CMD"; then
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7319 $as_echo "$MAGIC_CMD" >&6; }
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7322 $as_echo "no" >&6; }
7335 enable_win32_dll
=yes
7337 # Check whether --enable-libtool-lock was given.
7338 if test "${enable_libtool_lock+set}" = set; then :
7339 enableval
=$enable_libtool_lock;
7342 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7345 # Check whether --with-pic was given.
7346 if test "${with_pic+set}" = set; then :
7347 withval
=$with_pic; pic_mode
="$withval"
7352 test -z "$pic_mode" && pic_mode
=default
7354 # Use C for the default configuration in the libtool script
7358 ac_cpp
='$CPP $CPPFLAGS'
7359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7364 # Source file extension for C test sources.
7367 # Object file extension for compiled C test sources.
7371 # Code to be used in simple compile tests
7372 lt_simple_compile_test_code
="int some_variable = 0;\n"
7374 # Code to be used in simple link tests
7375 lt_simple_link_test_code
='int main(){return(0);}\n'
7378 # If no C compiler was specified, use CC.
7381 # Allow CC to be a program name with arguments.
7385 # save warnings/boilerplate of simple test code
7386 ac_outfile
=conftest.
$ac_objext
7387 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7388 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
7389 _lt_compiler_boilerplate
=`cat conftest.err`
7392 ac_outfile
=conftest.
$ac_objext
7393 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7394 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
7395 _lt_linker_boilerplate
=`cat conftest.err`
7400 # Check for any special shared library compilation flags.
7403 if test "$GCC" = no
; then
7406 lt_prog_cc_shlib
='-belf'
7410 if test -n "$lt_prog_cc_shlib"; then
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
7412 $as_echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
7413 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
7416 $as_echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
7417 lt_cv_prog_cc_can_build_shared
=no
7423 # Check to make sure the static flag actually works.
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_prog_compiler_static works" >&5
7426 $as_echo_n "checking if $compiler static flag $lt_prog_compiler_static works... " >&6; }
7427 if test "${lt_prog_compiler_static_works+set}" = set; then :
7428 $as_echo_n "(cached) " >&6
7430 lt_prog_compiler_static_works
=no
7431 save_LDFLAGS
="$LDFLAGS"
7432 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
7433 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7434 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7435 # The compiler can only warn and ignore the option if not recognized
7436 # So say no if there are warnings
7437 if test -s conftest.err
; then
7438 # Append any errors to the config.log.
7439 cat conftest.err
1>&5
7440 $echo "X$_lt_linker_boilerplate" |
$Xsed > conftest.exp
7441 $SED '/^$/d' conftest.err
>conftest.er2
7442 if diff conftest.exp conftest.er2
>/dev
/null
; then
7443 lt_prog_compiler_static_works
=yes
7446 lt_prog_compiler_static_works
=yes
7450 LDFLAGS
="$save_LDFLAGS"
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works" >&5
7454 $as_echo "$lt_prog_compiler_static_works" >&6; }
7456 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7459 lt_prog_compiler_static
=
7465 ## There is no encapsulation within the following macros, do not change
7466 ## the running order or otherwise move them around unless you know exactly
7467 ## what you are doing...
7469 lt_prog_compiler_no_builtin_flag
=
7471 if test "$GCC" = yes; then
7472 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7476 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7477 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7478 $as_echo_n "(cached) " >&6
7480 lt_cv_prog_compiler_rtti_exceptions
=no
7481 ac_outfile
=conftest.
$ac_objext
7482 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7483 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7484 # Insert the option either (1) after the last *FLAGS variable, or
7485 # (2) before a word containing "conftest.", or (3) at the end.
7486 # Note that $ac_compile itself does not contain backslashes and begins
7487 # with a dollar sign (not a hyphen), so the echo should work correctly.
7488 # The option is referenced via a variable to avoid confusing sed.
7489 lt_compile
=`echo "$ac_compile" | $SED \
7490 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7491 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7492 -e 's:$: $lt_compiler_flag:'`
7493 (eval echo "\"\$as_me:7493: $lt_compile\"" >&5)
7494 (eval "$lt_compile" 2>conftest.err
)
7496 cat conftest.err
>&5
7497 echo "$as_me:7497: \$? = $ac_status" >&5
7498 if (exit $ac_status) && test -s "$ac_outfile"; then
7499 # The compiler can only warn and ignore the option if not recognized
7500 # So say no if there are warnings other than the usual output.
7501 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
7502 $SED '/^$/d' conftest.err
>conftest.er2
7503 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7504 lt_cv_prog_compiler_rtti_exceptions
=yes
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7511 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7513 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7514 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7521 lt_prog_compiler_wl
=
7522 lt_prog_compiler_pic
=
7523 lt_prog_compiler_static
=
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7526 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7528 if test "$GCC" = yes; then
7529 lt_prog_compiler_wl
='-Wl,'
7530 lt_prog_compiler_static
='-static'
7534 # All AIX code is PIC.
7535 if test "$host_cpu" = ia64
; then
7536 # AIX 5 now supports IA64 processor
7537 lt_prog_compiler_static
='-Bstatic'
7542 # FIXME: we need at least 68020 code to build shared libraries, but
7543 # adding the `-m68020' flag to GCC prevents building anything better,
7545 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7548 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7549 # PIC is the default for these OSes.
7552 mingw
* | pw32
* | os2
*)
7553 # This hack is so that the source file can tell whether it is being
7554 # built for inclusion in a dll (and should export symbols for example).
7555 lt_prog_compiler_pic
='-DDLL_EXPORT'
7558 darwin
* | rhapsody
*)
7559 # PIC is the default on this platform
7560 # Common symbols not allowed in MH_DYLIB files
7561 lt_prog_compiler_pic
='-fno-common'
7565 # Just because we use GCC doesn't mean we suddenly get shared libraries
7566 # on systems that don't support them.
7567 lt_prog_compiler_can_build_shared
=no
7572 if test -d /usr
/nec
; then
7573 lt_prog_compiler_pic
=-Kconform_pic
7578 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7585 lt_prog_compiler_pic
='-fPIC'
7591 lt_prog_compiler_pic
='-fPIC'
7595 # PORTME Check for flag to pass linker flags through the system compiler.
7598 lt_prog_compiler_wl
='-Wl,'
7599 if test "$host_cpu" = ia64
; then
7600 # AIX 5 now supports IA64 processor
7601 lt_prog_compiler_static
='-Bstatic'
7603 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7607 # PIC is the default on this platform
7608 # Common symbols not allowed in MH_DYLIB files
7609 case $cc_basename in
7611 lt_prog_compiler_pic
='-qnocommon'
7612 lt_prog_compiler_wl
='-Wl,'
7617 mingw
* | pw32
* | os2
*)
7618 # This hack is so that the source file can tell whether it is being
7619 # built for inclusion in a dll (and should export symbols for example).
7620 lt_prog_compiler_pic
='-DDLL_EXPORT'
7623 hpux9
* | hpux10
* | hpux11
*)
7624 lt_prog_compiler_wl
='-Wl,'
7625 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7632 lt_prog_compiler_pic
='+Z'
7635 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7636 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7639 irix5
* | irix6
* | nonstopux
*)
7640 lt_prog_compiler_wl
='-Wl,'
7641 # PIC (with -KPIC) is the default.
7642 lt_prog_compiler_static
='-non_shared'
7646 lt_prog_compiler_pic
='-KPIC'
7647 lt_prog_compiler_static
='-Bstatic'
7651 case $cc_basename in
7653 lt_prog_compiler_wl
='-Wl,'
7654 lt_prog_compiler_pic
='-KPIC'
7655 lt_prog_compiler_static
='-static'
7657 pgcc
* | pgf77
* | pgf90
*)
7658 # Portland Group compilers (*not* the Pentium gcc compiler,
7659 # which looks to be a dead project)
7660 lt_prog_compiler_wl
='-Wl,'
7661 lt_prog_compiler_pic
='-fpic'
7662 lt_prog_compiler_static
='-static'
7665 lt_prog_compiler_wl
='-Wl,'
7666 # All Alpha code is PIC.
7667 lt_prog_compiler_static
='-non_shared'
7672 osf3
* | osf4
* | osf5
*)
7673 lt_prog_compiler_wl
='-Wl,'
7674 # All OSF/1 code is PIC.
7675 lt_prog_compiler_static
='-non_shared'
7679 lt_prog_compiler_pic
='-Kpic'
7680 lt_prog_compiler_static
='-dn'
7684 lt_prog_compiler_pic
='-KPIC'
7685 lt_prog_compiler_static
='-Bstatic'
7686 case $cc_basename in
7688 lt_prog_compiler_wl
='-Qoption ld ';;
7690 lt_prog_compiler_wl
='-Wl,';;
7695 lt_prog_compiler_wl
='-Qoption ld '
7696 lt_prog_compiler_pic
='-PIC'
7697 lt_prog_compiler_static
='-Bstatic'
7700 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
7701 lt_prog_compiler_wl
='-Wl,'
7702 lt_prog_compiler_pic
='-KPIC'
7703 lt_prog_compiler_static
='-Bstatic'
7707 if test -d /usr
/nec
;then
7708 lt_prog_compiler_pic
='-Kconform_pic'
7709 lt_prog_compiler_static
='-Bstatic'
7714 lt_prog_compiler_wl
='-Wl,'
7715 lt_prog_compiler_can_build_shared
=no
7719 lt_prog_compiler_pic
='-pic'
7720 lt_prog_compiler_static
='-Bstatic'
7724 lt_prog_compiler_can_build_shared
=no
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7730 $as_echo "$lt_prog_compiler_pic" >&6; }
7733 # Check to make sure the PIC flag actually works.
7735 if test -n "$lt_prog_compiler_pic"; then
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7738 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7739 if test "${lt_prog_compiler_pic_works+set}" = set; then :
7740 $as_echo_n "(cached) " >&6
7742 lt_prog_compiler_pic_works
=no
7743 ac_outfile
=conftest.
$ac_objext
7744 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7745 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7746 # Insert the option either (1) after the last *FLAGS variable, or
7747 # (2) before a word containing "conftest.", or (3) at the end.
7748 # Note that $ac_compile itself does not contain backslashes and begins
7749 # with a dollar sign (not a hyphen), so the echo should work correctly.
7750 # The option is referenced via a variable to avoid confusing sed.
7751 lt_compile
=`echo "$ac_compile" | $SED \
7752 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7753 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7754 -e 's:$: $lt_compiler_flag:'`
7755 (eval echo "\"\$as_me:7755: $lt_compile\"" >&5)
7756 (eval "$lt_compile" 2>conftest.err
)
7758 cat conftest.err
>&5
7759 echo "$as_me:7759: \$? = $ac_status" >&5
7760 if (exit $ac_status) && test -s "$ac_outfile"; then
7761 # The compiler can only warn and ignore the option if not recognized
7762 # So say no if there are warnings other than the usual output.
7763 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
7764 $SED '/^$/d' conftest.err
>conftest.er2
7765 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7766 lt_prog_compiler_pic_works
=yes
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works" >&5
7773 $as_echo "$lt_prog_compiler_pic_works" >&6; }
7775 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7776 case $lt_prog_compiler_pic in
7778 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7781 lt_prog_compiler_pic
=
7782 lt_prog_compiler_can_build_shared
=no
7787 # For platforms which do not support PIC, -DPIC is meaningless:
7789 lt_prog_compiler_pic
=
7792 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7797 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7798 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7799 $as_echo_n "(cached) " >&6
7801 lt_cv_prog_compiler_c_o
=no
7802 $rm -r conftest
2>/dev
/null
7806 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7808 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7809 # Insert the option either (1) after the last *FLAGS variable, or
7810 # (2) before a word containing "conftest.", or (3) at the end.
7811 # Note that $ac_compile itself does not contain backslashes and begins
7812 # with a dollar sign (not a hyphen), so the echo should work correctly.
7813 lt_compile
=`echo "$ac_compile" | $SED \
7814 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7815 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7816 -e 's:$: $lt_compiler_flag:'`
7817 (eval echo "\"\$as_me:7817: $lt_compile\"" >&5)
7818 (eval "$lt_compile" 2>out
/conftest.err
)
7820 cat out
/conftest.err
>&5
7821 echo "$as_me:7821: \$? = $ac_status" >&5
7822 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7824 # The compiler can only warn and ignore the option if not recognized
7825 # So say no if there are warnings
7826 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
7827 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
7828 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7829 lt_cv_prog_compiler_c_o
=yes
7834 # SGI C++ compiler will create directory out/ii_files/ for
7835 # template instantiation
7836 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7837 $rm out
/* && rmdir out
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7844 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7847 hard_links
="nottested"
7848 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7849 # do not overwrite the value of need_locks provided by the user
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7851 $as_echo_n "checking if we can lock with hard links... " >&6; }
7854 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7856 ln conftest.a conftest.b
2>&5 || hard_links
=no
7857 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7859 $as_echo "$hard_links" >&6; }
7860 if test "$hard_links" = no
; then
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7862 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7870 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7873 allow_undefined_flag
=
7874 enable_shared_with_static_runtimes
=no
7876 archive_expsym_cmds
=
7877 old_archive_From_new_cmds
=
7878 old_archive_from_expsyms_cmds
=
7879 export_dynamic_flag_spec
=
7880 whole_archive_flag_spec
=
7881 thread_safe_flag_spec
=
7882 hardcode_libdir_flag_spec
=
7883 hardcode_libdir_flag_spec_ld
=
7884 hardcode_libdir_separator
=
7887 hardcode_shlibpath_var
=unsupported
7888 link_all_deplibs
=unknown
7889 hardcode_automatic
=no
7892 always_export_symbols
=no
7893 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7894 # include_expsyms should be a list of space-separated symbols to be *always*
7895 # included in the symbol list
7897 # exclude_expsyms can be an extended regexp of symbols to exclude
7898 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7899 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7900 # as well as any symbol that contains `d'.
7901 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7902 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7903 # platforms (ab)use it in PIC code, but their linkers get confused if
7904 # the symbol is explicitly referenced. Since portable code cannot
7905 # rely on this symbol name, it's probably fine to never include it in
7906 # preloaded symbol tables.
7907 extract_expsyms_cmds
=
7908 # Just being paranoid about ensuring that cc_basename is set.
7909 for cc_temp
in $compiler""; do
7911 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7912 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7917 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7920 cygwin
* | mingw
* | pw32
*)
7921 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7922 # When not using gcc, we currently assume that we are using
7923 # Microsoft Visual C++.
7924 if test "$GCC" != yes; then
7934 if test "$with_gnu_ld" = yes; then
7935 # If archive_cmds runs LD, not CC, wlarc should be empty
7938 # Set some defaults for GNU ld with shared library support. These
7939 # are reset later if shared libraries are not supported. Putting them
7940 # here allows them to be overridden if necessary.
7941 runpath_var
=LD_RUN_PATH
7942 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7943 export_dynamic_flag_spec
='${wl}--export-dynamic'
7944 # ancient GNU ld didn't support --whole-archive et. al.
7945 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7946 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7948 whole_archive_flag_spec
=
7950 supports_anon_versioning
=no
7951 case `$LD -v 2>/dev/null` in
7952 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7953 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7954 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7955 *\
2.11.
*) ;; # other 2.11 versions
7956 *) supports_anon_versioning
=yes ;;
7959 # See if GNU ld supports shared libraries.
7961 aix3
* | aix4
* | aix5
*)
7962 # On AIX/PPC, the GNU linker is very broken
7963 if test "$host_cpu" != ia64
; then
7967 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7968 *** to be unable to reliably create shared libraries on AIX.
7969 *** Therefore, libtool is disabling shared libraries support. If you
7970 *** really care for shared libraries, you may want to modify your PATH
7971 *** so that a non-GNU linker is found, and then restart.
7978 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)'
7979 hardcode_libdir_flag_spec
='-L$libdir'
7980 hardcode_minus_L
=yes
7982 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7983 # that the semantics of dynamic libraries on AmigaOS, at least up
7984 # to version 4, is to share data among multiple programs linked
7985 # with the same dynamic library. Since this doesn't match the
7986 # behavior of shared libraries on other platforms, we can't use
7992 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7993 allow_undefined_flag
=unsupported
7994 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7995 # support --undefined. This deserves some investigation. FIXME
7996 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8002 cygwin
* | mingw
* | pw32
*)
8003 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8004 # as there is no search path for DLLs.
8005 hardcode_libdir_flag_spec
='-L$libdir'
8006 allow_undefined_flag
=unsupported
8007 always_export_symbols
=no
8008 enable_shared_with_static_runtimes
=yes
8009 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8011 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8012 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
8013 # If the export-symbols file already is a .def file (1st line
8014 # is EXPORTS), use it as is; otherwise, prepend...
8015 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8016 cp $export_symbols $output_objdir/$soname.def;
8018 echo EXPORTS > $output_objdir/$soname.def;
8019 cat $export_symbols >> $output_objdir/$soname.def;
8021 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
8028 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8030 case $cc_basename,$host_cpu in
8031 pgcc
*) # Portland Group C compiler
8032 whole_archive_flag_spec
=
8034 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
8035 whole_archive_flag_spec
=
8036 tmp_addflag
=' -fpic -Mnomain' ;;
8037 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8038 tmp_addflag
=' -i_dynamic' ;;
8039 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8040 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8041 ifc
* | ifort
*) # Intel Fortran compiler
8042 tmp_addflag
=' -nofor_main' ;;
8044 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8046 if test $supports_anon_versioning = yes; then
8047 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8048 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8049 $echo "local: *; };" >> $output_objdir/$libname.ver~
8050 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8058 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8059 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8062 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8063 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8068 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8072 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8073 *** create shared libraries on Solaris systems. Therefore, libtool
8074 *** is disabling shared libraries support. We urge you to upgrade GNU
8075 *** binutils to release 2.9.1 or newer. Another option is to modify
8076 *** your PATH or compiler configuration so that the native linker is
8077 *** used, and then restart.
8080 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8081 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8082 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8089 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8092 hardcode_shlibpath_var
=no
8096 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8097 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8098 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8105 if test "$ld_shlibs" = no
; then
8107 hardcode_libdir_flag_spec
=
8108 export_dynamic_flag_spec
=
8109 whole_archive_flag_spec
=
8112 # PORTME fill in a description of your system's linker (not GNU ld)
8115 allow_undefined_flag
=unsupported
8116 always_export_symbols
=yes
8117 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'
8118 # Note: this linker hardcodes the directories in LIBPATH if there
8119 # are no directories specified by -L.
8120 hardcode_minus_L
=yes
8121 if test "$GCC" = yes && test -z "$link_static_flag"; then
8122 # Neither direct hardcoding nor static linking is supported with a
8124 hardcode_direct
=unsupported
8129 if test "$host_cpu" = ia64
; then
8130 # On IA64, the linker does run time linking by default, so we don't
8131 # have to do anything special.
8132 aix_use_runtimelinking
=no
8133 exp_sym_flag
='-Bexport'
8136 # If we're using GNU nm, then we don't want the "-C" option.
8137 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8138 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8139 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'
8141 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'
8143 aix_use_runtimelinking
=no
8145 # Test if we are trying to use run time linking or normal
8146 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8147 # need to do runtime linking.
8148 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8149 for ld_flag
in $LDFLAGS; do
8150 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8151 aix_use_runtimelinking
=yes
8157 exp_sym_flag
='-bexport'
8158 no_entry_flag
='-bnoentry'
8161 # When large executables or shared objects are built, AIX ld can
8162 # have problems creating the table of contents. If linking a library
8163 # or program results in "error TOC overflow" add -mminimal-toc to
8164 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8165 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8169 hardcode_libdir_separator
=':'
8170 link_all_deplibs
=yes
8172 if test "$GCC" = yes; then
8173 case $host_os in aix4.
[012]|aix4.
[012].
*)
8174 # We only want to do this on AIX 4.2 and lower, the check
8175 # below for broken collect2 doesn't work under 4.3+
8176 collect2name
=`${CC} -print-prog-name=collect2`
8177 if test -f "$collect2name" && \
8178 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8180 # We have reworked collect2
8183 # We have old collect2
8184 hardcode_direct
=unsupported
8185 # It fails to find uninstalled libraries when the uninstalled
8186 # path is not listed in the libpath. Setting hardcode_minus_L
8187 # to unsupported forces relinking
8188 hardcode_minus_L
=yes
8189 hardcode_libdir_flag_spec
='-L$libdir'
8190 hardcode_libdir_separator
=
8193 shared_flag
='-shared'
8194 if test "$aix_use_runtimelinking" = yes; then
8195 shared_flag
="$shared_flag "'${wl}-G'
8199 if test "$host_cpu" = ia64
; then
8200 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8201 # chokes on -Wl,-G. The following line is correct:
8204 if test "$aix_use_runtimelinking" = yes; then
8205 shared_flag
='${wl}-G'
8207 shared_flag
='${wl}-bM:SRE'
8212 # It seems that -bexpall does not export symbols beginning with
8213 # underscore (_), so it is better to generate a list of symbols to export.
8214 always_export_symbols
=yes
8215 if test "$aix_use_runtimelinking" = yes; then
8216 # Warning - without using the other runtime loading flags (-brtl),
8217 # -berok will link without error, but may produce a broken library.
8218 allow_undefined_flag
='-berok'
8219 # Determine the default libpath from the value encoded in an empty executable.
8220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8221 /* end confdefs.h. */
8231 if ac_fn_c_try_link
"$LINENO"; then :
8233 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8235 # Check for a 64-bit object if we didn't find anything.
8236 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8239 rm -f core conftest.err conftest.
$ac_objext \
8240 conftest
$ac_exeext conftest.
$ac_ext
8241 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8243 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8244 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8246 if test "$host_cpu" = ia64; then
8247 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
8248 allow_undefined_flag="-z nodefs"
8249 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
8251 # Determine the default libpath from the value encoded in an empty executable.
8252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8253 /* end confdefs.h. */
8263 if ac_fn_c_try_link "$LINENO"; then :
8265 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8267 # Check for a 64-bit object if we didn't find anything.
8268 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8271 rm -f core conftest.err conftest.$ac_objext \
8272 conftest$ac_exeext conftest.$ac_ext
8273 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
8275 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8276 # Warning - without using the other run time loading flags,
8277 # -berok will link without error, but may produce a broken library.
8278 no_undefined_flag=' ${wl}-bernotok'
8279 allow_undefined_flag=' ${wl}-berok'
8280 # -bexpall does not export symbols beginning with underscore (_)
8281 always_export_symbols=yes
8282 # Exported symbols can be pulled into shared objects from archives
8283 whole_archive_flag_spec=' '
8284 archive_cmds_need_lc=yes
8285 # This is similar to how AIX traditionally builds it's shared libraries.
8286 archive_expsym_cmds="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8292 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)'
8293 hardcode_libdir_flag_spec
='-L$libdir'
8294 hardcode_minus_L
=yes
8295 # see comment about different semantics on the GNU ld section
8300 export_dynamic_flag_spec
=-rdynamic
8303 cygwin
* | mingw
* | pw32
*)
8304 # When not using gcc, we currently assume that we are using
8305 # Microsoft Visual C++.
8306 # hardcode_libdir_flag_spec is actually meaningless, as there is
8307 # no search path for DLLs.
8308 hardcode_libdir_flag_spec
=' '
8309 allow_undefined_flag
=unsupported
8310 # Tell ltmain to make .lib files, not .a files.
8312 # Tell ltmain to make .dll files, not .so files.
8314 # FIXME: Setting linknames here is a bad hack.
8315 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8316 # The linker will automatically build a .lib file if we build a DLL.
8317 old_archive_From_new_cmds
='true'
8318 # FIXME: Should let the user specify the lib program.
8319 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8320 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8321 enable_shared_with_static_runtimes
=yes
8324 darwin
* | rhapsody
*)
8326 rhapsody
* | darwin1.
[012])
8327 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8330 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8331 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8333 case ${MACOSX_DEPLOYMENT_TARGET} in
8335 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8338 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8344 archive_cmds_need_lc
=no
8346 hardcode_automatic
=yes
8347 hardcode_shlibpath_var
=unsupported
8348 whole_archive_flag_spec
=''
8349 link_all_deplibs
=yes
8350 if test "$GCC" = yes ; then
8351 output_verbose_link_cmd
='echo'
8352 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8353 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8354 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8355 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8356 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}'
8358 case $cc_basename in
8360 output_verbose_link_cmd
='echo'
8361 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8362 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8363 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8364 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8365 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}'
8375 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8376 hardcode_libdir_flag_spec
='-L$libdir'
8377 hardcode_shlibpath_var
=no
8384 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8385 # support. Future versions do this automatically, but an explicit c++rt0.o
8386 # does not break anything, and helps significantly (at the cost of a little
8389 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8390 hardcode_libdir_flag_spec
='-R$libdir'
8392 hardcode_shlibpath_var
=no
8395 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8397 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8399 hardcode_minus_L
=yes
8400 hardcode_shlibpath_var
=no
8403 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8404 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8405 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8406 hardcode_libdir_flag_spec
='-R$libdir'
8408 hardcode_shlibpath_var
=no
8412 if test "$GCC" = yes; then
8413 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'
8415 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'
8417 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8418 hardcode_libdir_separator
=:
8421 # hardcode_minus_L: Not really in the search PATH,
8422 # but as the default location of the library.
8423 hardcode_minus_L
=yes
8424 export_dynamic_flag_spec
='${wl}-E'
8428 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8431 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8434 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8440 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
8443 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8447 if test "$with_gnu_ld" = no
; then
8450 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8451 hardcode_libdir_flag_spec_ld
='+b $libdir'
8452 hardcode_libdir_separator
=:
8454 hardcode_shlibpath_var
=no
8457 hardcode_libdir_flag_spec
='-L$libdir'
8459 hardcode_shlibpath_var
=no
8461 # hardcode_minus_L: Not really in the search PATH,
8462 # but as the default location of the library.
8463 hardcode_minus_L
=yes
8466 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8467 hardcode_libdir_separator
=:
8469 export_dynamic_flag_spec
='${wl}-E'
8471 # hardcode_minus_L: Not really in the search PATH,
8472 # but as the default location of the library.
8473 hardcode_minus_L
=yes
8479 irix5
* | irix6
* | nonstopux
*)
8480 if test "$GCC" = yes; then
8481 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'
8483 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'
8484 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8486 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8487 hardcode_libdir_separator
=:
8488 link_all_deplibs
=yes
8492 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8493 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8495 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8497 hardcode_libdir_flag_spec
='-R$libdir'
8499 hardcode_shlibpath_var
=no
8503 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8505 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8506 hardcode_libdir_separator
=:
8507 hardcode_shlibpath_var
=no
8512 hardcode_shlibpath_var
=no
8513 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8514 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8515 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8516 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8517 export_dynamic_flag_spec
='${wl}-E'
8520 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8521 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8522 hardcode_libdir_flag_spec
='-R$libdir'
8525 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8526 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8533 hardcode_libdir_flag_spec
='-L$libdir'
8534 hardcode_minus_L
=yes
8535 allow_undefined_flag
=unsupported
8536 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'
8537 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8541 if test "$GCC" = yes; then
8542 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8543 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'
8545 allow_undefined_flag
=' -expect_unresolved \*'
8546 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'
8548 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8549 hardcode_libdir_separator
=:
8552 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8553 if test "$GCC" = yes; then
8554 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8555 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'
8556 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8558 allow_undefined_flag
=' -expect_unresolved \*'
8559 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'
8560 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8561 $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'
8563 # Both c and cxx compiler support -rpath directly
8564 hardcode_libdir_flag_spec
='-rpath $libdir'
8566 hardcode_libdir_separator
=:
8570 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8571 hardcode_shlibpath_var
=no
8572 export_dynamic_flag_spec
='${wl}-Bexport'
8573 runpath_var
=LD_RUN_PATH
8574 hardcode_runpath_var
=yes
8578 no_undefined_flag
=' -z text'
8579 if test "$GCC" = yes; then
8581 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8582 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8583 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8586 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8587 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8588 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8590 hardcode_libdir_flag_spec
='-R$libdir'
8591 hardcode_shlibpath_var
=no
8593 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8595 # The compiler driver will combine linker options so we
8596 # cannot just pass the convience library names through
8597 # without $wl, iff we do not link with $LD.
8598 # Luckily, gcc supports the same syntax we need for Sun Studio.
8599 # Supported since Solaris 2.6 (maybe 2.5.1?)
8602 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8604 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8607 link_all_deplibs
=yes
8611 if test "x$host_vendor" = xsequent
; then
8612 # Use $CC to link under sequent, because it throws in some extra .o
8613 # files that make .init and .fini sections work.
8614 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8616 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8618 hardcode_libdir_flag_spec
='-L$libdir'
8620 hardcode_minus_L
=yes
8621 hardcode_shlibpath_var
=no
8625 case $host_vendor in
8627 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8628 hardcode_direct
=yes # is this really true???
8631 ## LD is ld it makes a PLAMLIB
8632 ## CC just makes a GrossModule.
8633 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8634 reload_cmds
='$CC -r -o $output$reload_objs'
8638 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8639 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8642 runpath_var
='LD_RUN_PATH'
8643 hardcode_shlibpath_var
=no
8647 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8648 hardcode_shlibpath_var
=no
8649 export_dynamic_flag_spec
='-Bexport'
8653 if test -d /usr
/nec
; then
8654 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8655 hardcode_shlibpath_var
=no
8656 runpath_var
=LD_RUN_PATH
8657 hardcode_runpath_var
=yes
8663 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8666 hardcode_shlibpath_var
=no
8667 hardcode_runpath_var
=yes
8668 runpath_var
=LD_RUN_PATH
8671 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
8672 no_undefined_flag
='${wl}-z ${wl}text'
8673 if test "$GCC" = yes; then
8674 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8676 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8678 runpath_var
='LD_RUN_PATH'
8679 hardcode_shlibpath_var
=no
8683 no_undefined_flag
=' -z text'
8684 # $CC -shared without GNU ld will not create a library from C++
8685 # object files and a static libstdc++, better avoid it by now
8686 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8687 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8688 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8689 hardcode_libdir_flag_spec
=
8690 hardcode_shlibpath_var
=no
8691 runpath_var
='LD_RUN_PATH'
8695 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8696 hardcode_libdir_flag_spec
='-L$libdir'
8697 hardcode_shlibpath_var
=no
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8707 $as_echo "$ld_shlibs" >&6; }
8708 test "$ld_shlibs" = no
&& can_build_shared
=no
8710 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
8711 if test "$GCC" = yes; then
8712 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8716 # Do we need to explicitly link libc?
8718 case "x$archive_cmds_need_lc" in
8720 # Assume -lc should be added
8721 archive_cmds_need_lc
=yes
8723 if test "$enable_shared" = yes && test "$GCC" = yes; then
8724 case $archive_cmds in
8726 # FIXME: we may have to deal with multi-command sequences.
8729 # Test whether the compiler implicitly links with -lc since on some
8730 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8731 # to ld, don't add -lc before -lgcc.
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8733 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8735 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8737 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8738 (eval $ac_compile) 2>&5
8740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8741 test $ac_status = 0; } 2>conftest.err
; then
8744 libobjs
=conftest.
$ac_objext
8746 wl
=$lt_prog_compiler_wl
8752 lt_save_allow_undefined_flag
=$allow_undefined_flag
8753 allow_undefined_flag
=
8754 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8755 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8758 test $ac_status = 0; }
8760 archive_cmds_need_lc
=no
8762 archive_cmds_need_lc
=yes
8764 allow_undefined_flag
=$lt_save_allow_undefined_flag
8766 cat conftest.err
1>&5
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8770 $as_echo "$archive_cmds_need_lc" >&6; }
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8778 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8780 libname_spec
='lib$name'
8788 shlibpath_overrides_runpath
=unknown
8790 dynamic_linker
="$host_os ld.so"
8791 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8792 if test "$GCC" = yes; then
8793 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8794 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8795 # if the path contains ";" then we assume it to be the separator
8796 # otherwise default to the standard path separator (i.e. ":") - it is
8797 # assumed that no part of a normal pathname contains ";" but that should
8798 # okay in the real world where ";" in dirpaths is itself problematic.
8799 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8801 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8804 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8806 need_lib_prefix
=unknown
8807 hardcode_into_libs
=no
8809 # when you set need_version to no, make sure it does not cause -set_version
8810 # flags to be left without arguments
8811 need_version
=unknown
8816 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8817 shlibpath_var
=LIBPATH
8819 # AIX 3 has no versioning support, so we append a major version to the name.
8820 soname_spec
='${libname}${release}${shared_ext}$major'
8827 hardcode_into_libs
=yes
8828 if test "$host_cpu" = ia64
; then
8829 # AIX 5 supports IA64
8830 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8831 shlibpath_var
=LD_LIBRARY_PATH
8833 # With GCC up to 2.95.x, collect2 would create an import file
8834 # for dependence libraries. The import file would start with
8835 # the line `#! .'. This would cause the generated library to
8836 # depend on `.', always an invalid library. This was fixed in
8837 # development snapshots of GCC prior to 3.0.
8839 aix4 | aix4.
[01] | aix4.
[01].
*)
8840 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8842 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8849 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8850 # soname into executable. Probably we can add versioning support to
8851 # collect2, so additional links can be useful in future.
8852 if test "$aix_use_runtimelinking" = yes; then
8853 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8854 # instead of lib<name>.a to let people know that these are not
8855 # typical AIX shared libraries.
8856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8858 # We preserve .a as extension for shared libraries through AIX4.2
8859 # and later when we are not doing run time linking.
8860 library_names_spec
='${libname}${release}.a $libname.a'
8861 soname_spec
='${libname}${release}${shared_ext}$major'
8863 shlibpath_var
=LIBPATH
8868 library_names_spec
='$libname.ixlibrary $libname.a'
8869 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8870 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'
8874 library_names_spec
='${libname}${shared_ext}'
8875 dynamic_linker
="$host_os ld.so"
8876 shlibpath_var
=LIBRARY_PATH
8882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8883 soname_spec
='${libname}${release}${shared_ext}$major'
8884 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8885 shlibpath_var
=LD_LIBRARY_PATH
8886 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8887 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8888 # the default ld.so.conf also contains /usr/contrib/lib and
8889 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8890 # libtool to hard-code these into programs
8893 cygwin
* | mingw
* | pw32
*)
8894 version_type
=windows
8899 case $GCC,$host_os in
8900 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8901 library_names_spec
='$libname.dll.a'
8902 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8903 postinstall_cmds
='base_file=`basename \${file}`~
8904 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8905 dldir=$destdir/`dirname \$dlpath`~
8906 test -d \$dldir || mkdir -p \$dldir~
8907 $install_prog $dir/$dlname \$dldir/$dlname'
8908 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8909 dlpath=$dir/\$dldll~
8911 shlibpath_overrides_runpath
=yes
8915 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8916 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8917 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8920 # MinGW DLLs use traditional 'lib' prefix
8921 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8922 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8923 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8924 # It is most probably a Windows format PATH printed by
8925 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8926 # path with ; separators, and with drive letters. We can handle the
8927 # drive letters (cygwin fileutils understands them), so leave them,
8928 # especially as we might pass files found there to a mingw objdump,
8929 # which wouldn't understand a cygwinified path. Ahh.
8930 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8932 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8936 # pw32 DLLs use 'pw' prefix rather than 'lib'
8937 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8943 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8946 dynamic_linker
='Win32 ld.exe'
8947 # FIXME: first we should search . and the directory the executable is in
8951 darwin
* | rhapsody
*)
8952 dynamic_linker
="$host_os dyld"
8956 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8957 soname_spec
='${libname}${release}${major}$shared_ext'
8958 shlibpath_overrides_runpath
=yes
8959 shlibpath_var
=DYLD_LIBRARY_PATH
8960 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
8961 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8962 if test "$GCC" = yes; then
8963 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8965 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
8967 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8975 soname_spec
='${libname}${release}${shared_ext}$major'
8976 shlibpath_var
=LD_LIBRARY_PATH
8987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8988 soname_spec
='${libname}${release}${shared_ext}$major'
8989 shlibpath_var
=LD_LIBRARY_PATH
8990 shlibpath_overrides_runpath
=no
8991 hardcode_into_libs
=yes
8992 dynamic_linker
='GNU ld.so'
8995 freebsd
* | dragonfly
*)
8996 # DragonFly does not have aout. When/if they implement a new
8997 # versioning mechanism, adjust this.
8998 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
8999 version_type
=freebsd-
$objformat
9000 case $version_type in
9002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9007 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9011 shlibpath_var
=LD_LIBRARY_PATH
9014 shlibpath_overrides_runpath
=yes
9016 freebsd3.
[01]* | freebsdelf3.
[01]*)
9017 shlibpath_overrides_runpath
=yes
9018 hardcode_into_libs
=yes
9021 shlibpath_overrides_runpath
=no
9022 hardcode_into_libs
=yes
9031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9032 soname_spec
='${libname}${release}${shared_ext}$major'
9033 shlibpath_var
=LD_LIBRARY_PATH
9034 hardcode_into_libs
=yes
9037 hpux9
* | hpux10
* | hpux11
*)
9038 # Give a soname corresponding to the major version so that dld.sl refuses to
9039 # link against other versions.
9046 hardcode_into_libs
=yes
9047 dynamic_linker
="$host_os dld.so"
9048 shlibpath_var
=LD_LIBRARY_PATH
9049 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9051 soname_spec
='${libname}${release}${shared_ext}$major'
9052 if test "X$HPUX_IA64_MODE" = X32
; then
9053 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9055 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9057 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9061 hardcode_into_libs
=yes
9062 dynamic_linker
="$host_os dld.sl"
9063 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9064 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9066 soname_spec
='${libname}${release}${shared_ext}$major'
9067 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9068 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9072 dynamic_linker
="$host_os dld.sl"
9073 shlibpath_var
=SHLIB_PATH
9074 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9076 soname_spec
='${libname}${release}${shared_ext}$major'
9079 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9080 postinstall_cmds
='chmod 555 $lib'
9083 irix5
* | irix6
* | nonstopux
*)
9085 nonstopux
*) version_type
=nonstopux
;;
9087 if test "$lt_cv_prog_gnu_ld" = yes; then
9095 soname_spec
='${libname}${release}${shared_ext}$major'
9096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9098 irix5
* | nonstopux
*)
9102 case $LD in # libtool.m4 will add one of these switches to LD
9103 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9104 libsuff
= shlibsuff
= libmagic
=32-bit;;
9105 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9106 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9107 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9108 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9109 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9113 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9114 shlibpath_overrides_runpath
=no
9115 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9116 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9117 hardcode_into_libs
=yes
9120 # No shared lib support for Linux oldld, aout, or coff.
9121 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9125 # This must be Linux ELF.
9130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9131 soname_spec
='${libname}${release}${shared_ext}$major'
9132 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9133 shlibpath_var
=LD_LIBRARY_PATH
9134 shlibpath_overrides_runpath
=no
9135 # This implies no fast_install, which is unacceptable.
9136 # Some rework will be needed to allow for fast_install
9137 # before this can be enabled.
9138 hardcode_into_libs
=yes
9140 # find out which ABI we are using
9143 x86_64
*|s390x
*|powerpc64
*)
9144 echo '#line 9144 "configure"' > conftest.
$ac_ext
9145 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9146 (eval $ac_compile) 2>&5
9148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9149 test $ac_status = 0; }; then
9150 case `/usr/bin/file conftest.$ac_objext` in
9153 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9161 # Append ld.so.conf contents to the search path
9162 if test -f /etc
/ld.so.conf
; then
9163 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9164 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9167 # We used to test for /lib/ld.so.1 and disable shared libraries on
9168 # powerpc, because MkLinux only supported shared libraries with the
9169 # GNU dynamic linker. Since this was broken with cross compilers,
9170 # most powerpc-linux boxes support dynamic linking these days and
9171 # people can always --disable-shared, the test was removed, and we
9172 # assume the GNU/Linux dynamic linker is in use.
9173 dynamic_linker
='GNU/Linux ld.so'
9180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9181 soname_spec
='${libname}${release}${shared_ext}$major'
9182 shlibpath_var
=LD_LIBRARY_PATH
9183 shlibpath_overrides_runpath
=no
9184 hardcode_into_libs
=yes
9185 dynamic_linker
='GNU ld.so'
9192 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9194 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9195 dynamic_linker
='NetBSD (a.out) ld.so'
9197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9198 soname_spec
='${libname}${release}${shared_ext}$major'
9199 dynamic_linker
='NetBSD ld.elf_so'
9201 shlibpath_var
=LD_LIBRARY_PATH
9202 shlibpath_overrides_runpath
=yes
9203 hardcode_into_libs
=yes
9208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9209 shlibpath_var
=LD_LIBRARY_PATH
9210 shlibpath_overrides_runpath
=yes
9217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9218 soname_spec
='${libname}${release}${shared_ext}$major'
9219 shlibpath_var
=LD_LIBRARY_PATH
9220 shlibpath_overrides_runpath
=yes
9227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9228 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9229 shlibpath_var
=LD_LIBRARY_PATH
9230 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9232 openbsd2.
[89] | openbsd2.
[89].
*)
9233 shlibpath_overrides_runpath
=no
9236 shlibpath_overrides_runpath
=yes
9240 shlibpath_overrides_runpath
=yes
9245 libname_spec
='$name'
9248 library_names_spec
='$libname${shared_ext} $libname.a'
9249 dynamic_linker
='OS/2 ld.exe'
9250 shlibpath_var
=LIBPATH
9253 osf3
* | osf4
* | osf5
*)
9257 soname_spec
='${libname}${release}${shared_ext}$major'
9258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9259 shlibpath_var
=LD_LIBRARY_PATH
9260 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9261 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9266 soname_spec
='${libname}${release}${shared_ext}$major'
9267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9268 shlibpath_var
=LD_LIBRARY_PATH
9275 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9276 soname_spec
='${libname}${release}${shared_ext}$major'
9277 shlibpath_var
=LD_LIBRARY_PATH
9278 shlibpath_overrides_runpath
=yes
9279 hardcode_into_libs
=yes
9280 # ldd complains unless libraries are executable
9281 postinstall_cmds
='chmod +x $lib'
9286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9287 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9288 shlibpath_var
=LD_LIBRARY_PATH
9289 shlibpath_overrides_runpath
=yes
9290 if test "$with_gnu_ld" = yes; then
9296 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9299 soname_spec
='${libname}${release}${shared_ext}$major'
9300 shlibpath_var
=LD_LIBRARY_PATH
9301 case $host_vendor in
9303 shlibpath_overrides_runpath
=no
9305 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9306 runpath_var
=LD_RUN_PATH
9314 shlibpath_overrides_runpath
=no
9315 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9321 if test -d /usr
/nec
;then
9323 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9324 soname_spec
='$libname${shared_ext}.$major'
9325 shlibpath_var
=LD_LIBRARY_PATH
9331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9332 soname_spec
='${libname}${release}${shared_ext}$major'
9333 shlibpath_var
=LD_LIBRARY_PATH
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9341 $as_echo "$dynamic_linker" >&6; }
9342 test "$dynamic_linker" = no
&& can_build_shared
=no
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9345 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9347 if test -n "$hardcode_libdir_flag_spec" || \
9348 test -n "$runpath_var" || \
9349 test "X$hardcode_automatic" = "Xyes" ; then
9351 # We can hardcode non-existant directories.
9352 if test "$hardcode_direct" != no
&&
9353 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9354 # have to relink, otherwise we might link with an installed library
9355 # when we should be linking with a yet-to-be-installed one
9356 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9357 test "$hardcode_minus_L" != no
; then
9358 # Linking always hardcodes the temporary library directory.
9359 hardcode_action
=relink
9361 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9362 hardcode_action
=immediate
9365 # We cannot hardcode anything, or else we can only hardcode existing
9367 hardcode_action
=unsupported
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9370 $as_echo "$hardcode_action" >&6; }
9372 if test "$hardcode_action" = relink
; then
9373 # Fast installation is not supported
9374 enable_fast_install
=no
9375 elif test "$shlibpath_overrides_runpath" = yes ||
9376 test "$enable_shared" = no
; then
9377 # Fast installation is not necessary
9378 enable_fast_install
=needless
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9384 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9385 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9386 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9387 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9389 $as_echo "yes" >&6; }
9391 # FIXME - insert some real tests, host_os isn't really good enough
9394 if test -n "$STRIP" ; then
9395 striplib
="$STRIP -x"
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9397 $as_echo "yes" >&6; }
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9400 $as_echo "no" >&6; }
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9405 $as_echo "no" >&6; }
9410 if test "x$enable_dlopen" != xyes
; then
9411 enable_dlopen
=unknown
9412 enable_dlopen_self
=unknown
9413 enable_dlopen_self_static
=unknown
9420 lt_cv_dlopen
="load_add_on"
9422 lt_cv_dlopen_self
=yes
9426 lt_cv_dlopen
="LoadLibrary"
9431 lt_cv_dlopen
="dlopen"
9436 # if libdl is installed we need to link against it
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9438 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9439 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9440 $as_echo_n "(cached) " >&6
9442 ac_check_lib_save_LIBS
=$LIBS
9444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h. */
9447 /* Override any GCC internal prototype to avoid an error.
9448 Use char because int might match the return type of a GCC
9449 builtin and then its argument prototype would still apply. */
9462 if ac_fn_c_try_link
"$LINENO"; then :
9463 ac_cv_lib_dl_dlopen
=yes
9465 ac_cv_lib_dl_dlopen
=no
9467 rm -f core conftest.err conftest.
$ac_objext \
9468 conftest
$ac_exeext conftest.
$ac_ext
9469 LIBS
=$ac_check_lib_save_LIBS
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9472 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9473 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9474 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9479 lt_cv_dlopen_self
=yes
9486 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9487 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9488 lt_cv_dlopen
="shl_load"
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9491 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9492 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9493 $as_echo_n "(cached) " >&6
9495 ac_check_lib_save_LIBS
=$LIBS
9497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9500 /* Override any GCC internal prototype to avoid an error.
9501 Use char because int might match the return type of a GCC
9502 builtin and then its argument prototype would still apply. */
9515 if ac_fn_c_try_link
"$LINENO"; then :
9516 ac_cv_lib_dld_shl_load
=yes
9518 ac_cv_lib_dld_shl_load
=no
9520 rm -f core conftest.err conftest.
$ac_objext \
9521 conftest
$ac_exeext conftest.
$ac_ext
9522 LIBS
=$ac_check_lib_save_LIBS
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9525 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9526 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9527 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9529 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9530 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9531 lt_cv_dlopen
="dlopen"
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9534 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9535 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9536 $as_echo_n "(cached) " >&6
9538 ac_check_lib_save_LIBS
=$LIBS
9540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9543 /* Override any GCC internal prototype to avoid an error.
9544 Use char because int might match the return type of a GCC
9545 builtin and then its argument prototype would still apply. */
9558 if ac_fn_c_try_link
"$LINENO"; then :
9559 ac_cv_lib_dl_dlopen
=yes
9561 ac_cv_lib_dl_dlopen
=no
9563 rm -f core conftest.err conftest.
$ac_objext \
9564 conftest
$ac_exeext conftest.
$ac_ext
9565 LIBS
=$ac_check_lib_save_LIBS
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9568 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9569 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9570 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9573 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9574 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9575 $as_echo_n "(cached) " >&6
9577 ac_check_lib_save_LIBS
=$LIBS
9579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9580 /* end confdefs.h. */
9582 /* Override any GCC internal prototype to avoid an error.
9583 Use char because int might match the return type of a GCC
9584 builtin and then its argument prototype would still apply. */
9597 if ac_fn_c_try_link
"$LINENO"; then :
9598 ac_cv_lib_svld_dlopen
=yes
9600 ac_cv_lib_svld_dlopen
=no
9602 rm -f core conftest.err conftest.
$ac_objext \
9603 conftest
$ac_exeext conftest.
$ac_ext
9604 LIBS
=$ac_check_lib_save_LIBS
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9607 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9608 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9609 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9612 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9613 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9614 $as_echo_n "(cached) " >&6
9616 ac_check_lib_save_LIBS
=$LIBS
9618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9619 /* end confdefs.h. */
9621 /* Override any GCC internal prototype to avoid an error.
9622 Use char because int might match the return type of a GCC
9623 builtin and then its argument prototype would still apply. */
9636 if ac_fn_c_try_link
"$LINENO"; then :
9637 ac_cv_lib_dld_dld_link
=yes
9639 ac_cv_lib_dld_dld_link
=no
9641 rm -f core conftest.err conftest.
$ac_objext \
9642 conftest
$ac_exeext conftest.
$ac_ext
9643 LIBS
=$ac_check_lib_save_LIBS
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9646 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9647 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9648 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9669 if test "x$lt_cv_dlopen" != xno
; then
9675 case $lt_cv_dlopen in
9677 save_CPPFLAGS
="$CPPFLAGS"
9678 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9680 save_LDFLAGS
="$LDFLAGS"
9681 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9684 LIBS
="$lt_cv_dlopen_libs $LIBS"
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9687 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9688 if test "${lt_cv_dlopen_self+set}" = set; then :
9689 $as_echo_n "(cached) " >&6
9691 if test "$cross_compiling" = yes; then :
9692 lt_cv_dlopen_self
=cross
9694 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9695 lt_status
=$lt_dlunknown
9696 cat > conftest.
$ac_ext <<EOF
9697 #line 9697 "configure"
9698 #include "confdefs.h"
9707 # define LT_DLGLOBAL RTLD_GLOBAL
9710 # define LT_DLGLOBAL DL_GLOBAL
9712 # define LT_DLGLOBAL 0
9716 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9717 find out it does not work in some platform. */
9718 #ifndef LT_DLLAZY_OR_NOW
9720 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9723 # define LT_DLLAZY_OR_NOW DL_LAZY
9726 # define LT_DLLAZY_OR_NOW RTLD_NOW
9729 # define LT_DLLAZY_OR_NOW DL_NOW
9731 # define LT_DLLAZY_OR_NOW 0
9739 extern "C" void exit (int);
9742 void fnord() { int i=42;}
9745 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9746 int status = $lt_dlunknown;
9750 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9751 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9752 /* dlclose (self); */
9758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9759 (eval $ac_link) 2>&5
9761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9762 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9763 (.
/conftest
; exit; ) 2>/dev
/null
9766 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9767 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9768 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
9771 # compilation failed
9772 lt_cv_dlopen_self
=no
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9780 $as_echo "$lt_cv_dlopen_self" >&6; }
9782 if test "x$lt_cv_dlopen_self" = xyes
; then
9783 LDFLAGS
="$LDFLAGS $link_static_flag"
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9785 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9786 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9787 $as_echo_n "(cached) " >&6
9789 if test "$cross_compiling" = yes; then :
9790 lt_cv_dlopen_self_static
=cross
9792 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9793 lt_status
=$lt_dlunknown
9794 cat > conftest.
$ac_ext <<EOF
9795 #line 9795 "configure"
9796 #include "confdefs.h"
9805 # define LT_DLGLOBAL RTLD_GLOBAL
9808 # define LT_DLGLOBAL DL_GLOBAL
9810 # define LT_DLGLOBAL 0
9814 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9815 find out it does not work in some platform. */
9816 #ifndef LT_DLLAZY_OR_NOW
9818 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9821 # define LT_DLLAZY_OR_NOW DL_LAZY
9824 # define LT_DLLAZY_OR_NOW RTLD_NOW
9827 # define LT_DLLAZY_OR_NOW DL_NOW
9829 # define LT_DLLAZY_OR_NOW 0
9837 extern "C" void exit (int);
9840 void fnord() { int i=42;}
9843 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9844 int status = $lt_dlunknown;
9848 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9849 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9850 /* dlclose (self); */
9856 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9857 (eval $ac_link) 2>&5
9859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9860 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9861 (.
/conftest
; exit; ) 2>/dev
/null
9864 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9865 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9866 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
9869 # compilation failed
9870 lt_cv_dlopen_self_static
=no
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9878 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9881 CPPFLAGS
="$save_CPPFLAGS"
9882 LDFLAGS
="$save_LDFLAGS"
9887 case $lt_cv_dlopen_self in
9888 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9889 *) enable_dlopen_self
=unknown
;;
9892 case $lt_cv_dlopen_self_static in
9893 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9894 *) enable_dlopen_self_static
=unknown
;;
9899 # Report which librarie types wil actually be built
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9901 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9903 $as_echo "$can_build_shared" >&6; }
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9906 $as_echo_n "checking whether to build shared libraries... " >&6; }
9907 test "$can_build_shared" = "no" && enable_shared
=no
9909 # On AIX, shared libraries and static libraries use the same namespace, and
9910 # are all built from PIC.
9913 test "$enable_shared" = yes && enable_static
=no
9914 if test -n "$RANLIB"; then
9915 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9916 postinstall_cmds
='$RANLIB $lib'
9921 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9922 test "$enable_shared" = yes && enable_static
=no
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9927 $as_echo "$enable_shared" >&6; }
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9930 $as_echo_n "checking whether to build static libraries... " >&6; }
9931 # Make sure either enable_shared or enable_static is yes.
9932 test "$enable_shared" = yes || enable_static
=yes
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9934 $as_echo "$enable_static" >&6; }
9936 # The else clause should only fire when bootstrapping the
9937 # libtool distribution, otherwise you forgot to ship ltmain.sh
9938 # with your package, and you will get complaints that there are
9939 # no rules to generate ltmain.sh.
9940 if test -f "$ltmain"; then
9941 # See if we are running on zsh, and set the options which allow our commands through
9942 # without removal of \ escapes.
9943 if test -n "${ZSH_VERSION+set}" ; then
9944 setopt NO_GLOB_SUBST
9946 # Now quote all the things that may contain metacharacters while being
9947 # careful not to overquote the AC_SUBSTed values. We take copies of the
9948 # variables and quote the copies for generation of the libtool script.
9949 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
9951 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9952 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9953 deplibs_check_method reload_flag reload_cmds need_locks \
9954 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9955 lt_cv_sys_global_symbol_to_c_name_address \
9956 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9957 old_postinstall_cmds old_postuninstall_cmds \
9961 lt_prog_compiler_wl \
9962 lt_prog_compiler_pic \
9963 lt_prog_compiler_static \
9964 lt_prog_compiler_no_builtin_flag \
9965 export_dynamic_flag_spec \
9966 thread_safe_flag_spec \
9967 whole_archive_flag_spec \
9968 enable_shared_with_static_runtimes \
9970 old_archive_from_new_cmds \
9975 compiler_lib_search_path \
9977 archive_expsym_cmds \
9979 postuninstall_cmds \
9980 old_archive_from_expsyms_cmds \
9981 allow_undefined_flag \
9983 export_symbols_cmds \
9984 hardcode_libdir_flag_spec \
9985 hardcode_libdir_flag_spec_ld \
9986 hardcode_libdir_separator \
9987 hardcode_automatic \
9989 module_expsym_cmds \
9990 lt_cv_prog_compiler_c_o \
9995 old_archive_cmds | \
9996 old_archive_from_new_cmds | \
9998 archive_expsym_cmds | \
10000 module_expsym_cmds | \
10001 old_archive_from_expsyms_cmds | \
10002 export_symbols_cmds | \
10003 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10004 postinstall_cmds | postuninstall_cmds | \
10005 old_postinstall_cmds | old_postuninstall_cmds | \
10006 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
10007 # Double-quote double-evaled strings.
10008 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10011 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10017 *'\$0 --fallback-echo"')
10018 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10022 cfgfile
="${ofile}T"
10023 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
10026 $as_echo "$as_me: creating $ofile" >&6;}
10028 cat <<__EOF__ >> "$cfgfile"
10031 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10032 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10033 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10035 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10036 # Free Software Foundation, Inc.
10038 # This file is part of GNU Libtool:
10039 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10041 # This program is free software; you can redistribute it and/or modify
10042 # it under the terms of the GNU General Public License as published by
10043 # the Free Software Foundation; either version 2 of the License, or
10044 # (at your option) any later version.
10046 # This program is distributed in the hope that it will be useful, but
10047 # WITHOUT ANY WARRANTY; without even the implied warranty of
10048 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10049 # General Public License for more details.
10051 # You should have received a copy of the GNU General Public License
10052 # along with this program; if not, write to the Free Software
10053 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10055 # As a special exception to the GNU General Public License, if you
10056 # distribute this file as part of a program that contains a
10057 # configuration script generated by Autoconf, you may include it under
10058 # the same distribution terms that you use for the rest of that program.
10060 # A sed program that does not truncate output.
10063 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10064 Xsed="$SED -e 1s/^X//"
10066 # The HP-UX ksh and POSIX shell print the target directory to stdout
10067 # if CDPATH is set.
10068 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10070 # The names of the tagged configurations supported by this script.
10073 # ### BEGIN LIBTOOL CONFIG
10075 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10077 # Shell to use when invoking shell scripts.
10080 # Whether or not to build shared libraries.
10081 build_libtool_libs=$enable_shared
10083 # Whether or not to build static libraries.
10084 build_old_libs=$enable_static
10086 # Whether or not to add -lc for building shared libraries.
10087 build_libtool_need_lc=$archive_cmds_need_lc
10089 # Whether or not to disallow shared libs when runtime libs are static
10090 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10092 # Whether or not to optimize for fast installation.
10093 fast_install=$enable_fast_install
10096 host_alias=$host_alias
10100 # The build system.
10101 build_alias=$build_alias
10105 # An echo program that does not interpret backslashes.
10110 AR_FLAGS=$lt_AR_FLAGS
10115 # A language-specific compiler.
10118 # Is the compiler the GNU C compiler?
10124 # The linker used to build libraries.
10127 # Whether we need hard or soft links.
10130 # A BSD-compatible nm program.
10133 # A symbol stripping program
10136 # Used to examine libraries when file_magic_cmd begins "file"
10137 MAGIC_CMD=$MAGIC_CMD
10139 # Used on cygwin: DLL creation program.
10142 # Used on cygwin: object dumper.
10145 # Used on cygwin: assembler.
10148 # The name of the directory that contains temporary libtool files.
10151 # How to create reloadable object files.
10152 reload_flag=$lt_reload_flag
10153 reload_cmds=$lt_reload_cmds
10155 # How to pass a linker flag through the compiler.
10156 wl=$lt_lt_prog_compiler_wl
10158 # Object file suffix (normally "o").
10159 objext="$ac_objext"
10161 # Old archive suffix (normally "a").
10164 # Shared library suffix (normally ".so").
10165 shrext_cmds='$shrext_cmds'
10167 # Executable file suffix (normally "").
10170 # Additional compiler flags for building library objects.
10171 pic_flag=$lt_lt_prog_compiler_pic
10174 # What is the maximum length of a command?
10175 max_cmd_len=$lt_cv_sys_max_cmd_len
10177 # Does compiler simultaneously support -c and -o options?
10178 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10180 # Must we lock files when doing compilation?
10181 need_locks=$lt_need_locks
10183 # Do we need the lib prefix for modules?
10184 need_lib_prefix=$need_lib_prefix
10186 # Do we need a version for libraries?
10187 need_version=$need_version
10189 # Whether dlopen is supported.
10190 dlopen_support=$enable_dlopen
10192 # Whether dlopen of programs is supported.
10193 dlopen_self=$enable_dlopen_self
10195 # Whether dlopen of statically linked programs is supported.
10196 dlopen_self_static=$enable_dlopen_self_static
10198 # Compiler flag to prevent dynamic linking.
10199 link_static_flag=$lt_lt_prog_compiler_static
10201 # Compiler flag to turn off builtin functions.
10202 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10204 # Compiler flag to allow reflexive dlopens.
10205 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10207 # Compiler flag to generate shared objects directly from archives.
10208 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10210 # Compiler flag to generate thread-safe objects.
10211 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10213 # Library versioning type.
10214 version_type=$version_type
10216 # Format of library name prefix.
10217 libname_spec=$lt_libname_spec
10219 # List of archive names. First name is the real one, the rest are links.
10220 # The last name is the one that the linker finds with -lNAME.
10221 library_names_spec=$lt_library_names_spec
10223 # The coded name of the library, if different from the real name.
10224 soname_spec=$lt_soname_spec
10226 # Commands used to build and install an old-style archive.
10228 old_archive_cmds=$lt_old_archive_cmds
10229 old_postinstall_cmds=$lt_old_postinstall_cmds
10230 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10232 # Create an old-style archive from a shared archive.
10233 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10235 # Create a temporary old-style archive to link instead of a shared archive.
10236 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10238 # Commands used to build and install a shared archive.
10239 archive_cmds=$lt_archive_cmds
10240 archive_expsym_cmds=$lt_archive_expsym_cmds
10241 postinstall_cmds=$lt_postinstall_cmds
10242 postuninstall_cmds=$lt_postuninstall_cmds
10244 # Commands used to build a loadable module (assumed same as above if empty)
10245 module_cmds=$lt_module_cmds
10246 module_expsym_cmds=$lt_module_expsym_cmds
10248 # Commands to strip libraries.
10249 old_striplib=$lt_old_striplib
10250 striplib=$lt_striplib
10252 # Dependencies to place before the objects being linked to create a
10254 predep_objects=$lt_predep_objects
10256 # Dependencies to place after the objects being linked to create a
10258 postdep_objects=$lt_postdep_objects
10260 # Dependencies to place before the objects being linked to create a
10262 predeps=$lt_predeps
10264 # Dependencies to place after the objects being linked to create a
10266 postdeps=$lt_postdeps
10268 # The library search path used internally by the compiler when linking
10269 # a shared library.
10270 compiler_lib_search_path=$lt_compiler_lib_search_path
10272 # Method to check whether dependent libraries are shared objects.
10273 deplibs_check_method=$lt_deplibs_check_method
10275 # Command to use when deplibs_check_method == file_magic.
10276 file_magic_cmd=$lt_file_magic_cmd
10278 # Flag that allows shared libraries with undefined symbols to be built.
10279 allow_undefined_flag=$lt_allow_undefined_flag
10281 # Flag that forces no undefined symbols.
10282 no_undefined_flag=$lt_no_undefined_flag
10284 # Commands used to finish a libtool library installation in a directory.
10285 finish_cmds=$lt_finish_cmds
10287 # Same as above, but a single script fragment to be evaled but not shown.
10288 finish_eval=$lt_finish_eval
10290 # Take the output of nm and produce a listing of raw symbols and C names.
10291 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10293 # Transform the output of nm in a proper C declaration
10294 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10296 # Transform the output of nm in a C name address pair
10297 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10299 # This is the shared library runtime path variable.
10300 runpath_var=$runpath_var
10302 # This is the shared library path variable.
10303 shlibpath_var=$shlibpath_var
10305 # Is shlibpath searched before the hard-coded library search path?
10306 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10308 # How to hardcode a shared library path into an executable.
10309 hardcode_action=$hardcode_action
10311 # Whether we should hardcode library paths into libraries.
10312 hardcode_into_libs=$hardcode_into_libs
10314 # Flag to hardcode \$libdir into a binary during linking.
10315 # This must work even if \$libdir does not exist.
10316 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10318 # If ld is used when linking, flag to hardcode \$libdir into
10319 # a binary during linking. This must work even if \$libdir does
10321 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10323 # Whether we need a single -rpath flag with a separated argument.
10324 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10326 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10327 # resulting binary.
10328 hardcode_direct=$hardcode_direct
10330 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10331 # resulting binary.
10332 hardcode_minus_L=$hardcode_minus_L
10334 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10335 # the resulting binary.
10336 hardcode_shlibpath_var=$hardcode_shlibpath_var
10338 # Set to yes if building a shared library automatically hardcodes DIR into the library
10339 # and all subsequent libraries and executables linked against it.
10340 hardcode_automatic=$hardcode_automatic
10342 # Variables whose values should be saved in libtool wrapper scripts and
10343 # restored at relink time.
10344 variables_saved_for_relink="$variables_saved_for_relink"
10346 # Whether libtool must link a program against all its dependency libraries.
10347 link_all_deplibs=$link_all_deplibs
10349 # Compile-time system search path for libraries
10350 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10352 # Run-time system search path for libraries
10353 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10355 # Fix the shell variable \$srcfile for the compiler.
10356 fix_srcfile_path="$fix_srcfile_path"
10358 # Set to yes if exported symbols are required.
10359 always_export_symbols=$always_export_symbols
10361 # The commands to list exported symbols.
10362 export_symbols_cmds=$lt_export_symbols_cmds
10364 # The commands to extract the exported symbol list from a shared archive.
10365 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10367 # Symbols that should not be listed in the preloaded symbols.
10368 exclude_expsyms=$lt_exclude_expsyms
10370 # Symbols that must always be exported.
10371 include_expsyms=$lt_include_expsyms
10373 # ### END LIBTOOL CONFIG
10380 cat <<\EOF
>> "$cfgfile"
10382 # AIX sometimes has problems with the GCC collect2 program. For some
10383 # reason, if we set the COLLECT_NAMES environment variable, the problems
10384 # vanish in a puff of smoke.
10385 if test "X${COLLECT_NAMES+set}" != Xset
; then
10387 export COLLECT_NAMES
10393 # We use sed instead of cat because bash on DJGPP gets confused if
10394 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10395 # text mode, it properly converts lines to CR/LF. This bash problem
10396 # is reportedly fixed, but why not run on old versions too?
10397 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
10399 mv -f "$cfgfile" "$ofile" || \
10400 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10404 # If there is no Makefile yet, we rely on a make rule to execute
10405 # `config.status --recheck' to rerun these tests and create the
10406 # libtool script then.
10407 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10408 if test -f "$ltmain_in"; then
10409 test -f Makefile
&& make "$ltmain"
10415 ac_cpp
='$CPP $CPPFLAGS'
10416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10423 # Check whether --with-tags was given.
10424 if test "${with_tags+set}" = set; then :
10425 withval
=$with_tags; tagnames
="$withval"
10429 if test -f "$ltmain" && test -n "$tagnames"; then
10430 if test ! -f "${ofile}"; then
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist" >&5
10432 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10435 if test -z "$LTCC"; then
10436 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10437 if test -z "$LTCC"; then
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10439 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10442 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10446 # Extract list of available tagged configurations in $ofile.
10447 # Note that this assumes the entire list is on one line.
10448 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10450 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10451 for tagname
in $tagnames; do
10453 # Check whether tagname contains only valid characters
10454 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10456 *) as_fn_error
"invalid tag name: $tagname" "$LINENO" 5
10460 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
10462 as_fn_error
"tag name \"$tagname\" already exists" "$LINENO" 5
10465 # Update the list of available tags.
10466 if test -n "$tagname"; then
10467 echo appending configuration tag
\"$tagname\" to
$ofile
10471 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10472 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10473 (test "X$CXX" != "Xg++"))) ; then
10475 ac_cpp
='$CXXCPP $CPPFLAGS'
10476 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10477 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10478 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10483 archive_cmds_need_lc_CXX
=no
10484 allow_undefined_flag_CXX
=
10485 always_export_symbols_CXX
=no
10486 archive_expsym_cmds_CXX
=
10487 export_dynamic_flag_spec_CXX
=
10488 hardcode_direct_CXX
=no
10489 hardcode_libdir_flag_spec_CXX
=
10490 hardcode_libdir_flag_spec_ld_CXX
=
10491 hardcode_libdir_separator_CXX
=
10492 hardcode_minus_L_CXX
=no
10493 hardcode_automatic_CXX
=no
10495 module_expsym_cmds_CXX
=
10496 link_all_deplibs_CXX
=unknown
10497 old_archive_cmds_CXX
=$old_archive_cmds
10498 no_undefined_flag_CXX
=
10499 whole_archive_flag_spec_CXX
=
10500 enable_shared_with_static_runtimes_CXX
=no
10502 # Dependencies to place before and after the object being linked:
10503 predep_objects_CXX
=
10504 postdep_objects_CXX
=
10507 compiler_lib_search_path_CXX
=
10509 # Source file extension for C++ test sources.
10512 # Object file extension for compiled C++ test sources.
10516 # Code to be used in simple compile tests
10517 lt_simple_compile_test_code
="int some_variable = 0;\n"
10519 # Code to be used in simple link tests
10520 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
10522 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10524 # If no C compiler was specified, use CC.
10527 # Allow CC to be a program name with arguments.
10531 # save warnings/boilerplate of simple test code
10532 ac_outfile
=conftest.
$ac_objext
10533 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
10534 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
10535 _lt_compiler_boilerplate
=`cat conftest.err`
10538 ac_outfile
=conftest.
$ac_objext
10539 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
10540 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
10541 _lt_linker_boilerplate
=`cat conftest.err`
10545 # Allow CC to be a program name with arguments.
10550 lt_save_with_gnu_ld
=$with_gnu_ld
10551 lt_save_path_LD
=$lt_cv_path_LD
10552 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10553 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10555 unset lt_cv_prog_gnu_ld
10557 if test -n "${lt_cv_path_LDCXX+set}"; then
10558 lt_cv_path_LD
=$lt_cv_path_LDCXX
10560 unset lt_cv_path_LD
10562 test -z "${LDCXX+set}" || LD
=$LDCXX
10566 for cc_temp
in $compiler""; do
10568 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10569 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10574 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10577 # We don't want -fno-exception wen compiling C++ code, so set the
10578 # no_builtin_flag separately
10579 if test "$GXX" = yes; then
10580 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10582 lt_prog_compiler_no_builtin_flag_CXX
=
10585 if test "$GXX" = yes; then
10586 # Set up default GNU C++ configuration
10589 # Check whether --with-gnu-ld was given.
10590 if test "${with_gnu_ld+set}" = set; then :
10591 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
10597 if test "$GCC" = yes; then
10598 # Check if gcc -print-prog-name=ld gives a path.
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
10600 $as_echo_n "checking for ld used by $CC... " >&6; }
10603 # gcc leaves a trailing carriage return which upsets mingw
10604 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10606 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10609 # Accept absolute paths.
10611 re_direlt
='/[^/][^/]*/\.\./'
10612 # Canonicalize the pathname of ld
10613 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10614 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10615 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10617 test -z "$LD" && LD
="$ac_prog"
10620 # If it fails, then pretend we aren't using GCC.
10624 # If it is relative, then search for the first ld in PATH.
10625 with_gnu_ld
=unknown
10628 elif test "$with_gnu_ld" = yes; then
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
10630 $as_echo_n "checking for GNU ld... " >&6; }
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
10633 $as_echo_n "checking for non-GNU ld... " >&6; }
10635 if test "${lt_cv_path_LD+set}" = set; then :
10636 $as_echo_n "(cached) " >&6
10638 if test -z "$LD"; then
10639 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10640 for ac_dir
in $PATH; do
10642 test -z "$ac_dir" && ac_dir
=.
10643 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10644 lt_cv_path_LD
="$ac_dir/$ac_prog"
10645 # Check to see if the program is GNU ld. I'd rather use --version,
10646 # but apparently some GNU ld's only accept -v.
10647 # Break only if it was the GNU/non-GNU ld that we prefer.
10648 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10649 *GNU
* |
*'with BFD'*)
10650 test "$with_gnu_ld" != no
&& break
10653 test "$with_gnu_ld" != yes && break
10660 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10664 LD
="$lt_cv_path_LD"
10665 if test -n "$LD"; then
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
10667 $as_echo "$LD" >&6; }
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10670 $as_echo "no" >&6; }
10672 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
10674 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
10675 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
10676 $as_echo_n "(cached) " >&6
10678 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10679 case `$LD -v 2>&1 </dev/null` in
10680 *GNU
* |
*'with BFD'*)
10681 lt_cv_prog_gnu_ld
=yes
10684 lt_cv_prog_gnu_ld
=no
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
10689 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
10690 with_gnu_ld
=$lt_cv_prog_gnu_ld
10694 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10695 # archiving commands below assume that GNU ld is being used.
10696 if test "$with_gnu_ld" = yes; then
10697 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10698 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'
10700 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10701 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10703 # If archive_cmds runs LD, not CC, wlarc should be empty
10704 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10705 # investigate it a little bit more. (MM)
10708 # ancient GNU ld didn't support --whole-archive et. al.
10709 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10710 grep 'no-whole-archive' > /dev
/null
; then
10711 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10713 whole_archive_flag_spec_CXX
=
10719 # A generic and very simple default shared library creation
10720 # command for GNU C++ for the case where it uses the native
10721 # linker, instead of GNU ld. If possible, this setting should
10722 # overridden to take advantage of the native linker features on
10723 # the platform it is being used on.
10724 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10727 # Commands to make compiler produce verbose output that lists
10728 # what "hidden" libraries, object files and flags are used when
10729 # linking a shared library.
10730 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10738 # PORTME: fill in a description of your system's C++ link characteristics
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10740 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10744 # FIXME: insert proper C++ library support
10748 if test "$host_cpu" = ia64
; then
10749 # On IA64, the linker does run time linking by default, so we don't
10750 # have to do anything special.
10751 aix_use_runtimelinking
=no
10752 exp_sym_flag
='-Bexport'
10755 aix_use_runtimelinking
=no
10757 # Test if we are trying to use run time linking or normal
10758 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10759 # need to do runtime linking.
10760 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10761 for ld_flag
in $LDFLAGS; do
10764 aix_use_runtimelinking
=yes
10771 exp_sym_flag
='-bexport'
10772 no_entry_flag
='-bnoentry'
10775 # When large executables or shared objects are built, AIX ld can
10776 # have problems creating the table of contents. If linking a library
10777 # or program results in "error TOC overflow" add -mminimal-toc to
10778 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10779 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10781 archive_cmds_CXX
=''
10782 hardcode_direct_CXX
=yes
10783 hardcode_libdir_separator_CXX
=':'
10784 link_all_deplibs_CXX
=yes
10786 if test "$GXX" = yes; then
10787 case $host_os in aix4.
[012]|aix4.
[012].
*)
10788 # We only want to do this on AIX 4.2 and lower, the check
10789 # below for broken collect2 doesn't work under 4.3+
10790 collect2name
=`${CC} -print-prog-name=collect2`
10791 if test -f "$collect2name" && \
10792 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10794 # We have reworked collect2
10795 hardcode_direct_CXX
=yes
10797 # We have old collect2
10798 hardcode_direct_CXX
=unsupported
10799 # It fails to find uninstalled libraries when the uninstalled
10800 # path is not listed in the libpath. Setting hardcode_minus_L
10801 # to unsupported forces relinking
10802 hardcode_minus_L_CXX
=yes
10803 hardcode_libdir_flag_spec_CXX
='-L$libdir'
10804 hardcode_libdir_separator_CXX
=
10807 shared_flag
='-shared'
10808 if test "$aix_use_runtimelinking" = yes; then
10809 shared_flag
="$shared_flag "'${wl}-G'
10813 if test "$host_cpu" = ia64
; then
10814 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10815 # chokes on -Wl,-G. The following line is correct:
10818 if test "$aix_use_runtimelinking" = yes; then
10819 shared_flag
='${wl}-G'
10821 shared_flag
='${wl}-bM:SRE'
10826 # It seems that -bexpall does not export symbols beginning with
10827 # underscore (_), so it is better to generate a list of symbols to export.
10828 always_export_symbols_CXX
=yes
10829 if test "$aix_use_runtimelinking" = yes; then
10830 # Warning - without using the other runtime loading flags (-brtl),
10831 # -berok will link without error, but may produce a broken library.
10832 allow_undefined_flag_CXX
='-berok'
10833 # Determine the default libpath from the value encoded in an empty executable.
10834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10845 if ac_fn_cxx_try_link
"$LINENO"; then :
10847 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10849 # Check for a 64-bit object if we didn't find anything.
10850 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10853 rm -f core conftest.err conftest.
$ac_objext \
10854 conftest
$ac_exeext conftest.
$ac_ext
10855 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10857 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
10859 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10861 if test "$host_cpu" = ia64; then
10862 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
10863 allow_undefined_flag_CXX="-z nodefs"
10864 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
10866 # Determine the default libpath from the value encoded in an empty executable.
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10878 if ac_fn_cxx_try_link "$LINENO"; then :
10880 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10882 # Check for a 64-bit object if we didn't find anything.
10883 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10886 rm -f core conftest.err conftest.$ac_objext \
10887 conftest$ac_exeext conftest.$ac_ext
10888 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
10890 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
10891 # Warning - without using the other run time loading flags,
10892 # -berok will link without error, but may produce a broken library.
10893 no_undefined_flag_CXX=' ${wl}-bernotok'
10894 allow_undefined_flag_CXX=' ${wl}-berok'
10895 # -bexpall does not export symbols beginning with underscore (_)
10896 always_export_symbols_CXX=yes
10897 # Exported symbols can be pulled into shared objects from archives
10898 whole_archive_flag_spec_CXX=' '
10899 archive_cmds_need_lc_CXX=yes
10900 # This is similar to how AIX traditionally builds it's shared libraries.
10901 archive_expsym_cmds_CXX="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10906 case $cc_basename in
10908 # FIXME: insert proper C++ library support
10915 cygwin* | mingw* | pw32*)
10916 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
10917 # as there is no search path for DLLs.
10918 hardcode_libdir_flag_spec_CXX='-L$libdir'
10919 allow_undefined_flag_CXX=unsupported
10920 always_export_symbols_CXX=no
10921 enable_shared_with_static_runtimes_CXX=yes
10923 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10924 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10925 # If the export-symbols file already is a .def file (1st line
10926 # is EXPORTS), use it as is; otherwise, prepend...
10927 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
10928 cp $export_symbols $output_objdir/$soname.def;
10930 echo EXPORTS > $output_objdir/$soname.def;
10931 cat $export_symbols >> $output_objdir/$soname.def;
10933 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10938 darwin* | rhapsody*)
10940 rhapsody* | darwin1.[012])
10941 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10944 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10945 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10947 case ${MACOSX_DEPLOYMENT_TARGET} in
10949 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10952 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10958 archive_cmds_need_lc_CXX=no
10959 hardcode_direct_CXX=no
10960 hardcode_automatic_CXX=yes
10961 hardcode_shlibpath_var_CXX=unsupported
10962 whole_archive_flag_spec_CXX=''
10963 link_all_deplibs_CXX=yes
10965 if test "$GXX" = yes ; then
10966 lt_int_apple_cc_single_mod=no
10967 output_verbose_link_cmd='echo'
10968 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10969 lt_int_apple_cc_single_mod=yes
10971 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10972 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10974 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'
10976 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10977 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10978 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
10979 archive_expsym_cmds_CXX='sed -e "s
,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10981 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10983 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}'
10985 case $cc_basename in
10987 output_verbose_link_cmd
='echo'
10988 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10989 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10990 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10991 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10992 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}'
11002 case $cc_basename in
11004 # FIXME: insert proper C++ library support
11008 # Green Hills C++ Compiler
11009 # FIXME: insert proper C++ library support
11013 # FIXME: insert proper C++ library support
11019 # C++ shared libraries reported to be fairly broken before switch to ELF
11023 archive_cmds_need_lc_CXX
=no
11025 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11026 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11033 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11034 hardcode_libdir_separator_CXX
=:
11035 export_dynamic_flag_spec_CXX
='${wl}-E'
11036 hardcode_direct_CXX
=yes
11037 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11038 # but as the default
11039 # location of the library.
11041 case $cc_basename in
11043 # FIXME: insert proper C++ library support
11047 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'
11048 # Commands to make compiler produce verbose output that lists
11049 # what "hidden" libraries, object files and flags are used when
11050 # linking a shared library.
11052 # There doesn't appear to be a way to prevent this compiler from
11053 # explicitly linking system object files so we need to strip them
11054 # from the output so that they don't get included in the library
11056 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'
11059 if test "$GXX" = yes; then
11060 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'
11062 # FIXME: insert proper C++ library support
11069 if test $with_gnu_ld = no
; then
11070 case "$host_cpu" in
11072 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11073 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
11074 hardcode_libdir_separator_CXX
=:
11077 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11080 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11081 hardcode_libdir_separator_CXX
=:
11082 export_dynamic_flag_spec_CXX
='${wl}-E'
11086 case "$host_cpu" in
11088 hardcode_direct_CXX
=no
11089 hardcode_shlibpath_var_CXX
=no
11092 hardcode_direct_CXX
=no
11093 hardcode_shlibpath_var_CXX
=no
11094 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11095 # but as the default
11096 # location of the library.
11099 hardcode_direct_CXX
=yes
11100 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11101 # but as the default
11102 # location of the library.
11106 case $cc_basename in
11108 # FIXME: insert proper C++ library support
11112 case "$host_cpu" in
11114 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11117 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11120 # Commands to make compiler produce verbose output that lists
11121 # what "hidden" libraries, object files and flags are used when
11122 # linking a shared library.
11124 # There doesn't appear to be a way to prevent this compiler from
11125 # explicitly linking system object files so we need to strip them
11126 # from the output so that they don't get included in the library
11128 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'
11131 if test "$GXX" = yes; then
11132 if test $with_gnu_ld = no
; then
11133 case "$host_cpu" in
11135 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11138 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'
11143 # FIXME: insert proper C++ library support
11150 case $cc_basename in
11153 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'
11155 # Archives containing C++ object files must be created using
11156 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11157 # necessary to make sure instantiated templates are included
11159 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11162 if test "$GXX" = yes; then
11163 if test "$with_gnu_ld" = no
; then
11164 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'
11166 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'
11169 link_all_deplibs_CXX
=yes
11172 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11173 hardcode_libdir_separator_CXX
=:
11176 case $cc_basename in
11178 # Kuck and Associates, Inc. (KAI) C++ Compiler
11180 # KCC will only create a shared library if the output file
11181 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11182 # to its proper name (with version) after linking.
11183 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'
11184 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'
11185 # Commands to make compiler produce verbose output that lists
11186 # what "hidden" libraries, object files and flags are used when
11187 # linking a shared library.
11189 # There doesn't appear to be a way to prevent this compiler from
11190 # explicitly linking system object files so we need to strip them
11191 # from the output so that they don't get included in the library
11193 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'
11195 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11196 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11198 # Archives containing C++ object files must be created using
11199 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11200 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11205 # version 8.0 and above of icpc choke on multiply defined symbols
11206 # if we add $predep_objects and $postdep_objects, however 7.1 and
11207 # earlier do not add the objects themselves.
11208 case `$CC -V 2>&1` in
11210 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11211 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'
11213 *) # Version 8.0 or newer
11216 ia64
*) tmp_idyn
=' -i_dynamic';;
11218 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11219 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'
11222 archive_cmds_need_lc_CXX
=no
11223 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11224 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11225 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11228 # Portland Group C++ compiler
11229 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11230 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'
11232 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11233 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11234 whole_archive_flag_spec_CXX
=''
11238 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11239 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'
11241 runpath_var
=LD_RUN_PATH
11242 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11243 hardcode_libdir_separator_CXX
=:
11245 # Commands to make compiler produce verbose output that lists
11246 # what "hidden" libraries, object files and flags are used when
11247 # linking a shared library.
11249 # There doesn't appear to be a way to prevent this compiler from
11250 # explicitly linking system object files so we need to strip them
11251 # from the output so that they don't get included in the library
11253 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'
11258 # FIXME: insert proper C++ library support
11262 # FIXME: insert proper C++ library support
11266 case $cc_basename in
11268 # FIXME: insert proper C++ library support
11272 # FIXME: insert proper C++ library support
11278 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11279 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11281 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11282 hardcode_direct_CXX
=yes
11283 hardcode_shlibpath_var_CXX
=no
11285 # Workaround some broken pre-1.5 toolchains
11286 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11289 # C++ shared libraries are fairly broken
11293 hardcode_direct_CXX
=yes
11294 hardcode_shlibpath_var_CXX
=no
11295 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11296 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11297 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11298 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11299 export_dynamic_flag_spec_CXX
='${wl}-E'
11300 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11302 output_verbose_link_cmd
='echo'
11305 case $cc_basename in
11307 # Kuck and Associates, Inc. (KAI) C++ Compiler
11309 # KCC will only create a shared library if the output file
11310 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11311 # to its proper name (with version) after linking.
11312 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'
11314 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11315 hardcode_libdir_separator_CXX
=:
11317 # Archives containing C++ object files must be created using
11318 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11319 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11323 # Rational C++ 2.4.1
11324 # FIXME: insert proper C++ library support
11328 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11329 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'
11331 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11332 hardcode_libdir_separator_CXX
=:
11334 # Commands to make compiler produce verbose output that lists
11335 # what "hidden" libraries, object files and flags are used when
11336 # linking a shared library.
11338 # There doesn't appear to be a way to prevent this compiler from
11339 # explicitly linking system object files so we need to strip them
11340 # from the output so that they don't get included in the library
11342 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'
11345 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11346 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11347 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'
11349 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11350 hardcode_libdir_separator_CXX
=:
11352 # Commands to make compiler produce verbose output that lists
11353 # what "hidden" libraries, object files and flags are used when
11354 # linking a shared library.
11355 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11358 # FIXME: insert proper C++ library support
11365 case $cc_basename in
11367 # Kuck and Associates, Inc. (KAI) C++ Compiler
11369 # KCC will only create a shared library if the output file
11370 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11371 # to its proper name (with version) after linking.
11372 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'
11374 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11375 hardcode_libdir_separator_CXX
=:
11377 # Archives containing C++ object files must be created using
11378 # the KAI C++ compiler.
11379 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11382 # Rational C++ 2.4.1
11383 # FIXME: insert proper C++ library support
11387 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11388 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'
11389 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11390 echo "-hidden">> $lib.exp~
11391 $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~
11394 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11395 hardcode_libdir_separator_CXX
=:
11397 # Commands to make compiler produce verbose output that lists
11398 # what "hidden" libraries, object files and flags are used when
11399 # linking a shared library.
11401 # There doesn't appear to be a way to prevent this compiler from
11402 # explicitly linking system object files so we need to strip them
11403 # from the output so that they don't get included in the library
11405 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'
11408 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11409 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11410 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'
11412 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11413 hardcode_libdir_separator_CXX
=:
11415 # Commands to make compiler produce verbose output that lists
11416 # what "hidden" libraries, object files and flags are used when
11417 # linking a shared library.
11418 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11421 # FIXME: insert proper C++ library support
11428 # FIXME: insert proper C++ library support
11432 archive_cmds_need_lc_CXX
=no
11433 case $cc_basename in
11435 # FIXME: insert proper C++ library support
11439 # FIXME: insert proper C++ library support
11445 case $cc_basename in
11448 # FIXME: insert proper C++ library support
11453 # FIXME: insert proper C++ library support
11457 # FIXME: insert proper C++ library support
11463 case $cc_basename in
11465 # Sun C++ 4.2, 5.x and Centerline C++
11466 no_undefined_flag_CXX
=' -zdefs'
11467 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11468 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11469 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11471 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11472 hardcode_shlibpath_var_CXX
=no
11474 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11476 # The C++ compiler is used as linker so we must use $wl
11477 # flag to pass the commands to the underlying system
11478 # linker. We must also pass each convience library through
11479 # to the system linker between allextract/defaultextract.
11480 # The C++ compiler will combine linker options so we
11481 # cannot just pass the convience library names through
11483 # Supported since Solaris 2.6 (maybe 2.5.1?)
11484 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11487 link_all_deplibs_CXX
=yes
11489 # Commands to make compiler produce verbose output that lists
11490 # what "hidden" libraries, object files and flags are used when
11491 # linking a shared library.
11493 # There doesn't appear to be a way to prevent this compiler from
11494 # explicitly linking system object files so we need to strip them
11495 # from the output so that they don't get included in the library
11497 output_verbose_link_cmd
='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11499 # Archives containing C++ object files must be created using
11500 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11501 # necessary to make sure instantiated templates are included
11503 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11506 # Green Hills C++ Compiler
11507 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11509 # The C++ compiler must be used to create the archive.
11510 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11513 # GNU C++ compiler with Solaris linker
11514 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11515 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11516 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11517 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11518 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11519 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11521 # Commands to make compiler produce verbose output that lists
11522 # what "hidden" libraries, object files and flags are used when
11523 # linking a shared library.
11524 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11526 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11528 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11529 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11530 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11532 # Commands to make compiler produce verbose output that lists
11533 # what "hidden" libraries, object files and flags are used when
11534 # linking a shared library.
11535 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11538 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11543 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
11544 archive_cmds_need_lc_CXX
=no
11547 case $cc_basename in
11549 # NonStop-UX NCC 3.20
11550 # FIXME: insert proper C++ library support
11554 # FIXME: insert proper C++ library support
11560 # FIXME: insert proper C++ library support
11564 # FIXME: insert proper C++ library support
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
11569 $as_echo "$ld_shlibs_CXX" >&6; }
11570 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11576 ## There is no encapsulation within the following macros, do not change
11577 ## the running order or otherwise move them around unless you know exactly
11578 ## what you are doing...
11580 cat > conftest.
$ac_ext <<EOF
11584 Foo (void) { a = 0; }
11590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11591 (eval $ac_compile) 2>&5
11593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11594 test $ac_status = 0; }; then
11595 # Parse the compiler output and extract the necessary
11596 # objects, libraries and library flags.
11598 # Sentinel used to keep track of whether or not we are before
11599 # the conftest object file.
11600 pre_test_object_deps_done
=no
11602 # The `*' in the case matches for architectures that use `case' in
11603 # $output_verbose_cmd can trigger glob expansion during the loop
11604 # eval without this substitution.
11605 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
11607 for p
in `eval $output_verbose_link_cmd`; do
11611 # Some compilers place space between "-{L,R}" and the path.
11612 # Remove the space.
11613 if test $p = "-L" \
11614 ||
test $p = "-R"; then
11621 if test "$pre_test_object_deps_done" = no
; then
11624 # Internal compiler library paths should come after those
11625 # provided the user. The postdeps already come after the
11626 # user supplied libs so there is no need to process them.
11627 if test -z "$compiler_lib_search_path_CXX"; then
11628 compiler_lib_search_path_CXX
="${prev}${p}"
11630 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11633 # The "-l" case would never come before the object being
11634 # linked, so don't bother handling this case.
11637 if test -z "$postdeps_CXX"; then
11638 postdeps_CXX
="${prev}${p}"
11640 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11646 # This assumes that the test object file only shows up
11647 # once in the compiler output.
11648 if test "$p" = "conftest.$objext"; then
11649 pre_test_object_deps_done
=yes
11653 if test "$pre_test_object_deps_done" = no
; then
11654 if test -z "$predep_objects_CXX"; then
11655 predep_objects_CXX
="$p"
11657 predep_objects_CXX
="$predep_objects_CXX $p"
11660 if test -z "$postdep_objects_CXX"; then
11661 postdep_objects_CXX
="$p"
11663 postdep_objects_CXX
="$postdep_objects_CXX $p"
11668 *) ;; # Ignore the rest.
11676 echo "libtool.m4: error: problem compiling CXX test program"
11679 $rm -f confest.
$objext
11681 case " $postdeps_CXX " in
11682 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
11685 lt_prog_compiler_wl_CXX
=
11686 lt_prog_compiler_pic_CXX
=
11687 lt_prog_compiler_static_CXX
=
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11690 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11692 # C++ specific cases for pic, static, wl, etc.
11693 if test "$GXX" = yes; then
11694 lt_prog_compiler_wl_CXX
='-Wl,'
11695 lt_prog_compiler_static_CXX
='-static'
11699 # All AIX code is PIC.
11700 if test "$host_cpu" = ia64
; then
11701 # AIX 5 now supports IA64 processor
11702 lt_prog_compiler_static_CXX
='-Bstatic'
11706 # FIXME: we need at least 68020 code to build shared libraries, but
11707 # adding the `-m68020' flag to GCC prevents building anything better,
11709 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
11711 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11712 # PIC is the default for these OSes.
11714 mingw
* | os2
* | pw32
*)
11715 # This hack is so that the source file can tell whether it is being
11716 # built for inclusion in a dll (and should export symbols for example).
11717 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
11719 darwin
* | rhapsody
*)
11720 # PIC is the default on this platform
11721 # Common symbols not allowed in MH_DYLIB files
11722 lt_prog_compiler_pic_CXX
='-fno-common'
11725 # DJGPP does not support shared libraries at all
11726 lt_prog_compiler_pic_CXX
=
11729 if test -d /usr
/nec
; then
11730 lt_prog_compiler_pic_CXX
=-Kconform_pic
11734 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11735 # not for PA HP-UX.
11736 case "$host_cpu" in
11740 lt_prog_compiler_pic_CXX
='-fPIC'
11745 lt_prog_compiler_pic_CXX
='-fPIC'
11751 # All AIX code is PIC.
11752 if test "$host_cpu" = ia64
; then
11753 # AIX 5 now supports IA64 processor
11754 lt_prog_compiler_static_CXX
='-Bstatic'
11756 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
11760 case $cc_basename in
11762 # Green Hills C++ Compiler
11763 # _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"
11768 # PIC is the default on this platform
11769 # Common symbols not allowed in MH_DYLIB files
11770 case $cc_basename in
11772 lt_prog_compiler_pic_CXX
='-qnocommon'
11773 lt_prog_compiler_wl_CXX
='-Wl,'
11778 case $cc_basename in
11780 lt_prog_compiler_pic_CXX
='-KPIC'
11783 # Green Hills C++ Compiler
11784 lt_prog_compiler_pic_CXX
='-pic'
11790 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11791 # FreeBSD uses GNU C++
11793 hpux9
* | hpux10
* | hpux11
*)
11794 case $cc_basename in
11796 lt_prog_compiler_wl_CXX
='-Wl,'
11797 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11798 if test "$host_cpu" != ia64
; then
11799 lt_prog_compiler_pic_CXX
='+Z'
11803 lt_prog_compiler_wl_CXX
='-Wl,'
11804 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
11805 case "$host_cpu" in
11810 lt_prog_compiler_pic_CXX
='+Z'
11818 irix5
* | irix6
* | nonstopux
*)
11819 case $cc_basename in
11821 lt_prog_compiler_wl_CXX
='-Wl,'
11822 lt_prog_compiler_static_CXX
='-non_shared'
11823 # CC pic flag -KPIC is the default.
11830 case $cc_basename in
11833 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11834 lt_prog_compiler_pic_CXX
='-fPIC'
11838 lt_prog_compiler_wl_CXX
='-Wl,'
11839 lt_prog_compiler_pic_CXX
='-KPIC'
11840 lt_prog_compiler_static_CXX
='-static'
11843 # Portland Group C++ compiler.
11844 lt_prog_compiler_wl_CXX
='-Wl,'
11845 lt_prog_compiler_pic_CXX
='-fpic'
11846 lt_prog_compiler_static_CXX
='-static'
11850 # Make sure the PIC flag is empty. It appears that all Alpha
11851 # Linux and Compaq Tru64 Unix objects are PIC.
11852 lt_prog_compiler_pic_CXX
=
11853 lt_prog_compiler_static_CXX
='-non_shared'
11864 case $cc_basename in
11866 lt_prog_compiler_pic_CXX
='-W c,exportall'
11874 osf3
* | osf4
* | osf5
*)
11875 case $cc_basename in
11877 lt_prog_compiler_wl_CXX
='--backend -Wl,'
11880 # Rational C++ 2.4.1
11881 lt_prog_compiler_pic_CXX
='-pic'
11884 # Digital/Compaq C++
11885 lt_prog_compiler_wl_CXX
='-Wl,'
11886 # Make sure the PIC flag is empty. It appears that all Alpha
11887 # Linux and Compaq Tru64 Unix objects are PIC.
11888 lt_prog_compiler_pic_CXX
=
11889 lt_prog_compiler_static_CXX
='-non_shared'
11898 case $cc_basename in
11900 lt_prog_compiler_pic_CXX
='-fPIC'
11907 case $cc_basename in
11909 # Sun C++ 4.2, 5.x and Centerline C++
11910 lt_prog_compiler_pic_CXX
='-KPIC'
11911 lt_prog_compiler_static_CXX
='-Bstatic'
11912 lt_prog_compiler_wl_CXX
='-Qoption ld '
11915 # Green Hills C++ Compiler
11916 lt_prog_compiler_pic_CXX
='-PIC'
11923 case $cc_basename in
11926 lt_prog_compiler_pic_CXX
='-pic'
11927 lt_prog_compiler_static_CXX
='-Bstatic'
11931 lt_prog_compiler_pic_CXX
='-pic'
11938 case $cc_basename in
11940 # NonStop-UX NCC 3.20
11941 lt_prog_compiler_pic_CXX
='-KPIC'
11952 lt_prog_compiler_can_build_shared_CXX
=no
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
11958 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
11961 # Check to make sure the PIC flag actually works.
11963 if test -n "$lt_prog_compiler_pic_CXX"; then
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11966 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
11967 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then :
11968 $as_echo_n "(cached) " >&6
11970 lt_prog_compiler_pic_works_CXX
=no
11971 ac_outfile
=conftest.
$ac_objext
11972 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
11973 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
11974 # Insert the option either (1) after the last *FLAGS variable, or
11975 # (2) before a word containing "conftest.", or (3) at the end.
11976 # Note that $ac_compile itself does not contain backslashes and begins
11977 # with a dollar sign (not a hyphen), so the echo should work correctly.
11978 # The option is referenced via a variable to avoid confusing sed.
11979 lt_compile
=`echo "$ac_compile" | $SED \
11980 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
11981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11982 -e 's:$: $lt_compiler_flag:'`
11983 (eval echo "\"\$as_me:11983: $lt_compile\"" >&5)
11984 (eval "$lt_compile" 2>conftest.err
)
11986 cat conftest.err
>&5
11987 echo "$as_me:11987: \$? = $ac_status" >&5
11988 if (exit $ac_status) && test -s "$ac_outfile"; then
11989 # The compiler can only warn and ignore the option if not recognized
11990 # So say no if there are warnings other than the usual output.
11991 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
11992 $SED '/^$/d' conftest.err
>conftest.er2
11993 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11994 lt_prog_compiler_pic_works_CXX
=yes
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_CXX" >&5
12001 $as_echo "$lt_prog_compiler_pic_works_CXX" >&6; }
12003 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12004 case $lt_prog_compiler_pic_CXX in
12006 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12009 lt_prog_compiler_pic_CXX
=
12010 lt_prog_compiler_can_build_shared_CXX
=no
12015 # For platforms which do not support PIC, -DPIC is meaningless:
12017 lt_prog_compiler_pic_CXX
=
12020 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12025 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12026 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12027 $as_echo_n "(cached) " >&6
12029 lt_cv_prog_compiler_c_o_CXX
=no
12030 $rm -r conftest
2>/dev
/null
12034 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12036 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12037 # Insert the option either (1) after the last *FLAGS variable, or
12038 # (2) before a word containing "conftest.", or (3) at the end.
12039 # Note that $ac_compile itself does not contain backslashes and begins
12040 # with a dollar sign (not a hyphen), so the echo should work correctly.
12041 lt_compile
=`echo "$ac_compile" | $SED \
12042 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12043 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12044 -e 's:$: $lt_compiler_flag:'`
12045 (eval echo "\"\$as_me:12045: $lt_compile\"" >&5)
12046 (eval "$lt_compile" 2>out
/conftest.err
)
12048 cat out
/conftest.err
>&5
12049 echo "$as_me:12049: \$? = $ac_status" >&5
12050 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12052 # The compiler can only warn and ignore the option if not recognized
12053 # So say no if there are warnings
12054 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
12055 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
12056 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12057 lt_cv_prog_compiler_c_o_CXX
=yes
12062 # SGI C++ compiler will create directory out/ii_files/ for
12063 # template instantiation
12064 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12065 $rm out
/* && rmdir out
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12072 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12075 hard_links
="nottested"
12076 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12077 # do not overwrite the value of need_locks provided by the user
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12079 $as_echo_n "checking if we can lock with hard links... " >&6; }
12082 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12084 ln conftest.a conftest.b
2>&5 || hard_links
=no
12085 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12087 $as_echo "$hard_links" >&6; }
12088 if test "$hard_links" = no
; then
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12090 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12098 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12100 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12103 # If we're using GNU nm, then we don't want the "-C" option.
12104 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12105 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12106 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'
12108 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'
12112 export_symbols_cmds_CXX
="$ltdll_cmds"
12115 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'
12118 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12123 $as_echo "$ld_shlibs_CXX" >&6; }
12124 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12126 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12127 if test "$GCC" = yes; then
12128 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12132 # Do we need to explicitly link libc?
12134 case "x$archive_cmds_need_lc_CXX" in
12136 # Assume -lc should be added
12137 archive_cmds_need_lc_CXX
=yes
12139 if test "$enable_shared" = yes && test "$GCC" = yes; then
12140 case $archive_cmds_CXX in
12142 # FIXME: we may have to deal with multi-command sequences.
12145 # Test whether the compiler implicitly links with -lc since on some
12146 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12147 # to ld, don't add -lc before -lgcc.
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12149 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12151 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12153 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12154 (eval $ac_compile) 2>&5
12156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12157 test $ac_status = 0; } 2>conftest.err
; then
12160 libobjs
=conftest.
$ac_objext
12162 wl
=$lt_prog_compiler_wl_CXX
12168 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12169 allow_undefined_flag_CXX
=
12170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12171 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12174 test $ac_status = 0; }
12176 archive_cmds_need_lc_CXX
=no
12178 archive_cmds_need_lc_CXX
=yes
12180 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12182 cat conftest.err
1>&5
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
12186 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12194 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12195 library_names_spec
=
12196 libname_spec
='lib$name'
12200 postuninstall_cmds
=
12204 shlibpath_overrides_runpath
=unknown
12206 dynamic_linker
="$host_os ld.so"
12207 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12208 if test "$GCC" = yes; then
12209 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12210 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12211 # if the path contains ";" then we assume it to be the separator
12212 # otherwise default to the standard path separator (i.e. ":") - it is
12213 # assumed that no part of a normal pathname contains ";" but that should
12214 # okay in the real world where ";" in dirpaths is itself problematic.
12215 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12217 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12220 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12222 need_lib_prefix
=unknown
12223 hardcode_into_libs
=no
12225 # when you set need_version to no, make sure it does not cause -set_version
12226 # flags to be left without arguments
12227 need_version
=unknown
12232 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12233 shlibpath_var
=LIBPATH
12235 # AIX 3 has no versioning support, so we append a major version to the name.
12236 soname_spec
='${libname}${release}${shared_ext}$major'
12243 hardcode_into_libs
=yes
12244 if test "$host_cpu" = ia64
; then
12245 # AIX 5 supports IA64
12246 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12247 shlibpath_var
=LD_LIBRARY_PATH
12249 # With GCC up to 2.95.x, collect2 would create an import file
12250 # for dependence libraries. The import file would start with
12251 # the line `#! .'. This would cause the generated library to
12252 # depend on `.', always an invalid library. This was fixed in
12253 # development snapshots of GCC prior to 3.0.
12255 aix4 | aix4.
[01] | aix4.
[01].
*)
12256 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12258 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12261 can_build_shared
=no
12265 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12266 # soname into executable. Probably we can add versioning support to
12267 # collect2, so additional links can be useful in future.
12268 if test "$aix_use_runtimelinking" = yes; then
12269 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12270 # instead of lib<name>.a to let people know that these are not
12271 # typical AIX shared libraries.
12272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12274 # We preserve .a as extension for shared libraries through AIX4.2
12275 # and later when we are not doing run time linking.
12276 library_names_spec
='${libname}${release}.a $libname.a'
12277 soname_spec
='${libname}${release}${shared_ext}$major'
12279 shlibpath_var
=LIBPATH
12284 library_names_spec
='$libname.ixlibrary $libname.a'
12285 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12286 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'
12290 library_names_spec
='${libname}${shared_ext}'
12291 dynamic_linker
="$host_os ld.so"
12292 shlibpath_var
=LIBRARY_PATH
12298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12299 soname_spec
='${libname}${release}${shared_ext}$major'
12300 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12301 shlibpath_var
=LD_LIBRARY_PATH
12302 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12303 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12304 # the default ld.so.conf also contains /usr/contrib/lib and
12305 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12306 # libtool to hard-code these into programs
12309 cygwin
* | mingw
* | pw32
*)
12310 version_type
=windows
12315 case $GCC,$host_os in
12316 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12317 library_names_spec
='$libname.dll.a'
12318 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12319 postinstall_cmds
='base_file=`basename \${file}`~
12320 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12321 dldir=$destdir/`dirname \$dlpath`~
12322 test -d \$dldir || mkdir -p \$dldir~
12323 $install_prog $dir/$dlname \$dldir/$dlname'
12324 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12325 dlpath=$dir/\$dldll~
12327 shlibpath_overrides_runpath
=yes
12331 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12332 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12333 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12336 # MinGW DLLs use traditional 'lib' prefix
12337 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12338 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12339 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12340 # It is most probably a Windows format PATH printed by
12341 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12342 # path with ; separators, and with drive letters. We can handle the
12343 # drive letters (cygwin fileutils understands them), so leave them,
12344 # especially as we might pass files found there to a mingw objdump,
12345 # which wouldn't understand a cygwinified path. Ahh.
12346 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12348 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12352 # pw32 DLLs use 'pw' prefix rather than 'lib'
12353 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12359 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12362 dynamic_linker
='Win32 ld.exe'
12363 # FIXME: first we should search . and the directory the executable is in
12367 darwin
* | rhapsody
*)
12368 dynamic_linker
="$host_os dyld"
12369 version_type
=darwin
12372 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12373 soname_spec
='${libname}${release}${major}$shared_ext'
12374 shlibpath_overrides_runpath
=yes
12375 shlibpath_var
=DYLD_LIBRARY_PATH
12376 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
12377 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12378 if test "$GCC" = yes; then
12379 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12381 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
12383 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12391 soname_spec
='${libname}${release}${shared_ext}$major'
12392 shlibpath_var
=LD_LIBRARY_PATH
12403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12404 soname_spec
='${libname}${release}${shared_ext}$major'
12405 shlibpath_var
=LD_LIBRARY_PATH
12406 shlibpath_overrides_runpath
=no
12407 hardcode_into_libs
=yes
12408 dynamic_linker
='GNU ld.so'
12411 freebsd
* | dragonfly
*)
12412 # DragonFly does not have aout. When/if they implement a new
12413 # versioning mechanism, adjust this.
12414 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
12415 version_type
=freebsd-
$objformat
12416 case $version_type in
12418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12423 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12427 shlibpath_var
=LD_LIBRARY_PATH
12430 shlibpath_overrides_runpath
=yes
12432 freebsd3.
[01]* | freebsdelf3.
[01]*)
12433 shlibpath_overrides_runpath
=yes
12434 hardcode_into_libs
=yes
12437 shlibpath_overrides_runpath
=no
12438 hardcode_into_libs
=yes
12447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12448 soname_spec
='${libname}${release}${shared_ext}$major'
12449 shlibpath_var
=LD_LIBRARY_PATH
12450 hardcode_into_libs
=yes
12453 hpux9
* | hpux10
* | hpux11
*)
12454 # Give a soname corresponding to the major version so that dld.sl refuses to
12455 # link against other versions.
12459 case "$host_cpu" in
12462 hardcode_into_libs
=yes
12463 dynamic_linker
="$host_os dld.so"
12464 shlibpath_var
=LD_LIBRARY_PATH
12465 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12467 soname_spec
='${libname}${release}${shared_ext}$major'
12468 if test "X$HPUX_IA64_MODE" = X32
; then
12469 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12471 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12473 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12477 hardcode_into_libs
=yes
12478 dynamic_linker
="$host_os dld.sl"
12479 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12480 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12482 soname_spec
='${libname}${release}${shared_ext}$major'
12483 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12484 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12488 dynamic_linker
="$host_os dld.sl"
12489 shlibpath_var
=SHLIB_PATH
12490 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12492 soname_spec
='${libname}${release}${shared_ext}$major'
12495 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12496 postinstall_cmds
='chmod 555 $lib'
12499 irix5
* | irix6
* | nonstopux
*)
12501 nonstopux
*) version_type
=nonstopux
;;
12503 if test "$lt_cv_prog_gnu_ld" = yes; then
12511 soname_spec
='${libname}${release}${shared_ext}$major'
12512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12514 irix5
* | nonstopux
*)
12515 libsuff
= shlibsuff
=
12518 case $LD in # libtool.m4 will add one of these switches to LD
12519 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12520 libsuff
= shlibsuff
= libmagic
=32-bit;;
12521 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12522 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12523 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12524 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12525 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12529 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12530 shlibpath_overrides_runpath
=no
12531 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12532 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12533 hardcode_into_libs
=yes
12536 # No shared lib support for Linux oldld, aout, or coff.
12537 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12541 # This must be Linux ELF.
12546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12547 soname_spec
='${libname}${release}${shared_ext}$major'
12548 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12549 shlibpath_var
=LD_LIBRARY_PATH
12550 shlibpath_overrides_runpath
=no
12551 # This implies no fast_install, which is unacceptable.
12552 # Some rework will be needed to allow for fast_install
12553 # before this can be enabled.
12554 hardcode_into_libs
=yes
12556 # find out which ABI we are using
12558 case "$host_cpu" in
12559 x86_64
*|s390x
*|powerpc64
*)
12560 echo '#line 12560 "configure"' > conftest.
$ac_ext
12561 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12562 (eval $ac_compile) 2>&5
12564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12565 test $ac_status = 0; }; then
12566 case `/usr/bin/file conftest.$ac_objext` in
12569 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12577 # Append ld.so.conf contents to the search path
12578 if test -f /etc
/ld.so.conf
; then
12579 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
12580 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
12583 # We used to test for /lib/ld.so.1 and disable shared libraries on
12584 # powerpc, because MkLinux only supported shared libraries with the
12585 # GNU dynamic linker. Since this was broken with cross compilers,
12586 # most powerpc-linux boxes support dynamic linking these days and
12587 # people can always --disable-shared, the test was removed, and we
12588 # assume the GNU/Linux dynamic linker is in use.
12589 dynamic_linker
='GNU/Linux ld.so'
12596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12597 soname_spec
='${libname}${release}${shared_ext}$major'
12598 shlibpath_var
=LD_LIBRARY_PATH
12599 shlibpath_overrides_runpath
=no
12600 hardcode_into_libs
=yes
12601 dynamic_linker
='GNU ld.so'
12608 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12609 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12610 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12611 dynamic_linker
='NetBSD (a.out) ld.so'
12613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12614 soname_spec
='${libname}${release}${shared_ext}$major'
12615 dynamic_linker
='NetBSD ld.elf_so'
12617 shlibpath_var
=LD_LIBRARY_PATH
12618 shlibpath_overrides_runpath
=yes
12619 hardcode_into_libs
=yes
12624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12625 shlibpath_var
=LD_LIBRARY_PATH
12626 shlibpath_overrides_runpath
=yes
12633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12634 soname_spec
='${libname}${release}${shared_ext}$major'
12635 shlibpath_var
=LD_LIBRARY_PATH
12636 shlibpath_overrides_runpath
=yes
12643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12644 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12645 shlibpath_var
=LD_LIBRARY_PATH
12646 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12648 openbsd2.
[89] | openbsd2.
[89].
*)
12649 shlibpath_overrides_runpath
=no
12652 shlibpath_overrides_runpath
=yes
12656 shlibpath_overrides_runpath
=yes
12661 libname_spec
='$name'
12664 library_names_spec
='$libname${shared_ext} $libname.a'
12665 dynamic_linker
='OS/2 ld.exe'
12666 shlibpath_var
=LIBPATH
12669 osf3
* | osf4
* | osf5
*)
12673 soname_spec
='${libname}${release}${shared_ext}$major'
12674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12675 shlibpath_var
=LD_LIBRARY_PATH
12676 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12677 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12682 soname_spec
='${libname}${release}${shared_ext}$major'
12683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12684 shlibpath_var
=LD_LIBRARY_PATH
12691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12692 soname_spec
='${libname}${release}${shared_ext}$major'
12693 shlibpath_var
=LD_LIBRARY_PATH
12694 shlibpath_overrides_runpath
=yes
12695 hardcode_into_libs
=yes
12696 # ldd complains unless libraries are executable
12697 postinstall_cmds
='chmod +x $lib'
12702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12703 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12704 shlibpath_var
=LD_LIBRARY_PATH
12705 shlibpath_overrides_runpath
=yes
12706 if test "$with_gnu_ld" = yes; then
12712 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12715 soname_spec
='${libname}${release}${shared_ext}$major'
12716 shlibpath_var
=LD_LIBRARY_PATH
12717 case $host_vendor in
12719 shlibpath_overrides_runpath
=no
12721 export_dynamic_flag_spec
='${wl}-Blargedynsym'
12722 runpath_var
=LD_RUN_PATH
12730 shlibpath_overrides_runpath
=no
12731 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12737 if test -d /usr
/nec
;then
12739 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12740 soname_spec
='$libname${shared_ext}.$major'
12741 shlibpath_var
=LD_LIBRARY_PATH
12747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12748 soname_spec
='${libname}${release}${shared_ext}$major'
12749 shlibpath_var
=LD_LIBRARY_PATH
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12757 $as_echo "$dynamic_linker" >&6; }
12758 test "$dynamic_linker" = no
&& can_build_shared
=no
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12761 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12762 hardcode_action_CXX
=
12763 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12764 test -n "$runpath_var_CXX" || \
12765 test "X$hardcode_automatic_CXX" = "Xyes" ; then
12767 # We can hardcode non-existant directories.
12768 if test "$hardcode_direct_CXX" != no
&&
12769 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12770 # have to relink, otherwise we might link with an installed library
12771 # when we should be linking with a yet-to-be-installed one
12772 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
12773 test "$hardcode_minus_L_CXX" != no
; then
12774 # Linking always hardcodes the temporary library directory.
12775 hardcode_action_CXX
=relink
12777 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12778 hardcode_action_CXX
=immediate
12781 # We cannot hardcode anything, or else we can only hardcode existing
12783 hardcode_action_CXX
=unsupported
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
12786 $as_echo "$hardcode_action_CXX" >&6; }
12788 if test "$hardcode_action_CXX" = relink
; then
12789 # Fast installation is not supported
12790 enable_fast_install
=no
12791 elif test "$shlibpath_overrides_runpath" = yes ||
12792 test "$enable_shared" = no
; then
12793 # Fast installation is not necessary
12794 enable_fast_install
=needless
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12800 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12801 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
12802 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12803 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12805 $as_echo "yes" >&6; }
12807 # FIXME - insert some real tests, host_os isn't really good enough
12810 if test -n "$STRIP" ; then
12811 striplib
="$STRIP -x"
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12813 $as_echo "yes" >&6; }
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12816 $as_echo "no" >&6; }
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12821 $as_echo "no" >&6; }
12826 if test "x$enable_dlopen" != xyes
; then
12827 enable_dlopen
=unknown
12828 enable_dlopen_self
=unknown
12829 enable_dlopen_self_static
=unknown
12836 lt_cv_dlopen
="load_add_on"
12838 lt_cv_dlopen_self
=yes
12842 lt_cv_dlopen
="LoadLibrary"
12847 lt_cv_dlopen
="dlopen"
12852 # if libdl is installed we need to link against it
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12854 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12855 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12856 $as_echo_n "(cached) " >&6
12858 ac_check_lib_save_LIBS
=$LIBS
12860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12863 /* Override any GCC internal prototype to avoid an error.
12864 Use char because int might match the return type of a GCC
12865 builtin and then its argument prototype would still apply. */
12878 if ac_fn_cxx_try_link
"$LINENO"; then :
12879 ac_cv_lib_dl_dlopen
=yes
12881 ac_cv_lib_dl_dlopen
=no
12883 rm -f core conftest.err conftest.
$ac_objext \
12884 conftest
$ac_exeext conftest.
$ac_ext
12885 LIBS
=$ac_check_lib_save_LIBS
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12888 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12889 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12890 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12893 lt_cv_dlopen
="dyld"
12895 lt_cv_dlopen_self
=yes
12902 ac_fn_cxx_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12903 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12904 lt_cv_dlopen
="shl_load"
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12907 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12908 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12909 $as_echo_n "(cached) " >&6
12911 ac_check_lib_save_LIBS
=$LIBS
12913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h. */
12916 /* Override any GCC internal prototype to avoid an error.
12917 Use char because int might match the return type of a GCC
12918 builtin and then its argument prototype would still apply. */
12926 return shl_load ();
12931 if ac_fn_cxx_try_link
"$LINENO"; then :
12932 ac_cv_lib_dld_shl_load
=yes
12934 ac_cv_lib_dld_shl_load
=no
12936 rm -f core conftest.err conftest.
$ac_objext \
12937 conftest
$ac_exeext conftest.
$ac_ext
12938 LIBS
=$ac_check_lib_save_LIBS
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12941 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12942 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12943 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
12945 ac_fn_cxx_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12946 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12947 lt_cv_dlopen
="dlopen"
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12950 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12951 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12952 $as_echo_n "(cached) " >&6
12954 ac_check_lib_save_LIBS
=$LIBS
12956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12959 /* Override any GCC internal prototype to avoid an error.
12960 Use char because int might match the return type of a GCC
12961 builtin and then its argument prototype would still apply. */
12974 if ac_fn_cxx_try_link
"$LINENO"; then :
12975 ac_cv_lib_dl_dlopen
=yes
12977 ac_cv_lib_dl_dlopen
=no
12979 rm -f core conftest.err conftest.
$ac_objext \
12980 conftest
$ac_exeext conftest.
$ac_ext
12981 LIBS
=$ac_check_lib_save_LIBS
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12984 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12985 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12986 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12989 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12990 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12991 $as_echo_n "(cached) " >&6
12993 ac_check_lib_save_LIBS
=$LIBS
12994 LIBS
="-lsvld $LIBS"
12995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
12998 /* Override any GCC internal prototype to avoid an error.
12999 Use char because int might match the return type of a GCC
13000 builtin and then its argument prototype would still apply. */
13013 if ac_fn_cxx_try_link
"$LINENO"; then :
13014 ac_cv_lib_svld_dlopen
=yes
13016 ac_cv_lib_svld_dlopen
=no
13018 rm -f core conftest.err conftest.
$ac_objext \
13019 conftest
$ac_exeext conftest.
$ac_ext
13020 LIBS
=$ac_check_lib_save_LIBS
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13023 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13024 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
13025 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13028 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13029 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
13030 $as_echo_n "(cached) " >&6
13032 ac_check_lib_save_LIBS
=$LIBS
13034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13037 /* Override any GCC internal prototype to avoid an error.
13038 Use char because int might match the return type of a GCC
13039 builtin and then its argument prototype would still apply. */
13047 return dld_link ();
13052 if ac_fn_cxx_try_link
"$LINENO"; then :
13053 ac_cv_lib_dld_dld_link
=yes
13055 ac_cv_lib_dld_dld_link
=no
13057 rm -f core conftest.err conftest.
$ac_objext \
13058 conftest
$ac_exeext conftest.
$ac_ext
13059 LIBS
=$ac_check_lib_save_LIBS
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13062 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13063 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
13064 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
13085 if test "x$lt_cv_dlopen" != xno
; then
13091 case $lt_cv_dlopen in
13093 save_CPPFLAGS
="$CPPFLAGS"
13094 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13096 save_LDFLAGS
="$LDFLAGS"
13097 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13100 LIBS
="$lt_cv_dlopen_libs $LIBS"
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13103 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13104 if test "${lt_cv_dlopen_self+set}" = set; then :
13105 $as_echo_n "(cached) " >&6
13107 if test "$cross_compiling" = yes; then :
13108 lt_cv_dlopen_self
=cross
13110 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13111 lt_status
=$lt_dlunknown
13112 cat > conftest.
$ac_ext <<EOF
13113 #line 13113 "configure"
13114 #include "confdefs.h"
13123 # define LT_DLGLOBAL RTLD_GLOBAL
13126 # define LT_DLGLOBAL DL_GLOBAL
13128 # define LT_DLGLOBAL 0
13132 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13133 find out it does not work in some platform. */
13134 #ifndef LT_DLLAZY_OR_NOW
13136 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13139 # define LT_DLLAZY_OR_NOW DL_LAZY
13142 # define LT_DLLAZY_OR_NOW RTLD_NOW
13145 # define LT_DLLAZY_OR_NOW DL_NOW
13147 # define LT_DLLAZY_OR_NOW 0
13155 extern "C" void exit (int);
13158 void fnord() { int i=42;}
13161 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13162 int status = $lt_dlunknown;
13166 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13167 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13168 /* dlclose (self); */
13174 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13175 (eval $ac_link) 2>&5
13177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13178 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13179 (.
/conftest
; exit; ) 2>/dev
/null
13181 case x
$lt_status in
13182 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13183 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13184 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
13187 # compilation failed
13188 lt_cv_dlopen_self
=no
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13196 $as_echo "$lt_cv_dlopen_self" >&6; }
13198 if test "x$lt_cv_dlopen_self" = xyes
; then
13199 LDFLAGS
="$LDFLAGS $link_static_flag"
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13201 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13202 if test "${lt_cv_dlopen_self_static+set}" = set; then :
13203 $as_echo_n "(cached) " >&6
13205 if test "$cross_compiling" = yes; then :
13206 lt_cv_dlopen_self_static
=cross
13208 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13209 lt_status
=$lt_dlunknown
13210 cat > conftest.
$ac_ext <<EOF
13211 #line 13211 "configure"
13212 #include "confdefs.h"
13221 # define LT_DLGLOBAL RTLD_GLOBAL
13224 # define LT_DLGLOBAL DL_GLOBAL
13226 # define LT_DLGLOBAL 0
13230 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13231 find out it does not work in some platform. */
13232 #ifndef LT_DLLAZY_OR_NOW
13234 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13237 # define LT_DLLAZY_OR_NOW DL_LAZY
13240 # define LT_DLLAZY_OR_NOW RTLD_NOW
13243 # define LT_DLLAZY_OR_NOW DL_NOW
13245 # define LT_DLLAZY_OR_NOW 0
13253 extern "C" void exit (int);
13256 void fnord() { int i=42;}
13259 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13260 int status = $lt_dlunknown;
13264 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13265 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13266 /* dlclose (self); */
13272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13273 (eval $ac_link) 2>&5
13275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13276 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13277 (.
/conftest
; exit; ) 2>/dev
/null
13279 case x
$lt_status in
13280 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13281 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13282 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
13285 # compilation failed
13286 lt_cv_dlopen_self_static
=no
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13294 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13297 CPPFLAGS
="$save_CPPFLAGS"
13298 LDFLAGS
="$save_LDFLAGS"
13303 case $lt_cv_dlopen_self in
13304 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13305 *) enable_dlopen_self
=unknown
;;
13308 case $lt_cv_dlopen_self_static in
13309 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13310 *) enable_dlopen_self_static
=unknown
;;
13315 # The else clause should only fire when bootstrapping the
13316 # libtool distribution, otherwise you forgot to ship ltmain.sh
13317 # with your package, and you will get complaints that there are
13318 # no rules to generate ltmain.sh.
13319 if test -f "$ltmain"; then
13320 # See if we are running on zsh, and set the options which allow our commands through
13321 # without removal of \ escapes.
13322 if test -n "${ZSH_VERSION+set}" ; then
13323 setopt NO_GLOB_SUBST
13325 # Now quote all the things that may contain metacharacters while being
13326 # careful not to overquote the AC_SUBSTed values. We take copies of the
13327 # variables and quote the copies for generation of the libtool script.
13328 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
13330 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13331 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13332 deplibs_check_method reload_flag reload_cmds need_locks \
13333 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13334 lt_cv_sys_global_symbol_to_c_name_address \
13335 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13336 old_postinstall_cmds old_postuninstall_cmds \
13340 lt_prog_compiler_wl_CXX \
13341 lt_prog_compiler_pic_CXX \
13342 lt_prog_compiler_static_CXX \
13343 lt_prog_compiler_no_builtin_flag_CXX \
13344 export_dynamic_flag_spec_CXX \
13345 thread_safe_flag_spec_CXX \
13346 whole_archive_flag_spec_CXX \
13347 enable_shared_with_static_runtimes_CXX \
13348 old_archive_cmds_CXX \
13349 old_archive_from_new_cmds_CXX \
13350 predep_objects_CXX \
13351 postdep_objects_CXX \
13354 compiler_lib_search_path_CXX \
13356 archive_expsym_cmds_CXX \
13357 postinstall_cmds_CXX \
13358 postuninstall_cmds_CXX \
13359 old_archive_from_expsyms_cmds_CXX \
13360 allow_undefined_flag_CXX \
13361 no_undefined_flag_CXX \
13362 export_symbols_cmds_CXX \
13363 hardcode_libdir_flag_spec_CXX \
13364 hardcode_libdir_flag_spec_ld_CXX \
13365 hardcode_libdir_separator_CXX \
13366 hardcode_automatic_CXX \
13368 module_expsym_cmds_CXX \
13369 lt_cv_prog_compiler_c_o_CXX \
13370 exclude_expsyms_CXX \
13371 include_expsyms_CXX
; do
13374 old_archive_cmds_CXX | \
13375 old_archive_from_new_cmds_CXX | \
13376 archive_cmds_CXX | \
13377 archive_expsym_cmds_CXX | \
13378 module_cmds_CXX | \
13379 module_expsym_cmds_CXX | \
13380 old_archive_from_expsyms_cmds_CXX | \
13381 export_symbols_cmds_CXX | \
13382 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13383 postinstall_cmds | postuninstall_cmds | \
13384 old_postinstall_cmds | old_postuninstall_cmds | \
13385 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13386 # Double-quote double-evaled strings.
13387 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13390 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13396 *'\$0 --fallback-echo"')
13397 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13403 cat <<__EOF__ >> "$cfgfile"
13404 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13406 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13408 # Shell to use when invoking shell scripts.
13411 # Whether or not to build shared libraries.
13412 build_libtool_libs=$enable_shared
13414 # Whether or not to build static libraries.
13415 build_old_libs=$enable_static
13417 # Whether or not to add -lc for building shared libraries.
13418 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13420 # Whether or not to disallow shared libs when runtime libs are static
13421 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13423 # Whether or not to optimize for fast installation.
13424 fast_install=$enable_fast_install
13427 host_alias=$host_alias
13431 # The build system.
13432 build_alias=$build_alias
13436 # An echo program that does not interpret backslashes.
13441 AR_FLAGS=$lt_AR_FLAGS
13446 # A language-specific compiler.
13447 CC=$lt_compiler_CXX
13449 # Is the compiler the GNU C compiler?
13455 # The linker used to build libraries.
13458 # Whether we need hard or soft links.
13461 # A BSD-compatible nm program.
13464 # A symbol stripping program
13467 # Used to examine libraries when file_magic_cmd begins "file"
13468 MAGIC_CMD=$MAGIC_CMD
13470 # Used on cygwin: DLL creation program.
13473 # Used on cygwin: object dumper.
13476 # Used on cygwin: assembler.
13479 # The name of the directory that contains temporary libtool files.
13482 # How to create reloadable object files.
13483 reload_flag=$lt_reload_flag
13484 reload_cmds=$lt_reload_cmds
13486 # How to pass a linker flag through the compiler.
13487 wl=$lt_lt_prog_compiler_wl_CXX
13489 # Object file suffix (normally "o").
13490 objext="$ac_objext"
13492 # Old archive suffix (normally "a").
13495 # Shared library suffix (normally ".so").
13496 shrext_cmds='$shrext_cmds'
13498 # Executable file suffix (normally "").
13501 # Additional compiler flags for building library objects.
13502 pic_flag=$lt_lt_prog_compiler_pic_CXX
13505 # What is the maximum length of a command?
13506 max_cmd_len=$lt_cv_sys_max_cmd_len
13508 # Does compiler simultaneously support -c and -o options?
13509 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13511 # Must we lock files when doing compilation?
13512 need_locks=$lt_need_locks
13514 # Do we need the lib prefix for modules?
13515 need_lib_prefix=$need_lib_prefix
13517 # Do we need a version for libraries?
13518 need_version=$need_version
13520 # Whether dlopen is supported.
13521 dlopen_support=$enable_dlopen
13523 # Whether dlopen of programs is supported.
13524 dlopen_self=$enable_dlopen_self
13526 # Whether dlopen of statically linked programs is supported.
13527 dlopen_self_static=$enable_dlopen_self_static
13529 # Compiler flag to prevent dynamic linking.
13530 link_static_flag=$lt_lt_prog_compiler_static_CXX
13532 # Compiler flag to turn off builtin functions.
13533 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13535 # Compiler flag to allow reflexive dlopens.
13536 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13538 # Compiler flag to generate shared objects directly from archives.
13539 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13541 # Compiler flag to generate thread-safe objects.
13542 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13544 # Library versioning type.
13545 version_type=$version_type
13547 # Format of library name prefix.
13548 libname_spec=$lt_libname_spec
13550 # List of archive names. First name is the real one, the rest are links.
13551 # The last name is the one that the linker finds with -lNAME.
13552 library_names_spec=$lt_library_names_spec
13554 # The coded name of the library, if different from the real name.
13555 soname_spec=$lt_soname_spec
13557 # Commands used to build and install an old-style archive.
13559 old_archive_cmds=$lt_old_archive_cmds_CXX
13560 old_postinstall_cmds=$lt_old_postinstall_cmds
13561 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13563 # Create an old-style archive from a shared archive.
13564 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13566 # Create a temporary old-style archive to link instead of a shared archive.
13567 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13569 # Commands used to build and install a shared archive.
13570 archive_cmds=$lt_archive_cmds_CXX
13571 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13572 postinstall_cmds=$lt_postinstall_cmds
13573 postuninstall_cmds=$lt_postuninstall_cmds
13575 # Commands used to build a loadable module (assumed same as above if empty)
13576 module_cmds=$lt_module_cmds_CXX
13577 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13579 # Commands to strip libraries.
13580 old_striplib=$lt_old_striplib
13581 striplib=$lt_striplib
13583 # Dependencies to place before the objects being linked to create a
13585 predep_objects=$lt_predep_objects_CXX
13587 # Dependencies to place after the objects being linked to create a
13589 postdep_objects=$lt_postdep_objects_CXX
13591 # Dependencies to place before the objects being linked to create a
13593 predeps=$lt_predeps_CXX
13595 # Dependencies to place after the objects being linked to create a
13597 postdeps=$lt_postdeps_CXX
13599 # The library search path used internally by the compiler when linking
13600 # a shared library.
13601 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13603 # Method to check whether dependent libraries are shared objects.
13604 deplibs_check_method=$lt_deplibs_check_method
13606 # Command to use when deplibs_check_method == file_magic.
13607 file_magic_cmd=$lt_file_magic_cmd
13609 # Flag that allows shared libraries with undefined symbols to be built.
13610 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13612 # Flag that forces no undefined symbols.
13613 no_undefined_flag=$lt_no_undefined_flag_CXX
13615 # Commands used to finish a libtool library installation in a directory.
13616 finish_cmds=$lt_finish_cmds
13618 # Same as above, but a single script fragment to be evaled but not shown.
13619 finish_eval=$lt_finish_eval
13621 # Take the output of nm and produce a listing of raw symbols and C names.
13622 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13624 # Transform the output of nm in a proper C declaration
13625 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13627 # Transform the output of nm in a C name address pair
13628 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13630 # This is the shared library runtime path variable.
13631 runpath_var=$runpath_var
13633 # This is the shared library path variable.
13634 shlibpath_var=$shlibpath_var
13636 # Is shlibpath searched before the hard-coded library search path?
13637 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13639 # How to hardcode a shared library path into an executable.
13640 hardcode_action=$hardcode_action_CXX
13642 # Whether we should hardcode library paths into libraries.
13643 hardcode_into_libs=$hardcode_into_libs
13645 # Flag to hardcode \$libdir into a binary during linking.
13646 # This must work even if \$libdir does not exist.
13647 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13649 # If ld is used when linking, flag to hardcode \$libdir into
13650 # a binary during linking. This must work even if \$libdir does
13652 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13654 # Whether we need a single -rpath flag with a separated argument.
13655 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13657 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13658 # resulting binary.
13659 hardcode_direct=$hardcode_direct_CXX
13661 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13662 # resulting binary.
13663 hardcode_minus_L=$hardcode_minus_L_CXX
13665 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13666 # the resulting binary.
13667 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13669 # Set to yes if building a shared library automatically hardcodes DIR into the library
13670 # and all subsequent libraries and executables linked against it.
13671 hardcode_automatic=$hardcode_automatic_CXX
13673 # Variables whose values should be saved in libtool wrapper scripts and
13674 # restored at relink time.
13675 variables_saved_for_relink="$variables_saved_for_relink"
13677 # Whether libtool must link a program against all its dependency libraries.
13678 link_all_deplibs=$link_all_deplibs_CXX
13680 # Compile-time system search path for libraries
13681 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13683 # Run-time system search path for libraries
13684 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13686 # Fix the shell variable \$srcfile for the compiler.
13687 fix_srcfile_path="$fix_srcfile_path_CXX"
13689 # Set to yes if exported symbols are required.
13690 always_export_symbols=$always_export_symbols_CXX
13692 # The commands to list exported symbols.
13693 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13695 # The commands to extract the exported symbol list from a shared archive.
13696 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13698 # Symbols that should not be listed in the preloaded symbols.
13699 exclude_expsyms=$lt_exclude_expsyms_CXX
13701 # Symbols that must always be exported.
13702 include_expsyms=$lt_include_expsyms_CXX
13704 # ### END LIBTOOL TAG CONFIG: $tagname
13710 # If there is no Makefile yet, we rely on a make rule to execute
13711 # `config.status --recheck' to rerun these tests and create the
13712 # libtool script then.
13713 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13714 if test -f "$ltmain_in"; then
13715 test -f Makefile
&& make "$ltmain"
13721 ac_cpp
='$CPP $CPPFLAGS'
13722 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13723 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13724 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13730 with_gnu_ldcxx
=$with_gnu_ld
13731 with_gnu_ld
=$lt_save_with_gnu_ld
13732 lt_cv_path_LDCXX
=$lt_cv_path_LD
13733 lt_cv_path_LD
=$lt_save_path_LD
13734 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13735 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13743 if test -n "$F77" && test "X$F77" != "Xno"; then
13746 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13747 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13748 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13751 archive_cmds_need_lc_F77
=no
13752 allow_undefined_flag_F77
=
13753 always_export_symbols_F77
=no
13754 archive_expsym_cmds_F77
=
13755 export_dynamic_flag_spec_F77
=
13756 hardcode_direct_F77
=no
13757 hardcode_libdir_flag_spec_F77
=
13758 hardcode_libdir_flag_spec_ld_F77
=
13759 hardcode_libdir_separator_F77
=
13760 hardcode_minus_L_F77
=no
13761 hardcode_automatic_F77
=no
13763 module_expsym_cmds_F77
=
13764 link_all_deplibs_F77
=unknown
13765 old_archive_cmds_F77
=$old_archive_cmds
13766 no_undefined_flag_F77
=
13767 whole_archive_flag_spec_F77
=
13768 enable_shared_with_static_runtimes_F77
=no
13770 # Source file extension for f77 test sources.
13773 # Object file extension for compiled f77 test sources.
13777 # Code to be used in simple compile tests
13778 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13780 # Code to be used in simple link tests
13781 lt_simple_link_test_code
=" program t\n end\n"
13783 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13785 # If no C compiler was specified, use CC.
13788 # Allow CC to be a program name with arguments.
13792 # save warnings/boilerplate of simple test code
13793 ac_outfile
=conftest.
$ac_objext
13794 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13795 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
13796 _lt_compiler_boilerplate
=`cat conftest.err`
13799 ac_outfile
=conftest.
$ac_objext
13800 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13801 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
13802 _lt_linker_boilerplate
=`cat conftest.err`
13806 # Allow CC to be a program name with arguments.
13811 for cc_temp
in $compiler""; do
13813 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13814 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13819 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13823 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13825 $as_echo "$can_build_shared" >&6; }
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13828 $as_echo_n "checking whether to build shared libraries... " >&6; }
13829 test "$can_build_shared" = "no" && enable_shared
=no
13831 # On AIX, shared libraries and static libraries use the same namespace, and
13832 # are all built from PIC.
13835 test "$enable_shared" = yes && enable_static
=no
13836 if test -n "$RANLIB"; then
13837 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13838 postinstall_cmds
='$RANLIB $lib'
13842 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13843 test "$enable_shared" = yes && enable_static
=no
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13848 $as_echo "$enable_shared" >&6; }
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13851 $as_echo_n "checking whether to build static libraries... " >&6; }
13852 # Make sure either enable_shared or enable_static is yes.
13853 test "$enable_shared" = yes || enable_static
=yes
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13855 $as_echo "$enable_static" >&6; }
13857 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
13862 lt_prog_compiler_wl_F77
=
13863 lt_prog_compiler_pic_F77
=
13864 lt_prog_compiler_static_F77
=
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13867 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13869 if test "$GCC" = yes; then
13870 lt_prog_compiler_wl_F77
='-Wl,'
13871 lt_prog_compiler_static_F77
='-static'
13875 # All AIX code is PIC.
13876 if test "$host_cpu" = ia64
; then
13877 # AIX 5 now supports IA64 processor
13878 lt_prog_compiler_static_F77
='-Bstatic'
13883 # FIXME: we need at least 68020 code to build shared libraries, but
13884 # adding the `-m68020' flag to GCC prevents building anything better,
13886 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13889 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13890 # PIC is the default for these OSes.
13893 mingw
* | pw32
* | os2
*)
13894 # This hack is so that the source file can tell whether it is being
13895 # built for inclusion in a dll (and should export symbols for example).
13896 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13899 darwin
* | rhapsody
*)
13900 # PIC is the default on this platform
13901 # Common symbols not allowed in MH_DYLIB files
13902 lt_prog_compiler_pic_F77
='-fno-common'
13906 # Just because we use GCC doesn't mean we suddenly get shared libraries
13907 # on systems that don't support them.
13908 lt_prog_compiler_can_build_shared_F77
=no
13913 if test -d /usr
/nec
; then
13914 lt_prog_compiler_pic_F77
=-Kconform_pic
13919 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13920 # not for PA HP-UX.
13921 case "$host_cpu" in
13926 lt_prog_compiler_pic_F77
='-fPIC'
13932 lt_prog_compiler_pic_F77
='-fPIC'
13936 # PORTME Check for flag to pass linker flags through the system compiler.
13939 lt_prog_compiler_wl_F77
='-Wl,'
13940 if test "$host_cpu" = ia64
; then
13941 # AIX 5 now supports IA64 processor
13942 lt_prog_compiler_static_F77
='-Bstatic'
13944 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13948 # PIC is the default on this platform
13949 # Common symbols not allowed in MH_DYLIB files
13950 case $cc_basename in
13952 lt_prog_compiler_pic_F77
='-qnocommon'
13953 lt_prog_compiler_wl_F77
='-Wl,'
13958 mingw
* | pw32
* | os2
*)
13959 # This hack is so that the source file can tell whether it is being
13960 # built for inclusion in a dll (and should export symbols for example).
13961 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13964 hpux9
* | hpux10
* | hpux11
*)
13965 lt_prog_compiler_wl_F77
='-Wl,'
13966 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13967 # not for PA HP-UX.
13968 case "$host_cpu" in
13973 lt_prog_compiler_pic_F77
='+Z'
13976 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13977 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13980 irix5
* | irix6
* | nonstopux
*)
13981 lt_prog_compiler_wl_F77
='-Wl,'
13982 # PIC (with -KPIC) is the default.
13983 lt_prog_compiler_static_F77
='-non_shared'
13987 lt_prog_compiler_pic_F77
='-KPIC'
13988 lt_prog_compiler_static_F77
='-Bstatic'
13992 case $cc_basename in
13994 lt_prog_compiler_wl_F77
='-Wl,'
13995 lt_prog_compiler_pic_F77
='-KPIC'
13996 lt_prog_compiler_static_F77
='-static'
13998 pgcc
* | pgf77
* | pgf90
*)
13999 # Portland Group compilers (*not* the Pentium gcc compiler,
14000 # which looks to be a dead project)
14001 lt_prog_compiler_wl_F77
='-Wl,'
14002 lt_prog_compiler_pic_F77
='-fpic'
14003 lt_prog_compiler_static_F77
='-static'
14006 lt_prog_compiler_wl_F77
='-Wl,'
14007 # All Alpha code is PIC.
14008 lt_prog_compiler_static_F77
='-non_shared'
14013 osf3
* | osf4
* | osf5
*)
14014 lt_prog_compiler_wl_F77
='-Wl,'
14015 # All OSF/1 code is PIC.
14016 lt_prog_compiler_static_F77
='-non_shared'
14020 lt_prog_compiler_pic_F77
='-Kpic'
14021 lt_prog_compiler_static_F77
='-dn'
14025 lt_prog_compiler_pic_F77
='-KPIC'
14026 lt_prog_compiler_static_F77
='-Bstatic'
14027 case $cc_basename in
14028 f77
* | f90
* | f95
*)
14029 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14031 lt_prog_compiler_wl_F77
='-Wl,';;
14036 lt_prog_compiler_wl_F77
='-Qoption ld '
14037 lt_prog_compiler_pic_F77
='-PIC'
14038 lt_prog_compiler_static_F77
='-Bstatic'
14041 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14042 lt_prog_compiler_wl_F77
='-Wl,'
14043 lt_prog_compiler_pic_F77
='-KPIC'
14044 lt_prog_compiler_static_F77
='-Bstatic'
14048 if test -d /usr
/nec
;then
14049 lt_prog_compiler_pic_F77
='-Kconform_pic'
14050 lt_prog_compiler_static_F77
='-Bstatic'
14055 lt_prog_compiler_wl_F77
='-Wl,'
14056 lt_prog_compiler_can_build_shared_F77
=no
14060 lt_prog_compiler_pic_F77
='-pic'
14061 lt_prog_compiler_static_F77
='-Bstatic'
14065 lt_prog_compiler_can_build_shared_F77
=no
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_F77" >&5
14071 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
14074 # Check to make sure the PIC flag actually works.
14076 if test -n "$lt_prog_compiler_pic_F77"; then
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14079 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
14080 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then :
14081 $as_echo_n "(cached) " >&6
14083 lt_prog_compiler_pic_works_F77
=no
14084 ac_outfile
=conftest.
$ac_objext
14085 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14086 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14087 # Insert the option either (1) after the last *FLAGS variable, or
14088 # (2) before a word containing "conftest.", or (3) at the end.
14089 # Note that $ac_compile itself does not contain backslashes and begins
14090 # with a dollar sign (not a hyphen), so the echo should work correctly.
14091 # The option is referenced via a variable to avoid confusing sed.
14092 lt_compile
=`echo "$ac_compile" | $SED \
14093 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14094 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14095 -e 's:$: $lt_compiler_flag:'`
14096 (eval echo "\"\$as_me:14096: $lt_compile\"" >&5)
14097 (eval "$lt_compile" 2>conftest.err
)
14099 cat conftest.err
>&5
14100 echo "$as_me:14100: \$? = $ac_status" >&5
14101 if (exit $ac_status) && test -s "$ac_outfile"; then
14102 # The compiler can only warn and ignore the option if not recognized
14103 # So say no if there are warnings other than the usual output.
14104 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
14105 $SED '/^$/d' conftest.err
>conftest.er2
14106 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14107 lt_prog_compiler_pic_works_F77
=yes
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_F77" >&5
14114 $as_echo "$lt_prog_compiler_pic_works_F77" >&6; }
14116 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14117 case $lt_prog_compiler_pic_F77 in
14119 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14122 lt_prog_compiler_pic_F77
=
14123 lt_prog_compiler_can_build_shared_F77
=no
14128 # For platforms which do not support PIC, -DPIC is meaningless:
14130 lt_prog_compiler_pic_F77
=
14133 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14138 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14139 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then :
14140 $as_echo_n "(cached) " >&6
14142 lt_cv_prog_compiler_c_o_F77
=no
14143 $rm -r conftest
2>/dev
/null
14147 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14149 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14150 # Insert the option either (1) after the last *FLAGS variable, or
14151 # (2) before a word containing "conftest.", or (3) at the end.
14152 # Note that $ac_compile itself does not contain backslashes and begins
14153 # with a dollar sign (not a hyphen), so the echo should work correctly.
14154 lt_compile
=`echo "$ac_compile" | $SED \
14155 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14157 -e 's:$: $lt_compiler_flag:'`
14158 (eval echo "\"\$as_me:14158: $lt_compile\"" >&5)
14159 (eval "$lt_compile" 2>out
/conftest.err
)
14161 cat out
/conftest.err
>&5
14162 echo "$as_me:14162: \$? = $ac_status" >&5
14163 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14165 # The compiler can only warn and ignore the option if not recognized
14166 # So say no if there are warnings
14167 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
14168 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
14169 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14170 lt_cv_prog_compiler_c_o_F77
=yes
14175 # SGI C++ compiler will create directory out/ii_files/ for
14176 # template instantiation
14177 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14178 $rm out
/* && rmdir out
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
14185 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
14188 hard_links
="nottested"
14189 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14190 # do not overwrite the value of need_locks provided by the user
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14192 $as_echo_n "checking if we can lock with hard links... " >&6; }
14195 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14197 ln conftest.a conftest.b
2>&5 || hard_links
=no
14198 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14200 $as_echo "$hard_links" >&6; }
14201 if test "$hard_links" = no
; then
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14203 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14211 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14214 allow_undefined_flag_F77
=
14215 enable_shared_with_static_runtimes_F77
=no
14217 archive_expsym_cmds_F77
=
14218 old_archive_From_new_cmds_F77
=
14219 old_archive_from_expsyms_cmds_F77
=
14220 export_dynamic_flag_spec_F77
=
14221 whole_archive_flag_spec_F77
=
14222 thread_safe_flag_spec_F77
=
14223 hardcode_libdir_flag_spec_F77
=
14224 hardcode_libdir_flag_spec_ld_F77
=
14225 hardcode_libdir_separator_F77
=
14226 hardcode_direct_F77
=no
14227 hardcode_minus_L_F77
=no
14228 hardcode_shlibpath_var_F77
=unsupported
14229 link_all_deplibs_F77
=unknown
14230 hardcode_automatic_F77
=no
14232 module_expsym_cmds_F77
=
14233 always_export_symbols_F77
=no
14234 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14235 # include_expsyms should be a list of space-separated symbols to be *always*
14236 # included in the symbol list
14237 include_expsyms_F77
=
14238 # exclude_expsyms can be an extended regexp of symbols to exclude
14239 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14240 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14241 # as well as any symbol that contains `d'.
14242 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14243 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14244 # platforms (ab)use it in PIC code, but their linkers get confused if
14245 # the symbol is explicitly referenced. Since portable code cannot
14246 # rely on this symbol name, it's probably fine to never include it in
14247 # preloaded symbol tables.
14248 extract_expsyms_cmds
=
14249 # Just being paranoid about ensuring that cc_basename is set.
14250 for cc_temp
in $compiler""; do
14252 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14253 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14258 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14261 cygwin
* | mingw
* | pw32
*)
14262 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14263 # When not using gcc, we currently assume that we are using
14264 # Microsoft Visual C++.
14265 if test "$GCC" != yes; then
14275 if test "$with_gnu_ld" = yes; then
14276 # If archive_cmds runs LD, not CC, wlarc should be empty
14279 # Set some defaults for GNU ld with shared library support. These
14280 # are reset later if shared libraries are not supported. Putting them
14281 # here allows them to be overridden if necessary.
14282 runpath_var
=LD_RUN_PATH
14283 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14284 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14285 # ancient GNU ld didn't support --whole-archive et. al.
14286 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14287 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14289 whole_archive_flag_spec_F77
=
14291 supports_anon_versioning
=no
14292 case `$LD -v 2>/dev/null` in
14293 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14294 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14295 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14296 *\
2.11.
*) ;; # other 2.11 versions
14297 *) supports_anon_versioning
=yes ;;
14300 # See if GNU ld supports shared libraries.
14302 aix3
* | aix4
* | aix5
*)
14303 # On AIX/PPC, the GNU linker is very broken
14304 if test "$host_cpu" != ia64
; then
14308 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14309 *** to be unable to reliably create shared libraries on AIX.
14310 *** Therefore, libtool is disabling shared libraries support. If you
14311 *** really care for shared libraries, you may want to modify your PATH
14312 *** so that a non-GNU linker is found, and then restart.
14319 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)'
14320 hardcode_libdir_flag_spec_F77
='-L$libdir'
14321 hardcode_minus_L_F77
=yes
14323 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14324 # that the semantics of dynamic libraries on AmigaOS, at least up
14325 # to version 4, is to share data among multiple programs linked
14326 # with the same dynamic library. Since this doesn't match the
14327 # behavior of shared libraries on other platforms, we can't use
14333 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14334 allow_undefined_flag_F77
=unsupported
14335 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14336 # support --undefined. This deserves some investigation. FIXME
14337 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14343 cygwin
* | mingw
* | pw32
*)
14344 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14345 # as there is no search path for DLLs.
14346 hardcode_libdir_flag_spec_F77
='-L$libdir'
14347 allow_undefined_flag_F77
=unsupported
14348 always_export_symbols_F77
=no
14349 enable_shared_with_static_runtimes_F77
=yes
14350 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14352 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14353 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14354 # If the export-symbols file already is a .def file (1st line
14355 # is EXPORTS), use it as is; otherwise, prepend...
14356 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14357 cp $export_symbols $output_objdir/$soname.def;
14359 echo EXPORTS > $output_objdir/$soname.def;
14360 cat $export_symbols >> $output_objdir/$soname.def;
14362 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
14369 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14371 case $cc_basename,$host_cpu in
14372 pgcc
*) # Portland Group C compiler
14373 whole_archive_flag_spec_F77
=
14375 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
14376 whole_archive_flag_spec_F77
=
14377 tmp_addflag
=' -fpic -Mnomain' ;;
14378 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14379 tmp_addflag
=' -i_dynamic' ;;
14380 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14381 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14382 ifc
* | ifort
*) # Intel Fortran compiler
14383 tmp_addflag
=' -nofor_main' ;;
14385 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14387 if test $supports_anon_versioning = yes; then
14388 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14389 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14390 $echo "local: *; };" >> $output_objdir/$libname.ver~
14391 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14399 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14400 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14403 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14404 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14409 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14413 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14414 *** create shared libraries on Solaris systems. Therefore, libtool
14415 *** is disabling shared libraries support. We urge you to upgrade GNU
14416 *** binutils to release 2.9.1 or newer. Another option is to modify
14417 *** your PATH or compiler configuration so that the native linker is
14418 *** used, and then restart.
14421 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14422 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14423 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14430 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14432 hardcode_direct_F77
=yes
14433 hardcode_shlibpath_var_F77
=no
14437 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14438 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14439 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14446 if test "$ld_shlibs_F77" = no
; then
14448 hardcode_libdir_flag_spec_F77
=
14449 export_dynamic_flag_spec_F77
=
14450 whole_archive_flag_spec_F77
=
14453 # PORTME fill in a description of your system's linker (not GNU ld)
14456 allow_undefined_flag_F77
=unsupported
14457 always_export_symbols_F77
=yes
14458 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'
14459 # Note: this linker hardcodes the directories in LIBPATH if there
14460 # are no directories specified by -L.
14461 hardcode_minus_L_F77
=yes
14462 if test "$GCC" = yes && test -z "$link_static_flag"; then
14463 # Neither direct hardcoding nor static linking is supported with a
14465 hardcode_direct_F77
=unsupported
14470 if test "$host_cpu" = ia64
; then
14471 # On IA64, the linker does run time linking by default, so we don't
14472 # have to do anything special.
14473 aix_use_runtimelinking
=no
14474 exp_sym_flag
='-Bexport'
14477 # If we're using GNU nm, then we don't want the "-C" option.
14478 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14479 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14480 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'
14482 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'
14484 aix_use_runtimelinking
=no
14486 # Test if we are trying to use run time linking or normal
14487 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14488 # need to do runtime linking.
14489 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14490 for ld_flag
in $LDFLAGS; do
14491 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14492 aix_use_runtimelinking
=yes
14498 exp_sym_flag
='-bexport'
14499 no_entry_flag
='-bnoentry'
14502 # When large executables or shared objects are built, AIX ld can
14503 # have problems creating the table of contents. If linking a library
14504 # or program results in "error TOC overflow" add -mminimal-toc to
14505 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14506 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14508 archive_cmds_F77
=''
14509 hardcode_direct_F77
=yes
14510 hardcode_libdir_separator_F77
=':'
14511 link_all_deplibs_F77
=yes
14513 if test "$GCC" = yes; then
14514 case $host_os in aix4.
[012]|aix4.
[012].
*)
14515 # We only want to do this on AIX 4.2 and lower, the check
14516 # below for broken collect2 doesn't work under 4.3+
14517 collect2name
=`${CC} -print-prog-name=collect2`
14518 if test -f "$collect2name" && \
14519 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14521 # We have reworked collect2
14522 hardcode_direct_F77
=yes
14524 # We have old collect2
14525 hardcode_direct_F77
=unsupported
14526 # It fails to find uninstalled libraries when the uninstalled
14527 # path is not listed in the libpath. Setting hardcode_minus_L
14528 # to unsupported forces relinking
14529 hardcode_minus_L_F77
=yes
14530 hardcode_libdir_flag_spec_F77
='-L$libdir'
14531 hardcode_libdir_separator_F77
=
14534 shared_flag
='-shared'
14535 if test "$aix_use_runtimelinking" = yes; then
14536 shared_flag
="$shared_flag "'${wl}-G'
14540 if test "$host_cpu" = ia64
; then
14541 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14542 # chokes on -Wl,-G. The following line is correct:
14545 if test "$aix_use_runtimelinking" = yes; then
14546 shared_flag
='${wl}-G'
14548 shared_flag
='${wl}-bM:SRE'
14553 # It seems that -bexpall does not export symbols beginning with
14554 # underscore (_), so it is better to generate a list of symbols to export.
14555 always_export_symbols_F77
=yes
14556 if test "$aix_use_runtimelinking" = yes; then
14557 # Warning - without using the other runtime loading flags (-brtl),
14558 # -berok will link without error, but may produce a broken library.
14559 allow_undefined_flag_F77
='-berok'
14560 # Determine the default libpath from the value encoded in an empty executable.
14561 cat > conftest.
$ac_ext <<_ACEOF
14566 if ac_fn_f77_try_link
"$LINENO"; then :
14568 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14570 # Check for a 64-bit object if we didn't find anything.
14571 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14574 rm -f core conftest.err conftest.
$ac_objext \
14575 conftest
$ac_exeext conftest.
$ac_ext
14576 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14578 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14579 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14581 if test "$host_cpu" = ia64; then
14582 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
14583 allow_undefined_flag_F77="-z nodefs"
14584 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
14586 # Determine the default libpath from the value encoded in an empty executable.
14587 cat > conftest.$ac_ext <<_ACEOF
14592 if ac_fn_f77_try_link "$LINENO"; then :
14594 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14596 # Check for a 64-bit object if we didn't find anything.
14597 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14600 rm -f core conftest.err conftest.$ac_objext \
14601 conftest$ac_exeext conftest.$ac_ext
14602 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
14604 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14605 # Warning - without using the other run time loading flags,
14606 # -berok will link without error, but may produce a broken library.
14607 no_undefined_flag_F77=' ${wl}-bernotok'
14608 allow_undefined_flag_F77=' ${wl}-berok'
14609 # -bexpall does not export symbols beginning with underscore (_)
14610 always_export_symbols_F77=yes
14611 # Exported symbols can be pulled into shared objects from archives
14612 whole_archive_flag_spec_F77=' '
14613 archive_cmds_need_lc_F77=yes
14614 # This is similar to how AIX traditionally builds it's shared libraries.
14615 archive_expsym_cmds_F77="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14621 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)'
14622 hardcode_libdir_flag_spec_F77
='-L$libdir'
14623 hardcode_minus_L_F77
=yes
14624 # see comment about different semantics on the GNU ld section
14629 export_dynamic_flag_spec_F77
=-rdynamic
14632 cygwin
* | mingw
* | pw32
*)
14633 # When not using gcc, we currently assume that we are using
14634 # Microsoft Visual C++.
14635 # hardcode_libdir_flag_spec is actually meaningless, as there is
14636 # no search path for DLLs.
14637 hardcode_libdir_flag_spec_F77
=' '
14638 allow_undefined_flag_F77
=unsupported
14639 # Tell ltmain to make .lib files, not .a files.
14641 # Tell ltmain to make .dll files, not .so files.
14643 # FIXME: Setting linknames here is a bad hack.
14644 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14645 # The linker will automatically build a .lib file if we build a DLL.
14646 old_archive_From_new_cmds_F77
='true'
14647 # FIXME: Should let the user specify the lib program.
14648 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14649 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14650 enable_shared_with_static_runtimes_F77
=yes
14653 darwin
* | rhapsody
*)
14655 rhapsody
* | darwin1.
[012])
14656 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14659 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14660 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14662 case ${MACOSX_DEPLOYMENT_TARGET} in
14664 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14667 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14673 archive_cmds_need_lc_F77
=no
14674 hardcode_direct_F77
=no
14675 hardcode_automatic_F77
=yes
14676 hardcode_shlibpath_var_F77
=unsupported
14677 whole_archive_flag_spec_F77
=''
14678 link_all_deplibs_F77
=yes
14679 if test "$GCC" = yes ; then
14680 output_verbose_link_cmd
='echo'
14681 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14682 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14683 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14684 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14685 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}'
14687 case $cc_basename in
14689 output_verbose_link_cmd
='echo'
14690 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14691 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14692 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
14693 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14694 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}'
14704 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14705 hardcode_libdir_flag_spec_F77
='-L$libdir'
14706 hardcode_shlibpath_var_F77
=no
14713 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14714 # support. Future versions do this automatically, but an explicit c++rt0.o
14715 # does not break anything, and helps significantly (at the cost of a little
14718 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14719 hardcode_libdir_flag_spec_F77
='-R$libdir'
14720 hardcode_direct_F77
=yes
14721 hardcode_shlibpath_var_F77
=no
14724 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14726 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14727 hardcode_direct_F77
=yes
14728 hardcode_minus_L_F77
=yes
14729 hardcode_shlibpath_var_F77
=no
14732 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14733 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
14734 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14735 hardcode_libdir_flag_spec_F77
='-R$libdir'
14736 hardcode_direct_F77
=yes
14737 hardcode_shlibpath_var_F77
=no
14741 if test "$GCC" = yes; then
14742 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'
14744 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'
14746 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14747 hardcode_libdir_separator_F77
=:
14748 hardcode_direct_F77
=yes
14750 # hardcode_minus_L: Not really in the search PATH,
14751 # but as the default location of the library.
14752 hardcode_minus_L_F77
=yes
14753 export_dynamic_flag_spec_F77
='${wl}-E'
14757 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14758 case "$host_cpu" in
14760 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14763 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14767 case "$host_cpu" in
14769 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
14772 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14776 if test "$with_gnu_ld" = no
; then
14777 case "$host_cpu" in
14779 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14780 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14781 hardcode_libdir_separator_F77
=:
14782 hardcode_direct_F77
=no
14783 hardcode_shlibpath_var_F77
=no
14786 hardcode_libdir_flag_spec_F77
='-L$libdir'
14787 hardcode_direct_F77
=no
14788 hardcode_shlibpath_var_F77
=no
14790 # hardcode_minus_L: Not really in the search PATH,
14791 # but as the default location of the library.
14792 hardcode_minus_L_F77
=yes
14795 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14796 hardcode_libdir_separator_F77
=:
14797 hardcode_direct_F77
=yes
14798 export_dynamic_flag_spec_F77
='${wl}-E'
14800 # hardcode_minus_L: Not really in the search PATH,
14801 # but as the default location of the library.
14802 hardcode_minus_L_F77
=yes
14808 irix5
* | irix6
* | nonstopux
*)
14809 if test "$GCC" = yes; then
14810 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'
14812 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'
14813 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14815 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14816 hardcode_libdir_separator_F77
=:
14817 link_all_deplibs_F77
=yes
14821 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14822 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14824 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14826 hardcode_libdir_flag_spec_F77
='-R$libdir'
14827 hardcode_direct_F77
=yes
14828 hardcode_shlibpath_var_F77
=no
14832 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14833 hardcode_direct_F77
=yes
14834 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14835 hardcode_libdir_separator_F77
=:
14836 hardcode_shlibpath_var_F77
=no
14840 hardcode_direct_F77
=yes
14841 hardcode_shlibpath_var_F77
=no
14842 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14843 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14844 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14845 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14846 export_dynamic_flag_spec_F77
='${wl}-E'
14849 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14850 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14851 hardcode_libdir_flag_spec_F77
='-R$libdir'
14854 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14855 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14862 hardcode_libdir_flag_spec_F77
='-L$libdir'
14863 hardcode_minus_L_F77
=yes
14864 allow_undefined_flag_F77
=unsupported
14865 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'
14866 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14870 if test "$GCC" = yes; then
14871 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14872 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'
14874 allow_undefined_flag_F77
=' -expect_unresolved \*'
14875 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'
14877 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14878 hardcode_libdir_separator_F77
=:
14881 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14882 if test "$GCC" = yes; then
14883 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14884 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'
14885 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14887 allow_undefined_flag_F77
=' -expect_unresolved \*'
14888 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'
14889 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~
14890 $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'
14892 # Both c and cxx compiler support -rpath directly
14893 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14895 hardcode_libdir_separator_F77
=:
14899 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14900 hardcode_shlibpath_var_F77
=no
14901 export_dynamic_flag_spec_F77
='${wl}-Bexport'
14902 runpath_var
=LD_RUN_PATH
14903 hardcode_runpath_var
=yes
14907 no_undefined_flag_F77
=' -z text'
14908 if test "$GCC" = yes; then
14910 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14911 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14912 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14915 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14916 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14917 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14919 hardcode_libdir_flag_spec_F77
='-R$libdir'
14920 hardcode_shlibpath_var_F77
=no
14922 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14924 # The compiler driver will combine linker options so we
14925 # cannot just pass the convience library names through
14926 # without $wl, iff we do not link with $LD.
14927 # Luckily, gcc supports the same syntax we need for Sun Studio.
14928 # Supported since Solaris 2.6 (maybe 2.5.1?)
14931 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
14933 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14936 link_all_deplibs_F77
=yes
14940 if test "x$host_vendor" = xsequent
; then
14941 # Use $CC to link under sequent, because it throws in some extra .o
14942 # files that make .init and .fini sections work.
14943 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14945 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14947 hardcode_libdir_flag_spec_F77
='-L$libdir'
14948 hardcode_direct_F77
=yes
14949 hardcode_minus_L_F77
=yes
14950 hardcode_shlibpath_var_F77
=no
14954 case $host_vendor in
14956 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14957 hardcode_direct_F77
=yes # is this really true???
14960 ## LD is ld it makes a PLAMLIB
14961 ## CC just makes a GrossModule.
14962 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14963 reload_cmds_F77
='$CC -r -o $output$reload_objs'
14964 hardcode_direct_F77
=no
14967 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14968 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
14971 runpath_var
='LD_RUN_PATH'
14972 hardcode_shlibpath_var_F77
=no
14976 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14977 hardcode_shlibpath_var_F77
=no
14978 export_dynamic_flag_spec_F77
='-Bexport'
14982 if test -d /usr
/nec
; then
14983 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14984 hardcode_shlibpath_var_F77
=no
14985 runpath_var
=LD_RUN_PATH
14986 hardcode_runpath_var
=yes
14992 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14993 hardcode_direct_F77
=yes
14994 hardcode_minus_L_F77
=no
14995 hardcode_shlibpath_var_F77
=no
14996 hardcode_runpath_var
=yes
14997 runpath_var
=LD_RUN_PATH
15000 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
15001 no_undefined_flag_F77
='${wl}-z ${wl}text'
15002 if test "$GCC" = yes; then
15003 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15005 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15007 runpath_var
='LD_RUN_PATH'
15008 hardcode_shlibpath_var_F77
=no
15012 no_undefined_flag_F77
=' -z text'
15013 # $CC -shared without GNU ld will not create a library from C++
15014 # object files and a static libstdc++, better avoid it by now
15015 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15016 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15017 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15018 hardcode_libdir_flag_spec_F77
=
15019 hardcode_shlibpath_var_F77
=no
15020 runpath_var
='LD_RUN_PATH'
15024 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15025 hardcode_libdir_flag_spec_F77
='-L$libdir'
15026 hardcode_shlibpath_var_F77
=no
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
15036 $as_echo "$ld_shlibs_F77" >&6; }
15037 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15039 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15040 if test "$GCC" = yes; then
15041 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15045 # Do we need to explicitly link libc?
15047 case "x$archive_cmds_need_lc_F77" in
15049 # Assume -lc should be added
15050 archive_cmds_need_lc_F77
=yes
15052 if test "$enable_shared" = yes && test "$GCC" = yes; then
15053 case $archive_cmds_F77 in
15055 # FIXME: we may have to deal with multi-command sequences.
15058 # Test whether the compiler implicitly links with -lc since on some
15059 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15060 # to ld, don't add -lc before -lgcc.
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15062 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15064 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15067 (eval $ac_compile) 2>&5
15069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15070 test $ac_status = 0; } 2>conftest.err
; then
15073 libobjs
=conftest.
$ac_objext
15075 wl
=$lt_prog_compiler_wl_F77
15081 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15082 allow_undefined_flag_F77
=
15083 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15084 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15087 test $ac_status = 0; }
15089 archive_cmds_need_lc_F77
=no
15091 archive_cmds_need_lc_F77
=yes
15093 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15095 cat conftest.err
1>&5
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_F77" >&5
15099 $as_echo "$archive_cmds_need_lc_F77" >&6; }
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15107 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15108 library_names_spec
=
15109 libname_spec
='lib$name'
15113 postuninstall_cmds
=
15117 shlibpath_overrides_runpath
=unknown
15119 dynamic_linker
="$host_os ld.so"
15120 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15121 if test "$GCC" = yes; then
15122 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15123 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15124 # if the path contains ";" then we assume it to be the separator
15125 # otherwise default to the standard path separator (i.e. ":") - it is
15126 # assumed that no part of a normal pathname contains ";" but that should
15127 # okay in the real world where ";" in dirpaths is itself problematic.
15128 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15130 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15133 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15135 need_lib_prefix
=unknown
15136 hardcode_into_libs
=no
15138 # when you set need_version to no, make sure it does not cause -set_version
15139 # flags to be left without arguments
15140 need_version
=unknown
15145 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15146 shlibpath_var
=LIBPATH
15148 # AIX 3 has no versioning support, so we append a major version to the name.
15149 soname_spec
='${libname}${release}${shared_ext}$major'
15156 hardcode_into_libs
=yes
15157 if test "$host_cpu" = ia64
; then
15158 # AIX 5 supports IA64
15159 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15160 shlibpath_var
=LD_LIBRARY_PATH
15162 # With GCC up to 2.95.x, collect2 would create an import file
15163 # for dependence libraries. The import file would start with
15164 # the line `#! .'. This would cause the generated library to
15165 # depend on `.', always an invalid library. This was fixed in
15166 # development snapshots of GCC prior to 3.0.
15168 aix4 | aix4.
[01] | aix4.
[01].
*)
15169 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15171 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15174 can_build_shared
=no
15178 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15179 # soname into executable. Probably we can add versioning support to
15180 # collect2, so additional links can be useful in future.
15181 if test "$aix_use_runtimelinking" = yes; then
15182 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15183 # instead of lib<name>.a to let people know that these are not
15184 # typical AIX shared libraries.
15185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15187 # We preserve .a as extension for shared libraries through AIX4.2
15188 # and later when we are not doing run time linking.
15189 library_names_spec
='${libname}${release}.a $libname.a'
15190 soname_spec
='${libname}${release}${shared_ext}$major'
15192 shlibpath_var
=LIBPATH
15197 library_names_spec
='$libname.ixlibrary $libname.a'
15198 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15199 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'
15203 library_names_spec
='${libname}${shared_ext}'
15204 dynamic_linker
="$host_os ld.so"
15205 shlibpath_var
=LIBRARY_PATH
15211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15212 soname_spec
='${libname}${release}${shared_ext}$major'
15213 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15214 shlibpath_var
=LD_LIBRARY_PATH
15215 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15216 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15217 # the default ld.so.conf also contains /usr/contrib/lib and
15218 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15219 # libtool to hard-code these into programs
15222 cygwin
* | mingw
* | pw32
*)
15223 version_type
=windows
15228 case $GCC,$host_os in
15229 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15230 library_names_spec
='$libname.dll.a'
15231 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15232 postinstall_cmds
='base_file=`basename \${file}`~
15233 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15234 dldir=$destdir/`dirname \$dlpath`~
15235 test -d \$dldir || mkdir -p \$dldir~
15236 $install_prog $dir/$dlname \$dldir/$dlname'
15237 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15238 dlpath=$dir/\$dldll~
15240 shlibpath_overrides_runpath
=yes
15244 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15245 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15246 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15249 # MinGW DLLs use traditional 'lib' prefix
15250 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15251 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15252 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15253 # It is most probably a Windows format PATH printed by
15254 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15255 # path with ; separators, and with drive letters. We can handle the
15256 # drive letters (cygwin fileutils understands them), so leave them,
15257 # especially as we might pass files found there to a mingw objdump,
15258 # which wouldn't understand a cygwinified path. Ahh.
15259 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15261 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15265 # pw32 DLLs use 'pw' prefix rather than 'lib'
15266 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15272 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15275 dynamic_linker
='Win32 ld.exe'
15276 # FIXME: first we should search . and the directory the executable is in
15280 darwin
* | rhapsody
*)
15281 dynamic_linker
="$host_os dyld"
15282 version_type
=darwin
15285 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15286 soname_spec
='${libname}${release}${major}$shared_ext'
15287 shlibpath_overrides_runpath
=yes
15288 shlibpath_var
=DYLD_LIBRARY_PATH
15289 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
15290 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15291 if test "$GCC" = yes; then
15292 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15294 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15296 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15304 soname_spec
='${libname}${release}${shared_ext}$major'
15305 shlibpath_var
=LD_LIBRARY_PATH
15316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15317 soname_spec
='${libname}${release}${shared_ext}$major'
15318 shlibpath_var
=LD_LIBRARY_PATH
15319 shlibpath_overrides_runpath
=no
15320 hardcode_into_libs
=yes
15321 dynamic_linker
='GNU ld.so'
15324 freebsd
* | dragonfly
*)
15325 # DragonFly does not have aout. When/if they implement a new
15326 # versioning mechanism, adjust this.
15327 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15328 version_type
=freebsd-
$objformat
15329 case $version_type in
15331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15336 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15340 shlibpath_var
=LD_LIBRARY_PATH
15343 shlibpath_overrides_runpath
=yes
15345 freebsd3.
[01]* | freebsdelf3.
[01]*)
15346 shlibpath_overrides_runpath
=yes
15347 hardcode_into_libs
=yes
15350 shlibpath_overrides_runpath
=no
15351 hardcode_into_libs
=yes
15360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15361 soname_spec
='${libname}${release}${shared_ext}$major'
15362 shlibpath_var
=LD_LIBRARY_PATH
15363 hardcode_into_libs
=yes
15366 hpux9
* | hpux10
* | hpux11
*)
15367 # Give a soname corresponding to the major version so that dld.sl refuses to
15368 # link against other versions.
15372 case "$host_cpu" in
15375 hardcode_into_libs
=yes
15376 dynamic_linker
="$host_os dld.so"
15377 shlibpath_var
=LD_LIBRARY_PATH
15378 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15380 soname_spec
='${libname}${release}${shared_ext}$major'
15381 if test "X$HPUX_IA64_MODE" = X32
; then
15382 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15384 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15386 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15390 hardcode_into_libs
=yes
15391 dynamic_linker
="$host_os dld.sl"
15392 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15393 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15395 soname_spec
='${libname}${release}${shared_ext}$major'
15396 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15397 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15401 dynamic_linker
="$host_os dld.sl"
15402 shlibpath_var
=SHLIB_PATH
15403 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15405 soname_spec
='${libname}${release}${shared_ext}$major'
15408 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15409 postinstall_cmds
='chmod 555 $lib'
15412 irix5
* | irix6
* | nonstopux
*)
15414 nonstopux
*) version_type
=nonstopux
;;
15416 if test "$lt_cv_prog_gnu_ld" = yes; then
15424 soname_spec
='${libname}${release}${shared_ext}$major'
15425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15427 irix5
* | nonstopux
*)
15428 libsuff
= shlibsuff
=
15431 case $LD in # libtool.m4 will add one of these switches to LD
15432 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15433 libsuff
= shlibsuff
= libmagic
=32-bit;;
15434 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15435 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15436 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15437 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15438 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15442 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15443 shlibpath_overrides_runpath
=no
15444 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15445 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15446 hardcode_into_libs
=yes
15449 # No shared lib support for Linux oldld, aout, or coff.
15450 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15454 # This must be Linux ELF.
15459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15460 soname_spec
='${libname}${release}${shared_ext}$major'
15461 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15462 shlibpath_var
=LD_LIBRARY_PATH
15463 shlibpath_overrides_runpath
=no
15464 # This implies no fast_install, which is unacceptable.
15465 # Some rework will be needed to allow for fast_install
15466 # before this can be enabled.
15467 hardcode_into_libs
=yes
15469 # find out which ABI we are using
15471 case "$host_cpu" in
15472 x86_64
*|s390x
*|powerpc64
*)
15473 echo '#line 15473 "configure"' > conftest.
$ac_ext
15474 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15475 (eval $ac_compile) 2>&5
15477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15478 test $ac_status = 0; }; then
15479 case `/usr/bin/file conftest.$ac_objext` in
15482 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15490 # Append ld.so.conf contents to the search path
15491 if test -f /etc
/ld.so.conf
; then
15492 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15493 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15496 # We used to test for /lib/ld.so.1 and disable shared libraries on
15497 # powerpc, because MkLinux only supported shared libraries with the
15498 # GNU dynamic linker. Since this was broken with cross compilers,
15499 # most powerpc-linux boxes support dynamic linking these days and
15500 # people can always --disable-shared, the test was removed, and we
15501 # assume the GNU/Linux dynamic linker is in use.
15502 dynamic_linker
='GNU/Linux ld.so'
15509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15510 soname_spec
='${libname}${release}${shared_ext}$major'
15511 shlibpath_var
=LD_LIBRARY_PATH
15512 shlibpath_overrides_runpath
=no
15513 hardcode_into_libs
=yes
15514 dynamic_linker
='GNU ld.so'
15521 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15523 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15524 dynamic_linker
='NetBSD (a.out) ld.so'
15526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15527 soname_spec
='${libname}${release}${shared_ext}$major'
15528 dynamic_linker
='NetBSD ld.elf_so'
15530 shlibpath_var
=LD_LIBRARY_PATH
15531 shlibpath_overrides_runpath
=yes
15532 hardcode_into_libs
=yes
15537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15538 shlibpath_var
=LD_LIBRARY_PATH
15539 shlibpath_overrides_runpath
=yes
15546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15547 soname_spec
='${libname}${release}${shared_ext}$major'
15548 shlibpath_var
=LD_LIBRARY_PATH
15549 shlibpath_overrides_runpath
=yes
15556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15557 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15558 shlibpath_var
=LD_LIBRARY_PATH
15559 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15561 openbsd2.
[89] | openbsd2.
[89].
*)
15562 shlibpath_overrides_runpath
=no
15565 shlibpath_overrides_runpath
=yes
15569 shlibpath_overrides_runpath
=yes
15574 libname_spec
='$name'
15577 library_names_spec
='$libname${shared_ext} $libname.a'
15578 dynamic_linker
='OS/2 ld.exe'
15579 shlibpath_var
=LIBPATH
15582 osf3
* | osf4
* | osf5
*)
15586 soname_spec
='${libname}${release}${shared_ext}$major'
15587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15588 shlibpath_var
=LD_LIBRARY_PATH
15589 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15590 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15595 soname_spec
='${libname}${release}${shared_ext}$major'
15596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15597 shlibpath_var
=LD_LIBRARY_PATH
15604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15605 soname_spec
='${libname}${release}${shared_ext}$major'
15606 shlibpath_var
=LD_LIBRARY_PATH
15607 shlibpath_overrides_runpath
=yes
15608 hardcode_into_libs
=yes
15609 # ldd complains unless libraries are executable
15610 postinstall_cmds
='chmod +x $lib'
15615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15616 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15617 shlibpath_var
=LD_LIBRARY_PATH
15618 shlibpath_overrides_runpath
=yes
15619 if test "$with_gnu_ld" = yes; then
15625 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15628 soname_spec
='${libname}${release}${shared_ext}$major'
15629 shlibpath_var
=LD_LIBRARY_PATH
15630 case $host_vendor in
15632 shlibpath_overrides_runpath
=no
15634 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15635 runpath_var
=LD_RUN_PATH
15643 shlibpath_overrides_runpath
=no
15644 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15650 if test -d /usr
/nec
;then
15652 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15653 soname_spec
='$libname${shared_ext}.$major'
15654 shlibpath_var
=LD_LIBRARY_PATH
15660 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15661 soname_spec
='${libname}${release}${shared_ext}$major'
15662 shlibpath_var
=LD_LIBRARY_PATH
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15670 $as_echo "$dynamic_linker" >&6; }
15671 test "$dynamic_linker" = no
&& can_build_shared
=no
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15674 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15675 hardcode_action_F77
=
15676 if test -n "$hardcode_libdir_flag_spec_F77" || \
15677 test -n "$runpath_var_F77" || \
15678 test "X$hardcode_automatic_F77" = "Xyes" ; then
15680 # We can hardcode non-existant directories.
15681 if test "$hardcode_direct_F77" != no
&&
15682 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15683 # have to relink, otherwise we might link with an installed library
15684 # when we should be linking with a yet-to-be-installed one
15685 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15686 test "$hardcode_minus_L_F77" != no
; then
15687 # Linking always hardcodes the temporary library directory.
15688 hardcode_action_F77
=relink
15690 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15691 hardcode_action_F77
=immediate
15694 # We cannot hardcode anything, or else we can only hardcode existing
15696 hardcode_action_F77
=unsupported
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
15699 $as_echo "$hardcode_action_F77" >&6; }
15701 if test "$hardcode_action_F77" = relink
; then
15702 # Fast installation is not supported
15703 enable_fast_install
=no
15704 elif test "$shlibpath_overrides_runpath" = yes ||
15705 test "$enable_shared" = no
; then
15706 # Fast installation is not necessary
15707 enable_fast_install
=needless
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
15713 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
15714 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
15715 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
15716 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15718 $as_echo "yes" >&6; }
15720 # FIXME - insert some real tests, host_os isn't really good enough
15723 if test -n "$STRIP" ; then
15724 striplib
="$STRIP -x"
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15726 $as_echo "yes" >&6; }
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15729 $as_echo "no" >&6; }
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15734 $as_echo "no" >&6; }
15741 # The else clause should only fire when bootstrapping the
15742 # libtool distribution, otherwise you forgot to ship ltmain.sh
15743 # with your package, and you will get complaints that there are
15744 # no rules to generate ltmain.sh.
15745 if test -f "$ltmain"; then
15746 # See if we are running on zsh, and set the options which allow our commands through
15747 # without removal of \ escapes.
15748 if test -n "${ZSH_VERSION+set}" ; then
15749 setopt NO_GLOB_SUBST
15751 # Now quote all the things that may contain metacharacters while being
15752 # careful not to overquote the AC_SUBSTed values. We take copies of the
15753 # variables and quote the copies for generation of the libtool script.
15754 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
15756 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15757 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15758 deplibs_check_method reload_flag reload_cmds need_locks \
15759 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15760 lt_cv_sys_global_symbol_to_c_name_address \
15761 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15762 old_postinstall_cmds old_postuninstall_cmds \
15766 lt_prog_compiler_wl_F77 \
15767 lt_prog_compiler_pic_F77 \
15768 lt_prog_compiler_static_F77 \
15769 lt_prog_compiler_no_builtin_flag_F77 \
15770 export_dynamic_flag_spec_F77 \
15771 thread_safe_flag_spec_F77 \
15772 whole_archive_flag_spec_F77 \
15773 enable_shared_with_static_runtimes_F77 \
15774 old_archive_cmds_F77 \
15775 old_archive_from_new_cmds_F77 \
15776 predep_objects_F77 \
15777 postdep_objects_F77 \
15780 compiler_lib_search_path_F77 \
15782 archive_expsym_cmds_F77 \
15783 postinstall_cmds_F77 \
15784 postuninstall_cmds_F77 \
15785 old_archive_from_expsyms_cmds_F77 \
15786 allow_undefined_flag_F77 \
15787 no_undefined_flag_F77 \
15788 export_symbols_cmds_F77 \
15789 hardcode_libdir_flag_spec_F77 \
15790 hardcode_libdir_flag_spec_ld_F77 \
15791 hardcode_libdir_separator_F77 \
15792 hardcode_automatic_F77 \
15794 module_expsym_cmds_F77 \
15795 lt_cv_prog_compiler_c_o_F77 \
15796 exclude_expsyms_F77 \
15797 include_expsyms_F77
; do
15800 old_archive_cmds_F77 | \
15801 old_archive_from_new_cmds_F77 | \
15802 archive_cmds_F77 | \
15803 archive_expsym_cmds_F77 | \
15804 module_cmds_F77 | \
15805 module_expsym_cmds_F77 | \
15806 old_archive_from_expsyms_cmds_F77 | \
15807 export_symbols_cmds_F77 | \
15808 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15809 postinstall_cmds | postuninstall_cmds | \
15810 old_postinstall_cmds | old_postuninstall_cmds | \
15811 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15812 # Double-quote double-evaled strings.
15813 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15816 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15822 *'\$0 --fallback-echo"')
15823 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15829 cat <<__EOF__ >> "$cfgfile"
15830 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15832 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15834 # Shell to use when invoking shell scripts.
15837 # Whether or not to build shared libraries.
15838 build_libtool_libs=$enable_shared
15840 # Whether or not to build static libraries.
15841 build_old_libs=$enable_static
15843 # Whether or not to add -lc for building shared libraries.
15844 build_libtool_need_lc=$archive_cmds_need_lc_F77
15846 # Whether or not to disallow shared libs when runtime libs are static
15847 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15849 # Whether or not to optimize for fast installation.
15850 fast_install=$enable_fast_install
15853 host_alias=$host_alias
15857 # The build system.
15858 build_alias=$build_alias
15862 # An echo program that does not interpret backslashes.
15867 AR_FLAGS=$lt_AR_FLAGS
15872 # A language-specific compiler.
15873 CC=$lt_compiler_F77
15875 # Is the compiler the GNU C compiler?
15881 # The linker used to build libraries.
15884 # Whether we need hard or soft links.
15887 # A BSD-compatible nm program.
15890 # A symbol stripping program
15893 # Used to examine libraries when file_magic_cmd begins "file"
15894 MAGIC_CMD=$MAGIC_CMD
15896 # Used on cygwin: DLL creation program.
15899 # Used on cygwin: object dumper.
15902 # Used on cygwin: assembler.
15905 # The name of the directory that contains temporary libtool files.
15908 # How to create reloadable object files.
15909 reload_flag=$lt_reload_flag
15910 reload_cmds=$lt_reload_cmds
15912 # How to pass a linker flag through the compiler.
15913 wl=$lt_lt_prog_compiler_wl_F77
15915 # Object file suffix (normally "o").
15916 objext="$ac_objext"
15918 # Old archive suffix (normally "a").
15921 # Shared library suffix (normally ".so").
15922 shrext_cmds='$shrext_cmds'
15924 # Executable file suffix (normally "").
15927 # Additional compiler flags for building library objects.
15928 pic_flag=$lt_lt_prog_compiler_pic_F77
15931 # What is the maximum length of a command?
15932 max_cmd_len=$lt_cv_sys_max_cmd_len
15934 # Does compiler simultaneously support -c and -o options?
15935 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15937 # Must we lock files when doing compilation?
15938 need_locks=$lt_need_locks
15940 # Do we need the lib prefix for modules?
15941 need_lib_prefix=$need_lib_prefix
15943 # Do we need a version for libraries?
15944 need_version=$need_version
15946 # Whether dlopen is supported.
15947 dlopen_support=$enable_dlopen
15949 # Whether dlopen of programs is supported.
15950 dlopen_self=$enable_dlopen_self
15952 # Whether dlopen of statically linked programs is supported.
15953 dlopen_self_static=$enable_dlopen_self_static
15955 # Compiler flag to prevent dynamic linking.
15956 link_static_flag=$lt_lt_prog_compiler_static_F77
15958 # Compiler flag to turn off builtin functions.
15959 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
15961 # Compiler flag to allow reflexive dlopens.
15962 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
15964 # Compiler flag to generate shared objects directly from archives.
15965 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
15967 # Compiler flag to generate thread-safe objects.
15968 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
15970 # Library versioning type.
15971 version_type=$version_type
15973 # Format of library name prefix.
15974 libname_spec=$lt_libname_spec
15976 # List of archive names. First name is the real one, the rest are links.
15977 # The last name is the one that the linker finds with -lNAME.
15978 library_names_spec=$lt_library_names_spec
15980 # The coded name of the library, if different from the real name.
15981 soname_spec=$lt_soname_spec
15983 # Commands used to build and install an old-style archive.
15985 old_archive_cmds=$lt_old_archive_cmds_F77
15986 old_postinstall_cmds=$lt_old_postinstall_cmds
15987 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15989 # Create an old-style archive from a shared archive.
15990 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
15992 # Create a temporary old-style archive to link instead of a shared archive.
15993 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
15995 # Commands used to build and install a shared archive.
15996 archive_cmds=$lt_archive_cmds_F77
15997 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
15998 postinstall_cmds=$lt_postinstall_cmds
15999 postuninstall_cmds=$lt_postuninstall_cmds
16001 # Commands used to build a loadable module (assumed same as above if empty)
16002 module_cmds=$lt_module_cmds_F77
16003 module_expsym_cmds=$lt_module_expsym_cmds_F77
16005 # Commands to strip libraries.
16006 old_striplib=$lt_old_striplib
16007 striplib=$lt_striplib
16009 # Dependencies to place before the objects being linked to create a
16011 predep_objects=$lt_predep_objects_F77
16013 # Dependencies to place after the objects being linked to create a
16015 postdep_objects=$lt_postdep_objects_F77
16017 # Dependencies to place before the objects being linked to create a
16019 predeps=$lt_predeps_F77
16021 # Dependencies to place after the objects being linked to create a
16023 postdeps=$lt_postdeps_F77
16025 # The library search path used internally by the compiler when linking
16026 # a shared library.
16027 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16029 # Method to check whether dependent libraries are shared objects.
16030 deplibs_check_method=$lt_deplibs_check_method
16032 # Command to use when deplibs_check_method == file_magic.
16033 file_magic_cmd=$lt_file_magic_cmd
16035 # Flag that allows shared libraries with undefined symbols to be built.
16036 allow_undefined_flag=$lt_allow_undefined_flag_F77
16038 # Flag that forces no undefined symbols.
16039 no_undefined_flag=$lt_no_undefined_flag_F77
16041 # Commands used to finish a libtool library installation in a directory.
16042 finish_cmds=$lt_finish_cmds
16044 # Same as above, but a single script fragment to be evaled but not shown.
16045 finish_eval=$lt_finish_eval
16047 # Take the output of nm and produce a listing of raw symbols and C names.
16048 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16050 # Transform the output of nm in a proper C declaration
16051 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16053 # Transform the output of nm in a C name address pair
16054 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16056 # This is the shared library runtime path variable.
16057 runpath_var=$runpath_var
16059 # This is the shared library path variable.
16060 shlibpath_var=$shlibpath_var
16062 # Is shlibpath searched before the hard-coded library search path?
16063 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16065 # How to hardcode a shared library path into an executable.
16066 hardcode_action=$hardcode_action_F77
16068 # Whether we should hardcode library paths into libraries.
16069 hardcode_into_libs=$hardcode_into_libs
16071 # Flag to hardcode \$libdir into a binary during linking.
16072 # This must work even if \$libdir does not exist.
16073 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16075 # If ld is used when linking, flag to hardcode \$libdir into
16076 # a binary during linking. This must work even if \$libdir does
16078 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16080 # Whether we need a single -rpath flag with a separated argument.
16081 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16083 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16084 # resulting binary.
16085 hardcode_direct=$hardcode_direct_F77
16087 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16088 # resulting binary.
16089 hardcode_minus_L=$hardcode_minus_L_F77
16091 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16092 # the resulting binary.
16093 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16095 # Set to yes if building a shared library automatically hardcodes DIR into the library
16096 # and all subsequent libraries and executables linked against it.
16097 hardcode_automatic=$hardcode_automatic_F77
16099 # Variables whose values should be saved in libtool wrapper scripts and
16100 # restored at relink time.
16101 variables_saved_for_relink="$variables_saved_for_relink"
16103 # Whether libtool must link a program against all its dependency libraries.
16104 link_all_deplibs=$link_all_deplibs_F77
16106 # Compile-time system search path for libraries
16107 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16109 # Run-time system search path for libraries
16110 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16112 # Fix the shell variable \$srcfile for the compiler.
16113 fix_srcfile_path="$fix_srcfile_path_F77"
16115 # Set to yes if exported symbols are required.
16116 always_export_symbols=$always_export_symbols_F77
16118 # The commands to list exported symbols.
16119 export_symbols_cmds=$lt_export_symbols_cmds_F77
16121 # The commands to extract the exported symbol list from a shared archive.
16122 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16124 # Symbols that should not be listed in the preloaded symbols.
16125 exclude_expsyms=$lt_exclude_expsyms_F77
16127 # Symbols that must always be exported.
16128 include_expsyms=$lt_include_expsyms_F77
16130 # ### END LIBTOOL TAG CONFIG: $tagname
16136 # If there is no Makefile yet, we rely on a make rule to execute
16137 # `config.status --recheck' to rerun these tests and create the
16138 # libtool script then.
16139 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16140 if test -f "$ltmain_in"; then
16141 test -f Makefile
&& make "$ltmain"
16147 ac_cpp
='$CPP $CPPFLAGS'
16148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16160 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16163 # Source file extension for Java test sources.
16166 # Object file extension for compiled Java test sources.
16170 # Code to be used in simple compile tests
16171 lt_simple_compile_test_code
="class foo {}\n"
16173 # Code to be used in simple link tests
16174 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16176 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16178 # If no C compiler was specified, use CC.
16181 # Allow CC to be a program name with arguments.
16185 # save warnings/boilerplate of simple test code
16186 ac_outfile
=conftest.
$ac_objext
16187 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16188 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
16189 _lt_compiler_boilerplate
=`cat conftest.err`
16192 ac_outfile
=conftest.
$ac_objext
16193 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16194 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
16195 _lt_linker_boilerplate
=`cat conftest.err`
16199 # Allow CC to be a program name with arguments.
16204 for cc_temp
in $compiler""; do
16206 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16207 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16212 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16215 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16216 archive_cmds_need_lc_GCJ
=no
16218 old_archive_cmds_GCJ
=$old_archive_cmds
16221 ## There is no encapsulation within the following macros, do not change
16222 ## the running order or otherwise move them around unless you know exactly
16223 ## what you are doing...
16225 lt_prog_compiler_no_builtin_flag_GCJ
=
16227 if test "$GCC" = yes; then
16228 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16232 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
16233 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
16234 $as_echo_n "(cached) " >&6
16236 lt_cv_prog_compiler_rtti_exceptions
=no
16237 ac_outfile
=conftest.
$ac_objext
16238 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16239 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16240 # Insert the option either (1) after the last *FLAGS variable, or
16241 # (2) before a word containing "conftest.", or (3) at the end.
16242 # Note that $ac_compile itself does not contain backslashes and begins
16243 # with a dollar sign (not a hyphen), so the echo should work correctly.
16244 # The option is referenced via a variable to avoid confusing sed.
16245 lt_compile
=`echo "$ac_compile" | $SED \
16246 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16247 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16248 -e 's:$: $lt_compiler_flag:'`
16249 (eval echo "\"\$as_me:16249: $lt_compile\"" >&5)
16250 (eval "$lt_compile" 2>conftest.err
)
16252 cat conftest.err
>&5
16253 echo "$as_me:16253: \$? = $ac_status" >&5
16254 if (exit $ac_status) && test -s "$ac_outfile"; then
16255 # The compiler can only warn and ignore the option if not recognized
16256 # So say no if there are warnings other than the usual output.
16257 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
16258 $SED '/^$/d' conftest.err
>conftest.er2
16259 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16260 lt_cv_prog_compiler_rtti_exceptions
=yes
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16267 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16269 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16270 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16277 lt_prog_compiler_wl_GCJ
=
16278 lt_prog_compiler_pic_GCJ
=
16279 lt_prog_compiler_static_GCJ
=
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16282 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16284 if test "$GCC" = yes; then
16285 lt_prog_compiler_wl_GCJ
='-Wl,'
16286 lt_prog_compiler_static_GCJ
='-static'
16290 # All AIX code is PIC.
16291 if test "$host_cpu" = ia64
; then
16292 # AIX 5 now supports IA64 processor
16293 lt_prog_compiler_static_GCJ
='-Bstatic'
16298 # FIXME: we need at least 68020 code to build shared libraries, but
16299 # adding the `-m68020' flag to GCC prevents building anything better,
16301 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16304 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16305 # PIC is the default for these OSes.
16308 mingw
* | pw32
* | os2
*)
16309 # This hack is so that the source file can tell whether it is being
16310 # built for inclusion in a dll (and should export symbols for example).
16311 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16314 darwin
* | rhapsody
*)
16315 # PIC is the default on this platform
16316 # Common symbols not allowed in MH_DYLIB files
16317 lt_prog_compiler_pic_GCJ
='-fno-common'
16321 # Just because we use GCC doesn't mean we suddenly get shared libraries
16322 # on systems that don't support them.
16323 lt_prog_compiler_can_build_shared_GCJ
=no
16328 if test -d /usr
/nec
; then
16329 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16334 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16335 # not for PA HP-UX.
16336 case "$host_cpu" in
16341 lt_prog_compiler_pic_GCJ
='-fPIC'
16347 lt_prog_compiler_pic_GCJ
='-fPIC'
16351 # PORTME Check for flag to pass linker flags through the system compiler.
16354 lt_prog_compiler_wl_GCJ
='-Wl,'
16355 if test "$host_cpu" = ia64
; then
16356 # AIX 5 now supports IA64 processor
16357 lt_prog_compiler_static_GCJ
='-Bstatic'
16359 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16363 # PIC is the default on this platform
16364 # Common symbols not allowed in MH_DYLIB files
16365 case $cc_basename in
16367 lt_prog_compiler_pic_GCJ
='-qnocommon'
16368 lt_prog_compiler_wl_GCJ
='-Wl,'
16373 mingw
* | pw32
* | os2
*)
16374 # This hack is so that the source file can tell whether it is being
16375 # built for inclusion in a dll (and should export symbols for example).
16376 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16379 hpux9
* | hpux10
* | hpux11
*)
16380 lt_prog_compiler_wl_GCJ
='-Wl,'
16381 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16382 # not for PA HP-UX.
16383 case "$host_cpu" in
16388 lt_prog_compiler_pic_GCJ
='+Z'
16391 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16392 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16395 irix5
* | irix6
* | nonstopux
*)
16396 lt_prog_compiler_wl_GCJ
='-Wl,'
16397 # PIC (with -KPIC) is the default.
16398 lt_prog_compiler_static_GCJ
='-non_shared'
16402 lt_prog_compiler_pic_GCJ
='-KPIC'
16403 lt_prog_compiler_static_GCJ
='-Bstatic'
16407 case $cc_basename in
16409 lt_prog_compiler_wl_GCJ
='-Wl,'
16410 lt_prog_compiler_pic_GCJ
='-KPIC'
16411 lt_prog_compiler_static_GCJ
='-static'
16413 pgcc
* | pgf77
* | pgf90
*)
16414 # Portland Group compilers (*not* the Pentium gcc compiler,
16415 # which looks to be a dead project)
16416 lt_prog_compiler_wl_GCJ
='-Wl,'
16417 lt_prog_compiler_pic_GCJ
='-fpic'
16418 lt_prog_compiler_static_GCJ
='-static'
16421 lt_prog_compiler_wl_GCJ
='-Wl,'
16422 # All Alpha code is PIC.
16423 lt_prog_compiler_static_GCJ
='-non_shared'
16428 osf3
* | osf4
* | osf5
*)
16429 lt_prog_compiler_wl_GCJ
='-Wl,'
16430 # All OSF/1 code is PIC.
16431 lt_prog_compiler_static_GCJ
='-non_shared'
16435 lt_prog_compiler_pic_GCJ
='-Kpic'
16436 lt_prog_compiler_static_GCJ
='-dn'
16440 lt_prog_compiler_pic_GCJ
='-KPIC'
16441 lt_prog_compiler_static_GCJ
='-Bstatic'
16442 case $cc_basename in
16443 f77
* | f90
* | f95
*)
16444 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16446 lt_prog_compiler_wl_GCJ
='-Wl,';;
16451 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16452 lt_prog_compiler_pic_GCJ
='-PIC'
16453 lt_prog_compiler_static_GCJ
='-Bstatic'
16456 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16457 lt_prog_compiler_wl_GCJ
='-Wl,'
16458 lt_prog_compiler_pic_GCJ
='-KPIC'
16459 lt_prog_compiler_static_GCJ
='-Bstatic'
16463 if test -d /usr
/nec
;then
16464 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16465 lt_prog_compiler_static_GCJ
='-Bstatic'
16470 lt_prog_compiler_wl_GCJ
='-Wl,'
16471 lt_prog_compiler_can_build_shared_GCJ
=no
16475 lt_prog_compiler_pic_GCJ
='-pic'
16476 lt_prog_compiler_static_GCJ
='-Bstatic'
16480 lt_prog_compiler_can_build_shared_GCJ
=no
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
16486 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
16489 # Check to make sure the PIC flag actually works.
16491 if test -n "$lt_prog_compiler_pic_GCJ"; then
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16494 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
16495 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then :
16496 $as_echo_n "(cached) " >&6
16498 lt_prog_compiler_pic_works_GCJ
=no
16499 ac_outfile
=conftest.
$ac_objext
16500 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16501 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16502 # Insert the option either (1) after the last *FLAGS variable, or
16503 # (2) before a word containing "conftest.", or (3) at the end.
16504 # Note that $ac_compile itself does not contain backslashes and begins
16505 # with a dollar sign (not a hyphen), so the echo should work correctly.
16506 # The option is referenced via a variable to avoid confusing sed.
16507 lt_compile
=`echo "$ac_compile" | $SED \
16508 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16509 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16510 -e 's:$: $lt_compiler_flag:'`
16511 (eval echo "\"\$as_me:16511: $lt_compile\"" >&5)
16512 (eval "$lt_compile" 2>conftest.err
)
16514 cat conftest.err
>&5
16515 echo "$as_me:16515: \$? = $ac_status" >&5
16516 if (exit $ac_status) && test -s "$ac_outfile"; then
16517 # The compiler can only warn and ignore the option if not recognized
16518 # So say no if there are warnings other than the usual output.
16519 $echo "X$_lt_compiler_boilerplate" |
$Xsed >conftest.exp
16520 $SED '/^$/d' conftest.err
>conftest.er2
16521 if test ! -s conftest.err ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16522 lt_prog_compiler_pic_works_GCJ
=yes
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_GCJ" >&5
16529 $as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; }
16531 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16532 case $lt_prog_compiler_pic_GCJ in
16534 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16537 lt_prog_compiler_pic_GCJ
=
16538 lt_prog_compiler_can_build_shared_GCJ
=no
16543 # For platforms which do not support PIC, -DPIC is meaningless:
16545 lt_prog_compiler_pic_GCJ
=
16548 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16553 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16554 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
16555 $as_echo_n "(cached) " >&6
16557 lt_cv_prog_compiler_c_o_GCJ
=no
16558 $rm -r conftest
2>/dev
/null
16562 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16564 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16565 # Insert the option either (1) after the last *FLAGS variable, or
16566 # (2) before a word containing "conftest.", or (3) at the end.
16567 # Note that $ac_compile itself does not contain backslashes and begins
16568 # with a dollar sign (not a hyphen), so the echo should work correctly.
16569 lt_compile
=`echo "$ac_compile" | $SED \
16570 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16571 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16572 -e 's:$: $lt_compiler_flag:'`
16573 (eval echo "\"\$as_me:16573: $lt_compile\"" >&5)
16574 (eval "$lt_compile" 2>out
/conftest.err
)
16576 cat out
/conftest.err
>&5
16577 echo "$as_me:16577: \$? = $ac_status" >&5
16578 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16580 # The compiler can only warn and ignore the option if not recognized
16581 # So say no if there are warnings
16582 $echo "X$_lt_compiler_boilerplate" |
$Xsed > out
/conftest.exp
16583 $SED '/^$/d' out
/conftest.err
>out
/conftest.er2
16584 if test ! -s out
/conftest.err ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16585 lt_cv_prog_compiler_c_o_GCJ
=yes
16590 # SGI C++ compiler will create directory out/ii_files/ for
16591 # template instantiation
16592 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16593 $rm out
/* && rmdir out
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16600 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16603 hard_links
="nottested"
16604 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16605 # do not overwrite the value of need_locks provided by the user
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16607 $as_echo_n "checking if we can lock with hard links... " >&6; }
16610 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16612 ln conftest.a conftest.b
2>&5 || hard_links
=no
16613 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16615 $as_echo "$hard_links" >&6; }
16616 if test "$hard_links" = no
; then
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16618 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16626 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16629 allow_undefined_flag_GCJ
=
16630 enable_shared_with_static_runtimes_GCJ
=no
16632 archive_expsym_cmds_GCJ
=
16633 old_archive_From_new_cmds_GCJ
=
16634 old_archive_from_expsyms_cmds_GCJ
=
16635 export_dynamic_flag_spec_GCJ
=
16636 whole_archive_flag_spec_GCJ
=
16637 thread_safe_flag_spec_GCJ
=
16638 hardcode_libdir_flag_spec_GCJ
=
16639 hardcode_libdir_flag_spec_ld_GCJ
=
16640 hardcode_libdir_separator_GCJ
=
16641 hardcode_direct_GCJ
=no
16642 hardcode_minus_L_GCJ
=no
16643 hardcode_shlibpath_var_GCJ
=unsupported
16644 link_all_deplibs_GCJ
=unknown
16645 hardcode_automatic_GCJ
=no
16647 module_expsym_cmds_GCJ
=
16648 always_export_symbols_GCJ
=no
16649 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16650 # include_expsyms should be a list of space-separated symbols to be *always*
16651 # included in the symbol list
16652 include_expsyms_GCJ
=
16653 # exclude_expsyms can be an extended regexp of symbols to exclude
16654 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16655 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16656 # as well as any symbol that contains `d'.
16657 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16658 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16659 # platforms (ab)use it in PIC code, but their linkers get confused if
16660 # the symbol is explicitly referenced. Since portable code cannot
16661 # rely on this symbol name, it's probably fine to never include it in
16662 # preloaded symbol tables.
16663 extract_expsyms_cmds
=
16664 # Just being paranoid about ensuring that cc_basename is set.
16665 for cc_temp
in $compiler""; do
16667 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16668 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16673 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16676 cygwin
* | mingw
* | pw32
*)
16677 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16678 # When not using gcc, we currently assume that we are using
16679 # Microsoft Visual C++.
16680 if test "$GCC" != yes; then
16690 if test "$with_gnu_ld" = yes; then
16691 # If archive_cmds runs LD, not CC, wlarc should be empty
16694 # Set some defaults for GNU ld with shared library support. These
16695 # are reset later if shared libraries are not supported. Putting them
16696 # here allows them to be overridden if necessary.
16697 runpath_var
=LD_RUN_PATH
16698 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16699 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16700 # ancient GNU ld didn't support --whole-archive et. al.
16701 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16702 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16704 whole_archive_flag_spec_GCJ
=
16706 supports_anon_versioning
=no
16707 case `$LD -v 2>/dev/null` in
16708 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16709 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16710 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16711 *\
2.11.
*) ;; # other 2.11 versions
16712 *) supports_anon_versioning
=yes ;;
16715 # See if GNU ld supports shared libraries.
16717 aix3
* | aix4
* | aix5
*)
16718 # On AIX/PPC, the GNU linker is very broken
16719 if test "$host_cpu" != ia64
; then
16723 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16724 *** to be unable to reliably create shared libraries on AIX.
16725 *** Therefore, libtool is disabling shared libraries support. If you
16726 *** really care for shared libraries, you may want to modify your PATH
16727 *** so that a non-GNU linker is found, and then restart.
16734 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)'
16735 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16736 hardcode_minus_L_GCJ
=yes
16738 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16739 # that the semantics of dynamic libraries on AmigaOS, at least up
16740 # to version 4, is to share data among multiple programs linked
16741 # with the same dynamic library. Since this doesn't match the
16742 # behavior of shared libraries on other platforms, we can't use
16748 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16749 allow_undefined_flag_GCJ
=unsupported
16750 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16751 # support --undefined. This deserves some investigation. FIXME
16752 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16758 cygwin
* | mingw
* | pw32
*)
16759 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16760 # as there is no search path for DLLs.
16761 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16762 allow_undefined_flag_GCJ
=unsupported
16763 always_export_symbols_GCJ
=no
16764 enable_shared_with_static_runtimes_GCJ
=yes
16765 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16767 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16768 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16769 # If the export-symbols file already is a .def file (1st line
16770 # is EXPORTS), use it as is; otherwise, prepend...
16771 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16772 cp $export_symbols $output_objdir/$soname.def;
16774 echo EXPORTS > $output_objdir/$soname.def;
16775 cat $export_symbols >> $output_objdir/$soname.def;
16777 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16784 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16786 case $cc_basename,$host_cpu in
16787 pgcc
*) # Portland Group C compiler
16788 whole_archive_flag_spec_GCJ
=
16790 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
16791 whole_archive_flag_spec_GCJ
=
16792 tmp_addflag
=' -fpic -Mnomain' ;;
16793 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16794 tmp_addflag
=' -i_dynamic' ;;
16795 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16796 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16797 ifc
* | ifort
*) # Intel Fortran compiler
16798 tmp_addflag
=' -nofor_main' ;;
16800 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16802 if test $supports_anon_versioning = yes; then
16803 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16804 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16805 $echo "local: *; };" >> $output_objdir/$libname.ver~
16806 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16814 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16815 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16818 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16819 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16824 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
16828 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16829 *** create shared libraries on Solaris systems. Therefore, libtool
16830 *** is disabling shared libraries support. We urge you to upgrade GNU
16831 *** binutils to release 2.9.1 or newer. Another option is to modify
16832 *** your PATH or compiler configuration so that the native linker is
16833 *** used, and then restart.
16836 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16837 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16838 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16845 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16847 hardcode_direct_GCJ
=yes
16848 hardcode_shlibpath_var_GCJ
=no
16852 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16853 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16854 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16861 if test "$ld_shlibs_GCJ" = no
; then
16863 hardcode_libdir_flag_spec_GCJ
=
16864 export_dynamic_flag_spec_GCJ
=
16865 whole_archive_flag_spec_GCJ
=
16868 # PORTME fill in a description of your system's linker (not GNU ld)
16871 allow_undefined_flag_GCJ
=unsupported
16872 always_export_symbols_GCJ
=yes
16873 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'
16874 # Note: this linker hardcodes the directories in LIBPATH if there
16875 # are no directories specified by -L.
16876 hardcode_minus_L_GCJ
=yes
16877 if test "$GCC" = yes && test -z "$link_static_flag"; then
16878 # Neither direct hardcoding nor static linking is supported with a
16880 hardcode_direct_GCJ
=unsupported
16885 if test "$host_cpu" = ia64
; then
16886 # On IA64, the linker does run time linking by default, so we don't
16887 # have to do anything special.
16888 aix_use_runtimelinking
=no
16889 exp_sym_flag
='-Bexport'
16892 # If we're using GNU nm, then we don't want the "-C" option.
16893 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16894 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
16895 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'
16897 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'
16899 aix_use_runtimelinking
=no
16901 # Test if we are trying to use run time linking or normal
16902 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16903 # need to do runtime linking.
16904 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16905 for ld_flag
in $LDFLAGS; do
16906 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16907 aix_use_runtimelinking
=yes
16913 exp_sym_flag
='-bexport'
16914 no_entry_flag
='-bnoentry'
16917 # When large executables or shared objects are built, AIX ld can
16918 # have problems creating the table of contents. If linking a library
16919 # or program results in "error TOC overflow" add -mminimal-toc to
16920 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16921 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16923 archive_cmds_GCJ
=''
16924 hardcode_direct_GCJ
=yes
16925 hardcode_libdir_separator_GCJ
=':'
16926 link_all_deplibs_GCJ
=yes
16928 if test "$GCC" = yes; then
16929 case $host_os in aix4.
[012]|aix4.
[012].
*)
16930 # We only want to do this on AIX 4.2 and lower, the check
16931 # below for broken collect2 doesn't work under 4.3+
16932 collect2name
=`${CC} -print-prog-name=collect2`
16933 if test -f "$collect2name" && \
16934 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
16936 # We have reworked collect2
16937 hardcode_direct_GCJ
=yes
16939 # We have old collect2
16940 hardcode_direct_GCJ
=unsupported
16941 # It fails to find uninstalled libraries when the uninstalled
16942 # path is not listed in the libpath. Setting hardcode_minus_L
16943 # to unsupported forces relinking
16944 hardcode_minus_L_GCJ
=yes
16945 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16946 hardcode_libdir_separator_GCJ
=
16949 shared_flag
='-shared'
16950 if test "$aix_use_runtimelinking" = yes; then
16951 shared_flag
="$shared_flag "'${wl}-G'
16955 if test "$host_cpu" = ia64
; then
16956 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16957 # chokes on -Wl,-G. The following line is correct:
16960 if test "$aix_use_runtimelinking" = yes; then
16961 shared_flag
='${wl}-G'
16963 shared_flag
='${wl}-bM:SRE'
16968 # It seems that -bexpall does not export symbols beginning with
16969 # underscore (_), so it is better to generate a list of symbols to export.
16970 always_export_symbols_GCJ
=yes
16971 if test "$aix_use_runtimelinking" = yes; then
16972 # Warning - without using the other runtime loading flags (-brtl),
16973 # -berok will link without error, but may produce a broken library.
16974 allow_undefined_flag_GCJ
='-berok'
16975 # Determine the default libpath from the value encoded in an empty executable.
16976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16977 /* end confdefs.h. */
16987 if ac_fn_c_try_link
"$LINENO"; then :
16989 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16991 # Check for a 64-bit object if we didn't find anything.
16992 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16995 rm -f core conftest.err conftest.
$ac_objext \
16996 conftest
$ac_exeext conftest.
$ac_ext
16997 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16999 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17000 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17002 if test "$host_cpu" = ia64; then
17003 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
17004 allow_undefined_flag_GCJ="-z nodefs"
17005 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
17007 # Determine the default libpath from the value encoded in an empty executable.
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17019 if ac_fn_c_try_link "$LINENO"; then :
17021 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17023 # Check for a 64-bit object if we didn't find anything.
17024 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17027 rm -f core conftest.err conftest.$ac_objext \
17028 conftest$ac_exeext conftest.$ac_ext
17029 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
17031 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17032 # Warning - without using the other run time loading flags,
17033 # -berok will link without error, but may produce a broken library.
17034 no_undefined_flag_GCJ=' ${wl}-bernotok'
17035 allow_undefined_flag_GCJ=' ${wl}-berok'
17036 # -bexpall does not export symbols beginning with underscore (_)
17037 always_export_symbols_GCJ=yes
17038 # Exported symbols can be pulled into shared objects from archives
17039 whole_archive_flag_spec_GCJ=' '
17040 archive_cmds_need_lc_GCJ=yes
17041 # This is similar to how AIX traditionally builds it's shared libraries.
17042 archive_expsym_cmds_GCJ="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17048 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)'
17049 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17050 hardcode_minus_L_GCJ
=yes
17051 # see comment about different semantics on the GNU ld section
17056 export_dynamic_flag_spec_GCJ
=-rdynamic
17059 cygwin
* | mingw
* | pw32
*)
17060 # When not using gcc, we currently assume that we are using
17061 # Microsoft Visual C++.
17062 # hardcode_libdir_flag_spec is actually meaningless, as there is
17063 # no search path for DLLs.
17064 hardcode_libdir_flag_spec_GCJ
=' '
17065 allow_undefined_flag_GCJ
=unsupported
17066 # Tell ltmain to make .lib files, not .a files.
17068 # Tell ltmain to make .dll files, not .so files.
17070 # FIXME: Setting linknames here is a bad hack.
17071 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17072 # The linker will automatically build a .lib file if we build a DLL.
17073 old_archive_From_new_cmds_GCJ
='true'
17074 # FIXME: Should let the user specify the lib program.
17075 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17076 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17077 enable_shared_with_static_runtimes_GCJ
=yes
17080 darwin
* | rhapsody
*)
17082 rhapsody
* | darwin1.
[012])
17083 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17086 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17087 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17089 case ${MACOSX_DEPLOYMENT_TARGET} in
17091 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17094 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17100 archive_cmds_need_lc_GCJ
=no
17101 hardcode_direct_GCJ
=no
17102 hardcode_automatic_GCJ
=yes
17103 hardcode_shlibpath_var_GCJ
=unsupported
17104 whole_archive_flag_spec_GCJ
=''
17105 link_all_deplibs_GCJ
=yes
17106 if test "$GCC" = yes ; then
17107 output_verbose_link_cmd
='echo'
17108 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17109 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17110 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17111 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17112 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}'
17114 case $cc_basename in
17116 output_verbose_link_cmd
='echo'
17117 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17118 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17119 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17120 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17121 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}'
17131 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17132 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17133 hardcode_shlibpath_var_GCJ
=no
17140 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17141 # support. Future versions do this automatically, but an explicit c++rt0.o
17142 # does not break anything, and helps significantly (at the cost of a little
17145 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17146 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17147 hardcode_direct_GCJ
=yes
17148 hardcode_shlibpath_var_GCJ
=no
17151 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17153 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17154 hardcode_direct_GCJ
=yes
17155 hardcode_minus_L_GCJ
=yes
17156 hardcode_shlibpath_var_GCJ
=no
17159 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17160 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17161 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17162 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17163 hardcode_direct_GCJ
=yes
17164 hardcode_shlibpath_var_GCJ
=no
17168 if test "$GCC" = yes; then
17169 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'
17171 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'
17173 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17174 hardcode_libdir_separator_GCJ
=:
17175 hardcode_direct_GCJ
=yes
17177 # hardcode_minus_L: Not really in the search PATH,
17178 # but as the default location of the library.
17179 hardcode_minus_L_GCJ
=yes
17180 export_dynamic_flag_spec_GCJ
='${wl}-E'
17184 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17185 case "$host_cpu" in
17187 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17190 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17194 case "$host_cpu" in
17196 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17199 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17203 if test "$with_gnu_ld" = no
; then
17204 case "$host_cpu" in
17206 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17207 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17208 hardcode_libdir_separator_GCJ
=:
17209 hardcode_direct_GCJ
=no
17210 hardcode_shlibpath_var_GCJ
=no
17213 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17214 hardcode_direct_GCJ
=no
17215 hardcode_shlibpath_var_GCJ
=no
17217 # hardcode_minus_L: Not really in the search PATH,
17218 # but as the default location of the library.
17219 hardcode_minus_L_GCJ
=yes
17222 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17223 hardcode_libdir_separator_GCJ
=:
17224 hardcode_direct_GCJ
=yes
17225 export_dynamic_flag_spec_GCJ
='${wl}-E'
17227 # hardcode_minus_L: Not really in the search PATH,
17228 # but as the default location of the library.
17229 hardcode_minus_L_GCJ
=yes
17235 irix5
* | irix6
* | nonstopux
*)
17236 if test "$GCC" = yes; then
17237 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'
17239 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'
17240 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17242 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17243 hardcode_libdir_separator_GCJ
=:
17244 link_all_deplibs_GCJ
=yes
17248 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17249 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17251 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17253 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17254 hardcode_direct_GCJ
=yes
17255 hardcode_shlibpath_var_GCJ
=no
17259 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17260 hardcode_direct_GCJ
=yes
17261 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17262 hardcode_libdir_separator_GCJ
=:
17263 hardcode_shlibpath_var_GCJ
=no
17267 hardcode_direct_GCJ
=yes
17268 hardcode_shlibpath_var_GCJ
=no
17269 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17270 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17271 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17272 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17273 export_dynamic_flag_spec_GCJ
='${wl}-E'
17276 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17277 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17278 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17281 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17282 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17289 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17290 hardcode_minus_L_GCJ
=yes
17291 allow_undefined_flag_GCJ
=unsupported
17292 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'
17293 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17297 if test "$GCC" = yes; then
17298 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17299 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'
17301 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17302 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'
17304 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17305 hardcode_libdir_separator_GCJ
=:
17308 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17309 if test "$GCC" = yes; then
17310 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17311 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'
17312 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17314 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17315 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'
17316 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~
17317 $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'
17319 # Both c and cxx compiler support -rpath directly
17320 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17322 hardcode_libdir_separator_GCJ
=:
17326 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17327 hardcode_shlibpath_var_GCJ
=no
17328 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17329 runpath_var
=LD_RUN_PATH
17330 hardcode_runpath_var
=yes
17334 no_undefined_flag_GCJ
=' -z text'
17335 if test "$GCC" = yes; then
17337 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17338 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17339 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17342 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17343 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17344 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17346 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17347 hardcode_shlibpath_var_GCJ
=no
17349 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17351 # The compiler driver will combine linker options so we
17352 # cannot just pass the convience library names through
17353 # without $wl, iff we do not link with $LD.
17354 # Luckily, gcc supports the same syntax we need for Sun Studio.
17355 # Supported since Solaris 2.6 (maybe 2.5.1?)
17358 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17360 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17363 link_all_deplibs_GCJ
=yes
17367 if test "x$host_vendor" = xsequent
; then
17368 # Use $CC to link under sequent, because it throws in some extra .o
17369 # files that make .init and .fini sections work.
17370 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17372 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17374 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17375 hardcode_direct_GCJ
=yes
17376 hardcode_minus_L_GCJ
=yes
17377 hardcode_shlibpath_var_GCJ
=no
17381 case $host_vendor in
17383 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17384 hardcode_direct_GCJ
=yes # is this really true???
17387 ## LD is ld it makes a PLAMLIB
17388 ## CC just makes a GrossModule.
17389 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17390 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17391 hardcode_direct_GCJ
=no
17394 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17395 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17398 runpath_var
='LD_RUN_PATH'
17399 hardcode_shlibpath_var_GCJ
=no
17403 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17404 hardcode_shlibpath_var_GCJ
=no
17405 export_dynamic_flag_spec_GCJ
='-Bexport'
17409 if test -d /usr
/nec
; then
17410 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17411 hardcode_shlibpath_var_GCJ
=no
17412 runpath_var
=LD_RUN_PATH
17413 hardcode_runpath_var
=yes
17419 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17420 hardcode_direct_GCJ
=yes
17421 hardcode_minus_L_GCJ
=no
17422 hardcode_shlibpath_var_GCJ
=no
17423 hardcode_runpath_var
=yes
17424 runpath_var
=LD_RUN_PATH
17427 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
17428 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
17429 if test "$GCC" = yes; then
17430 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17432 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17434 runpath_var
='LD_RUN_PATH'
17435 hardcode_shlibpath_var_GCJ
=no
17439 no_undefined_flag_GCJ
=' -z text'
17440 # $CC -shared without GNU ld will not create a library from C++
17441 # object files and a static libstdc++, better avoid it by now
17442 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17443 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17444 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17445 hardcode_libdir_flag_spec_GCJ
=
17446 hardcode_shlibpath_var_GCJ
=no
17447 runpath_var
='LD_RUN_PATH'
17451 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17452 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17453 hardcode_shlibpath_var_GCJ
=no
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
17463 $as_echo "$ld_shlibs_GCJ" >&6; }
17464 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17466 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
17467 if test "$GCC" = yes; then
17468 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17472 # Do we need to explicitly link libc?
17474 case "x$archive_cmds_need_lc_GCJ" in
17476 # Assume -lc should be added
17477 archive_cmds_need_lc_GCJ
=yes
17479 if test "$enable_shared" = yes && test "$GCC" = yes; then
17480 case $archive_cmds_GCJ in
17482 # FIXME: we may have to deal with multi-command sequences.
17485 # Test whether the compiler implicitly links with -lc since on some
17486 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17487 # to ld, don't add -lc before -lgcc.
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17489 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17491 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17494 (eval $ac_compile) 2>&5
17496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17497 test $ac_status = 0; } 2>conftest.err
; then
17500 libobjs
=conftest.
$ac_objext
17502 wl
=$lt_prog_compiler_wl_GCJ
17508 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17509 allow_undefined_flag_GCJ
=
17510 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17511 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17514 test $ac_status = 0; }
17516 archive_cmds_need_lc_GCJ
=no
17518 archive_cmds_need_lc_GCJ
=yes
17520 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17522 cat conftest.err
1>&5
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_GCJ" >&5
17526 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17534 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17535 library_names_spec
=
17536 libname_spec
='lib$name'
17540 postuninstall_cmds
=
17544 shlibpath_overrides_runpath
=unknown
17546 dynamic_linker
="$host_os ld.so"
17547 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17548 if test "$GCC" = yes; then
17549 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17550 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
17551 # if the path contains ";" then we assume it to be the separator
17552 # otherwise default to the standard path separator (i.e. ":") - it is
17553 # assumed that no part of a normal pathname contains ";" but that should
17554 # okay in the real world where ";" in dirpaths is itself problematic.
17555 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17557 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17560 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
17562 need_lib_prefix
=unknown
17563 hardcode_into_libs
=no
17565 # when you set need_version to no, make sure it does not cause -set_version
17566 # flags to be left without arguments
17567 need_version
=unknown
17572 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17573 shlibpath_var
=LIBPATH
17575 # AIX 3 has no versioning support, so we append a major version to the name.
17576 soname_spec
='${libname}${release}${shared_ext}$major'
17583 hardcode_into_libs
=yes
17584 if test "$host_cpu" = ia64
; then
17585 # AIX 5 supports IA64
17586 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17587 shlibpath_var
=LD_LIBRARY_PATH
17589 # With GCC up to 2.95.x, collect2 would create an import file
17590 # for dependence libraries. The import file would start with
17591 # the line `#! .'. This would cause the generated library to
17592 # depend on `.', always an invalid library. This was fixed in
17593 # development snapshots of GCC prior to 3.0.
17595 aix4 | aix4.
[01] | aix4.
[01].
*)
17596 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17598 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17601 can_build_shared
=no
17605 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17606 # soname into executable. Probably we can add versioning support to
17607 # collect2, so additional links can be useful in future.
17608 if test "$aix_use_runtimelinking" = yes; then
17609 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17610 # instead of lib<name>.a to let people know that these are not
17611 # typical AIX shared libraries.
17612 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17614 # We preserve .a as extension for shared libraries through AIX4.2
17615 # and later when we are not doing run time linking.
17616 library_names_spec
='${libname}${release}.a $libname.a'
17617 soname_spec
='${libname}${release}${shared_ext}$major'
17619 shlibpath_var
=LIBPATH
17624 library_names_spec
='$libname.ixlibrary $libname.a'
17625 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17626 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'
17630 library_names_spec
='${libname}${shared_ext}'
17631 dynamic_linker
="$host_os ld.so"
17632 shlibpath_var
=LIBRARY_PATH
17638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17639 soname_spec
='${libname}${release}${shared_ext}$major'
17640 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17641 shlibpath_var
=LD_LIBRARY_PATH
17642 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17643 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17644 # the default ld.so.conf also contains /usr/contrib/lib and
17645 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17646 # libtool to hard-code these into programs
17649 cygwin
* | mingw
* | pw32
*)
17650 version_type
=windows
17655 case $GCC,$host_os in
17656 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17657 library_names_spec
='$libname.dll.a'
17658 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17659 postinstall_cmds
='base_file=`basename \${file}`~
17660 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17661 dldir=$destdir/`dirname \$dlpath`~
17662 test -d \$dldir || mkdir -p \$dldir~
17663 $install_prog $dir/$dlname \$dldir/$dlname'
17664 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17665 dlpath=$dir/\$dldll~
17667 shlibpath_overrides_runpath
=yes
17671 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17672 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17673 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17676 # MinGW DLLs use traditional 'lib' prefix
17677 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17678 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17679 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17680 # It is most probably a Windows format PATH printed by
17681 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17682 # path with ; separators, and with drive letters. We can handle the
17683 # drive letters (cygwin fileutils understands them), so leave them,
17684 # especially as we might pass files found there to a mingw objdump,
17685 # which wouldn't understand a cygwinified path. Ahh.
17686 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17688 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17692 # pw32 DLLs use 'pw' prefix rather than 'lib'
17693 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17699 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17702 dynamic_linker
='Win32 ld.exe'
17703 # FIXME: first we should search . and the directory the executable is in
17707 darwin
* | rhapsody
*)
17708 dynamic_linker
="$host_os dyld"
17709 version_type
=darwin
17712 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17713 soname_spec
='${libname}${release}${major}$shared_ext'
17714 shlibpath_overrides_runpath
=yes
17715 shlibpath_var
=DYLD_LIBRARY_PATH
17716 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
17717 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17718 if test "$GCC" = yes; then
17719 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17721 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
17723 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17731 soname_spec
='${libname}${release}${shared_ext}$major'
17732 shlibpath_var
=LD_LIBRARY_PATH
17743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17744 soname_spec
='${libname}${release}${shared_ext}$major'
17745 shlibpath_var
=LD_LIBRARY_PATH
17746 shlibpath_overrides_runpath
=no
17747 hardcode_into_libs
=yes
17748 dynamic_linker
='GNU ld.so'
17751 freebsd
* | dragonfly
*)
17752 # DragonFly does not have aout. When/if they implement a new
17753 # versioning mechanism, adjust this.
17754 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17755 version_type
=freebsd-
$objformat
17756 case $version_type in
17758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17763 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17767 shlibpath_var
=LD_LIBRARY_PATH
17770 shlibpath_overrides_runpath
=yes
17772 freebsd3.
[01]* | freebsdelf3.
[01]*)
17773 shlibpath_overrides_runpath
=yes
17774 hardcode_into_libs
=yes
17777 shlibpath_overrides_runpath
=no
17778 hardcode_into_libs
=yes
17787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17788 soname_spec
='${libname}${release}${shared_ext}$major'
17789 shlibpath_var
=LD_LIBRARY_PATH
17790 hardcode_into_libs
=yes
17793 hpux9
* | hpux10
* | hpux11
*)
17794 # Give a soname corresponding to the major version so that dld.sl refuses to
17795 # link against other versions.
17799 case "$host_cpu" in
17802 hardcode_into_libs
=yes
17803 dynamic_linker
="$host_os dld.so"
17804 shlibpath_var
=LD_LIBRARY_PATH
17805 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17807 soname_spec
='${libname}${release}${shared_ext}$major'
17808 if test "X$HPUX_IA64_MODE" = X32
; then
17809 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17811 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17813 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17817 hardcode_into_libs
=yes
17818 dynamic_linker
="$host_os dld.sl"
17819 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17820 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17822 soname_spec
='${libname}${release}${shared_ext}$major'
17823 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17824 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17828 dynamic_linker
="$host_os dld.sl"
17829 shlibpath_var
=SHLIB_PATH
17830 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17832 soname_spec
='${libname}${release}${shared_ext}$major'
17835 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17836 postinstall_cmds
='chmod 555 $lib'
17839 irix5
* | irix6
* | nonstopux
*)
17841 nonstopux
*) version_type
=nonstopux
;;
17843 if test "$lt_cv_prog_gnu_ld" = yes; then
17851 soname_spec
='${libname}${release}${shared_ext}$major'
17852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17854 irix5
* | nonstopux
*)
17855 libsuff
= shlibsuff
=
17858 case $LD in # libtool.m4 will add one of these switches to LD
17859 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17860 libsuff
= shlibsuff
= libmagic
=32-bit;;
17861 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17862 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17863 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17864 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17865 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17869 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17870 shlibpath_overrides_runpath
=no
17871 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17872 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17873 hardcode_into_libs
=yes
17876 # No shared lib support for Linux oldld, aout, or coff.
17877 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17881 # This must be Linux ELF.
17886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17887 soname_spec
='${libname}${release}${shared_ext}$major'
17888 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17889 shlibpath_var
=LD_LIBRARY_PATH
17890 shlibpath_overrides_runpath
=no
17891 # This implies no fast_install, which is unacceptable.
17892 # Some rework will be needed to allow for fast_install
17893 # before this can be enabled.
17894 hardcode_into_libs
=yes
17896 # find out which ABI we are using
17898 case "$host_cpu" in
17899 x86_64
*|s390x
*|powerpc64
*)
17900 echo '#line 17900 "configure"' > conftest.
$ac_ext
17901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17902 (eval $ac_compile) 2>&5
17904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17905 test $ac_status = 0; }; then
17906 case `/usr/bin/file conftest.$ac_objext` in
17909 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17917 # Append ld.so.conf contents to the search path
17918 if test -f /etc
/ld.so.conf
; then
17919 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17920 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17923 # We used to test for /lib/ld.so.1 and disable shared libraries on
17924 # powerpc, because MkLinux only supported shared libraries with the
17925 # GNU dynamic linker. Since this was broken with cross compilers,
17926 # most powerpc-linux boxes support dynamic linking these days and
17927 # people can always --disable-shared, the test was removed, and we
17928 # assume the GNU/Linux dynamic linker is in use.
17929 dynamic_linker
='GNU/Linux ld.so'
17936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17937 soname_spec
='${libname}${release}${shared_ext}$major'
17938 shlibpath_var
=LD_LIBRARY_PATH
17939 shlibpath_overrides_runpath
=no
17940 hardcode_into_libs
=yes
17941 dynamic_linker
='GNU ld.so'
17948 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17950 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17951 dynamic_linker
='NetBSD (a.out) ld.so'
17953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17954 soname_spec
='${libname}${release}${shared_ext}$major'
17955 dynamic_linker
='NetBSD ld.elf_so'
17957 shlibpath_var
=LD_LIBRARY_PATH
17958 shlibpath_overrides_runpath
=yes
17959 hardcode_into_libs
=yes
17964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17965 shlibpath_var
=LD_LIBRARY_PATH
17966 shlibpath_overrides_runpath
=yes
17973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17974 soname_spec
='${libname}${release}${shared_ext}$major'
17975 shlibpath_var
=LD_LIBRARY_PATH
17976 shlibpath_overrides_runpath
=yes
17983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17984 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17985 shlibpath_var
=LD_LIBRARY_PATH
17986 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17988 openbsd2.
[89] | openbsd2.
[89].
*)
17989 shlibpath_overrides_runpath
=no
17992 shlibpath_overrides_runpath
=yes
17996 shlibpath_overrides_runpath
=yes
18001 libname_spec
='$name'
18004 library_names_spec
='$libname${shared_ext} $libname.a'
18005 dynamic_linker
='OS/2 ld.exe'
18006 shlibpath_var
=LIBPATH
18009 osf3
* | osf4
* | osf5
*)
18013 soname_spec
='${libname}${release}${shared_ext}$major'
18014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18015 shlibpath_var
=LD_LIBRARY_PATH
18016 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18017 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18022 soname_spec
='${libname}${release}${shared_ext}$major'
18023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18024 shlibpath_var
=LD_LIBRARY_PATH
18031 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18032 soname_spec
='${libname}${release}${shared_ext}$major'
18033 shlibpath_var
=LD_LIBRARY_PATH
18034 shlibpath_overrides_runpath
=yes
18035 hardcode_into_libs
=yes
18036 # ldd complains unless libraries are executable
18037 postinstall_cmds
='chmod +x $lib'
18042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18043 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18044 shlibpath_var
=LD_LIBRARY_PATH
18045 shlibpath_overrides_runpath
=yes
18046 if test "$with_gnu_ld" = yes; then
18052 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18055 soname_spec
='${libname}${release}${shared_ext}$major'
18056 shlibpath_var
=LD_LIBRARY_PATH
18057 case $host_vendor in
18059 shlibpath_overrides_runpath
=no
18061 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18062 runpath_var
=LD_RUN_PATH
18070 shlibpath_overrides_runpath
=no
18071 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18077 if test -d /usr
/nec
;then
18079 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18080 soname_spec
='$libname${shared_ext}.$major'
18081 shlibpath_var
=LD_LIBRARY_PATH
18087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18088 soname_spec
='${libname}${release}${shared_ext}$major'
18089 shlibpath_var
=LD_LIBRARY_PATH
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18097 $as_echo "$dynamic_linker" >&6; }
18098 test "$dynamic_linker" = no
&& can_build_shared
=no
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18101 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18102 hardcode_action_GCJ
=
18103 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18104 test -n "$runpath_var_GCJ" || \
18105 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18107 # We can hardcode non-existant directories.
18108 if test "$hardcode_direct_GCJ" != no
&&
18109 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18110 # have to relink, otherwise we might link with an installed library
18111 # when we should be linking with a yet-to-be-installed one
18112 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18113 test "$hardcode_minus_L_GCJ" != no
; then
18114 # Linking always hardcodes the temporary library directory.
18115 hardcode_action_GCJ
=relink
18117 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18118 hardcode_action_GCJ
=immediate
18121 # We cannot hardcode anything, or else we can only hardcode existing
18123 hardcode_action_GCJ
=unsupported
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
18126 $as_echo "$hardcode_action_GCJ" >&6; }
18128 if test "$hardcode_action_GCJ" = relink
; then
18129 # Fast installation is not supported
18130 enable_fast_install
=no
18131 elif test "$shlibpath_overrides_runpath" = yes ||
18132 test "$enable_shared" = no
; then
18133 # Fast installation is not necessary
18134 enable_fast_install
=needless
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
18140 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
18141 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
18142 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
18143 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18145 $as_echo "yes" >&6; }
18147 # FIXME - insert some real tests, host_os isn't really good enough
18150 if test -n "$STRIP" ; then
18151 striplib
="$STRIP -x"
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18153 $as_echo "yes" >&6; }
18155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18156 $as_echo "no" >&6; }
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18161 $as_echo "no" >&6; }
18166 if test "x$enable_dlopen" != xyes
; then
18167 enable_dlopen
=unknown
18168 enable_dlopen_self
=unknown
18169 enable_dlopen_self_static
=unknown
18176 lt_cv_dlopen
="load_add_on"
18178 lt_cv_dlopen_self
=yes
18182 lt_cv_dlopen
="LoadLibrary"
18187 lt_cv_dlopen
="dlopen"
18192 # if libdl is installed we need to link against it
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
18194 $as_echo_n "checking for dlopen in -ldl... " >&6; }
18195 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
18196 $as_echo_n "(cached) " >&6
18198 ac_check_lib_save_LIBS
=$LIBS
18200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18201 /* end confdefs.h. */
18203 /* Override any GCC internal prototype to avoid an error.
18204 Use char because int might match the return type of a GCC
18205 builtin and then its argument prototype would still apply. */
18218 if ac_fn_c_try_link
"$LINENO"; then :
18219 ac_cv_lib_dl_dlopen
=yes
18221 ac_cv_lib_dl_dlopen
=no
18223 rm -f core conftest.err conftest.
$ac_objext \
18224 conftest
$ac_exeext conftest.
$ac_ext
18225 LIBS
=$ac_check_lib_save_LIBS
18227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
18228 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
18229 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
18230 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
18233 lt_cv_dlopen
="dyld"
18235 lt_cv_dlopen_self
=yes
18242 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
18243 if test "x$ac_cv_func_shl_load" = x
""yes; then :
18244 lt_cv_dlopen
="shl_load"
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
18247 $as_echo_n "checking for shl_load in -ldld... " >&6; }
18248 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
18249 $as_echo_n "(cached) " >&6
18251 ac_check_lib_save_LIBS
=$LIBS
18253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18254 /* end confdefs.h. */
18256 /* Override any GCC internal prototype to avoid an error.
18257 Use char because int might match the return type of a GCC
18258 builtin and then its argument prototype would still apply. */
18266 return shl_load ();
18271 if ac_fn_c_try_link
"$LINENO"; then :
18272 ac_cv_lib_dld_shl_load
=yes
18274 ac_cv_lib_dld_shl_load
=no
18276 rm -f core conftest.err conftest.
$ac_objext \
18277 conftest
$ac_exeext conftest.
$ac_ext
18278 LIBS
=$ac_check_lib_save_LIBS
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
18281 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
18282 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
18283 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
18285 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
18286 if test "x$ac_cv_func_dlopen" = x
""yes; then :
18287 lt_cv_dlopen
="dlopen"
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
18290 $as_echo_n "checking for dlopen in -ldl... " >&6; }
18291 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
18292 $as_echo_n "(cached) " >&6
18294 ac_check_lib_save_LIBS
=$LIBS
18296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18297 /* end confdefs.h. */
18299 /* Override any GCC internal prototype to avoid an error.
18300 Use char because int might match the return type of a GCC
18301 builtin and then its argument prototype would still apply. */
18314 if ac_fn_c_try_link
"$LINENO"; then :
18315 ac_cv_lib_dl_dlopen
=yes
18317 ac_cv_lib_dl_dlopen
=no
18319 rm -f core conftest.err conftest.
$ac_objext \
18320 conftest
$ac_exeext conftest.
$ac_ext
18321 LIBS
=$ac_check_lib_save_LIBS
18323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
18324 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
18325 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
18326 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
18329 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
18330 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
18331 $as_echo_n "(cached) " >&6
18333 ac_check_lib_save_LIBS
=$LIBS
18334 LIBS
="-lsvld $LIBS"
18335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18336 /* end confdefs.h. */
18338 /* Override any GCC internal prototype to avoid an error.
18339 Use char because int might match the return type of a GCC
18340 builtin and then its argument prototype would still apply. */
18353 if ac_fn_c_try_link
"$LINENO"; then :
18354 ac_cv_lib_svld_dlopen
=yes
18356 ac_cv_lib_svld_dlopen
=no
18358 rm -f core conftest.err conftest.
$ac_objext \
18359 conftest
$ac_exeext conftest.
$ac_ext
18360 LIBS
=$ac_check_lib_save_LIBS
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
18363 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
18364 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
18365 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
18368 $as_echo_n "checking for dld_link in -ldld... " >&6; }
18369 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
18370 $as_echo_n "(cached) " >&6
18372 ac_check_lib_save_LIBS
=$LIBS
18374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18375 /* end confdefs.h. */
18377 /* Override any GCC internal prototype to avoid an error.
18378 Use char because int might match the return type of a GCC
18379 builtin and then its argument prototype would still apply. */
18387 return dld_link ();
18392 if ac_fn_c_try_link
"$LINENO"; then :
18393 ac_cv_lib_dld_dld_link
=yes
18395 ac_cv_lib_dld_dld_link
=no
18397 rm -f core conftest.err conftest.
$ac_objext \
18398 conftest
$ac_exeext conftest.
$ac_ext
18399 LIBS
=$ac_check_lib_save_LIBS
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
18402 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
18403 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
18404 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
18425 if test "x$lt_cv_dlopen" != xno
; then
18431 case $lt_cv_dlopen in
18433 save_CPPFLAGS
="$CPPFLAGS"
18434 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
18436 save_LDFLAGS
="$LDFLAGS"
18437 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
18440 LIBS
="$lt_cv_dlopen_libs $LIBS"
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
18443 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
18444 if test "${lt_cv_dlopen_self+set}" = set; then :
18445 $as_echo_n "(cached) " >&6
18447 if test "$cross_compiling" = yes; then :
18448 lt_cv_dlopen_self
=cross
18450 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18451 lt_status
=$lt_dlunknown
18452 cat > conftest.
$ac_ext <<EOF
18453 #line 18453 "configure"
18454 #include "confdefs.h"
18463 # define LT_DLGLOBAL RTLD_GLOBAL
18466 # define LT_DLGLOBAL DL_GLOBAL
18468 # define LT_DLGLOBAL 0
18472 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18473 find out it does not work in some platform. */
18474 #ifndef LT_DLLAZY_OR_NOW
18476 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18479 # define LT_DLLAZY_OR_NOW DL_LAZY
18482 # define LT_DLLAZY_OR_NOW RTLD_NOW
18485 # define LT_DLLAZY_OR_NOW DL_NOW
18487 # define LT_DLLAZY_OR_NOW 0
18495 extern "C" void exit (int);
18498 void fnord() { int i=42;}
18501 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18502 int status = $lt_dlunknown;
18506 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18507 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18508 /* dlclose (self); */
18514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
18515 (eval $ac_link) 2>&5
18517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18518 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18519 (.
/conftest
; exit; ) 2>/dev
/null
18521 case x
$lt_status in
18522 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
18523 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
18524 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
18527 # compilation failed
18528 lt_cv_dlopen_self
=no
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
18536 $as_echo "$lt_cv_dlopen_self" >&6; }
18538 if test "x$lt_cv_dlopen_self" = xyes
; then
18539 LDFLAGS
="$LDFLAGS $link_static_flag"
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
18541 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
18542 if test "${lt_cv_dlopen_self_static+set}" = set; then :
18543 $as_echo_n "(cached) " >&6
18545 if test "$cross_compiling" = yes; then :
18546 lt_cv_dlopen_self_static
=cross
18548 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
18549 lt_status
=$lt_dlunknown
18550 cat > conftest.
$ac_ext <<EOF
18551 #line 18551 "configure"
18552 #include "confdefs.h"
18561 # define LT_DLGLOBAL RTLD_GLOBAL
18564 # define LT_DLGLOBAL DL_GLOBAL
18566 # define LT_DLGLOBAL 0
18570 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18571 find out it does not work in some platform. */
18572 #ifndef LT_DLLAZY_OR_NOW
18574 # define LT_DLLAZY_OR_NOW RTLD_LAZY
18577 # define LT_DLLAZY_OR_NOW DL_LAZY
18580 # define LT_DLLAZY_OR_NOW RTLD_NOW
18583 # define LT_DLLAZY_OR_NOW DL_NOW
18585 # define LT_DLLAZY_OR_NOW 0
18593 extern "C" void exit (int);
18596 void fnord() { int i=42;}
18599 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18600 int status = $lt_dlunknown;
18604 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18605 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18606 /* dlclose (self); */
18612 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
18613 (eval $ac_link) 2>&5
18615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18616 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
18617 (.
/conftest
; exit; ) 2>/dev
/null
18619 case x
$lt_status in
18620 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
18621 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
18622 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
18625 # compilation failed
18626 lt_cv_dlopen_self_static
=no
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
18634 $as_echo "$lt_cv_dlopen_self_static" >&6; }
18637 CPPFLAGS
="$save_CPPFLAGS"
18638 LDFLAGS
="$save_LDFLAGS"
18643 case $lt_cv_dlopen_self in
18644 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
18645 *) enable_dlopen_self
=unknown
;;
18648 case $lt_cv_dlopen_self_static in
18649 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
18650 *) enable_dlopen_self_static
=unknown
;;
18655 # The else clause should only fire when bootstrapping the
18656 # libtool distribution, otherwise you forgot to ship ltmain.sh
18657 # with your package, and you will get complaints that there are
18658 # no rules to generate ltmain.sh.
18659 if test -f "$ltmain"; then
18660 # See if we are running on zsh, and set the options which allow our commands through
18661 # without removal of \ escapes.
18662 if test -n "${ZSH_VERSION+set}" ; then
18663 setopt NO_GLOB_SUBST
18665 # Now quote all the things that may contain metacharacters while being
18666 # careful not to overquote the AC_SUBSTed values. We take copies of the
18667 # variables and quote the copies for generation of the libtool script.
18668 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
18670 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18671 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18672 deplibs_check_method reload_flag reload_cmds need_locks \
18673 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18674 lt_cv_sys_global_symbol_to_c_name_address \
18675 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18676 old_postinstall_cmds old_postuninstall_cmds \
18680 lt_prog_compiler_wl_GCJ \
18681 lt_prog_compiler_pic_GCJ \
18682 lt_prog_compiler_static_GCJ \
18683 lt_prog_compiler_no_builtin_flag_GCJ \
18684 export_dynamic_flag_spec_GCJ \
18685 thread_safe_flag_spec_GCJ \
18686 whole_archive_flag_spec_GCJ \
18687 enable_shared_with_static_runtimes_GCJ \
18688 old_archive_cmds_GCJ \
18689 old_archive_from_new_cmds_GCJ \
18690 predep_objects_GCJ \
18691 postdep_objects_GCJ \
18694 compiler_lib_search_path_GCJ \
18696 archive_expsym_cmds_GCJ \
18697 postinstall_cmds_GCJ \
18698 postuninstall_cmds_GCJ \
18699 old_archive_from_expsyms_cmds_GCJ \
18700 allow_undefined_flag_GCJ \
18701 no_undefined_flag_GCJ \
18702 export_symbols_cmds_GCJ \
18703 hardcode_libdir_flag_spec_GCJ \
18704 hardcode_libdir_flag_spec_ld_GCJ \
18705 hardcode_libdir_separator_GCJ \
18706 hardcode_automatic_GCJ \
18708 module_expsym_cmds_GCJ \
18709 lt_cv_prog_compiler_c_o_GCJ \
18710 exclude_expsyms_GCJ \
18711 include_expsyms_GCJ
; do
18714 old_archive_cmds_GCJ | \
18715 old_archive_from_new_cmds_GCJ | \
18716 archive_cmds_GCJ | \
18717 archive_expsym_cmds_GCJ | \
18718 module_cmds_GCJ | \
18719 module_expsym_cmds_GCJ | \
18720 old_archive_from_expsyms_cmds_GCJ | \
18721 export_symbols_cmds_GCJ | \
18722 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18723 postinstall_cmds | postuninstall_cmds | \
18724 old_postinstall_cmds | old_postuninstall_cmds | \
18725 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18726 # Double-quote double-evaled strings.
18727 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18730 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18736 *'\$0 --fallback-echo"')
18737 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18743 cat <<__EOF__ >> "$cfgfile"
18744 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18746 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18748 # Shell to use when invoking shell scripts.
18751 # Whether or not to build shared libraries.
18752 build_libtool_libs=$enable_shared
18754 # Whether or not to build static libraries.
18755 build_old_libs=$enable_static
18757 # Whether or not to add -lc for building shared libraries.
18758 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18760 # Whether or not to disallow shared libs when runtime libs are static
18761 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18763 # Whether or not to optimize for fast installation.
18764 fast_install=$enable_fast_install
18767 host_alias=$host_alias
18771 # The build system.
18772 build_alias=$build_alias
18776 # An echo program that does not interpret backslashes.
18781 AR_FLAGS=$lt_AR_FLAGS
18786 # A language-specific compiler.
18787 CC=$lt_compiler_GCJ
18789 # Is the compiler the GNU C compiler?
18795 # The linker used to build libraries.
18798 # Whether we need hard or soft links.
18801 # A BSD-compatible nm program.
18804 # A symbol stripping program
18807 # Used to examine libraries when file_magic_cmd begins "file"
18808 MAGIC_CMD=$MAGIC_CMD
18810 # Used on cygwin: DLL creation program.
18813 # Used on cygwin: object dumper.
18816 # Used on cygwin: assembler.
18819 # The name of the directory that contains temporary libtool files.
18822 # How to create reloadable object files.
18823 reload_flag=$lt_reload_flag
18824 reload_cmds=$lt_reload_cmds
18826 # How to pass a linker flag through the compiler.
18827 wl=$lt_lt_prog_compiler_wl_GCJ
18829 # Object file suffix (normally "o").
18830 objext="$ac_objext"
18832 # Old archive suffix (normally "a").
18835 # Shared library suffix (normally ".so").
18836 shrext_cmds='$shrext_cmds'
18838 # Executable file suffix (normally "").
18841 # Additional compiler flags for building library objects.
18842 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18845 # What is the maximum length of a command?
18846 max_cmd_len=$lt_cv_sys_max_cmd_len
18848 # Does compiler simultaneously support -c and -o options?
18849 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18851 # Must we lock files when doing compilation?
18852 need_locks=$lt_need_locks
18854 # Do we need the lib prefix for modules?
18855 need_lib_prefix=$need_lib_prefix
18857 # Do we need a version for libraries?
18858 need_version=$need_version
18860 # Whether dlopen is supported.
18861 dlopen_support=$enable_dlopen
18863 # Whether dlopen of programs is supported.
18864 dlopen_self=$enable_dlopen_self
18866 # Whether dlopen of statically linked programs is supported.
18867 dlopen_self_static=$enable_dlopen_self_static
18869 # Compiler flag to prevent dynamic linking.
18870 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18872 # Compiler flag to turn off builtin functions.
18873 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18875 # Compiler flag to allow reflexive dlopens.
18876 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18878 # Compiler flag to generate shared objects directly from archives.
18879 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18881 # Compiler flag to generate thread-safe objects.
18882 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18884 # Library versioning type.
18885 version_type=$version_type
18887 # Format of library name prefix.
18888 libname_spec=$lt_libname_spec
18890 # List of archive names. First name is the real one, the rest are links.
18891 # The last name is the one that the linker finds with -lNAME.
18892 library_names_spec=$lt_library_names_spec
18894 # The coded name of the library, if different from the real name.
18895 soname_spec=$lt_soname_spec
18897 # Commands used to build and install an old-style archive.
18899 old_archive_cmds=$lt_old_archive_cmds_GCJ
18900 old_postinstall_cmds=$lt_old_postinstall_cmds
18901 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18903 # Create an old-style archive from a shared archive.
18904 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18906 # Create a temporary old-style archive to link instead of a shared archive.
18907 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18909 # Commands used to build and install a shared archive.
18910 archive_cmds=$lt_archive_cmds_GCJ
18911 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18912 postinstall_cmds=$lt_postinstall_cmds
18913 postuninstall_cmds=$lt_postuninstall_cmds
18915 # Commands used to build a loadable module (assumed same as above if empty)
18916 module_cmds=$lt_module_cmds_GCJ
18917 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18919 # Commands to strip libraries.
18920 old_striplib=$lt_old_striplib
18921 striplib=$lt_striplib
18923 # Dependencies to place before the objects being linked to create a
18925 predep_objects=$lt_predep_objects_GCJ
18927 # Dependencies to place after the objects being linked to create a
18929 postdep_objects=$lt_postdep_objects_GCJ
18931 # Dependencies to place before the objects being linked to create a
18933 predeps=$lt_predeps_GCJ
18935 # Dependencies to place after the objects being linked to create a
18937 postdeps=$lt_postdeps_GCJ
18939 # The library search path used internally by the compiler when linking
18940 # a shared library.
18941 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18943 # Method to check whether dependent libraries are shared objects.
18944 deplibs_check_method=$lt_deplibs_check_method
18946 # Command to use when deplibs_check_method == file_magic.
18947 file_magic_cmd=$lt_file_magic_cmd
18949 # Flag that allows shared libraries with undefined symbols to be built.
18950 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18952 # Flag that forces no undefined symbols.
18953 no_undefined_flag=$lt_no_undefined_flag_GCJ
18955 # Commands used to finish a libtool library installation in a directory.
18956 finish_cmds=$lt_finish_cmds
18958 # Same as above, but a single script fragment to be evaled but not shown.
18959 finish_eval=$lt_finish_eval
18961 # Take the output of nm and produce a listing of raw symbols and C names.
18962 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18964 # Transform the output of nm in a proper C declaration
18965 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18967 # Transform the output of nm in a C name address pair
18968 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18970 # This is the shared library runtime path variable.
18971 runpath_var=$runpath_var
18973 # This is the shared library path variable.
18974 shlibpath_var=$shlibpath_var
18976 # Is shlibpath searched before the hard-coded library search path?
18977 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18979 # How to hardcode a shared library path into an executable.
18980 hardcode_action=$hardcode_action_GCJ
18982 # Whether we should hardcode library paths into libraries.
18983 hardcode_into_libs=$hardcode_into_libs
18985 # Flag to hardcode \$libdir into a binary during linking.
18986 # This must work even if \$libdir does not exist.
18987 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18989 # If ld is used when linking, flag to hardcode \$libdir into
18990 # a binary during linking. This must work even if \$libdir does
18992 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18994 # Whether we need a single -rpath flag with a separated argument.
18995 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18997 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18998 # resulting binary.
18999 hardcode_direct=$hardcode_direct_GCJ
19001 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19002 # resulting binary.
19003 hardcode_minus_L=$hardcode_minus_L_GCJ
19005 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19006 # the resulting binary.
19007 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19009 # Set to yes if building a shared library automatically hardcodes DIR into the library
19010 # and all subsequent libraries and executables linked against it.
19011 hardcode_automatic=$hardcode_automatic_GCJ
19013 # Variables whose values should be saved in libtool wrapper scripts and
19014 # restored at relink time.
19015 variables_saved_for_relink="$variables_saved_for_relink"
19017 # Whether libtool must link a program against all its dependency libraries.
19018 link_all_deplibs=$link_all_deplibs_GCJ
19020 # Compile-time system search path for libraries
19021 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19023 # Run-time system search path for libraries
19024 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19026 # Fix the shell variable \$srcfile for the compiler.
19027 fix_srcfile_path="$fix_srcfile_path_GCJ"
19029 # Set to yes if exported symbols are required.
19030 always_export_symbols=$always_export_symbols_GCJ
19032 # The commands to list exported symbols.
19033 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19035 # The commands to extract the exported symbol list from a shared archive.
19036 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19038 # Symbols that should not be listed in the preloaded symbols.
19039 exclude_expsyms=$lt_exclude_expsyms_GCJ
19041 # Symbols that must always be exported.
19042 include_expsyms=$lt_include_expsyms_GCJ
19044 # ### END LIBTOOL TAG CONFIG: $tagname
19050 # If there is no Makefile yet, we rely on a make rule to execute
19051 # `config.status --recheck' to rerun these tests and create the
19052 # libtool script then.
19053 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19054 if test -f "$ltmain_in"; then
19055 test -f Makefile
&& make "$ltmain"
19061 ac_cpp
='$CPP $CPPFLAGS'
19062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19076 # Source file extension for RC test sources.
19079 # Object file extension for compiled RC test sources.
19083 # Code to be used in simple compile tests
19084 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19086 # Code to be used in simple link tests
19087 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19089 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19091 # If no C compiler was specified, use CC.
19094 # Allow CC to be a program name with arguments.
19098 # save warnings/boilerplate of simple test code
19099 ac_outfile
=conftest.
$ac_objext
19100 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19101 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
19102 _lt_compiler_boilerplate
=`cat conftest.err`
19105 ac_outfile
=conftest.
$ac_objext
19106 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19107 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d' >conftest.err
19108 _lt_linker_boilerplate
=`cat conftest.err`
19112 # Allow CC to be a program name with arguments.
19117 for cc_temp
in $compiler""; do
19119 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19120 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19125 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19127 lt_cv_prog_compiler_c_o_RC
=yes
19129 # The else clause should only fire when bootstrapping the
19130 # libtool distribution, otherwise you forgot to ship ltmain.sh
19131 # with your package, and you will get complaints that there are
19132 # no rules to generate ltmain.sh.
19133 if test -f "$ltmain"; then
19134 # See if we are running on zsh, and set the options which allow our commands through
19135 # without removal of \ escapes.
19136 if test -n "${ZSH_VERSION+set}" ; then
19137 setopt NO_GLOB_SUBST
19139 # Now quote all the things that may contain metacharacters while being
19140 # careful not to overquote the AC_SUBSTed values. We take copies of the
19141 # variables and quote the copies for generation of the libtool script.
19142 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19144 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19145 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19146 deplibs_check_method reload_flag reload_cmds need_locks \
19147 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19148 lt_cv_sys_global_symbol_to_c_name_address \
19149 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19150 old_postinstall_cmds old_postuninstall_cmds \
19154 lt_prog_compiler_wl_RC \
19155 lt_prog_compiler_pic_RC \
19156 lt_prog_compiler_static_RC \
19157 lt_prog_compiler_no_builtin_flag_RC \
19158 export_dynamic_flag_spec_RC \
19159 thread_safe_flag_spec_RC \
19160 whole_archive_flag_spec_RC \
19161 enable_shared_with_static_runtimes_RC \
19162 old_archive_cmds_RC \
19163 old_archive_from_new_cmds_RC \
19164 predep_objects_RC \
19165 postdep_objects_RC \
19168 compiler_lib_search_path_RC \
19170 archive_expsym_cmds_RC \
19171 postinstall_cmds_RC \
19172 postuninstall_cmds_RC \
19173 old_archive_from_expsyms_cmds_RC \
19174 allow_undefined_flag_RC \
19175 no_undefined_flag_RC \
19176 export_symbols_cmds_RC \
19177 hardcode_libdir_flag_spec_RC \
19178 hardcode_libdir_flag_spec_ld_RC \
19179 hardcode_libdir_separator_RC \
19180 hardcode_automatic_RC \
19182 module_expsym_cmds_RC \
19183 lt_cv_prog_compiler_c_o_RC \
19184 exclude_expsyms_RC \
19185 include_expsyms_RC
; do
19188 old_archive_cmds_RC | \
19189 old_archive_from_new_cmds_RC | \
19190 archive_cmds_RC | \
19191 archive_expsym_cmds_RC | \
19193 module_expsym_cmds_RC | \
19194 old_archive_from_expsyms_cmds_RC | \
19195 export_symbols_cmds_RC | \
19196 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19197 postinstall_cmds | postuninstall_cmds | \
19198 old_postinstall_cmds | old_postuninstall_cmds | \
19199 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19200 # Double-quote double-evaled strings.
19201 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19204 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19210 *'\$0 --fallback-echo"')
19211 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19217 cat <<__EOF__ >> "$cfgfile"
19218 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19220 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19222 # Shell to use when invoking shell scripts.
19225 # Whether or not to build shared libraries.
19226 build_libtool_libs=$enable_shared
19228 # Whether or not to build static libraries.
19229 build_old_libs=$enable_static
19231 # Whether or not to add -lc for building shared libraries.
19232 build_libtool_need_lc=$archive_cmds_need_lc_RC
19234 # Whether or not to disallow shared libs when runtime libs are static
19235 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19237 # Whether or not to optimize for fast installation.
19238 fast_install=$enable_fast_install
19241 host_alias=$host_alias
19245 # The build system.
19246 build_alias=$build_alias
19250 # An echo program that does not interpret backslashes.
19255 AR_FLAGS=$lt_AR_FLAGS
19260 # A language-specific compiler.
19263 # Is the compiler the GNU C compiler?
19269 # The linker used to build libraries.
19272 # Whether we need hard or soft links.
19275 # A BSD-compatible nm program.
19278 # A symbol stripping program
19281 # Used to examine libraries when file_magic_cmd begins "file"
19282 MAGIC_CMD=$MAGIC_CMD
19284 # Used on cygwin: DLL creation program.
19287 # Used on cygwin: object dumper.
19290 # Used on cygwin: assembler.
19293 # The name of the directory that contains temporary libtool files.
19296 # How to create reloadable object files.
19297 reload_flag=$lt_reload_flag
19298 reload_cmds=$lt_reload_cmds
19300 # How to pass a linker flag through the compiler.
19301 wl=$lt_lt_prog_compiler_wl_RC
19303 # Object file suffix (normally "o").
19304 objext="$ac_objext"
19306 # Old archive suffix (normally "a").
19309 # Shared library suffix (normally ".so").
19310 shrext_cmds='$shrext_cmds'
19312 # Executable file suffix (normally "").
19315 # Additional compiler flags for building library objects.
19316 pic_flag=$lt_lt_prog_compiler_pic_RC
19319 # What is the maximum length of a command?
19320 max_cmd_len=$lt_cv_sys_max_cmd_len
19322 # Does compiler simultaneously support -c and -o options?
19323 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19325 # Must we lock files when doing compilation?
19326 need_locks=$lt_need_locks
19328 # Do we need the lib prefix for modules?
19329 need_lib_prefix=$need_lib_prefix
19331 # Do we need a version for libraries?
19332 need_version=$need_version
19334 # Whether dlopen is supported.
19335 dlopen_support=$enable_dlopen
19337 # Whether dlopen of programs is supported.
19338 dlopen_self=$enable_dlopen_self
19340 # Whether dlopen of statically linked programs is supported.
19341 dlopen_self_static=$enable_dlopen_self_static
19343 # Compiler flag to prevent dynamic linking.
19344 link_static_flag=$lt_lt_prog_compiler_static_RC
19346 # Compiler flag to turn off builtin functions.
19347 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19349 # Compiler flag to allow reflexive dlopens.
19350 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19352 # Compiler flag to generate shared objects directly from archives.
19353 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19355 # Compiler flag to generate thread-safe objects.
19356 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19358 # Library versioning type.
19359 version_type=$version_type
19361 # Format of library name prefix.
19362 libname_spec=$lt_libname_spec
19364 # List of archive names. First name is the real one, the rest are links.
19365 # The last name is the one that the linker finds with -lNAME.
19366 library_names_spec=$lt_library_names_spec
19368 # The coded name of the library, if different from the real name.
19369 soname_spec=$lt_soname_spec
19371 # Commands used to build and install an old-style archive.
19373 old_archive_cmds=$lt_old_archive_cmds_RC
19374 old_postinstall_cmds=$lt_old_postinstall_cmds
19375 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19377 # Create an old-style archive from a shared archive.
19378 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19380 # Create a temporary old-style archive to link instead of a shared archive.
19381 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19383 # Commands used to build and install a shared archive.
19384 archive_cmds=$lt_archive_cmds_RC
19385 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19386 postinstall_cmds=$lt_postinstall_cmds
19387 postuninstall_cmds=$lt_postuninstall_cmds
19389 # Commands used to build a loadable module (assumed same as above if empty)
19390 module_cmds=$lt_module_cmds_RC
19391 module_expsym_cmds=$lt_module_expsym_cmds_RC
19393 # Commands to strip libraries.
19394 old_striplib=$lt_old_striplib
19395 striplib=$lt_striplib
19397 # Dependencies to place before the objects being linked to create a
19399 predep_objects=$lt_predep_objects_RC
19401 # Dependencies to place after the objects being linked to create a
19403 postdep_objects=$lt_postdep_objects_RC
19405 # Dependencies to place before the objects being linked to create a
19407 predeps=$lt_predeps_RC
19409 # Dependencies to place after the objects being linked to create a
19411 postdeps=$lt_postdeps_RC
19413 # The library search path used internally by the compiler when linking
19414 # a shared library.
19415 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19417 # Method to check whether dependent libraries are shared objects.
19418 deplibs_check_method=$lt_deplibs_check_method
19420 # Command to use when deplibs_check_method == file_magic.
19421 file_magic_cmd=$lt_file_magic_cmd
19423 # Flag that allows shared libraries with undefined symbols to be built.
19424 allow_undefined_flag=$lt_allow_undefined_flag_RC
19426 # Flag that forces no undefined symbols.
19427 no_undefined_flag=$lt_no_undefined_flag_RC
19429 # Commands used to finish a libtool library installation in a directory.
19430 finish_cmds=$lt_finish_cmds
19432 # Same as above, but a single script fragment to be evaled but not shown.
19433 finish_eval=$lt_finish_eval
19435 # Take the output of nm and produce a listing of raw symbols and C names.
19436 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19438 # Transform the output of nm in a proper C declaration
19439 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19441 # Transform the output of nm in a C name address pair
19442 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19444 # This is the shared library runtime path variable.
19445 runpath_var=$runpath_var
19447 # This is the shared library path variable.
19448 shlibpath_var=$shlibpath_var
19450 # Is shlibpath searched before the hard-coded library search path?
19451 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19453 # How to hardcode a shared library path into an executable.
19454 hardcode_action=$hardcode_action_RC
19456 # Whether we should hardcode library paths into libraries.
19457 hardcode_into_libs=$hardcode_into_libs
19459 # Flag to hardcode \$libdir into a binary during linking.
19460 # This must work even if \$libdir does not exist.
19461 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19463 # If ld is used when linking, flag to hardcode \$libdir into
19464 # a binary during linking. This must work even if \$libdir does
19466 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19468 # Whether we need a single -rpath flag with a separated argument.
19469 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19471 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19472 # resulting binary.
19473 hardcode_direct=$hardcode_direct_RC
19475 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19476 # resulting binary.
19477 hardcode_minus_L=$hardcode_minus_L_RC
19479 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19480 # the resulting binary.
19481 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19483 # Set to yes if building a shared library automatically hardcodes DIR into the library
19484 # and all subsequent libraries and executables linked against it.
19485 hardcode_automatic=$hardcode_automatic_RC
19487 # Variables whose values should be saved in libtool wrapper scripts and
19488 # restored at relink time.
19489 variables_saved_for_relink="$variables_saved_for_relink"
19491 # Whether libtool must link a program against all its dependency libraries.
19492 link_all_deplibs=$link_all_deplibs_RC
19494 # Compile-time system search path for libraries
19495 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19497 # Run-time system search path for libraries
19498 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19500 # Fix the shell variable \$srcfile for the compiler.
19501 fix_srcfile_path="$fix_srcfile_path_RC"
19503 # Set to yes if exported symbols are required.
19504 always_export_symbols=$always_export_symbols_RC
19506 # The commands to list exported symbols.
19507 export_symbols_cmds=$lt_export_symbols_cmds_RC
19509 # The commands to extract the exported symbol list from a shared archive.
19510 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19512 # Symbols that should not be listed in the preloaded symbols.
19513 exclude_expsyms=$lt_exclude_expsyms_RC
19515 # Symbols that must always be exported.
19516 include_expsyms=$lt_include_expsyms_RC
19518 # ### END LIBTOOL TAG CONFIG: $tagname
19524 # If there is no Makefile yet, we rely on a make rule to execute
19525 # `config.status --recheck' to rerun these tests and create the
19526 # libtool script then.
19527 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19528 if test -f "$ltmain_in"; then
19529 test -f Makefile
&& make "$ltmain"
19535 ac_cpp
='$CPP $CPPFLAGS'
19536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19545 as_fn_error
"Unsupported tag name: $tagname" "$LINENO" 5
19549 # Append the new tag name to the list of available tags.
19550 if test -n "$tagname" ; then
19551 available_tags
="$available_tags $tagname"
19557 # Now substitute the updated list of available tags.
19558 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19559 mv "${ofile}T" "$ofile"
19563 as_fn_error
"unable to update list of available tagged configurations." "$LINENO" 5
19569 # This can be used to rebuild libtool when needed
19570 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19572 # Always use our own libtool.
19573 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19575 # Prevent multiple expansion
19598 ac_header_dirent
=no
19599 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
19600 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
19602 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
19603 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
19604 $as_echo_n "(cached) " >&6
19606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19607 /* end confdefs.h. */
19608 #include <sys/types.h>
19620 if ac_fn_c_try_compile
"$LINENO"; then :
19621 eval "$as_ac_Header=yes"
19623 eval "$as_ac_Header=no"
19625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19627 eval ac_res
=\$
$as_ac_Header
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19629 $as_echo "$ac_res" >&6; }
19630 eval as_val
=\$
$as_ac_Header
19631 if test "x$as_val" = x
""yes; then :
19632 cat >>confdefs.h
<<_ACEOF
19633 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
19636 ac_header_dirent
=$ac_hdr; break
19640 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
19641 if test $ac_header_dirent = dirent.h
; then
19642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
19643 $as_echo_n "checking for library containing opendir... " >&6; }
19644 if test "${ac_cv_search_opendir+set}" = set; then :
19645 $as_echo_n "(cached) " >&6
19647 ac_func_search_save_LIBS
=$LIBS
19648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19649 /* end confdefs.h. */
19651 /* Override any GCC internal prototype to avoid an error.
19652 Use char because int might match the return type of a GCC
19653 builtin and then its argument prototype would still apply. */
19666 for ac_lib
in '' dir
; do
19667 if test -z "$ac_lib"; then
19668 ac_res
="none required"
19671 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19673 if ac_fn_c_try_link
"$LINENO"; then :
19674 ac_cv_search_opendir
=$ac_res
19676 rm -f core conftest.err conftest.
$ac_objext \
19678 if test "${ac_cv_search_opendir+set}" = set; then :
19682 if test "${ac_cv_search_opendir+set}" = set; then :
19685 ac_cv_search_opendir
=no
19687 rm conftest.
$ac_ext
19688 LIBS
=$ac_func_search_save_LIBS
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
19691 $as_echo "$ac_cv_search_opendir" >&6; }
19692 ac_res
=$ac_cv_search_opendir
19693 if test "$ac_res" != no
; then :
19694 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
19700 $as_echo_n "checking for library containing opendir... " >&6; }
19701 if test "${ac_cv_search_opendir+set}" = set; then :
19702 $as_echo_n "(cached) " >&6
19704 ac_func_search_save_LIBS
=$LIBS
19705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19706 /* end confdefs.h. */
19708 /* Override any GCC internal prototype to avoid an error.
19709 Use char because int might match the return type of a GCC
19710 builtin and then its argument prototype would still apply. */
19723 for ac_lib
in '' x
; do
19724 if test -z "$ac_lib"; then
19725 ac_res
="none required"
19728 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19730 if ac_fn_c_try_link
"$LINENO"; then :
19731 ac_cv_search_opendir
=$ac_res
19733 rm -f core conftest.err conftest.
$ac_objext \
19735 if test "${ac_cv_search_opendir+set}" = set; then :
19739 if test "${ac_cv_search_opendir+set}" = set; then :
19742 ac_cv_search_opendir
=no
19744 rm conftest.
$ac_ext
19745 LIBS
=$ac_func_search_save_LIBS
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
19748 $as_echo "$ac_cv_search_opendir" >&6; }
19749 ac_res
=$ac_cv_search_opendir
19750 if test "$ac_res" != no
; then :
19751 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19757 # Check whether --enable-ltdl-install was given.
19758 if test "${enable_ltdl_install+set}" = set; then :
19759 enableval
=$enable_ltdl_install;
19763 if test x
"${enable_ltdl_install-no}" != xno
; then
19765 INSTALL_LTDL_FALSE
='#'
19767 INSTALL_LTDL_TRUE
='#'
19768 INSTALL_LTDL_FALSE
=
19771 if test x
"${enable_ltdl_convenience-no}" != xno
; then
19772 CONVENIENCE_LTDL_TRUE
=
19773 CONVENIENCE_LTDL_FALSE
='#'
19775 CONVENIENCE_LTDL_TRUE
='#'
19776 CONVENIENCE_LTDL_FALSE
=
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for loadable modules" >&5
19782 $as_echo_n "checking which extension is used for loadable modules... " >&6; }
19783 if test "${libltdl_cv_shlibext+set}" = set; then :
19784 $as_echo_n "(cached) " >&6
19787 ## GCJ LOCAL: gcj specific stuff. Please keep it.
19788 # Here in libltdl for libgcj we don't build modules for darwin.
19789 # So we say no. Then the extension gets .dylib which is the right
19790 # thing for shared libraries on darwin. Please keep me next time you
19800 eval libltdl_cv_shlibext
=$shrext_cmds
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
19804 $as_echo "$libltdl_cv_shlibext" >&6; }
19805 if test -n "$libltdl_cv_shlibext"; then
19807 cat >>confdefs.h
<<_ACEOF
19808 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time library path" >&5
19815 $as_echo_n "checking which variable specifies run-time library path... " >&6; }
19816 if test "${libltdl_cv_shlibpath_var+set}" = set; then :
19817 $as_echo_n "(cached) " >&6
19819 libltdl_cv_shlibpath_var
="$shlibpath_var"
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibpath_var" >&5
19822 $as_echo "$libltdl_cv_shlibpath_var" >&6; }
19823 if test -n "$libltdl_cv_shlibpath_var"; then
19825 cat >>confdefs.h
<<_ACEOF
19826 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
19833 $as_echo_n "checking for the default library search path... " >&6; }
19834 if test "${libltdl_cv_sys_search_path+set}" = set; then :
19835 $as_echo_n "(cached) " >&6
19837 libltdl_cv_sys_search_path
="$sys_lib_dlsearch_path_spec"
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_sys_search_path" >&5
19840 $as_echo "$libltdl_cv_sys_search_path" >&6; }
19841 if test -n "$libltdl_cv_sys_search_path"; then
19843 for dir
in $libltdl_cv_sys_search_path; do
19844 if test -z "$sys_search_path"; then
19845 sys_search_path
="$dir"
19847 sys_search_path
="$sys_search_path$PATH_SEPARATOR$dir"
19851 cat >>confdefs.h
<<_ACEOF
19852 #define LTDL_SYSSEARCHPATH "$sys_search_path"
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
19858 $as_echo_n "checking for objdir... " >&6; }
19859 if test "${libltdl_cv_objdir+set}" = set; then :
19860 $as_echo_n "(cached) " >&6
19862 libltdl_cv_objdir
="$objdir"
19863 if test -n "$objdir"; then
19866 rm -f .libs
2>/dev
/null
19867 mkdir .libs
2>/dev
/null
19868 if test -d .libs
; then
19869 libltdl_cv_objdir
=.libs
19871 # MS-DOS does not allow filenames that begin with a dot.
19872 libltdl_cv_objdir
=_libs
19874 rmdir .libs
2>/dev
/null
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_objdir" >&5
19879 $as_echo "$libltdl_cv_objdir" >&6; }
19881 cat >>confdefs.h
<<_ACEOF
19882 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
19887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
19888 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
19889 if test "${libltdl_cv_preloaded_symbols+set}" = set; then :
19890 $as_echo_n "(cached) " >&6
19892 if test -n "$lt_cv_sys_global_symbol_pipe"; then
19893 libltdl_cv_preloaded_symbols
=yes
19895 libltdl_cv_preloaded_symbols
=no
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
19900 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
19901 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
19903 $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
19910 ac_cpp
='$CPP $CPPFLAGS'
19911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19916 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
19917 if test "x$ac_cv_func_shl_load" = x
""yes; then :
19919 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
19923 $as_echo_n "checking for shl_load in -ldld... " >&6; }
19924 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
19925 $as_echo_n "(cached) " >&6
19927 ac_check_lib_save_LIBS
=$LIBS
19929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h. */
19932 /* Override any GCC internal prototype to avoid an error.
19933 Use char because int might match the return type of a GCC
19934 builtin and then its argument prototype would still apply. */
19942 return shl_load ();
19947 if ac_fn_c_try_link
"$LINENO"; then :
19948 ac_cv_lib_dld_shl_load
=yes
19950 ac_cv_lib_dld_shl_load
=no
19952 rm -f core conftest.err conftest.
$ac_objext \
19953 conftest
$ac_exeext conftest.
$ac_ext
19954 LIBS
=$ac_check_lib_save_LIBS
19956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
19957 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
19958 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
19960 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
19962 LIBADD_DL
="$LIBADD_DL -ldld"
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
19965 $as_echo_n "checking for dlopen in -ldl... " >&6; }
19966 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
19967 $as_echo_n "(cached) " >&6
19969 ac_check_lib_save_LIBS
=$LIBS
19971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19972 /* end confdefs.h. */
19974 /* Override any GCC internal prototype to avoid an error.
19975 Use char because int might match the return type of a GCC
19976 builtin and then its argument prototype would still apply. */
19989 if ac_fn_c_try_link
"$LINENO"; then :
19990 ac_cv_lib_dl_dlopen
=yes
19992 ac_cv_lib_dl_dlopen
=no
19994 rm -f core conftest.err conftest.
$ac_objext \
19995 conftest
$ac_exeext conftest.
$ac_ext
19996 LIBS
=$ac_check_lib_save_LIBS
19998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
19999 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
20000 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
20002 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
20004 LIBADD_DL
="-ldl" libltdl_cv_lib_dl_dlopen
="yes"
20006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20007 /* end confdefs.h. */
20009 # include <dlfcn.h>
20020 if ac_fn_c_try_link
"$LINENO"; then :
20022 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
20023 libltdl_cv_func_dlopen
="yes"
20025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
20026 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
20027 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
20028 $as_echo_n "(cached) " >&6
20030 ac_check_lib_save_LIBS
=$LIBS
20031 LIBS
="-lsvld $LIBS"
20032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20033 /* end confdefs.h. */
20035 /* Override any GCC internal prototype to avoid an error.
20036 Use char because int might match the return type of a GCC
20037 builtin and then its argument prototype would still apply. */
20050 if ac_fn_c_try_link
"$LINENO"; then :
20051 ac_cv_lib_svld_dlopen
=yes
20053 ac_cv_lib_svld_dlopen
=no
20055 rm -f core conftest.err conftest.
$ac_objext \
20056 conftest
$ac_exeext conftest.
$ac_ext
20057 LIBS
=$ac_check_lib_save_LIBS
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
20060 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
20061 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
20063 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
20065 LIBADD_DL
="-lsvld" libltdl_cv_func_dlopen
="yes"
20067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
20068 $as_echo_n "checking for dld_link in -ldld... " >&6; }
20069 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
20070 $as_echo_n "(cached) " >&6
20072 ac_check_lib_save_LIBS
=$LIBS
20074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20075 /* end confdefs.h. */
20077 /* Override any GCC internal prototype to avoid an error.
20078 Use char because int might match the return type of a GCC
20079 builtin and then its argument prototype would still apply. */
20087 return dld_link ();
20092 if ac_fn_c_try_link
"$LINENO"; then :
20093 ac_cv_lib_dld_dld_link
=yes
20095 ac_cv_lib_dld_dld_link
=no
20097 rm -f core conftest.err conftest.
$ac_objext \
20098 conftest
$ac_exeext conftest.
$ac_ext
20099 LIBS
=$ac_check_lib_save_LIBS
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
20102 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
20103 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
20105 $as_echo "#define HAVE_DLD 1" >>confdefs.h
20107 LIBADD_DL
="$LIBADD_DL -ldld"
20109 ac_fn_c_check_func
"$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
20110 if test "x$ac_cv_func__dyld_func_lookup" = x
""yes; then :
20112 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
20124 rm -f core conftest.err conftest.
$ac_objext \
20125 conftest
$ac_exeext conftest.
$ac_ext
20136 if test x
"$libltdl_cv_func_dlopen" = xyes ||
test x
"$libltdl_cv_lib_dl_dlopen" = xyes
20138 lt_save_LIBS
="$LIBS"
20139 LIBS
="$LIBS $LIBADD_DL"
20140 for ac_func
in dlerror
20142 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
20143 if test "x$ac_cv_func_dlerror" = x
""yes; then :
20144 cat >>confdefs.h
<<_ACEOF
20145 #define HAVE_DLERROR 1
20151 LIBS
="$lt_save_LIBS"
20154 ac_cpp
='$CPP $CPPFLAGS'
20155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
20162 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
20163 if test "${ac_cv_sys_symbol_underscore+set}" = set; then :
20164 $as_echo_n "(cached) " >&6
20166 ac_cv_sys_symbol_underscore
=no
20167 cat > conftest.
$ac_ext <<EOF
20168 void nm_test_func(){}
20169 int main(){nm_test_func;return 0;}
20171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20172 (eval $ac_compile) 2>&5
20174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20175 test $ac_status = 0; }; then
20176 # Now try to grab the symbols.
20177 ac_nlist
=conftest.nm
20178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
20179 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
20181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20182 test $ac_status = 0; } && test -s "$ac_nlist"; then
20183 # See whether the symbols have a leading underscore.
20184 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
20185 ac_cv_sys_symbol_underscore
=yes
20187 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
20190 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
20194 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
20197 echo "configure: failed program was:" >&5
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_symbol_underscore" >&5
20204 $as_echo "$ac_cv_sys_symbol_underscore" >&6; }
20207 if test x
"$ac_cv_sys_symbol_underscore" = xyes
; then
20208 if test x
"$libltdl_cv_func_dlopen" = xyes ||
20209 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
20211 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
20212 if test "${libltdl_cv_need_uscore+set}" = set; then :
20213 $as_echo_n "(cached) " >&6
20215 libltdl_cv_need_uscore
=unknown
20217 LIBS
="$LIBS $LIBADD_DL"
20218 if test "$cross_compiling" = yes; then :
20219 libltdl_cv_need_uscore
=cross
20221 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
20222 lt_status
=$lt_dlunknown
20223 cat > conftest.
$ac_ext <<EOF
20224 #line 20224 "configure"
20225 #include "confdefs.h"
20234 # define LT_DLGLOBAL RTLD_GLOBAL
20237 # define LT_DLGLOBAL DL_GLOBAL
20239 # define LT_DLGLOBAL 0
20243 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20244 find out it does not work in some platform. */
20245 #ifndef LT_DLLAZY_OR_NOW
20247 # define LT_DLLAZY_OR_NOW RTLD_LAZY
20250 # define LT_DLLAZY_OR_NOW DL_LAZY
20253 # define LT_DLLAZY_OR_NOW RTLD_NOW
20256 # define LT_DLLAZY_OR_NOW DL_NOW
20258 # define LT_DLLAZY_OR_NOW 0
20266 extern "C" void exit (int);
20269 void fnord() { int i=42;}
20272 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20273 int status = $lt_dlunknown;
20277 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20278 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20279 /* dlclose (self); */
20285 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
20286 (eval $ac_link) 2>&5
20288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20289 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
20290 (.
/conftest
; exit; ) 2>/dev
/null
20292 case x
$lt_status in
20293 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
20294 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
20295 x
$lt_unknown|x
*) ;;
20298 # compilation failed
20307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
20308 $as_echo "$libltdl_cv_need_uscore" >&6; }
20312 if test x
"$libltdl_cv_need_uscore" = xyes
; then
20314 $as_echo "#define NEED_USCORE 1" >>confdefs.h
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
20320 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
20321 if test "${libltdl_cv_sys_dlopen_deplibs+set}" = set; then :
20322 $as_echo_n "(cached) " >&6
20324 # PORTME does your system automatically load deplibs for dlopen?
20325 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
20326 # For now, we just catch OSes we know something about -- in the
20327 # future, we'll try test this programmatically.
20328 libltdl_cv_sys_dlopen_deplibs
=unknown
20330 aix3
*|aix4.1.
*|aix4.2.
*)
20331 # Unknown whether this is true for these versions of AIX, but
20332 # we want this `case' here to explicitly catch those versions.
20333 libltdl_cv_sys_dlopen_deplibs
=unknown
20336 libltdl_cv_sys_dlopen_deplibs
=yes
20339 # Assuming the user has installed a libdl from somewhere, this is true
20340 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
20341 libltdl_cv_sys_dlopen_deplibs
=yes
20343 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu)
20344 # GNU and its variants, using gnu ld.so (Glibc)
20345 libltdl_cv_sys_dlopen_deplibs
=yes
20348 libltdl_cv_sys_dlopen_deplibs
=yes
20350 irix
[12345]*|irix6.
[01]*)
20351 # Catch all versions of IRIX before 6.2, and indicate that we don't
20352 # know how it worked for any of those versions.
20353 libltdl_cv_sys_dlopen_deplibs
=unknown
20356 # The case above catches anything before 6.2, and it's known that
20357 # at 6.2 and later dlopen does load deplibs.
20358 libltdl_cv_sys_dlopen_deplibs
=yes
20361 libltdl_cv_sys_dlopen_deplibs
=yes
20364 libltdl_cv_sys_dlopen_deplibs
=yes
20367 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
20368 # it did *not* use an RPATH in a shared library to find objects the
20369 # library depends on, so we explictly say `no'.
20370 libltdl_cv_sys_dlopen_deplibs
=no
20372 osf5.0|osf5.0a|osf5.1
)
20373 # dlopen *does* load deplibs and with the right loader patch applied
20374 # it even uses RPATH in a shared library to search for shared objects
20375 # that the library depends on, but there's no easy way to know if that
20376 # patch is installed. Since this is the case, all we can really
20377 # say is unknown -- it depends on the patch being installed. If
20378 # it is, this changes to `yes'. Without it, it would be `no'.
20379 libltdl_cv_sys_dlopen_deplibs
=unknown
20382 # the two cases above should catch all versions of osf <= 5.1. Read
20383 # the comments above for what we know about them.
20384 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
20385 # is used to find them so we can finally say `yes'.
20386 libltdl_cv_sys_dlopen_deplibs
=yes
20389 libltdl_cv_sys_dlopen_deplibs
=yes
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_sys_dlopen_deplibs" >&5
20395 $as_echo "$libltdl_cv_sys_dlopen_deplibs" >&6; }
20396 if test "$libltdl_cv_sys_dlopen_deplibs" != yes; then
20398 $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
20402 for ac_header
in argz.h
20404 ac_fn_c_check_header_mongrel
"$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default"
20405 if test "x$ac_cv_header_argz_h" = x
""yes; then :
20406 cat >>confdefs.h
<<_ACEOF
20407 #define HAVE_ARGZ_H 1
20415 ac_fn_c_check_type
"$LINENO" "error_t" "ac_cv_type_error_t" "#if HAVE_ARGZ_H
20419 if test "x$ac_cv_type_error_t" = x
""yes; then :
20421 cat >>confdefs.h
<<_ACEOF
20422 #define HAVE_ERROR_T 1
20428 $as_echo "#define error_t int" >>confdefs.h
20433 for ac_func
in argz_append argz_create_sep argz_insert argz_next argz_stringify
20435 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20436 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20437 eval as_val
=\$
$as_ac_var
20438 if test "x$as_val" = x
""yes; then :
20439 cat >>confdefs.h
<<_ACEOF
20440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20465 for ac_header
in assert.h ctype.h errno.h malloc.h memory.h stdlib.h \
20468 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20469 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20470 eval as_val
=\$
$as_ac_Header
20471 if test "x$as_val" = x
""yes; then :
20472 cat >>confdefs.h
<<_ACEOF
20473 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20480 for ac_header
in dl.h sys
/dl.h dld.h mach-o
/dyld.h
20482 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20483 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20484 eval as_val
=\$
$as_ac_Header
20485 if test "x$as_val" = x
""yes; then :
20486 cat >>confdefs.h
<<_ACEOF
20487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20494 for ac_header
in string.h
strings.h
20496 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20497 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20498 eval as_val
=\$
$as_ac_Header
20499 if test "x$as_val" = x
""yes; then :
20500 cat >>confdefs.h
<<_ACEOF
20501 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20509 for ac_func
in strchr index
20511 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20512 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20513 eval as_val
=\$
$as_ac_var
20514 if test "x$as_val" = x
""yes; then :
20515 cat >>confdefs.h
<<_ACEOF
20516 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20522 for ac_func
in strrchr rindex
20524 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20525 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20526 eval as_val
=\$
$as_ac_var
20527 if test "x$as_val" = x
""yes; then :
20528 cat >>confdefs.h
<<_ACEOF
20529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20535 for ac_func
in memcpy bcopy
20537 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20538 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20539 eval as_val
=\$
$as_ac_var
20540 if test "x$as_val" = x
""yes; then :
20541 cat >>confdefs.h
<<_ACEOF
20542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20548 for ac_func
in memmove strcmp
20550 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20551 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20552 eval as_val
=\$
$as_ac_var
20553 if test "x$as_val" = x
""yes; then :
20554 cat >>confdefs.h
<<_ACEOF
20555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20561 for ac_func
in closedir opendir readdir
20563 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20564 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20565 eval as_val
=\$
$as_ac_var
20566 if test "x$as_val" = x
""yes; then :
20567 cat >>confdefs.h
<<_ACEOF
20568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20580 ac_config_files
="$ac_config_files Makefile"
20582 cat >confcache
<<\_ACEOF
20583 # This file is a shell script that caches the results of configure
20584 # tests run on this system so they can be shared between configure
20585 # scripts and configure runs, see configure's option --config-cache.
20586 # It is not useful on other systems. If it contains results you don't
20587 # want to keep, you may remove or edit it.
20589 # config.status only pays attention to the cache file if you give it
20590 # the --recheck option to rerun configure.
20592 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20593 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20594 # following values.
20598 # The following way of writing the cache mishandles newlines in values,
20599 # but we know of no workaround that is simple, portable, and efficient.
20600 # So, we kill variables containing newlines.
20601 # Ultrix sh set writes to stderr and can't be redirected directly,
20602 # and sets the high bit in the cache file unless we assign to the vars.
20604 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20605 eval ac_val
=\$
$ac_var
20609 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20610 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20613 _ | IFS | as_nl
) ;; #(
20614 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
20615 *) { eval $ac_var=; unset $ac_var;} ;;
20621 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20622 *${as_nl}ac_space
=\
*)
20623 # `set' does not quote correctly, so add quotes: double-quote
20624 # substitution turns \\\\ into \\, and sed turns \\ into \.
20627 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20630 # `set' quotes correctly as required by POSIX, so do not add quotes.
20631 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20640 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20642 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20644 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20645 if test -w "$cache_file"; then
20646 test "x$cache_file" != "x/dev/null" &&
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20648 $as_echo "$as_me: updating cache $cache_file" >&6;}
20649 cat confcache
>$cache_file
20651 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20652 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20657 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20658 # Let make expand exec_prefix.
20659 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20661 DEFS
=-DHAVE_CONFIG_H
20665 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20666 # 1. Remove the extension, and $U if already installed.
20667 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20668 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
20669 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20670 # will be set to the directory where LIBOBJS objects are built.
20671 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20672 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
20674 LIBOBJS
=$ac_libobjs
20676 LTLIBOBJS
=$ac_ltlibobjs
20679 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20680 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
20681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20683 if test -n "$EXEEXT"; then
20685 am__EXEEXT_FALSE
='#'
20687 am__EXEEXT_TRUE
='#'
20691 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20692 as_fn_error
"conditional \"AMDEP\" was never defined.
20693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20695 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20696 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
20697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20699 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20700 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
20701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20703 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
20704 as_fn_error
"conditional \"INSTALL_LTDL\" was never defined.
20705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20707 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
20708 as_fn_error
"conditional \"CONVENIENCE_LTDL\" was never defined.
20709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20712 : ${CONFIG_STATUS=./config.status}
20714 ac_clean_files_save
=$ac_clean_files
20715 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20717 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20719 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20721 # Generated by $as_me.
20722 # Run this file to recreate the current configuration.
20723 # Compiler output produced by configure, useful for debugging
20724 # configure, is in config.log if it exists.
20727 ac_cs_recheck=false
20730 SHELL=\${CONFIG_SHELL-$SHELL}
20733 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
20734 ## -------------------- ##
20735 ## M4sh Initialization. ##
20736 ## -------------------- ##
20738 # Be more Bourne compatible
20739 DUALCASE
=1; export DUALCASE
# for MKS sh
20740 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20743 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20744 # is contrary to our usage. Disable this feature.
20745 alias -g '${1+"$@"}'='"$@"'
20746 setopt NO_GLOB_SUBST
20748 case `(set -o) 2>/dev/null` in #(
20760 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20761 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20762 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20763 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20764 # Prefer a ksh shell builtin over an external printf program on Solaris,
20765 # but without wasting forks for bash or zsh.
20766 if test -z "$BASH_VERSION$ZSH_VERSION" \
20767 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20768 as_echo='print
-r --'
20769 as_echo_n='print
-rn --'
20770 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20771 as_echo='printf %s
\n'
20772 as_echo_n='printf %s
'
20774 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20775 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20776 as_echo_n='/usr
/ucb
/echo -n'
20778 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20779 as_echo_n_body='eval
20783 expr "X$arg" : "X\\(.*\\)$as_nl";
20784 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20786 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
20788 export as_echo_n_body
20789 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20791 export as_echo_body
20792 as_echo='sh
-c $as_echo_body as_echo
'
20795 # The user is always right.
20796 if test "${PATH_SEPARATOR+set}" != set; then
20798 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20799 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20806 # We need space, tab and new line, in precisely that order. Quoting is
20807 # there to prevent editors from complaining about space-tab.
20808 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20809 # splitting by setting IFS to empty value.)
20812 # Find who we are. Look in the path if we contain no directory separator.
20814 *[\\/]* ) as_myself=$0 ;;
20815 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20816 for as_dir in $PATH
20819 test -z "$as_dir" && as_dir=.
20820 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20826 # We did not find ourselves, most probably we were run as `sh COMMAND'
20827 # in which case we are not to be found in the path.
20828 if test "x$as_myself" = x
; then
20831 if test ! -f "$as_myself"; then
20832 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20836 # Unset variables that we do not need and which cause bugs (e.g. in
20837 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20838 # suppresses any "Segmentation fault" message there. '((' could
20839 # trigger a bug in pdksh 5.2.14.
20840 for as_var
in BASH_ENV ENV MAIL MAILPATH
20841 do eval test x\
${$as_var+set} = xset \
20842 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
20855 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20858 # as_fn_error ERROR [LINENO LOG_FD]
20859 # ---------------------------------
20860 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20861 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20862 # script with status $?, using 1 if that was 0.
20865 as_status
=$?
; test $as_status -eq 0 && as_status
=1
20867 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20868 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
20870 $as_echo "$as_me: error: $1" >&2
20871 as_fn_exit
$as_status
20875 # as_fn_set_status STATUS
20876 # -----------------------
20877 # Set $? to STATUS, without forking.
20878 as_fn_set_status
()
20881 } # as_fn_set_status
20883 # as_fn_exit STATUS
20884 # -----------------
20885 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20889 as_fn_set_status
$1
20895 # Portably unset VAR.
20898 { eval $1=; unset $1;}
20900 as_unset
=as_fn_unset
20901 # as_fn_append VAR VALUE
20902 # ----------------------
20903 # Append the text in VALUE to the end of the definition contained in VAR. Take
20904 # advantage of any shell optimizations that allow amortized linear growth over
20905 # repeated appends, instead of the typical quadratic growth present in naive
20907 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20908 eval 'as_fn_append ()
20919 # as_fn_arith ARG...
20920 # ------------------
20921 # Perform arithmetic evaluation on the ARGs, and store the result in the
20922 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20923 # must be portable across $(()) and expr.
20924 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20925 eval 'as_fn_arith ()
20932 as_val
=`expr "$@" || test $? -eq 1`
20937 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20938 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20944 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20945 as_basename
=basename
20950 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20956 as_me
=`$as_basename -- "$0" ||
20957 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20958 X"$0" : 'X\(//\)$' \| \
20959 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20961 sed '/^.*\/\([^/][^/]*\)\/*$/{
20975 # Avoid depending upon Character Ranges.
20976 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20977 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20978 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20979 as_cr_digits
='0123456789'
20980 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20982 ECHO_C
= ECHO_N
= ECHO_T
=
20983 case `echo -n x` in #(((((
20985 case `echo 'xy\c'` in
20986 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20988 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20995 rm -f conf$$ conf$$.exe conf$$.
file
20996 if test -d conf$$.dir
; then
20997 rm -f conf$$.dir
/conf$$.
file
21000 mkdir conf$$.dir
2>/dev
/null
21002 if (echo >conf$$.
file) 2>/dev
/null
; then
21003 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21005 # ... but there are two gotchas:
21006 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21007 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21008 # In both cases, we have to default to `cp -p'.
21009 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21011 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21019 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21020 rmdir conf$$.dir
2>/dev
/null
21025 # Create "$as_dir" as a directory, including parents if necessary.
21030 -*) as_dir
=.
/$as_dir;;
21032 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
21036 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21037 *) as_qdir
=$as_dir;;
21039 as_dirs
="'$as_qdir' $as_dirs"
21040 as_dir
=`$as_dirname -- "$as_dir" ||
21041 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21042 X"$as_dir" : 'X\(//\)[^/]' \| \
21043 X"$as_dir" : 'X\(//\)$' \| \
21044 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21045 $as_echo X"$as_dir" |
21046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21050 /^X\(\/\/\)[^/].*/{
21063 test -d "$as_dir" && break
21065 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21066 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
21070 if mkdir
-p .
2>/dev
/null
; then
21071 as_mkdir_p
='mkdir -p "$as_dir"'
21073 test -d .
/-p && rmdir .
/-p
21077 if test -x / >/dev
/null
2>&1; then
21078 as_test_x
='test -x'
21080 if ls -dL / >/dev
/null
2>&1; then
21087 if test -d "$1"; then
21093 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
21094 ???[sx]*):;;*)false;;esac;fi
21098 as_executable_p
=$as_test_x
21100 # Sed expression to map a string onto a valid CPP name.
21101 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21103 # Sed expression to map a string onto a valid variable name.
21104 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21108 ## ----------------------------------- ##
21109 ## Main body of $CONFIG_STATUS script. ##
21110 ## ----------------------------------- ##
21112 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
21114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21115 # Save the log message, to keep $0 and so on meaningful, and to
21116 # report actual input values of CONFIG_FILES etc. instead of their
21117 # values after options handling.
21119 This file was extended by libltdl $as_me 1.2, which was
21120 generated by GNU Autoconf 2.64. Invocation command line was
21122 CONFIG_FILES = $CONFIG_FILES
21123 CONFIG_HEADERS = $CONFIG_HEADERS
21124 CONFIG_LINKS = $CONFIG_LINKS
21125 CONFIG_COMMANDS = $CONFIG_COMMANDS
21128 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21133 case $ac_config_files in *"
21134 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21137 case $ac_config_headers in *"
21138 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21143 # Files that config.status was made for.
21144 config_files="$ac_config_files"
21145 config_headers="$ac_config_headers"
21146 config_commands="$ac_config_commands"
21150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21152 \`$as_me' instantiates files and other configuration actions
21153 from templates according to the current configuration. Unless the files
21154 and actions are specified as TAGs, all are instantiated by default.
21156 Usage: $0 [OPTION]... [TAG]...
21158 -h, --help print this help, then exit
21159 -V, --version print version number and configuration settings, then exit
21160 -q, --quiet, --silent
21161 do not print progress messages
21162 -d, --debug don't remove temporary files
21163 --recheck update $as_me by reconfiguring in the same conditions
21164 --file=FILE[:TEMPLATE]
21165 instantiate the configuration file FILE
21166 --header=FILE[:TEMPLATE]
21167 instantiate the configuration header FILE
21169 Configuration files:
21172 Configuration headers:
21175 Configuration commands:
21178 Report bugs to <bug-libtool@gnu.org>."
21181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21183 libltdl config.status 1.2
21184 configured by $0, generated by GNU Autoconf 2.64,
21185 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21187 Copyright (C) 2009 Free Software Foundation, Inc.
21188 This config.status script is free software; the Free Software Foundation
21189 gives unlimited permission to copy, distribute and modify it."
21196 test -n "\$AWK" || AWK=awk
21199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21200 # The default lists apply if the user does not specify any file.
21206 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21207 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21218 # Handling of the options.
21219 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21221 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21222 $as_echo "$ac_cs_version"; exit ;;
21223 --debug |
--debu |
--deb |
--de |
--d |
-d )
21225 --file |
--fil |
--fi |
--f )
21228 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21230 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21231 ac_need_defaults
=false
;;
21232 --header |
--heade |
--head |
--hea )
21235 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21237 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21238 ac_need_defaults
=false
;;
21240 # Conflict between --help and --header
21241 as_fn_error
"ambiguous option: \`$1'
21242 Try \`$0 --help' for more information.";;
21243 --help |
--hel |
-h )
21244 $as_echo "$ac_cs_usage"; exit ;;
21245 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21246 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21249 # This is an error.
21250 -*) as_fn_error
"unrecognized option: \`$1'
21251 Try \`$0 --help' for more information." ;;
21253 *) as_fn_append ac_config_targets
" $1"
21254 ac_need_defaults
=false
;;
21260 ac_configure_extra_args
=
21262 if $ac_cs_silent; then
21264 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21269 if \$ac_cs_recheck; then
21270 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21272 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21273 CONFIG_SHELL='$SHELL'
21274 export CONFIG_SHELL
21279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21283 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21284 ## Running $as_me. ##
21290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21298 with_multisubdir="$with_multisubdir"
21299 with_multisrctop="$with_multisrctop"
21300 with_target_subdir="$with_target_subdir"
21301 ac_configure_args="${multilib_arg} ${ac_configure_args}"
21302 multi_basedir="$multi_basedir"
21303 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
21306 GFORTRAN="$GFORTRAN"
21308 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21314 # Handling of arguments.
21315 for ac_config_target
in $ac_config_targets
21317 case $ac_config_target in
21318 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
21319 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config-h.in" ;;
21320 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21321 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21323 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21328 # If the user did not use the arguments to specify the items to instantiate,
21329 # then the envvar interface is used. Set only those that are not.
21330 # We use the long form for the default assignment because of an extremely
21331 # bizarre bug on SunOS 4.1.3.
21332 if $ac_need_defaults; then
21333 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21334 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21335 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21338 # Have a temporary directory for convenience. Make it in the build tree
21339 # simply because there is no reason against having it here, and in addition,
21340 # creating and moving files from /tmp can sometimes cause problems.
21341 # Hook for its removal unless debugging.
21342 # Note that there is a small window in which the directory will not be cleaned:
21343 # after its creation but before its name has been assigned to `$tmp'.
21347 trap 'exit_status=$?
21348 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21350 trap 'as_fn_exit 1' 1 2 13 15
21352 # Create a (secure) tmp directory for tmp files.
21355 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21356 test -n "$tmp" && test -d "$tmp"
21359 tmp
=.
/conf$$
-$RANDOM
21360 (umask 077 && mkdir
"$tmp")
21361 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
21363 # Set up the scripts for CONFIG_FILES section.
21364 # No need to generate them if there are no CONFIG_FILES.
21365 # This happens for instance with `./config.status config.h'.
21366 if test -n "$CONFIG_FILES"; then
21369 ac_cr
=`echo X | tr X '\015'`
21370 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21371 # But we know of no other shell where ac_cr would be empty at this
21372 # point, so we can use a bashism as a fallback.
21373 if test "x$ac_cr" = x
; then
21374 eval ac_cr
=\$
\'\\r
\'
21376 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21377 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21380 ac_cs_awk_cr
=$ac_cr
21383 echo 'BEGIN {' >"$tmp/subs1.awk" &&
21388 echo "cat >conf$$subs.awk <<_ACEOF" &&
21389 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21391 } >conf$$subs.sh ||
21392 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
21393 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
21395 for ac_last_try in false false false false false :; do
21396 . ./conf$$subs.sh ||
21397 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
21399 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
21400 if test $ac_delim_n = $ac_delim_num; then
21402 elif $ac_last_try; then
21403 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
21405 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21408 rm -f conf$$subs.sh
21410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21411 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
21415 s/^/S["/; s
/!.
*/"]=/
21425 s/\(.\{148\}\).*/\1/
21427 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
21432 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21439 s/\(.\{148\}\).*/\1/
21441 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
21445 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
21450 ' <conf$$subs.awk | sed '
21455 ' >>$CONFIG_STATUS || ac_write_fail=1
21456 rm -f conf$$subs.awk
21457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21459 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
21460 for (key in S) S_is_set[key] = 1
21466 nfields = split(line, field, "@
")
21468 len = length(field[1])
21469 for (i = 2; i < nfields; i++) {
21471 keylen = length(key)
21472 if (S_is_set[key]) {
21474 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21475 len += length(value) + length(field[++i])
21486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21487 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21488 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21491 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
21492 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
21495 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21496 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
21497 # trailing colons and then remove the whole line if VPATH becomes empty
21498 # (actually we leave an empty line to preserve line numbers).
21499 if test "x
$srcdir" = x.; then
21500 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21501 s/:*\$(srcdir):*/:/
21502 s/:*\${srcdir}:*/:/
21504 s/^\([^=]*=[ ]*\):*/\1/
21510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21511 fi # test -n "$CONFIG_FILES"
21513 # Set up the scripts for CONFIG_HEADERS section.
21514 # No need to generate them if there are no CONFIG_HEADERS.
21515 # This happens for instance with `./config.status Makefile'.
21516 if test -n "$CONFIG_HEADERS"; then
21517 cat >"$tmp/defines.
awk" <<\_ACAWK ||
21521 # Transform confdefs.h into an awk script `defines.awk', embedded as
21522 # here-document in config.status, that substitutes the proper values into
21523 # config.h.in to produce config.h.
21525 # Create a delimiter string that does not exist in confdefs.h, to ease
21526 # handling of long lines.
21528 for ac_last_try in false false :; do
21529 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
21530 if test -z "$ac_t"; then
21532 elif $ac_last_try; then
21533 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
21535 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21539 # For the awk script, D is an array of macro values keyed by name,
21540 # likewise P contains macro parameters if any. Preserve backslash
21541 # newline sequences.
21543 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21545 s/.\{148\}/&'"$ac_delim"'/g
21548 s/^[ ]*#[ ]*define[ ][ ]*/ /
21555 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21557 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21561 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21562 D["\
1"]=" \
3\\\\\\n
"\\/p
21564 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21569 s/.\{148\}/&'"$ac_delim"'/g
21574 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21577 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21579 ' <confdefs.h | sed '
21580 s/'"$ac_delim"'/"\\\
21581 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21583 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21584 for (key in D) D_is_set[key] = 1
21587 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21589 split(line, arg, " ")
21590 if (arg[1] == "#") {
21594 defundef
= substr
(arg
[1], 2)
21597 split(mac1
, mac2
, "(") #)
21599 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21600 if (D_is_set
[macro
]) {
21601 # Preserve the white space surrounding the "#".
21602 print prefix
"define", macro P
[macro
] D
[macro
]
21605 # Replace #undef with comments. This is necessary, for example,
21606 # in the case of _POSIX_SOURCE, which is predefined and required
21607 # on some systems where configure will not decide to define it.
21608 if (defundef
== "undef") {
21609 print
"/*", prefix defundef
, macro
, "*/"
21617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21618 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
21619 fi # test -n "$CONFIG_HEADERS"
21622 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21627 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21629 case $ac_mode$ac_tag in
21631 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21632 :[FH
]-) ac_tag
=-:-;;
21633 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21650 -) ac_f
="$tmp/stdin";;
21651 *) # Look for the file first in the build tree, then in the source tree
21652 # (if the path is not absolute). The absolute path cannot be DOS-style,
21653 # because $ac_f cannot contain `:'.
21657 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21659 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
21661 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21662 as_fn_append ac_file_inputs
" '$ac_f'"
21665 # Let's still pretend it is `configure' which instantiates (i.e., don't
21666 # use $as_me), people would be surprised to read:
21667 # /* config.h. Generated by config.status. */
21668 configure_input
='Generated from '`
21669 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21671 if test x
"$ac_file" != x-
; then
21672 configure_input
="$ac_file. $configure_input"
21673 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21674 $as_echo "$as_me: creating $ac_file" >&6;}
21676 # Neutralize special characters interpreted by sed in replacement strings.
21677 case $configure_input in #(
21678 *\
&* |
*\|
* |
*\\* )
21679 ac_sed_conf_input
=`$as_echo "$configure_input" |
21680 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21681 *) ac_sed_conf_input
=$configure_input;;
21685 *:-:* |
*:-) cat >"$tmp/stdin" \
21686 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
21691 ac_dir
=`$as_dirname -- "$ac_file" ||
21692 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21693 X"$ac_file" : 'X\(//\)[^/]' \| \
21694 X"$ac_file" : 'X\(//\)$' \| \
21695 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21696 $as_echo X"$ac_file" |
21697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21701 /^X\(\/\/\)[^/].*/{
21714 as_dir
="$ac_dir"; as_fn_mkdir_p
21718 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21720 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21721 # A ".." for each directory in $ac_dir_suffix.
21722 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21723 case $ac_top_builddir_sub in
21724 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21725 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21728 ac_abs_top_builddir
=$ac_pwd
21729 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21730 # for backward compatibility:
21731 ac_top_builddir
=$ac_top_build_prefix
21734 .
) # We are building in place.
21736 ac_top_srcdir
=$ac_top_builddir_sub
21737 ac_abs_top_srcdir
=$ac_pwd ;;
21738 [\\/]* | ?
:[\\/]* ) # Absolute name.
21739 ac_srcdir
=$srcdir$ac_dir_suffix;
21740 ac_top_srcdir
=$srcdir
21741 ac_abs_top_srcdir
=$srcdir ;;
21742 *) # Relative name.
21743 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21744 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21745 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21747 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21757 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21758 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21760 ac_MKDIR_P
=$MKDIR_P
21762 [\\/$
]* | ?
:[\\/]* ) ;;
21763 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21768 # If the template does not know about datarootdir, expand it.
21769 # FIXME: This hack should be removed a few years after 2.60.
21770 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21781 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21782 *datarootdir
*) ac_datarootdir_seen
=yes;;
21783 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21785 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21788 ac_datarootdir_hack='
21789 s&@datadir@&$datadir&g
21790 s&@docdir@&$docdir&g
21791 s&@infodir@&$infodir&g
21792 s&@localedir@&$localedir&g
21793 s&@mandir@&$mandir&g
21794 s&\\\${datarootdir}&$datarootdir&g' ;;
21798 # Neutralize VPATH when `$srcdir' = `.'.
21799 # Shell code in configure.ac might set extrasub.
21800 # FIXME: do we really want to maintain this feature?
21801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21802 ac_sed_extra="$ac_vpsub
21805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21807 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21808 s|@configure_input@|
$ac_sed_conf_input|
;t t
21809 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21810 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21811 s
&@srcdir@
&$ac_srcdir&;t t
21812 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21813 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21814 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21815 s
&@builddir@
&$ac_builddir&;t t
21816 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21817 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21818 s
&@INSTALL@
&$ac_INSTALL&;t t
21819 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21820 $ac_datarootdir_hack
21822 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
21823 || as_fn_error "could not create
$ac_file" "$LINENO" 5
21825 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21826 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21827 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21829 which seems to be undefined. Please make sure it is defined." >&5
21830 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21831 which seems to be undefined. Please make sure it is defined." >&2;}
21835 -) cat "$tmp/out" && rm -f "$tmp/out";;
21836 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
21838 || as_fn_error "could not create $ac_file" "$LINENO" 5
21844 if test x"$ac_file" != x-; then
21846 $as_echo "/* $configure_input */" \
21847 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
21848 } >"$tmp/config.h" \
21849 || as_fn_error "could not create $ac_file" "$LINENO" 5
21850 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
21851 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21852 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21855 mv "$tmp/config.h" "$ac_file" \
21856 || as_fn_error "could not create $ac_file" "$LINENO" 5
21859 $as_echo "/* $configure_input */" \
21860 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
21861 || as_fn_error "could not create -" "$LINENO" 5
21863 # Compute "$ac_file"'s index
in $config_headers.
21866 for _am_header
in $config_headers :; do
21867 case $_am_header in
21868 $_am_arg |
$_am_arg:* )
21871 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21874 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21875 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21876 X"$_am_arg" : 'X\(//\)[^/]' \| \
21877 X"$_am_arg" : 'X\(//\)$' \| \
21878 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21879 $as_echo X"$_am_arg" |
21880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21884 /^X\(\/\/\)[^/].*/{
21896 s/.*/./; q'`/stamp-h
$_am_stamp_count
21899 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21900 $as_echo "$as_me: executing $ac_file commands" >&6;}
21905 case $ac_file$ac_mode in
21907 # Only add multilib support code if we just rebuilt the top-level
21909 case " $CONFIG_FILES " in
21911 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
21914 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21915 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21916 # are listed without --file. Let's play safe and only enable the eval
21917 # if we detect the quoting.
21918 case $CONFIG_FILES in
21919 *\'*) eval set x
"$CONFIG_FILES" ;;
21920 *) set x
$CONFIG_FILES ;;
21925 # Strip MF so we end up with the name of the file.
21926 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21927 # Check whether this is an Automake generated Makefile or not.
21928 # We used to match only the files named `Makefile.in', but
21929 # some people rename them; so instead we look at the file content.
21930 # Grep'ing the first line is not enough: some people post-process
21931 # each Makefile.in and add a new line on top of each file to say so.
21932 # Grep'ing the whole file is not good either: AIX grep has a line
21933 # limit of 2048, but all sed's we know have understand at least 4000.
21934 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21935 dirpart
=`$as_dirname -- "$mf" ||
21936 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21937 X"$mf" : 'X\(//\)[^/]' \| \
21938 X"$mf" : 'X\(//\)$' \| \
21939 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21945 /^X\(\/\/\)[^/].*/{
21961 # Extract the definition of DEPDIR, am__include, and am__quote
21962 # from the Makefile without running `make'.
21963 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21964 test -z "$DEPDIR" && continue
21965 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21966 test -z "am__include" && continue
21967 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21968 # When using ansi2knr, U may be empty or an underscore; expand it
21969 U
=`sed -n 's/^U = //p' < "$mf"`
21970 # Find all dependency output files, they are included files with
21971 # $(DEPDIR) in their names. We invoke sed twice because it is the
21972 # simplest approach to changing $(DEPDIR) to its actual value in the
21974 for file in `sed -n "
21975 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21976 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21977 # Make sure the directory exists.
21978 test -f "$dirpart/$file" && continue
21979 fdir
=`$as_dirname -- "$file" ||
21980 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21981 X"$file" : 'X\(//\)[^/]' \| \
21982 X"$file" : 'X\(//\)$' \| \
21983 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21984 $as_echo X"$file" |
21985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21989 /^X\(\/\/\)[^/].*/{
22002 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22003 # echo "creating $dirpart/$file"
22004 echo '# dummy' > "$dirpart/$file"
22016 ac_clean_files
=$ac_clean_files_save
22018 test $ac_write_fail = 0 ||
22019 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22022 # configure is writing to config.log, and then calls config.status.
22023 # config.status does its own redirection, appending to config.log.
22024 # Unfortunately, on DOS this fails, as config.log is still kept open
22025 # by configure, so config.status won't be able to write to it; its
22026 # output is simply discarded. So we exec the FD to /dev/null,
22027 # effectively closing config.log, so it can be properly (re)opened and
22028 # appended to by config.status. When coming back to configure, we
22029 # need to make the FD available again.
22030 if test "$no_create" != yes; then
22032 ac_config_status_args
=
22033 test "$silent" = yes &&
22034 ac_config_status_args
="$ac_config_status_args --quiet"
22036 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22038 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22039 # would make configure fail if this is the last instruction.
22040 $ac_cs_success || as_fn_exit $?
22042 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22044 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}