2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libmudflap 1.0.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='libmudflap'
558 PACKAGE_TARNAME
='libmudflap'
559 PACKAGE_VERSION
='1.0'
560 PACKAGE_STRING
='libmudflap 1.0'
564 ac_unique_file
="mf-runtime.c"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars
='am__EXEEXT_FALSE
659 MAINTAINER_MODE_FALSE
669 INSTALL_STRIP_PROGRAM
724 program_transform_name
737 enable_option_checking
738 enable_version_specific_runtime_libs
739 enable_maintainer_mode
741 enable_dependency_tracking
750 ac_precious_vars
='build_alias
763 # Initialize some variables set by options.
765 ac_init_version
=false
766 ac_unrecognized_opts
=
768 # The variables have the same names as the options, with
769 # dashes changed to underlines.
777 program_transform_name
=s
,x
,x
,
785 # Installation directory options.
786 # These are left unexpanded so users can "make install exec_prefix=/foo"
787 # and all the variables that are supposed to be based on exec_prefix
788 # by default will actually change.
789 # Use braces instead of parens because sh, perl, etc. also accept them.
790 # (The list follows the same order as the GNU Coding Standards.)
791 bindir
='${exec_prefix}/bin'
792 sbindir
='${exec_prefix}/sbin'
793 libexecdir
='${exec_prefix}/libexec'
794 datarootdir
='${prefix}/share'
795 datadir
='${datarootdir}'
796 sysconfdir
='${prefix}/etc'
797 sharedstatedir
='${prefix}/com'
798 localstatedir
='${prefix}/var'
799 includedir
='${prefix}/include'
800 oldincludedir
='/usr/include'
801 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
802 infodir
='${datarootdir}/info'
807 libdir
='${exec_prefix}/lib'
808 localedir
='${datarootdir}/locale'
809 mandir
='${datarootdir}/man'
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 eval $ac_prev=\
$ac_option
823 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
827 # Accept the important Cygnus configure options, so we can diagnose typos.
829 case $ac_dashdash$ac_option in
833 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
835 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
838 -build |
--build |
--buil |
--bui |
--bu)
839 ac_prev
=build_alias
;;
840 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
841 build_alias
=$ac_optarg ;;
843 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
844 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
845 ac_prev
=cache_file
;;
846 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
847 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
848 cache_file
=$ac_optarg ;;
851 cache_file
=config.cache
;;
853 -datadir |
--datadir |
--datadi |
--datad)
855 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
856 datadir
=$ac_optarg ;;
858 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
859 |
--dataroo |
--dataro |
--datar)
860 ac_prev
=datarootdir
;;
861 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
862 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
863 datarootdir
=$ac_optarg ;;
865 -disable-* |
--disable-*)
866 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
869 as_fn_error
"invalid feature name: $ac_useropt"
870 ac_useropt_orig
=$ac_useropt
871 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872 case $ac_user_opts in
876 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
877 ac_unrecognized_sep
=', ';;
879 eval enable_
$ac_useropt=no
;;
881 -docdir |
--docdir |
--docdi |
--doc |
--do)
883 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
886 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
888 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
891 -enable-* |
--enable-*)
892 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
895 as_fn_error
"invalid feature name: $ac_useropt"
896 ac_useropt_orig
=$ac_useropt
897 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903 ac_unrecognized_sep
=', ';;
905 eval enable_
$ac_useropt=\
$ac_optarg ;;
907 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
908 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
909 |
--exec |
--exe |
--ex)
910 ac_prev
=exec_prefix
;;
911 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
912 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
913 |
--exec=* |
--exe=* |
--ex=*)
914 exec_prefix
=$ac_optarg ;;
916 -gas |
--gas |
--ga |
--g)
917 # Obsolete; use --with-gas.
920 -help |
--help |
--hel |
--he |
-h)
922 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
923 ac_init_help
=recursive
;;
924 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
925 ac_init_help
=short
;;
927 -host |
--host |
--hos |
--ho)
928 ac_prev
=host_alias
;;
929 -host=* |
--host=* |
--hos=* |
--ho=*)
930 host_alias
=$ac_optarg ;;
932 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
934 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
936 htmldir
=$ac_optarg ;;
938 -includedir |
--includedir |
--includedi |
--included |
--include \
939 |
--includ |
--inclu |
--incl |
--inc)
940 ac_prev
=includedir
;;
941 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
942 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
943 includedir
=$ac_optarg ;;
945 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
947 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
948 infodir
=$ac_optarg ;;
950 -libdir |
--libdir |
--libdi |
--libd)
952 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
955 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
956 |
--libexe |
--libex |
--libe)
957 ac_prev
=libexecdir
;;
958 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
959 |
--libexe=* |
--libex=* |
--libe=*)
960 libexecdir
=$ac_optarg ;;
962 -localedir |
--localedir |
--localedi |
--localed |
--locale)
964 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
965 localedir
=$ac_optarg ;;
967 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
968 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
969 ac_prev
=localstatedir
;;
970 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
971 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
972 localstatedir
=$ac_optarg ;;
974 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
976 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
980 # Obsolete; use --without-fp.
983 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
984 |
--no-cr |
--no-c |
-n)
987 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
988 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
991 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
992 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
993 |
--oldin |
--oldi |
--old |
--ol |
--o)
994 ac_prev
=oldincludedir
;;
995 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
996 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
997 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
998 oldincludedir
=$ac_optarg ;;
1000 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1002 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1003 prefix
=$ac_optarg ;;
1005 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1006 |
--program-pre |
--program-pr |
--program-p)
1007 ac_prev
=program_prefix
;;
1008 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1009 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1010 program_prefix
=$ac_optarg ;;
1012 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1013 |
--program-suf |
--program-su |
--program-s)
1014 ac_prev
=program_suffix
;;
1015 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1016 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1017 program_suffix
=$ac_optarg ;;
1019 -program-transform-name |
--program-transform-name \
1020 |
--program-transform-nam |
--program-transform-na \
1021 |
--program-transform-n |
--program-transform- \
1022 |
--program-transform |
--program-transfor \
1023 |
--program-transfo |
--program-transf \
1024 |
--program-trans |
--program-tran \
1025 |
--progr-tra |
--program-tr |
--program-t)
1026 ac_prev
=program_transform_name
;;
1027 -program-transform-name=* |
--program-transform-name=* \
1028 |
--program-transform-nam=* |
--program-transform-na=* \
1029 |
--program-transform-n=* |
--program-transform-=* \
1030 |
--program-transform=* |
--program-transfor=* \
1031 |
--program-transfo=* |
--program-transf=* \
1032 |
--program-trans=* |
--program-tran=* \
1033 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1034 program_transform_name
=$ac_optarg ;;
1036 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1038 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1039 pdfdir
=$ac_optarg ;;
1041 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1043 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1046 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1047 |
-silent |
--silent |
--silen |
--sile |
--sil)
1050 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1052 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1054 sbindir
=$ac_optarg ;;
1056 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1057 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1058 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1060 ac_prev
=sharedstatedir
;;
1061 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1062 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1063 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1065 sharedstatedir
=$ac_optarg ;;
1067 -site |
--site |
--sit)
1069 -site=* |
--site=* |
--sit=*)
1072 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1074 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1075 srcdir
=$ac_optarg ;;
1077 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1078 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1079 ac_prev
=sysconfdir
;;
1080 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1081 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1082 sysconfdir
=$ac_optarg ;;
1084 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1085 ac_prev
=target_alias
;;
1086 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1087 target_alias
=$ac_optarg ;;
1089 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1092 -version |
--version |
--versio |
--versi |
--vers |
-V)
1093 ac_init_version
=: ;;
1096 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 as_fn_error
"invalid package name: $ac_useropt"
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval with_
$ac_useropt=\
$ac_optarg ;;
1111 -without-* |
--without-*)
1112 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1115 as_fn_error
"invalid package name: $ac_useropt"
1116 ac_useropt_orig
=$ac_useropt
1117 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep
=', ';;
1125 eval with_
$ac_useropt=no
;;
1128 # Obsolete; use --with-x.
1131 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1132 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1133 ac_prev
=x_includes
;;
1134 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1135 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1136 x_includes
=$ac_optarg ;;
1138 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1139 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1140 ac_prev
=x_libraries
;;
1141 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1142 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1143 x_libraries
=$ac_optarg ;;
1145 -*) as_fn_error
"unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information."
1150 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 case $ac_envvar in #(
1153 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1154 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1156 eval $ac_envvar=\
$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1172 as_fn_error
"missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176 case $enable_option_checking in
1178 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 # Check all directory arguments for consistency.
1184 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir
1189 eval ac_val
=\$
$ac_var
1190 # Remove trailing slashes.
1193 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194 eval $ac_var=\
$ac_val;;
1196 # Be sure to have absolute directory names.
1198 [\\/$
]* | ?
:[\\/]* ) continue;;
1199 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1201 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1209 target
=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x
; then
1213 if test "x$build_alias" = x
; then
1214 cross_compiling
=maybe
1215 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1216 If a cross compiler is detected then cross compile mode will be used." >&2
1217 elif test "x$build_alias" != "x$host_alias"; then
1223 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1225 test "$silent" = yes && exec 6>/dev
/null
1228 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1229 ac_ls_di
=`ls -di .` &&
1230 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1231 as_fn_error
"working directory cannot be determined"
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233 as_fn_error
"pwd does not report name of working directory"
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238 ac_srcdir_defaulted
=yes
1239 # Try the directory containing this script, then the parent directory.
1240 ac_confdir
=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242 X"$as_myself" : 'X\(//\)[^/]' \| \
1243 X"$as_myself" : 'X\(//\)$' \| \
1244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1268 ac_srcdir_defaulted
=no
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1272 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1274 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1286 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288 for ac_var
in $ac_precious_vars; do
1289 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1291 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1296 # Report the --help message.
1298 if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1302 \`configure' configures libmudflap 1.0 to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE. See below for descriptions of some of the useful variables.
1309 Defaults for the options are specified in brackets.
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1322 Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1333 For better control, use the options below.
1335 Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root [DATAROOTDIR/doc/libmudflap]
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1360 --program-prefix=PREFIX prepend PREFIX to installed program names
1361 --program-suffix=SUFFIX append SUFFIX to installed program names
1362 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1365 --build=BUILD configure
for building on BUILD
[guessed
]
1366 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1367 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1371 if test -n "$ac_init_help"; then
1372 case $ac_init_help in
1373 short | recursive
) echo "Configuration of libmudflap 1.0:";;
1378 --disable-option-checking ignore unrecognized
--enable/--with options
1379 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1380 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1381 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1382 --enable-maintainer-mode enable make rules and dependencies not useful
1383 (and sometimes confusing
) to the casual installer
1384 --enable-multilib build many library versions
(default
)
1385 --disable-dependency-tracking speeds up one-time build
1386 --enable-dependency-tracking do not reject slow dependency extractors
1387 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1388 --enable-static[=PKGS
] build static libraries
[default
=yes]
1389 --enable-fast-install[=PKGS
]
1390 optimize
for fast installation
[default
=yes]
1391 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1392 --enable-tls Use thread-local storage
[default
=yes]
1395 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1396 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1397 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1399 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1401 Some influential environment variables
:
1402 CC C compiler
command
1403 CFLAGS C compiler flags
1404 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1405 nonstandard directory
<lib dir
>
1406 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1407 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1408 you have headers
in a nonstandard directory
<include dir
>
1410 CXX C
++ compiler
command
1411 CXXFLAGS C
++ compiler flags
1412 CXXCPP C
++ preprocessor
1414 Use these variables to override the choices made by
`configure' or to help
1415 it to find libraries and programs with nonstandard names/locations.
1417 Report bugs to the package provider.
1422 if test "$ac_init_help" = "recursive"; then
1423 # If there are subdirs, report their specific --help.
1424 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1425 test -d "$ac_dir" ||
1426 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1431 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1434 # A ".." for each directory in $ac_dir_suffix.
1435 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1436 case $ac_top_builddir_sub in
1437 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1438 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1441 ac_abs_top_builddir=$ac_pwd
1442 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1443 # for backward compatibility:
1444 ac_top_builddir=$ac_top_build_prefix
1447 .) # We are building in place.
1449 ac_top_srcdir=$ac_top_builddir_sub
1450 ac_abs_top_srcdir=$ac_pwd ;;
1451 [\\/]* | ?:[\\/]* ) # Absolute name.
1452 ac_srcdir=$srcdir$ac_dir_suffix;
1453 ac_top_srcdir=$srcdir
1454 ac_abs_top_srcdir=$srcdir ;;
1456 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1457 ac_top_srcdir=$ac_top_build_prefix$srcdir
1458 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1460 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1462 cd "$ac_dir" || { ac_status=$?; continue; }
1463 # Check for guested configure.
1464 if test -f "$ac_srcdir/configure.gnu"; then
1466 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1467 elif test -f "$ac_srcdir/configure"; then
1469 $SHELL "$ac_srcdir/configure" --help=recursive
1471 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1473 cd "$ac_pwd" || { ac_status=$?; break; }
1477 test -n "$ac_init_help" && exit $ac_status
1478 if $ac_init_version; then
1480 libmudflap configure 1.0
1481 generated by GNU Autoconf 2.64
1483 Copyright (C) 2009 Free Software Foundation, Inc.
1484 This configure script is free software; the Free Software Foundation
1485 gives unlimited permission to copy, distribute and modify it.
1490 ## ------------------------ ##
1491 ## Autoconf initialization. ##
1492 ## ------------------------ ##
1494 # ac_fn_c_try_compile LINENO
1495 # --------------------------
1496 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1497 ac_fn_c_try_compile ()
1499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500 rm -f conftest.$ac_objext
1501 if { { ac_try="$ac_compile"
1503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1504 *) ac_try_echo
=$ac_try;;
1506 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1507 $as_echo "$ac_try_echo"; } >&5
1508 (eval "$ac_compile") 2>conftest.err
1510 if test -s conftest.err
; then
1511 grep -v '^ *+' conftest.err
>conftest.er1
1512 cat conftest.er1
>&5
1513 mv -f conftest.er1 conftest.err
1515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1516 test $ac_status = 0; } && {
1517 test -z "$ac_c_werror_flag" ||
1518 test ! -s conftest.err
1519 } && test -s conftest.
$ac_objext; then :
1522 $as_echo "$as_me: failed program was:" >&5
1523 sed 's/^/| /' conftest.
$ac_ext >&5
1527 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1530 } # ac_fn_c_try_compile
1532 # ac_fn_c_try_cpp LINENO
1533 # ----------------------
1534 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1537 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1538 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1541 *) ac_try_echo=$ac_try;;
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1547 if test -s conftest.err; then
1548 grep -v '^ *+' conftest.err >conftest.er1
1549 cat conftest.er1 >&5
1550 mv -f conftest.er1 conftest.err
1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553 test $ac_status = 0; } >/dev/null && {
1554 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1555 test ! -s conftest.err
1559 $as_echo "$as_me: failed program was:" >&5
1560 sed 's/^/| /' conftest.$ac_ext >&5
1564 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1569 # ac_fn_cxx_try_compile LINENO
1570 # ----------------------------
1571 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1572 ac_fn_cxx_try_compile ()
1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575 rm -f conftest.$ac_objext
1576 if { { ac_try="$ac_compile"
1578 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1579 *) ac_try_echo
=$ac_try;;
1581 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1582 $as_echo "$ac_try_echo"; } >&5
1583 (eval "$ac_compile") 2>conftest.err
1585 if test -s conftest.err
; then
1586 grep -v '^ *+' conftest.err
>conftest.er1
1587 cat conftest.er1
>&5
1588 mv -f conftest.er1 conftest.err
1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591 test $ac_status = 0; } && {
1592 test -z "$ac_cxx_werror_flag" ||
1593 test ! -s conftest.err
1594 } && test -s conftest.
$ac_objext; then :
1597 $as_echo "$as_me: failed program was:" >&5
1598 sed 's/^/| /' conftest.
$ac_ext >&5
1602 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1605 } # ac_fn_cxx_try_compile
1607 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1608 # -------------------------------------------------------
1609 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1610 # the include files in INCLUDES and setting the cache variable VAR
1612 ac_fn_c_check_header_mongrel
()
1614 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1615 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1617 $as_echo_n "checking for $2... " >&6; }
1618 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1619 $as_echo_n "(cached) " >&6
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1623 $as_echo "$ac_res" >&6; }
1625 # Is the header compilable?
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1627 $as_echo_n "checking $2 usability... " >&6; }
1628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h. */
1633 if ac_fn_c_try_compile
"$LINENO"; then :
1634 ac_header_compiler
=yes
1636 ac_header_compiler
=no
1638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1640 $as_echo "$ac_header_compiler" >&6; }
1642 # Is the header present?
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1644 $as_echo_n "checking $2 presence... " >&6; }
1645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1646 /* end confdefs.h. */
1649 if ac_fn_c_try_cpp
"$LINENO"; then :
1650 ac_header_preproc
=yes
1652 ac_header_preproc
=no
1654 rm -f conftest.err conftest.
$ac_ext
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1656 $as_echo "$ac_header_preproc" >&6; }
1658 # So? What about this header?
1659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1662 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1664 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1668 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1670 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1672 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1674 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1676 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1682 $as_echo_n "(cached) " >&6
1684 eval "$3=\$ac_header_compiler"
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1688 $as_echo "$ac_res" >&6; }
1690 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1692 } # ac_fn_c_check_header_mongrel
1694 # ac_fn_c_try_run LINENO
1695 # ----------------------
1696 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1697 # that executables *can* be run.
1700 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1701 if { { ac_try
="$ac_link"
1703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_link") 2>&5
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1712 { { case "(($ac_try" in
1713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1714 *) ac_try_echo
=$ac_try;;
1716 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718 (eval "$ac_try") 2>&5
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; }; }; then :
1724 $as_echo "$as_me: program exited with status $ac_status" >&5
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.
$ac_ext >&5
1728 ac_retval
=$ac_status
1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1736 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1737 # -------------------------------------------------------
1738 # Tests whether HEADER exists and can be compiled using the include files in
1739 # INCLUDES, setting the cache variable VAR accordingly.
1740 ac_fn_c_check_header_compile
()
1742 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744 $as_echo_n "checking for $2... " >&6; }
1745 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1746 $as_echo_n "(cached) " >&6
1748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1749 /* end confdefs.h. */
1753 if ac_fn_c_try_compile
"$LINENO"; then :
1758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1765 } # ac_fn_c_check_header_compile
1767 # ac_fn_c_try_link LINENO
1768 # -----------------------
1769 # Try to link conftest.$ac_ext, and return whether this succeeded.
1772 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1773 rm -f conftest.
$ac_objext conftest
$ac_exeext
1774 if { { ac_try
="$ac_link"
1776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_link") 2>conftest.err
1783 if test -s conftest.err; then
1784 grep -v '^ *+' conftest.err >conftest.er1
1785 cat conftest.er1 >&5
1786 mv -f conftest.er1 conftest.err
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } && {
1790 test -z "$ac_c_werror_flag" ||
1791 test ! -s conftest.err
1792 } && test -s conftest$ac_exeext && {
1793 test "$cross_compiling" = yes ||
1794 $as_test_x conftest$ac_exeext
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.$ac_ext >&5
1803 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1804 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1805 # interfere with the next link command; also delete a directory that is
1806 # left behind by Apple's compiler. We do this before executing the actions.
1807 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1811 } # ac_fn_c_try_link
1813 # ac_fn_c_check_func LINENO FUNC VAR
1814 # ----------------------------------
1815 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1816 ac_fn_c_check_func ()
1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1821 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1822 $as_echo_n "(cached) " >&6
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1828 #define $2 innocuous_$2
1830 /* System header to define __stub macros and hopefully few prototypes,
1831 which can conflict with char $2 (); below.
1832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1833 <limits.h> exists even on freestanding compilers. */
1836 # include <limits.h>
1838 # include <assert.h>
1843 /* Override any GCC internal prototype to avoid an error.
1844 Use char because int might match the return type of a GCC
1845 builtin and then its argument prototype would still apply. */
1850 /* The GNU C library defines this for functions which it implements
1851 to always fail with ENOSYS. Some functions are actually named
1852 something starting with __ and the normal name is an alias. */
1853 #if defined __stub_$2 || defined __stub___$2
1865 if ac_fn_c_try_link "$LINENO"; then :
1870 rm -f core conftest.err conftest.$ac_objext \
1871 conftest$ac_exeext conftest.$ac_ext
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878 } # ac_fn_c_check_func
1880 # ac_fn_cxx_try_cpp LINENO
1881 # ------------------------
1882 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1883 ac_fn_cxx_try_cpp ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 if { { ac_try="$ac_cpp conftest.$ac_ext"
1888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1889 *) ac_try_echo
=$ac_try;;
1891 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1895 if test -s conftest.err
; then
1896 grep -v '^ *+' conftest.err
>conftest.er1
1897 cat conftest.er1
>&5
1898 mv -f conftest.er1 conftest.err
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; } >/dev
/null
&& {
1902 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1903 test ! -s conftest.err
1907 $as_echo "$as_me: failed program was:" >&5
1908 sed 's/^/| /' conftest.
$ac_ext >&5
1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1915 } # ac_fn_cxx_try_cpp
1917 # ac_fn_cxx_try_link LINENO
1918 # -------------------------
1919 # Try to link conftest.$ac_ext, and return whether this succeeded.
1920 ac_fn_cxx_try_link
()
1922 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1923 rm -f conftest.
$ac_objext conftest
$ac_exeext
1924 if { { ac_try
="$ac_link"
1926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1927 *) ac_try_echo=$ac_try;;
1929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1930 $as_echo "$ac_try_echo"; } >&5
1931 (eval "$ac_link") 2>conftest.err
1933 if test -s conftest.err; then
1934 grep -v '^ *+' conftest.err >conftest.er1
1935 cat conftest.er1 >&5
1936 mv -f conftest.er1 conftest.err
1938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1939 test $ac_status = 0; } && {
1940 test -z "$ac_cxx_werror_flag" ||
1941 test ! -s conftest.err
1942 } && test -s conftest$ac_exeext && {
1943 test "$cross_compiling" = yes ||
1944 $as_test_x conftest$ac_exeext
1948 $as_echo "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.$ac_ext >&5
1953 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1954 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1955 # interfere with the next link command; also delete a directory that is
1956 # left behind by Apple's compiler. We do this before executing the actions.
1957 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1958 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1961 } # ac_fn_cxx_try_link
1962 cat >config.log <<_ACEOF
1963 This file contains any messages produced by compilers while
1964 running configure, to aid debugging if configure makes a mistake.
1966 It was created by libmudflap $as_me 1.0, which was
1967 generated by GNU Autoconf 2.64. Invocation command line was
1979 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1980 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1981 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1982 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1983 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1985 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1986 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1988 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1989 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1990 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1991 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1992 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1993 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1994 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002 test -z "$as_dir" && as_dir=.
2003 $as_echo "PATH: $as_dir"
2019 # Keep a trace of the command line.
2020 # Strip out --no-create and --no-recursion so they do not pile up.
2021 # Strip out --silent because we don't want to record it for future runs.
2022 # Also quote any args containing shell meta-characters.
2023 # Make two passes to allow for proper duplicate-argument suppression.
2027 ac_must_keep_next=false
2033 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2034 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2035 | -silent | --silent | --silen | --sile | --sil)
2038 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2041 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2043 as_fn_append ac_configure_args1 " '$ac_arg'"
2044 if test $ac_must_keep_next = true; then
2045 ac_must_keep_next=false # Got value, back to normal.
2048 *=* | --config-cache | -C | -disable-* | --disable-* \
2049 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2050 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2051 | -with-* | --with-* | -without-* | --without-* | --x)
2052 case "$ac_configure_args0 " in
2053 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2056 -* ) ac_must_keep_next=true ;;
2059 as_fn_append ac_configure_args " '$ac_arg'"
2064 { ac_configure_args0=; unset ac_configure_args0;}
2065 { ac_configure_args1=; unset ac_configure_args1;}
2067 # When interrupted or exit'd, cleanup temporary files, and complete
2068 # config.log. We remove comments because anyway the quotes in there
2069 # would cause problems or look ugly.
2070 # WARNING: Use '\'' to represent an apostrophe within the trap.
2071 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2072 trap 'exit_status=$?
2073 # Save into config.log some information that might help in debugging.
2078 ## ---------------- ##
2079 ## Cache variables. ##
2080 ## ---------------- ##
2083 # The following way of writing the cache mishandles newlines in values,
2085 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2086 eval ac_val=\$$ac_var
2090 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2091 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2094 _ | IFS | as_nl) ;; #(
2095 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2096 *) { eval $ac_var=; unset $ac_var;} ;;
2101 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2102 *${as_nl}ac_space=\ *)
2104 "s/'\''/'\''\\\\'\'''\''/g;
2105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2108 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2116 ## ----------------- ##
2117 ## Output variables. ##
2118 ## ----------------- ##
2121 for ac_var in $ac_subst_vars
2123 eval ac_val=\$$ac_var
2125 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2127 $as_echo "$ac_var='\''$ac_val'\''"
2131 if test -n "$ac_subst_files"; then
2133 ## ------------------- ##
2134 ## File substitutions. ##
2135 ## ------------------- ##
2138 for ac_var in $ac_subst_files
2140 eval ac_val=\$$ac_var
2142 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2144 $as_echo "$ac_var='\''$ac_val'\''"
2149 if test -s confdefs.h; then
2159 test "$ac_signal" != 0 &&
2160 $as_echo "$as_me: caught signal $ac_signal"
2161 $as_echo "$as_me: exit $exit_status"
2163 rm -f core *.core core.conftest.* &&
2164 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2167 for ac_signal in 1 2 13 15; do
2168 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2173 rm -f -r conftest* confdefs.h
2175 $as_echo "/* confdefs.h */" > confdefs.h
2177 # Predefined preprocessor variables.
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_NAME "$PACKAGE_NAME"
2183 cat >>confdefs.h <<_ACEOF
2184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_STRING "$PACKAGE_STRING"
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_URL "$PACKAGE_URL"
2204 # Let the site file select an alternate cache file if it wants to.
2205 # Prefer an explicitly selected file to automatically selected ones.
2208 if test -n "$CONFIG_SITE"; then
2209 ac_site_file1=$CONFIG_SITE
2210 elif test "x$prefix" != xNONE; then
2211 ac_site_file1=$prefix/share/config.site
2212 ac_site_file2=$prefix/etc/config.site
2214 ac_site_file1=$ac_default_prefix/share/config.site
2215 ac_site_file2=$ac_default_prefix/etc/config.site
2217 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2219 test "x$ac_site_file" = xNONE && continue
2220 if test -r "$ac_site_file"; then
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2222 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2223 sed 's/^/| /' "$ac_site_file" >&5
2228 if test -r "$cache_file"; then
2229 # Some versions of bash will fail to source /dev/null (special
2230 # files actually), so we avoid doing that.
2231 if test -f "$cache_file"; then
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2233 $as_echo "$as_me: loading cache $cache_file" >&6;}
2235 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2236 *) . "./$cache_file";;
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2241 $as_echo "$as_me: creating cache $cache_file" >&6;}
2245 # Check that the precious variables saved in the cache have kept the same
2247 ac_cache_corrupted=false
2248 for ac_var in $ac_precious_vars; do
2249 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2250 eval ac_new_set=\$ac_env_${ac_var}_set
2251 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2252 eval ac_new_val=\$ac_env_${ac_var}_value
2253 case $ac_old_set,$ac_new_set in
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2256 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2257 ac_cache_corrupted=: ;;
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2260 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2261 ac_cache_corrupted=: ;;
2264 if test "x$ac_old_val" != "x$ac_new_val"; then
2265 # differences in whitespace do not lead to failure.
2266 ac_old_val_w=`echo x
$ac_old_val`
2267 ac_new_val_w=`echo x
$ac_new_val`
2268 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2270 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2271 ac_cache_corrupted=:
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2274 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2275 eval $ac_var=\$ac_old_val
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2278 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2280 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2283 # Pass precious variables to config.status.
2284 if test "$ac_new_set" = set; then
2286 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2287 *) ac_arg=$ac_var=$ac_new_val ;;
2289 case " $ac_configure_args " in
2290 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2291 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2295 if $ac_cache_corrupted; then
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2299 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2300 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2302 ## -------------------- ##
2303 ## Main body of script. ##
2304 ## -------------------- ##
2307 ac_cpp='$CPP $CPPFLAGS'
2308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2318 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2319 for ac_t in install-sh install.sh shtool; do
2320 if test -f "$ac_dir/$ac_t"; then
2322 ac_install_sh="$ac_aux_dir/$ac_t -c"
2327 if test -z "$ac_aux_dir"; then
2328 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2331 # These three variables are undocumented and unsupported,
2332 # and are intended to be withdrawn in a future Autoconf release.
2333 # They can cause serious problems if a builder's source tree is in a directory
2334 # whose full name contains unusual characters.
2335 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2336 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2337 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2340 # Make sure we can run config.sub.
2341 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2342 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2345 $as_echo_n "checking build system type... " >&6; }
2346 if test "${ac_cv_build+set}" = set; then :
2347 $as_echo_n "(cached) " >&6
2349 ac_build_alias=$build_alias
2350 test "x$ac_build_alias" = x &&
2351 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2352 test "x$ac_build_alias" = x &&
2353 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2354 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2355 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2359 $as_echo "$ac_cv_build" >&6; }
2360 case $ac_cv_build in
2362 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2365 ac_save_IFS=$IFS; IFS='-'
2371 # Remember, the first character of IFS is used to create $*,
2372 # except with old shells:
2375 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2379 $as_echo_n "checking host system type... " >&6; }
2380 if test "${ac_cv_host+set}" = set; then :
2381 $as_echo_n "(cached) " >&6
2383 if test "x$host_alias" = x; then
2384 ac_cv_host=$ac_cv_build
2386 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2387 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2392 $as_echo "$ac_cv_host" >&6; }
2395 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2398 ac_save_IFS=$IFS; IFS='-'
2404 # Remember, the first character of IFS is used to create $*,
2405 # except with old shells:
2408 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2412 $as_echo_n "checking target system type... " >&6; }
2413 if test "${ac_cv_target+set}" = set; then :
2414 $as_echo_n "(cached) " >&6
2416 if test "x$target_alias" = x; then
2417 ac_cv_target=$ac_cv_host
2419 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2420 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2425 $as_echo "$ac_cv_target" >&6; }
2426 case $ac_cv_target in
2428 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2430 target=$ac_cv_target
2431 ac_save_IFS=$IFS; IFS='-'
2437 # Remember, the first character of IFS is used to create $*,
2438 # except with old shells:
2441 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2444 # The aliases save the names the user supplied, while $host etc.
2445 # will get canonicalized.
2446 test -n "$target_alias" &&
2447 test "$program_prefix$program_suffix$program_transform_name" = \
2449 program_prefix=${target_alias}-
2451 case ${build_alias} in
2452 "") build_noncanonical=${build} ;;
2453 *) build_noncanonical=${build_alias} ;;
2456 case ${host_alias} in
2457 "") host_noncanonical=${build_noncanonical} ;;
2458 *) host_noncanonical=${host_alias} ;;
2461 case ${target_alias} in
2462 "") target_noncanonical=${host_noncanonical} ;;
2463 *) target_noncanonical=${target_alias} ;;
2469 am__api_version='1.11'
2471 # Find a good install program. We prefer a C program (faster),
2472 # so one script is as good as another. But avoid the broken or
2473 # incompatible versions:
2474 # SysV /etc/install, /usr/sbin/install
2475 # SunOS /usr/etc/install
2476 # IRIX /sbin/install
2478 # AmigaOS /C/install, which installs bootblocks on floppy discs
2479 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2480 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2481 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2482 # OS/2's system install, which has a completely different semantic
2483 # ./install, which can be erroneously created by make from ./install.sh.
2484 # Reject install programs that cannot install multiple files.
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2486 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2487 if test -z "$INSTALL"; then
2488 if test "${ac_cv_path_install+set}" = set; then :
2489 $as_echo_n "(cached) " >&6
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir=.
2496 # Account for people who put trailing slashes in PATH elements.
2497 case $as_dir/ in #((
2498 ./ | .// | /[cC]/* | \
2499 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2500 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2503 # OSF1 and SCO ODT 3.0 have their own names for install.
2504 # Don't use installbsd from OSF since it installs stuff as root
2506 for ac_prog in ginstall scoinst install; do
2507 for ac_exec_ext in '' $ac_executable_extensions; do
2508 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2509 if test $ac_prog = install &&
2510 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2511 # AIX install. It has an incompatible calling convention.
2513 elif test $ac_prog = install &&
2514 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2515 # program-specific install script used by HP pwplus--don't use.
2518 rm -rf conftest.one conftest.two conftest.dir
2519 echo one > conftest.one
2520 echo two > conftest.two
2522 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2523 test -s conftest.one && test -s conftest.two &&
2524 test -s conftest.dir/conftest.one &&
2525 test -s conftest.dir/conftest.two
2527 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2540 rm -rf conftest.one conftest.two conftest.dir
2543 if test "${ac_cv_path_install+set}" = set; then
2544 INSTALL=$ac_cv_path_install
2546 # As a last resort, use the slow shell script. Don't cache a
2547 # value for INSTALL within a source directory, because that will
2548 # break other packages using the cache if that directory is
2549 # removed, or if the value is a relative name.
2550 INSTALL=$ac_install_sh
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2554 $as_echo "$INSTALL" >&6; }
2556 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2557 # It thinks the first close brace ends the variable substitution.
2558 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2560 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2562 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2565 $as_echo_n "checking whether build environment is sane... " >&6; }
2568 echo timestamp > conftest.file
2569 # Reject unsafe characters in $srcdir or the absolute working directory
2570 # name. Accept space and tab only in the latter.
2574 *[\\\"\#\$\&\'\`$am_lf]*)
2575 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2578 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2579 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2582 # Do `set' in a subshell so we don't clobber the current shell's
2583 # arguments. Must try -L first in case configure is actually a
2584 # symlink; some systems play weird games with the mod time of symlinks
2585 # (eg FreeBSD returns the mod time of the symlink's containing
2588 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2589 if test "$*" = "X"; then
2591 set X
`ls -t "$srcdir/configure" conftest.file`
2594 if test "$*" != "X $srcdir/configure conftest.file" \
2595 && test "$*" != "X conftest.file $srcdir/configure"; then
2597 # If neither matched, then we have a broken ls. This can happen
2598 # if, for instance, CONFIG_SHELL is bash and it inherits a
2599 # broken ls alias from the environment. This has actually
2600 # happened. Such a system could not be considered "sane".
2601 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2602 alias in your environment" "$LINENO" 5
2605 test "$2" = conftest.
file
2611 as_fn_error
"newly created file is older than distributed files!
2612 Check your system clock" "$LINENO" 5
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2615 $as_echo "yes" >&6; }
2616 test "$program_prefix" != NONE
&&
2617 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2618 # Use a double $ so make ignores it.
2619 test "$program_suffix" != NONE
&&
2620 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2621 # Double any \ or $.
2622 # By default was `s,x,x', remove it if useless.
2623 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2624 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2626 # expand $ac_aux_dir to an absolute path
2627 am_aux_dir
=`cd $ac_aux_dir && pwd`
2629 if test x
"${MISSING+set}" != xset
; then
2632 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2634 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2637 # Use eval to expand $SHELL
2638 if eval "$MISSING --run true"; then
2639 am_missing_run
="$MISSING --run "
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2643 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2646 if test x
"${install_sh}" != xset
; then
2649 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2651 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2655 # Installed binaries are usually stripped using `strip' when the user
2656 # run `make install-strip'. However `strip' might not be the right
2657 # tool to use in cross-compilation environments, therefore Automake
2658 # will honor the `STRIP' environment variable to overrule this program.
2659 if test "$cross_compiling" != no
; then
2660 if test -n "$ac_tool_prefix"; then
2661 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2662 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664 $as_echo_n "checking for $ac_word... " >&6; }
2665 if test "${ac_cv_prog_STRIP+set}" = set; then :
2666 $as_echo_n "(cached) " >&6
2668 if test -n "$STRIP"; then
2669 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir
=.
2676 for ac_exec_ext
in '' $ac_executable_extensions; do
2677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2678 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2688 STRIP
=$ac_cv_prog_STRIP
2689 if test -n "$STRIP"; then
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2691 $as_echo "$STRIP" >&6; }
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694 $as_echo "no" >&6; }
2699 if test -z "$ac_cv_prog_STRIP"; then
2701 # Extract the first word of "strip", so it can be a program name with args.
2702 set dummy strip
; ac_word
=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2706 $as_echo_n "(cached) " >&6
2708 if test -n "$ac_ct_STRIP"; then
2709 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2715 test -z "$as_dir" && as_dir
=.
2716 for ac_exec_ext
in '' $ac_executable_extensions; do
2717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2718 ac_cv_prog_ac_ct_STRIP
="strip"
2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2728 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2729 if test -n "$ac_ct_STRIP"; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2731 $as_echo "$ac_ct_STRIP" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2737 if test "x$ac_ct_STRIP" = x
; then
2740 case $cross_compiling:$ac_tool_warned in
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2744 ac_tool_warned
=yes ;;
2749 STRIP
="$ac_cv_prog_STRIP"
2753 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2756 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2757 if test -z "$MKDIR_P"; then
2758 if test "${ac_cv_path_mkdir+set}" = set; then :
2759 $as_echo_n "(cached) " >&6
2761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2762 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2765 test -z "$as_dir" && as_dir
=.
2766 for ac_prog
in mkdir gmkdir
; do
2767 for ac_exec_ext
in '' $ac_executable_extensions; do
2768 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2769 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2770 'mkdir (GNU coreutils) '* | \
2771 'mkdir (coreutils) '* | \
2772 'mkdir (fileutils) '4.1*)
2773 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2783 if test "${ac_cv_path_mkdir+set}" = set; then
2784 MKDIR_P
="$ac_cv_path_mkdir -p"
2786 # As a last resort, use the slow shell script. Don't cache a
2787 # value for MKDIR_P within a source directory, because that will
2788 # break other packages using the cache if that directory is
2789 # removed, or if the value is a relative name.
2790 test -d .
/--version && rmdir .
/--version
2791 MKDIR_P
="$ac_install_sh -d"
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2795 $as_echo "$MKDIR_P" >&6; }
2799 [\\/$
]* | ?
:[\\/]*) ;;
2800 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2803 for ac_prog
in gawk mawk nawk
awk
2805 # Extract the first word of "$ac_prog", so it can be a program name with args.
2806 set dummy
$ac_prog; ac_word
=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if test "${ac_cv_prog_AWK+set}" = set; then :
2810 $as_echo_n "(cached) " >&6
2812 if test -n "$AWK"; then
2813 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2819 test -z "$as_dir" && as_dir
=.
2820 for ac_exec_ext
in '' $ac_executable_extensions; do
2821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2822 ac_cv_prog_AWK
="$ac_prog"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 if test -n "$AWK"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2835 $as_echo "$AWK" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2842 test -n "$AWK" && break
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2846 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2848 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2849 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2850 $as_echo_n "(cached) " >&6
2852 cat >conftest.
make <<\_ACEOF
2855 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2857 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2858 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2860 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2862 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2866 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2868 $as_echo "yes" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2873 SET_MAKE
="MAKE=${MAKE-make}"
2876 rm -rf .tst
2>/dev
/null
2877 mkdir .tst
2>/dev
/null
2878 if test -d .tst
; then
2883 rmdir .tst
2>/dev
/null
2885 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2886 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2887 # is not polluted with repeated "-I."
2888 am__isrc
=' -I$(srcdir)'
2889 # test to see if srcdir already configured
2890 if test -f $srcdir/config.status
; then
2891 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2895 # test whether we have cygpath
2896 if test -z "$CYGPATH_W"; then
2897 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2898 CYGPATH_W
='cygpath -w'
2905 # Define the identity of the package.
2906 PACKAGE
='libmudflap'
2910 cat >>confdefs.h
<<_ACEOF
2911 #define PACKAGE "$PACKAGE"
2915 cat >>confdefs.h
<<_ACEOF
2916 #define VERSION "$VERSION"
2919 # Some tools Automake needs.
2921 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2924 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2927 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2930 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2933 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2935 # We need awk for the "check" target. The system "awk" is bad on
2937 # Always define AMTAR for backward compatibility.
2939 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2941 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2949 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2950 # Check whether --enable-version-specific-runtime-libs was given.
2951 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2952 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2953 yes) version_specific_libs
=yes ;;
2954 no
) version_specific_libs
=no
;;
2955 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2958 version_specific_libs
=no
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2962 $as_echo "$version_specific_libs" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2966 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2967 # Check whether --enable-maintainer-mode was given.
2968 if test "${enable_maintainer_mode+set}" = set; then :
2969 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2971 USE_MAINTAINER_MODE
=no
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2975 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2976 if test $USE_MAINTAINER_MODE = yes; then
2977 MAINTAINER_MODE_TRUE
=
2978 MAINTAINER_MODE_FALSE
='#'
2980 MAINTAINER_MODE_TRUE
='#'
2981 MAINTAINER_MODE_FALSE
=
2984 MAINT
=$MAINTAINER_MODE_TRUE
2989 # Default to --enable-multilib
2990 # Check whether --enable-multilib was given.
2991 if test "${enable_multilib+set}" = set; then :
2992 enableval
=$enable_multilib; case "$enableval" in
2993 yes) multilib
=yes ;;
2995 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3002 # We may get other options which we leave undocumented:
3003 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3004 # See config-ml.in if you want the gory details.
3006 if test "$srcdir" = "."; then
3007 if test "$with_target_subdir" != "."; then
3008 multi_basedir
="$srcdir/$with_multisrctop../.."
3010 multi_basedir
="$srcdir/$with_multisrctop.."
3013 multi_basedir
="$srcdir/.."
3017 # Even if the default multilib is not a cross compilation,
3018 # it may be that some of the other multilibs are.
3019 if test $cross_compiling = no
&& test $multilib = yes \
3020 && test "x${with_multisubdir}" != x
; then
3021 cross_compiling
=maybe
3024 ac_config_commands
="$ac_config_commands default-1"
3027 target_alias
=${target_alias-$host_alias}
3030 ac_config_headers
="$ac_config_headers config.h"
3034 ac_cpp
='$CPP $CPPFLAGS'
3035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3039 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3040 # We must force CC to /not/ be precious variables; otherwise
3041 # the wrong, non-multilib-adjusted value will be used in multilibs.
3042 # As a side effect, we have to subst CFLAGS ourselves.
3047 ac_cpp
='$CPP $CPPFLAGS'
3048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3051 if test -n "$ac_tool_prefix"; then
3052 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3053 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3055 $as_echo_n "checking for $ac_word... " >&6; }
3056 if test "${ac_cv_prog_CC+set}" = set; then :
3057 $as_echo_n "(cached) " >&6
3059 if test -n "$CC"; then
3060 ac_cv_prog_CC
="$CC" # Let the user override the test.
3062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3066 test -z "$as_dir" && as_dir
=.
3067 for ac_exec_ext
in '' $ac_executable_extensions; do
3068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3069 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3080 if test -n "$CC"; then
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3082 $as_echo "$CC" >&6; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3090 if test -z "$ac_cv_prog_CC"; then
3092 # Extract the first word of "gcc", so it can be a program name with args.
3093 set dummy gcc
; ac_word
=$2
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095 $as_echo_n "checking for $ac_word... " >&6; }
3096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3097 $as_echo_n "(cached) " >&6
3099 if test -n "$ac_ct_CC"; then
3100 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3106 test -z "$as_dir" && as_dir
=.
3107 for ac_exec_ext
in '' $ac_executable_extensions; do
3108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3109 ac_cv_prog_ac_ct_CC
="gcc"
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3119 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3120 if test -n "$ac_ct_CC"; then
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3122 $as_echo "$ac_ct_CC" >&6; }
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3128 if test "x$ac_ct_CC" = x
; then
3131 case $cross_compiling:$ac_tool_warned in
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3135 ac_tool_warned
=yes ;;
3143 if test -z "$CC"; then
3144 if test -n "$ac_tool_prefix"; then
3145 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3146 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148 $as_echo_n "checking for $ac_word... " >&6; }
3149 if test "${ac_cv_prog_CC+set}" = set; then :
3150 $as_echo_n "(cached) " >&6
3152 if test -n "$CC"; then
3153 ac_cv_prog_CC
="$CC" # Let the user override the test.
3155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3159 test -z "$as_dir" && as_dir
=.
3160 for ac_exec_ext
in '' $ac_executable_extensions; do
3161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3162 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 if test -n "$CC"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3175 $as_echo "$CC" >&6; }
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178 $as_echo "no" >&6; }
3184 if test -z "$CC"; then
3185 # Extract the first word of "cc", so it can be a program name with args.
3186 set dummy cc
; ac_word
=$2
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3188 $as_echo_n "checking for $ac_word... " >&6; }
3189 if test "${ac_cv_prog_CC+set}" = set; then :
3190 $as_echo_n "(cached) " >&6
3192 if test -n "$CC"; then
3193 ac_cv_prog_CC
="$CC" # Let the user override the test.
3196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3200 test -z "$as_dir" && as_dir
=.
3201 for ac_exec_ext
in '' $ac_executable_extensions; do
3202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3203 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3204 ac_prog_rejected
=yes
3208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3215 if test $ac_prog_rejected = yes; then
3216 # We found a bogon in the path, so make sure we never use it.
3217 set dummy
$ac_cv_prog_CC
3219 if test $# != 0; then
3220 # We chose a different compiler from the bogus one.
3221 # However, it has the same basename, so the bogon will be chosen
3222 # first if we set CC to just the basename; use the full file name.
3224 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3230 if test -n "$CC"; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3232 $as_echo "$CC" >&6; }
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235 $as_echo "no" >&6; }
3240 if test -z "$CC"; then
3241 if test -n "$ac_tool_prefix"; then
3242 for ac_prog
in cl.exe
3244 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3245 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3247 $as_echo_n "checking for $ac_word... " >&6; }
3248 if test "${ac_cv_prog_CC+set}" = set; then :
3249 $as_echo_n "(cached) " >&6
3251 if test -n "$CC"; then
3252 ac_cv_prog_CC
="$CC" # Let the user override the test.
3254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3258 test -z "$as_dir" && as_dir
=.
3259 for ac_exec_ext
in '' $ac_executable_extensions; do
3260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3261 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3272 if test -n "$CC"; then
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3274 $as_echo "$CC" >&6; }
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3277 $as_echo "no" >&6; }
3281 test -n "$CC" && break
3284 if test -z "$CC"; then
3286 for ac_prog
in cl.exe
3288 # Extract the first word of "$ac_prog", so it can be a program name with args.
3289 set dummy
$ac_prog; ac_word
=$2
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291 $as_echo_n "checking for $ac_word... " >&6; }
3292 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3293 $as_echo_n "(cached) " >&6
3295 if test -n "$ac_ct_CC"; then
3296 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3302 test -z "$as_dir" && as_dir
=.
3303 for ac_exec_ext
in '' $ac_executable_extensions; do
3304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3305 ac_cv_prog_ac_ct_CC
="$ac_prog"
3306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3315 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3316 if test -n "$ac_ct_CC"; then
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3318 $as_echo "$ac_ct_CC" >&6; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3321 $as_echo "no" >&6; }
3325 test -n "$ac_ct_CC" && break
3328 if test "x$ac_ct_CC" = x
; then
3331 case $cross_compiling:$ac_tool_warned in
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3335 ac_tool_warned
=yes ;;
3344 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error
"no acceptable C compiler found in \$PATH
3347 See \`config.log' for more details." "$LINENO" 5; }
3349 # Provide some information about the compiler.
3350 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3353 for ac_option
in --version -v -V -qversion; do
3354 { { ac_try
="$ac_compiler $ac_option >&5"
3356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3360 $as_echo "$ac_try_echo"; } >&5
3361 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3363 if test -s conftest.err; then
3365 ... rest of stderr output deleted ...
3366 10q' conftest.err >conftest.er1
3367 cat conftest.er1 >&5
3368 rm -f conftest.er1 conftest.err
3370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3371 test $ac_status = 0; }
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3385 ac_clean_files_save=$ac_clean_files
3386 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3387 # Try to create an executable without -o first, disregard a.out.
3388 # It will help us diagnose broken compilers, and finding out an intuition
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3391 $as_echo_n "checking for C compiler default output file name... " >&6; }
3392 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3394 # The possible output files:
3395 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3398 for ac_file in $ac_files
3401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3402 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3407 if { { ac_try="$ac_link_default"
3409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3410 *) ac_try_echo
=$ac_try;;
3412 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413 $as_echo "$ac_try_echo"; } >&5
3414 (eval "$ac_link_default") 2>&5
3416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3417 test $ac_status = 0; }; then :
3418 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3419 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3420 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3421 # so that the user can short-circuit this test for compilers unknown to
3423 for ac_file
in $ac_files ''
3425 test -f "$ac_file" ||
continue
3427 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3430 # We found the default executable, but exeext='' is most
3434 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3436 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3438 # We set ac_cv_exeext here because the later test for it is not
3439 # safe: cross compilers may not add the suffix if given an `-o'
3440 # argument, so we may need to know it at that point already.
3441 # Even if this section looks crufty: it has the advantage of
3448 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3454 $as_echo "$ac_file" >&6; }
3455 if test -z "$ac_file"; then :
3456 $as_echo "$as_me: failed program was:" >&5
3457 sed 's/^/| /' conftest.
$ac_ext >&5
3459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3461 { as_fn_set_status
77
3462 as_fn_error
"C compiler cannot create executables
3463 See \`config.log' for more details." "$LINENO" 5; }; }
3465 ac_exeext
=$ac_cv_exeext
3467 # Check that the compiler produces executables we can run. If not, either
3468 # the compiler is broken, or we cross compile.
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3470 $as_echo_n "checking whether the C compiler works... " >&6; }
3471 # If not cross compiling, check that we can run a simple program.
3472 if test "$cross_compiling" != yes; then
3473 if { ac_try
='./$ac_file'
3474 { { case "(($ac_try" in
3475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3476 *) ac_try_echo=$ac_try;;
3478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3479 $as_echo "$ac_try_echo"; } >&5
3480 (eval "$ac_try") 2>&5
3482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3483 test $ac_status = 0; }; }; then
3486 if test "$cross_compiling" = maybe; then
3489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3491 as_fn_error "cannot run C compiled programs.
3492 If you meant to cross compile
, use \
`--host'.
3493 See \`config.log
' for more details." "$LINENO" 5; }
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3498 $as_echo "yes" >&6; }
3500 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3501 ac_clean_files=$ac_clean_files_save
3502 # Check that the compiler produces executables we can run. If not, either
3503 # the compiler is broken, or we cross compile.
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3505 $as_echo_n "checking whether we are cross compiling... " >&6; }
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3507 $as_echo "$cross_compiling" >&6; }
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3510 $as_echo_n "checking for suffix of executables... " >&6; }
3511 if { { ac_try="$ac_link"
3513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514 *) ac_try_echo=$ac_try;;
3516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3517 $as_echo "$ac_try_echo"; } >&5
3518 (eval "$ac_link") 2>&5
3520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3521 test $ac_status = 0; }; then :
3522 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3523 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3524 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3526 for ac_file
in conftest.exe conftest conftest.
*; do
3527 test -f "$ac_file" ||
continue
3529 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3530 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3538 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3539 See \`config.log' for more details." "$LINENO" 5; }
3541 rm -f conftest
$ac_cv_exeext
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3543 $as_echo "$ac_cv_exeext" >&6; }
3545 rm -f conftest.
$ac_ext
3546 EXEEXT
=$ac_cv_exeext
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3549 $as_echo_n "checking for suffix of object files... " >&6; }
3550 if test "${ac_cv_objext+set}" = set; then :
3551 $as_echo_n "(cached) " >&6
3553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3564 rm -f conftest.o conftest.obj
3565 if { { ac_try
="$ac_compile"
3567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3568 *) ac_try_echo=$ac_try;;
3570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3571 $as_echo "$ac_try_echo"; } >&5
3572 (eval "$ac_compile") 2>&5
3574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3575 test $ac_status = 0; }; then :
3576 for ac_file in conftest.o conftest.obj conftest.*; do
3577 test -f "$ac_file" || continue;
3579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3580 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3585 $as_echo "$as_me: failed program was:" >&5
3586 sed 's/^/| /' conftest.$ac_ext >&5
3588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3590 as_fn_error "cannot compute suffix of object files
: cannot compile
3591 See \
`config.log' for more details." "$LINENO" 5; }
3593 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3596 $as_echo "$ac_cv_objext" >&6; }
3597 OBJEXT=$ac_cv_objext
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3600 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3601 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3602 $as_echo_n "(cached) " >&6
3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h. */
3618 if ac_fn_c_try_compile "$LINENO"; then :
3623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3624 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3628 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3629 if test $ac_compiler_gnu = yes; then
3634 ac_test_CFLAGS=${CFLAGS+set}
3635 ac_save_CFLAGS=$CFLAGS
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3637 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3638 if test "${ac_cv_prog_cc_g+set}" = set; then :
3639 $as_echo_n "(cached) " >&6
3641 ac_save_c_werror_flag=$ac_c_werror_flag
3642 ac_c_werror_flag=yes
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3656 if ac_fn_c_try_compile "$LINENO"; then :
3660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h. */
3671 if ac_fn_c_try_compile "$LINENO"; then :
3674 ac_c_werror_flag=$ac_save_c_werror_flag
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3687 if ac_fn_c_try_compile "$LINENO"; then :
3690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695 ac_c_werror_flag=$ac_save_c_werror_flag
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3698 $as_echo "$ac_cv_prog_cc_g" >&6; }
3699 if test "$ac_test_CFLAGS" = set; then
3700 CFLAGS=$ac_save_CFLAGS
3701 elif test $ac_cv_prog_cc_g = yes; then
3702 if test "$GCC" = yes; then
3708 if test "$GCC" = yes; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3715 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3716 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3717 $as_echo_n "(cached) " >&6
3719 ac_cv_prog_cc_c89=no
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3725 #include <sys/types.h>
3726 #include <sys/stat.h>
3727 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3728 struct buf { int x; };
3729 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3730 static char *e (p, i)
3736 static char *f (char * (*g) (char **, int), char **p, ...)
3741 s = g (p, va_arg (v,int));
3746 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3747 function prototypes and stuff, but not '\xHH' hex character constants.
3748 These don't provoke an error unfortunately, instead are silently treated
3749 as 'x'. The following induces an error, until -std is added to get
3750 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3751 array size at least. It's necessary to write '\x00'==0 to get something
3752 that's true only with -std. */
3753 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3755 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3756 inside strings and character constants. */
3758 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3760 int test (int i, double x);
3761 struct s1 {int (*f) (int a);};
3762 struct s2 {int (*f) (double a);};
3763 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3769 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3774 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3775 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3777 CC="$ac_save_CC $ac_arg"
3778 if ac_fn_c_try_compile "$LINENO"; then :
3779 ac_cv_prog_cc_c89=$ac_arg
3781 rm -f core conftest.err conftest.$ac_objext
3782 test "x$ac_cv_prog_cc_c89" != "xno" && break
3784 rm -f conftest.$ac_ext
3789 case "x$ac_cv_prog_cc_c89" in
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3792 $as_echo "none needed" >&6; } ;;
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3795 $as_echo "unsupported" >&6; } ;;
3797 CC="$CC $ac_cv_prog_cc_c89"
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3799 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3801 if test "x$ac_cv_prog_cc_c89" != xno; then :
3806 ac_cpp='$CPP $CPPFLAGS'
3807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3810 DEPDIR="${am__leading_dot}deps"
3812 ac_config_commands="$ac_config_commands depfiles"
3815 am_make=${MAKE-make}
3816 cat > confinc << 'END'
3818 @echo this is the am__doit target
3821 # If we don't find an include directive, just comment out the code.
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3823 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3827 # First try GNU make style include.
3828 echo "include confinc" > confmf
3829 # Ignore all kinds of additional output from `make'.
3830 case `$am_make -s -f confmf 2> /dev/null` in #(
3831 *the\ am__doit\ target*)
3837 # Now try BSD make style include.
3838 if test "$am__include" = "#"; then
3839 echo '.include
"confinc"' > confmf
3840 case `$am_make -s -f confmf 2> /dev/null` in #(
3841 *the\ am__doit\ target*)
3842 am__include=.include
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3851 $as_echo "$_am_result" >&6; }
3852 rm -f confinc confmf
3854 # Check whether --enable-dependency-tracking was given.
3855 if test "${enable_dependency_tracking+set}" = set; then :
3856 enableval=$enable_dependency_tracking;
3859 if test "x$enable_dependency_tracking" != xno; then
3860 am_depcomp="$ac_aux_dir/depcomp"
3863 if test "x$enable_dependency_tracking" != xno
; then
3873 depcc
="$CC" am_compiler_list
=
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3876 $as_echo_n "checking dependency style of $depcc... " >&6; }
3877 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3878 $as_echo_n "(cached) " >&6
3880 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3881 # We make a subdir and do the tests there. Otherwise we can end up
3882 # making bogus files that we don't know about and never remove. For
3883 # instance it was reported that on HP-UX the gcc test will end up
3884 # making a dummy file named `D' -- because `-MD' means `put the output
3887 # Copy depcomp to subdir because otherwise we won't find it if we're
3888 # using a relative directory.
3889 cp "$am_depcomp" conftest.dir
3891 # We will build objects and dependencies in a subdirectory because
3892 # it helps to detect inapplicable dependency modes. For instance
3893 # both Tru64's cc and ICC support -MD to output dependencies as a
3894 # side effect of compilation, but ICC will put the dependencies in
3895 # the current directory while Tru64 will put them in the object
3899 am_cv_CC_dependencies_compiler_type
=none
3900 if test "$am_compiler_list" = ""; then
3901 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3904 case " $depcc " in #(
3905 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3908 for depmode
in $am_compiler_list; do
3909 # Setup a source with many dependencies, because some compilers
3910 # like to wrap large dependency lists on column 80 (with \), and
3911 # we should not choose a depcomp mode which is confused by this.
3913 # We need to recreate these files for each test, as the compiler may
3914 # overwrite some of them when testing with obscure command lines.
3915 # This happens at least with the AIX C compiler.
3917 for i
in 1 2 3 4 5 6; do
3918 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3919 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3920 # Solaris 8's {/usr,}/bin/sh.
3921 touch sub
/conftst
$i.h
3923 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3925 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3926 # mode. It turns out that the SunPro C++ compiler does not properly
3927 # handle `-M -o', and we need to detect this. Also, some Intel
3928 # versions had trouble with output in subdirs
3929 am__obj
=sub
/conftest.
${OBJEXT-o}
3930 am__minus_obj
="-o $am__obj"
3933 # This depmode causes a compiler race in universal mode.
3934 test "$am__universal" = false ||
continue
3937 # after this tag, mechanisms are not by side-effect, so they'll
3938 # only be used when explicitly requested
3939 if test "x$enable_dependency_tracking" = xyes
; then
3945 msvisualcpp | msvcmsys
)
3946 # This compiler won't grok `-c -o', but also, the minuso test has
3947 # not run yet. These depmodes are late enough in the game, and
3948 # so weak that their functioning should not be impacted.
3949 am__obj
=conftest.
${OBJEXT-o}
3954 if depmode
=$depmode \
3955 source=sub
/conftest.c object
=$am__obj \
3956 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3957 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3958 >/dev
/null
2>conftest.err
&&
3959 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3960 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3961 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3962 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3963 # icc doesn't choke on unknown options, it will just issue warnings
3964 # or remarks (even with -Werror). So we grep stderr for any message
3965 # that says an option was ignored or not supported.
3966 # When given -MP, icc 7.0 and 7.1 complain thusly:
3967 # icc: Command line warning: ignoring option '-M'; no argument required
3968 # The diagnosis changed in icc 8.0:
3969 # icc: Command line remark: option '-MP' not supported
3970 if (grep 'ignoring option' conftest.err ||
3971 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3972 am_cv_CC_dependencies_compiler_type
=$depmode
3981 am_cv_CC_dependencies_compiler_type
=none
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3986 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3987 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3990 test "x$enable_dependency_tracking" != xno \
3991 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3993 am__fastdepCC_FALSE
='#'
3995 am__fastdepCC_TRUE
='#'
3996 am__fastdepCC_FALSE
=
4004 if test "x$GCC" != "xyes"; then
4005 as_fn_error
"libmudflap must be built with GCC" "$LINENO" 5
4008 ac_cpp
='$CPP $CPPFLAGS'
4009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4013 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4014 # On Suns, sometimes $CPP names a directory.
4015 if test -n "$CPP" && test -d "$CPP"; then
4018 if test -z "$CPP"; then
4019 if test "${ac_cv_prog_CPP+set}" = set; then :
4020 $as_echo_n "(cached) " >&6
4022 # Double quotes because CPP needs to be expanded
4023 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4026 for ac_c_preproc_warn_flag
in '' yes
4028 # Use a header file that comes with gcc, so configuring glibc
4029 # with a fresh cross-compiler works.
4030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4031 # <limits.h> exists even on freestanding compilers.
4032 # On the NeXT, cc -E runs the code through the compiler's parser,
4033 # not just through cpp. "Syntax error" is here to catch this case.
4034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h. */
4037 # include <limits.h>
4039 # include <assert.h>
4043 if ac_fn_c_try_cpp
"$LINENO"; then :
4046 # Broken: fails on valid input.
4049 rm -f conftest.err conftest.
$ac_ext
4051 # OK, works on sane cases. Now check whether nonexistent headers
4052 # can be detected and how.
4053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4054 /* end confdefs.h. */
4055 #include <ac_nonexistent.h>
4057 if ac_fn_c_try_cpp
"$LINENO"; then :
4058 # Broken: success on invalid input.
4061 # Passes both tests.
4065 rm -f conftest.err conftest.
$ac_ext
4068 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4069 rm -f conftest.err conftest.
$ac_ext
4070 if $ac_preproc_ok; then :
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4083 $as_echo "$CPP" >&6; }
4085 for ac_c_preproc_warn_flag
in '' yes
4087 # Use a header file that comes with gcc, so configuring glibc
4088 # with a fresh cross-compiler works.
4089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4090 # <limits.h> exists even on freestanding compilers.
4091 # On the NeXT, cc -E runs the code through the compiler's parser,
4092 # not just through cpp. "Syntax error" is here to catch this case.
4093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4094 /* end confdefs.h. */
4096 # include <limits.h>
4098 # include <assert.h>
4102 if ac_fn_c_try_cpp
"$LINENO"; then :
4105 # Broken: fails on valid input.
4108 rm -f conftest.err conftest.
$ac_ext
4110 # OK, works on sane cases. Now check whether nonexistent headers
4111 # can be detected and how.
4112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4114 #include <ac_nonexistent.h>
4116 if ac_fn_c_try_cpp
"$LINENO"; then :
4117 # Broken: success on invalid input.
4120 # Passes both tests.
4124 rm -f conftest.err conftest.
$ac_ext
4127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4128 rm -f conftest.err conftest.
$ac_ext
4129 if $ac_preproc_ok; then :
4132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4134 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4135 See \`config.log' for more details." "$LINENO" 5; }
4139 ac_cpp
='$CPP $CPPFLAGS'
4140 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4141 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4142 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4145 # We use the C++ compiler during testing.
4147 ac_cpp
='$CXXCPP $CPPFLAGS'
4148 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4149 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4150 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4151 if test -z "$CXX"; then
4152 if test -n "$CCC"; then
4155 if test -n "$ac_tool_prefix"; then
4156 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4158 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4159 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161 $as_echo_n "checking for $ac_word... " >&6; }
4162 if test "${ac_cv_prog_CXX+set}" = set; then :
4163 $as_echo_n "(cached) " >&6
4165 if test -n "$CXX"; then
4166 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
4168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4172 test -z "$as_dir" && as_dir
=.
4173 for ac_exec_ext
in '' $ac_executable_extensions; do
4174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4175 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4186 if test -n "$CXX"; then
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4188 $as_echo "$CXX" >&6; }
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4191 $as_echo "no" >&6; }
4195 test -n "$CXX" && break
4198 if test -z "$CXX"; then
4200 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
4202 # Extract the first word of "$ac_prog", so it can be a program name with args.
4203 set dummy
$ac_prog; ac_word
=$2
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4205 $as_echo_n "checking for $ac_word... " >&6; }
4206 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4207 $as_echo_n "(cached) " >&6
4209 if test -n "$ac_ct_CXX"; then
4210 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
4212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4216 test -z "$as_dir" && as_dir
=.
4217 for ac_exec_ext
in '' $ac_executable_extensions; do
4218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4219 ac_cv_prog_ac_ct_CXX
="$ac_prog"
4220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4229 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
4230 if test -n "$ac_ct_CXX"; then
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4232 $as_echo "$ac_ct_CXX" >&6; }
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235 $as_echo "no" >&6; }
4239 test -n "$ac_ct_CXX" && break
4242 if test "x$ac_ct_CXX" = x
; then
4245 case $cross_compiling:$ac_tool_warned in
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4249 ac_tool_warned
=yes ;;
4257 # Provide some information about the compiler.
4258 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4261 for ac_option
in --version -v -V -qversion; do
4262 { { ac_try
="$ac_compiler $ac_option >&5"
4264 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4265 *) ac_try_echo=$ac_try;;
4267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4268 $as_echo "$ac_try_echo"; } >&5
4269 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4271 if test -s conftest.err; then
4273 ... rest of stderr output deleted ...
4274 10q' conftest.err >conftest.er1
4275 cat conftest.er1 >&5
4276 rm -f conftest.er1 conftest.err
4278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4279 test $ac_status = 0; }
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4283 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4284 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4285 $as_echo_n "(cached) " >&6
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4301 if ac_fn_cxx_try_compile "$LINENO"; then :
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4311 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4312 if test $ac_compiler_gnu = yes; then
4317 ac_test_CXXFLAGS=${CXXFLAGS+set}
4318 ac_save_CXXFLAGS=$CXXFLAGS
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4320 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4321 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4322 $as_echo_n "(cached) " >&6
4324 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4325 ac_cxx_werror_flag=yes
4328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329 /* end confdefs.h. */
4339 if ac_fn_cxx_try_compile "$LINENO"; then :
4340 ac_cv_prog_cxx_g=yes
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4354 if ac_fn_cxx_try_compile "$LINENO"; then :
4357 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4370 if ac_fn_cxx_try_compile "$LINENO"; then :
4371 ac_cv_prog_cxx_g=yes
4373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4378 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4381 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4382 if test "$ac_test_CXXFLAGS" = set; then
4383 CXXFLAGS=$ac_save_CXXFLAGS
4384 elif test $ac_cv_prog_cxx_g = yes; then
4385 if test "$GXX" = yes; then
4391 if test "$GXX" = yes; then
4398 ac_cpp='$CPP $CPPFLAGS'
4399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4403 depcc="$CXX" am_compiler_list=
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4406 $as_echo_n "checking dependency style of $depcc... " >&6; }
4407 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4408 $as_echo_n "(cached) " >&6
4410 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4411 # We make a subdir and do the tests there. Otherwise we can end up
4412 # making bogus files that we don't know about and never remove. For
4413 # instance it was reported that on HP-UX the gcc test will end up
4414 # making a dummy file named `D
' -- because `-MD' means
`put the output
4417 # Copy depcomp to subdir because otherwise we won't find it if we're
4418 # using a relative directory.
4419 cp "$am_depcomp" conftest.dir
4421 # We will build objects and dependencies in a subdirectory because
4422 # it helps to detect inapplicable dependency modes. For instance
4423 # both Tru64's cc and ICC support -MD to output dependencies as a
4424 # side effect of compilation, but ICC will put the dependencies in
4425 # the current directory while Tru64 will put them in the object
4429 am_cv_CXX_dependencies_compiler_type=none
4430 if test "$am_compiler_list" = ""; then
4431 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4434 case " $depcc " in #(
4435 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4438 for depmode in $am_compiler_list; do
4439 # Setup a source with many dependencies, because some compilers
4440 # like to wrap large dependency lists on column 80 (with \), and
4441 # we should not choose a depcomp mode which is confused by this.
4443 # We need to recreate these files for each test, as the compiler may
4444 # overwrite some of them when testing with obscure command lines.
4445 # This happens at least with the AIX C compiler.
4447 for i in 1 2 3 4 5 6; do
4448 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4449 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4450 # Solaris 8's
{/usr
,}/bin
/sh.
4451 touch sub
/conftst
$i.h
4453 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4455 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4456 # mode. It turns out that the SunPro C++ compiler does not properly
4457 # handle `-M -o', and we need to detect this. Also, some Intel
4458 # versions had trouble with output in subdirs
4459 am__obj
=sub
/conftest.
${OBJEXT-o}
4460 am__minus_obj
="-o $am__obj"
4463 # This depmode causes a compiler race in universal mode.
4464 test "$am__universal" = false ||
continue
4467 # after this tag, mechanisms are not by side-effect, so they'll
4468 # only be used when explicitly requested
4469 if test "x$enable_dependency_tracking" = xyes
; then
4475 msvisualcpp | msvcmsys
)
4476 # This compiler won't grok `-c -o', but also, the minuso test has
4477 # not run yet. These depmodes are late enough in the game, and
4478 # so weak that their functioning should not be impacted.
4479 am__obj
=conftest.
${OBJEXT-o}
4484 if depmode
=$depmode \
4485 source=sub
/conftest.c object
=$am__obj \
4486 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4487 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4488 >/dev
/null
2>conftest.err
&&
4489 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4490 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4491 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4492 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4493 # icc doesn't choke on unknown options, it will just issue warnings
4494 # or remarks (even with -Werror). So we grep stderr for any message
4495 # that says an option was ignored or not supported.
4496 # When given -MP, icc 7.0 and 7.1 complain thusly:
4497 # icc: Command line warning: ignoring option '-M'; no argument required
4498 # The diagnosis changed in icc 8.0:
4499 # icc: Command line remark: option '-MP' not supported
4500 if (grep 'ignoring option' conftest.err ||
4501 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4502 am_cv_CXX_dependencies_compiler_type
=$depmode
4511 am_cv_CXX_dependencies_compiler_type
=none
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4516 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4517 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4520 test "x$enable_dependency_tracking" != xno \
4521 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4522 am__fastdepCXX_TRUE
=
4523 am__fastdepCXX_FALSE
='#'
4525 am__fastdepCXX_TRUE
='#'
4526 am__fastdepCXX_FALSE
=
4531 # Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in
4532 # symbol interposition. We disable shared libraries for these.
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dlsym(RTLD_NEXT,...) is available" >&5
4534 $as_echo_n "checking whether dlsym(RTLD_NEXT,...) is available... " >&6; }
4536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4537 /* end confdefs.h. */
4545 void *foo = dlsym (RTLD_NEXT, "exit");
4550 if ac_fn_c_try_compile
"$LINENO"; then :
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4552 $as_echo "yes" >&6; }
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4562 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4563 if test "${ac_cv_path_GREP+set}" = set; then :
4564 $as_echo_n "(cached) " >&6
4566 if test -z "$GREP"; then
4567 ac_path_GREP_found
=false
4568 # Loop through the user's path and test for each of PROGNAME-LIST
4569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4570 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4573 test -z "$as_dir" && as_dir
=.
4574 for ac_prog
in grep ggrep
; do
4575 for ac_exec_ext
in '' $ac_executable_extensions; do
4576 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4577 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4578 # Check for GNU ac_path_GREP and select it if it is found.
4579 # Check for GNU $ac_path_GREP
4580 case `"$ac_path_GREP" --version 2>&1` in
4582 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4585 $as_echo_n 0123456789 >"conftest.in"
4588 cat "conftest.in" "conftest.in" >"conftest.tmp"
4589 mv "conftest.tmp" "conftest.in"
4590 cp "conftest.in" "conftest.nl"
4591 $as_echo 'GREP' >> "conftest.nl"
4592 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4593 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4594 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4595 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4596 # Best one so far, save it but keep looking for a better one
4597 ac_cv_path_GREP
="$ac_path_GREP"
4598 ac_path_GREP_max
=$ac_count
4600 # 10*(2^10) chars as input seems more than enough
4601 test $ac_count -gt 10 && break
4603 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4606 $ac_path_GREP_found && break 3
4611 if test -z "$ac_cv_path_GREP"; then
4612 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4615 ac_cv_path_GREP
=$GREP
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4620 $as_echo "$ac_cv_path_GREP" >&6; }
4621 GREP
="$ac_cv_path_GREP"
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4625 $as_echo_n "checking for egrep... " >&6; }
4626 if test "${ac_cv_path_EGREP+set}" = set; then :
4627 $as_echo_n "(cached) " >&6
4629 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4630 then ac_cv_path_EGREP
="$GREP -E"
4632 if test -z "$EGREP"; then
4633 ac_path_EGREP_found
=false
4634 # Loop through the user's path and test for each of PROGNAME-LIST
4635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4636 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4639 test -z "$as_dir" && as_dir
=.
4640 for ac_prog
in egrep; do
4641 for ac_exec_ext
in '' $ac_executable_extensions; do
4642 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4643 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4644 # Check for GNU ac_path_EGREP and select it if it is found.
4645 # Check for GNU $ac_path_EGREP
4646 case `"$ac_path_EGREP" --version 2>&1` in
4648 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4651 $as_echo_n 0123456789 >"conftest.in"
4654 cat "conftest.in" "conftest.in" >"conftest.tmp"
4655 mv "conftest.tmp" "conftest.in"
4656 cp "conftest.in" "conftest.nl"
4657 $as_echo 'EGREP' >> "conftest.nl"
4658 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4659 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4660 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4661 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4662 # Best one so far, save it but keep looking for a better one
4663 ac_cv_path_EGREP
="$ac_path_EGREP"
4664 ac_path_EGREP_max
=$ac_count
4666 # 10*(2^10) chars as input seems more than enough
4667 test $ac_count -gt 10 && break
4669 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4672 $ac_path_EGREP_found && break 3
4677 if test -z "$ac_cv_path_EGREP"; then
4678 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4681 ac_cv_path_EGREP
=$EGREP
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4687 $as_echo "$ac_cv_path_EGREP" >&6; }
4688 EGREP
="$ac_cv_path_EGREP"
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4692 $as_echo_n "checking for ANSI C header files... " >&6; }
4693 if test "${ac_cv_header_stdc+set}" = set; then :
4694 $as_echo_n "(cached) " >&6
4696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4711 if ac_fn_c_try_compile
"$LINENO"; then :
4712 ac_cv_header_stdc
=yes
4714 ac_cv_header_stdc
=no
4716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4718 if test $ac_cv_header_stdc = yes; then
4719 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4721 /* end confdefs.h. */
4725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4726 $EGREP "memchr" >/dev
/null
2>&1; then :
4729 ac_cv_header_stdc
=no
4735 if test $ac_cv_header_stdc = yes; then
4736 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4738 /* end confdefs.h. */
4742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4743 $EGREP "free" >/dev
/null
2>&1; then :
4746 ac_cv_header_stdc
=no
4752 if test $ac_cv_header_stdc = yes; then
4753 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4754 if test "$cross_compiling" = yes; then :
4757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4758 /* end confdefs.h. */
4761 #if ((' ' & 0x0FF) == 0x020)
4762 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4763 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4765 # define ISLOWER(c) \
4766 (('a' <= (c) && (c) <= 'i') \
4767 || ('j' <= (c) && (c) <= 'r') \
4768 || ('s' <= (c) && (c) <= 'z'))
4769 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4772 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4777 for (i = 0; i < 256; i++)
4778 if (XOR (islower (i), ISLOWER (i))
4779 || toupper (i) != TOUPPER (i))
4784 if ac_fn_c_try_run
"$LINENO"; then :
4787 ac_cv_header_stdc
=no
4789 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4790 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4796 $as_echo "$ac_cv_header_stdc" >&6; }
4797 if test $ac_cv_header_stdc = yes; then
4799 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4803 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4804 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4805 inttypes.h stdint.h unistd.h
4807 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4808 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4810 eval as_val
=\$
$as_ac_Header
4811 if test "x$as_val" = x
""yes; then :
4812 cat >>confdefs.h
<<_ACEOF
4813 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4821 for ac_header
in stdint.h execinfo.h signal.h dlfcn.h dirent.h
pwd.h grp.h \
4822 netdb.h sys
/ipc.h sys
/sem.h sys
/shm.h sys
/wait.h ctype.h mntent.h \
4823 sys
/socket.h netinet
/in.h arpa
/inet.h dlfcn.h sys
/mman.h
4825 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4826 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4827 eval as_val
=\$
$as_ac_Header
4828 if test "x$as_val" = x
""yes; then :
4829 cat >>confdefs.h
<<_ACEOF
4830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4838 for ac_func
in backtrace backtrace_symbols gettimeofday signal
4840 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4841 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4842 eval as_val
=\$
$as_ac_var
4843 if test "x$as_val" = x
""yes; then :
4844 cat >>confdefs.h
<<_ACEOF
4845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4851 for ac_func
in fopen64 fseeko64 ftello64 stat64 freopen64
4853 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4854 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4855 eval as_val
=\$
$as_ac_var
4856 if test "x$as_val" = x
""yes; then :
4857 cat >>confdefs.h
<<_ACEOF
4858 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4864 for ac_func
in setbuf setbuffer setlinebuf setvbuf
4866 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4867 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4868 eval as_val
=\$
$as_ac_var
4869 if test "x$as_val" = x
""yes; then :
4870 cat >>confdefs.h
<<_ACEOF
4871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4877 for ac_func
in strnlen memrchr strncpy memmem sethostname
4879 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4880 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4881 eval as_val
=\$
$as_ac_var
4882 if test "x$as_val" = x
""yes; then :
4883 cat >>confdefs.h
<<_ACEOF
4884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4890 for ac_func
in __ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc
4892 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4893 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4894 eval as_val
=\$
$as_ac_var
4895 if test "x$as_val" = x
""yes; then :
4896 cat >>confdefs.h
<<_ACEOF
4897 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4903 for ac_func
in getlogin cuserid getpwnam getpwuid getpwent getgrnam getgrgid getgrent
4905 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4906 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4907 eval as_val
=\$
$as_ac_var
4908 if test "x$as_val" = x
""yes; then :
4909 cat >>confdefs.h
<<_ACEOF
4910 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4916 for ac_func
in getlogin_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r
4918 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4919 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4920 eval as_val
=\$
$as_ac_var
4921 if test "x$as_val" = x
""yes; then :
4922 cat >>confdefs.h
<<_ACEOF
4923 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4929 for ac_func
in getservent getservbyname getservbyport getaddrinfo gai_strerror
4931 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4932 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4933 eval as_val
=\$
$as_ac_var
4934 if test "x$as_val" = x
""yes; then :
4935 cat >>confdefs.h
<<_ACEOF
4936 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4942 for ac_func
in getprotoent getprotobyname getprotobynumber
4944 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4945 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4946 eval as_val
=\$
$as_ac_var
4947 if test "x$as_val" = x
""yes; then :
4948 cat >>confdefs.h
<<_ACEOF
4949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4955 for ac_func
in getmntent setmntent addmntent
4957 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4958 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4959 eval as_val
=\$
$as_ac_var
4960 if test "x$as_val" = x
""yes; then :
4961 cat >>confdefs.h
<<_ACEOF
4962 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4968 for ac_func
in inet_ntoa mmap munmap
4970 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4971 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4972 eval as_val
=\$
$as_ac_var
4973 if test "x$as_val" = x
""yes; then :
4974 cat >>confdefs.h
<<_ACEOF
4975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4981 for ac_func
in __libc_freeres
4983 ac_fn_c_check_func
"$LINENO" "__libc_freeres" "ac_cv_func___libc_freeres"
4984 if test "x$ac_cv_func___libc_freeres" = x
""yes; then :
4985 cat >>confdefs.h
<<_ACEOF
4986 #define HAVE___LIBC_FREERES 1
4993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
4995 #include <sys/types.h>
4996 #include <sys/ipc.h>
4997 #include <sys/sem.h>
5006 if ac_fn_c_try_compile
"$LINENO"; then :
5011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5012 if test $mf_have_semun = 1
5015 $as_echo "#define HAVE_UNION_SEMUN 1" >>confdefs.h
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t in sys/socket.h" >&5
5021 $as_echo_n "checking for socklen_t in sys/socket.h... " >&6; }
5022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5023 /* end confdefs.h. */
5024 #define _POSIX_PII_SOCKET
5025 #include <sys/types.h>
5026 #include <sys/socket.h>
5035 if ac_fn_c_try_compile
"$LINENO"; then :
5037 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5040 $as_echo "yes" >&6; }
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5054 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5059 macro_version
='2.2.7a'
5060 macro_revision
='1.3134'
5074 ltmain
="$ac_aux_dir/ltmain.sh"
5076 # Backslashify metacharacters that are still active within
5077 # double-quoted strings.
5078 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5080 # Same as above, but do not quote variable references.
5081 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5083 # Sed substitution to delay expansion of an escaped shell variable in a
5084 # double_quote_subst'ed string.
5085 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5087 # Sed substitution to delay expansion of an escaped single quote.
5088 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5090 # Sed substitution to avoid accidental globbing in evaled expressions
5091 no_glob_subst
='s/\*/\\\*/g'
5093 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5094 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5095 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5098 $as_echo_n "checking how to print strings... " >&6; }
5099 # Test print first, because it will be a builtin if present.
5100 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5101 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5103 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5106 # Use this function as a fallback that always works.
5107 func_fallback_echo ()
5109 eval 'cat <<_LTECHO_EOF
5113 ECHO='func_fallback_echo
'
5116 # func_echo_all arg...
5117 # Invoke $ECHO with all args, space-separated.
5124 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5125 $as_echo "printf" >&6; } ;;
5126 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5127 $as_echo "print -r" >&6; } ;;
5128 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5129 $as_echo "cat" >&6; } ;;
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5146 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5147 if test "${ac_cv_path_SED+set}" = set; then :
5148 $as_echo_n "(cached) " >&6
5150 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5151 for ac_i in 1 2 3 4 5 6 7; do
5152 ac_script="$ac_script$as_nl$ac_script"
5154 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5155 { ac_script=; unset ac_script;}
5156 if test -z "$SED"; then
5157 ac_path_SED_found=false
5158 # Loop through the user's path and
test for each of PROGNAME-LIST
5159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5163 test -z "$as_dir" && as_dir
=.
5164 for ac_prog
in sed gsed
; do
5165 for ac_exec_ext
in '' $ac_executable_extensions; do
5166 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5167 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5168 # Check for GNU ac_path_SED and select it if it is found.
5169 # Check for GNU $ac_path_SED
5170 case `"$ac_path_SED" --version 2>&1` in
5172 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5175 $as_echo_n 0123456789 >"conftest.in"
5178 cat "conftest.in" "conftest.in" >"conftest.tmp"
5179 mv "conftest.tmp" "conftest.in"
5180 cp "conftest.in" "conftest.nl"
5181 $as_echo '' >> "conftest.nl"
5182 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5183 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5184 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5185 if test $ac_count -gt ${ac_path_SED_max-0}; then
5186 # Best one so far, save it but keep looking for a better one
5187 ac_cv_path_SED
="$ac_path_SED"
5188 ac_path_SED_max
=$ac_count
5190 # 10*(2^10) chars as input seems more than enough
5191 test $ac_count -gt 10 && break
5193 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5196 $ac_path_SED_found && break 3
5201 if test -z "$ac_cv_path_SED"; then
5202 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5210 $as_echo "$ac_cv_path_SED" >&6; }
5211 SED
="$ac_cv_path_SED"
5214 test -z "$SED" && SED
=sed
5215 Xsed
="$SED -e 1s/^X//"
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5228 $as_echo_n "checking for fgrep... " >&6; }
5229 if test "${ac_cv_path_FGREP+set}" = set; then :
5230 $as_echo_n "(cached) " >&6
5232 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5233 then ac_cv_path_FGREP
="$GREP -F"
5235 if test -z "$FGREP"; then
5236 ac_path_FGREP_found
=false
5237 # Loop through the user's path and test for each of PROGNAME-LIST
5238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5239 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5242 test -z "$as_dir" && as_dir
=.
5243 for ac_prog
in fgrep
; do
5244 for ac_exec_ext
in '' $ac_executable_extensions; do
5245 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5246 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5247 # Check for GNU ac_path_FGREP and select it if it is found.
5248 # Check for GNU $ac_path_FGREP
5249 case `"$ac_path_FGREP" --version 2>&1` in
5251 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5254 $as_echo_n 0123456789 >"conftest.in"
5257 cat "conftest.in" "conftest.in" >"conftest.tmp"
5258 mv "conftest.tmp" "conftest.in"
5259 cp "conftest.in" "conftest.nl"
5260 $as_echo 'FGREP' >> "conftest.nl"
5261 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5262 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5263 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5264 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5265 # Best one so far, save it but keep looking for a better one
5266 ac_cv_path_FGREP
="$ac_path_FGREP"
5267 ac_path_FGREP_max
=$ac_count
5269 # 10*(2^10) chars as input seems more than enough
5270 test $ac_count -gt 10 && break
5272 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5275 $ac_path_FGREP_found && break 3
5280 if test -z "$ac_cv_path_FGREP"; then
5281 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5284 ac_cv_path_FGREP
=$FGREP
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5290 $as_echo "$ac_cv_path_FGREP" >&6; }
5291 FGREP
="$ac_cv_path_FGREP"
5294 test -z "$GREP" && GREP
=grep
5314 # Check whether --with-gnu-ld was given.
5315 if test "${with_gnu_ld+set}" = set; then :
5316 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5322 if test "$GCC" = yes; then
5323 # Check if gcc -print-prog-name=ld gives a path.
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5325 $as_echo_n "checking for ld used by $CC... " >&6; }
5328 # gcc leaves a trailing carriage return which upsets mingw
5329 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5331 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5334 # Accept absolute paths.
5336 re_direlt
='/[^/][^/]*/\.\./'
5337 # Canonicalize the pathname of ld
5338 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5339 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5340 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5342 test -z "$LD" && LD
="$ac_prog"
5345 # If it fails, then pretend we aren't using GCC.
5349 # If it is relative, then search for the first ld in PATH.
5353 elif test "$with_gnu_ld" = yes; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5355 $as_echo_n "checking for GNU ld... " >&6; }
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5358 $as_echo_n "checking for non-GNU ld... " >&6; }
5360 if test "${lt_cv_path_LD+set}" = set; then :
5361 $as_echo_n "(cached) " >&6
5363 if test -z "$LD"; then
5364 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5365 for ac_dir
in $PATH; do
5367 test -z "$ac_dir" && ac_dir
=.
5368 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5369 lt_cv_path_LD
="$ac_dir/$ac_prog"
5370 # Check to see if the program is GNU ld. I'd rather use --version,
5371 # but apparently some variants of GNU ld only accept -v.
5372 # Break only if it was the GNU/non-GNU ld that we prefer.
5373 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5374 *GNU
* |
*'with BFD'*)
5375 test "$with_gnu_ld" != no
&& break
5378 test "$with_gnu_ld" != yes && break
5385 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5390 if test -n "$LD"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5392 $as_echo "$LD" >&6; }
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5397 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5399 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5400 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5401 $as_echo_n "(cached) " >&6
5403 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5404 case `$LD -v 2>&1 </dev/null` in
5405 *GNU
* |
*'with BFD'*)
5406 lt_cv_prog_gnu_ld
=yes
5409 lt_cv_prog_gnu_ld
=no
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5414 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5415 with_gnu_ld
=$lt_cv_prog_gnu_ld
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5426 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5427 if test "${lt_cv_path_NM+set}" = set; then :
5428 $as_echo_n "(cached) " >&6
5430 if test -n "$NM"; then
5431 # Let the user override the test.
5434 lt_nm_to_check
="${ac_tool_prefix}nm"
5435 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5436 lt_nm_to_check
="$lt_nm_to_check nm"
5438 for lt_tmp_nm
in $lt_nm_to_check; do
5439 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5440 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5442 test -z "$ac_dir" && ac_dir
=.
5443 tmp_nm
="$ac_dir/$lt_tmp_nm"
5444 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5445 # Check to see if the nm accepts a BSD-compat flag.
5446 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5447 # nm: unknown option "B" ignored
5448 # Tru64's nm complains that /dev/null is an invalid object file
5449 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5450 */dev
/null
* |
*'Invalid file or object type'*)
5451 lt_cv_path_NM
="$tmp_nm -B"
5455 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5457 lt_cv_path_NM
="$tmp_nm -p"
5461 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5462 continue # so that we can try to find one that supports BSD flags
5471 : ${lt_cv_path_NM=no}
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5475 $as_echo "$lt_cv_path_NM" >&6; }
5476 if test "$lt_cv_path_NM" != "no"; then
5479 # Didn't find any BSD compatible name lister, look for dumpbin.
5480 if test -n "$DUMPBIN"; then :
5481 # Let the user override the test.
5483 if test -n "$ac_tool_prefix"; then
5484 for ac_prog
in dumpbin
"link -dump"
5486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5487 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5491 $as_echo_n "(cached) " >&6
5493 if test -n "$DUMPBIN"; then
5494 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5500 test -z "$as_dir" && as_dir
=.
5501 for ac_exec_ext
in '' $ac_executable_extensions; do
5502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5503 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 DUMPBIN
=$ac_cv_prog_DUMPBIN
5514 if test -n "$DUMPBIN"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5516 $as_echo "$DUMPBIN" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5523 test -n "$DUMPBIN" && break
5526 if test -z "$DUMPBIN"; then
5527 ac_ct_DUMPBIN
=$DUMPBIN
5528 for ac_prog
in dumpbin
"link -dump"
5530 # Extract the first word of "$ac_prog", so it can be a program name with args.
5531 set dummy
$ac_prog; ac_word
=$2
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5533 $as_echo_n "checking for $ac_word... " >&6; }
5534 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5535 $as_echo_n "(cached) " >&6
5537 if test -n "$ac_ct_DUMPBIN"; then
5538 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5544 test -z "$as_dir" && as_dir
=.
5545 for ac_exec_ext
in '' $ac_executable_extensions; do
5546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5558 if test -n "$ac_ct_DUMPBIN"; then
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5560 $as_echo "$ac_ct_DUMPBIN" >&6; }
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5563 $as_echo "no" >&6; }
5567 test -n "$ac_ct_DUMPBIN" && break
5570 if test "x$ac_ct_DUMPBIN" = x
; then
5573 case $cross_compiling:$ac_tool_warned in
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5577 ac_tool_warned
=yes ;;
5579 DUMPBIN
=$ac_ct_DUMPBIN
5583 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5585 DUMPBIN
="$DUMPBIN -symbols"
5593 if test "$DUMPBIN" != ":"; then
5597 test -z "$NM" && NM
=nm
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5605 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5606 if test "${lt_cv_nm_interface+set}" = set; then :
5607 $as_echo_n "(cached) " >&6
5609 lt_cv_nm_interface
="BSD nm"
5610 echo "int some_variable = 0;" > conftest.
$ac_ext
5611 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5612 (eval "$ac_compile" 2>conftest.err
)
5613 cat conftest.err
>&5
5614 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5615 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5616 cat conftest.err
>&5
5617 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5618 cat conftest.out
>&5
5619 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5620 lt_cv_nm_interface
="MS dumpbin"
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5625 $as_echo "$lt_cv_nm_interface" >&6; }
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5628 $as_echo_n "checking whether ln -s works... " >&6; }
5630 if test "$LN_S" = "ln -s"; then
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5632 $as_echo "yes" >&6; }
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5635 $as_echo "no, using $LN_S" >&6; }
5638 # find the maximum length of command line arguments
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5640 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5641 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5642 $as_echo_n "(cached) " >&6
5649 # On DJGPP, this test can blow up pretty badly due to problems in libc
5650 # (any single argument exceeding 2000 bytes causes a buffer overrun
5651 # during glob expansion). Even if it were fixed, the result of this
5652 # check would be larger than it should be.
5653 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5657 # Under GNU Hurd, this test is not required because there is
5658 # no limit to the length of command line arguments.
5659 # Libtool will interpret -1 as no limit whatsoever
5660 lt_cv_sys_max_cmd_len
=-1;
5663 cygwin
* | mingw
* | cegcc
*)
5664 # On Win9x/ME, this test blows up -- it succeeds, but takes
5665 # about 5 minutes as the teststring grows exponentially.
5666 # Worse, since 9x/ME are not pre-emptively multitasking,
5667 # you end up with a "frozen" computer, even though with patience
5668 # the test eventually succeeds (with a max line length of 256k).
5669 # Instead, let's just punt: use the minimum linelength reported by
5670 # all of the supported platforms: 8192 (on NT/2K/XP).
5671 lt_cv_sys_max_cmd_len
=8192;
5675 # On MiNT this can take a long time and run out of memory.
5676 lt_cv_sys_max_cmd_len
=8192;
5680 # On AmigaOS with pdksh, this test takes hours, literally.
5681 # So we just punt and use a minimum line length of 8192.
5682 lt_cv_sys_max_cmd_len
=8192;
5685 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5686 # This has been around since 386BSD, at least. Likely further.
5687 if test -x /sbin
/sysctl
; then
5688 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5689 elif test -x /usr
/sbin
/sysctl
; then
5690 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5692 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5694 # And add a safety zone
5695 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5696 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5700 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5701 lt_cv_sys_max_cmd_len
=196608
5705 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5706 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5707 # nice to cause kernel panics so lets avoid the loop below.
5708 # First set a reasonable default.
5709 lt_cv_sys_max_cmd_len
=16384
5711 if test -x /sbin
/sysconfig
; then
5712 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5713 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5718 lt_cv_sys_max_cmd_len
=102400
5720 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5721 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5722 if test -n "$kargmax"; then
5723 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5725 lt_cv_sys_max_cmd_len
=32768
5729 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5730 if test -n "$lt_cv_sys_max_cmd_len"; then
5731 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5732 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5734 # Make teststring a little bigger before we do anything with it.
5735 # a 1K string should be a reasonable start.
5736 for i
in 1 2 3 4 5 6 7 8 ; do
5737 teststring
=$teststring$teststring
5739 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5740 # If test is not a shell built-in, we'll probably end up computing a
5741 # maximum length that is only half of the actual maximum length, but
5743 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5744 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5745 test $i != 17 # 1/2 MB should be enough
5748 teststring
=$teststring$teststring
5750 # Only check the string length outside the loop.
5751 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5753 # Add a significant safety factor because C++ compilers can tack on
5754 # massive amounts of additional arguments before passing them to the
5755 # linker. It appears as though 1/2 is a usable value.
5756 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5763 if test -n $lt_cv_sys_max_cmd_len ; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5765 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5768 $as_echo "none" >&6; }
5770 max_cmd_len
=$lt_cv_sys_max_cmd_len
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5782 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5783 # Try some XSI features
5786 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5788 && eval 'test $(( 1 + 1 )) -eq 2 \
5789 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5792 $as_echo "$xsi_shell" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5796 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5798 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5800 && lt_shell_append=yes
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5802 $as_echo "$lt_shell_append" >&6; }
5805 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5815 # test EBCDIC or ASCII
5816 case `echo X|tr X '\101'` in
5817 A) # ASCII based system
5818 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5819 lt_SP2NL='tr \040 \012'
5820 lt_NL2SP='tr \015\012 \040\040'
5822 *) # EBCDIC based system
5823 lt_SP2NL='tr \100 \n'
5824 lt_NL2SP='tr \r\n \100\100'
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5837 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5838 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5839 $as_echo_n "(cached
) " >&6
5841 lt_cv_ld_reload_flag='-r'
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5844 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5845 reload_flag=$lt_cv_ld_reload_flag
5846 case $reload_flag in
5848 *) reload_flag=" $reload_flag" ;;
5850 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5853 if test "$GCC" = yes; then
5854 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5856 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5869 if test -n "$ac_tool_prefix"; then
5870 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5871 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5873 $as_echo_n "checking
for $ac_word...
" >&6; }
5874 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5875 $as_echo_n "(cached
) " >&6
5877 if test -n "$OBJDUMP"; then
5878 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5887 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5888 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5897 OBJDUMP=$ac_cv_prog_OBJDUMP
5898 if test -n "$OBJDUMP"; then
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5900 $as_echo "$OBJDUMP" >&6; }
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5903 $as_echo "no
" >&6; }
5908 if test -z "$ac_cv_prog_OBJDUMP"; then
5909 ac_ct_OBJDUMP=$OBJDUMP
5910 # Extract the first word of "objdump
", so it can be a program name with args.
5911 set dummy objdump; ac_word=$2
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5913 $as_echo_n "checking
for $ac_word...
" >&6; }
5914 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5915 $as_echo_n "(cached
) " >&6
5917 if test -n "$ac_ct_OBJDUMP"; then
5918 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5924 test -z "$as_dir" && as_dir=.
5925 for ac_exec_ext in '' $ac_executable_extensions; do
5926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5927 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5928 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5937 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5938 if test -n "$ac_ct_OBJDUMP"; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5940 $as_echo "$ac_ct_OBJDUMP" >&6; }
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5943 $as_echo "no
" >&6; }
5946 if test "x
$ac_ct_OBJDUMP" = x; then
5949 case $cross_compiling:$ac_tool_warned in
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5952 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5953 ac_tool_warned=yes ;;
5955 OBJDUMP=$ac_ct_OBJDUMP
5958 OBJDUMP="$ac_cv_prog_OBJDUMP"
5961 test -z "$OBJDUMP" && OBJDUMP=objdump
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5972 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5973 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5974 $as_echo_n "(cached
) " >&6
5976 lt_cv_file_magic_cmd='$MAGIC_CMD'
5977 lt_cv_file_magic_test_file=
5978 lt_cv_deplibs_check_method='unknown'
5979 # Need to set the preceding variable on all platforms that support
5980 # interlibrary dependencies.
5981 # 'none' -- dependencies not supported.
5982 # `unknown' -- same as none, but documents that we really don't know.
5983 # 'pass_all' -- all dependencies passed with no checks.
5984 # 'test_compile' -- check by making test program.
5985 # 'file_magic [[regex]]' -- check by looking for files in library path
5986 # which responds to the $file_magic_cmd with a given extended regex.
5987 # If you have `file' or equivalent on your system and you're not sure
5988 # whether `pass_all' will *always* work, you probably want this one.
5992 lt_cv_deplibs_check_method=pass_all
5996 lt_cv_deplibs_check_method=pass_all
6000 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6001 lt_cv_file_magic_cmd='/usr/bin/file -L'
6002 lt_cv_file_magic_test_file=/shlib/libc.so
6006 # func_win32_libid is a shell function defined in ltmain.sh
6007 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6008 lt_cv_file_magic_cmd='func_win32_libid'
6012 # Base MSYS/MinGW do not provide the 'file' command needed by
6013 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6014 # unless we find 'file', for example because we are cross-compiling.
6015 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6016 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6017 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6018 lt_cv_file_magic_cmd='func_win32_libid'
6020 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6021 lt_cv_file_magic_cmd='$OBJDUMP -f'
6026 # use the weaker test based on 'objdump'. See mingw*.
6027 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6028 lt_cv_file_magic_cmd='$OBJDUMP -f'
6031 darwin* | rhapsody*)
6032 lt_cv_deplibs_check_method=pass_all
6035 freebsd* | dragonfly*)
6036 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6039 # Not sure whether the presence of OpenBSD here was a mistake.
6040 # Let's accept both of them until this is cleared up.
6041 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6042 lt_cv_file_magic_cmd=/usr/bin/file
6043 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6047 lt_cv_deplibs_check_method=pass_all
6052 lt_cv_deplibs_check_method=pass_all
6056 lt_cv_deplibs_check_method=pass_all
6059 hpux10.20* | hpux11*)
6060 lt_cv_file_magic_cmd=/usr/bin/file
6063 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6064 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6067 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6068 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6071 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6072 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6078 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6079 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6082 irix5* | irix6* | nonstopux*)
6084 *-32|*"-32 ") libmagic=32-bit;;
6085 *-n32|*"-n32 ") libmagic=N32;;
6086 *-64|*"-64 ") libmagic=64-bit;;
6087 *) libmagic=never-match;;
6089 lt_cv_deplibs_check_method=pass_all
6092 # This must be Linux ELF.
6093 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6094 lt_cv_deplibs_check_method=pass_all
6098 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6099 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6101 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6106 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6107 lt_cv_file_magic_cmd=/usr/bin/file
6108 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6112 lt_cv_deplibs_check_method=pass_all
6116 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6117 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6119 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6123 osf3* | osf4* | osf5*)
6124 lt_cv_deplibs_check_method=pass_all
6128 lt_cv_deplibs_check_method=pass_all
6132 lt_cv_deplibs_check_method=pass_all
6135 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6136 lt_cv_deplibs_check_method=pass_all
6140 case $host_vendor in
6142 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]'
6143 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6146 lt_cv_deplibs_check_method=pass_all
6149 lt_cv_file_magic_cmd='/bin/file'
6150 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6153 lt_cv_file_magic_cmd='/bin/file'
6154 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6155 lt_cv_file_magic_test_file=/lib/libc.so
6158 lt_cv_deplibs_check_method=pass_all
6161 lt_cv_deplibs_check_method=pass_all
6167 lt_cv_deplibs_check_method=pass_all
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6173 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6174 file_magic_cmd=$lt_cv_file_magic_cmd
6175 deplibs_check_method=$lt_cv_deplibs_check_method
6176 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6189 if test -n "$ac_tool_prefix"; then
6190 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6191 set dummy ${ac_tool_prefix}ar; ac_word=$2
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6193 $as_echo_n "checking
for $ac_word...
" >&6; }
6194 if test "${ac_cv_prog_AR+set}" = set; then :
6195 $as_echo_n "(cached
) " >&6
6197 if test -n "$AR"; then
6198 ac_cv_prog_AR="$AR" # Let the user override the test.
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204 test -z "$as_dir" && as_dir=.
6205 for ac_exec_ext in '' $ac_executable_extensions; do
6206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6207 ac_cv_prog_AR="${ac_tool_prefix}ar"
6208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6218 if test -n "$AR"; then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6220 $as_echo "$AR" >&6; }
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6223 $as_echo "no
" >&6; }
6228 if test -z "$ac_cv_prog_AR"; then
6230 # Extract the first word of "ar", so it can be a program name with args.
6231 set dummy ar; ac_word=$2
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6233 $as_echo_n "checking
for $ac_word...
" >&6; }
6234 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6235 $as_echo_n "(cached
) " >&6
6237 if test -n "$ac_ct_AR"; then
6238 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 test -z "$as_dir" && as_dir=.
6245 for ac_exec_ext in '' $ac_executable_extensions; do
6246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6247 ac_cv_prog_ac_ct_AR="ar"
6248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6257 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6258 if test -n "$ac_ct_AR"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6260 $as_echo "$ac_ct_AR" >&6; }
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6263 $as_echo "no
" >&6; }
6266 if test "x
$ac_ct_AR" = x; then
6269 case $cross_compiling:$ac_tool_warned in
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6272 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6273 ac_tool_warned=yes ;;
6281 test -z "$AR" && AR=ar
6282 test -z "$AR_FLAGS" && AR_FLAGS=cru
6294 if test -n "$ac_tool_prefix"; then
6295 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6296 set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then :
6300 $as_echo_n "(cached
) " >&6
6302 if test -n "$STRIP"; then
6303 ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip
"
6313 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6322 STRIP=$ac_cv_prog_STRIP
6323 if test -n "$STRIP"; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6325 $as_echo "$STRIP" >&6; }
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6328 $as_echo "no
" >&6; }
6333 if test -z "$ac_cv_prog_STRIP"; then
6335 # Extract the first word of "strip
", so it can be a program name with args.
6336 set dummy strip; ac_word=$2
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6338 $as_echo_n "checking
for $ac_word...
" >&6; }
6339 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6340 $as_echo_n "(cached
) " >&6
6342 if test -n "$ac_ct_STRIP"; then
6343 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349 test -z "$as_dir" && as_dir=.
6350 for ac_exec_ext in '' $ac_executable_extensions; do
6351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6352 ac_cv_prog_ac_ct_STRIP="strip
"
6353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6362 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6363 if test -n "$ac_ct_STRIP"; then
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6365 $as_echo "$ac_ct_STRIP" >&6; }
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6368 $as_echo "no
" >&6; }
6371 if test "x
$ac_ct_STRIP" = x; then
6374 case $cross_compiling:$ac_tool_warned in
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6377 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6378 ac_tool_warned=yes ;;
6383 STRIP="$ac_cv_prog_STRIP"
6386 test -z "$STRIP" && STRIP=:
6393 if test -n "$ac_tool_prefix"; then
6394 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6395 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6397 $as_echo_n "checking
for $ac_word...
" >&6; }
6398 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6399 $as_echo_n "(cached
) " >&6
6401 if test -n "$RANLIB"; then
6402 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6408 test -z "$as_dir" && as_dir=.
6409 for ac_exec_ext in '' $ac_executable_extensions; do
6410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6411 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6412 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6421 RANLIB=$ac_cv_prog_RANLIB
6422 if test -n "$RANLIB"; then
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6424 $as_echo "$RANLIB" >&6; }
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6427 $as_echo "no
" >&6; }
6432 if test -z "$ac_cv_prog_RANLIB"; then
6433 ac_ct_RANLIB=$RANLIB
6434 # Extract the first word of "ranlib
", so it can be a program name with args.
6435 set dummy ranlib; ac_word=$2
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6437 $as_echo_n "checking
for $ac_word...
" >&6; }
6438 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6439 $as_echo_n "(cached
) " >&6
6441 if test -n "$ac_ct_RANLIB"; then
6442 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 test -z "$as_dir" && as_dir=.
6449 for ac_exec_ext in '' $ac_executable_extensions; do
6450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6451 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6461 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6462 if test -n "$ac_ct_RANLIB"; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6464 $as_echo "$ac_ct_RANLIB" >&6; }
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6467 $as_echo "no
" >&6; }
6470 if test "x
$ac_ct_RANLIB" = x; then
6473 case $cross_compiling:$ac_tool_warned in
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6476 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6477 ac_tool_warned=yes ;;
6479 RANLIB=$ac_ct_RANLIB
6482 RANLIB="$ac_cv_prog_RANLIB"
6485 test -z "$RANLIB" && RANLIB=:
6492 # Determine commands to create old-style static archives.
6493 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6494 old_postinstall_cmds='chmod 644 $oldlib'
6495 old_postuninstall_cmds=
6497 if test -n "$RANLIB"; then
6500 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6503 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6506 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6511 lock_old_archive_extraction=yes ;;
6513 lock_old_archive_extraction=no ;;
6554 # If no C compiler was specified, use CC.
6557 # If no C compiler flags were specified, use CFLAGS.
6558 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6560 # Allow CC to be a program name with arguments.
6564 # Check for command to grab the raw symbol name followed by C symbol from nm.
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6566 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6567 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6568 $as_echo_n "(cached
) " >&6
6571 # These are sane defaults that work on at least a few old systems.
6572 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6574 # Character class describing NM global symbol codes.
6575 symcode='[BCDEGRST]'
6577 # Regexp to match symbols that can be accessed directly from C.
6578 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6580 # Define system-specific variables.
6585 cygwin* | mingw* | pw32* | cegcc*)
6586 symcode='[ABCDGISTW]'
6589 if test "$host_cpu" = ia64; then
6590 symcode='[ABCDEGRST]'
6594 symcode='[BCDEGRST]'
6597 symcode='[BCDEGQRST]'
6608 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6616 # If we're using GNU nm, then use its standard symbol codes.
6617 case `$NM -V 2>&1` in
6618 *GNU* | *'with BFD'*)
6619 symcode='[ABCDGIRSTW]' ;;
6622 # Transform an extracted symbol line into a proper C declaration.
6623 # Some systems (esp. on ia64) link data and code symbols differently,
6624 # so use this general approach.
6625 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6627 # Transform an extracted symbol line into symbol name and symbol address
6628 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6629 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6631 # Handle CRLF in mingw tool chain
6635 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6639 # Try without a prefix underscore, then with it.
6640 for ac_symprfx in "" "_
"; do
6642 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6643 symxfrm="\\1 $ac_symprfx\\2 \\2"
6645 # Write the raw and C identifiers.
6646 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6647 # Fake it for dumpbin and say T for any non-static function
6648 # and D for any global variable.
6649 # Also find C++ and __fastcall symbols from MSVC++,
6650 # which start with @ or ?.
6651 lt_cv_sys_global_symbol_pipe="$AWK '"\
6652 " {last_section=section; section=\$ 3};"\
6653 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6654 " \$ 0!~/External *\|/{next};"\
6655 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6656 " {if(hide[section]) next};"\
6657 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6658 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6659 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6660 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6661 " ' prfx
=^
$ac_symprfx"
6663 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6666 # Check to see that the pipe works correctly.
6670 cat > conftest.$ac_ext <<_LT_EOF
6675 void nm_test_func(void);
6676 void nm_test_func(void){}
6680 int main(){nm_test_var='a';nm_test_func();return(0);}
6683 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6684 (eval $ac_compile) 2>&5
6686 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6687 test $ac_status = 0; }; then
6688 # Now try to grab the symbols.
6690 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6691 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6693 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6694 test $ac_status = 0; } && test -s "$nlist"; then
6695 # Try sorting and uniquifying the output.
6696 if sort "$nlist" | uniq > "$nlist"T; then
6697 mv -f "$nlist"T "$nlist"
6702 # Make sure that we snagged all the symbols we need.
6703 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6704 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6705 cat <<_LT_EOF > conftest.$ac_ext
6711 # Now generate the symbol file.
6712 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6714 cat <<_LT_EOF >> conftest.$ac_ext
6716 /* The mapping between symbol names and symbols. */
6721 lt__PROGRAM__LTX_preloaded_symbols[] =
6723 { "@PROGRAM@
", (void *) 0 },
6725 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6726 cat <<\_LT_EOF >> conftest.$ac_ext
6730 /* This works around a problem in FreeBSD linker */
6731 #ifdef FREEBSD_WORKAROUND
6732 static const void *lt_preloaded_setup() {
6733 return lt__PROGRAM__LTX_preloaded_symbols;
6741 # Now try linking the two files.
6742 mv conftest.$ac_objext conftstm.$ac_objext
6743 lt_save_LIBS="$LIBS"
6744 lt_save_CFLAGS="$CFLAGS"
6745 LIBS="conftstm.
$ac_objext"
6746 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6747 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6748 (eval $ac_link) 2>&5
6750 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6751 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6754 LIBS="$lt_save_LIBS"
6755 CFLAGS="$lt_save_CFLAGS"
6757 echo "cannot
find nm_test_func
in $nlist" >&5
6760 echo "cannot
find nm_test_var
in $nlist" >&5
6763 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6766 echo "$progname: failed program was
:" >&5
6767 cat conftest.$ac_ext >&5
6769 rm -rf conftest* conftst*
6771 # Do not use the global_symbol_pipe unless it works.
6772 if test "$pipe_works" = yes; then
6775 lt_cv_sys_global_symbol_pipe=
6781 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6782 lt_cv_sys_global_symbol_to_cdecl=
6784 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6786 $as_echo "failed
" >&6; }
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6789 $as_echo "ok
" >&6; }
6813 # Check whether --enable-libtool-lock was given.
6814 if test "${enable_libtool_lock+set}" = set; then :
6815 enableval=$enable_libtool_lock;
6818 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6820 # Some flags need to be propagated to the compiler or linker for good
6824 # Find out which ABI we are using.
6825 echo 'int i;' > conftest.$ac_ext
6826 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6827 (eval $ac_compile) 2>&5
6829 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6830 test $ac_status = 0; }; then
6831 case `/usr/bin/file conftest.$ac_objext` in
6843 # Find out which ABI we are using.
6844 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6845 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6846 (eval $ac_compile) 2>&5
6848 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6849 test $ac_status = 0; }; then
6850 if test "$lt_cv_prog_gnu_ld" = yes; then
6851 case `/usr/bin/file conftest.$ac_objext` in
6853 LD="${LD-ld} -melf32bsmip"
6856 LD="${LD-ld} -melf32bmipn32"
6859 LD="${LD-ld} -melf64bmip"
6863 case `/usr/bin/file conftest.$ac_objext` in
6879 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6880 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6881 # Find out which ABI we are using.
6882 echo 'int i;' > conftest.$ac_ext
6883 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6884 (eval $ac_compile) 2>&5
6886 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6887 test $ac_status = 0; }; then
6888 case `/usr/bin/file conftest.o` in
6891 x86_64-*kfreebsd*-gnu)
6892 LD="${LD-ld} -m elf_i386_fbsd
"
6895 LD="${LD-ld} -m elf_i386
"
6897 ppc64-*linux*|powerpc64-*linux*)
6898 LD="${LD-ld} -m elf32ppclinux
"
6901 LD="${LD-ld} -m elf_s390
"
6904 LD="${LD-ld} -m elf32_sparc
"
6910 x86_64-*kfreebsd*-gnu)
6911 LD="${LD-ld} -m elf_x86_64_fbsd
"
6914 LD="${LD-ld} -m elf_x86_64
"
6916 ppc*-*linux*|powerpc*-*linux*)
6917 LD="${LD-ld} -m elf64ppc
"
6919 s390*-*linux*|s390*-*tpf*)
6920 LD="${LD-ld} -m elf64_s390
"
6923 LD="${LD-ld} -m elf64_sparc
"
6933 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6934 SAVE_CFLAGS="$CFLAGS"
6935 CFLAGS="$CFLAGS -belf"
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6937 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6938 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6939 $as_echo_n "(cached
) " >&6
6942 ac_cpp='$CPP $CPPFLAGS'
6943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6948 /* end confdefs.h. */
6958 if ac_fn_c_try_link "$LINENO"; then :
6959 lt_cv_cc_needs_belf=yes
6961 lt_cv_cc_needs_belf=no
6963 rm -f core conftest.err conftest.$ac_objext \
6964 conftest$ac_exeext conftest.$ac_ext
6966 ac_cpp='$CPP $CPPFLAGS'
6967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6973 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6974 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6975 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6976 CFLAGS="$SAVE_CFLAGS"
6980 # Find out which ABI we are using.
6981 echo 'int i;' > conftest.$ac_ext
6982 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6983 (eval $ac_compile) 2>&5
6985 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6986 test $ac_status = 0; }; then
6987 case `/usr/bin/file conftest.o` in
6989 case $lt_cv_prog_gnu_ld in
6990 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6992 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7004 need_locks="$enable_libtool_lock"
7008 rhapsody* | darwin*)
7009 if test -n "$ac_tool_prefix"; then
7010 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7011 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7013 $as_echo_n "checking
for $ac_word...
" >&6; }
7014 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7015 $as_echo_n "(cached
) " >&6
7017 if test -n "$DSYMUTIL"; then
7018 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7024 test -z "$as_dir" && as_dir=.
7025 for ac_exec_ext in '' $ac_executable_extensions; do
7026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7027 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7028 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7037 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7038 if test -n "$DSYMUTIL"; then
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7040 $as_echo "$DSYMUTIL" >&6; }
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7043 $as_echo "no
" >&6; }
7048 if test -z "$ac_cv_prog_DSYMUTIL"; then
7049 ac_ct_DSYMUTIL=$DSYMUTIL
7050 # Extract the first word of "dsymutil
", so it can be a program name with args.
7051 set dummy dsymutil; ac_word=$2
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7053 $as_echo_n "checking
for $ac_word...
" >&6; }
7054 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7055 $as_echo_n "(cached
) " >&6
7057 if test -n "$ac_ct_DSYMUTIL"; then
7058 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7064 test -z "$as_dir" && as_dir=.
7065 for ac_exec_ext in '' $ac_executable_extensions; do
7066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7067 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7068 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7077 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7078 if test -n "$ac_ct_DSYMUTIL"; then
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7080 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7083 $as_echo "no
" >&6; }
7086 if test "x
$ac_ct_DSYMUTIL" = x; then
7089 case $cross_compiling:$ac_tool_warned in
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7092 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7093 ac_tool_warned=yes ;;
7095 DSYMUTIL=$ac_ct_DSYMUTIL
7098 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7101 if test -n "$ac_tool_prefix"; then
7102 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7103 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7105 $as_echo_n "checking
for $ac_word...
" >&6; }
7106 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7107 $as_echo_n "(cached
) " >&6
7109 if test -n "$NMEDIT"; then
7110 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7116 test -z "$as_dir" && as_dir=.
7117 for ac_exec_ext in '' $ac_executable_extensions; do
7118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7119 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7120 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7129 NMEDIT=$ac_cv_prog_NMEDIT
7130 if test -n "$NMEDIT"; then
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7132 $as_echo "$NMEDIT" >&6; }
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7135 $as_echo "no
" >&6; }
7140 if test -z "$ac_cv_prog_NMEDIT"; then
7141 ac_ct_NMEDIT=$NMEDIT
7142 # Extract the first word of "nmedit
", so it can be a program name with args.
7143 set dummy nmedit; ac_word=$2
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7145 $as_echo_n "checking
for $ac_word...
" >&6; }
7146 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7147 $as_echo_n "(cached
) " >&6
7149 if test -n "$ac_ct_NMEDIT"; then
7150 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7156 test -z "$as_dir" && as_dir=.
7157 for ac_exec_ext in '' $ac_executable_extensions; do
7158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7159 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7160 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7169 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7170 if test -n "$ac_ct_NMEDIT"; then
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7172 $as_echo "$ac_ct_NMEDIT" >&6; }
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7175 $as_echo "no
" >&6; }
7178 if test "x
$ac_ct_NMEDIT" = x; then
7181 case $cross_compiling:$ac_tool_warned in
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7184 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7185 ac_tool_warned=yes ;;
7187 NMEDIT=$ac_ct_NMEDIT
7190 NMEDIT="$ac_cv_prog_NMEDIT"
7193 if test -n "$ac_tool_prefix"; then
7194 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7195 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7197 $as_echo_n "checking
for $ac_word...
" >&6; }
7198 if test "${ac_cv_prog_LIPO+set}" = set; then :
7199 $as_echo_n "(cached
) " >&6
7201 if test -n "$LIPO"; then
7202 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7208 test -z "$as_dir" && as_dir=.
7209 for ac_exec_ext in '' $ac_executable_extensions; do
7210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7211 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7212 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7221 LIPO=$ac_cv_prog_LIPO
7222 if test -n "$LIPO"; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7224 $as_echo "$LIPO" >&6; }
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7227 $as_echo "no
" >&6; }
7232 if test -z "$ac_cv_prog_LIPO"; then
7234 # Extract the first word of "lipo
", so it can be a program name with args.
7235 set dummy lipo; ac_word=$2
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7237 $as_echo_n "checking
for $ac_word...
" >&6; }
7238 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7239 $as_echo_n "(cached
) " >&6
7241 if test -n "$ac_ct_LIPO"; then
7242 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248 test -z "$as_dir" && as_dir=.
7249 for ac_exec_ext in '' $ac_executable_extensions; do
7250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251 ac_cv_prog_ac_ct_LIPO="lipo
"
7252 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7261 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7262 if test -n "$ac_ct_LIPO"; then
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7264 $as_echo "$ac_ct_LIPO" >&6; }
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7267 $as_echo "no
" >&6; }
7270 if test "x
$ac_ct_LIPO" = x; then
7273 case $cross_compiling:$ac_tool_warned in
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7276 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7277 ac_tool_warned=yes ;;
7282 LIPO="$ac_cv_prog_LIPO"
7285 if test -n "$ac_tool_prefix"; then
7286 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7287 set dummy ${ac_tool_prefix}otool; ac_word=$2
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7289 $as_echo_n "checking
for $ac_word...
" >&6; }
7290 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7291 $as_echo_n "(cached
) " >&6
7293 if test -n "$OTOOL"; then
7294 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7300 test -z "$as_dir" && as_dir=.
7301 for ac_exec_ext in '' $ac_executable_extensions; do
7302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7303 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7313 OTOOL=$ac_cv_prog_OTOOL
7314 if test -n "$OTOOL"; then
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7316 $as_echo "$OTOOL" >&6; }
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7319 $as_echo "no
" >&6; }
7324 if test -z "$ac_cv_prog_OTOOL"; then
7326 # Extract the first word of "otool
", so it can be a program name with args.
7327 set dummy otool; ac_word=$2
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7329 $as_echo_n "checking
for $ac_word...
" >&6; }
7330 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7331 $as_echo_n "(cached
) " >&6
7333 if test -n "$ac_ct_OTOOL"; then
7334 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7340 test -z "$as_dir" && as_dir=.
7341 for ac_exec_ext in '' $ac_executable_extensions; do
7342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7343 ac_cv_prog_ac_ct_OTOOL="otool
"
7344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7353 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7354 if test -n "$ac_ct_OTOOL"; then
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7356 $as_echo "$ac_ct_OTOOL" >&6; }
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7359 $as_echo "no
" >&6; }
7362 if test "x
$ac_ct_OTOOL" = x; then
7365 case $cross_compiling:$ac_tool_warned in
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7368 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7369 ac_tool_warned=yes ;;
7374 OTOOL="$ac_cv_prog_OTOOL"
7377 if test -n "$ac_tool_prefix"; then
7378 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7379 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7381 $as_echo_n "checking
for $ac_word...
" >&6; }
7382 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7383 $as_echo_n "(cached
) " >&6
7385 if test -n "$OTOOL64"; then
7386 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7392 test -z "$as_dir" && as_dir=.
7393 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7405 OTOOL64=$ac_cv_prog_OTOOL64
7406 if test -n "$OTOOL64"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7408 $as_echo "$OTOOL64" >&6; }
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7411 $as_echo "no
" >&6; }
7416 if test -z "$ac_cv_prog_OTOOL64"; then
7417 ac_ct_OTOOL64=$OTOOL64
7418 # Extract the first word of "otool64
", so it can be a program name with args.
7419 set dummy otool64; ac_word=$2
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7421 $as_echo_n "checking
for $ac_word...
" >&6; }
7422 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7423 $as_echo_n "(cached
) " >&6
7425 if test -n "$ac_ct_OTOOL64"; then
7426 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7432 test -z "$as_dir" && as_dir=.
7433 for ac_exec_ext in '' $ac_executable_extensions; do
7434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7435 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7436 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7445 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7446 if test -n "$ac_ct_OTOOL64"; then
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7448 $as_echo "$ac_ct_OTOOL64" >&6; }
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7451 $as_echo "no
" >&6; }
7454 if test "x
$ac_ct_OTOOL64" = x; then
7457 case $cross_compiling:$ac_tool_warned in
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7460 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7461 ac_tool_warned=yes ;;
7463 OTOOL64=$ac_ct_OTOOL64
7466 OTOOL64="$ac_cv_prog_OTOOL64"
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7496 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7497 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7498 $as_echo_n "(cached
) " >&6
7500 lt_cv_apple_cc_single_mod=no
7501 if test -z "${LT_MULTI_MODULE}"; then
7502 # By default we will add the -single_module flag. You can override
7503 # by either setting the environment variable LT_MULTI_MODULE
7504 # non-empty at configure time, or by adding -multi_module to the
7506 rm -rf libconftest.dylib*
7507 echo "int foo
(void
){return 1;}" > conftest.c
7508 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7509 -dynamiclib -Wl,-single_module conftest.c
" >&5
7510 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7511 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7513 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7514 lt_cv_apple_cc_single_mod=yes
7516 cat conftest.err >&5
7518 rm -rf libconftest.dylib*
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7523 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7525 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7526 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7527 $as_echo_n "(cached
) " >&6
7529 lt_cv_ld_exported_symbols_list=no
7530 save_LDFLAGS=$LDFLAGS
7531 echo "_main
" > conftest.sym
7532 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7534 /* end confdefs.h. */
7544 if ac_fn_c_try_link "$LINENO"; then :
7545 lt_cv_ld_exported_symbols_list=yes
7547 lt_cv_ld_exported_symbols_list=no
7549 rm -f core conftest.err conftest.$ac_objext \
7550 conftest$ac_exeext conftest.$ac_ext
7551 LDFLAGS="$save_LDFLAGS"
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7555 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7557 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7558 if test "${lt_cv_ld_force_load+set}" = set; then :
7559 $as_echo_n "(cached
) " >&6
7561 lt_cv_ld_force_load=no
7562 cat > conftest.c << _LT_EOF
7563 int forced_loaded() { return 2;}
7565 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7566 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7567 echo "$AR cru libconftest.a conftest.o
" >&5
7568 $AR cru libconftest.a conftest.o 2>&5
7569 cat > conftest.c << _LT_EOF
7570 int main() { return 0;}
7572 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7573 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7575 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7576 lt_cv_ld_force_load=yes
7578 cat conftest.err >&5
7580 rm -f conftest.err libconftest.a conftest conftest.c
7581 rm -rf conftest.dSYM
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7585 $as_echo "$lt_cv_ld_force_load" >&6; }
7587 rhapsody* | darwin1.[012])
7588 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7590 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7591 darwin*) # darwin 5.x on
7592 # if running on 10.5 or later, the deployment target defaults
7593 # to the OS version, if on x86, and 10.4, the deployment
7594 # target defaults to 10.4. Don't you love it?
7595 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7596 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7597 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7599 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7601 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7605 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7606 _lt_dar_single_mod='$single_module'
7608 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7609 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7611 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7613 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7614 _lt_dsymutil='~$DSYMUTIL $lib || :'
7621 for ac_header in dlfcn.h
7623 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7625 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7626 cat >>confdefs.h <<_ACEOF
7627 #define HAVE_DLFCN_H 1
7647 # Check whether --enable-shared was given.
7648 if test "${enable_shared+set}" = set; then :
7649 enableval=$enable_shared; p=${PACKAGE-default}
7651 yes) enable_shared=yes ;;
7652 no) enable_shared=no ;;
7655 # Look at the argument we got. We use all the common list separators.
7656 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7657 for pkg in $enableval; do
7659 if test "X
$pkg" = "X
$p"; then
7678 # Check whether --enable-static was given.
7679 if test "${enable_static+set}" = set; then :
7680 enableval=$enable_static; p=${PACKAGE-default}
7682 yes) enable_static=yes ;;
7683 no) enable_static=no ;;
7686 # Look at the argument we got. We use all the common list separators.
7687 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7688 for pkg in $enableval; do
7690 if test "X
$pkg" = "X
$p"; then
7710 # Check whether --with-pic was given.
7711 if test "${with_pic+set}" = set; then :
7712 withval=$with_pic; p=${PACKAGE-default}
7714 yes|no) pic_mode="$withval" ;;
7717 # Look at the argument we got. We use all the common list separators.
7718 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7719 for pkg in $withval; do
7721 if test "X
$pkg" = "X
$p"; then
7733 test -z "$pic_mode" && pic_mode=default
7741 # Check whether --enable-fast-install was given.
7742 if test "${enable_fast_install+set}" = set; then :
7743 enableval=$enable_fast_install; p=${PACKAGE-default}
7745 yes) enable_fast_install=yes ;;
7746 no) enable_fast_install=no ;;
7748 enable_fast_install=no
7749 # Look at the argument we got. We use all the common list separators.
7750 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7751 for pkg in $enableval; do
7753 if test "X
$pkg" = "X
$p"; then
7754 enable_fast_install=yes
7761 enable_fast_install=yes
7774 # This can be used to rebuild libtool when needed
7775 LIBTOOL_DEPS="$ltmain"
7777 # Always use our own libtool.
7778 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7805 test -z "$LN_S" && LN_S="ln -s"
7820 if test -n "${ZSH_VERSION+set}" ; then
7821 setopt NO_GLOB_SUBST
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7825 $as_echo_n "checking
for objdir...
" >&6; }
7826 if test "${lt_cv_objdir+set}" = set; then :
7827 $as_echo_n "(cached
) " >&6
7829 rm -f .libs 2>/dev/null
7830 mkdir .libs 2>/dev/null
7831 if test -d .libs; then
7834 # MS-DOS does not allow filenames that begin with a dot.
7837 rmdir .libs 2>/dev/null
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7840 $as_echo "$lt_cv_objdir" >&6; }
7841 objdir=$lt_cv_objdir
7847 cat >>confdefs.h <<_ACEOF
7848 #define LT_OBJDIR "$lt_cv_objdir/"
7856 # AIX sometimes has problems with the GCC collect2 program. For some
7857 # reason, if we set the COLLECT_NAMES environment variable, the problems
7858 # vanish in a puff of smoke.
7859 if test "X
${COLLECT_NAMES+set}" != Xset; then
7861 export COLLECT_NAMES
7868 can_build_shared=yes
7870 # All known linkers require a `.a' archive for static linking (except MSVC,
7871 # which needs '.lib').
7874 with_gnu_ld="$lt_cv_prog_gnu_ld"
7877 old_CFLAGS="$CFLAGS"
7879 # Set sane defaults for various variables
7880 test -z "$CC" && CC=cc
7881 test -z "$LTCC" && LTCC=$CC
7882 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7883 test -z "$LD" && LD=ld
7884 test -z "$ac_objext" && ac_objext=o
7886 for cc_temp in $compiler""; do
7888 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7889 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7894 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7897 # Only perform the check for file, if the check method requires it
7898 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7899 case $deplibs_check_method in
7901 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7903 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7904 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7905 $as_echo_n "(cached
) " >&6
7909 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7912 lt_save_MAGIC_CMD="$MAGIC_CMD"
7913 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7914 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7915 for ac_dir in $ac_dummy; do
7917 test -z "$ac_dir" && ac_dir=.
7918 if test -f $ac_dir/${ac_tool_prefix}file; then
7919 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7920 if test -n "$file_magic_test_file"; then
7921 case $deplibs_check_method in
7923 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7924 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7925 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7926 $EGREP "$file_magic_regex" > /dev/null; then
7931 *** Warning: the command libtool uses to detect shared libraries,
7932 *** $file_magic_cmd, produces output that libtool cannot recognize.
7933 *** The result is that libtool may fail to recognize shared libraries
7934 *** as such. This will affect the creation of libtool libraries that
7935 *** depend on shared libraries, but programs linked with such libtool
7936 *** libraries will work regardless of this problem. Nevertheless, you
7937 *** may want to report the problem to your system manager and/or to
7938 *** bug-libtool@gnu.org
7948 MAGIC_CMD="$lt_save_MAGIC_CMD"
7953 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7954 if test -n "$MAGIC_CMD"; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7956 $as_echo "$MAGIC_CMD" >&6; }
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7959 $as_echo "no
" >&6; }
7966 if test -z "$lt_cv_path_MAGIC_CMD"; then
7967 if test -n "$ac_tool_prefix"; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7969 $as_echo_n "checking
for file...
" >&6; }
7970 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7971 $as_echo_n "(cached
) " >&6
7975 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7978 lt_save_MAGIC_CMD="$MAGIC_CMD"
7979 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7980 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7981 for ac_dir in $ac_dummy; do
7983 test -z "$ac_dir" && ac_dir=.
7984 if test -f $ac_dir/file; then
7985 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7986 if test -n "$file_magic_test_file"; then
7987 case $deplibs_check_method in
7989 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7990 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7991 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7992 $EGREP "$file_magic_regex" > /dev/null; then
7997 *** Warning: the command libtool uses to detect shared libraries,
7998 *** $file_magic_cmd, produces output that libtool cannot recognize.
7999 *** The result is that libtool may fail to recognize shared libraries
8000 *** as such. This will affect the creation of libtool libraries that
8001 *** depend on shared libraries, but programs linked with such libtool
8002 *** libraries will work regardless of this problem. Nevertheless, you
8003 *** may want to report the problem to your system manager and/or to
8004 *** bug-libtool@gnu.org
8014 MAGIC_CMD="$lt_save_MAGIC_CMD"
8019 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8020 if test -n "$MAGIC_CMD"; then
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8022 $as_echo "$MAGIC_CMD" >&6; }
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8025 $as_echo "no
" >&6; }
8038 # Use C for the default configuration in the libtool script
8042 ac_cpp='$CPP $CPPFLAGS'
8043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8048 # Source file extension for C test sources.
8051 # Object file extension for compiled C test sources.
8055 # Code to be used in simple compile tests
8056 lt_simple_compile_test_code="int some_variable
= 0;"
8058 # Code to be used in simple link tests
8059 lt_simple_link_test_code='int main(){return(0);}'
8067 # If no C compiler was specified, use CC.
8070 # If no C compiler flags were specified, use CFLAGS.
8071 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8073 # Allow CC to be a program name with arguments.
8076 # Save the default compiler, since it gets overwritten when the other
8077 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8078 compiler_DEFAULT=$CC
8080 # save warnings/boilerplate of simple test code
8081 ac_outfile=conftest.$ac_objext
8082 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8083 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8084 _lt_compiler_boilerplate=`cat conftest.err`
8087 ac_outfile=conftest.$ac_objext
8088 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8089 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8090 _lt_linker_boilerplate=`cat conftest.err`
8095 ## There is no encapsulation within the following macros, do not change
8096 ## the running order or otherwise move them around unless you know exactly
8097 ## what you are doing...
8098 if test -n "$compiler"; then
8100 lt_prog_compiler_no_builtin_flag=
8102 if test "$GCC" = yes; then
8103 case $cc_basename in
8105 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8107 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8111 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8112 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8113 $as_echo_n "(cached
) " >&6
8115 lt_cv_prog_compiler_rtti_exceptions=no
8116 ac_outfile=conftest.$ac_objext
8117 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8118 lt_compiler_flag="-fno-rtti -fno-exceptions"
8119 # Insert the option either (1) after the last *FLAGS variable, or
8120 # (2) before a word containing "conftest.
", or (3) at the end.
8121 # Note that $ac_compile itself does not contain backslashes and begins
8122 # with a dollar sign (not a hyphen), so the echo should work correctly.
8123 # The option is referenced via a variable to avoid confusing sed.
8124 lt_compile=`echo "$ac_compile" | $SED \
8125 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8126 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8127 -e 's:$: $lt_compiler_flag:'`
8128 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8129 (eval "$lt_compile" 2>conftest.err)
8131 cat conftest.err >&5
8132 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8133 if (exit $ac_status) && test -s "$ac_outfile"; then
8134 # The compiler can only warn and ignore the option if not recognized
8135 # So say no if there are warnings other than the usual output.
8136 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8137 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8138 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8139 lt_cv_prog_compiler_rtti_exceptions=yes
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8146 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8148 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8149 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8161 lt_prog_compiler_wl=
8162 lt_prog_compiler_pic=
8163 lt_prog_compiler_static=
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8166 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8168 if test "$GCC" = yes; then
8169 lt_prog_compiler_wl='-Wl,'
8170 lt_prog_compiler_static='-static'
8174 # All AIX code is PIC.
8175 if test "$host_cpu" = ia64; then
8176 # AIX 5 now supports IA64 processor
8177 lt_prog_compiler_static='-Bstatic'
8184 # see comment about AmigaOS4 .so support
8185 lt_prog_compiler_pic='-fPIC'
8188 # FIXME: we need at least 68020 code to build shared libraries, but
8189 # adding the `-m68020' flag to GCC prevents building anything better,
8191 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8196 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8197 # PIC is the default for these OSes.
8200 mingw* | cygwin* | pw32* | os2* | cegcc*)
8201 # This hack is so that the source file can tell whether it is being
8202 # built for inclusion in a dll (and should export symbols for example).
8203 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8204 # (--disable-auto-import) libraries
8205 lt_prog_compiler_pic='-DDLL_EXPORT'
8208 darwin* | rhapsody*)
8209 # PIC is the default on this platform
8210 # Common symbols not allowed in MH_DYLIB files
8211 lt_prog_compiler_pic='-fno-common'
8215 # PIC is the default for Haiku.
8216 # The "-static" flag exists, but is broken.
8217 lt_prog_compiler_static=
8221 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8222 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8223 # sets the default TLS model and affects inlining.
8229 lt_prog_compiler_pic='-fPIC'
8235 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8236 # Instead, we relocate shared libraries at runtime.
8240 # Just because we use GCC doesn't mean we suddenly get shared libraries
8241 # on systems that don't support them.
8242 lt_prog_compiler_can_build_shared=no
8247 # QNX uses GNU C++, but need to define -shared option too, otherwise
8249 lt_prog_compiler_pic='-fPIC -shared'
8253 if test -d /usr/nec; then
8254 lt_prog_compiler_pic=-Kconform_pic
8259 lt_prog_compiler_pic='-fPIC'
8263 case $cc_basename in
8264 nvcc*) # Cuda Compiler Driver 2.2
8265 lt_prog_compiler_wl='-Xlinker '
8266 lt_prog_compiler_pic='-Xcompiler -fPIC'
8270 # PORTME Check for flag to pass linker flags through the system compiler.
8273 lt_prog_compiler_wl='-Wl,'
8274 if test "$host_cpu" = ia64; then
8275 # AIX 5 now supports IA64 processor
8276 lt_prog_compiler_static='-Bstatic'
8278 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8282 mingw* | cygwin* | pw32* | os2* | cegcc*)
8283 # This hack is so that the source file can tell whether it is being
8284 # built for inclusion in a dll (and should export symbols for example).
8285 lt_prog_compiler_pic='-DDLL_EXPORT'
8288 hpux9* | hpux10* | hpux11*)
8289 lt_prog_compiler_wl='-Wl,'
8290 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8297 lt_prog_compiler_pic='+Z'
8300 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8301 lt_prog_compiler_static='${wl}-a ${wl}archive'
8304 irix5* | irix6* | nonstopux*)
8305 lt_prog_compiler_wl='-Wl,'
8306 # PIC (with -KPIC) is the default.
8307 lt_prog_compiler_static='-non_shared'
8310 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8311 case $cc_basename in
8312 # old Intel for x86_64 which still supported -KPIC.
8314 lt_prog_compiler_wl='-Wl,'
8315 lt_prog_compiler_pic='-KPIC'
8316 lt_prog_compiler_static='-static'
8318 # icc used to be incompatible with GCC.
8319 # ICC 10 doesn't accept -KPIC any more.
8321 lt_prog_compiler_wl='-Wl,'
8322 lt_prog_compiler_pic='-fPIC'
8323 lt_prog_compiler_static='-static'
8325 # Lahey Fortran 8.1.
8327 lt_prog_compiler_wl='-Wl,'
8328 lt_prog_compiler_pic='--shared'
8329 lt_prog_compiler_static='--static'
8331 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8332 # Portland Group compilers (*not* the Pentium gcc compiler,
8333 # which looks to be a dead project)
8334 lt_prog_compiler_wl='-Wl,'
8335 lt_prog_compiler_pic='-fpic'
8336 lt_prog_compiler_static='-Bstatic'
8339 lt_prog_compiler_wl='-Wl,'
8340 # All Alpha code is PIC.
8341 lt_prog_compiler_static='-non_shared'
8343 xl* | bgxl* | bgf* | mpixl*)
8344 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8345 lt_prog_compiler_wl='-Wl,'
8346 lt_prog_compiler_pic='-qpic'
8347 lt_prog_compiler_static='-qstaticlink'
8350 case `$CC -V 2>&1 | sed 5q` in
8351 *Sun\ F* | *Sun*Fortran*)
8352 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8353 lt_prog_compiler_pic='-KPIC'
8354 lt_prog_compiler_static='-Bstatic'
8355 lt_prog_compiler_wl=''
8359 lt_prog_compiler_pic='-KPIC'
8360 lt_prog_compiler_static='-Bstatic'
8361 lt_prog_compiler_wl='-Wl,'
8369 lt_prog_compiler_pic='-KPIC'
8370 lt_prog_compiler_static='-Bstatic'
8374 # QNX uses GNU C++, but need to define -shared option too, otherwise
8376 lt_prog_compiler_pic='-fPIC -shared'
8379 osf3* | osf4* | osf5*)
8380 lt_prog_compiler_wl='-Wl,'
8381 # All OSF/1 code is PIC.
8382 lt_prog_compiler_static='-non_shared'
8386 lt_prog_compiler_static='-non_shared'
8390 lt_prog_compiler_pic='-KPIC'
8391 lt_prog_compiler_static='-Bstatic'
8392 case $cc_basename in
8394 lt_prog_compiler_wl='-Qoption ld ';;
8396 lt_prog_compiler_wl='-Wl,';;
8401 lt_prog_compiler_wl='-Qoption ld '
8402 lt_prog_compiler_pic='-PIC'
8403 lt_prog_compiler_static='-Bstatic'
8406 sysv4 | sysv4.2uw2* | sysv4.3*)
8407 lt_prog_compiler_wl='-Wl,'
8408 lt_prog_compiler_pic='-KPIC'
8409 lt_prog_compiler_static='-Bstatic'
8413 if test -d /usr/nec ;then
8414 lt_prog_compiler_pic='-Kconform_pic'
8415 lt_prog_compiler_static='-Bstatic'
8419 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8420 lt_prog_compiler_wl='-Wl,'
8421 lt_prog_compiler_pic='-KPIC'
8422 lt_prog_compiler_static='-Bstatic'
8426 lt_prog_compiler_wl='-Wl,'
8427 lt_prog_compiler_can_build_shared=no
8431 lt_prog_compiler_pic='-pic'
8432 lt_prog_compiler_static='-Bstatic'
8436 lt_prog_compiler_can_build_shared=no
8442 # For platforms which do not support PIC, -DPIC is meaningless:
8444 lt_prog_compiler_pic=
8447 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8451 $as_echo "$lt_prog_compiler_pic" >&6; }
8459 # Check to make sure the PIC flag actually works.
8461 if test -n "$lt_prog_compiler_pic"; then
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8463 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8464 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8465 $as_echo_n "(cached
) " >&6
8467 lt_cv_prog_compiler_pic_works=no
8468 ac_outfile=conftest.$ac_objext
8469 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8470 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8471 # Insert the option either (1) after the last *FLAGS variable, or
8472 # (2) before a word containing "conftest.
", or (3) at the end.
8473 # Note that $ac_compile itself does not contain backslashes and begins
8474 # with a dollar sign (not a hyphen), so the echo should work correctly.
8475 # The option is referenced via a variable to avoid confusing sed.
8476 lt_compile=`echo "$ac_compile" | $SED \
8477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8479 -e 's:$: $lt_compiler_flag:'`
8480 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8481 (eval "$lt_compile" 2>conftest.err)
8483 cat conftest.err >&5
8484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8485 if (exit $ac_status) && test -s "$ac_outfile"; then
8486 # The compiler can only warn and ignore the option if not recognized
8487 # So say no if there are warnings other than the usual output.
8488 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8490 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8491 lt_cv_prog_compiler_pic_works=yes
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8498 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8500 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8501 case $lt_prog_compiler_pic in
8503 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8506 lt_prog_compiler_pic=
8507 lt_prog_compiler_can_build_shared=no
8518 # Check to make sure the static flag actually works.
8520 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8522 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8523 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8524 $as_echo_n "(cached
) " >&6
8526 lt_cv_prog_compiler_static_works=no
8527 save_LDFLAGS="$LDFLAGS"
8528 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8529 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8530 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8531 # The linker can only warn and ignore the option if not recognized
8532 # So say no if there are warnings
8533 if test -s conftest.err; then
8534 # Append any errors to the config.log.
8535 cat conftest.err 1>&5
8536 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8537 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8538 if diff conftest.exp conftest.er2 >/dev/null; then
8539 lt_cv_prog_compiler_static_works=yes
8542 lt_cv_prog_compiler_static_works=yes
8546 LDFLAGS="$save_LDFLAGS"
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8550 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8552 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8555 lt_prog_compiler_static=
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8565 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8566 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8567 $as_echo_n "(cached
) " >&6
8569 lt_cv_prog_compiler_c_o=no
8570 $RM -r conftest 2>/dev/null
8574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8576 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8577 # Insert the option either (1) after the last *FLAGS variable, or
8578 # (2) before a word containing "conftest.
", or (3) at the end.
8579 # Note that $ac_compile itself does not contain backslashes and begins
8580 # with a dollar sign (not a hyphen), so the echo should work correctly.
8581 lt_compile=`echo "$ac_compile" | $SED \
8582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8584 -e 's:$: $lt_compiler_flag:'`
8585 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8586 (eval "$lt_compile" 2>out/conftest.err)
8588 cat out/conftest.err >&5
8589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8590 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8592 # The compiler can only warn and ignore the option if not recognized
8593 # So say no if there are warnings
8594 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8595 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8596 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8597 lt_cv_prog_compiler_c_o=yes
8602 # SGI C++ compiler will create directory out/ii_files/ for
8603 # template instantiation
8604 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8605 $RM out/* && rmdir out
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8612 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8620 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8621 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8622 $as_echo_n "(cached
) " >&6
8624 lt_cv_prog_compiler_c_o=no
8625 $RM -r conftest 2>/dev/null
8629 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8631 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8632 # Insert the option either (1) after the last *FLAGS variable, or
8633 # (2) before a word containing "conftest.
", or (3) at the end.
8634 # Note that $ac_compile itself does not contain backslashes and begins
8635 # with a dollar sign (not a hyphen), so the echo should work correctly.
8636 lt_compile=`echo "$ac_compile" | $SED \
8637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8639 -e 's:$: $lt_compiler_flag:'`
8640 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8641 (eval "$lt_compile" 2>out/conftest.err)
8643 cat out/conftest.err >&5
8644 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8645 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8647 # The compiler can only warn and ignore the option if not recognized
8648 # So say no if there are warnings
8649 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8650 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8651 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8652 lt_cv_prog_compiler_c_o=yes
8657 # SGI C++ compiler will create directory out/ii_files/ for
8658 # template instantiation
8659 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8660 $RM out/* && rmdir out
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8667 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8672 hard_links="nottested
"
8673 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8674 # do not overwrite the value of need_locks provided by the user
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8676 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8679 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8681 ln conftest.a conftest.b 2>&5 || hard_links=no
8682 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8684 $as_echo "$hard_links" >&6; }
8685 if test "$hard_links" = no; then
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8687 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8700 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8703 allow_undefined_flag=
8704 always_export_symbols=no
8706 archive_expsym_cmds=
8707 compiler_needs_object=no
8708 enable_shared_with_static_runtimes=no
8709 export_dynamic_flag_spec=
8710 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8711 hardcode_automatic=no
8713 hardcode_direct_absolute=no
8714 hardcode_libdir_flag_spec=
8715 hardcode_libdir_flag_spec_ld=
8716 hardcode_libdir_separator=
8718 hardcode_shlibpath_var=unsupported
8720 link_all_deplibs=unknown
8723 old_archive_from_new_cmds=
8724 old_archive_from_expsyms_cmds=
8725 thread_safe_flag_spec=
8726 whole_archive_flag_spec=
8727 # include_expsyms should be a list of space-separated symbols to be *always*
8728 # included in the symbol list
8730 # exclude_expsyms can be an extended regexp of symbols to exclude
8731 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8732 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8733 # as well as any symbol that contains `d'.
8734 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8735 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8736 # platforms (ab)use it in PIC code, but their linkers get confused if
8737 # the symbol is explicitly referenced. Since portable code cannot
8738 # rely on this symbol name, it's probably fine to never include it in
8739 # preloaded symbol tables.
8740 # Exclude shared library initialization/finalization symbols.
8741 extract_expsyms_cmds=
8744 cygwin* | mingw* | pw32* | cegcc*)
8745 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8746 # When not using gcc, we currently assume that we are using
8747 # Microsoft Visual C++.
8748 if test "$GCC" != yes; then
8753 # we just hope/assume this is gcc and not c89 (= MSVC++)
8763 # On some targets, GNU ld is compatible enough with the native linker
8764 # that we're better off using the native interface for both.
8765 lt_use_gnu_ld_interface=no
8766 if test "$with_gnu_ld" = yes; then
8769 # The AIX port of GNU ld has always aspired to compatibility
8770 # with the native linker. However, as the warning in the GNU ld
8771 # block says, versions before 2.19.5* couldn't really create working
8772 # shared libraries, regardless of the interface used.
8773 case `$LD -v 2>&1` in
8774 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8775 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8776 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8778 lt_use_gnu_ld_interface=yes
8783 lt_use_gnu_ld_interface=yes
8788 if test "$lt_use_gnu_ld_interface" = yes; then
8789 # If archive_cmds runs LD, not CC, wlarc should be empty
8792 # Set some defaults for GNU ld with shared library support. These
8793 # are reset later if shared libraries are not supported. Putting them
8794 # here allows them to be overridden if necessary.
8795 runpath_var=LD_RUN_PATH
8796 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8797 export_dynamic_flag_spec='${wl}--export-dynamic'
8798 # ancient GNU ld didn't support --whole-archive et. al.
8799 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8800 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8802 whole_archive_flag_spec=
8804 supports_anon_versioning=no
8805 case `$LD -v 2>&1` in
8806 *GNU\ gold*) supports_anon_versioning=yes ;;
8807 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8808 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8809 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8810 *\ 2.11.*) ;; # other 2.11 versions
8811 *) supports_anon_versioning=yes ;;
8814 # See if GNU ld supports shared libraries.
8817 # On AIX/PPC, the GNU linker is very broken
8818 if test "$host_cpu" != ia64; then
8822 *** Warning: the GNU linker, at least up to release 2.19, is reported
8823 *** to be unable to reliably create shared libraries on AIX.
8824 *** Therefore, libtool is disabling shared libraries support. If you
8825 *** really care for shared libraries, you may want to install binutils
8826 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8827 *** You will then need to restart the configuration process.
8836 # see comment about AmigaOS4 .so support
8837 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8838 archive_expsym_cmds=''
8841 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)'
8842 hardcode_libdir_flag_spec
='-L$libdir'
8843 hardcode_minus_L
=yes
8849 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8850 allow_undefined_flag
=unsupported
8851 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8852 # support --undefined. This deserves some investigation. FIXME
8853 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8859 cygwin
* | mingw
* | pw32
* | cegcc
*)
8860 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8861 # as there is no search path for DLLs.
8862 hardcode_libdir_flag_spec
='-L$libdir'
8863 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8864 allow_undefined_flag
=unsupported
8865 always_export_symbols
=no
8866 enable_shared_with_static_runtimes
=yes
8867 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8869 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8870 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8871 # If the export-symbols file already is a .def file (1st line
8872 # is EXPORTS), use it as is; otherwise, prepend...
8873 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8874 cp $export_symbols $output_objdir/$soname.def;
8876 echo EXPORTS > $output_objdir/$soname.def;
8877 cat $export_symbols >> $output_objdir/$soname.def;
8879 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8886 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8887 link_all_deplibs
=yes
8892 hardcode_shlibpath_var
=no
8893 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8894 export_dynamic_flag_spec
='${wl}-E'
8895 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8896 # Instead, shared libraries are loaded at an image base (0x10000000 by
8897 # default) and relocated if they conflict, which is a slow very memory
8898 # consuming and fragmenting process. To avoid this, we pick a random,
8899 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8900 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8901 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8902 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8905 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8907 if test "$host_os" = linux-dietlibc
; then
8908 case $cc_basename in
8909 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8912 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8913 && test "$tmp_diet" = no
8916 tmp_sharedflag
='-shared'
8917 case $cc_basename,$host_cpu in
8918 pgcc
*) # Portland Group C compiler
8919 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8920 tmp_addflag
=' $pic_flag'
8922 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8923 # Portland Group f77 and f90 compilers
8924 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8925 tmp_addflag
=' $pic_flag -Mnomain' ;;
8926 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8927 tmp_addflag
=' -i_dynamic' ;;
8928 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8929 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8930 ifc
* | ifort
*) # Intel Fortran compiler
8931 tmp_addflag
=' -nofor_main' ;;
8932 lf95
*) # Lahey Fortran 8.1
8933 whole_archive_flag_spec
=
8934 tmp_sharedflag
='--shared' ;;
8935 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8936 tmp_sharedflag
='-qmkshrobj'
8938 nvcc
*) # Cuda Compiler Driver 2.2
8939 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8940 compiler_needs_object
=yes
8943 case `$CC -V 2>&1 | sed 5q` in
8944 *Sun\ C
*) # Sun C 5.9
8945 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8946 compiler_needs_object
=yes
8947 tmp_sharedflag
='-G' ;;
8948 *Sun\ F
*) # Sun Fortran 8.3
8949 tmp_sharedflag
='-G' ;;
8951 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8953 if test "x$supports_anon_versioning" = xyes
; then
8954 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8955 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8956 echo "local: *; };" >> $output_objdir/$libname.ver~
8957 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8960 case $cc_basename in
8961 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8962 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8963 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8964 hardcode_libdir_flag_spec
=
8965 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8966 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8967 if test "x$supports_anon_versioning" = xyes
; then
8968 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8969 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8970 echo "local: *; };" >> $output_objdir/$libname.ver~
8971 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8981 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8982 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8985 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8986 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8991 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8995 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8996 *** create shared libraries on Solaris systems. Therefore, libtool
8997 *** is disabling shared libraries support. We urge you to upgrade GNU
8998 *** binutils to release 2.9.1 or newer. Another option is to modify
8999 *** your PATH or compiler configuration so that the native linker is
9000 *** used, and then restart.
9003 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9004 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9005 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9011 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9012 case `$LD -v 2>&1` in
9013 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9017 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9018 *** reliably create shared libraries on SCO systems. Therefore, libtool
9019 *** is disabling shared libraries support. We urge you to upgrade GNU
9020 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9021 *** your PATH or compiler configuration so that the native linker is
9022 *** used, and then restart.
9027 # For security reasons, it is highly recommended that you always
9028 # use absolute paths for naming shared libraries, and exclude the
9029 # DT_RUNPATH tag from executables and libraries. But doing so
9030 # requires that you compile everything twice, which is a pain.
9031 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9032 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9033 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9034 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9043 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9046 hardcode_shlibpath_var
=no
9050 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9051 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9052 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9059 if test "$ld_shlibs" = no
; then
9061 hardcode_libdir_flag_spec
=
9062 export_dynamic_flag_spec
=
9063 whole_archive_flag_spec
=
9066 # PORTME fill in a description of your system's linker (not GNU ld)
9069 allow_undefined_flag
=unsupported
9070 always_export_symbols
=yes
9071 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'
9072 # Note: this linker hardcodes the directories in LIBPATH if there
9073 # are no directories specified by -L.
9074 hardcode_minus_L
=yes
9075 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9076 # Neither direct hardcoding nor static linking is supported with a
9078 hardcode_direct
=unsupported
9083 if test "$host_cpu" = ia64
; then
9084 # On IA64, the linker does run time linking by default, so we don't
9085 # have to do anything special.
9086 aix_use_runtimelinking
=no
9087 exp_sym_flag
='-Bexport'
9090 # If we're using GNU nm, then we don't want the "-C" option.
9091 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9092 # Also, AIX nm treats weak defined symbols like other global
9093 # defined symbols, whereas GNU nm marks them as "W".
9094 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9095 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9097 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'
9099 aix_use_runtimelinking
=no
9101 # Test if we are trying to use run time linking or normal
9102 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9103 # need to do runtime linking.
9104 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9105 for ld_flag
in $LDFLAGS; do
9106 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9107 aix_use_runtimelinking
=yes
9114 exp_sym_flag
='-bexport'
9115 no_entry_flag
='-bnoentry'
9118 # When large executables or shared objects are built, AIX ld can
9119 # have problems creating the table of contents. If linking a library
9120 # or program results in "error TOC overflow" add -mminimal-toc to
9121 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9122 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9126 hardcode_direct_absolute
=yes
9127 hardcode_libdir_separator
=':'
9128 link_all_deplibs
=yes
9129 file_list_spec
='${wl}-f,'
9131 if test "$GCC" = yes; then
9132 case $host_os in aix4.
[012]|aix4.
[012].
*)
9133 # We only want to do this on AIX 4.2 and lower, the check
9134 # below for broken collect2 doesn't work under 4.3+
9135 collect2name
=`${CC} -print-prog-name=collect2`
9136 if test -f "$collect2name" &&
9137 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9139 # We have reworked collect2
9142 # We have old collect2
9143 hardcode_direct
=unsupported
9144 # It fails to find uninstalled libraries when the uninstalled
9145 # path is not listed in the libpath. Setting hardcode_minus_L
9146 # to unsupported forces relinking
9147 hardcode_minus_L
=yes
9148 hardcode_libdir_flag_spec
='-L$libdir'
9149 hardcode_libdir_separator
=
9153 shared_flag
='-shared'
9154 if test "$aix_use_runtimelinking" = yes; then
9155 shared_flag
="$shared_flag "'${wl}-G'
9159 if test "$host_cpu" = ia64
; then
9160 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9161 # chokes on -Wl,-G. The following line is correct:
9164 if test "$aix_use_runtimelinking" = yes; then
9165 shared_flag
='${wl}-G'
9167 shared_flag
='${wl}-bM:SRE'
9172 export_dynamic_flag_spec
='${wl}-bexpall'
9173 # It seems that -bexpall does not export symbols beginning with
9174 # underscore (_), so it is better to generate a list of symbols to export.
9175 always_export_symbols
=yes
9176 if test "$aix_use_runtimelinking" = yes; then
9177 # Warning - without using the other runtime loading flags (-brtl),
9178 # -berok will link without error, but may produce a broken library.
9179 allow_undefined_flag
='-berok'
9180 # Determine the default libpath from the value encoded in an
9182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9183 /* end confdefs.h. */
9193 if ac_fn_c_try_link
"$LINENO"; then :
9195 lt_aix_libpath_sed
='
9196 /Import File Strings/,/^$/ {
9202 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9203 # Check for a 64-bit object if we didn't find anything.
9204 if test -z "$aix_libpath"; then
9205 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9208 rm -f core conftest.err conftest.
$ac_objext \
9209 conftest
$ac_exeext conftest.
$ac_ext
9210 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9212 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9213 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9215 if test "$host_cpu" = ia64
; then
9216 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9217 allow_undefined_flag
="-z nodefs"
9218 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9220 # Determine the default libpath from the value encoded in an
9222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9223 /* end confdefs.h. */
9233 if ac_fn_c_try_link
"$LINENO"; then :
9235 lt_aix_libpath_sed
='
9236 /Import File Strings/,/^$/ {
9242 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9243 # Check for a 64-bit object if we didn't find anything.
9244 if test -z "$aix_libpath"; then
9245 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9248 rm -f core conftest.err conftest.
$ac_objext \
9249 conftest
$ac_exeext conftest.
$ac_ext
9250 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9252 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9253 # Warning - without using the other run time loading flags,
9254 # -berok will link without error, but may produce a broken library.
9255 no_undefined_flag
=' ${wl}-bernotok'
9256 allow_undefined_flag
=' ${wl}-berok'
9257 if test "$with_gnu_ld" = yes; then
9258 # We only use this code for GNU lds that support --whole-archive.
9259 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9261 # Exported symbols can be pulled into shared objects from archives
9262 whole_archive_flag_spec
='$convenience'
9264 archive_cmds_need_lc
=yes
9265 # This is similar to how AIX traditionally builds its shared libraries.
9266 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9274 # see comment about AmigaOS4 .so support
9275 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9276 archive_expsym_cmds
=''
9279 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)'
9280 hardcode_libdir_flag_spec
='-L$libdir'
9281 hardcode_minus_L
=yes
9287 export_dynamic_flag_spec
=-rdynamic
9290 cygwin
* | mingw
* | pw32
* | cegcc
*)
9291 # When not using gcc, we currently assume that we are using
9292 # Microsoft Visual C++.
9293 # hardcode_libdir_flag_spec is actually meaningless, as there is
9294 # no search path for DLLs.
9295 hardcode_libdir_flag_spec
=' '
9296 allow_undefined_flag
=unsupported
9297 # Tell ltmain to make .lib files, not .a files.
9299 # Tell ltmain to make .dll files, not .so files.
9301 # FIXME: Setting linknames here is a bad hack.
9302 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9303 # The linker will automatically build a .lib file if we build a DLL.
9304 old_archive_from_new_cmds
='true'
9305 # FIXME: Should let the user specify the lib program.
9306 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9307 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9308 enable_shared_with_static_runtimes
=yes
9311 darwin
* | rhapsody
*)
9314 archive_cmds_need_lc
=no
9316 hardcode_automatic
=yes
9317 hardcode_shlibpath_var
=unsupported
9318 if test "$lt_cv_ld_force_load" = "yes"; then
9319 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9321 whole_archive_flag_spec
=''
9323 link_all_deplibs
=yes
9324 allow_undefined_flag
="$_lt_dar_allow_undefined"
9325 case $cc_basename in
9326 ifort
*) _lt_dar_can_shared
=yes ;;
9327 *) _lt_dar_can_shared
=$GCC ;;
9329 if test "$_lt_dar_can_shared" = "yes"; then
9330 output_verbose_link_cmd
=func_echo_all
9331 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9332 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9333 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9334 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9343 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9344 hardcode_libdir_flag_spec
='-L$libdir'
9345 hardcode_shlibpath_var
=no
9348 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9349 # support. Future versions do this automatically, but an explicit c++rt0.o
9350 # does not break anything, and helps significantly (at the cost of a little
9353 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9354 hardcode_libdir_flag_spec
='-R$libdir'
9356 hardcode_shlibpath_var
=no
9359 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9361 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9363 hardcode_minus_L
=yes
9364 hardcode_shlibpath_var
=no
9367 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9368 freebsd
* | dragonfly
*)
9369 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9370 hardcode_libdir_flag_spec
='-R$libdir'
9372 hardcode_shlibpath_var
=no
9376 if test "$GCC" = yes; then
9377 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'
9379 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'
9381 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9382 hardcode_libdir_separator
=:
9385 # hardcode_minus_L: Not really in the search PATH,
9386 # but as the default location of the library.
9387 hardcode_minus_L
=yes
9388 export_dynamic_flag_spec
='${wl}-E'
9392 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9393 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9395 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9397 if test "$with_gnu_ld" = no
; then
9398 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9399 hardcode_libdir_flag_spec_ld
='+b $libdir'
9400 hardcode_libdir_separator
=:
9402 hardcode_direct_absolute
=yes
9403 export_dynamic_flag_spec
='${wl}-E'
9404 # hardcode_minus_L: Not really in the search PATH,
9405 # but as the default location of the library.
9406 hardcode_minus_L
=yes
9411 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9414 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9417 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9420 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9426 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9429 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9433 # Older versions of the 11.00 compiler do not understand -b yet
9434 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9436 $as_echo_n "checking if $CC understands -b... " >&6; }
9437 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9438 $as_echo_n "(cached) " >&6
9440 lt_cv_prog_compiler__b
=no
9441 save_LDFLAGS
="$LDFLAGS"
9442 LDFLAGS
="$LDFLAGS -b"
9443 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9444 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9445 # The linker can only warn and ignore the option if not recognized
9446 # So say no if there are warnings
9447 if test -s conftest.err
; then
9448 # Append any errors to the config.log.
9449 cat conftest.err
1>&5
9450 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9451 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9452 if diff conftest.exp conftest.er2
>/dev
/null
; then
9453 lt_cv_prog_compiler__b
=yes
9456 lt_cv_prog_compiler__b
=yes
9460 LDFLAGS
="$save_LDFLAGS"
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9464 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9466 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9467 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9469 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9475 if test "$with_gnu_ld" = no
; then
9476 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9477 hardcode_libdir_separator
=:
9482 hardcode_shlibpath_var
=no
9486 hardcode_direct_absolute
=yes
9487 export_dynamic_flag_spec
='${wl}-E'
9489 # hardcode_minus_L: Not really in the search PATH,
9490 # but as the default location of the library.
9491 hardcode_minus_L
=yes
9497 irix5
* | irix6
* | nonstopux
*)
9498 if test "$GCC" = yes; then
9499 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9500 # Try to use the -exported_symbol ld option, if it does not
9501 # work, assume that -exports_file does not work either and
9502 # implicitly export all symbols.
9503 save_LDFLAGS
="$LDFLAGS"
9504 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9506 /* end confdefs.h. */
9509 if ac_fn_c_try_link
"$LINENO"; then :
9510 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9513 rm -f core conftest.err conftest.
$ac_objext \
9514 conftest
$ac_exeext conftest.
$ac_ext
9515 LDFLAGS
="$save_LDFLAGS"
9517 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9518 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9520 archive_cmds_need_lc
='no'
9521 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9522 hardcode_libdir_separator
=:
9524 link_all_deplibs
=yes
9528 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9529 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9531 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9533 hardcode_libdir_flag_spec
='-R$libdir'
9535 hardcode_shlibpath_var
=no
9539 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9541 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9542 hardcode_libdir_separator
=:
9543 hardcode_shlibpath_var
=no
9550 if test -f /usr
/libexec
/ld.so
; then
9552 hardcode_shlibpath_var
=no
9553 hardcode_direct_absolute
=yes
9554 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9555 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9556 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9557 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9558 export_dynamic_flag_spec
='${wl}-E'
9561 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9562 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9563 hardcode_libdir_flag_spec
='-R$libdir'
9566 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9567 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9577 hardcode_libdir_flag_spec
='-L$libdir'
9578 hardcode_minus_L
=yes
9579 allow_undefined_flag
=unsupported
9580 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'
9581 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9585 if test "$GCC" = yes; then
9586 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9587 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9589 allow_undefined_flag
=' -expect_unresolved \*'
9590 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9592 archive_cmds_need_lc
='no'
9593 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9594 hardcode_libdir_separator
=:
9597 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9598 if test "$GCC" = yes; then
9599 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9600 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9601 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9603 allow_undefined_flag
=' -expect_unresolved \*'
9604 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9605 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9606 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9608 # Both c and cxx compiler support -rpath directly
9609 hardcode_libdir_flag_spec
='-rpath $libdir'
9611 archive_cmds_need_lc
='no'
9612 hardcode_libdir_separator
=:
9616 no_undefined_flag
=' -z defs'
9617 if test "$GCC" = yes; then
9619 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9620 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9621 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9623 case `$CC -V 2>&1` in
9626 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9627 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9628 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9632 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9633 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9634 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9638 hardcode_libdir_flag_spec
='-R$libdir'
9639 hardcode_shlibpath_var
=no
9641 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9643 # The compiler driver will combine and reorder linker options,
9644 # but understands `-z linker_flag'. GCC discards it without `$wl',
9645 # but is careful enough not to reorder.
9646 # Supported since Solaris 2.6 (maybe 2.5.1?)
9647 if test "$GCC" = yes; then
9648 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9650 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9654 link_all_deplibs
=yes
9658 if test "x$host_vendor" = xsequent
; then
9659 # Use $CC to link under sequent, because it throws in some extra .o
9660 # files that make .init and .fini sections work.
9661 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9663 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9665 hardcode_libdir_flag_spec
='-L$libdir'
9667 hardcode_minus_L
=yes
9668 hardcode_shlibpath_var
=no
9672 case $host_vendor in
9674 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9675 hardcode_direct
=yes # is this really true???
9678 ## LD is ld it makes a PLAMLIB
9679 ## CC just makes a GrossModule.
9680 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9681 reload_cmds
='$CC -r -o $output$reload_objs'
9685 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9686 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9689 runpath_var
='LD_RUN_PATH'
9690 hardcode_shlibpath_var
=no
9694 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9695 hardcode_shlibpath_var
=no
9696 export_dynamic_flag_spec
='-Bexport'
9700 if test -d /usr
/nec
; then
9701 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9702 hardcode_shlibpath_var
=no
9703 runpath_var
=LD_RUN_PATH
9704 hardcode_runpath_var
=yes
9709 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9710 no_undefined_flag
='${wl}-z,text'
9711 archive_cmds_need_lc
=no
9712 hardcode_shlibpath_var
=no
9713 runpath_var
='LD_RUN_PATH'
9715 if test "$GCC" = yes; then
9716 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9717 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9719 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9720 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9724 sysv5
* | sco3.2v5
* | sco5v6
*)
9725 # Note: We can NOT use -z defs as we might desire, because we do not
9726 # link with -lc, and that would cause any symbols used from libc to
9727 # always be unresolved, which means just about no library would
9728 # ever link correctly. If we're not using GNU ld we use -z text
9729 # though, which does catch some bad symbols but isn't as heavy-handed
9731 no_undefined_flag
='${wl}-z,text'
9732 allow_undefined_flag
='${wl}-z,nodefs'
9733 archive_cmds_need_lc
=no
9734 hardcode_shlibpath_var
=no
9735 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9736 hardcode_libdir_separator
=':'
9737 link_all_deplibs
=yes
9738 export_dynamic_flag_spec
='${wl}-Bexport'
9739 runpath_var
='LD_RUN_PATH'
9741 if test "$GCC" = yes; then
9742 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9743 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9745 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9746 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9751 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9752 hardcode_libdir_flag_spec
='-L$libdir'
9753 hardcode_shlibpath_var
=no
9761 if test x
$host_vendor = xsni
; then
9763 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9764 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9771 $as_echo "$ld_shlibs" >&6; }
9772 test "$ld_shlibs" = no
&& can_build_shared
=no
9774 with_gnu_ld
=$with_gnu_ld
9791 # Do we need to explicitly link libc?
9793 case "x$archive_cmds_need_lc" in
9795 # Assume -lc should be added
9796 archive_cmds_need_lc
=yes
9798 if test "$enable_shared" = yes && test "$GCC" = yes; then
9799 case $archive_cmds in
9801 # FIXME: we may have to deal with multi-command sequences.
9804 # Test whether the compiler implicitly links with -lc since on some
9805 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9806 # to ld, don't add -lc before -lgcc.
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9808 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9809 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9810 $as_echo_n "(cached) " >&6
9813 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9815 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9816 (eval $ac_compile) 2>&5
9818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9819 test $ac_status = 0; } 2>conftest.err
; then
9822 libobjs
=conftest.
$ac_objext
9824 wl
=$lt_prog_compiler_wl
9825 pic_flag
=$lt_prog_compiler_pic
9831 lt_save_allow_undefined_flag
=$allow_undefined_flag
9832 allow_undefined_flag
=
9833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9834 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9837 test $ac_status = 0; }
9839 lt_cv_archive_cmds_need_lc
=no
9841 lt_cv_archive_cmds_need_lc
=yes
9843 allow_undefined_flag
=$lt_save_allow_undefined_flag
9845 cat conftest.err
1>&5
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9851 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9852 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10016 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10018 if test "$GCC" = yes; then
10020 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10021 *) lt_awk_arg
="/^libraries:/" ;;
10024 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10025 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10027 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10028 case $lt_search_path_spec in
10030 # if the path contains ";" then we assume it to be the separator
10031 # otherwise default to the standard path separator (i.e. ":") - it is
10032 # assumed that no part of a normal pathname contains ";" but that should
10033 # okay in the real world where ";" in dirpaths is itself problematic.
10034 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10037 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10040 # Ok, now we have the path, separated by spaces, we can step through it
10041 # and add multilib dir if necessary.
10042 lt_tmp_lt_search_path_spec
=
10043 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10044 for lt_sys_path
in $lt_search_path_spec; do
10045 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10046 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10048 test -d "$lt_sys_path" && \
10049 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10052 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10053 BEGIN {RS=" "; FS="/|\n";} {
10056 for (lt_i = NF; lt_i > 0; lt_i--) {
10057 if ($lt_i != "" && $lt_i != ".") {
10058 if ($lt_i == "..") {
10061 if (lt_count == 0) {
10062 lt_foo="/" $lt_i lt_foo;
10069 if (lt_foo != "") { lt_freq[lt_foo]++; }
10070 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10072 # AWK program above erroneously prepends '/' to C:/dos/paths
10075 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10076 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10078 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10080 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10082 library_names_spec
=
10083 libname_spec
='lib$name'
10087 postuninstall_cmds
=
10091 shlibpath_overrides_runpath
=unknown
10093 dynamic_linker
="$host_os ld.so"
10094 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10095 need_lib_prefix
=unknown
10096 hardcode_into_libs
=no
10098 # when you set need_version to no, make sure it does not cause -set_version
10099 # flags to be left without arguments
10100 need_version
=unknown
10105 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10106 shlibpath_var
=LIBPATH
10108 # AIX 3 has no versioning support, so we append a major version to the name.
10109 soname_spec
='${libname}${release}${shared_ext}$major'
10116 hardcode_into_libs
=yes
10117 if test "$host_cpu" = ia64
; then
10118 # AIX 5 supports IA64
10119 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10120 shlibpath_var
=LD_LIBRARY_PATH
10122 # With GCC up to 2.95.x, collect2 would create an import file
10123 # for dependence libraries. The import file would start with
10124 # the line `#! .'. This would cause the generated library to
10125 # depend on `.', always an invalid library. This was fixed in
10126 # development snapshots of GCC prior to 3.0.
10128 aix4 | aix4.
[01] | aix4.
[01].
*)
10129 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10131 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10134 can_build_shared
=no
10138 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10139 # soname into executable. Probably we can add versioning support to
10140 # collect2, so additional links can be useful in future.
10141 if test "$aix_use_runtimelinking" = yes; then
10142 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10143 # instead of lib<name>.a to let people know that these are not
10144 # typical AIX shared libraries.
10145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10147 # We preserve .a as extension for shared libraries through AIX4.2
10148 # and later when we are not doing run time linking.
10149 library_names_spec
='${libname}${release}.a $libname.a'
10150 soname_spec
='${libname}${release}${shared_ext}$major'
10152 shlibpath_var
=LIBPATH
10159 # Since July 2007 AmigaOS4 officially supports .so libraries.
10160 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10164 library_names_spec
='$libname.ixlibrary $libname.a'
10165 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10166 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10172 library_names_spec
='${libname}${shared_ext}'
10173 dynamic_linker
="$host_os ld.so"
10174 shlibpath_var
=LIBRARY_PATH
10180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10181 soname_spec
='${libname}${release}${shared_ext}$major'
10182 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10183 shlibpath_var
=LD_LIBRARY_PATH
10184 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10185 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10186 # the default ld.so.conf also contains /usr/contrib/lib and
10187 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10188 # libtool to hard-code these into programs
10191 cygwin
* | mingw
* | pw32
* | cegcc
*)
10192 version_type
=windows
10197 case $GCC,$host_os in
10198 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10199 library_names_spec
='$libname.dll.a'
10200 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10201 postinstall_cmds
='base_file=`basename \${file}`~
10202 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10203 dldir=$destdir/`dirname \$dlpath`~
10204 test -d \$dldir || mkdir -p \$dldir~
10205 $install_prog $dir/$dlname \$dldir/$dlname~
10206 chmod a+x \$dldir/$dlname~
10207 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10208 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10210 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10211 dlpath=$dir/\$dldll~
10213 shlibpath_overrides_runpath
=yes
10217 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10218 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10220 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10223 # MinGW DLLs use traditional 'lib' prefix
10224 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10227 # pw32 DLLs use 'pw' prefix rather than 'lib'
10228 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10234 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10237 dynamic_linker
='Win32 ld.exe'
10238 # FIXME: first we should search . and the directory the executable is in
10242 darwin
* | rhapsody
*)
10243 dynamic_linker
="$host_os dyld"
10244 version_type
=darwin
10247 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10248 soname_spec
='${libname}${release}${major}$shared_ext'
10249 shlibpath_overrides_runpath
=yes
10250 shlibpath_var
=DYLD_LIBRARY_PATH
10251 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10253 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10254 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10262 soname_spec
='${libname}${release}${shared_ext}$major'
10263 shlibpath_var
=LD_LIBRARY_PATH
10266 freebsd
* | dragonfly
*)
10267 # DragonFly does not have aout. When/if they implement a new
10268 # versioning mechanism, adjust this.
10269 if test -x /usr
/bin
/objformat
; then
10270 objformat
=`/usr/bin/objformat`
10273 freebsd
[123]*) objformat
=aout
;;
10274 *) objformat
=elf
;;
10277 version_type
=freebsd-
$objformat
10278 case $version_type in
10280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10285 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10289 shlibpath_var
=LD_LIBRARY_PATH
10292 shlibpath_overrides_runpath
=yes
10294 freebsd3.
[01]* | freebsdelf3.
[01]*)
10295 shlibpath_overrides_runpath
=yes
10296 hardcode_into_libs
=yes
10298 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10299 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10300 shlibpath_overrides_runpath
=no
10301 hardcode_into_libs
=yes
10303 *) # from 4.6 on, and DragonFly
10304 shlibpath_overrides_runpath
=yes
10305 hardcode_into_libs
=yes
10314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10315 soname_spec
='${libname}${release}${shared_ext}$major'
10316 shlibpath_var
=LD_LIBRARY_PATH
10317 hardcode_into_libs
=yes
10324 dynamic_linker
="$host_os runtime_loader"
10325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10326 soname_spec
='${libname}${release}${shared_ext}$major'
10327 shlibpath_var
=LIBRARY_PATH
10328 shlibpath_overrides_runpath
=yes
10329 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10330 hardcode_into_libs
=yes
10333 hpux9
* | hpux10
* | hpux11
*)
10334 # Give a soname corresponding to the major version so that dld.sl refuses to
10335 # link against other versions.
10342 hardcode_into_libs
=yes
10343 dynamic_linker
="$host_os dld.so"
10344 shlibpath_var
=LD_LIBRARY_PATH
10345 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10347 soname_spec
='${libname}${release}${shared_ext}$major'
10348 if test "X$HPUX_IA64_MODE" = X32
; then
10349 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10351 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10353 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10357 hardcode_into_libs
=yes
10358 dynamic_linker
="$host_os dld.sl"
10359 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10360 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10362 soname_spec
='${libname}${release}${shared_ext}$major'
10363 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10364 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10368 dynamic_linker
="$host_os dld.sl"
10369 shlibpath_var
=SHLIB_PATH
10370 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10372 soname_spec
='${libname}${release}${shared_ext}$major'
10375 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10376 postinstall_cmds
='chmod 555 $lib'
10377 # or fails outright, so override atomically:
10378 install_override_mode
=555
10385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10386 soname_spec
='${libname}${release}${shared_ext}$major'
10387 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10388 shlibpath_var
=LD_LIBRARY_PATH
10389 shlibpath_overrides_runpath
=no
10390 hardcode_into_libs
=yes
10393 irix5
* | irix6
* | nonstopux
*)
10395 nonstopux
*) version_type
=nonstopux
;;
10397 if test "$lt_cv_prog_gnu_ld" = yes; then
10405 soname_spec
='${libname}${release}${shared_ext}$major'
10406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10408 irix5
* | nonstopux
*)
10409 libsuff
= shlibsuff
=
10412 case $LD in # libtool.m4 will add one of these switches to LD
10413 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10414 libsuff
= shlibsuff
= libmagic
=32-bit;;
10415 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10416 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10417 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10418 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10419 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10423 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10424 shlibpath_overrides_runpath
=no
10425 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10426 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10427 hardcode_into_libs
=yes
10430 # No shared lib support for Linux oldld, aout, or coff.
10431 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10435 # This must be Linux ELF.
10436 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10441 soname_spec
='${libname}${release}${shared_ext}$major'
10442 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10443 shlibpath_var
=LD_LIBRARY_PATH
10444 shlibpath_overrides_runpath
=no
10446 # Some binutils ld are patched to set DT_RUNPATH
10447 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10448 $as_echo_n "(cached) " >&6
10450 lt_cv_shlibpath_overrides_runpath
=no
10451 save_LDFLAGS
=$LDFLAGS
10452 save_libdir
=$libdir
10453 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10454 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10456 /* end confdefs.h. */
10466 if ac_fn_c_try_link
"$LINENO"; then :
10467 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10468 lt_cv_shlibpath_overrides_runpath
=yes
10471 rm -f core conftest.err conftest.
$ac_objext \
10472 conftest
$ac_exeext conftest.
$ac_ext
10473 LDFLAGS
=$save_LDFLAGS
10474 libdir
=$save_libdir
10478 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10480 # This implies no fast_install, which is unacceptable.
10481 # Some rework will be needed to allow for fast_install
10482 # before this can be enabled.
10483 hardcode_into_libs
=yes
10485 # Append ld.so.conf contents to the search path
10486 if test -f /etc
/ld.so.conf
; then
10487 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10488 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10491 # We used to test for /lib/ld.so.1 and disable shared libraries on
10492 # powerpc, because MkLinux only supported shared libraries with the
10493 # GNU dynamic linker. Since this was broken with cross compilers,
10494 # most powerpc-linux boxes support dynamic linking these days and
10495 # people can always --disable-shared, the test was removed, and we
10496 # assume the GNU/Linux dynamic linker is in use.
10497 dynamic_linker
='GNU/Linux ld.so'
10504 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10506 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10507 dynamic_linker
='NetBSD (a.out) ld.so'
10509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10510 soname_spec
='${libname}${release}${shared_ext}$major'
10511 dynamic_linker
='NetBSD ld.elf_so'
10513 shlibpath_var
=LD_LIBRARY_PATH
10514 shlibpath_overrides_runpath
=yes
10515 hardcode_into_libs
=yes
10520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10521 shlibpath_var
=LD_LIBRARY_PATH
10522 shlibpath_overrides_runpath
=yes
10529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530 soname_spec
='${libname}${release}${shared_ext}$major'
10531 shlibpath_var
=LD_LIBRARY_PATH
10532 shlibpath_overrides_runpath
=no
10533 hardcode_into_libs
=yes
10534 dynamic_linker
='ldqnx.so'
10539 sys_lib_dlsearch_path_spec
="/usr/lib"
10541 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10543 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10544 *) need_version
=no
;;
10546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10547 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10548 shlibpath_var
=LD_LIBRARY_PATH
10549 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10551 openbsd2.
[89] | openbsd2.
[89].
*)
10552 shlibpath_overrides_runpath
=no
10555 shlibpath_overrides_runpath
=yes
10559 shlibpath_overrides_runpath
=yes
10564 libname_spec
='$name'
10567 library_names_spec
='$libname${shared_ext} $libname.a'
10568 dynamic_linker
='OS/2 ld.exe'
10569 shlibpath_var
=LIBPATH
10572 osf3
* | osf4
* | osf5
*)
10576 soname_spec
='${libname}${release}${shared_ext}$major'
10577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10578 shlibpath_var
=LD_LIBRARY_PATH
10579 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10580 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592 soname_spec
='${libname}${release}${shared_ext}$major'
10593 shlibpath_var
=LD_LIBRARY_PATH
10594 shlibpath_overrides_runpath
=yes
10595 hardcode_into_libs
=yes
10596 # ldd complains unless libraries are executable
10597 postinstall_cmds
='chmod +x $lib'
10602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10603 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10604 shlibpath_var
=LD_LIBRARY_PATH
10605 shlibpath_overrides_runpath
=yes
10606 if test "$with_gnu_ld" = yes; then
10614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10615 soname_spec
='${libname}${release}${shared_ext}$major'
10616 shlibpath_var
=LD_LIBRARY_PATH
10617 case $host_vendor in
10619 shlibpath_overrides_runpath
=no
10621 runpath_var
=LD_RUN_PATH
10629 shlibpath_overrides_runpath
=no
10630 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10636 if test -d /usr
/nec
;then
10638 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10639 soname_spec
='$libname${shared_ext}.$major'
10640 shlibpath_var
=LD_LIBRARY_PATH
10644 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10645 version_type
=freebsd-elf
10648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10649 soname_spec
='${libname}${release}${shared_ext}$major'
10650 shlibpath_var
=LD_LIBRARY_PATH
10651 shlibpath_overrides_runpath
=yes
10652 hardcode_into_libs
=yes
10653 if test "$with_gnu_ld" = yes; then
10654 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10656 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10659 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10663 sys_lib_dlsearch_path_spec
='/usr/lib'
10667 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10671 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10672 shlibpath_var
=LD_LIBRARY_PATH
10673 shlibpath_overrides_runpath
=no
10674 hardcode_into_libs
=yes
10679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10680 soname_spec
='${libname}${release}${shared_ext}$major'
10681 shlibpath_var
=LD_LIBRARY_PATH
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10689 $as_echo "$dynamic_linker" >&6; }
10690 test "$dynamic_linker" = no
&& can_build_shared
=no
10692 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10693 if test "$GCC" = yes; then
10694 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10697 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10698 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10700 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10701 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10796 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10798 if test -n "$hardcode_libdir_flag_spec" ||
10799 test -n "$runpath_var" ||
10800 test "X$hardcode_automatic" = "Xyes" ; then
10802 # We can hardcode non-existent directories.
10803 if test "$hardcode_direct" != no
&&
10804 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10805 # have to relink, otherwise we might link with an installed library
10806 # when we should be linking with a yet-to-be-installed one
10807 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10808 test "$hardcode_minus_L" != no
; then
10809 # Linking always hardcodes the temporary library directory.
10810 hardcode_action
=relink
10812 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10813 hardcode_action
=immediate
10816 # We cannot hardcode anything, or else we can only hardcode existing
10818 hardcode_action
=unsupported
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10821 $as_echo "$hardcode_action" >&6; }
10823 if test "$hardcode_action" = relink ||
10824 test "$inherit_rpath" = yes; then
10825 # Fast installation is not supported
10826 enable_fast_install
=no
10827 elif test "$shlibpath_overrides_runpath" = yes ||
10828 test "$enable_shared" = no
; then
10829 # Fast installation is not necessary
10830 enable_fast_install
=needless
10838 if test "x$enable_dlopen" != xyes
; then
10839 enable_dlopen
=unknown
10840 enable_dlopen_self
=unknown
10841 enable_dlopen_self_static
=unknown
10848 lt_cv_dlopen
="load_add_on"
10850 lt_cv_dlopen_self
=yes
10853 mingw
* | pw32
* | cegcc
*)
10854 lt_cv_dlopen
="LoadLibrary"
10859 lt_cv_dlopen
="dlopen"
10864 # if libdl is installed we need to link against it
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10866 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10867 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10868 $as_echo_n "(cached) " >&6
10870 ac_check_lib_save_LIBS
=$LIBS
10872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10873 /* end confdefs.h. */
10875 /* Override any GCC internal prototype to avoid an error.
10876 Use char because int might match the return type of a GCC
10877 builtin and then its argument prototype would still apply. */
10890 if ac_fn_c_try_link
"$LINENO"; then :
10891 ac_cv_lib_dl_dlopen
=yes
10893 ac_cv_lib_dl_dlopen
=no
10895 rm -f core conftest.err conftest.
$ac_objext \
10896 conftest
$ac_exeext conftest.
$ac_ext
10897 LIBS
=$ac_check_lib_save_LIBS
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10900 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10901 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10902 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10905 lt_cv_dlopen
="dyld"
10907 lt_cv_dlopen_self
=yes
10914 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10915 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10916 lt_cv_dlopen
="shl_load"
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10919 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10920 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10921 $as_echo_n "(cached) " >&6
10923 ac_check_lib_save_LIBS
=$LIBS
10925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10928 /* Override any GCC internal prototype to avoid an error.
10929 Use char because int might match the return type of a GCC
10930 builtin and then its argument prototype would still apply. */
10938 return shl_load ();
10943 if ac_fn_c_try_link
"$LINENO"; then :
10944 ac_cv_lib_dld_shl_load
=yes
10946 ac_cv_lib_dld_shl_load
=no
10948 rm -f core conftest.err conftest.
$ac_objext \
10949 conftest
$ac_exeext conftest.
$ac_ext
10950 LIBS
=$ac_check_lib_save_LIBS
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10953 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10954 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10955 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10957 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10958 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10959 lt_cv_dlopen
="dlopen"
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10962 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10963 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10964 $as_echo_n "(cached) " >&6
10966 ac_check_lib_save_LIBS
=$LIBS
10968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10969 /* end confdefs.h. */
10971 /* Override any GCC internal prototype to avoid an error.
10972 Use char because int might match the return type of a GCC
10973 builtin and then its argument prototype would still apply. */
10986 if ac_fn_c_try_link
"$LINENO"; then :
10987 ac_cv_lib_dl_dlopen
=yes
10989 ac_cv_lib_dl_dlopen
=no
10991 rm -f core conftest.err conftest.
$ac_objext \
10992 conftest
$ac_exeext conftest.
$ac_ext
10993 LIBS
=$ac_check_lib_save_LIBS
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10996 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10997 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10998 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11001 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11002 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11003 $as_echo_n "(cached) " >&6
11005 ac_check_lib_save_LIBS
=$LIBS
11006 LIBS
="-lsvld $LIBS"
11007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11010 /* Override any GCC internal prototype to avoid an error.
11011 Use char because int might match the return type of a GCC
11012 builtin and then its argument prototype would still apply. */
11025 if ac_fn_c_try_link
"$LINENO"; then :
11026 ac_cv_lib_svld_dlopen
=yes
11028 ac_cv_lib_svld_dlopen
=no
11030 rm -f core conftest.err conftest.
$ac_objext \
11031 conftest
$ac_exeext conftest.
$ac_ext
11032 LIBS
=$ac_check_lib_save_LIBS
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11035 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11036 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11037 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11040 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11041 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11042 $as_echo_n "(cached) " >&6
11044 ac_check_lib_save_LIBS
=$LIBS
11046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11047 /* end confdefs.h. */
11049 /* Override any GCC internal prototype to avoid an error.
11050 Use char because int might match the return type of a GCC
11051 builtin and then its argument prototype would still apply. */
11059 return dld_link ();
11064 if ac_fn_c_try_link
"$LINENO"; then :
11065 ac_cv_lib_dld_dld_link
=yes
11067 ac_cv_lib_dld_dld_link
=no
11069 rm -f core conftest.err conftest.
$ac_objext \
11070 conftest
$ac_exeext conftest.
$ac_ext
11071 LIBS
=$ac_check_lib_save_LIBS
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11074 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11075 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11076 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11097 if test "x$lt_cv_dlopen" != xno
; then
11103 case $lt_cv_dlopen in
11105 save_CPPFLAGS
="$CPPFLAGS"
11106 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11108 save_LDFLAGS
="$LDFLAGS"
11109 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11112 LIBS
="$lt_cv_dlopen_libs $LIBS"
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11115 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11116 if test "${lt_cv_dlopen_self+set}" = set; then :
11117 $as_echo_n "(cached) " >&6
11119 if test "$cross_compiling" = yes; then :
11120 lt_cv_dlopen_self
=cross
11122 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11123 lt_status
=$lt_dlunknown
11124 cat > conftest.
$ac_ext <<_LT_EOF
11125 #line 11125 "configure"
11126 #include "confdefs.h"
11135 # define LT_DLGLOBAL RTLD_GLOBAL
11138 # define LT_DLGLOBAL DL_GLOBAL
11140 # define LT_DLGLOBAL 0
11144 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11145 find out it does not work in some platform. */
11146 #ifndef LT_DLLAZY_OR_NOW
11148 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11151 # define LT_DLLAZY_OR_NOW DL_LAZY
11154 # define LT_DLLAZY_OR_NOW RTLD_NOW
11157 # define LT_DLLAZY_OR_NOW DL_NOW
11159 # define LT_DLLAZY_OR_NOW 0
11166 /* When -fvisbility=hidden is used, assume the code has been annotated
11167 correspondingly for the symbols needed. */
11168 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11169 void fnord () __attribute__((visibility("default")));
11172 void fnord () { int i=42; }
11175 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11176 int status = $lt_dlunknown;
11180 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11183 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11184 else puts (dlerror ());
11186 /* dlclose (self); */
11194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11195 (eval $ac_link) 2>&5
11197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11198 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11199 (.
/conftest
; exit; ) >&5 2>/dev
/null
11201 case x
$lt_status in
11202 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11203 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11204 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11207 # compilation failed
11208 lt_cv_dlopen_self
=no
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11216 $as_echo "$lt_cv_dlopen_self" >&6; }
11218 if test "x$lt_cv_dlopen_self" = xyes
; then
11219 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11221 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11222 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11223 $as_echo_n "(cached) " >&6
11225 if test "$cross_compiling" = yes; then :
11226 lt_cv_dlopen_self_static
=cross
11228 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11229 lt_status
=$lt_dlunknown
11230 cat > conftest.
$ac_ext <<_LT_EOF
11231 #line 11231 "configure"
11232 #include "confdefs.h"
11241 # define LT_DLGLOBAL RTLD_GLOBAL
11244 # define LT_DLGLOBAL DL_GLOBAL
11246 # define LT_DLGLOBAL 0
11250 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11251 find out it does not work in some platform. */
11252 #ifndef LT_DLLAZY_OR_NOW
11254 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11257 # define LT_DLLAZY_OR_NOW DL_LAZY
11260 # define LT_DLLAZY_OR_NOW RTLD_NOW
11263 # define LT_DLLAZY_OR_NOW DL_NOW
11265 # define LT_DLLAZY_OR_NOW 0
11272 /* When -fvisbility=hidden is used, assume the code has been annotated
11273 correspondingly for the symbols needed. */
11274 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11275 void fnord () __attribute__((visibility("default")));
11278 void fnord () { int i=42; }
11281 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11282 int status = $lt_dlunknown;
11286 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11289 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11290 else puts (dlerror ());
11292 /* dlclose (self); */
11300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11301 (eval $ac_link) 2>&5
11303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11304 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11305 (.
/conftest
; exit; ) >&5 2>/dev
/null
11307 case x
$lt_status in
11308 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11309 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11310 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11313 # compilation failed
11314 lt_cv_dlopen_self_static
=no
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11322 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11325 CPPFLAGS
="$save_CPPFLAGS"
11326 LDFLAGS
="$save_LDFLAGS"
11331 case $lt_cv_dlopen_self in
11332 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11333 *) enable_dlopen_self
=unknown
;;
11336 case $lt_cv_dlopen_self_static in
11337 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11338 *) enable_dlopen_self_static
=unknown
;;
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11361 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11362 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11363 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11364 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11366 $as_echo "yes" >&6; }
11368 # FIXME - insert some real tests, host_os isn't really good enough
11371 if test -n "$STRIP" ; then
11372 striplib
="$STRIP -x"
11373 old_striplib
="$STRIP -S"
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11375 $as_echo "yes" >&6; }
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11378 $as_echo "no" >&6; }
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11383 $as_echo "no" >&6; }
11399 # Report which library types will actually be built
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11401 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11403 $as_echo "$can_build_shared" >&6; }
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11406 $as_echo_n "checking whether to build shared libraries... " >&6; }
11407 test "$can_build_shared" = "no" && enable_shared
=no
11409 # On AIX, shared libraries and static libraries use the same namespace, and
11410 # are all built from PIC.
11413 test "$enable_shared" = yes && enable_static
=no
11414 if test -n "$RANLIB"; then
11415 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11416 postinstall_cmds
='$RANLIB $lib'
11421 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11422 test "$enable_shared" = yes && enable_static
=no
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11427 $as_echo "$enable_shared" >&6; }
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11430 $as_echo_n "checking whether to build static libraries... " >&6; }
11431 # Make sure either enable_shared or enable_static is yes.
11432 test "$enable_shared" = yes || enable_static
=yes
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11434 $as_echo "$enable_static" >&6; }
11441 ac_cpp
='$CPP $CPPFLAGS'
11442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11448 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11449 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11450 (test "X$CXX" != "Xg++"))) ; then
11452 ac_cpp
='$CXXCPP $CPPFLAGS'
11453 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11454 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11455 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11457 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11458 if test -z "$CXXCPP"; then
11459 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11460 $as_echo_n "(cached) " >&6
11462 # Double quotes because CXXCPP needs to be expanded
11463 for CXXCPP
in "$CXX -E" "/lib/cpp"
11465 ac_preproc_ok
=false
11466 for ac_cxx_preproc_warn_flag
in '' yes
11468 # Use a header file that comes with gcc, so configuring glibc
11469 # with a fresh cross-compiler works.
11470 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11471 # <limits.h> exists even on freestanding compilers.
11472 # On the NeXT, cc -E runs the code through the compiler's parser,
11473 # not just through cpp. "Syntax error" is here to catch this case.
11474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11477 # include <limits.h>
11479 # include <assert.h>
11483 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11486 # Broken: fails on valid input.
11489 rm -f conftest.err conftest.
$ac_ext
11491 # OK, works on sane cases. Now check whether nonexistent headers
11492 # can be detected and how.
11493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h. */
11495 #include <ac_nonexistent.h>
11497 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11498 # Broken: success on invalid input.
11501 # Passes both tests.
11505 rm -f conftest.err conftest.
$ac_ext
11508 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11509 rm -f conftest.err conftest.
$ac_ext
11510 if $ac_preproc_ok; then :
11515 ac_cv_prog_CXXCPP
=$CXXCPP
11518 CXXCPP
=$ac_cv_prog_CXXCPP
11520 ac_cv_prog_CXXCPP
=$CXXCPP
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11523 $as_echo "$CXXCPP" >&6; }
11524 ac_preproc_ok
=false
11525 for ac_cxx_preproc_warn_flag
in '' yes
11527 # Use a header file that comes with gcc, so configuring glibc
11528 # with a fresh cross-compiler works.
11529 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11530 # <limits.h> exists even on freestanding compilers.
11531 # On the NeXT, cc -E runs the code through the compiler's parser,
11532 # not just through cpp. "Syntax error" is here to catch this case.
11533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11536 # include <limits.h>
11538 # include <assert.h>
11542 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11545 # Broken: fails on valid input.
11548 rm -f conftest.err conftest.
$ac_ext
11550 # OK, works on sane cases. Now check whether nonexistent headers
11551 # can be detected and how.
11552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11553 /* end confdefs.h. */
11554 #include <ac_nonexistent.h>
11556 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11557 # Broken: success on invalid input.
11560 # Passes both tests.
11564 rm -f conftest.err conftest.
$ac_ext
11567 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11568 rm -f conftest.err conftest.
$ac_ext
11569 if $ac_preproc_ok; then :
11572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11574 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11575 See \`config.log' for more details." "$LINENO" 5; }
11579 ac_cpp
='$CPP $CPPFLAGS'
11580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11585 _lt_caught_CXX_error
=yes
11589 ac_cpp
='$CXXCPP $CPPFLAGS'
11590 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11591 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11592 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11594 archive_cmds_need_lc_CXX
=no
11595 allow_undefined_flag_CXX
=
11596 always_export_symbols_CXX
=no
11597 archive_expsym_cmds_CXX
=
11598 compiler_needs_object_CXX
=no
11599 export_dynamic_flag_spec_CXX
=
11600 hardcode_direct_CXX
=no
11601 hardcode_direct_absolute_CXX
=no
11602 hardcode_libdir_flag_spec_CXX
=
11603 hardcode_libdir_flag_spec_ld_CXX
=
11604 hardcode_libdir_separator_CXX
=
11605 hardcode_minus_L_CXX
=no
11606 hardcode_shlibpath_var_CXX
=unsupported
11607 hardcode_automatic_CXX
=no
11608 inherit_rpath_CXX
=no
11610 module_expsym_cmds_CXX
=
11611 link_all_deplibs_CXX
=unknown
11612 old_archive_cmds_CXX
=$old_archive_cmds
11613 reload_flag_CXX
=$reload_flag
11614 reload_cmds_CXX
=$reload_cmds
11615 no_undefined_flag_CXX
=
11616 whole_archive_flag_spec_CXX
=
11617 enable_shared_with_static_runtimes_CXX
=no
11619 # Source file extension for C++ test sources.
11622 # Object file extension for compiled C++ test sources.
11626 # No sense in running all these tests if we already determined that
11627 # the CXX compiler isn't working. Some variables (like enable_shared)
11628 # are currently assumed to apply to all compilers on this platform,
11629 # and will be corrupted by setting them based on a non-working compiler.
11630 if test "$_lt_caught_CXX_error" != yes; then
11631 # Code to be used in simple compile tests
11632 lt_simple_compile_test_code
="int some_variable = 0;"
11634 # Code to be used in simple link tests
11635 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11637 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11644 # If no C compiler was specified, use CC.
11647 # If no C compiler flags were specified, use CFLAGS.
11648 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11650 # Allow CC to be a program name with arguments.
11654 # save warnings/boilerplate of simple test code
11655 ac_outfile
=conftest.
$ac_objext
11656 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11657 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11658 _lt_compiler_boilerplate
=`cat conftest.err`
11661 ac_outfile
=conftest.
$ac_objext
11662 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11663 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11664 _lt_linker_boilerplate
=`cat conftest.err`
11668 # Allow CC to be a program name with arguments.
11673 lt_save_with_gnu_ld
=$with_gnu_ld
11674 lt_save_path_LD
=$lt_cv_path_LD
11675 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11676 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11678 $as_unset lt_cv_prog_gnu_ld
11680 if test -n "${lt_cv_path_LDCXX+set}"; then
11681 lt_cv_path_LD
=$lt_cv_path_LDCXX
11683 $as_unset lt_cv_path_LD
11685 test -z "${LDCXX+set}" || LD
=$LDCXX
11689 for cc_temp
in $compiler""; do
11691 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11692 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11697 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11700 if test -n "$compiler"; then
11701 # We don't want -fno-exception when compiling C++ code, so set the
11702 # no_builtin_flag separately
11703 if test "$GXX" = yes; then
11704 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11706 lt_prog_compiler_no_builtin_flag_CXX
=
11709 if test "$GXX" = yes; then
11710 # Set up default GNU C++ configuration
11714 # Check whether --with-gnu-ld was given.
11715 if test "${with_gnu_ld+set}" = set; then :
11716 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11722 if test "$GCC" = yes; then
11723 # Check if gcc -print-prog-name=ld gives a path.
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11725 $as_echo_n "checking for ld used by $CC... " >&6; }
11728 # gcc leaves a trailing carriage return which upsets mingw
11729 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11731 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11734 # Accept absolute paths.
11736 re_direlt
='/[^/][^/]*/\.\./'
11737 # Canonicalize the pathname of ld
11738 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11739 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11740 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11742 test -z "$LD" && LD
="$ac_prog"
11745 # If it fails, then pretend we aren't using GCC.
11749 # If it is relative, then search for the first ld in PATH.
11750 with_gnu_ld
=unknown
11753 elif test "$with_gnu_ld" = yes; then
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11755 $as_echo_n "checking for GNU ld... " >&6; }
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11758 $as_echo_n "checking for non-GNU ld... " >&6; }
11760 if test "${lt_cv_path_LD+set}" = set; then :
11761 $as_echo_n "(cached) " >&6
11763 if test -z "$LD"; then
11764 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11765 for ac_dir
in $PATH; do
11767 test -z "$ac_dir" && ac_dir
=.
11768 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11769 lt_cv_path_LD
="$ac_dir/$ac_prog"
11770 # Check to see if the program is GNU ld. I'd rather use --version,
11771 # but apparently some variants of GNU ld only accept -v.
11772 # Break only if it was the GNU/non-GNU ld that we prefer.
11773 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11774 *GNU
* |
*'with BFD'*)
11775 test "$with_gnu_ld" != no
&& break
11778 test "$with_gnu_ld" != yes && break
11785 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11789 LD
="$lt_cv_path_LD"
11790 if test -n "$LD"; then
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11792 $as_echo "$LD" >&6; }
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11795 $as_echo "no" >&6; }
11797 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11799 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11800 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11801 $as_echo_n "(cached) " >&6
11803 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11804 case `$LD -v 2>&1 </dev/null` in
11805 *GNU
* |
*'with BFD'*)
11806 lt_cv_prog_gnu_ld
=yes
11809 lt_cv_prog_gnu_ld
=no
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11814 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11815 with_gnu_ld
=$lt_cv_prog_gnu_ld
11823 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11824 # archiving commands below assume that GNU ld is being used.
11825 if test "$with_gnu_ld" = yes; then
11826 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11827 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'
11829 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11830 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11832 # If archive_cmds runs LD, not CC, wlarc should be empty
11833 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11834 # investigate it a little bit more. (MM)
11837 # ancient GNU ld didn't support --whole-archive et. al.
11838 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11839 $GREP 'no-whole-archive' > /dev
/null
; then
11840 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11842 whole_archive_flag_spec_CXX
=
11848 # A generic and very simple default shared library creation
11849 # command for GNU C++ for the case where it uses the native
11850 # linker, instead of GNU ld. If possible, this setting should
11851 # overridden to take advantage of the native linker features on
11852 # the platform it is being used on.
11853 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11856 # Commands to make compiler produce verbose output that lists
11857 # what "hidden" libraries, object files and flags are used when
11858 # linking a shared library.
11859 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11867 # PORTME: fill in a description of your system's C++ link characteristics
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11869 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11873 # FIXME: insert proper C++ library support
11877 if test "$host_cpu" = ia64
; then
11878 # On IA64, the linker does run time linking by default, so we don't
11879 # have to do anything special.
11880 aix_use_runtimelinking
=no
11881 exp_sym_flag
='-Bexport'
11884 aix_use_runtimelinking
=no
11886 # Test if we are trying to use run time linking or normal
11887 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11888 # need to do runtime linking.
11889 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11890 for ld_flag
in $LDFLAGS; do
11893 aix_use_runtimelinking
=yes
11901 exp_sym_flag
='-bexport'
11902 no_entry_flag
='-bnoentry'
11905 # When large executables or shared objects are built, AIX ld can
11906 # have problems creating the table of contents. If linking a library
11907 # or program results in "error TOC overflow" add -mminimal-toc to
11908 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11909 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11911 archive_cmds_CXX
=''
11912 hardcode_direct_CXX
=yes
11913 hardcode_direct_absolute_CXX
=yes
11914 hardcode_libdir_separator_CXX
=':'
11915 link_all_deplibs_CXX
=yes
11916 file_list_spec_CXX
='${wl}-f,'
11918 if test "$GXX" = yes; then
11919 case $host_os in aix4.
[012]|aix4.
[012].
*)
11920 # We only want to do this on AIX 4.2 and lower, the check
11921 # below for broken collect2 doesn't work under 4.3+
11922 collect2name
=`${CC} -print-prog-name=collect2`
11923 if test -f "$collect2name" &&
11924 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11926 # We have reworked collect2
11929 # We have old collect2
11930 hardcode_direct_CXX
=unsupported
11931 # It fails to find uninstalled libraries when the uninstalled
11932 # path is not listed in the libpath. Setting hardcode_minus_L
11933 # to unsupported forces relinking
11934 hardcode_minus_L_CXX
=yes
11935 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11936 hardcode_libdir_separator_CXX
=
11939 shared_flag
='-shared'
11940 if test "$aix_use_runtimelinking" = yes; then
11941 shared_flag
="$shared_flag "'${wl}-G'
11945 if test "$host_cpu" = ia64
; then
11946 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11947 # chokes on -Wl,-G. The following line is correct:
11950 if test "$aix_use_runtimelinking" = yes; then
11951 shared_flag
='${wl}-G'
11953 shared_flag
='${wl}-bM:SRE'
11958 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11959 # It seems that -bexpall does not export symbols beginning with
11960 # underscore (_), so it is better to generate a list of symbols to
11962 always_export_symbols_CXX
=yes
11963 if test "$aix_use_runtimelinking" = yes; then
11964 # Warning - without using the other runtime loading flags (-brtl),
11965 # -berok will link without error, but may produce a broken library.
11966 allow_undefined_flag_CXX
='-berok'
11967 # Determine the default libpath from the value encoded in an empty
11969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11980 if ac_fn_cxx_try_link
"$LINENO"; then :
11982 lt_aix_libpath_sed
='
11983 /Import File Strings/,/^$/ {
11989 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11990 # Check for a 64-bit object if we didn't find anything.
11991 if test -z "$aix_libpath"; then
11992 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11995 rm -f core conftest.err conftest.
$ac_objext \
11996 conftest
$ac_exeext conftest.
$ac_ext
11997 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11999 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12001 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12003 if test "$host_cpu" = ia64
; then
12004 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12005 allow_undefined_flag_CXX
="-z nodefs"
12006 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12008 # Determine the default libpath from the value encoded in an
12009 # empty executable.
12010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12011 /* end confdefs.h. */
12021 if ac_fn_cxx_try_link
"$LINENO"; then :
12023 lt_aix_libpath_sed
='
12024 /Import File Strings/,/^$/ {
12030 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12031 # Check for a 64-bit object if we didn't find anything.
12032 if test -z "$aix_libpath"; then
12033 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12036 rm -f core conftest.err conftest.
$ac_objext \
12037 conftest
$ac_exeext conftest.
$ac_ext
12038 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12040 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12041 # Warning - without using the other run time loading flags,
12042 # -berok will link without error, but may produce a broken library.
12043 no_undefined_flag_CXX
=' ${wl}-bernotok'
12044 allow_undefined_flag_CXX
=' ${wl}-berok'
12045 if test "$with_gnu_ld" = yes; then
12046 # We only use this code for GNU lds that support --whole-archive.
12047 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12049 # Exported symbols can be pulled into shared objects from archives
12050 whole_archive_flag_spec_CXX
='$convenience'
12052 archive_cmds_need_lc_CXX
=yes
12053 # This is similar to how AIX traditionally builds its shared
12055 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12061 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12062 allow_undefined_flag_CXX
=unsupported
12063 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12064 # support --undefined. This deserves some investigation. FIXME
12065 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12072 case $cc_basename in
12074 # FIXME: insert proper C++ library support
12080 cygwin
* | mingw
* | pw32
* | cegcc
*)
12081 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12082 # as there is no search path for DLLs.
12083 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12084 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12085 allow_undefined_flag_CXX
=unsupported
12086 always_export_symbols_CXX
=no
12087 enable_shared_with_static_runtimes_CXX
=yes
12089 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12090 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12091 # If the export-symbols file already is a .def file (1st line
12092 # is EXPORTS), use it as is; otherwise, prepend...
12093 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12094 cp $export_symbols $output_objdir/$soname.def;
12096 echo EXPORTS > $output_objdir/$soname.def;
12097 cat $export_symbols >> $output_objdir/$soname.def;
12099 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12104 darwin
* | rhapsody
*)
12107 archive_cmds_need_lc_CXX
=no
12108 hardcode_direct_CXX
=no
12109 hardcode_automatic_CXX
=yes
12110 hardcode_shlibpath_var_CXX
=unsupported
12111 if test "$lt_cv_ld_force_load" = "yes"; then
12112 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12114 whole_archive_flag_spec_CXX
=''
12116 link_all_deplibs_CXX
=yes
12117 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12118 case $cc_basename in
12119 ifort
*) _lt_dar_can_shared
=yes ;;
12120 *) _lt_dar_can_shared
=$GCC ;;
12122 if test "$_lt_dar_can_shared" = "yes"; then
12123 output_verbose_link_cmd
=func_echo_all
12124 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12125 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12126 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12127 module_expsym_cmds_CXX
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12128 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12129 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12130 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12140 case $cc_basename in
12142 # FIXME: insert proper C++ library support
12146 # Green Hills C++ Compiler
12147 # FIXME: insert proper C++ library support
12151 # FIXME: insert proper C++ library support
12158 # C++ shared libraries reported to be fairly broken before
12164 archive_cmds_need_lc_CXX
=no
12167 freebsd
* | dragonfly
*)
12168 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12177 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12178 link_all_deplibs_CXX
=yes
12182 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12183 hardcode_libdir_separator_CXX
=:
12184 export_dynamic_flag_spec_CXX
='${wl}-E'
12185 hardcode_direct_CXX
=yes
12186 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12187 # but as the default
12188 # location of the library.
12190 case $cc_basename in
12192 # FIXME: insert proper C++ library support
12196 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'
12197 # Commands to make compiler produce verbose output that lists
12198 # what "hidden" libraries, object files and flags are used when
12199 # linking a shared library.
12201 # There doesn't appear to be a way to prevent this compiler from
12202 # explicitly linking system object files so we need to strip them
12203 # from the output so that they don't get included in the library
12205 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12208 if test "$GXX" = yes; then
12209 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'
12211 # FIXME: insert proper C++ library support
12219 if test $with_gnu_ld = no
; then
12220 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12221 hardcode_libdir_separator_CXX
=:
12227 export_dynamic_flag_spec_CXX
='${wl}-E'
12233 hardcode_direct_CXX
=no
12234 hardcode_shlibpath_var_CXX
=no
12237 hardcode_direct_CXX
=yes
12238 hardcode_direct_absolute_CXX
=yes
12239 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12240 # but as the default
12241 # location of the library.
12245 case $cc_basename in
12247 # FIXME: insert proper C++ library support
12253 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12256 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12259 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12262 # Commands to make compiler produce verbose output that lists
12263 # what "hidden" libraries, object files and flags are used when
12264 # linking a shared library.
12266 # There doesn't appear to be a way to prevent this compiler from
12267 # explicitly linking system object files so we need to strip them
12268 # from the output so that they don't get included in the library
12270 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; func_echo_all "$list"'
12273 if test "$GXX" = yes; then
12274 if test $with_gnu_ld = no
; then
12277 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12280 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12283 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'
12288 # FIXME: insert proper C++ library support
12296 hardcode_direct_CXX
=no
12297 hardcode_shlibpath_var_CXX
=no
12298 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12299 export_dynamic_flag_spec_CXX
='${wl}-E'
12300 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12301 # Instead, shared libraries are loaded at an image base (0x10000000 by
12302 # default) and relocated if they conflict, which is a slow very memory
12303 # consuming and fragmenting process. To avoid this, we pick a random,
12304 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12305 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12306 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12307 archive_expsym_cmds_CXX
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12310 case $cc_basename in
12313 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12315 # Archives containing C++ object files must be created using
12316 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12317 # necessary to make sure instantiated templates are included
12319 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12322 if test "$GXX" = yes; then
12323 if test "$with_gnu_ld" = no
; then
12324 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12326 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12329 link_all_deplibs_CXX
=yes
12332 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12333 hardcode_libdir_separator_CXX
=:
12334 inherit_rpath_CXX
=yes
12337 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12338 case $cc_basename in
12340 # Kuck and Associates, Inc. (KAI) C++ Compiler
12342 # KCC will only create a shared library if the output file
12343 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12344 # to its proper name (with version) after linking.
12345 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'
12346 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'
12347 # Commands to make compiler produce verbose output that lists
12348 # what "hidden" libraries, object files and flags are used when
12349 # linking a shared library.
12351 # There doesn't appear to be a way to prevent this compiler from
12352 # explicitly linking system object files so we need to strip them
12353 # from the output so that they don't get included in the library
12355 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; func_echo_all "$list"'
12357 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12358 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12360 # Archives containing C++ object files must be created using
12361 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12362 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12367 # version 8.0 and above of icpc choke on multiply defined symbols
12368 # if we add $predep_objects and $postdep_objects, however 7.1 and
12369 # earlier do not add the objects themselves.
12370 case `$CC -V 2>&1` in
12372 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12373 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'
12375 *) # Version 8.0 or newer
12378 ia64
*) tmp_idyn
=' -i_dynamic';;
12380 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12381 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'
12384 archive_cmds_need_lc_CXX
=no
12385 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12386 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12387 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12390 # Portland Group C++ compiler
12392 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12393 prelink_cmds_CXX
='tpldir=Template.dir~
12395 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12396 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12397 old_archive_cmds_CXX
='tpldir=Template.dir~
12399 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12400 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12402 archive_cmds_CXX
='tpldir=Template.dir~
12404 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12405 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12406 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12408 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12409 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12411 *) # Version 6 and above use weak symbols
12412 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12413 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12417 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12418 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12419 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12423 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12424 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'
12426 runpath_var
=LD_RUN_PATH
12427 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12428 hardcode_libdir_separator_CXX
=:
12430 # Commands to make compiler produce verbose output that lists
12431 # what "hidden" libraries, object files and flags are used when
12432 # linking a shared library.
12434 # There doesn't appear to be a way to prevent this compiler from
12435 # explicitly linking system object files so we need to strip them
12436 # from the output so that they don't get included in the library
12438 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$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; func_echo_all "X$list" | $Xsed'
12440 xl
* | mpixl
* | bgxl
*)
12441 # IBM XL 8.0 on PPC, with GNU ld
12442 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12443 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12444 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12445 if test "x$supports_anon_versioning" = xyes
; then
12446 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12447 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12448 echo "local: *; };" >> $output_objdir/$libname.ver~
12449 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12453 case `$CC -V 2>&1 | sed 5q` in
12456 no_undefined_flag_CXX
=' -zdefs'
12457 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12458 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12459 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12460 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12461 compiler_needs_object_CXX
=yes
12463 # Not sure whether something based on
12464 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12466 output_verbose_link_cmd
='func_echo_all'
12468 # Archives containing C++ object files must be created using
12469 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12470 # necessary to make sure instantiated templates are included
12472 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12480 # FIXME: insert proper C++ library support
12485 # FIXME: insert proper C++ library support
12490 case $cc_basename in
12492 # FIXME: insert proper C++ library support
12496 # FIXME: insert proper C++ library support
12503 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12504 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12506 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12507 hardcode_direct_CXX
=yes
12508 hardcode_shlibpath_var_CXX
=no
12510 # Workaround some broken pre-1.5 toolchains
12511 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12519 # C++ shared libraries are fairly broken
12524 if test -f /usr
/libexec
/ld.so
; then
12525 hardcode_direct_CXX
=yes
12526 hardcode_shlibpath_var_CXX
=no
12527 hardcode_direct_absolute_CXX
=yes
12528 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12529 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12530 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12531 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12532 export_dynamic_flag_spec_CXX
='${wl}-E'
12533 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12535 output_verbose_link_cmd
=func_echo_all
12541 osf3
* | osf4
* | osf5
*)
12542 case $cc_basename in
12544 # Kuck and Associates, Inc. (KAI) C++ Compiler
12546 # KCC will only create a shared library if the output file
12547 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12548 # to its proper name (with version) after linking.
12549 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'
12551 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12552 hardcode_libdir_separator_CXX
=:
12554 # Archives containing C++ object files must be created using
12555 # the KAI C++ compiler.
12557 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12558 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12562 # Rational C++ 2.4.1
12563 # FIXME: insert proper C++ library support
12569 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12570 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12571 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12574 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12575 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12576 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12577 echo "-hidden">> $lib.exp~
12578 $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~
12580 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12584 hardcode_libdir_separator_CXX
=:
12586 # Commands to make compiler produce verbose output that lists
12587 # what "hidden" libraries, object files and flags are used when
12588 # linking a shared library.
12590 # There doesn't appear to be a way to prevent this compiler from
12591 # explicitly linking system object files so we need to strip them
12592 # from the output so that they don't get included in the library
12594 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$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; func_echo_all "$list"'
12597 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12598 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12601 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12604 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" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12608 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12609 hardcode_libdir_separator_CXX
=:
12611 # Commands to make compiler produce verbose output that lists
12612 # what "hidden" libraries, object files and flags are used when
12613 # linking a shared library.
12614 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12617 # FIXME: insert proper C++ library support
12625 # FIXME: insert proper C++ library support
12630 case $cc_basename in
12633 # FIXME: insert proper C++ library support
12638 # FIXME: insert proper C++ library support
12642 # FIXME: insert proper C++ library support
12649 case $cc_basename in
12651 # Sun C++ 4.2, 5.x and Centerline C++
12652 archive_cmds_need_lc_CXX
=yes
12653 no_undefined_flag_CXX
=' -zdefs'
12654 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12655 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12656 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12658 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12659 hardcode_shlibpath_var_CXX
=no
12661 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12663 # The compiler driver will combine and reorder linker options,
12664 # but understands `-z linker_flag'.
12665 # Supported since Solaris 2.6 (maybe 2.5.1?)
12666 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12669 link_all_deplibs_CXX
=yes
12671 output_verbose_link_cmd
='func_echo_all'
12673 # Archives containing C++ object files must be created using
12674 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12675 # necessary to make sure instantiated templates are included
12677 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12680 # Green Hills C++ Compiler
12681 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12683 # The C++ compiler must be used to create the archive.
12684 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12687 # GNU C++ compiler with Solaris linker
12688 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12689 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12690 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12691 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12692 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12693 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12695 # Commands to make compiler produce verbose output that lists
12696 # what "hidden" libraries, object files and flags are used when
12697 # linking a shared library.
12698 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12700 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12702 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12703 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12704 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12706 # Commands to make compiler produce verbose output that lists
12707 # what "hidden" libraries, object files and flags are used when
12708 # linking a shared library.
12709 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12712 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12714 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12716 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12724 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12725 no_undefined_flag_CXX
='${wl}-z,text'
12726 archive_cmds_need_lc_CXX
=no
12727 hardcode_shlibpath_var_CXX
=no
12728 runpath_var
='LD_RUN_PATH'
12730 case $cc_basename in
12732 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12733 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12736 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12737 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12742 sysv5
* | sco3.2v5
* | sco5v6
*)
12743 # Note: We can NOT use -z defs as we might desire, because we do not
12744 # link with -lc, and that would cause any symbols used from libc to
12745 # always be unresolved, which means just about no library would
12746 # ever link correctly. If we're not using GNU ld we use -z text
12747 # though, which does catch some bad symbols but isn't as heavy-handed
12749 no_undefined_flag_CXX
='${wl}-z,text'
12750 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12751 archive_cmds_need_lc_CXX
=no
12752 hardcode_shlibpath_var_CXX
=no
12753 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12754 hardcode_libdir_separator_CXX
=':'
12755 link_all_deplibs_CXX
=yes
12756 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12757 runpath_var
='LD_RUN_PATH'
12759 case $cc_basename in
12761 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12762 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12763 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12764 '"$old_archive_cmds_CXX"
12765 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12766 '"$reload_cmds_CXX"
12769 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12770 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12776 case $cc_basename in
12778 # NonStop-UX NCC 3.20
12779 # FIXME: insert proper C++ library support
12783 # FIXME: insert proper C++ library support
12790 # FIXME: insert proper C++ library support
12795 # FIXME: insert proper C++ library support
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12801 $as_echo "$ld_shlibs_CXX" >&6; }
12802 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12808 ## There is no encapsulation within the following macros, do not change
12809 ## the running order or otherwise move them around unless you know exactly
12810 ## what you are doing...
12811 # Dependencies to place before and after the object being linked:
12812 predep_objects_CXX
=
12813 postdep_objects_CXX
=
12816 compiler_lib_search_path_CXX
=
12818 cat > conftest.
$ac_ext <<_LT_EOF
12822 Foo (void) { a = 0; }
12828 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12829 (eval $ac_compile) 2>&5
12831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12832 test $ac_status = 0; }; then
12833 # Parse the compiler output and extract the necessary
12834 # objects, libraries and library flags.
12836 # Sentinel used to keep track of whether or not we are before
12837 # the conftest object file.
12838 pre_test_object_deps_done
=no
12840 for p
in `eval "$output_verbose_link_cmd"`; do
12844 # Some compilers place space between "-{L,R}" and the path.
12845 # Remove the space.
12846 if test $p = "-L" ||
12847 test $p = "-R"; then
12854 if test "$pre_test_object_deps_done" = no
; then
12857 # Internal compiler library paths should come after those
12858 # provided the user. The postdeps already come after the
12859 # user supplied libs so there is no need to process them.
12860 if test -z "$compiler_lib_search_path_CXX"; then
12861 compiler_lib_search_path_CXX
="${prev}${p}"
12863 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12866 # The "-l" case would never come before the object being
12867 # linked, so don't bother handling this case.
12870 if test -z "$postdeps_CXX"; then
12871 postdeps_CXX
="${prev}${p}"
12873 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12879 # This assumes that the test object file only shows up
12880 # once in the compiler output.
12881 if test "$p" = "conftest.$objext"; then
12882 pre_test_object_deps_done
=yes
12886 if test "$pre_test_object_deps_done" = no
; then
12887 if test -z "$predep_objects_CXX"; then
12888 predep_objects_CXX
="$p"
12890 predep_objects_CXX
="$predep_objects_CXX $p"
12893 if test -z "$postdep_objects_CXX"; then
12894 postdep_objects_CXX
="$p"
12896 postdep_objects_CXX
="$postdep_objects_CXX $p"
12901 *) ;; # Ignore the rest.
12909 echo "libtool.m4: error: problem compiling CXX test program"
12912 $RM -f confest.
$objext
12914 # PORTME: override above test on systems where it is broken
12917 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12918 # hack all around it, let's just trust "g++" to DTRT.
12919 predep_objects_CXX
=
12920 postdep_objects_CXX
=
12925 case `$CC -V 2>&1 | sed 5q` in
12929 # The more standards-conforming stlport4 library is
12930 # incompatible with the Cstd library. Avoid specifying
12931 # it if it's in CXXFLAGS. Ignore libCrun as
12932 # -library=stlport4 depends on it.
12933 case " $CXX $CXXFLAGS " in
12934 *" -library=stlport4 "*)
12935 solaris_use_stlport4
=yes
12939 if test "$solaris_use_stlport4" != yes; then
12940 postdeps_CXX
='-library=Cstd -library=Crun'
12947 case $cc_basename in
12949 # The more standards-conforming stlport4 library is
12950 # incompatible with the Cstd library. Avoid specifying
12951 # it if it's in CXXFLAGS. Ignore libCrun as
12952 # -library=stlport4 depends on it.
12953 case " $CXX $CXXFLAGS " in
12954 *" -library=stlport4 "*)
12955 solaris_use_stlport4
=yes
12959 # Adding this requires a known-good setup of shared libraries for
12960 # Sun compiler versions before 5.6, else PIC objects from an old
12961 # archive will be linked into the output, leading to subtle bugs.
12962 if test "$solaris_use_stlport4" != yes; then
12963 postdeps_CXX
='-library=Cstd -library=Crun'
12971 case " $postdeps_CXX " in
12972 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12974 compiler_lib_search_dirs_CXX
=
12975 if test -n "${compiler_lib_search_path_CXX}"; then
12976 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13009 lt_prog_compiler_wl_CXX
=
13010 lt_prog_compiler_pic_CXX
=
13011 lt_prog_compiler_static_CXX
=
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13014 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13016 # C++ specific cases for pic, static, wl, etc.
13017 if test "$GXX" = yes; then
13018 lt_prog_compiler_wl_CXX
='-Wl,'
13019 lt_prog_compiler_static_CXX
='-static'
13023 # All AIX code is PIC.
13024 if test "$host_cpu" = ia64
; then
13025 # AIX 5 now supports IA64 processor
13026 lt_prog_compiler_static_CXX
='-Bstatic'
13033 # see comment about AmigaOS4 .so support
13034 lt_prog_compiler_pic_CXX
='-fPIC'
13037 # FIXME: we need at least 68020 code to build shared libraries, but
13038 # adding the `-m68020' flag to GCC prevents building anything better,
13040 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13045 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13046 # PIC is the default for these OSes.
13048 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13049 # This hack is so that the source file can tell whether it is being
13050 # built for inclusion in a dll (and should export symbols for example).
13051 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13052 # (--disable-auto-import) libraries
13053 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13055 darwin
* | rhapsody
*)
13056 # PIC is the default on this platform
13057 # Common symbols not allowed in MH_DYLIB files
13058 lt_prog_compiler_pic_CXX
='-fno-common'
13061 # DJGPP does not support shared libraries at all
13062 lt_prog_compiler_pic_CXX
=
13065 # PIC is the default for Haiku.
13066 # The "-static" flag exists, but is broken.
13067 lt_prog_compiler_static_CXX
=
13070 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13071 # Instead, we relocate shared libraries at runtime.
13074 if test -d /usr
/nec
; then
13075 lt_prog_compiler_pic_CXX
=-Kconform_pic
13079 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13080 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13081 # sets the default TLS model and affects inlining.
13086 lt_prog_compiler_pic_CXX
='-fPIC'
13091 # QNX uses GNU C++, but need to define -shared option too, otherwise
13092 # it will coredump.
13093 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13096 lt_prog_compiler_pic_CXX
='-fPIC'
13102 # All AIX code is PIC.
13103 if test "$host_cpu" = ia64
; then
13104 # AIX 5 now supports IA64 processor
13105 lt_prog_compiler_static_CXX
='-Bstatic'
13107 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13111 case $cc_basename in
13113 # Green Hills C++ Compiler
13114 # _LT_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"
13119 case $cc_basename in
13121 lt_prog_compiler_pic_CXX
='-KPIC'
13124 # Green Hills C++ Compiler
13125 lt_prog_compiler_pic_CXX
='-pic'
13131 freebsd
* | dragonfly
*)
13132 # FreeBSD uses GNU C++
13134 hpux9
* | hpux10
* | hpux11
*)
13135 case $cc_basename in
13137 lt_prog_compiler_wl_CXX
='-Wl,'
13138 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13139 if test "$host_cpu" != ia64
; then
13140 lt_prog_compiler_pic_CXX
='+Z'
13144 lt_prog_compiler_wl_CXX
='-Wl,'
13145 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13151 lt_prog_compiler_pic_CXX
='+Z'
13160 # This is c89, which is MS Visual C++ (no shared libs)
13161 # Anyone wants to do a port?
13163 irix5
* | irix6
* | nonstopux
*)
13164 case $cc_basename in
13166 lt_prog_compiler_wl_CXX
='-Wl,'
13167 lt_prog_compiler_static_CXX
='-non_shared'
13168 # CC pic flag -KPIC is the default.
13174 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13175 case $cc_basename in
13178 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13179 lt_prog_compiler_pic_CXX
='-fPIC'
13182 # old Intel C++ for x86_64 which still supported -KPIC.
13183 lt_prog_compiler_wl_CXX
='-Wl,'
13184 lt_prog_compiler_pic_CXX
='-KPIC'
13185 lt_prog_compiler_static_CXX
='-static'
13188 # Intel C++, used to be incompatible with GCC.
13189 # ICC 10 doesn't accept -KPIC any more.
13190 lt_prog_compiler_wl_CXX
='-Wl,'
13191 lt_prog_compiler_pic_CXX
='-fPIC'
13192 lt_prog_compiler_static_CXX
='-static'
13195 # Portland Group C++ compiler
13196 lt_prog_compiler_wl_CXX
='-Wl,'
13197 lt_prog_compiler_pic_CXX
='-fpic'
13198 lt_prog_compiler_static_CXX
='-Bstatic'
13202 # Make sure the PIC flag is empty. It appears that all Alpha
13203 # Linux and Compaq Tru64 Unix objects are PIC.
13204 lt_prog_compiler_pic_CXX
=
13205 lt_prog_compiler_static_CXX
='-non_shared'
13207 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13208 # IBM XL 8.0, 9.0 on PPC and BlueGene
13209 lt_prog_compiler_wl_CXX
='-Wl,'
13210 lt_prog_compiler_pic_CXX
='-qpic'
13211 lt_prog_compiler_static_CXX
='-qstaticlink'
13214 case `$CC -V 2>&1 | sed 5q` in
13217 lt_prog_compiler_pic_CXX
='-KPIC'
13218 lt_prog_compiler_static_CXX
='-Bstatic'
13219 lt_prog_compiler_wl_CXX
='-Qoption ld '
13230 case $cc_basename in
13232 lt_prog_compiler_pic_CXX
='-W c,exportall'
13241 # QNX uses GNU C++, but need to define -shared option too, otherwise
13242 # it will coredump.
13243 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13245 osf3
* | osf4
* | osf5
*)
13246 case $cc_basename in
13248 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13251 # Rational C++ 2.4.1
13252 lt_prog_compiler_pic_CXX
='-pic'
13255 # Digital/Compaq C++
13256 lt_prog_compiler_wl_CXX
='-Wl,'
13257 # Make sure the PIC flag is empty. It appears that all Alpha
13258 # Linux and Compaq Tru64 Unix objects are PIC.
13259 lt_prog_compiler_pic_CXX
=
13260 lt_prog_compiler_static_CXX
='-non_shared'
13269 case $cc_basename in
13271 # Sun C++ 4.2, 5.x and Centerline C++
13272 lt_prog_compiler_pic_CXX
='-KPIC'
13273 lt_prog_compiler_static_CXX
='-Bstatic'
13274 lt_prog_compiler_wl_CXX
='-Qoption ld '
13277 # Green Hills C++ Compiler
13278 lt_prog_compiler_pic_CXX
='-PIC'
13285 case $cc_basename in
13288 lt_prog_compiler_pic_CXX
='-pic'
13289 lt_prog_compiler_static_CXX
='-Bstatic'
13293 lt_prog_compiler_pic_CXX
='-pic'
13299 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13300 case $cc_basename in
13302 lt_prog_compiler_wl_CXX
='-Wl,'
13303 lt_prog_compiler_pic_CXX
='-KPIC'
13304 lt_prog_compiler_static_CXX
='-Bstatic'
13309 case $cc_basename in
13311 # NonStop-UX NCC 3.20
13312 lt_prog_compiler_pic_CXX
='-KPIC'
13321 lt_prog_compiler_can_build_shared_CXX
=no
13327 # For platforms which do not support PIC, -DPIC is meaningless:
13329 lt_prog_compiler_pic_CXX
=
13332 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13336 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13341 # Check to make sure the PIC flag actually works.
13343 if test -n "$lt_prog_compiler_pic_CXX"; then
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13345 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13346 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13347 $as_echo_n "(cached) " >&6
13349 lt_cv_prog_compiler_pic_works_CXX
=no
13350 ac_outfile
=conftest.
$ac_objext
13351 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13352 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13353 # Insert the option either (1) after the last *FLAGS variable, or
13354 # (2) before a word containing "conftest.", or (3) at the end.
13355 # Note that $ac_compile itself does not contain backslashes and begins
13356 # with a dollar sign (not a hyphen), so the echo should work correctly.
13357 # The option is referenced via a variable to avoid confusing sed.
13358 lt_compile
=`echo "$ac_compile" | $SED \
13359 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13360 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13361 -e 's:$: $lt_compiler_flag:'`
13362 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13363 (eval "$lt_compile" 2>conftest.err
)
13365 cat conftest.err
>&5
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 if (exit $ac_status) && test -s "$ac_outfile"; then
13368 # The compiler can only warn and ignore the option if not recognized
13369 # So say no if there are warnings other than the usual output.
13370 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13371 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13372 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13373 lt_cv_prog_compiler_pic_works_CXX
=yes
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13380 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13382 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13383 case $lt_prog_compiler_pic_CXX in
13385 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13388 lt_prog_compiler_pic_CXX
=
13389 lt_prog_compiler_can_build_shared_CXX
=no
13397 # Check to make sure the static flag actually works.
13399 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13401 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13402 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13403 $as_echo_n "(cached) " >&6
13405 lt_cv_prog_compiler_static_works_CXX
=no
13406 save_LDFLAGS
="$LDFLAGS"
13407 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13408 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13409 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13410 # The linker can only warn and ignore the option if not recognized
13411 # So say no if there are warnings
13412 if test -s conftest.err
; then
13413 # Append any errors to the config.log.
13414 cat conftest.err
1>&5
13415 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13416 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13417 if diff conftest.exp conftest.er2
>/dev
/null
; then
13418 lt_cv_prog_compiler_static_works_CXX
=yes
13421 lt_cv_prog_compiler_static_works_CXX
=yes
13425 LDFLAGS
="$save_LDFLAGS"
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13429 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13431 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13434 lt_prog_compiler_static_CXX
=
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13441 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13442 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13443 $as_echo_n "(cached) " >&6
13445 lt_cv_prog_compiler_c_o_CXX
=no
13446 $RM -r conftest
2>/dev
/null
13450 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13452 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13453 # Insert the option either (1) after the last *FLAGS variable, or
13454 # (2) before a word containing "conftest.", or (3) at the end.
13455 # Note that $ac_compile itself does not contain backslashes and begins
13456 # with a dollar sign (not a hyphen), so the echo should work correctly.
13457 lt_compile
=`echo "$ac_compile" | $SED \
13458 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13459 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13460 -e 's:$: $lt_compiler_flag:'`
13461 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13462 (eval "$lt_compile" 2>out
/conftest.err
)
13464 cat out
/conftest.err
>&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13468 # The compiler can only warn and ignore the option if not recognized
13469 # So say no if there are warnings
13470 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13471 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13472 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13473 lt_cv_prog_compiler_c_o_CXX
=yes
13478 # SGI C++ compiler will create directory out/ii_files/ for
13479 # template instantiation
13480 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13481 $RM out
/* && rmdir out
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13488 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13493 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13494 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13495 $as_echo_n "(cached) " >&6
13497 lt_cv_prog_compiler_c_o_CXX
=no
13498 $RM -r conftest
2>/dev
/null
13502 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13504 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13505 # Insert the option either (1) after the last *FLAGS variable, or
13506 # (2) before a word containing "conftest.", or (3) at the end.
13507 # Note that $ac_compile itself does not contain backslashes and begins
13508 # with a dollar sign (not a hyphen), so the echo should work correctly.
13509 lt_compile
=`echo "$ac_compile" | $SED \
13510 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13511 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13512 -e 's:$: $lt_compiler_flag:'`
13513 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13514 (eval "$lt_compile" 2>out
/conftest.err
)
13516 cat out
/conftest.err
>&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13520 # The compiler can only warn and ignore the option if not recognized
13521 # So say no if there are warnings
13522 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13523 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13524 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13525 lt_cv_prog_compiler_c_o_CXX
=yes
13530 # SGI C++ compiler will create directory out/ii_files/ for
13531 # template instantiation
13532 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13533 $RM out
/* && rmdir out
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13540 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13545 hard_links
="nottested"
13546 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13547 # do not overwrite the value of need_locks provided by the user
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13549 $as_echo_n "checking if we can lock with hard links... " >&6; }
13552 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13554 ln conftest.a conftest.b
2>&5 || hard_links
=no
13555 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13557 $as_echo "$hard_links" >&6; }
13558 if test "$hard_links" = no
; then
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13560 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13570 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13572 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13575 # If we're using GNU nm, then we don't want the "-C" option.
13576 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13577 # Also, AIX nm treats weak defined symbols like other global defined
13578 # symbols, whereas GNU nm marks them as "W".
13579 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13580 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13582 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'
13586 export_symbols_cmds_CXX
="$ltdll_cmds"
13588 cygwin
* | mingw
* | cegcc
*)
13589 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'
13592 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13595 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13598 $as_echo "$ld_shlibs_CXX" >&6; }
13599 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13601 with_gnu_ld_CXX
=$with_gnu_ld
13609 # Do we need to explicitly link libc?
13611 case "x$archive_cmds_need_lc_CXX" in
13613 # Assume -lc should be added
13614 archive_cmds_need_lc_CXX
=yes
13616 if test "$enable_shared" = yes && test "$GCC" = yes; then
13617 case $archive_cmds_CXX in
13619 # FIXME: we may have to deal with multi-command sequences.
13622 # Test whether the compiler implicitly links with -lc since on some
13623 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13624 # to ld, don't add -lc before -lgcc.
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13626 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13627 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13628 $as_echo_n "(cached) " >&6
13631 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13634 (eval $ac_compile) 2>&5
13636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13637 test $ac_status = 0; } 2>conftest.err
; then
13640 libobjs
=conftest.
$ac_objext
13642 wl
=$lt_prog_compiler_wl_CXX
13643 pic_flag
=$lt_prog_compiler_pic_CXX
13649 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13650 allow_undefined_flag_CXX
=
13651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13652 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13655 test $ac_status = 0; }
13657 lt_cv_archive_cmds_need_lc_CXX
=no
13659 lt_cv_archive_cmds_need_lc_CXX
=yes
13661 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13663 cat conftest.err
1>&5
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13669 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13670 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13741 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13743 library_names_spec
=
13744 libname_spec
='lib$name'
13748 postuninstall_cmds
=
13752 shlibpath_overrides_runpath
=unknown
13754 dynamic_linker
="$host_os ld.so"
13755 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13756 need_lib_prefix
=unknown
13757 hardcode_into_libs
=no
13759 # when you set need_version to no, make sure it does not cause -set_version
13760 # flags to be left without arguments
13761 need_version
=unknown
13766 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13767 shlibpath_var
=LIBPATH
13769 # AIX 3 has no versioning support, so we append a major version to the name.
13770 soname_spec
='${libname}${release}${shared_ext}$major'
13777 hardcode_into_libs
=yes
13778 if test "$host_cpu" = ia64
; then
13779 # AIX 5 supports IA64
13780 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13781 shlibpath_var
=LD_LIBRARY_PATH
13783 # With GCC up to 2.95.x, collect2 would create an import file
13784 # for dependence libraries. The import file would start with
13785 # the line `#! .'. This would cause the generated library to
13786 # depend on `.', always an invalid library. This was fixed in
13787 # development snapshots of GCC prior to 3.0.
13789 aix4 | aix4.
[01] | aix4.
[01].
*)
13790 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13792 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13795 can_build_shared
=no
13799 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13800 # soname into executable. Probably we can add versioning support to
13801 # collect2, so additional links can be useful in future.
13802 if test "$aix_use_runtimelinking" = yes; then
13803 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13804 # instead of lib<name>.a to let people know that these are not
13805 # typical AIX shared libraries.
13806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13808 # We preserve .a as extension for shared libraries through AIX4.2
13809 # and later when we are not doing run time linking.
13810 library_names_spec
='${libname}${release}.a $libname.a'
13811 soname_spec
='${libname}${release}${shared_ext}$major'
13813 shlibpath_var
=LIBPATH
13820 # Since July 2007 AmigaOS4 officially supports .so libraries.
13821 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13825 library_names_spec
='$libname.ixlibrary $libname.a'
13826 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13827 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
13833 library_names_spec
='${libname}${shared_ext}'
13834 dynamic_linker
="$host_os ld.so"
13835 shlibpath_var
=LIBRARY_PATH
13841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13842 soname_spec
='${libname}${release}${shared_ext}$major'
13843 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13844 shlibpath_var
=LD_LIBRARY_PATH
13845 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13846 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13847 # the default ld.so.conf also contains /usr/contrib/lib and
13848 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13849 # libtool to hard-code these into programs
13852 cygwin
* | mingw
* | pw32
* | cegcc
*)
13853 version_type
=windows
13858 case $GCC,$host_os in
13859 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13860 library_names_spec
='$libname.dll.a'
13861 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13862 postinstall_cmds
='base_file=`basename \${file}`~
13863 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13864 dldir=$destdir/`dirname \$dlpath`~
13865 test -d \$dldir || mkdir -p \$dldir~
13866 $install_prog $dir/$dlname \$dldir/$dlname~
13867 chmod a+x \$dldir/$dlname~
13868 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13869 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13871 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13872 dlpath=$dir/\$dldll~
13874 shlibpath_overrides_runpath
=yes
13878 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13879 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13883 # MinGW DLLs use traditional 'lib' prefix
13884 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13887 # pw32 DLLs use 'pw' prefix rather than 'lib'
13888 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13894 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13897 dynamic_linker
='Win32 ld.exe'
13898 # FIXME: first we should search . and the directory the executable is in
13902 darwin
* | rhapsody
*)
13903 dynamic_linker
="$host_os dyld"
13904 version_type
=darwin
13907 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13908 soname_spec
='${libname}${release}${major}$shared_ext'
13909 shlibpath_overrides_runpath
=yes
13910 shlibpath_var
=DYLD_LIBRARY_PATH
13911 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13913 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13921 soname_spec
='${libname}${release}${shared_ext}$major'
13922 shlibpath_var
=LD_LIBRARY_PATH
13925 freebsd
* | dragonfly
*)
13926 # DragonFly does not have aout. When/if they implement a new
13927 # versioning mechanism, adjust this.
13928 if test -x /usr
/bin
/objformat
; then
13929 objformat
=`/usr/bin/objformat`
13932 freebsd
[123]*) objformat
=aout
;;
13933 *) objformat
=elf
;;
13936 version_type
=freebsd-
$objformat
13937 case $version_type in
13939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13944 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13948 shlibpath_var
=LD_LIBRARY_PATH
13951 shlibpath_overrides_runpath
=yes
13953 freebsd3.
[01]* | freebsdelf3.
[01]*)
13954 shlibpath_overrides_runpath
=yes
13955 hardcode_into_libs
=yes
13957 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13958 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13959 shlibpath_overrides_runpath
=no
13960 hardcode_into_libs
=yes
13962 *) # from 4.6 on, and DragonFly
13963 shlibpath_overrides_runpath
=yes
13964 hardcode_into_libs
=yes
13973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13974 soname_spec
='${libname}${release}${shared_ext}$major'
13975 shlibpath_var
=LD_LIBRARY_PATH
13976 hardcode_into_libs
=yes
13983 dynamic_linker
="$host_os runtime_loader"
13984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13985 soname_spec
='${libname}${release}${shared_ext}$major'
13986 shlibpath_var
=LIBRARY_PATH
13987 shlibpath_overrides_runpath
=yes
13988 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
13989 hardcode_into_libs
=yes
13992 hpux9
* | hpux10
* | hpux11
*)
13993 # Give a soname corresponding to the major version so that dld.sl refuses to
13994 # link against other versions.
14001 hardcode_into_libs
=yes
14002 dynamic_linker
="$host_os dld.so"
14003 shlibpath_var
=LD_LIBRARY_PATH
14004 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14006 soname_spec
='${libname}${release}${shared_ext}$major'
14007 if test "X$HPUX_IA64_MODE" = X32
; then
14008 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14010 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14012 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14016 hardcode_into_libs
=yes
14017 dynamic_linker
="$host_os dld.sl"
14018 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14019 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14021 soname_spec
='${libname}${release}${shared_ext}$major'
14022 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14023 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14027 dynamic_linker
="$host_os dld.sl"
14028 shlibpath_var
=SHLIB_PATH
14029 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14031 soname_spec
='${libname}${release}${shared_ext}$major'
14034 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14035 postinstall_cmds
='chmod 555 $lib'
14036 # or fails outright, so override atomically:
14037 install_override_mode
=555
14044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14045 soname_spec
='${libname}${release}${shared_ext}$major'
14046 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14047 shlibpath_var
=LD_LIBRARY_PATH
14048 shlibpath_overrides_runpath
=no
14049 hardcode_into_libs
=yes
14052 irix5
* | irix6
* | nonstopux
*)
14054 nonstopux
*) version_type
=nonstopux
;;
14056 if test "$lt_cv_prog_gnu_ld" = yes; then
14064 soname_spec
='${libname}${release}${shared_ext}$major'
14065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14067 irix5
* | nonstopux
*)
14068 libsuff
= shlibsuff
=
14071 case $LD in # libtool.m4 will add one of these switches to LD
14072 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14073 libsuff
= shlibsuff
= libmagic
=32-bit;;
14074 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14075 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14076 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14077 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14078 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14082 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14083 shlibpath_overrides_runpath
=no
14084 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14085 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14086 hardcode_into_libs
=yes
14089 # No shared lib support for Linux oldld, aout, or coff.
14090 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14094 # This must be Linux ELF.
14095 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14100 soname_spec
='${libname}${release}${shared_ext}$major'
14101 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14102 shlibpath_var
=LD_LIBRARY_PATH
14103 shlibpath_overrides_runpath
=no
14105 # Some binutils ld are patched to set DT_RUNPATH
14106 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14107 $as_echo_n "(cached) " >&6
14109 lt_cv_shlibpath_overrides_runpath
=no
14110 save_LDFLAGS
=$LDFLAGS
14111 save_libdir
=$libdir
14112 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14113 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h. */
14125 if ac_fn_cxx_try_link
"$LINENO"; then :
14126 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14127 lt_cv_shlibpath_overrides_runpath
=yes
14130 rm -f core conftest.err conftest.
$ac_objext \
14131 conftest
$ac_exeext conftest.
$ac_ext
14132 LDFLAGS
=$save_LDFLAGS
14133 libdir
=$save_libdir
14137 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14139 # This implies no fast_install, which is unacceptable.
14140 # Some rework will be needed to allow for fast_install
14141 # before this can be enabled.
14142 hardcode_into_libs
=yes
14144 # Append ld.so.conf contents to the search path
14145 if test -f /etc
/ld.so.conf
; then
14146 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14147 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14150 # We used to test for /lib/ld.so.1 and disable shared libraries on
14151 # powerpc, because MkLinux only supported shared libraries with the
14152 # GNU dynamic linker. Since this was broken with cross compilers,
14153 # most powerpc-linux boxes support dynamic linking these days and
14154 # people can always --disable-shared, the test was removed, and we
14155 # assume the GNU/Linux dynamic linker is in use.
14156 dynamic_linker
='GNU/Linux ld.so'
14163 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14165 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14166 dynamic_linker
='NetBSD (a.out) ld.so'
14168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14169 soname_spec
='${libname}${release}${shared_ext}$major'
14170 dynamic_linker
='NetBSD ld.elf_so'
14172 shlibpath_var
=LD_LIBRARY_PATH
14173 shlibpath_overrides_runpath
=yes
14174 hardcode_into_libs
=yes
14179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14180 shlibpath_var
=LD_LIBRARY_PATH
14181 shlibpath_overrides_runpath
=yes
14188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14189 soname_spec
='${libname}${release}${shared_ext}$major'
14190 shlibpath_var
=LD_LIBRARY_PATH
14191 shlibpath_overrides_runpath
=no
14192 hardcode_into_libs
=yes
14193 dynamic_linker
='ldqnx.so'
14198 sys_lib_dlsearch_path_spec
="/usr/lib"
14200 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14202 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14203 *) need_version
=no
;;
14205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14206 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14207 shlibpath_var
=LD_LIBRARY_PATH
14208 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14210 openbsd2.
[89] | openbsd2.
[89].
*)
14211 shlibpath_overrides_runpath
=no
14214 shlibpath_overrides_runpath
=yes
14218 shlibpath_overrides_runpath
=yes
14223 libname_spec
='$name'
14226 library_names_spec
='$libname${shared_ext} $libname.a'
14227 dynamic_linker
='OS/2 ld.exe'
14228 shlibpath_var
=LIBPATH
14231 osf3
* | osf4
* | osf5
*)
14235 soname_spec
='${libname}${release}${shared_ext}$major'
14236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14237 shlibpath_var
=LD_LIBRARY_PATH
14238 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14239 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14251 soname_spec
='${libname}${release}${shared_ext}$major'
14252 shlibpath_var
=LD_LIBRARY_PATH
14253 shlibpath_overrides_runpath
=yes
14254 hardcode_into_libs
=yes
14255 # ldd complains unless libraries are executable
14256 postinstall_cmds
='chmod +x $lib'
14261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14262 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14263 shlibpath_var
=LD_LIBRARY_PATH
14264 shlibpath_overrides_runpath
=yes
14265 if test "$with_gnu_ld" = yes; then
14273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14274 soname_spec
='${libname}${release}${shared_ext}$major'
14275 shlibpath_var
=LD_LIBRARY_PATH
14276 case $host_vendor in
14278 shlibpath_overrides_runpath
=no
14280 runpath_var
=LD_RUN_PATH
14288 shlibpath_overrides_runpath
=no
14289 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14295 if test -d /usr
/nec
;then
14297 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14298 soname_spec
='$libname${shared_ext}.$major'
14299 shlibpath_var
=LD_LIBRARY_PATH
14303 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14304 version_type
=freebsd-elf
14307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14308 soname_spec
='${libname}${release}${shared_ext}$major'
14309 shlibpath_var
=LD_LIBRARY_PATH
14310 shlibpath_overrides_runpath
=yes
14311 hardcode_into_libs
=yes
14312 if test "$with_gnu_ld" = yes; then
14313 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14315 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14318 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14322 sys_lib_dlsearch_path_spec
='/usr/lib'
14326 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14331 shlibpath_var
=LD_LIBRARY_PATH
14332 shlibpath_overrides_runpath
=no
14333 hardcode_into_libs
=yes
14338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14339 soname_spec
='${libname}${release}${shared_ext}$major'
14340 shlibpath_var
=LD_LIBRARY_PATH
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14348 $as_echo "$dynamic_linker" >&6; }
14349 test "$dynamic_linker" = no
&& can_build_shared
=no
14351 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14352 if test "$GCC" = yes; then
14353 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14356 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14357 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14359 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14360 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14401 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14402 hardcode_action_CXX
=
14403 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14404 test -n "$runpath_var_CXX" ||
14405 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14407 # We can hardcode non-existent directories.
14408 if test "$hardcode_direct_CXX" != no
&&
14409 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14410 # have to relink, otherwise we might link with an installed library
14411 # when we should be linking with a yet-to-be-installed one
14412 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14413 test "$hardcode_minus_L_CXX" != no
; then
14414 # Linking always hardcodes the temporary library directory.
14415 hardcode_action_CXX
=relink
14417 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14418 hardcode_action_CXX
=immediate
14421 # We cannot hardcode anything, or else we can only hardcode existing
14423 hardcode_action_CXX
=unsupported
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14426 $as_echo "$hardcode_action_CXX" >&6; }
14428 if test "$hardcode_action_CXX" = relink ||
14429 test "$inherit_rpath_CXX" = yes; then
14430 # Fast installation is not supported
14431 enable_fast_install
=no
14432 elif test "$shlibpath_overrides_runpath" = yes ||
14433 test "$enable_shared" = no
; then
14434 # Fast installation is not necessary
14435 enable_fast_install
=needless
14444 fi # test -n "$compiler"
14450 with_gnu_ld
=$lt_save_with_gnu_ld
14451 lt_cv_path_LDCXX
=$lt_cv_path_LD
14452 lt_cv_path_LD
=$lt_save_path_LD
14453 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14454 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14455 fi # test "$_lt_caught_CXX_error" != yes
14458 ac_cpp
='$CPP $CPPFLAGS'
14459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14475 ac_config_commands
="$ac_config_commands libtool"
14480 # Only expand once:
14486 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
14487 if test "x$ac_cv_header_stdint_h" = x
""yes; then :
14495 if test $MF_HAVE_STDINT_H = 1
14497 MF_HAVE_UINTPTR_T
=1
14499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14500 /* end confdefs.h. */
14501 #include <sys/types.h>
14510 if ac_fn_c_try_compile
"$LINENO"; then :
14511 MF_HAVE_UINTPTR_T
=1
14513 MF_HAVE_UINTPTR_T
=0
14515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14521 # libmudflapth objects are built in this subdirectory
14525 for ac_header
in pthread.h
14527 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
14528 if test "x$ac_cv_header_pthread_h" = x
""yes; then :
14529 cat >>confdefs.h
<<_ACEOF
14530 #define HAVE_PTHREAD_H 1
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
14539 $as_echo_n "checking for thread model used by GCC... " >&6; }
14540 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
14542 $as_echo "$target_thread_file" >&6; }
14544 # We only support posix threads, or no threads at all.
14546 case ${target_thread_file} in
14553 echo "${target_thread_file} is an unsupported thread package" 1>&2
14558 if test "x$posix_threads" != "x"; then
14560 LIBMUDFLAPTH_FALSE
='#'
14562 LIBMUDFLAPTH_TRUE
='#'
14563 LIBMUDFLAPTH_FALSE
=
14566 if test "x$posix_threads" != "x"
14568 build_libmudflapth
=1
14570 build_libmudflapth
=0
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
14575 $as_echo_n "checking for dlsym in -ldl... " >&6; }
14576 if test "${ac_cv_lib_dl_dlsym+set}" = set; then :
14577 $as_echo_n "(cached) " >&6
14579 ac_check_lib_save_LIBS
=$LIBS
14581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14584 /* Override any GCC internal prototype to avoid an error.
14585 Use char because int might match the return type of a GCC
14586 builtin and then its argument prototype would still apply. */
14599 if ac_fn_c_try_link
"$LINENO"; then :
14600 ac_cv_lib_dl_dlsym
=yes
14602 ac_cv_lib_dl_dlsym
=no
14604 rm -f core conftest.err conftest.
$ac_objext \
14605 conftest
$ac_exeext conftest.
$ac_ext
14606 LIBS
=$ac_check_lib_save_LIBS
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
14609 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
14610 if test "x$ac_cv_lib_dl_dlsym" = x
""yes; then :
14611 cat >>confdefs.h
<<_ACEOF
14612 #define HAVE_LIBDL 1
14620 # Calculate toolexeclibdir
14621 # Also toolexecdir, though it's only used in toolexeclibdir
14622 case ${version_specific_libs} in
14624 # Need the gcc compiler version to know where to install libraries
14625 # and header files if --enable-version-specific-runtime-libs option
14627 toolexecdir
='$(libdir)/gcc/$(target_alias)'
14628 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
14631 if test -n "$with_cross_host" &&
14632 test x
"$with_cross_host" != x
"no"; then
14633 # Install a library built with a cross compiler in tooldir, not libdir.
14634 toolexecdir
='$(exec_prefix)/$(target_alias)'
14635 toolexeclibdir
='$(toolexecdir)/lib'
14637 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
14638 toolexeclibdir
='$(libdir)'
14640 multi_os_directory
=`$CC -print-multi-os-directory`
14641 case $multi_os_directory in
14642 .
) ;; # Avoid trailing /.
14643 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
14650 includedir
=${toolexecdir}/include
14653 pthread_create_version
='""'
14654 if test "x$enable_shared" = "xyes" && test "x$posix_threads" != "x"; then
14655 # NB: don't check for -lpthread here, because then it would be
14656 # added to LIBS. For the thread-unaware libmudflap.la, we don't
14659 # glibc-related hacks. dlsym() may pick the wrong version of
14660 # interposed functions like pthread_create on modern glibc.
14661 # We need to find the proper symbol version string, and use
14662 # the nonstandard dlvsym().
14663 for ac_func
in dlvsym
14665 ac_fn_c_check_func
"$LINENO" "dlvsym" "ac_cv_func_dlvsym"
14666 if test "x$ac_cv_func_dlvsym" = x
""yes; then :
14667 cat >>confdefs.h
<<_ACEOF
14668 #define HAVE_DLVSYM 1
14674 if test -n "$ac_tool_prefix"; then
14675 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
14676 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14678 $as_echo_n "checking for $ac_word... " >&6; }
14679 if test "${ac_cv_prog_NM+set}" = set; then :
14680 $as_echo_n "(cached) " >&6
14682 if test -n "$NM"; then
14683 ac_cv_prog_NM
="$NM" # Let the user override the test.
14685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14686 for as_dir
in $PATH
14689 test -z "$as_dir" && as_dir
=.
14690 for ac_exec_ext
in '' $ac_executable_extensions; do
14691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14692 ac_cv_prog_NM
="${ac_tool_prefix}nm"
14693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14703 if test -n "$NM"; then
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
14705 $as_echo "$NM" >&6; }
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14708 $as_echo "no" >&6; }
14713 if test -z "$ac_cv_prog_NM"; then
14715 # Extract the first word of "nm", so it can be a program name with args.
14716 set dummy nm
; ac_word
=$2
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14718 $as_echo_n "checking for $ac_word... " >&6; }
14719 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
14720 $as_echo_n "(cached) " >&6
14722 if test -n "$ac_ct_NM"; then
14723 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
14725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14726 for as_dir
in $PATH
14729 test -z "$as_dir" && as_dir
=.
14730 for ac_exec_ext
in '' $ac_executable_extensions; do
14731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14732 ac_cv_prog_ac_ct_NM
="nm"
14733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14742 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
14743 if test -n "$ac_ct_NM"; then
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
14745 $as_echo "$ac_ct_NM" >&6; }
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14748 $as_echo "no" >&6; }
14751 if test "x$ac_ct_NM" = x
; then
14754 case $cross_compiling:$ac_tool_warned in
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14758 ac_tool_warned
=yes ;;
14763 NM
="$ac_cv_prog_NM"
14766 if test "x$ac_cv_have_dlvsym" != "x"; then
14767 # Try compiling a simple pthreads program. Find the shared libraries it
14768 # ends up with. Then use "nm" on those libraries to extract the
14769 # default symbol versioning suffix ("@@"), if any. But that's tricky.
14770 # Rather, run nm on the resulting executable. Unfortunately, autoconf
14771 # doesn't appear to have a macro that builds a test executable for
14772 # subsequent analysis ... so we do it by hand here.
14773 cat >> conftest.c
<< EOF
14774 #include <pthread.h>
14775 int main () { void *p = (void *) & pthread_create; return (int) p; }
14778 LIBS
="$LIBS -lpthread"
14779 pthread_create_version
="\"\""
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pthread_create symbol version" >&5
14781 $as_echo_n "checking pthread_create symbol version... " >&6; }
14782 if eval $ac_link 2>&5 && test -s conftest
${ac_exeext}; then
14783 version
=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
14784 if test "x$version" != "x"; then
14785 pthread_create_version
="\"$version\""
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pthread_create_version" >&5
14789 $as_echo "$pthread_create_version" >&6; }
14794 cat >>confdefs.h
<<_ACEOF
14795 #define PTHREAD_CREATE_VERSION $pthread_create_version
14800 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
14801 # similarly to how libstdc++ does it
14802 ac_test_CFLAGS
="${CFLAGS+set}"
14803 ac_save_CFLAGS
="$CFLAGS"
14805 # Check for -ffunction-sections -fdata-sections
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
14807 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
14808 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
14809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14820 if ac_fn_c_try_compile
"$LINENO"; then :
14825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14826 if test "$ac_test_CFLAGS" = set; then
14827 CFLAGS
="$ac_save_CFLAGS"
14829 # this is the suspicious part
14832 if test x
"$ac_fdsections" = x
"yes"; then
14833 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
14836 $as_echo "$ac_fdsections" >&6; }
14840 # Check for the name of the symbol used for the entry point.
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the name of the symbol used for the entry point" >&5
14842 $as_echo_n "checking for the name of the symbol used for the entry point... " >&6; }
14843 if test "${mudflap_cv_entry_point+set}" = set; then :
14844 $as_echo_n "(cached) " >&6
14847 for name
in _start __start unknown
; do
14848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14850 extern char $name[];
14859 if ac_fn_c_try_link
"$LINENO"; then :
14862 rm -f core conftest.err conftest.
$ac_objext \
14863 conftest
$ac_exeext conftest.
$ac_ext
14865 mudflap_cv_entry_point
="$name"
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mudflap_cv_entry_point" >&5
14868 $as_echo "$mudflap_cv_entry_point" >&6; }
14869 if test "$mudflap_cv_entry_point" = unknown
; then
14870 as_fn_error
"none of the known symbol names works" "$LINENO" 5
14873 cat >>confdefs.h
<<_ACEOF
14874 #define ENTRY_POINT $mudflap_cv_entry_point
14879 if test ${multilib} = yes; then
14880 multilib_arg
="--enable-multilib"
14885 # See if we support thread-local storage.
14888 # Check whether --enable-tls was given.
14889 if test "${enable_tls+set}" = set; then :
14890 enableval
=$enable_tls;
14891 case "$enableval" in
14893 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
14902 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
14903 if test "${gcc_cv_have_tls+set}" = set; then :
14904 $as_echo_n "(cached) " >&6
14907 if test "$cross_compiling" = yes; then :
14908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14910 __thread int a; int b; int main() { return a = b; }
14912 if ac_fn_c_try_link
"$LINENO"; then :
14913 chktls_save_LDFLAGS
="$LDFLAGS"
14916 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
14919 chktls_save_CFLAGS
="$CFLAGS"
14920 CFLAGS
="-fPIC $CFLAGS"
14921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14922 /* end confdefs.h. */
14923 int f() { return 0; }
14925 if ac_fn_c_try_link
"$LINENO"; then :
14926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14928 __thread int a; int b; int f() { return a = b; }
14930 if ac_fn_c_try_link
"$LINENO"; then :
14931 gcc_cv_have_tls
=yes
14935 rm -f core conftest.err conftest.
$ac_objext \
14936 conftest
$ac_exeext conftest.
$ac_ext
14938 gcc_cv_have_tls
=yes
14940 rm -f core conftest.err conftest.
$ac_objext \
14941 conftest
$ac_exeext conftest.
$ac_ext
14942 CFLAGS
="$chktls_save_CFLAGS"
14943 LDFLAGS
="$chktls_save_LDFLAGS"
14947 rm -f core conftest.err conftest.
$ac_objext \
14948 conftest
$ac_exeext conftest.
$ac_ext
14952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14954 __thread int a; int b; int main() { return a = b; }
14956 if ac_fn_c_try_run
"$LINENO"; then :
14957 chktls_save_LDFLAGS
="$LDFLAGS"
14958 LDFLAGS
="-static $LDFLAGS"
14959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14960 /* end confdefs.h. */
14961 int main() { return 0; }
14963 if ac_fn_c_try_link
"$LINENO"; then :
14964 if test "$cross_compiling" = yes; then :
14965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14967 as_fn_error
"cannot run test program while cross compiling
14968 See \`config.log' for more details." "$LINENO" 5; }
14970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h. */
14972 __thread int a; int b; int main() { return a = b; }
14974 if ac_fn_c_try_run
"$LINENO"; then :
14975 gcc_cv_have_tls
=yes
14979 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14980 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14984 gcc_cv_have_tls
=yes
14986 rm -f core conftest.err conftest.
$ac_objext \
14987 conftest
$ac_exeext conftest.
$ac_ext
14988 LDFLAGS
="$chktls_save_LDFLAGS"
14989 if test $gcc_cv_have_tls = yes; then
14990 chktls_save_CFLAGS
="$CFLAGS"
14991 thread_CFLAGS
=failed
14992 for flag
in '' '-pthread' '-lpthread'; do
14993 CFLAGS
="$flag $chktls_save_CFLAGS"
14994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14995 /* end confdefs.h. */
14996 #include <pthread.h>
14997 void *g(void *d) { return NULL; }
15001 pthread_t t; pthread_create(&t,NULL,g,NULL);
15006 if ac_fn_c_try_link
"$LINENO"; then :
15007 thread_CFLAGS
="$flag"
15009 rm -f core conftest.err conftest.
$ac_objext \
15010 conftest
$ac_exeext conftest.
$ac_ext
15011 if test "X$thread_CFLAGS" != Xfailed
; then
15015 CFLAGS
="$chktls_save_CFLAGS"
15016 if test "X$thread_CFLAGS" != Xfailed
; then
15017 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
15018 if test "$cross_compiling" = yes; then :
15019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15021 as_fn_error
"cannot run test program while cross compiling
15022 See \`config.log' for more details." "$LINENO" 5; }
15024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15026 #include <pthread.h>
15028 static int *volatile a_in_other_thread;
15030 thread_func (void *arg)
15032 a_in_other_thread = &a;
15039 void *thread_retval;
15040 int *volatile a_in_main_thread;
15041 a_in_main_thread = &a;
15042 if (pthread_create (&thread, (pthread_attr_t *)0,
15043 thread_func, (void *)0))
15045 if (pthread_join (thread, &thread_retval))
15047 return (a_in_other_thread == a_in_main_thread);
15052 if ac_fn_c_try_run
"$LINENO"; then :
15053 gcc_cv_have_tls
=yes
15057 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15058 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15061 CFLAGS
="$chktls_save_CFLAGS"
15067 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15068 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
15073 $as_echo "$gcc_cv_have_tls" >&6; }
15074 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
15076 $as_echo "#define HAVE_TLS 1" >>confdefs.h
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
15081 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
15082 if test "${gcc_cv_use_emutls+set}" = set; then :
15083 $as_echo_n "(cached) " >&6
15086 gcc_cv_use_emutls
=no
15087 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
15088 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
15089 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15090 (eval $ac_try) 2>&5
15092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15093 test $ac_status = 0; }; }; then
15094 if grep __emutls_get_address conftest.s
> /dev
/null
; then
15095 gcc_cv_use_emutls
=yes
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
15102 $as_echo "$gcc_cv_use_emutls" >&6; }
15103 if test "$gcc_cv_use_emutls" = "yes" ; then
15105 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
15109 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp"
15111 cat >confcache
<<\_ACEOF
15112 # This file is a shell script that caches the results of configure
15113 # tests run on this system so they can be shared between configure
15114 # scripts and configure runs, see configure's option --config-cache.
15115 # It is not useful on other systems. If it contains results you don't
15116 # want to keep, you may remove or edit it.
15118 # config.status only pays attention to the cache file if you give it
15119 # the --recheck option to rerun configure.
15121 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15122 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15123 # following values.
15127 # The following way of writing the cache mishandles newlines in values,
15128 # but we know of no workaround that is simple, portable, and efficient.
15129 # So, we kill variables containing newlines.
15130 # Ultrix sh set writes to stderr and can't be redirected directly,
15131 # and sets the high bit in the cache file unless we assign to the vars.
15133 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15134 eval ac_val
=\$
$ac_var
15138 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15139 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15142 _ | IFS | as_nl
) ;; #(
15143 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15144 *) { eval $ac_var=; unset $ac_var;} ;;
15150 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15151 *${as_nl}ac_space
=\
*)
15152 # `set' does not quote correctly, so add quotes: double-quote
15153 # substitution turns \\\\ into \\, and sed turns \\ into \.
15156 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15159 # `set' quotes correctly as required by POSIX, so do not add quotes.
15160 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15169 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15171 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15173 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15174 if test -w "$cache_file"; then
15175 test "x$cache_file" != "x/dev/null" &&
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15177 $as_echo "$as_me: updating cache $cache_file" >&6;}
15178 cat confcache
>$cache_file
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15181 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15186 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15187 # Let make expand exec_prefix.
15188 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15190 DEFS
=-DHAVE_CONFIG_H
15194 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15195 # 1. Remove the extension, and $U if already installed.
15196 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15197 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15198 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15199 # will be set to the directory where LIBOBJS objects are built.
15200 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15201 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15203 LIBOBJS
=$ac_libobjs
15205 LTLIBOBJS
=$ac_ltlibobjs
15208 if test -n "$EXEEXT"; then
15210 am__EXEEXT_FALSE
='#'
15212 am__EXEEXT_TRUE
='#'
15216 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15217 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15220 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15221 as_fn_error
"conditional \"AMDEP\" was never defined.
15222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15224 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15225 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15228 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15229 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
15230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15232 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
15233 as_fn_error
"conditional \"LIBMUDFLAPTH\" was never defined.
15234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15237 : ${CONFIG_STATUS=./config.status}
15239 ac_clean_files_save
=$ac_clean_files
15240 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15242 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15244 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15246 # Generated by $as_me.
15247 # Run this file to recreate the current configuration.
15248 # Compiler output produced by configure, useful for debugging
15249 # configure, is in config.log if it exists.
15252 ac_cs_recheck=false
15255 SHELL=\${CONFIG_SHELL-$SHELL}
15258 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15259 ## -------------------- ##
15260 ## M4sh Initialization. ##
15261 ## -------------------- ##
15263 # Be more Bourne compatible
15264 DUALCASE
=1; export DUALCASE
# for MKS sh
15265 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15268 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15269 # is contrary to our usage. Disable this feature.
15270 alias -g '${1+"$@"}'='"$@"'
15271 setopt NO_GLOB_SUBST
15273 case `(set -o) 2>/dev/null` in #(
15285 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15286 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15287 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15288 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15289 # Prefer a ksh shell builtin over an external printf program on Solaris,
15290 # but without wasting forks for bash or zsh.
15291 if test -z "$BASH_VERSION$ZSH_VERSION" \
15292 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15293 as_echo='print
-r --'
15294 as_echo_n='print
-rn --'
15295 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15296 as_echo='printf %s
\n'
15297 as_echo_n='printf %s
'
15299 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15300 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15301 as_echo_n='/usr
/ucb
/echo -n'
15303 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15304 as_echo_n_body='eval
15308 expr "X$arg" : "X\\(.*\\)$as_nl";
15309 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15311 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15313 export as_echo_n_body
15314 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15316 export as_echo_body
15317 as_echo='sh
-c $as_echo_body as_echo
'
15320 # The user is always right.
15321 if test "${PATH_SEPARATOR+set}" != set; then
15323 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15324 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15331 # We need space, tab and new line, in precisely that order. Quoting is
15332 # there to prevent editors from complaining about space-tab.
15333 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15334 # splitting by setting IFS to empty value.)
15337 # Find who we are. Look in the path if we contain no directory separator.
15339 *[\\/]* ) as_myself=$0 ;;
15340 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15341 for as_dir in $PATH
15344 test -z "$as_dir" && as_dir=.
15345 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15351 # We did not find ourselves, most probably we were run as `sh COMMAND'
15352 # in which case we are not to be found in the path.
15353 if test "x$as_myself" = x
; then
15356 if test ! -f "$as_myself"; then
15357 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15361 # Unset variables that we do not need and which cause bugs (e.g. in
15362 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15363 # suppresses any "Segmentation fault" message there. '((' could
15364 # trigger a bug in pdksh 5.2.14.
15365 for as_var
in BASH_ENV ENV MAIL MAILPATH
15366 do eval test x\
${$as_var+set} = xset \
15367 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15380 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15383 # as_fn_error ERROR [LINENO LOG_FD]
15384 # ---------------------------------
15385 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15386 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15387 # script with status $?, using 1 if that was 0.
15390 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15392 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15393 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15395 $as_echo "$as_me: error: $1" >&2
15396 as_fn_exit
$as_status
15400 # as_fn_set_status STATUS
15401 # -----------------------
15402 # Set $? to STATUS, without forking.
15403 as_fn_set_status
()
15406 } # as_fn_set_status
15408 # as_fn_exit STATUS
15409 # -----------------
15410 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15414 as_fn_set_status
$1
15420 # Portably unset VAR.
15423 { eval $1=; unset $1;}
15425 as_unset
=as_fn_unset
15426 # as_fn_append VAR VALUE
15427 # ----------------------
15428 # Append the text in VALUE to the end of the definition contained in VAR. Take
15429 # advantage of any shell optimizations that allow amortized linear growth over
15430 # repeated appends, instead of the typical quadratic growth present in naive
15432 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15433 eval 'as_fn_append ()
15444 # as_fn_arith ARG...
15445 # ------------------
15446 # Perform arithmetic evaluation on the ARGs, and store the result in the
15447 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15448 # must be portable across $(()) and expr.
15449 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15450 eval 'as_fn_arith ()
15457 as_val
=`expr "$@" || test $? -eq 1`
15462 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15463 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15469 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15470 as_basename
=basename
15475 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15481 as_me
=`$as_basename -- "$0" ||
15482 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15483 X"$0" : 'X\(//\)$' \| \
15484 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15486 sed '/^.*\/\([^/][^/]*\)\/*$/{
15500 # Avoid depending upon Character Ranges.
15501 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15502 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15503 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15504 as_cr_digits
='0123456789'
15505 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15507 ECHO_C
= ECHO_N
= ECHO_T
=
15508 case `echo -n x` in #(((((
15510 case `echo 'xy\c'` in
15511 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15513 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15520 rm -f conf$$ conf$$.exe conf$$.
file
15521 if test -d conf$$.dir
; then
15522 rm -f conf$$.dir
/conf$$.
file
15525 mkdir conf$$.dir
2>/dev
/null
15527 if (echo >conf$$.
file) 2>/dev
/null
; then
15528 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15530 # ... but there are two gotchas:
15531 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15532 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15533 # In both cases, we have to default to `cp -p'.
15534 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15536 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15544 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15545 rmdir conf$$.dir
2>/dev
/null
15550 # Create "$as_dir" as a directory, including parents if necessary.
15555 -*) as_dir
=.
/$as_dir;;
15557 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15561 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15562 *) as_qdir
=$as_dir;;
15564 as_dirs
="'$as_qdir' $as_dirs"
15565 as_dir
=`$as_dirname -- "$as_dir" ||
15566 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15567 X"$as_dir" : 'X\(//\)[^/]' \| \
15568 X"$as_dir" : 'X\(//\)$' \| \
15569 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15570 $as_echo X"$as_dir" |
15571 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15575 /^X\(\/\/\)[^/].*/{
15588 test -d "$as_dir" && break
15590 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15591 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15595 if mkdir
-p .
2>/dev
/null
; then
15596 as_mkdir_p
='mkdir -p "$as_dir"'
15598 test -d .
/-p && rmdir .
/-p
15602 if test -x / >/dev
/null
2>&1; then
15603 as_test_x
='test -x'
15605 if ls -dL / >/dev
/null
2>&1; then
15612 if test -d "$1"; then
15618 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15619 ???[sx]*):;;*)false;;esac;fi
15623 as_executable_p
=$as_test_x
15625 # Sed expression to map a string onto a valid CPP name.
15626 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15628 # Sed expression to map a string onto a valid variable name.
15629 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15633 ## ----------------------------------- ##
15634 ## Main body of $CONFIG_STATUS script. ##
15635 ## ----------------------------------- ##
15637 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15640 # Save the log message, to keep $0 and so on meaningful, and to
15641 # report actual input values of CONFIG_FILES etc. instead of their
15642 # values after options handling.
15644 This file was extended by libmudflap $as_me 1.0, which was
15645 generated by GNU Autoconf 2.64. Invocation command line was
15647 CONFIG_FILES = $CONFIG_FILES
15648 CONFIG_HEADERS = $CONFIG_HEADERS
15649 CONFIG_LINKS = $CONFIG_LINKS
15650 CONFIG_COMMANDS = $CONFIG_COMMANDS
15653 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15658 case $ac_config_files in *"
15659 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15662 case $ac_config_headers in *"
15663 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15668 # Files that config.status was made for.
15669 config_files="$ac_config_files"
15670 config_headers="$ac_config_headers"
15671 config_commands="$ac_config_commands"
15675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15677 \`$as_me' instantiates files and other configuration actions
15678 from templates according to the current configuration. Unless the files
15679 and actions are specified as TAGs, all are instantiated by default.
15681 Usage: $0 [OPTION]... [TAG]...
15683 -h, --help print this help, then exit
15684 -V, --version print version number and configuration settings, then exit
15685 -q, --quiet, --silent
15686 do not print progress messages
15687 -d, --debug don't remove temporary files
15688 --recheck update $as_me by reconfiguring in the same conditions
15689 --file=FILE[:TEMPLATE]
15690 instantiate the configuration file FILE
15691 --header=FILE[:TEMPLATE]
15692 instantiate the configuration header FILE
15694 Configuration files:
15697 Configuration headers:
15700 Configuration commands:
15703 Report bugs to the package provider."
15706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15708 libmudflap config.status 1.0
15709 configured by $0, generated by GNU Autoconf 2.64,
15710 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15712 Copyright (C) 2009 Free Software Foundation, Inc.
15713 This config.status script is free software; the Free Software Foundation
15714 gives unlimited permission to copy, distribute and modify it."
15721 test -n "\$AWK" || AWK=awk
15724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15725 # The default lists apply if the user does not specify any file.
15731 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15732 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15743 # Handling of the options.
15744 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15746 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15747 $as_echo "$ac_cs_version"; exit ;;
15748 --debug |
--debu |
--deb |
--de |
--d |
-d )
15750 --file |
--fil |
--fi |
--f )
15753 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15755 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15756 ac_need_defaults
=false
;;
15757 --header |
--heade |
--head |
--hea )
15760 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15762 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15763 ac_need_defaults
=false
;;
15765 # Conflict between --help and --header
15766 as_fn_error
"ambiguous option: \`$1'
15767 Try \`$0 --help' for more information.";;
15768 --help |
--hel |
-h )
15769 $as_echo "$ac_cs_usage"; exit ;;
15770 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15771 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15774 # This is an error.
15775 -*) as_fn_error
"unrecognized option: \`$1'
15776 Try \`$0 --help' for more information." ;;
15778 *) as_fn_append ac_config_targets
" $1"
15779 ac_need_defaults
=false
;;
15785 ac_configure_extra_args
=
15787 if $ac_cs_silent; then
15789 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15794 if \$ac_cs_recheck; then
15795 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15797 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15798 CONFIG_SHELL='$SHELL'
15799 export CONFIG_SHELL
15804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15808 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15809 ## Running $as_me. ##
15815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15823 with_multisubdir="$with_multisubdir"
15824 with_multisrctop="$with_multisrctop"
15825 with_target_subdir="$with_target_subdir"
15826 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15827 multi_basedir="$multi_basedir"
15828 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15831 GFORTRAN="$GFORTRAN"
15833 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15836 # The HP-UX ksh and POSIX shell print the target directory to stdout
15837 # if CDPATH is set.
15838 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15840 sed_quote_subst='$sed_quote_subst'
15841 double_quote_subst='$double_quote_subst'
15842 delay_variable_subst='$delay_variable_subst'
15843 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15844 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15845 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15846 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15847 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15848 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15849 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15850 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15851 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15852 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15853 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15854 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15855 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15856 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15857 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15858 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15859 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15860 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15861 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15862 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15863 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15864 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15865 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15866 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15867 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15868 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15869 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15870 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15871 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15872 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15873 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15874 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15875 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15876 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15877 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15878 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15879 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15880 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15881 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15882 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15883 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15884 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15885 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15886 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15887 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15888 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15889 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15890 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15891 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15892 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15893 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15894 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15895 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15896 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15897 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15898 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15899 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15900 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15901 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15902 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15903 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15904 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15905 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15906 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15907 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15908 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15909 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15910 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15911 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15912 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15913 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15914 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15915 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15916 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15917 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15918 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15919 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15920 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15921 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15922 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15923 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15924 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15925 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15926 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15927 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15928 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15929 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15930 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15931 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15932 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15933 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15934 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15935 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15936 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15937 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15938 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15939 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15940 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15941 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15942 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15943 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15944 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15945 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15946 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15947 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15948 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15949 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15950 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15951 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15952 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15953 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15954 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15955 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15956 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15957 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15958 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15959 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15960 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15961 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15962 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15963 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15964 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15965 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15966 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15967 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15968 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15969 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15970 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15971 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15972 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15973 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15974 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15975 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15976 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15977 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15978 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15979 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15980 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15981 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15982 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15983 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15984 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15985 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15986 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15987 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15988 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15989 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15990 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15991 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15992 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15993 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15994 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15995 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
15996 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15997 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15998 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15999 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16000 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16001 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16002 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16003 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16004 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16005 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16006 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16007 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16008 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16009 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16010 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16011 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16012 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16013 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16014 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16015 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16016 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16017 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16020 LTCFLAGS='$LTCFLAGS'
16021 compiler='$compiler_DEFAULT'
16023 # A function that is used when there is no print builtin or printf.
16024 func_fallback_echo ()
16026 eval 'cat <<_LTECHO_EOF
16031 # Quote evaled strings.
16045 deplibs_check_method \
16054 lt_cv_sys_global_symbol_pipe \
16055 lt_cv_sys_global_symbol_to_cdecl \
16056 lt_cv_sys_global_symbol_to_c_name_address \
16057 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16058 lt_prog_compiler_no_builtin_flag \
16059 lt_prog_compiler_wl \
16060 lt_prog_compiler_pic \
16061 lt_prog_compiler_static \
16062 lt_cv_prog_compiler_c_o \
16070 export_dynamic_flag_spec \
16071 whole_archive_flag_spec \
16072 compiler_needs_object \
16074 allow_undefined_flag \
16075 no_undefined_flag \
16076 hardcode_libdir_flag_spec \
16077 hardcode_libdir_flag_spec_ld \
16078 hardcode_libdir_separator \
16083 variables_saved_for_relink \
16085 library_names_spec \
16087 install_override_mode \
16091 compiler_lib_search_dirs \
16096 compiler_lib_search_path \
16100 lt_prog_compiler_no_builtin_flag_CXX \
16101 lt_prog_compiler_wl_CXX \
16102 lt_prog_compiler_pic_CXX \
16103 lt_prog_compiler_static_CXX \
16104 lt_cv_prog_compiler_c_o_CXX \
16105 export_dynamic_flag_spec_CXX \
16106 whole_archive_flag_spec_CXX \
16107 compiler_needs_object_CXX \
16109 allow_undefined_flag_CXX \
16110 no_undefined_flag_CXX \
16111 hardcode_libdir_flag_spec_CXX \
16112 hardcode_libdir_flag_spec_ld_CXX \
16113 hardcode_libdir_separator_CXX \
16114 fix_srcfile_path_CXX \
16115 exclude_expsyms_CXX \
16116 include_expsyms_CXX \
16117 file_list_spec_CXX \
16118 compiler_lib_search_dirs_CXX \
16119 predep_objects_CXX \
16120 postdep_objects_CXX \
16123 compiler_lib_search_path_CXX; do
16124 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16125 *[\\\\\\\`\\"\\\$]*)
16126 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16129 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16134 # Double-quote double-evaled strings.
16135 for var in reload_cmds \
16136 old_postinstall_cmds \
16137 old_postuninstall_cmds \
16139 extract_expsyms_cmds \
16140 old_archive_from_new_cmds \
16141 old_archive_from_expsyms_cmds \
16143 archive_expsym_cmds \
16145 module_expsym_cmds \
16146 export_symbols_cmds \
16149 postuninstall_cmds \
16151 sys_lib_search_path_spec \
16152 sys_lib_dlsearch_path_spec \
16154 old_archive_cmds_CXX \
16155 old_archive_from_new_cmds_CXX \
16156 old_archive_from_expsyms_cmds_CXX \
16158 archive_expsym_cmds_CXX \
16160 module_expsym_cmds_CXX \
16161 export_symbols_cmds_CXX \
16162 prelink_cmds_CXX; do
16163 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16164 *[\\\\\\\`\\"\\\$]*)
16165 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16168 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16173 ac_aux_dir='$ac_aux_dir'
16174 xsi_shell='$xsi_shell'
16175 lt_shell_append='$lt_shell_append'
16177 # See if we are running on zsh, and set the options which allow our
16178 # commands through without removal of \ escapes INIT.
16179 if test -n "\${ZSH_VERSION+set}" ; then
16180 setopt NO_GLOB_SUBST
16186 TIMESTAMP='$TIMESTAMP'
16197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16199 # Handling of arguments.
16200 for ac_config_target
in $ac_config_targets
16202 case $ac_config_target in
16203 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16204 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16205 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16206 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16207 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16208 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16209 "testsuite/mfconfig.exp") CONFIG_FILES
="$CONFIG_FILES testsuite/mfconfig.exp" ;;
16211 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16216 # If the user did not use the arguments to specify the items to instantiate,
16217 # then the envvar interface is used. Set only those that are not.
16218 # We use the long form for the default assignment because of an extremely
16219 # bizarre bug on SunOS 4.1.3.
16220 if $ac_need_defaults; then
16221 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16222 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16223 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16226 # Have a temporary directory for convenience. Make it in the build tree
16227 # simply because there is no reason against having it here, and in addition,
16228 # creating and moving files from /tmp can sometimes cause problems.
16229 # Hook for its removal unless debugging.
16230 # Note that there is a small window in which the directory will not be cleaned:
16231 # after its creation but before its name has been assigned to `$tmp'.
16235 trap 'exit_status=$?
16236 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16238 trap 'as_fn_exit 1' 1 2 13 15
16240 # Create a (secure) tmp directory for tmp files.
16243 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16244 test -n "$tmp" && test -d "$tmp"
16247 tmp
=.
/conf$$
-$RANDOM
16248 (umask 077 && mkdir
"$tmp")
16249 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16251 # Set up the scripts for CONFIG_FILES section.
16252 # No need to generate them if there are no CONFIG_FILES.
16253 # This happens for instance with `./config.status config.h'.
16254 if test -n "$CONFIG_FILES"; then
16257 ac_cr
=`echo X | tr X '\015'`
16258 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16259 # But we know of no other shell where ac_cr would be empty at this
16260 # point, so we can use a bashism as a fallback.
16261 if test "x$ac_cr" = x
; then
16262 eval ac_cr
=\$
\'\\r
\'
16264 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16265 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16268 ac_cs_awk_cr
=$ac_cr
16271 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16276 echo "cat >conf$$subs.awk <<_ACEOF" &&
16277 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16279 } >conf$$subs.sh ||
16280 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16281 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16283 for ac_last_try in false false false false false :; do
16284 . ./conf$$subs.sh ||
16285 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16287 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16288 if test $ac_delim_n = $ac_delim_num; then
16290 elif $ac_last_try; then
16291 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16293 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16296 rm -f conf$$subs.sh
16298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16299 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16303 s/^/S["/; s
/!.
*/"]=/
16313 s/\(.\{148\}\).*/\1/
16315 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16320 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16327 s/\(.\{148\}\).*/\1/
16329 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16333 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16338 ' <conf$$subs.awk | sed '
16343 ' >>$CONFIG_STATUS || ac_write_fail=1
16344 rm -f conf$$subs.awk
16345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16347 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16348 for (key in S) S_is_set[key] = 1
16354 nfields = split(line, field, "@
")
16356 len = length(field[1])
16357 for (i = 2; i < nfields; i++) {
16359 keylen = length(key)
16360 if (S_is_set[key]) {
16362 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16363 len += length(value) + length(field[++i])
16374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16375 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16376 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16379 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16380 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16383 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16384 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16385 # trailing colons and then remove the whole line if VPATH becomes empty
16386 # (actually we leave an empty line to preserve line numbers).
16387 if test "x
$srcdir" = x.; then
16388 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16389 s/:*\$(srcdir):*/:/
16390 s/:*\${srcdir}:*/:/
16392 s/^\([^=]*=[ ]*\):*/\1/
16398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16399 fi # test -n "$CONFIG_FILES"
16401 # Set up the scripts for CONFIG_HEADERS section.
16402 # No need to generate them if there are no CONFIG_HEADERS.
16403 # This happens for instance with `./config.status Makefile'.
16404 if test -n "$CONFIG_HEADERS"; then
16405 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16409 # Transform confdefs.h into an awk script `defines.awk', embedded as
16410 # here-document in config.status, that substitutes the proper values into
16411 # config.h.in to produce config.h.
16413 # Create a delimiter string that does not exist in confdefs.h, to ease
16414 # handling of long lines.
16416 for ac_last_try in false false :; do
16417 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16418 if test -z "$ac_t"; then
16420 elif $ac_last_try; then
16421 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16423 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16427 # For the awk script, D is an array of macro values keyed by name,
16428 # likewise P contains macro parameters if any. Preserve backslash
16429 # newline sequences.
16431 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16433 s/.\{148\}/&'"$ac_delim"'/g
16436 s/^[ ]*#[ ]*define[ ][ ]*/ /
16443 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16445 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16449 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16450 D["\
1"]=" \
3\\\\\\n
"\\/p
16452 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16457 s/.\{148\}/&'"$ac_delim"'/g
16462 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16465 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16467 ' <confdefs.h | sed '
16468 s/'"$ac_delim"'/"\\\
16469 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16472 for (key in D) D_is_set[key] = 1
16475 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16477 split(line, arg, " ")
16478 if (arg[1] == "#") {
16482 defundef
= substr
(arg
[1], 2)
16485 split(mac1
, mac2
, "(") #)
16487 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16488 if (D_is_set
[macro
]) {
16489 # Preserve the white space surrounding the "#".
16490 print prefix
"define", macro P
[macro
] D
[macro
]
16493 # Replace #undef with comments. This is necessary, for example,
16494 # in the case of _POSIX_SOURCE, which is predefined and required
16495 # on some systems where configure will not decide to define it.
16496 if (defundef
== "undef") {
16497 print
"/*", prefix defundef
, macro
, "*/"
16505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16506 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16507 fi # test -n "$CONFIG_HEADERS"
16510 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16515 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16517 case $ac_mode$ac_tag in
16519 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16520 :[FH
]-) ac_tag
=-:-;;
16521 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16538 -) ac_f
="$tmp/stdin";;
16539 *) # Look for the file first in the build tree, then in the source tree
16540 # (if the path is not absolute). The absolute path cannot be DOS-style,
16541 # because $ac_f cannot contain `:'.
16545 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16547 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16549 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16550 as_fn_append ac_file_inputs
" '$ac_f'"
16553 # Let's still pretend it is `configure' which instantiates (i.e., don't
16554 # use $as_me), people would be surprised to read:
16555 # /* config.h. Generated by config.status. */
16556 configure_input
='Generated from '`
16557 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16559 if test x
"$ac_file" != x-
; then
16560 configure_input
="$ac_file. $configure_input"
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16562 $as_echo "$as_me: creating $ac_file" >&6;}
16564 # Neutralize special characters interpreted by sed in replacement strings.
16565 case $configure_input in #(
16566 *\
&* |
*\|
* |
*\\* )
16567 ac_sed_conf_input
=`$as_echo "$configure_input" |
16568 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16569 *) ac_sed_conf_input
=$configure_input;;
16573 *:-:* |
*:-) cat >"$tmp/stdin" \
16574 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16579 ac_dir
=`$as_dirname -- "$ac_file" ||
16580 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16581 X"$ac_file" : 'X\(//\)[^/]' \| \
16582 X"$ac_file" : 'X\(//\)$' \| \
16583 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16584 $as_echo X"$ac_file" |
16585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16589 /^X\(\/\/\)[^/].*/{
16602 as_dir
="$ac_dir"; as_fn_mkdir_p
16606 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16608 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16609 # A ".." for each directory in $ac_dir_suffix.
16610 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16611 case $ac_top_builddir_sub in
16612 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16613 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16616 ac_abs_top_builddir
=$ac_pwd
16617 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16618 # for backward compatibility:
16619 ac_top_builddir
=$ac_top_build_prefix
16622 .
) # We are building in place.
16624 ac_top_srcdir
=$ac_top_builddir_sub
16625 ac_abs_top_srcdir
=$ac_pwd ;;
16626 [\\/]* | ?
:[\\/]* ) # Absolute name.
16627 ac_srcdir
=$srcdir$ac_dir_suffix;
16628 ac_top_srcdir
=$srcdir
16629 ac_abs_top_srcdir
=$srcdir ;;
16630 *) # Relative name.
16631 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16632 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16633 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16635 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16645 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16646 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16648 ac_MKDIR_P
=$MKDIR_P
16650 [\\/$
]* | ?
:[\\/]* ) ;;
16651 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16656 # If the template does not know about datarootdir, expand it.
16657 # FIXME: This hack should be removed a few years after 2.60.
16658 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16669 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16670 *datarootdir
*) ac_datarootdir_seen
=yes;;
16671 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16673 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16676 ac_datarootdir_hack='
16677 s&@datadir@&$datadir&g
16678 s&@docdir@&$docdir&g
16679 s&@infodir@&$infodir&g
16680 s&@localedir@&$localedir&g
16681 s&@mandir@&$mandir&g
16682 s&\\\${datarootdir}&$datarootdir&g' ;;
16686 # Neutralize VPATH when `$srcdir' = `.'.
16687 # Shell code in configure.ac might set extrasub.
16688 # FIXME: do we really want to maintain this feature?
16689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16690 ac_sed_extra="$ac_vpsub
16693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16695 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16696 s|@configure_input@|
$ac_sed_conf_input|
;t t
16697 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16698 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16699 s
&@srcdir@
&$ac_srcdir&;t t
16700 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16701 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16702 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16703 s
&@builddir@
&$ac_builddir&;t t
16704 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16705 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16706 s
&@INSTALL@
&$ac_INSTALL&;t t
16707 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16708 $ac_datarootdir_hack
16710 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16711 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16713 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16714 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16715 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16717 which seems to be undefined. Please make sure it is defined." >&5
16718 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16719 which seems to be undefined. Please make sure it is defined." >&2;}
16723 -) cat "$tmp/out" && rm -f "$tmp/out";;
16724 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16726 || as_fn_error "could not create $ac_file" "$LINENO" 5
16732 if test x"$ac_file" != x-; then
16734 $as_echo "/* $configure_input */" \
16735 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16736 } >"$tmp/config.h" \
16737 || as_fn_error "could not create $ac_file" "$LINENO" 5
16738 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16740 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16743 mv "$tmp/config.h" "$ac_file" \
16744 || as_fn_error "could not create $ac_file" "$LINENO" 5
16747 $as_echo "/* $configure_input */" \
16748 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16749 || as_fn_error "could not create -" "$LINENO" 5
16751 # Compute "$ac_file"'s index
in $config_headers.
16754 for _am_header
in $config_headers :; do
16755 case $_am_header in
16756 $_am_arg |
$_am_arg:* )
16759 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16762 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16763 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16764 X"$_am_arg" : 'X\(//\)[^/]' \| \
16765 X"$_am_arg" : 'X\(//\)$' \| \
16766 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16767 $as_echo X"$_am_arg" |
16768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16772 /^X\(\/\/\)[^/].*/{
16784 s/.*/./; q'`/stamp-h
$_am_stamp_count
16787 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16788 $as_echo "$as_me: executing $ac_file commands" >&6;}
16793 case $ac_file$ac_mode in
16795 # Only add multilib support code if we just rebuilt the top-level
16797 case " $CONFIG_FILES " in
16799 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16802 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16803 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16804 # are listed without --file. Let's play safe and only enable the eval
16805 # if we detect the quoting.
16806 case $CONFIG_FILES in
16807 *\'*) eval set x
"$CONFIG_FILES" ;;
16808 *) set x
$CONFIG_FILES ;;
16813 # Strip MF so we end up with the name of the file.
16814 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16815 # Check whether this is an Automake generated Makefile or not.
16816 # We used to match only the files named `Makefile.in', but
16817 # some people rename them; so instead we look at the file content.
16818 # Grep'ing the first line is not enough: some people post-process
16819 # each Makefile.in and add a new line on top of each file to say so.
16820 # Grep'ing the whole file is not good either: AIX grep has a line
16821 # limit of 2048, but all sed's we know have understand at least 4000.
16822 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16823 dirpart
=`$as_dirname -- "$mf" ||
16824 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16825 X"$mf" : 'X\(//\)[^/]' \| \
16826 X"$mf" : 'X\(//\)$' \| \
16827 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16833 /^X\(\/\/\)[^/].*/{
16849 # Extract the definition of DEPDIR, am__include, and am__quote
16850 # from the Makefile without running `make'.
16851 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16852 test -z "$DEPDIR" && continue
16853 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16854 test -z "am__include" && continue
16855 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16856 # When using ansi2knr, U may be empty or an underscore; expand it
16857 U
=`sed -n 's/^U = //p' < "$mf"`
16858 # Find all dependency output files, they are included files with
16859 # $(DEPDIR) in their names. We invoke sed twice because it is the
16860 # simplest approach to changing $(DEPDIR) to its actual value in the
16862 for file in `sed -n "
16863 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16864 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16865 # Make sure the directory exists.
16866 test -f "$dirpart/$file" && continue
16867 fdir
=`$as_dirname -- "$file" ||
16868 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16869 X"$file" : 'X\(//\)[^/]' \| \
16870 X"$file" : 'X\(//\)$' \| \
16871 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16872 $as_echo X"$file" |
16873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16877 /^X\(\/\/\)[^/].*/{
16890 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16891 # echo "creating $dirpart/$file"
16892 echo '# dummy' > "$dirpart/$file"
16899 # See if we are running on zsh, and set the options which allow our
16900 # commands through without removal of \ escapes.
16901 if test -n "${ZSH_VERSION+set}" ; then
16902 setopt NO_GLOB_SUBST
16905 cfgfile
="${ofile}T"
16906 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16909 cat <<_LT_EOF >> "$cfgfile"
16912 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16913 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16914 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16915 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16917 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16918 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16919 # Written by Gordon Matzigkeit, 1996
16921 # This file is part of GNU Libtool.
16923 # GNU Libtool is free software; you can redistribute it and/or
16924 # modify it under the terms of the GNU General Public License as
16925 # published by the Free Software Foundation; either version 2 of
16926 # the License, or (at your option) any later version.
16928 # As a special exception to the GNU General Public License,
16929 # if you distribute this file as part of a program or library that
16930 # is built using GNU Libtool, you may include this file under the
16931 # same distribution terms that you use for the rest of that program.
16933 # GNU Libtool is distributed in the hope that it will be useful,
16934 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16935 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16936 # GNU General Public License for more details.
16938 # You should have received a copy of the GNU General Public License
16939 # along with GNU Libtool; see the file COPYING. If not, a copy
16940 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16941 # obtained by writing to the Free Software Foundation, Inc.,
16942 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16945 # The names of the tagged configurations supported by this script.
16946 available_tags="CXX "
16948 # ### BEGIN LIBTOOL CONFIG
16950 # Which release of libtool.m4 was used?
16951 macro_version=$macro_version
16952 macro_revision=$macro_revision
16954 # Whether or not to build shared libraries.
16955 build_libtool_libs=$enable_shared
16957 # Whether or not to build static libraries.
16958 build_old_libs=$enable_static
16960 # What type of objects to build.
16963 # Whether or not to optimize for fast installation.
16964 fast_install=$enable_fast_install
16966 # Shell to use when invoking shell scripts.
16969 # An echo program that protects backslashes.
16973 host_alias=$host_alias
16977 # The build system.
16978 build_alias=$build_alias
16982 # A sed program that does not truncate output.
16985 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16986 Xsed="\$SED -e 1s/^X//"
16988 # A grep program that handles long lines.
16994 # A literal string matcher.
16997 # A BSD- or MS-compatible name lister.
17000 # Whether we need soft or hard links.
17003 # What is the maximum length of a command?
17004 max_cmd_len=$max_cmd_len
17006 # Object file suffix (normally "o").
17009 # Executable file suffix (normally "").
17012 # whether the shell understands "unset".
17015 # turn spaces into newlines.
17018 # turn newlines into spaces.
17021 # An object symbol dumper.
17022 OBJDUMP=$lt_OBJDUMP
17024 # Method to check whether dependent libraries are shared objects.
17025 deplibs_check_method=$lt_deplibs_check_method
17027 # Command to use when deplibs_check_method == "file_magic".
17028 file_magic_cmd=$lt_file_magic_cmd
17032 AR_FLAGS=$lt_AR_FLAGS
17034 # A symbol stripping program.
17037 # Commands used to install an old-style archive.
17039 old_postinstall_cmds=$lt_old_postinstall_cmds
17040 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17042 # Whether to use a lock for old archive extraction.
17043 lock_old_archive_extraction=$lock_old_archive_extraction
17048 # LTCC compiler flags.
17049 LTCFLAGS=$lt_CFLAGS
17051 # Take the output of nm and produce a listing of raw symbols and C names.
17052 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17054 # Transform the output of nm in a proper C declaration.
17055 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17057 # Transform the output of nm in a C name address pair.
17058 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17060 # Transform the output of nm in a C name address pair when lib prefix is needed.
17061 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17063 # The name of the directory that contains temporary libtool files.
17066 # Used to examine libraries when file_magic_cmd begins with "file".
17067 MAGIC_CMD=$MAGIC_CMD
17069 # Must we lock files when doing compilation?
17070 need_locks=$lt_need_locks
17072 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17073 DSYMUTIL=$lt_DSYMUTIL
17075 # Tool to change global to local symbols on Mac OS X.
17078 # Tool to manipulate fat objects and archives on Mac OS X.
17081 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17084 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17085 OTOOL64=$lt_OTOOL64
17087 # Old archive suffix (normally "a").
17090 # Shared library suffix (normally ".so").
17091 shrext_cmds=$lt_shrext_cmds
17093 # The commands to extract the exported symbol list from a shared archive.
17094 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17096 # Variables whose values should be saved in libtool wrapper scripts and
17097 # restored at link time.
17098 variables_saved_for_relink=$lt_variables_saved_for_relink
17100 # Do we need the "lib" prefix for modules?
17101 need_lib_prefix=$need_lib_prefix
17103 # Do we need a version for libraries?
17104 need_version=$need_version
17106 # Library versioning type.
17107 version_type=$version_type
17109 # Shared library runtime path variable.
17110 runpath_var=$runpath_var
17112 # Shared library path variable.
17113 shlibpath_var=$shlibpath_var
17115 # Is shlibpath searched before the hard-coded library search path?
17116 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17118 # Format of library name prefix.
17119 libname_spec=$lt_libname_spec
17121 # List of archive names. First name is the real one, the rest are links.
17122 # The last name is the one that the linker finds with -lNAME
17123 library_names_spec=$lt_library_names_spec
17125 # The coded name of the library, if different from the real name.
17126 soname_spec=$lt_soname_spec
17128 # Permission mode override for installation of shared libraries.
17129 install_override_mode=$lt_install_override_mode
17131 # Command to use after installation of a shared archive.
17132 postinstall_cmds=$lt_postinstall_cmds
17134 # Command to use after uninstallation of a shared archive.
17135 postuninstall_cmds=$lt_postuninstall_cmds
17137 # Commands used to finish a libtool library installation in a directory.
17138 finish_cmds=$lt_finish_cmds
17140 # As "finish_cmds", except a single script fragment to be evaled but
17142 finish_eval=$lt_finish_eval
17144 # Whether we should hardcode library paths into libraries.
17145 hardcode_into_libs=$hardcode_into_libs
17147 # Compile-time system search path for libraries.
17148 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17150 # Run-time system search path for libraries.
17151 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17153 # Whether dlopen is supported.
17154 dlopen_support=$enable_dlopen
17156 # Whether dlopen of programs is supported.
17157 dlopen_self=$enable_dlopen_self
17159 # Whether dlopen of statically linked programs is supported.
17160 dlopen_self_static=$enable_dlopen_self_static
17162 # Commands to strip libraries.
17163 old_striplib=$lt_old_striplib
17164 striplib=$lt_striplib
17167 # The linker used to build libraries.
17170 # How to create reloadable object files.
17171 reload_flag=$lt_reload_flag
17172 reload_cmds=$lt_reload_cmds
17174 # Commands used to build an old-style archive.
17175 old_archive_cmds=$lt_old_archive_cmds
17177 # A language specific compiler.
17180 # Is the compiler the GNU compiler?
17183 # Compiler flag to turn off builtin functions.
17184 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17186 # How to pass a linker flag through the compiler.
17187 wl=$lt_lt_prog_compiler_wl
17189 # Additional compiler flags for building library objects.
17190 pic_flag=$lt_lt_prog_compiler_pic
17192 # Compiler flag to prevent dynamic linking.
17193 link_static_flag=$lt_lt_prog_compiler_static
17195 # Does compiler simultaneously support -c and -o options?
17196 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17198 # Whether or not to add -lc for building shared libraries.
17199 build_libtool_need_lc=$archive_cmds_need_lc
17201 # Whether or not to disallow shared libs when runtime libs are static.
17202 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17204 # Compiler flag to allow reflexive dlopens.
17205 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17207 # Compiler flag to generate shared objects directly from archives.
17208 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17210 # Whether the compiler copes with passing no objects directly.
17211 compiler_needs_object=$lt_compiler_needs_object
17213 # Create an old-style archive from a shared archive.
17214 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17216 # Create a temporary old-style archive to link instead of a shared archive.
17217 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17219 # Commands used to build a shared archive.
17220 archive_cmds=$lt_archive_cmds
17221 archive_expsym_cmds=$lt_archive_expsym_cmds
17223 # Commands used to build a loadable module if different from building
17224 # a shared archive.
17225 module_cmds=$lt_module_cmds
17226 module_expsym_cmds=$lt_module_expsym_cmds
17228 # Whether we are building with GNU ld or not.
17229 with_gnu_ld=$lt_with_gnu_ld
17231 # Flag that allows shared libraries with undefined symbols to be built.
17232 allow_undefined_flag=$lt_allow_undefined_flag
17234 # Flag that enforces no undefined symbols.
17235 no_undefined_flag=$lt_no_undefined_flag
17237 # Flag to hardcode \$libdir into a binary during linking.
17238 # This must work even if \$libdir does not exist
17239 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17241 # If ld is used when linking, flag to hardcode \$libdir into a binary
17242 # during linking. This must work even if \$libdir does not exist.
17243 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17245 # Whether we need a single "-rpath" flag with a separated argument.
17246 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17248 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17249 # DIR into the resulting binary.
17250 hardcode_direct=$hardcode_direct
17252 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17253 # DIR into the resulting binary and the resulting library dependency is
17254 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17255 # library is relocated.
17256 hardcode_direct_absolute=$hardcode_direct_absolute
17258 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17259 # into the resulting binary.
17260 hardcode_minus_L=$hardcode_minus_L
17262 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17263 # into the resulting binary.
17264 hardcode_shlibpath_var=$hardcode_shlibpath_var
17266 # Set to "yes" if building a shared library automatically hardcodes DIR
17267 # into the library and all subsequent libraries and executables linked
17269 hardcode_automatic=$hardcode_automatic
17271 # Set to yes if linker adds runtime paths of dependent libraries
17272 # to runtime path list.
17273 inherit_rpath=$inherit_rpath
17275 # Whether libtool must link a program against all its dependency libraries.
17276 link_all_deplibs=$link_all_deplibs
17278 # Fix the shell variable \$srcfile for the compiler.
17279 fix_srcfile_path=$lt_fix_srcfile_path
17281 # Set to "yes" if exported symbols are required.
17282 always_export_symbols=$always_export_symbols
17284 # The commands to list exported symbols.
17285 export_symbols_cmds=$lt_export_symbols_cmds
17287 # Symbols that should not be listed in the preloaded symbols.
17288 exclude_expsyms=$lt_exclude_expsyms
17290 # Symbols that must always be exported.
17291 include_expsyms=$lt_include_expsyms
17293 # Commands necessary for linking programs (against libraries) with templates.
17294 prelink_cmds=$lt_prelink_cmds
17296 # Specify filename containing input files.
17297 file_list_spec=$lt_file_list_spec
17299 # How to hardcode a shared library path into an executable.
17300 hardcode_action=$hardcode_action
17302 # The directories searched by this compiler when creating a shared library.
17303 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17305 # Dependencies to place before and after the objects being linked to
17306 # create a shared library.
17307 predep_objects=$lt_predep_objects
17308 postdep_objects=$lt_postdep_objects
17309 predeps=$lt_predeps
17310 postdeps=$lt_postdeps
17312 # The library search path used internally by the compiler when linking
17313 # a shared library.
17314 compiler_lib_search_path=$lt_compiler_lib_search_path
17316 # ### END LIBTOOL CONFIG
17322 cat <<\_LT_EOF
>> "$cfgfile"
17323 # AIX sometimes has problems with the GCC collect2 program. For some
17324 # reason, if we set the COLLECT_NAMES environment variable, the problems
17325 # vanish in a puff of smoke.
17326 if test "X${COLLECT_NAMES+set}" != Xset
; then
17328 export COLLECT_NAMES
17335 ltmain
="$ac_aux_dir/ltmain.sh"
17338 # We use sed instead of cat because bash on DJGPP gets confused if
17339 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17340 # text mode, it properly converts lines to CR/LF. This bash problem
17341 # is reportedly fixed, but why not run on old versions too?
17342 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17343 ||
(rm -f "$cfgfile"; exit 1)
17347 cat << \_LT_EOF
>> "$cfgfile"
17349 # func_dirname file append nondir_replacement
17350 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17351 # otherwise set result to NONDIR_REPLACEMENT.
17355 */*) func_dirname_result
="${1%/*}${2}" ;;
17356 * ) func_dirname_result
="${3}" ;;
17360 # func_basename file
17363 func_basename_result
="${1##*/}"
17366 # func_dirname_and_basename file append nondir_replacement
17367 # perform func_basename and func_dirname in a single function
17369 # dirname: Compute the dirname of FILE. If nonempty,
17370 # add APPEND to the result, otherwise set result
17371 # to NONDIR_REPLACEMENT.
17372 # value returned in "$func_dirname_result"
17373 # basename: Compute filename of FILE.
17374 # value retuned in "$func_basename_result"
17375 # Implementation must be kept synchronized with func_dirname
17376 # and func_basename. For efficiency, we do not delegate to
17377 # those functions but instead duplicate the functionality here.
17378 func_dirname_and_basename
()
17381 */*) func_dirname_result
="${1%/*}${2}" ;;
17382 * ) func_dirname_result
="${3}" ;;
17384 func_basename_result
="${1##*/}"
17387 # func_stripname prefix suffix name
17388 # strip PREFIX and SUFFIX off of NAME.
17389 # PREFIX and SUFFIX must not contain globbing or regex special
17390 # characters, hashes, percent signs, but SUFFIX may contain a leading
17391 # dot (in which case that matches only a dot).
17394 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17395 # positional parameters, so assign one to ordinary parameter first.
17396 func_stripname_result
=${3}
17397 func_stripname_result
=${func_stripname_result#"${1}"}
17398 func_stripname_result
=${func_stripname_result%"${2}"}
17404 func_opt_split_opt
=${1%%=*}
17405 func_opt_split_arg
=${1#*=}
17412 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17413 *) func_lo2o_result
=${1} ;;
17417 # func_xform libobj-or-source
17420 func_xform_result
=${1%.*}.lo
17423 # func_arith arithmetic-term...
17426 func_arith_result
=$
(( $
* ))
17430 # STRING may not start with a hyphen.
17433 func_len_result
=${#1}
17438 *) # Bourne compatible functions.
17439 cat << \_LT_EOF
>> "$cfgfile"
17441 # func_dirname file append nondir_replacement
17442 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17443 # otherwise set result to NONDIR_REPLACEMENT.
17446 # Extract subdirectory from the argument.
17447 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17448 if test "X$func_dirname_result" = "X${1}"; then
17449 func_dirname_result
="${3}"
17451 func_dirname_result
="$func_dirname_result${2}"
17455 # func_basename file
17458 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17462 # func_stripname prefix suffix name
17463 # strip PREFIX and SUFFIX off of NAME.
17464 # PREFIX and SUFFIX must not contain globbing or regex special
17465 # characters, hashes, percent signs, but SUFFIX may contain a leading
17466 # dot (in which case that matches only a dot).
17467 # func_strip_suffix prefix name
17471 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17472 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17477 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17478 my_sed_long_arg
='1s/^-[^=]*=//'
17483 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17484 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17490 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17493 # func_xform libobj-or-source
17496 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17499 # func_arith arithmetic-term...
17502 func_arith_result
=`expr "$@"`
17506 # STRING may not start with a hyphen.
17509 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17515 case $lt_shell_append in
17517 cat << \_LT_EOF
>> "$cfgfile"
17519 # func_append var value
17520 # Append VALUE to the end of shell variable VAR.
17528 cat << \_LT_EOF
>> "$cfgfile"
17530 # func_append var value
17531 # Append VALUE to the end of shell variable VAR.
17542 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17543 ||
(rm -f "$cfgfile"; exit 1)
17545 mv -f "$cfgfile" "$ofile" ||
17546 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17550 cat <<_LT_EOF >> "$ofile"
17552 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17554 # The linker used to build libraries.
17557 # How to create reloadable object files.
17558 reload_flag=$lt_reload_flag_CXX
17559 reload_cmds=$lt_reload_cmds_CXX
17561 # Commands used to build an old-style archive.
17562 old_archive_cmds=$lt_old_archive_cmds_CXX
17564 # A language specific compiler.
17565 CC=$lt_compiler_CXX
17567 # Is the compiler the GNU compiler?
17570 # Compiler flag to turn off builtin functions.
17571 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17573 # How to pass a linker flag through the compiler.
17574 wl=$lt_lt_prog_compiler_wl_CXX
17576 # Additional compiler flags for building library objects.
17577 pic_flag=$lt_lt_prog_compiler_pic_CXX
17579 # Compiler flag to prevent dynamic linking.
17580 link_static_flag=$lt_lt_prog_compiler_static_CXX
17582 # Does compiler simultaneously support -c and -o options?
17583 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17585 # Whether or not to add -lc for building shared libraries.
17586 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17588 # Whether or not to disallow shared libs when runtime libs are static.
17589 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17591 # Compiler flag to allow reflexive dlopens.
17592 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17594 # Compiler flag to generate shared objects directly from archives.
17595 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17597 # Whether the compiler copes with passing no objects directly.
17598 compiler_needs_object=$lt_compiler_needs_object_CXX
17600 # Create an old-style archive from a shared archive.
17601 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17603 # Create a temporary old-style archive to link instead of a shared archive.
17604 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17606 # Commands used to build a shared archive.
17607 archive_cmds=$lt_archive_cmds_CXX
17608 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17610 # Commands used to build a loadable module if different from building
17611 # a shared archive.
17612 module_cmds=$lt_module_cmds_CXX
17613 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17615 # Whether we are building with GNU ld or not.
17616 with_gnu_ld=$lt_with_gnu_ld_CXX
17618 # Flag that allows shared libraries with undefined symbols to be built.
17619 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17621 # Flag that enforces no undefined symbols.
17622 no_undefined_flag=$lt_no_undefined_flag_CXX
17624 # Flag to hardcode \$libdir into a binary during linking.
17625 # This must work even if \$libdir does not exist
17626 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17628 # If ld is used when linking, flag to hardcode \$libdir into a binary
17629 # during linking. This must work even if \$libdir does not exist.
17630 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17632 # Whether we need a single "-rpath" flag with a separated argument.
17633 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17635 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17636 # DIR into the resulting binary.
17637 hardcode_direct=$hardcode_direct_CXX
17639 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17640 # DIR into the resulting binary and the resulting library dependency is
17641 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17642 # library is relocated.
17643 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17645 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17646 # into the resulting binary.
17647 hardcode_minus_L=$hardcode_minus_L_CXX
17649 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17650 # into the resulting binary.
17651 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17653 # Set to "yes" if building a shared library automatically hardcodes DIR
17654 # into the library and all subsequent libraries and executables linked
17656 hardcode_automatic=$hardcode_automatic_CXX
17658 # Set to yes if linker adds runtime paths of dependent libraries
17659 # to runtime path list.
17660 inherit_rpath=$inherit_rpath_CXX
17662 # Whether libtool must link a program against all its dependency libraries.
17663 link_all_deplibs=$link_all_deplibs_CXX
17665 # Fix the shell variable \$srcfile for the compiler.
17666 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17668 # Set to "yes" if exported symbols are required.
17669 always_export_symbols=$always_export_symbols_CXX
17671 # The commands to list exported symbols.
17672 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17674 # Symbols that should not be listed in the preloaded symbols.
17675 exclude_expsyms=$lt_exclude_expsyms_CXX
17677 # Symbols that must always be exported.
17678 include_expsyms=$lt_include_expsyms_CXX
17680 # Commands necessary for linking programs (against libraries) with templates.
17681 prelink_cmds=$lt_prelink_cmds_CXX
17683 # Specify filename containing input files.
17684 file_list_spec=$lt_file_list_spec_CXX
17686 # How to hardcode a shared library path into an executable.
17687 hardcode_action=$hardcode_action_CXX
17689 # The directories searched by this compiler when creating a shared library.
17690 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17692 # Dependencies to place before and after the objects being linked to
17693 # create a shared library.
17694 predep_objects=$lt_predep_objects_CXX
17695 postdep_objects=$lt_postdep_objects_CXX
17696 predeps=$lt_predeps_CXX
17697 postdeps=$lt_postdeps_CXX
17699 # The library search path used internally by the compiler when linking
17700 # a shared library.
17701 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17703 # ### END LIBTOOL TAG CONFIG: CXX
17714 ac_clean_files
=$ac_clean_files_save
17716 test $ac_write_fail = 0 ||
17717 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17720 # configure is writing to config.log, and then calls config.status.
17721 # config.status does its own redirection, appending to config.log.
17722 # Unfortunately, on DOS this fails, as config.log is still kept open
17723 # by configure, so config.status won't be able to write to it; its
17724 # output is simply discarded. So we exec the FD to /dev/null,
17725 # effectively closing config.log, so it can be properly (re)opened and
17726 # appended to by config.status. When coming back to configure, we
17727 # need to make the FD available again.
17728 if test "$no_create" != yes; then
17730 ac_config_status_args
=
17731 test "$silent" = yes &&
17732 ac_config_status_args
="$ac_config_status_args --quiet"
17734 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17736 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17737 # would make configure fail if this is the last instruction.
17738 $ac_cs_success || as_fn_exit $?
17740 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17742 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}