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
/mnttab.h 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 mmap64
4983 ac_fn_c_check_func
"$LINENO" "mmap64" "ac_cv_func_mmap64"
4984 if test "x$ac_cv_func_mmap64" = x
""yes; then :
4985 cat >>confdefs.h
<<_ACEOF
4986 #define HAVE_MMAP64 1
4992 for ac_func
in __libc_freeres
4994 ac_fn_c_check_func
"$LINENO" "__libc_freeres" "ac_cv_func___libc_freeres"
4995 if test "x$ac_cv_func___libc_freeres" = x
""yes; then :
4996 cat >>confdefs.h
<<_ACEOF
4997 #define HAVE___LIBC_FREERES 1
5003 for ac_func
in rawmemchr stpcpy mempcpy
5005 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5006 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5007 eval as_val
=\$
$as_ac_var
5008 if test "x$as_val" = x
""yes; then :
5009 cat >>confdefs.h
<<_ACEOF
5010 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5018 /* end confdefs.h. */
5019 #include <sys/types.h>
5020 #include <sys/ipc.h>
5021 #include <sys/sem.h>
5030 if ac_fn_c_try_compile
"$LINENO"; then :
5035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5036 if test $mf_have_semun = 1
5039 $as_echo "#define HAVE_UNION_SEMUN 1" >>confdefs.h
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t in sys/socket.h" >&5
5045 $as_echo_n "checking for socklen_t in sys/socket.h... " >&6; }
5046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5047 /* end confdefs.h. */
5048 #define _POSIX_PII_SOCKET
5049 #include <sys/types.h>
5050 #include <sys/socket.h>
5059 if ac_fn_c_try_compile
"$LINENO"; then :
5061 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5064 $as_echo "yes" >&6; }
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5078 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5083 macro_version
='2.2.7a'
5084 macro_revision
='1.3134'
5098 ltmain
="$ac_aux_dir/ltmain.sh"
5100 # Backslashify metacharacters that are still active within
5101 # double-quoted strings.
5102 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5104 # Same as above, but do not quote variable references.
5105 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5107 # Sed substitution to delay expansion of an escaped shell variable in a
5108 # double_quote_subst'ed string.
5109 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5111 # Sed substitution to delay expansion of an escaped single quote.
5112 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5114 # Sed substitution to avoid accidental globbing in evaled expressions
5115 no_glob_subst
='s/\*/\\\*/g'
5117 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5118 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5119 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5122 $as_echo_n "checking how to print strings... " >&6; }
5123 # Test print first, because it will be a builtin if present.
5124 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5125 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5127 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5130 # Use this function as a fallback that always works.
5131 func_fallback_echo ()
5133 eval 'cat <<_LTECHO_EOF
5137 ECHO='func_fallback_echo
'
5140 # func_echo_all arg...
5141 # Invoke $ECHO with all args, space-separated.
5148 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5149 $as_echo "printf" >&6; } ;;
5150 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5151 $as_echo "print -r" >&6; } ;;
5152 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5153 $as_echo "cat" >&6; } ;;
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5170 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5171 if test "${ac_cv_path_SED+set}" = set; then :
5172 $as_echo_n "(cached) " >&6
5174 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5175 for ac_i in 1 2 3 4 5 6 7; do
5176 ac_script="$ac_script$as_nl$ac_script"
5178 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5179 { ac_script=; unset ac_script;}
5180 if test -z "$SED"; then
5181 ac_path_SED_found=false
5182 # Loop through the user's path and
test for each of PROGNAME-LIST
5183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5187 test -z "$as_dir" && as_dir
=.
5188 for ac_prog
in sed gsed
; do
5189 for ac_exec_ext
in '' $ac_executable_extensions; do
5190 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5191 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5192 # Check for GNU ac_path_SED and select it if it is found.
5193 # Check for GNU $ac_path_SED
5194 case `"$ac_path_SED" --version 2>&1` in
5196 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5199 $as_echo_n 0123456789 >"conftest.in"
5202 cat "conftest.in" "conftest.in" >"conftest.tmp"
5203 mv "conftest.tmp" "conftest.in"
5204 cp "conftest.in" "conftest.nl"
5205 $as_echo '' >> "conftest.nl"
5206 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5207 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5208 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5209 if test $ac_count -gt ${ac_path_SED_max-0}; then
5210 # Best one so far, save it but keep looking for a better one
5211 ac_cv_path_SED
="$ac_path_SED"
5212 ac_path_SED_max
=$ac_count
5214 # 10*(2^10) chars as input seems more than enough
5215 test $ac_count -gt 10 && break
5217 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5220 $ac_path_SED_found && break 3
5225 if test -z "$ac_cv_path_SED"; then
5226 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5234 $as_echo "$ac_cv_path_SED" >&6; }
5235 SED
="$ac_cv_path_SED"
5238 test -z "$SED" && SED
=sed
5239 Xsed
="$SED -e 1s/^X//"
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5252 $as_echo_n "checking for fgrep... " >&6; }
5253 if test "${ac_cv_path_FGREP+set}" = set; then :
5254 $as_echo_n "(cached) " >&6
5256 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5257 then ac_cv_path_FGREP
="$GREP -F"
5259 if test -z "$FGREP"; then
5260 ac_path_FGREP_found
=false
5261 # Loop through the user's path and test for each of PROGNAME-LIST
5262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5263 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5266 test -z "$as_dir" && as_dir
=.
5267 for ac_prog
in fgrep
; do
5268 for ac_exec_ext
in '' $ac_executable_extensions; do
5269 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5270 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5271 # Check for GNU ac_path_FGREP and select it if it is found.
5272 # Check for GNU $ac_path_FGREP
5273 case `"$ac_path_FGREP" --version 2>&1` in
5275 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5278 $as_echo_n 0123456789 >"conftest.in"
5281 cat "conftest.in" "conftest.in" >"conftest.tmp"
5282 mv "conftest.tmp" "conftest.in"
5283 cp "conftest.in" "conftest.nl"
5284 $as_echo 'FGREP' >> "conftest.nl"
5285 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5286 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5287 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5288 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5289 # Best one so far, save it but keep looking for a better one
5290 ac_cv_path_FGREP
="$ac_path_FGREP"
5291 ac_path_FGREP_max
=$ac_count
5293 # 10*(2^10) chars as input seems more than enough
5294 test $ac_count -gt 10 && break
5296 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5299 $ac_path_FGREP_found && break 3
5304 if test -z "$ac_cv_path_FGREP"; then
5305 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5308 ac_cv_path_FGREP
=$FGREP
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5314 $as_echo "$ac_cv_path_FGREP" >&6; }
5315 FGREP
="$ac_cv_path_FGREP"
5318 test -z "$GREP" && GREP
=grep
5338 # Check whether --with-gnu-ld was given.
5339 if test "${with_gnu_ld+set}" = set; then :
5340 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5346 if test "$GCC" = yes; then
5347 # Check if gcc -print-prog-name=ld gives a path.
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5349 $as_echo_n "checking for ld used by $CC... " >&6; }
5352 # gcc leaves a trailing carriage return which upsets mingw
5353 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5355 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5358 # Accept absolute paths.
5360 re_direlt
='/[^/][^/]*/\.\./'
5361 # Canonicalize the pathname of ld
5362 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5363 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5364 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5366 test -z "$LD" && LD
="$ac_prog"
5369 # If it fails, then pretend we aren't using GCC.
5373 # If it is relative, then search for the first ld in PATH.
5377 elif test "$with_gnu_ld" = yes; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5379 $as_echo_n "checking for GNU ld... " >&6; }
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5382 $as_echo_n "checking for non-GNU ld... " >&6; }
5384 if test "${lt_cv_path_LD+set}" = set; then :
5385 $as_echo_n "(cached) " >&6
5387 if test -z "$LD"; then
5388 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5389 for ac_dir
in $PATH; do
5391 test -z "$ac_dir" && ac_dir
=.
5392 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5393 lt_cv_path_LD
="$ac_dir/$ac_prog"
5394 # Check to see if the program is GNU ld. I'd rather use --version,
5395 # but apparently some variants of GNU ld only accept -v.
5396 # Break only if it was the GNU/non-GNU ld that we prefer.
5397 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5398 *GNU
* |
*'with BFD'*)
5399 test "$with_gnu_ld" != no
&& break
5402 test "$with_gnu_ld" != yes && break
5409 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5414 if test -n "$LD"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5416 $as_echo "$LD" >&6; }
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5421 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5423 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5424 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5425 $as_echo_n "(cached) " >&6
5427 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5428 case `$LD -v 2>&1 </dev/null` in
5429 *GNU
* |
*'with BFD'*)
5430 lt_cv_prog_gnu_ld
=yes
5433 lt_cv_prog_gnu_ld
=no
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5438 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5439 with_gnu_ld
=$lt_cv_prog_gnu_ld
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5450 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5451 if test "${lt_cv_path_NM+set}" = set; then :
5452 $as_echo_n "(cached) " >&6
5454 if test -n "$NM"; then
5455 # Let the user override the test.
5458 lt_nm_to_check
="${ac_tool_prefix}nm"
5459 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5460 lt_nm_to_check
="$lt_nm_to_check nm"
5462 for lt_tmp_nm
in $lt_nm_to_check; do
5463 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5464 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5466 test -z "$ac_dir" && ac_dir
=.
5467 tmp_nm
="$ac_dir/$lt_tmp_nm"
5468 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5469 # Check to see if the nm accepts a BSD-compat flag.
5470 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5471 # nm: unknown option "B" ignored
5472 # Tru64's nm complains that /dev/null is an invalid object file
5473 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5474 */dev
/null
* |
*'Invalid file or object type'*)
5475 lt_cv_path_NM
="$tmp_nm -B"
5479 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5481 lt_cv_path_NM
="$tmp_nm -p"
5485 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5486 continue # so that we can try to find one that supports BSD flags
5495 : ${lt_cv_path_NM=no}
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5499 $as_echo "$lt_cv_path_NM" >&6; }
5500 if test "$lt_cv_path_NM" != "no"; then
5503 # Didn't find any BSD compatible name lister, look for dumpbin.
5504 if test -n "$DUMPBIN"; then :
5505 # Let the user override the test.
5507 if test -n "$ac_tool_prefix"; then
5508 for ac_prog
in dumpbin
"link -dump"
5510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5511 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513 $as_echo_n "checking for $ac_word... " >&6; }
5514 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5515 $as_echo_n "(cached) " >&6
5517 if test -n "$DUMPBIN"; then
5518 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5524 test -z "$as_dir" && as_dir
=.
5525 for ac_exec_ext
in '' $ac_executable_extensions; do
5526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5527 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 DUMPBIN
=$ac_cv_prog_DUMPBIN
5538 if test -n "$DUMPBIN"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5540 $as_echo "$DUMPBIN" >&6; }
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5547 test -n "$DUMPBIN" && break
5550 if test -z "$DUMPBIN"; then
5551 ac_ct_DUMPBIN
=$DUMPBIN
5552 for ac_prog
in dumpbin
"link -dump"
5554 # Extract the first word of "$ac_prog", so it can be a program name with args.
5555 set dummy
$ac_prog; ac_word
=$2
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5557 $as_echo_n "checking for $ac_word... " >&6; }
5558 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5559 $as_echo_n "(cached) " >&6
5561 if test -n "$ac_ct_DUMPBIN"; then
5562 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5568 test -z "$as_dir" && as_dir
=.
5569 for ac_exec_ext
in '' $ac_executable_extensions; do
5570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5571 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5582 if test -n "$ac_ct_DUMPBIN"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5584 $as_echo "$ac_ct_DUMPBIN" >&6; }
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587 $as_echo "no" >&6; }
5591 test -n "$ac_ct_DUMPBIN" && break
5594 if test "x$ac_ct_DUMPBIN" = x
; then
5597 case $cross_compiling:$ac_tool_warned in
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5601 ac_tool_warned
=yes ;;
5603 DUMPBIN
=$ac_ct_DUMPBIN
5607 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5609 DUMPBIN
="$DUMPBIN -symbols"
5617 if test "$DUMPBIN" != ":"; then
5621 test -z "$NM" && NM
=nm
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5629 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5630 if test "${lt_cv_nm_interface+set}" = set; then :
5631 $as_echo_n "(cached) " >&6
5633 lt_cv_nm_interface
="BSD nm"
5634 echo "int some_variable = 0;" > conftest.
$ac_ext
5635 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5636 (eval "$ac_compile" 2>conftest.err
)
5637 cat conftest.err
>&5
5638 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5639 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5640 cat conftest.err
>&5
5641 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5642 cat conftest.out
>&5
5643 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5644 lt_cv_nm_interface
="MS dumpbin"
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5649 $as_echo "$lt_cv_nm_interface" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5652 $as_echo_n "checking whether ln -s works... " >&6; }
5654 if test "$LN_S" = "ln -s"; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5656 $as_echo "yes" >&6; }
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5659 $as_echo "no, using $LN_S" >&6; }
5662 # find the maximum length of command line arguments
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5664 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5665 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5666 $as_echo_n "(cached) " >&6
5673 # On DJGPP, this test can blow up pretty badly due to problems in libc
5674 # (any single argument exceeding 2000 bytes causes a buffer overrun
5675 # during glob expansion). Even if it were fixed, the result of this
5676 # check would be larger than it should be.
5677 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5681 # Under GNU Hurd, this test is not required because there is
5682 # no limit to the length of command line arguments.
5683 # Libtool will interpret -1 as no limit whatsoever
5684 lt_cv_sys_max_cmd_len
=-1;
5687 cygwin
* | mingw
* | cegcc
*)
5688 # On Win9x/ME, this test blows up -- it succeeds, but takes
5689 # about 5 minutes as the teststring grows exponentially.
5690 # Worse, since 9x/ME are not pre-emptively multitasking,
5691 # you end up with a "frozen" computer, even though with patience
5692 # the test eventually succeeds (with a max line length of 256k).
5693 # Instead, let's just punt: use the minimum linelength reported by
5694 # all of the supported platforms: 8192 (on NT/2K/XP).
5695 lt_cv_sys_max_cmd_len
=8192;
5699 # On MiNT this can take a long time and run out of memory.
5700 lt_cv_sys_max_cmd_len
=8192;
5704 # On AmigaOS with pdksh, this test takes hours, literally.
5705 # So we just punt and use a minimum line length of 8192.
5706 lt_cv_sys_max_cmd_len
=8192;
5709 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5710 # This has been around since 386BSD, at least. Likely further.
5711 if test -x /sbin
/sysctl
; then
5712 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5713 elif test -x /usr
/sbin
/sysctl
; then
5714 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5716 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5718 # And add a safety zone
5719 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5720 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5724 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5725 lt_cv_sys_max_cmd_len
=196608
5729 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5730 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5731 # nice to cause kernel panics so lets avoid the loop below.
5732 # First set a reasonable default.
5733 lt_cv_sys_max_cmd_len
=16384
5735 if test -x /sbin
/sysconfig
; then
5736 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5737 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5742 lt_cv_sys_max_cmd_len
=102400
5744 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5745 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5746 if test -n "$kargmax"; then
5747 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5749 lt_cv_sys_max_cmd_len
=32768
5753 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5754 if test -n "$lt_cv_sys_max_cmd_len"; then
5755 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5756 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5758 # Make teststring a little bigger before we do anything with it.
5759 # a 1K string should be a reasonable start.
5760 for i
in 1 2 3 4 5 6 7 8 ; do
5761 teststring
=$teststring$teststring
5763 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5764 # If test is not a shell built-in, we'll probably end up computing a
5765 # maximum length that is only half of the actual maximum length, but
5767 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5768 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5769 test $i != 17 # 1/2 MB should be enough
5772 teststring
=$teststring$teststring
5774 # Only check the string length outside the loop.
5775 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5777 # Add a significant safety factor because C++ compilers can tack on
5778 # massive amounts of additional arguments before passing them to the
5779 # linker. It appears as though 1/2 is a usable value.
5780 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5787 if test -n $lt_cv_sys_max_cmd_len ; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5789 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5792 $as_echo "none" >&6; }
5794 max_cmd_len
=$lt_cv_sys_max_cmd_len
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5806 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5807 # Try some XSI features
5810 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5812 && eval 'test $(( 1 + 1 )) -eq 2 \
5813 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5816 $as_echo "$xsi_shell" >&6; }
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5820 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5822 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5824 && lt_shell_append=yes
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5826 $as_echo "$lt_shell_append" >&6; }
5829 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5839 # test EBCDIC or ASCII
5840 case `echo X|tr X '\101'` in
5841 A) # ASCII based system
5842 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5843 lt_SP2NL='tr \040 \012'
5844 lt_NL2SP='tr \015\012 \040\040'
5846 *) # EBCDIC based system
5847 lt_SP2NL='tr \100 \n'
5848 lt_NL2SP='tr \r\n \100\100'
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5861 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5862 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5863 $as_echo_n "(cached
) " >&6
5865 lt_cv_ld_reload_flag='-r'
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5868 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5869 reload_flag=$lt_cv_ld_reload_flag
5870 case $reload_flag in
5872 *) reload_flag=" $reload_flag" ;;
5874 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5877 if test "$GCC" = yes; then
5878 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5880 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5893 if test -n "$ac_tool_prefix"; then
5894 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5895 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5897 $as_echo_n "checking
for $ac_word...
" >&6; }
5898 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5899 $as_echo_n "(cached
) " >&6
5901 if test -n "$OBJDUMP"; then
5902 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 test -z "$as_dir" && as_dir=.
5909 for ac_exec_ext in '' $ac_executable_extensions; do
5910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5911 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5921 OBJDUMP=$ac_cv_prog_OBJDUMP
5922 if test -n "$OBJDUMP"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5924 $as_echo "$OBJDUMP" >&6; }
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5927 $as_echo "no
" >&6; }
5932 if test -z "$ac_cv_prog_OBJDUMP"; then
5933 ac_ct_OBJDUMP=$OBJDUMP
5934 # Extract the first word of "objdump
", so it can be a program name with args.
5935 set dummy objdump; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5937 $as_echo_n "checking
for $ac_word...
" >&6; }
5938 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5939 $as_echo_n "(cached
) " >&6
5941 if test -n "$ac_ct_OBJDUMP"; then
5942 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5961 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5962 if test -n "$ac_ct_OBJDUMP"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5964 $as_echo "$ac_ct_OBJDUMP" >&6; }
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5967 $as_echo "no
" >&6; }
5970 if test "x
$ac_ct_OBJDUMP" = x; then
5973 case $cross_compiling:$ac_tool_warned in
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5976 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5977 ac_tool_warned=yes ;;
5979 OBJDUMP=$ac_ct_OBJDUMP
5982 OBJDUMP="$ac_cv_prog_OBJDUMP"
5985 test -z "$OBJDUMP" && OBJDUMP=objdump
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5996 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5997 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5998 $as_echo_n "(cached
) " >&6
6000 lt_cv_file_magic_cmd='$MAGIC_CMD'
6001 lt_cv_file_magic_test_file=
6002 lt_cv_deplibs_check_method='unknown'
6003 # Need to set the preceding variable on all platforms that support
6004 # interlibrary dependencies.
6005 # 'none' -- dependencies not supported.
6006 # `unknown' -- same as none, but documents that we really don't know.
6007 # 'pass_all' -- all dependencies passed with no checks.
6008 # 'test_compile' -- check by making test program.
6009 # 'file_magic [[regex]]' -- check by looking for files in library path
6010 # which responds to the $file_magic_cmd with a given extended regex.
6011 # If you have `file' or equivalent on your system and you're not sure
6012 # whether `pass_all' will *always* work, you probably want this one.
6016 lt_cv_deplibs_check_method=pass_all
6020 lt_cv_deplibs_check_method=pass_all
6024 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6025 lt_cv_file_magic_cmd='/usr/bin/file -L'
6026 lt_cv_file_magic_test_file=/shlib/libc.so
6030 # func_win32_libid is a shell function defined in ltmain.sh
6031 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6032 lt_cv_file_magic_cmd='func_win32_libid'
6036 # Base MSYS/MinGW do not provide the 'file' command needed by
6037 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6038 # unless we find 'file', for example because we are cross-compiling.
6039 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6040 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6041 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6042 lt_cv_file_magic_cmd='func_win32_libid'
6044 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6045 lt_cv_file_magic_cmd='$OBJDUMP -f'
6050 # use the weaker test based on 'objdump'. See mingw*.
6051 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6052 lt_cv_file_magic_cmd='$OBJDUMP -f'
6055 darwin* | rhapsody*)
6056 lt_cv_deplibs_check_method=pass_all
6059 freebsd* | dragonfly*)
6060 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6063 # Not sure whether the presence of OpenBSD here was a mistake.
6064 # Let's accept both of them until this is cleared up.
6065 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6066 lt_cv_file_magic_cmd=/usr/bin/file
6067 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6071 lt_cv_deplibs_check_method=pass_all
6076 lt_cv_deplibs_check_method=pass_all
6080 lt_cv_deplibs_check_method=pass_all
6083 hpux10.20* | hpux11*)
6084 lt_cv_file_magic_cmd=/usr/bin/file
6087 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6088 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6091 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]'
6092 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6095 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6096 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6102 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6103 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6106 irix5* | irix6* | nonstopux*)
6108 *-32|*"-32 ") libmagic=32-bit;;
6109 *-n32|*"-n32 ") libmagic=N32;;
6110 *-64|*"-64 ") libmagic=64-bit;;
6111 *) libmagic=never-match;;
6113 lt_cv_deplibs_check_method=pass_all
6116 # This must be Linux ELF.
6117 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6118 lt_cv_deplibs_check_method=pass_all
6122 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6123 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6125 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6130 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6131 lt_cv_file_magic_cmd=/usr/bin/file
6132 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6136 lt_cv_deplibs_check_method=pass_all
6140 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6141 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6143 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6147 osf3* | osf4* | osf5*)
6148 lt_cv_deplibs_check_method=pass_all
6152 lt_cv_deplibs_check_method=pass_all
6156 lt_cv_deplibs_check_method=pass_all
6159 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6160 lt_cv_deplibs_check_method=pass_all
6164 case $host_vendor in
6166 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]'
6167 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6170 lt_cv_deplibs_check_method=pass_all
6173 lt_cv_file_magic_cmd='/bin/file'
6174 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6177 lt_cv_file_magic_cmd='/bin/file'
6178 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6179 lt_cv_file_magic_test_file=/lib/libc.so
6182 lt_cv_deplibs_check_method=pass_all
6185 lt_cv_deplibs_check_method=pass_all
6191 lt_cv_deplibs_check_method=pass_all
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6197 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6198 file_magic_cmd=$lt_cv_file_magic_cmd
6199 deplibs_check_method=$lt_cv_deplibs_check_method
6200 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6213 if test -n "$ac_tool_prefix"; then
6214 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6215 set dummy ${ac_tool_prefix}ar; ac_word=$2
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6217 $as_echo_n "checking
for $ac_word...
" >&6; }
6218 if test "${ac_cv_prog_AR+set}" = set; then :
6219 $as_echo_n "(cached
) " >&6
6221 if test -n "$AR"; then
6222 ac_cv_prog_AR="$AR" # Let the user override the test.
6224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228 test -z "$as_dir" && as_dir=.
6229 for ac_exec_ext in '' $ac_executable_extensions; do
6230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6231 ac_cv_prog_AR="${ac_tool_prefix}ar"
6232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6242 if test -n "$AR"; then
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6244 $as_echo "$AR" >&6; }
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6247 $as_echo "no
" >&6; }
6252 if test -z "$ac_cv_prog_AR"; then
6254 # Extract the first word of "ar", so it can be a program name with args.
6255 set dummy ar; ac_word=$2
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6257 $as_echo_n "checking
for $ac_word...
" >&6; }
6258 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6259 $as_echo_n "(cached
) " >&6
6261 if test -n "$ac_ct_AR"; then
6262 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6268 test -z "$as_dir" && as_dir=.
6269 for ac_exec_ext in '' $ac_executable_extensions; do
6270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6271 ac_cv_prog_ac_ct_AR="ar"
6272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6281 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6282 if test -n "$ac_ct_AR"; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6284 $as_echo "$ac_ct_AR" >&6; }
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6287 $as_echo "no
" >&6; }
6290 if test "x
$ac_ct_AR" = x; then
6293 case $cross_compiling:$ac_tool_warned in
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6296 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6297 ac_tool_warned=yes ;;
6305 test -z "$AR" && AR=ar
6306 test -z "$AR_FLAGS" && AR_FLAGS=cru
6318 if test -n "$ac_tool_prefix"; then
6319 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6320 set dummy ${ac_tool_prefix}strip; ac_word=$2
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6322 $as_echo_n "checking
for $ac_word...
" >&6; }
6323 if test "${ac_cv_prog_STRIP+set}" = set; then :
6324 $as_echo_n "(cached
) " >&6
6326 if test -n "$STRIP"; then
6327 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6333 test -z "$as_dir" && as_dir=.
6334 for ac_exec_ext in '' $ac_executable_extensions; do
6335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6336 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6337 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6346 STRIP=$ac_cv_prog_STRIP
6347 if test -n "$STRIP"; then
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6349 $as_echo "$STRIP" >&6; }
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6352 $as_echo "no
" >&6; }
6357 if test -z "$ac_cv_prog_STRIP"; then
6359 # Extract the first word of "strip
", so it can be a program name with args.
6360 set dummy strip; ac_word=$2
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6362 $as_echo_n "checking
for $ac_word...
" >&6; }
6363 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6364 $as_echo_n "(cached
) " >&6
6366 if test -n "$ac_ct_STRIP"; then
6367 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6373 test -z "$as_dir" && as_dir=.
6374 for ac_exec_ext in '' $ac_executable_extensions; do
6375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6376 ac_cv_prog_ac_ct_STRIP="strip
"
6377 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6386 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6387 if test -n "$ac_ct_STRIP"; then
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6389 $as_echo "$ac_ct_STRIP" >&6; }
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6392 $as_echo "no
" >&6; }
6395 if test "x
$ac_ct_STRIP" = x; then
6398 case $cross_compiling:$ac_tool_warned in
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6401 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6402 ac_tool_warned=yes ;;
6407 STRIP="$ac_cv_prog_STRIP"
6410 test -z "$STRIP" && STRIP=:
6417 if test -n "$ac_tool_prefix"; then
6418 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6419 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6421 $as_echo_n "checking
for $ac_word...
" >&6; }
6422 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6423 $as_echo_n "(cached
) " >&6
6425 if test -n "$RANLIB"; then
6426 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 test -z "$as_dir" && as_dir=.
6433 for ac_exec_ext in '' $ac_executable_extensions; do
6434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6435 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6436 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6445 RANLIB=$ac_cv_prog_RANLIB
6446 if test -n "$RANLIB"; then
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6448 $as_echo "$RANLIB" >&6; }
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6451 $as_echo "no
" >&6; }
6456 if test -z "$ac_cv_prog_RANLIB"; then
6457 ac_ct_RANLIB=$RANLIB
6458 # Extract the first word of "ranlib
", so it can be a program name with args.
6459 set dummy ranlib; ac_word=$2
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6461 $as_echo_n "checking
for $ac_word...
" >&6; }
6462 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6463 $as_echo_n "(cached
) " >&6
6465 if test -n "$ac_ct_RANLIB"; then
6466 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 test -z "$as_dir" && as_dir=.
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6475 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6476 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6485 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6486 if test -n "$ac_ct_RANLIB"; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6488 $as_echo "$ac_ct_RANLIB" >&6; }
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6491 $as_echo "no
" >&6; }
6494 if test "x
$ac_ct_RANLIB" = x; then
6497 case $cross_compiling:$ac_tool_warned in
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6500 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6501 ac_tool_warned=yes ;;
6503 RANLIB=$ac_ct_RANLIB
6506 RANLIB="$ac_cv_prog_RANLIB"
6509 test -z "$RANLIB" && RANLIB=:
6516 # Determine commands to create old-style static archives.
6517 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6518 old_postinstall_cmds='chmod 644 $oldlib'
6519 old_postuninstall_cmds=
6521 if test -n "$RANLIB"; then
6524 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6527 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6530 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6535 lock_old_archive_extraction=yes ;;
6537 lock_old_archive_extraction=no ;;
6578 # If no C compiler was specified, use CC.
6581 # If no C compiler flags were specified, use CFLAGS.
6582 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6584 # Allow CC to be a program name with arguments.
6588 # Check for command to grab the raw symbol name followed by C symbol from nm.
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6590 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6591 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6592 $as_echo_n "(cached
) " >&6
6595 # These are sane defaults that work on at least a few old systems.
6596 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6598 # Character class describing NM global symbol codes.
6599 symcode='[BCDEGRST]'
6601 # Regexp to match symbols that can be accessed directly from C.
6602 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6604 # Define system-specific variables.
6609 cygwin* | mingw* | pw32* | cegcc*)
6610 symcode='[ABCDGISTW]'
6613 if test "$host_cpu" = ia64; then
6614 symcode='[ABCDEGRST]'
6618 symcode='[BCDEGRST]'
6621 symcode='[BCDEGQRST]'
6632 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6640 # If we're using GNU nm, then use its standard symbol codes.
6641 case `$NM -V 2>&1` in
6642 *GNU* | *'with BFD'*)
6643 symcode='[ABCDGIRSTW]' ;;
6646 # Transform an extracted symbol line into a proper C declaration.
6647 # Some systems (esp. on ia64) link data and code symbols differently,
6648 # so use this general approach.
6649 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6651 # Transform an extracted symbol line into symbol name and symbol address
6652 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6653 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'"
6655 # Handle CRLF in mingw tool chain
6659 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6663 # Try without a prefix underscore, then with it.
6664 for ac_symprfx in "" "_
"; do
6666 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6667 symxfrm="\\1 $ac_symprfx\\2 \\2"
6669 # Write the raw and C identifiers.
6670 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6671 # Fake it for dumpbin and say T for any non-static function
6672 # and D for any global variable.
6673 # Also find C++ and __fastcall symbols from MSVC++,
6674 # which start with @ or ?.
6675 lt_cv_sys_global_symbol_pipe="$AWK '"\
6676 " {last_section=section; section=\$ 3};"\
6677 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6678 " \$ 0!~/External *\|/{next};"\
6679 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6680 " {if(hide[section]) next};"\
6681 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6682 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6683 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6684 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6685 " ' prfx
=^
$ac_symprfx"
6687 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6690 # Check to see that the pipe works correctly.
6694 cat > conftest.$ac_ext <<_LT_EOF
6699 void nm_test_func(void);
6700 void nm_test_func(void){}
6704 int main(){nm_test_var='a';nm_test_func();return(0);}
6707 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6708 (eval $ac_compile) 2>&5
6710 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6711 test $ac_status = 0; }; then
6712 # Now try to grab the symbols.
6714 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6715 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6717 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6718 test $ac_status = 0; } && test -s "$nlist"; then
6719 # Try sorting and uniquifying the output.
6720 if sort "$nlist" | uniq > "$nlist"T; then
6721 mv -f "$nlist"T "$nlist"
6726 # Make sure that we snagged all the symbols we need.
6727 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6728 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6729 cat <<_LT_EOF > conftest.$ac_ext
6735 # Now generate the symbol file.
6736 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6738 cat <<_LT_EOF >> conftest.$ac_ext
6740 /* The mapping between symbol names and symbols. */
6745 lt__PROGRAM__LTX_preloaded_symbols[] =
6747 { "@PROGRAM@
", (void *) 0 },
6749 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6750 cat <<\_LT_EOF >> conftest.$ac_ext
6754 /* This works around a problem in FreeBSD linker */
6755 #ifdef FREEBSD_WORKAROUND
6756 static const void *lt_preloaded_setup() {
6757 return lt__PROGRAM__LTX_preloaded_symbols;
6765 # Now try linking the two files.
6766 mv conftest.$ac_objext conftstm.$ac_objext
6767 lt_save_LIBS="$LIBS"
6768 lt_save_CFLAGS="$CFLAGS"
6769 LIBS="conftstm.
$ac_objext"
6770 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6771 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6772 (eval $ac_link) 2>&5
6774 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6775 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6778 LIBS="$lt_save_LIBS"
6779 CFLAGS="$lt_save_CFLAGS"
6781 echo "cannot
find nm_test_func
in $nlist" >&5
6784 echo "cannot
find nm_test_var
in $nlist" >&5
6787 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6790 echo "$progname: failed program was
:" >&5
6791 cat conftest.$ac_ext >&5
6793 rm -rf conftest* conftst*
6795 # Do not use the global_symbol_pipe unless it works.
6796 if test "$pipe_works" = yes; then
6799 lt_cv_sys_global_symbol_pipe=
6805 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6806 lt_cv_sys_global_symbol_to_cdecl=
6808 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6810 $as_echo "failed
" >&6; }
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6813 $as_echo "ok
" >&6; }
6837 # Check whether --enable-libtool-lock was given.
6838 if test "${enable_libtool_lock+set}" = set; then :
6839 enableval=$enable_libtool_lock;
6842 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6844 # Some flags need to be propagated to the compiler or linker for good
6848 # Find out which ABI we are using.
6849 echo 'int i;' > conftest.$ac_ext
6850 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6851 (eval $ac_compile) 2>&5
6853 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6854 test $ac_status = 0; }; then
6855 case `/usr/bin/file conftest.$ac_objext` in
6867 # Find out which ABI we are using.
6868 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6869 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6870 (eval $ac_compile) 2>&5
6872 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6873 test $ac_status = 0; }; then
6874 if test "$lt_cv_prog_gnu_ld" = yes; then
6875 case `/usr/bin/file conftest.$ac_objext` in
6877 LD="${LD-ld} -melf32bsmip"
6880 LD="${LD-ld} -melf32bmipn32"
6883 LD="${LD-ld} -melf64bmip"
6887 case `/usr/bin/file conftest.$ac_objext` in
6903 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6904 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6905 # Find out which ABI we are using.
6906 echo 'int i;' > conftest.$ac_ext
6907 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6908 (eval $ac_compile) 2>&5
6910 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6911 test $ac_status = 0; }; then
6912 case `/usr/bin/file conftest.o` in
6915 x86_64-*kfreebsd*-gnu)
6916 LD="${LD-ld} -m elf_i386_fbsd
"
6919 LD="${LD-ld} -m elf_i386
"
6921 ppc64-*linux*|powerpc64-*linux*)
6922 LD="${LD-ld} -m elf32ppclinux
"
6925 LD="${LD-ld} -m elf_s390
"
6928 LD="${LD-ld} -m elf32_sparc
"
6934 x86_64-*kfreebsd*-gnu)
6935 LD="${LD-ld} -m elf_x86_64_fbsd
"
6938 LD="${LD-ld} -m elf_x86_64
"
6940 ppc*-*linux*|powerpc*-*linux*)
6941 LD="${LD-ld} -m elf64ppc
"
6943 s390*-*linux*|s390*-*tpf*)
6944 LD="${LD-ld} -m elf64_s390
"
6947 LD="${LD-ld} -m elf64_sparc
"
6957 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6958 SAVE_CFLAGS="$CFLAGS"
6959 CFLAGS="$CFLAGS -belf"
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6961 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6962 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6963 $as_echo_n "(cached
) " >&6
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
6971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6972 /* end confdefs.h. */
6982 if ac_fn_c_try_link "$LINENO"; then :
6983 lt_cv_cc_needs_belf=yes
6985 lt_cv_cc_needs_belf=no
6987 rm -f core conftest.err conftest.$ac_objext \
6988 conftest$ac_exeext conftest.$ac_ext
6990 ac_cpp='$CPP $CPPFLAGS'
6991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6997 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6998 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6999 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7000 CFLAGS="$SAVE_CFLAGS"
7004 # Find out which ABI we are using.
7005 echo 'int i;' > conftest.$ac_ext
7006 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7007 (eval $ac_compile) 2>&5
7009 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7010 test $ac_status = 0; }; then
7011 case `/usr/bin/file conftest.o` in
7013 case $lt_cv_prog_gnu_ld in
7014 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7016 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7028 need_locks="$enable_libtool_lock"
7032 rhapsody* | darwin*)
7033 if test -n "$ac_tool_prefix"; then
7034 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7035 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7037 $as_echo_n "checking
for $ac_word...
" >&6; }
7038 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7039 $as_echo_n "(cached
) " >&6
7041 if test -n "$DSYMUTIL"; then
7042 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048 test -z "$as_dir" && as_dir=.
7049 for ac_exec_ext in '' $ac_executable_extensions; do
7050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7051 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7061 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7062 if test -n "$DSYMUTIL"; then
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7064 $as_echo "$DSYMUTIL" >&6; }
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7067 $as_echo "no
" >&6; }
7072 if test -z "$ac_cv_prog_DSYMUTIL"; then
7073 ac_ct_DSYMUTIL=$DSYMUTIL
7074 # Extract the first word of "dsymutil
", so it can be a program name with args.
7075 set dummy dsymutil; ac_word=$2
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7077 $as_echo_n "checking
for $ac_word...
" >&6; }
7078 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7079 $as_echo_n "(cached
) " >&6
7081 if test -n "$ac_ct_DSYMUTIL"; then
7082 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7088 test -z "$as_dir" && as_dir=.
7089 for ac_exec_ext in '' $ac_executable_extensions; do
7090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7091 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7101 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7102 if test -n "$ac_ct_DSYMUTIL"; then
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7104 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7107 $as_echo "no
" >&6; }
7110 if test "x
$ac_ct_DSYMUTIL" = x; then
7113 case $cross_compiling:$ac_tool_warned in
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7116 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7117 ac_tool_warned=yes ;;
7119 DSYMUTIL=$ac_ct_DSYMUTIL
7122 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7125 if test -n "$ac_tool_prefix"; then
7126 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7127 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7129 $as_echo_n "checking
for $ac_word...
" >&6; }
7130 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7131 $as_echo_n "(cached
) " >&6
7133 if test -n "$NMEDIT"; then
7134 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7140 test -z "$as_dir" && as_dir=.
7141 for ac_exec_ext in '' $ac_executable_extensions; do
7142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7143 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7153 NMEDIT=$ac_cv_prog_NMEDIT
7154 if test -n "$NMEDIT"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7156 $as_echo "$NMEDIT" >&6; }
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7159 $as_echo "no
" >&6; }
7164 if test -z "$ac_cv_prog_NMEDIT"; then
7165 ac_ct_NMEDIT=$NMEDIT
7166 # Extract the first word of "nmedit
", so it can be a program name with args.
7167 set dummy nmedit; ac_word=$2
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7169 $as_echo_n "checking
for $ac_word...
" >&6; }
7170 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7171 $as_echo_n "(cached
) " >&6
7173 if test -n "$ac_ct_NMEDIT"; then
7174 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7180 test -z "$as_dir" && as_dir=.
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7183 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7193 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7194 if test -n "$ac_ct_NMEDIT"; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7196 $as_echo "$ac_ct_NMEDIT" >&6; }
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7199 $as_echo "no
" >&6; }
7202 if test "x
$ac_ct_NMEDIT" = x; then
7205 case $cross_compiling:$ac_tool_warned in
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7208 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7209 ac_tool_warned=yes ;;
7211 NMEDIT=$ac_ct_NMEDIT
7214 NMEDIT="$ac_cv_prog_NMEDIT"
7217 if test -n "$ac_tool_prefix"; then
7218 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7219 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7221 $as_echo_n "checking
for $ac_word...
" >&6; }
7222 if test "${ac_cv_prog_LIPO+set}" = set; then :
7223 $as_echo_n "(cached
) " >&6
7225 if test -n "$LIPO"; then
7226 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7232 test -z "$as_dir" && as_dir=.
7233 for ac_exec_ext in '' $ac_executable_extensions; do
7234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7235 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7236 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7245 LIPO=$ac_cv_prog_LIPO
7246 if test -n "$LIPO"; then
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7248 $as_echo "$LIPO" >&6; }
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7251 $as_echo "no
" >&6; }
7256 if test -z "$ac_cv_prog_LIPO"; then
7258 # Extract the first word of "lipo
", so it can be a program name with args.
7259 set dummy lipo; ac_word=$2
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7261 $as_echo_n "checking
for $ac_word...
" >&6; }
7262 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7263 $as_echo_n "(cached
) " >&6
7265 if test -n "$ac_ct_LIPO"; then
7266 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7272 test -z "$as_dir" && as_dir=.
7273 for ac_exec_ext in '' $ac_executable_extensions; do
7274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7275 ac_cv_prog_ac_ct_LIPO="lipo
"
7276 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7285 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7286 if test -n "$ac_ct_LIPO"; then
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7288 $as_echo "$ac_ct_LIPO" >&6; }
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7291 $as_echo "no
" >&6; }
7294 if test "x
$ac_ct_LIPO" = x; then
7297 case $cross_compiling:$ac_tool_warned in
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7300 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7301 ac_tool_warned=yes ;;
7306 LIPO="$ac_cv_prog_LIPO"
7309 if test -n "$ac_tool_prefix"; then
7310 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7311 set dummy ${ac_tool_prefix}otool; ac_word=$2
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7313 $as_echo_n "checking
for $ac_word...
" >&6; }
7314 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7315 $as_echo_n "(cached
) " >&6
7317 if test -n "$OTOOL"; then
7318 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7324 test -z "$as_dir" && as_dir=.
7325 for ac_exec_ext in '' $ac_executable_extensions; do
7326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7327 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7328 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7337 OTOOL=$ac_cv_prog_OTOOL
7338 if test -n "$OTOOL"; then
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7340 $as_echo "$OTOOL" >&6; }
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7343 $as_echo "no
" >&6; }
7348 if test -z "$ac_cv_prog_OTOOL"; then
7350 # Extract the first word of "otool
", so it can be a program name with args.
7351 set dummy otool; ac_word=$2
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7353 $as_echo_n "checking
for $ac_word...
" >&6; }
7354 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7355 $as_echo_n "(cached
) " >&6
7357 if test -n "$ac_ct_OTOOL"; then
7358 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7364 test -z "$as_dir" && as_dir=.
7365 for ac_exec_ext in '' $ac_executable_extensions; do
7366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7367 ac_cv_prog_ac_ct_OTOOL="otool
"
7368 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7377 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7378 if test -n "$ac_ct_OTOOL"; then
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7380 $as_echo "$ac_ct_OTOOL" >&6; }
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7383 $as_echo "no
" >&6; }
7386 if test "x
$ac_ct_OTOOL" = x; then
7389 case $cross_compiling:$ac_tool_warned in
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7392 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7393 ac_tool_warned=yes ;;
7398 OTOOL="$ac_cv_prog_OTOOL"
7401 if test -n "$ac_tool_prefix"; then
7402 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7403 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7405 $as_echo_n "checking
for $ac_word...
" >&6; }
7406 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7407 $as_echo_n "(cached
) " >&6
7409 if test -n "$OTOOL64"; then
7410 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7416 test -z "$as_dir" && as_dir=.
7417 for ac_exec_ext in '' $ac_executable_extensions; do
7418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7419 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7420 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7429 OTOOL64=$ac_cv_prog_OTOOL64
7430 if test -n "$OTOOL64"; then
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7432 $as_echo "$OTOOL64" >&6; }
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7435 $as_echo "no
" >&6; }
7440 if test -z "$ac_cv_prog_OTOOL64"; then
7441 ac_ct_OTOOL64=$OTOOL64
7442 # Extract the first word of "otool64
", so it can be a program name with args.
7443 set dummy otool64; ac_word=$2
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7445 $as_echo_n "checking
for $ac_word...
" >&6; }
7446 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7447 $as_echo_n "(cached
) " >&6
7449 if test -n "$ac_ct_OTOOL64"; then
7450 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7456 test -z "$as_dir" && as_dir=.
7457 for ac_exec_ext in '' $ac_executable_extensions; do
7458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7459 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7460 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7469 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7470 if test -n "$ac_ct_OTOOL64"; then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7472 $as_echo "$ac_ct_OTOOL64" >&6; }
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7475 $as_echo "no
" >&6; }
7478 if test "x
$ac_ct_OTOOL64" = x; then
7481 case $cross_compiling:$ac_tool_warned in
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7484 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7485 ac_tool_warned=yes ;;
7487 OTOOL64=$ac_ct_OTOOL64
7490 OTOOL64="$ac_cv_prog_OTOOL64"
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7520 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7521 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7522 $as_echo_n "(cached
) " >&6
7524 lt_cv_apple_cc_single_mod=no
7525 if test -z "${LT_MULTI_MODULE}"; then
7526 # By default we will add the -single_module flag. You can override
7527 # by either setting the environment variable LT_MULTI_MODULE
7528 # non-empty at configure time, or by adding -multi_module to the
7530 rm -rf libconftest.dylib*
7531 echo "int foo
(void
){return 1;}" > conftest.c
7532 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7533 -dynamiclib -Wl,-single_module conftest.c
" >&5
7534 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7535 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7537 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7538 lt_cv_apple_cc_single_mod=yes
7540 cat conftest.err >&5
7542 rm -rf libconftest.dylib*
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7547 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7549 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7550 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7551 $as_echo_n "(cached
) " >&6
7553 lt_cv_ld_exported_symbols_list=no
7554 save_LDFLAGS=$LDFLAGS
7555 echo "_main
" > conftest.sym
7556 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7558 /* end confdefs.h. */
7568 if ac_fn_c_try_link "$LINENO"; then :
7569 lt_cv_ld_exported_symbols_list=yes
7571 lt_cv_ld_exported_symbols_list=no
7573 rm -f core conftest.err conftest.$ac_objext \
7574 conftest$ac_exeext conftest.$ac_ext
7575 LDFLAGS="$save_LDFLAGS"
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7579 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7581 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7582 if test "${lt_cv_ld_force_load+set}" = set; then :
7583 $as_echo_n "(cached
) " >&6
7585 lt_cv_ld_force_load=no
7586 cat > conftest.c << _LT_EOF
7587 int forced_loaded() { return 2;}
7589 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7590 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7591 echo "$AR cru libconftest.a conftest.o
" >&5
7592 $AR cru libconftest.a conftest.o 2>&5
7593 cat > conftest.c << _LT_EOF
7594 int main() { return 0;}
7596 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7597 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7599 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7600 lt_cv_ld_force_load=yes
7602 cat conftest.err >&5
7604 rm -f conftest.err libconftest.a conftest conftest.c
7605 rm -rf conftest.dSYM
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7609 $as_echo "$lt_cv_ld_force_load" >&6; }
7611 rhapsody* | darwin1.[012])
7612 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7614 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7615 darwin*) # darwin 5.x on
7616 # if running on 10.5 or later, the deployment target defaults
7617 # to the OS version, if on x86, and 10.4, the deployment
7618 # target defaults to 10.4. Don't you love it?
7619 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7620 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7621 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7623 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7625 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7629 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7630 _lt_dar_single_mod='$single_module'
7632 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7633 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7635 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7637 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7638 _lt_dsymutil='~$DSYMUTIL $lib || :'
7645 for ac_header in dlfcn.h
7647 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7649 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7650 cat >>confdefs.h <<_ACEOF
7651 #define HAVE_DLFCN_H 1
7671 # Check whether --enable-shared was given.
7672 if test "${enable_shared+set}" = set; then :
7673 enableval=$enable_shared; p=${PACKAGE-default}
7675 yes) enable_shared=yes ;;
7676 no) enable_shared=no ;;
7679 # Look at the argument we got. We use all the common list separators.
7680 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7681 for pkg in $enableval; do
7683 if test "X
$pkg" = "X
$p"; then
7702 # Check whether --enable-static was given.
7703 if test "${enable_static+set}" = set; then :
7704 enableval=$enable_static; p=${PACKAGE-default}
7706 yes) enable_static=yes ;;
7707 no) enable_static=no ;;
7710 # Look at the argument we got. We use all the common list separators.
7711 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7712 for pkg in $enableval; do
7714 if test "X
$pkg" = "X
$p"; then
7734 # Check whether --with-pic was given.
7735 if test "${with_pic+set}" = set; then :
7736 withval=$with_pic; p=${PACKAGE-default}
7738 yes|no) pic_mode="$withval" ;;
7741 # Look at the argument we got. We use all the common list separators.
7742 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7743 for pkg in $withval; do
7745 if test "X
$pkg" = "X
$p"; then
7757 test -z "$pic_mode" && pic_mode=default
7765 # Check whether --enable-fast-install was given.
7766 if test "${enable_fast_install+set}" = set; then :
7767 enableval=$enable_fast_install; p=${PACKAGE-default}
7769 yes) enable_fast_install=yes ;;
7770 no) enable_fast_install=no ;;
7772 enable_fast_install=no
7773 # Look at the argument we got. We use all the common list separators.
7774 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7775 for pkg in $enableval; do
7777 if test "X
$pkg" = "X
$p"; then
7778 enable_fast_install=yes
7785 enable_fast_install=yes
7798 # This can be used to rebuild libtool when needed
7799 LIBTOOL_DEPS="$ltmain"
7801 # Always use our own libtool.
7802 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7829 test -z "$LN_S" && LN_S="ln -s"
7844 if test -n "${ZSH_VERSION+set}" ; then
7845 setopt NO_GLOB_SUBST
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7849 $as_echo_n "checking
for objdir...
" >&6; }
7850 if test "${lt_cv_objdir+set}" = set; then :
7851 $as_echo_n "(cached
) " >&6
7853 rm -f .libs 2>/dev/null
7854 mkdir .libs 2>/dev/null
7855 if test -d .libs; then
7858 # MS-DOS does not allow filenames that begin with a dot.
7861 rmdir .libs 2>/dev/null
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7864 $as_echo "$lt_cv_objdir" >&6; }
7865 objdir=$lt_cv_objdir
7871 cat >>confdefs.h <<_ACEOF
7872 #define LT_OBJDIR "$lt_cv_objdir/"
7880 # AIX sometimes has problems with the GCC collect2 program. For some
7881 # reason, if we set the COLLECT_NAMES environment variable, the problems
7882 # vanish in a puff of smoke.
7883 if test "X
${COLLECT_NAMES+set}" != Xset; then
7885 export COLLECT_NAMES
7892 can_build_shared=yes
7894 # All known linkers require a `.a' archive for static linking (except MSVC,
7895 # which needs '.lib').
7898 with_gnu_ld="$lt_cv_prog_gnu_ld"
7901 old_CFLAGS="$CFLAGS"
7903 # Set sane defaults for various variables
7904 test -z "$CC" && CC=cc
7905 test -z "$LTCC" && LTCC=$CC
7906 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7907 test -z "$LD" && LD=ld
7908 test -z "$ac_objext" && ac_objext=o
7910 for cc_temp in $compiler""; do
7912 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7913 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7918 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7921 # Only perform the check for file, if the check method requires it
7922 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7923 case $deplibs_check_method in
7925 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
7927 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
7928 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7929 $as_echo_n "(cached
) " >&6
7933 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7936 lt_save_MAGIC_CMD="$MAGIC_CMD"
7937 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7938 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7939 for ac_dir in $ac_dummy; do
7941 test -z "$ac_dir" && ac_dir=.
7942 if test -f $ac_dir/${ac_tool_prefix}file; then
7943 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7944 if test -n "$file_magic_test_file"; then
7945 case $deplibs_check_method in
7947 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7948 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7949 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7950 $EGREP "$file_magic_regex" > /dev/null; then
7955 *** Warning: the command libtool uses to detect shared libraries,
7956 *** $file_magic_cmd, produces output that libtool cannot recognize.
7957 *** The result is that libtool may fail to recognize shared libraries
7958 *** as such. This will affect the creation of libtool libraries that
7959 *** depend on shared libraries, but programs linked with such libtool
7960 *** libraries will work regardless of this problem. Nevertheless, you
7961 *** may want to report the problem to your system manager and/or to
7962 *** bug-libtool@gnu.org
7972 MAGIC_CMD="$lt_save_MAGIC_CMD"
7977 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7978 if test -n "$MAGIC_CMD"; then
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
7980 $as_echo "$MAGIC_CMD" >&6; }
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7983 $as_echo "no
" >&6; }
7990 if test -z "$lt_cv_path_MAGIC_CMD"; then
7991 if test -n "$ac_tool_prefix"; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
7993 $as_echo_n "checking
for file...
" >&6; }
7994 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7995 $as_echo_n "(cached
) " >&6
7999 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8002 lt_save_MAGIC_CMD="$MAGIC_CMD"
8003 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8004 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8005 for ac_dir in $ac_dummy; do
8007 test -z "$ac_dir" && ac_dir=.
8008 if test -f $ac_dir/file; then
8009 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8010 if test -n "$file_magic_test_file"; then
8011 case $deplibs_check_method in
8013 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8014 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8015 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8016 $EGREP "$file_magic_regex" > /dev/null; then
8021 *** Warning: the command libtool uses to detect shared libraries,
8022 *** $file_magic_cmd, produces output that libtool cannot recognize.
8023 *** The result is that libtool may fail to recognize shared libraries
8024 *** as such. This will affect the creation of libtool libraries that
8025 *** depend on shared libraries, but programs linked with such libtool
8026 *** libraries will work regardless of this problem. Nevertheless, you
8027 *** may want to report the problem to your system manager and/or to
8028 *** bug-libtool@gnu.org
8038 MAGIC_CMD="$lt_save_MAGIC_CMD"
8043 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8044 if test -n "$MAGIC_CMD"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8046 $as_echo "$MAGIC_CMD" >&6; }
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8049 $as_echo "no
" >&6; }
8062 # Use C for the default configuration in the libtool script
8066 ac_cpp='$CPP $CPPFLAGS'
8067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8072 # Source file extension for C test sources.
8075 # Object file extension for compiled C test sources.
8079 # Code to be used in simple compile tests
8080 lt_simple_compile_test_code="int some_variable
= 0;"
8082 # Code to be used in simple link tests
8083 lt_simple_link_test_code='int main(){return(0);}'
8091 # If no C compiler was specified, use CC.
8094 # If no C compiler flags were specified, use CFLAGS.
8095 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8097 # Allow CC to be a program name with arguments.
8100 # Save the default compiler, since it gets overwritten when the other
8101 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8102 compiler_DEFAULT=$CC
8104 # save warnings/boilerplate of simple test code
8105 ac_outfile=conftest.$ac_objext
8106 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8107 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8108 _lt_compiler_boilerplate=`cat conftest.err`
8111 ac_outfile=conftest.$ac_objext
8112 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8113 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8114 _lt_linker_boilerplate=`cat conftest.err`
8119 ## There is no encapsulation within the following macros, do not change
8120 ## the running order or otherwise move them around unless you know exactly
8121 ## what you are doing...
8122 if test -n "$compiler"; then
8124 lt_prog_compiler_no_builtin_flag=
8126 if test "$GCC" = yes; then
8127 case $cc_basename in
8129 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8131 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8135 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8136 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8137 $as_echo_n "(cached
) " >&6
8139 lt_cv_prog_compiler_rtti_exceptions=no
8140 ac_outfile=conftest.$ac_objext
8141 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8142 lt_compiler_flag="-fno-rtti -fno-exceptions"
8143 # Insert the option either (1) after the last *FLAGS variable, or
8144 # (2) before a word containing "conftest.
", or (3) at the end.
8145 # Note that $ac_compile itself does not contain backslashes and begins
8146 # with a dollar sign (not a hyphen), so the echo should work correctly.
8147 # The option is referenced via a variable to avoid confusing sed.
8148 lt_compile=`echo "$ac_compile" | $SED \
8149 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8150 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8151 -e 's:$: $lt_compiler_flag:'`
8152 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8153 (eval "$lt_compile" 2>conftest.err)
8155 cat conftest.err >&5
8156 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8157 if (exit $ac_status) && test -s "$ac_outfile"; then
8158 # The compiler can only warn and ignore the option if not recognized
8159 # So say no if there are warnings other than the usual output.
8160 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8161 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8162 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8163 lt_cv_prog_compiler_rtti_exceptions=yes
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8170 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8172 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8173 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8185 lt_prog_compiler_wl=
8186 lt_prog_compiler_pic=
8187 lt_prog_compiler_static=
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8190 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8192 if test "$GCC" = yes; then
8193 lt_prog_compiler_wl='-Wl,'
8194 lt_prog_compiler_static='-static'
8198 # All AIX code is PIC.
8199 if test "$host_cpu" = ia64; then
8200 # AIX 5 now supports IA64 processor
8201 lt_prog_compiler_static='-Bstatic'
8208 # see comment about AmigaOS4 .so support
8209 lt_prog_compiler_pic='-fPIC'
8212 # FIXME: we need at least 68020 code to build shared libraries, but
8213 # adding the `-m68020' flag to GCC prevents building anything better,
8215 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8220 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8221 # PIC is the default for these OSes.
8224 mingw* | cygwin* | pw32* | os2* | cegcc*)
8225 # This hack is so that the source file can tell whether it is being
8226 # built for inclusion in a dll (and should export symbols for example).
8227 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8228 # (--disable-auto-import) libraries
8229 lt_prog_compiler_pic='-DDLL_EXPORT'
8232 darwin* | rhapsody*)
8233 # PIC is the default on this platform
8234 # Common symbols not allowed in MH_DYLIB files
8235 lt_prog_compiler_pic='-fno-common'
8239 # PIC is the default for Haiku.
8240 # The "-static" flag exists, but is broken.
8241 lt_prog_compiler_static=
8245 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8246 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8247 # sets the default TLS model and affects inlining.
8253 lt_prog_compiler_pic='-fPIC'
8259 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8260 # Instead, we relocate shared libraries at runtime.
8264 # Just because we use GCC doesn't mean we suddenly get shared libraries
8265 # on systems that don't support them.
8266 lt_prog_compiler_can_build_shared=no
8271 # QNX uses GNU C++, but need to define -shared option too, otherwise
8273 lt_prog_compiler_pic='-fPIC -shared'
8277 if test -d /usr/nec; then
8278 lt_prog_compiler_pic=-Kconform_pic
8283 lt_prog_compiler_pic='-fPIC'
8287 case $cc_basename in
8288 nvcc*) # Cuda Compiler Driver 2.2
8289 lt_prog_compiler_wl='-Xlinker '
8290 lt_prog_compiler_pic='-Xcompiler -fPIC'
8294 # PORTME Check for flag to pass linker flags through the system compiler.
8297 lt_prog_compiler_wl='-Wl,'
8298 if test "$host_cpu" = ia64; then
8299 # AIX 5 now supports IA64 processor
8300 lt_prog_compiler_static='-Bstatic'
8302 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8306 mingw* | cygwin* | pw32* | os2* | cegcc*)
8307 # This hack is so that the source file can tell whether it is being
8308 # built for inclusion in a dll (and should export symbols for example).
8309 lt_prog_compiler_pic='-DDLL_EXPORT'
8312 hpux9* | hpux10* | hpux11*)
8313 lt_prog_compiler_wl='-Wl,'
8314 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8321 lt_prog_compiler_pic='+Z'
8324 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8325 lt_prog_compiler_static='${wl}-a ${wl}archive'
8328 irix5* | irix6* | nonstopux*)
8329 lt_prog_compiler_wl='-Wl,'
8330 # PIC (with -KPIC) is the default.
8331 lt_prog_compiler_static='-non_shared'
8334 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8335 case $cc_basename in
8336 # old Intel for x86_64 which still supported -KPIC.
8338 lt_prog_compiler_wl='-Wl,'
8339 lt_prog_compiler_pic='-KPIC'
8340 lt_prog_compiler_static='-static'
8342 # icc used to be incompatible with GCC.
8343 # ICC 10 doesn't accept -KPIC any more.
8345 lt_prog_compiler_wl='-Wl,'
8346 lt_prog_compiler_pic='-fPIC'
8347 lt_prog_compiler_static='-static'
8349 # Lahey Fortran 8.1.
8351 lt_prog_compiler_wl='-Wl,'
8352 lt_prog_compiler_pic='--shared'
8353 lt_prog_compiler_static='--static'
8355 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8356 # Portland Group compilers (*not* the Pentium gcc compiler,
8357 # which looks to be a dead project)
8358 lt_prog_compiler_wl='-Wl,'
8359 lt_prog_compiler_pic='-fpic'
8360 lt_prog_compiler_static='-Bstatic'
8363 lt_prog_compiler_wl='-Wl,'
8364 # All Alpha code is PIC.
8365 lt_prog_compiler_static='-non_shared'
8367 xl* | bgxl* | bgf* | mpixl*)
8368 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8369 lt_prog_compiler_wl='-Wl,'
8370 lt_prog_compiler_pic='-qpic'
8371 lt_prog_compiler_static='-qstaticlink'
8374 case `$CC -V 2>&1 | sed 5q` in
8375 *Sun\ F* | *Sun*Fortran*)
8376 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8377 lt_prog_compiler_pic='-KPIC'
8378 lt_prog_compiler_static='-Bstatic'
8379 lt_prog_compiler_wl=''
8383 lt_prog_compiler_pic='-KPIC'
8384 lt_prog_compiler_static='-Bstatic'
8385 lt_prog_compiler_wl='-Wl,'
8393 lt_prog_compiler_pic='-KPIC'
8394 lt_prog_compiler_static='-Bstatic'
8398 # QNX uses GNU C++, but need to define -shared option too, otherwise
8400 lt_prog_compiler_pic='-fPIC -shared'
8403 osf3* | osf4* | osf5*)
8404 lt_prog_compiler_wl='-Wl,'
8405 # All OSF/1 code is PIC.
8406 lt_prog_compiler_static='-non_shared'
8410 lt_prog_compiler_static='-non_shared'
8414 lt_prog_compiler_pic='-KPIC'
8415 lt_prog_compiler_static='-Bstatic'
8416 case $cc_basename in
8418 lt_prog_compiler_wl='-Qoption ld ';;
8420 lt_prog_compiler_wl='-Wl,';;
8425 lt_prog_compiler_wl='-Qoption ld '
8426 lt_prog_compiler_pic='-PIC'
8427 lt_prog_compiler_static='-Bstatic'
8430 sysv4 | sysv4.2uw2* | sysv4.3*)
8431 lt_prog_compiler_wl='-Wl,'
8432 lt_prog_compiler_pic='-KPIC'
8433 lt_prog_compiler_static='-Bstatic'
8437 if test -d /usr/nec ;then
8438 lt_prog_compiler_pic='-Kconform_pic'
8439 lt_prog_compiler_static='-Bstatic'
8443 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8444 lt_prog_compiler_wl='-Wl,'
8445 lt_prog_compiler_pic='-KPIC'
8446 lt_prog_compiler_static='-Bstatic'
8450 lt_prog_compiler_wl='-Wl,'
8451 lt_prog_compiler_can_build_shared=no
8455 lt_prog_compiler_pic='-pic'
8456 lt_prog_compiler_static='-Bstatic'
8460 lt_prog_compiler_can_build_shared=no
8466 # For platforms which do not support PIC, -DPIC is meaningless:
8468 lt_prog_compiler_pic=
8471 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8475 $as_echo "$lt_prog_compiler_pic" >&6; }
8483 # Check to make sure the PIC flag actually works.
8485 if test -n "$lt_prog_compiler_pic"; then
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8487 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8488 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8489 $as_echo_n "(cached
) " >&6
8491 lt_cv_prog_compiler_pic_works=no
8492 ac_outfile=conftest.$ac_objext
8493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8494 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8495 # Insert the option either (1) after the last *FLAGS variable, or
8496 # (2) before a word containing "conftest.
", or (3) at the end.
8497 # Note that $ac_compile itself does not contain backslashes and begins
8498 # with a dollar sign (not a hyphen), so the echo should work correctly.
8499 # The option is referenced via a variable to avoid confusing sed.
8500 lt_compile=`echo "$ac_compile" | $SED \
8501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8503 -e 's:$: $lt_compiler_flag:'`
8504 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8505 (eval "$lt_compile" 2>conftest.err)
8507 cat conftest.err >&5
8508 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8509 if (exit $ac_status) && test -s "$ac_outfile"; then
8510 # The compiler can only warn and ignore the option if not recognized
8511 # So say no if there are warnings other than the usual output.
8512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8515 lt_cv_prog_compiler_pic_works=yes
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8522 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8524 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8525 case $lt_prog_compiler_pic in
8527 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8530 lt_prog_compiler_pic=
8531 lt_prog_compiler_can_build_shared=no
8542 # Check to make sure the static flag actually works.
8544 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
8546 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
8547 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8548 $as_echo_n "(cached
) " >&6
8550 lt_cv_prog_compiler_static_works=no
8551 save_LDFLAGS="$LDFLAGS"
8552 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8553 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8554 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8555 # The linker can only warn and ignore the option if not recognized
8556 # So say no if there are warnings
8557 if test -s conftest.err; then
8558 # Append any errors to the config.log.
8559 cat conftest.err 1>&5
8560 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8561 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8562 if diff conftest.exp conftest.er2 >/dev/null; then
8563 lt_cv_prog_compiler_static_works=yes
8566 lt_cv_prog_compiler_static_works=yes
8570 LDFLAGS="$save_LDFLAGS"
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
8574 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8576 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8579 lt_prog_compiler_static=
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8589 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8590 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8591 $as_echo_n "(cached
) " >&6
8593 lt_cv_prog_compiler_c_o=no
8594 $RM -r conftest 2>/dev/null
8598 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8600 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8601 # Insert the option either (1) after the last *FLAGS variable, or
8602 # (2) before a word containing "conftest.
", or (3) at the end.
8603 # Note that $ac_compile itself does not contain backslashes and begins
8604 # with a dollar sign (not a hyphen), so the echo should work correctly.
8605 lt_compile=`echo "$ac_compile" | $SED \
8606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8608 -e 's:$: $lt_compiler_flag:'`
8609 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8610 (eval "$lt_compile" 2>out/conftest.err)
8612 cat out/conftest.err >&5
8613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8614 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8616 # The compiler can only warn and ignore the option if not recognized
8617 # So say no if there are warnings
8618 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8619 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8620 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8621 lt_cv_prog_compiler_c_o=yes
8626 # SGI C++ compiler will create directory out/ii_files/ for
8627 # template instantiation
8628 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8629 $RM out/* && rmdir out
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8636 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
8644 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
8645 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8646 $as_echo_n "(cached
) " >&6
8648 lt_cv_prog_compiler_c_o=no
8649 $RM -r conftest 2>/dev/null
8653 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8655 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
8656 # Insert the option either (1) after the last *FLAGS variable, or
8657 # (2) before a word containing "conftest.
", or (3) at the end.
8658 # Note that $ac_compile itself does not contain backslashes and begins
8659 # with a dollar sign (not a hyphen), so the echo should work correctly.
8660 lt_compile=`echo "$ac_compile" | $SED \
8661 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8663 -e 's:$: $lt_compiler_flag:'`
8664 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8665 (eval "$lt_compile" 2>out/conftest.err)
8667 cat out/conftest.err >&5
8668 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8669 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8671 # The compiler can only warn and ignore the option if not recognized
8672 # So say no if there are warnings
8673 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8674 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8675 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8676 lt_cv_prog_compiler_c_o=yes
8681 # SGI C++ compiler will create directory out/ii_files/ for
8682 # template instantiation
8683 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8684 $RM out/* && rmdir out
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
8691 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8696 hard_links="nottested
"
8697 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8698 # do not overwrite the value of need_locks provided by the user
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
8700 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
8703 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8705 ln conftest.a conftest.b 2>&5 || hard_links=no
8706 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
8708 $as_echo "$hard_links" >&6; }
8709 if test "$hard_links" = no; then
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
8711 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
8724 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
8727 allow_undefined_flag=
8728 always_export_symbols=no
8730 archive_expsym_cmds=
8731 compiler_needs_object=no
8732 enable_shared_with_static_runtimes=no
8733 export_dynamic_flag_spec=
8734 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8735 hardcode_automatic=no
8737 hardcode_direct_absolute=no
8738 hardcode_libdir_flag_spec=
8739 hardcode_libdir_flag_spec_ld=
8740 hardcode_libdir_separator=
8742 hardcode_shlibpath_var=unsupported
8744 link_all_deplibs=unknown
8747 old_archive_from_new_cmds=
8748 old_archive_from_expsyms_cmds=
8749 thread_safe_flag_spec=
8750 whole_archive_flag_spec=
8751 # include_expsyms should be a list of space-separated symbols to be *always*
8752 # included in the symbol list
8754 # exclude_expsyms can be an extended regexp of symbols to exclude
8755 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8756 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8757 # as well as any symbol that contains `d'.
8758 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8759 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8760 # platforms (ab)use it in PIC code, but their linkers get confused if
8761 # the symbol is explicitly referenced. Since portable code cannot
8762 # rely on this symbol name, it's probably fine to never include it in
8763 # preloaded symbol tables.
8764 # Exclude shared library initialization/finalization symbols.
8765 extract_expsyms_cmds=
8768 cygwin* | mingw* | pw32* | cegcc*)
8769 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8770 # When not using gcc, we currently assume that we are using
8771 # Microsoft Visual C++.
8772 if test "$GCC" != yes; then
8777 # we just hope/assume this is gcc and not c89 (= MSVC++)
8787 # On some targets, GNU ld is compatible enough with the native linker
8788 # that we're better off using the native interface for both.
8789 lt_use_gnu_ld_interface=no
8790 if test "$with_gnu_ld" = yes; then
8793 # The AIX port of GNU ld has always aspired to compatibility
8794 # with the native linker. However, as the warning in the GNU ld
8795 # block says, versions before 2.19.5* couldn't really create working
8796 # shared libraries, regardless of the interface used.
8797 case `$LD -v 2>&1` in
8798 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8799 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8800 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8802 lt_use_gnu_ld_interface=yes
8807 lt_use_gnu_ld_interface=yes
8812 if test "$lt_use_gnu_ld_interface" = yes; then
8813 # If archive_cmds runs LD, not CC, wlarc should be empty
8816 # Set some defaults for GNU ld with shared library support. These
8817 # are reset later if shared libraries are not supported. Putting them
8818 # here allows them to be overridden if necessary.
8819 runpath_var=LD_RUN_PATH
8820 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8821 export_dynamic_flag_spec='${wl}--export-dynamic'
8822 # ancient GNU ld didn't support --whole-archive et. al.
8823 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8824 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8826 whole_archive_flag_spec=
8828 supports_anon_versioning=no
8829 case `$LD -v 2>&1` in
8830 *GNU\ gold*) supports_anon_versioning=yes ;;
8831 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8832 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8833 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8834 *\ 2.11.*) ;; # other 2.11 versions
8835 *) supports_anon_versioning=yes ;;
8838 # See if GNU ld supports shared libraries.
8841 # On AIX/PPC, the GNU linker is very broken
8842 if test "$host_cpu" != ia64; then
8846 *** Warning: the GNU linker, at least up to release 2.19, is reported
8847 *** to be unable to reliably create shared libraries on AIX.
8848 *** Therefore, libtool is disabling shared libraries support. If you
8849 *** really care for shared libraries, you may want to install binutils
8850 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8851 *** You will then need to restart the configuration process.
8860 # see comment about AmigaOS4 .so support
8861 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8862 archive_expsym_cmds=''
8865 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)'
8866 hardcode_libdir_flag_spec
='-L$libdir'
8867 hardcode_minus_L
=yes
8873 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8874 allow_undefined_flag
=unsupported
8875 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8876 # support --undefined. This deserves some investigation. FIXME
8877 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8883 cygwin
* | mingw
* | pw32
* | cegcc
*)
8884 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8885 # as there is no search path for DLLs.
8886 hardcode_libdir_flag_spec
='-L$libdir'
8887 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8888 allow_undefined_flag
=unsupported
8889 always_export_symbols
=no
8890 enable_shared_with_static_runtimes
=yes
8891 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8893 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8894 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8895 # If the export-symbols file already is a .def file (1st line
8896 # is EXPORTS), use it as is; otherwise, prepend...
8897 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8898 cp $export_symbols $output_objdir/$soname.def;
8900 echo EXPORTS > $output_objdir/$soname.def;
8901 cat $export_symbols >> $output_objdir/$soname.def;
8903 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8910 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8911 link_all_deplibs
=yes
8916 hardcode_shlibpath_var
=no
8917 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8918 export_dynamic_flag_spec
='${wl}-E'
8919 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8920 # Instead, shared libraries are loaded at an image base (0x10000000 by
8921 # default) and relocated if they conflict, which is a slow very memory
8922 # consuming and fragmenting process. To avoid this, we pick a random,
8923 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8924 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8925 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8926 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'
8929 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8931 if test "$host_os" = linux-dietlibc
; then
8932 case $cc_basename in
8933 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8936 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8937 && test "$tmp_diet" = no
8940 tmp_sharedflag
='-shared'
8941 case $cc_basename,$host_cpu in
8942 pgcc
*) # Portland Group C compiler
8943 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'
8944 tmp_addflag
=' $pic_flag'
8946 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8947 # Portland Group f77 and f90 compilers
8948 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'
8949 tmp_addflag
=' $pic_flag -Mnomain' ;;
8950 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8951 tmp_addflag
=' -i_dynamic' ;;
8952 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8953 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8954 ifc
* | ifort
*) # Intel Fortran compiler
8955 tmp_addflag
=' -nofor_main' ;;
8956 lf95
*) # Lahey Fortran 8.1
8957 whole_archive_flag_spec
=
8958 tmp_sharedflag
='--shared' ;;
8959 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8960 tmp_sharedflag
='-qmkshrobj'
8962 nvcc
*) # Cuda Compiler Driver 2.2
8963 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'
8964 compiler_needs_object
=yes
8967 case `$CC -V 2>&1 | sed 5q` in
8968 *Sun\ C
*) # Sun C 5.9
8969 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'
8970 compiler_needs_object
=yes
8971 tmp_sharedflag
='-G' ;;
8972 *Sun\ F
*) # Sun Fortran 8.3
8973 tmp_sharedflag
='-G' ;;
8975 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8977 if test "x$supports_anon_versioning" = xyes
; then
8978 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8979 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8980 echo "local: *; };" >> $output_objdir/$libname.ver~
8981 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8984 case $cc_basename in
8985 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8986 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8987 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8988 hardcode_libdir_flag_spec
=
8989 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8990 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8991 if test "x$supports_anon_versioning" = xyes
; then
8992 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8993 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8994 echo "local: *; };" >> $output_objdir/$libname.ver~
8995 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9005 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9006 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9009 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9010 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9015 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9019 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9020 *** create shared libraries on Solaris systems. Therefore, libtool
9021 *** is disabling shared libraries support. We urge you to upgrade GNU
9022 *** binutils to release 2.9.1 or newer. Another option is to modify
9023 *** your PATH or compiler configuration so that the native linker is
9024 *** used, and then restart.
9027 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9028 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9029 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9035 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9036 case `$LD -v 2>&1` in
9037 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9041 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9042 *** reliably create shared libraries on SCO systems. Therefore, libtool
9043 *** is disabling shared libraries support. We urge you to upgrade GNU
9044 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9045 *** your PATH or compiler configuration so that the native linker is
9046 *** used, and then restart.
9051 # For security reasons, it is highly recommended that you always
9052 # use absolute paths for naming shared libraries, and exclude the
9053 # DT_RUNPATH tag from executables and libraries. But doing so
9054 # requires that you compile everything twice, which is a pain.
9055 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9056 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9057 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9058 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9067 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9070 hardcode_shlibpath_var
=no
9074 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9075 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9076 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9083 if test "$ld_shlibs" = no
; then
9085 hardcode_libdir_flag_spec
=
9086 export_dynamic_flag_spec
=
9087 whole_archive_flag_spec
=
9090 # PORTME fill in a description of your system's linker (not GNU ld)
9093 allow_undefined_flag
=unsupported
9094 always_export_symbols
=yes
9095 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'
9096 # Note: this linker hardcodes the directories in LIBPATH if there
9097 # are no directories specified by -L.
9098 hardcode_minus_L
=yes
9099 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9100 # Neither direct hardcoding nor static linking is supported with a
9102 hardcode_direct
=unsupported
9107 if test "$host_cpu" = ia64
; then
9108 # On IA64, the linker does run time linking by default, so we don't
9109 # have to do anything special.
9110 aix_use_runtimelinking
=no
9111 exp_sym_flag
='-Bexport'
9114 # If we're using GNU nm, then we don't want the "-C" option.
9115 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9116 # Also, AIX nm treats weak defined symbols like other global
9117 # defined symbols, whereas GNU nm marks them as "W".
9118 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9119 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'
9121 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'
9123 aix_use_runtimelinking
=no
9125 # Test if we are trying to use run time linking or normal
9126 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9127 # need to do runtime linking.
9128 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9129 for ld_flag
in $LDFLAGS; do
9130 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9131 aix_use_runtimelinking
=yes
9138 exp_sym_flag
='-bexport'
9139 no_entry_flag
='-bnoentry'
9142 # When large executables or shared objects are built, AIX ld can
9143 # have problems creating the table of contents. If linking a library
9144 # or program results in "error TOC overflow" add -mminimal-toc to
9145 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9146 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9150 hardcode_direct_absolute
=yes
9151 hardcode_libdir_separator
=':'
9152 link_all_deplibs
=yes
9153 file_list_spec
='${wl}-f,'
9155 if test "$GCC" = yes; then
9156 case $host_os in aix4.
[012]|aix4.
[012].
*)
9157 # We only want to do this on AIX 4.2 and lower, the check
9158 # below for broken collect2 doesn't work under 4.3+
9159 collect2name
=`${CC} -print-prog-name=collect2`
9160 if test -f "$collect2name" &&
9161 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9163 # We have reworked collect2
9166 # We have old collect2
9167 hardcode_direct
=unsupported
9168 # It fails to find uninstalled libraries when the uninstalled
9169 # path is not listed in the libpath. Setting hardcode_minus_L
9170 # to unsupported forces relinking
9171 hardcode_minus_L
=yes
9172 hardcode_libdir_flag_spec
='-L$libdir'
9173 hardcode_libdir_separator
=
9177 shared_flag
='-shared'
9178 if test "$aix_use_runtimelinking" = yes; then
9179 shared_flag
="$shared_flag "'${wl}-G'
9183 if test "$host_cpu" = ia64
; then
9184 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9185 # chokes on -Wl,-G. The following line is correct:
9188 if test "$aix_use_runtimelinking" = yes; then
9189 shared_flag
='${wl}-G'
9191 shared_flag
='${wl}-bM:SRE'
9196 export_dynamic_flag_spec
='${wl}-bexpall'
9197 # It seems that -bexpall does not export symbols beginning with
9198 # underscore (_), so it is better to generate a list of symbols to export.
9199 always_export_symbols
=yes
9200 if test "$aix_use_runtimelinking" = yes; then
9201 # Warning - without using the other runtime loading flags (-brtl),
9202 # -berok will link without error, but may produce a broken library.
9203 allow_undefined_flag
='-berok'
9204 # Determine the default libpath from the value encoded in an
9206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9207 /* end confdefs.h. */
9217 if ac_fn_c_try_link
"$LINENO"; then :
9219 lt_aix_libpath_sed
='
9220 /Import File Strings/,/^$/ {
9226 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9227 # Check for a 64-bit object if we didn't find anything.
9228 if test -z "$aix_libpath"; then
9229 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9232 rm -f core conftest.err conftest.
$ac_objext \
9233 conftest
$ac_exeext conftest.
$ac_ext
9234 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9236 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9237 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"
9239 if test "$host_cpu" = ia64
; then
9240 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9241 allow_undefined_flag
="-z nodefs"
9242 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"
9244 # Determine the default libpath from the value encoded in an
9246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9247 /* end confdefs.h. */
9257 if ac_fn_c_try_link
"$LINENO"; then :
9259 lt_aix_libpath_sed
='
9260 /Import File Strings/,/^$/ {
9266 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9267 # Check for a 64-bit object if we didn't find anything.
9268 if test -z "$aix_libpath"; then
9269 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9272 rm -f core conftest.err conftest.
$ac_objext \
9273 conftest
$ac_exeext conftest.
$ac_ext
9274 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9276 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9277 # Warning - without using the other run time loading flags,
9278 # -berok will link without error, but may produce a broken library.
9279 no_undefined_flag
=' ${wl}-bernotok'
9280 allow_undefined_flag
=' ${wl}-berok'
9281 if test "$with_gnu_ld" = yes; then
9282 # We only use this code for GNU lds that support --whole-archive.
9283 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9285 # Exported symbols can be pulled into shared objects from archives
9286 whole_archive_flag_spec
='$convenience'
9288 archive_cmds_need_lc
=yes
9289 # This is similar to how AIX traditionally builds its shared libraries.
9290 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'
9298 # see comment about AmigaOS4 .so support
9299 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9300 archive_expsym_cmds
=''
9303 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)'
9304 hardcode_libdir_flag_spec
='-L$libdir'
9305 hardcode_minus_L
=yes
9311 export_dynamic_flag_spec
=-rdynamic
9314 cygwin
* | mingw
* | pw32
* | cegcc
*)
9315 # When not using gcc, we currently assume that we are using
9316 # Microsoft Visual C++.
9317 # hardcode_libdir_flag_spec is actually meaningless, as there is
9318 # no search path for DLLs.
9319 hardcode_libdir_flag_spec
=' '
9320 allow_undefined_flag
=unsupported
9321 # Tell ltmain to make .lib files, not .a files.
9323 # Tell ltmain to make .dll files, not .so files.
9325 # FIXME: Setting linknames here is a bad hack.
9326 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9327 # The linker will automatically build a .lib file if we build a DLL.
9328 old_archive_from_new_cmds
='true'
9329 # FIXME: Should let the user specify the lib program.
9330 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9331 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9332 enable_shared_with_static_runtimes
=yes
9335 darwin
* | rhapsody
*)
9338 archive_cmds_need_lc
=no
9340 hardcode_automatic
=yes
9341 hardcode_shlibpath_var
=unsupported
9342 if test "$lt_cv_ld_force_load" = "yes"; then
9343 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\"`'
9345 whole_archive_flag_spec
=''
9347 link_all_deplibs
=yes
9348 allow_undefined_flag
="$_lt_dar_allow_undefined"
9349 case $cc_basename in
9350 ifort
*) _lt_dar_can_shared
=yes ;;
9351 *) _lt_dar_can_shared
=$GCC ;;
9353 if test "$_lt_dar_can_shared" = "yes"; then
9354 output_verbose_link_cmd
=func_echo_all
9355 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9356 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9357 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}"
9358 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}"
9367 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9368 hardcode_libdir_flag_spec
='-L$libdir'
9369 hardcode_shlibpath_var
=no
9372 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9373 # support. Future versions do this automatically, but an explicit c++rt0.o
9374 # does not break anything, and helps significantly (at the cost of a little
9377 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9378 hardcode_libdir_flag_spec
='-R$libdir'
9380 hardcode_shlibpath_var
=no
9383 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9385 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9387 hardcode_minus_L
=yes
9388 hardcode_shlibpath_var
=no
9391 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9392 freebsd
* | dragonfly
*)
9393 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9394 hardcode_libdir_flag_spec
='-R$libdir'
9396 hardcode_shlibpath_var
=no
9400 if test "$GCC" = yes; then
9401 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'
9403 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'
9405 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9406 hardcode_libdir_separator
=:
9409 # hardcode_minus_L: Not really in the search PATH,
9410 # but as the default location of the library.
9411 hardcode_minus_L
=yes
9412 export_dynamic_flag_spec
='${wl}-E'
9416 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9417 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9419 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9421 if test "$with_gnu_ld" = no
; then
9422 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9423 hardcode_libdir_flag_spec_ld
='+b $libdir'
9424 hardcode_libdir_separator
=:
9426 hardcode_direct_absolute
=yes
9427 export_dynamic_flag_spec
='${wl}-E'
9428 # hardcode_minus_L: Not really in the search PATH,
9429 # but as the default location of the library.
9430 hardcode_minus_L
=yes
9435 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9438 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9441 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9444 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9450 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9453 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9457 # Older versions of the 11.00 compiler do not understand -b yet
9458 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9460 $as_echo_n "checking if $CC understands -b... " >&6; }
9461 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9462 $as_echo_n "(cached) " >&6
9464 lt_cv_prog_compiler__b
=no
9465 save_LDFLAGS
="$LDFLAGS"
9466 LDFLAGS
="$LDFLAGS -b"
9467 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9468 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9469 # The linker can only warn and ignore the option if not recognized
9470 # So say no if there are warnings
9471 if test -s conftest.err
; then
9472 # Append any errors to the config.log.
9473 cat conftest.err
1>&5
9474 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9475 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9476 if diff conftest.exp conftest.er2
>/dev
/null
; then
9477 lt_cv_prog_compiler__b
=yes
9480 lt_cv_prog_compiler__b
=yes
9484 LDFLAGS
="$save_LDFLAGS"
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9488 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9490 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9491 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9493 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9499 if test "$with_gnu_ld" = no
; then
9500 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9501 hardcode_libdir_separator
=:
9506 hardcode_shlibpath_var
=no
9510 hardcode_direct_absolute
=yes
9511 export_dynamic_flag_spec
='${wl}-E'
9513 # hardcode_minus_L: Not really in the search PATH,
9514 # but as the default location of the library.
9515 hardcode_minus_L
=yes
9521 irix5
* | irix6
* | nonstopux
*)
9522 if test "$GCC" = yes; then
9523 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'
9524 # Try to use the -exported_symbol ld option, if it does not
9525 # work, assume that -exports_file does not work either and
9526 # implicitly export all symbols.
9527 save_LDFLAGS
="$LDFLAGS"
9528 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9530 /* end confdefs.h. */
9533 if ac_fn_c_try_link
"$LINENO"; then :
9534 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'
9537 rm -f core conftest.err conftest.
$ac_objext \
9538 conftest
$ac_exeext conftest.
$ac_ext
9539 LDFLAGS
="$save_LDFLAGS"
9541 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'
9542 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'
9544 archive_cmds_need_lc
='no'
9545 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9546 hardcode_libdir_separator
=:
9548 link_all_deplibs
=yes
9552 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9553 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9555 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9557 hardcode_libdir_flag_spec
='-R$libdir'
9559 hardcode_shlibpath_var
=no
9563 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9565 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9566 hardcode_libdir_separator
=:
9567 hardcode_shlibpath_var
=no
9574 if test -f /usr
/libexec
/ld.so
; then
9576 hardcode_shlibpath_var
=no
9577 hardcode_direct_absolute
=yes
9578 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9579 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9580 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9581 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9582 export_dynamic_flag_spec
='${wl}-E'
9585 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9586 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9587 hardcode_libdir_flag_spec
='-R$libdir'
9590 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9591 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9601 hardcode_libdir_flag_spec
='-L$libdir'
9602 hardcode_minus_L
=yes
9603 allow_undefined_flag
=unsupported
9604 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'
9605 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9609 if test "$GCC" = yes; then
9610 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9611 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'
9613 allow_undefined_flag
=' -expect_unresolved \*'
9614 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'
9616 archive_cmds_need_lc
='no'
9617 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9618 hardcode_libdir_separator
=:
9621 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9622 if test "$GCC" = yes; then
9623 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9624 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'
9625 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9627 allow_undefined_flag
=' -expect_unresolved \*'
9628 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'
9629 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~
9630 $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'
9632 # Both c and cxx compiler support -rpath directly
9633 hardcode_libdir_flag_spec
='-rpath $libdir'
9635 archive_cmds_need_lc
='no'
9636 hardcode_libdir_separator
=:
9640 no_undefined_flag
=' -z defs'
9641 if test "$GCC" = yes; then
9643 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9644 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9645 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9647 case `$CC -V 2>&1` in
9650 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9651 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9652 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9656 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9657 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9658 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9662 hardcode_libdir_flag_spec
='-R$libdir'
9663 hardcode_shlibpath_var
=no
9665 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9667 # The compiler driver will combine and reorder linker options,
9668 # but understands `-z linker_flag'. GCC discards it without `$wl',
9669 # but is careful enough not to reorder.
9670 # Supported since Solaris 2.6 (maybe 2.5.1?)
9671 if test "$GCC" = yes; then
9672 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9674 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9678 link_all_deplibs
=yes
9682 if test "x$host_vendor" = xsequent
; then
9683 # Use $CC to link under sequent, because it throws in some extra .o
9684 # files that make .init and .fini sections work.
9685 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9687 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9689 hardcode_libdir_flag_spec
='-L$libdir'
9691 hardcode_minus_L
=yes
9692 hardcode_shlibpath_var
=no
9696 case $host_vendor in
9698 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9699 hardcode_direct
=yes # is this really true???
9702 ## LD is ld it makes a PLAMLIB
9703 ## CC just makes a GrossModule.
9704 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9705 reload_cmds
='$CC -r -o $output$reload_objs'
9709 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9710 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9713 runpath_var
='LD_RUN_PATH'
9714 hardcode_shlibpath_var
=no
9718 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9719 hardcode_shlibpath_var
=no
9720 export_dynamic_flag_spec
='-Bexport'
9724 if test -d /usr
/nec
; then
9725 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9726 hardcode_shlibpath_var
=no
9727 runpath_var
=LD_RUN_PATH
9728 hardcode_runpath_var
=yes
9733 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9734 no_undefined_flag
='${wl}-z,text'
9735 archive_cmds_need_lc
=no
9736 hardcode_shlibpath_var
=no
9737 runpath_var
='LD_RUN_PATH'
9739 if test "$GCC" = yes; then
9740 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9741 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9743 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9744 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9748 sysv5
* | sco3.2v5
* | sco5v6
*)
9749 # Note: We can NOT use -z defs as we might desire, because we do not
9750 # link with -lc, and that would cause any symbols used from libc to
9751 # always be unresolved, which means just about no library would
9752 # ever link correctly. If we're not using GNU ld we use -z text
9753 # though, which does catch some bad symbols but isn't as heavy-handed
9755 no_undefined_flag
='${wl}-z,text'
9756 allow_undefined_flag
='${wl}-z,nodefs'
9757 archive_cmds_need_lc
=no
9758 hardcode_shlibpath_var
=no
9759 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9760 hardcode_libdir_separator
=':'
9761 link_all_deplibs
=yes
9762 export_dynamic_flag_spec
='${wl}-Bexport'
9763 runpath_var
='LD_RUN_PATH'
9765 if test "$GCC" = yes; then
9766 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9767 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9769 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9770 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9775 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9776 hardcode_libdir_flag_spec
='-L$libdir'
9777 hardcode_shlibpath_var
=no
9785 if test x
$host_vendor = xsni
; then
9787 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9788 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9795 $as_echo "$ld_shlibs" >&6; }
9796 test "$ld_shlibs" = no
&& can_build_shared
=no
9798 with_gnu_ld
=$with_gnu_ld
9815 # Do we need to explicitly link libc?
9817 case "x$archive_cmds_need_lc" in
9819 # Assume -lc should be added
9820 archive_cmds_need_lc
=yes
9822 if test "$enable_shared" = yes && test "$GCC" = yes; then
9823 case $archive_cmds in
9825 # FIXME: we may have to deal with multi-command sequences.
9828 # Test whether the compiler implicitly links with -lc since on some
9829 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9830 # to ld, don't add -lc before -lgcc.
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9832 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9833 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9834 $as_echo_n "(cached) " >&6
9837 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9839 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9840 (eval $ac_compile) 2>&5
9842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9843 test $ac_status = 0; } 2>conftest.err
; then
9846 libobjs
=conftest.
$ac_objext
9848 wl
=$lt_prog_compiler_wl
9849 pic_flag
=$lt_prog_compiler_pic
9855 lt_save_allow_undefined_flag
=$allow_undefined_flag
9856 allow_undefined_flag
=
9857 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9858 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9861 test $ac_status = 0; }
9863 lt_cv_archive_cmds_need_lc
=no
9865 lt_cv_archive_cmds_need_lc
=yes
9867 allow_undefined_flag
=$lt_save_allow_undefined_flag
9869 cat conftest.err
1>&5
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9875 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9876 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10040 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10042 if test "$GCC" = yes; then
10044 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10045 *) lt_awk_arg
="/^libraries:/" ;;
10048 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10049 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10051 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10052 case $lt_search_path_spec in
10054 # if the path contains ";" then we assume it to be the separator
10055 # otherwise default to the standard path separator (i.e. ":") - it is
10056 # assumed that no part of a normal pathname contains ";" but that should
10057 # okay in the real world where ";" in dirpaths is itself problematic.
10058 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10061 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10064 # Ok, now we have the path, separated by spaces, we can step through it
10065 # and add multilib dir if necessary.
10066 lt_tmp_lt_search_path_spec
=
10067 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10068 for lt_sys_path
in $lt_search_path_spec; do
10069 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10070 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10072 test -d "$lt_sys_path" && \
10073 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10076 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10077 BEGIN {RS=" "; FS="/|\n";} {
10080 for (lt_i = NF; lt_i > 0; lt_i--) {
10081 if ($lt_i != "" && $lt_i != ".") {
10082 if ($lt_i == "..") {
10085 if (lt_count == 0) {
10086 lt_foo="/" $lt_i lt_foo;
10093 if (lt_foo != "") { lt_freq[lt_foo]++; }
10094 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10096 # AWK program above erroneously prepends '/' to C:/dos/paths
10099 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10100 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10102 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10104 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10106 library_names_spec
=
10107 libname_spec
='lib$name'
10111 postuninstall_cmds
=
10115 shlibpath_overrides_runpath
=unknown
10117 dynamic_linker
="$host_os ld.so"
10118 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10119 need_lib_prefix
=unknown
10120 hardcode_into_libs
=no
10122 # when you set need_version to no, make sure it does not cause -set_version
10123 # flags to be left without arguments
10124 need_version
=unknown
10129 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10130 shlibpath_var
=LIBPATH
10132 # AIX 3 has no versioning support, so we append a major version to the name.
10133 soname_spec
='${libname}${release}${shared_ext}$major'
10140 hardcode_into_libs
=yes
10141 if test "$host_cpu" = ia64
; then
10142 # AIX 5 supports IA64
10143 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10144 shlibpath_var
=LD_LIBRARY_PATH
10146 # With GCC up to 2.95.x, collect2 would create an import file
10147 # for dependence libraries. The import file would start with
10148 # the line `#! .'. This would cause the generated library to
10149 # depend on `.', always an invalid library. This was fixed in
10150 # development snapshots of GCC prior to 3.0.
10152 aix4 | aix4.
[01] | aix4.
[01].
*)
10153 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10155 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10158 can_build_shared
=no
10162 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10163 # soname into executable. Probably we can add versioning support to
10164 # collect2, so additional links can be useful in future.
10165 if test "$aix_use_runtimelinking" = yes; then
10166 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10167 # instead of lib<name>.a to let people know that these are not
10168 # typical AIX shared libraries.
10169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10171 # We preserve .a as extension for shared libraries through AIX4.2
10172 # and later when we are not doing run time linking.
10173 library_names_spec
='${libname}${release}.a $libname.a'
10174 soname_spec
='${libname}${release}${shared_ext}$major'
10176 shlibpath_var
=LIBPATH
10183 # Since July 2007 AmigaOS4 officially supports .so libraries.
10184 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10188 library_names_spec
='$libname.ixlibrary $libname.a'
10189 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10190 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'
10196 library_names_spec
='${libname}${shared_ext}'
10197 dynamic_linker
="$host_os ld.so"
10198 shlibpath_var
=LIBRARY_PATH
10204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10205 soname_spec
='${libname}${release}${shared_ext}$major'
10206 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10207 shlibpath_var
=LD_LIBRARY_PATH
10208 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10209 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10210 # the default ld.so.conf also contains /usr/contrib/lib and
10211 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10212 # libtool to hard-code these into programs
10215 cygwin
* | mingw
* | pw32
* | cegcc
*)
10216 version_type
=windows
10221 case $GCC,$host_os in
10222 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10223 library_names_spec
='$libname.dll.a'
10224 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10225 postinstall_cmds
='base_file=`basename \${file}`~
10226 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10227 dldir=$destdir/`dirname \$dlpath`~
10228 test -d \$dldir || mkdir -p \$dldir~
10229 $install_prog $dir/$dlname \$dldir/$dlname~
10230 chmod a+x \$dldir/$dlname~
10231 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10232 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10234 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10235 dlpath=$dir/\$dldll~
10237 shlibpath_overrides_runpath
=yes
10241 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10242 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10244 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10247 # MinGW DLLs use traditional 'lib' prefix
10248 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10251 # pw32 DLLs use 'pw' prefix rather than 'lib'
10252 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10258 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10261 dynamic_linker
='Win32 ld.exe'
10262 # FIXME: first we should search . and the directory the executable is in
10266 darwin
* | rhapsody
*)
10267 dynamic_linker
="$host_os dyld"
10268 version_type
=darwin
10271 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10272 soname_spec
='${libname}${release}${major}$shared_ext'
10273 shlibpath_overrides_runpath
=yes
10274 shlibpath_var
=DYLD_LIBRARY_PATH
10275 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10277 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10278 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10286 soname_spec
='${libname}${release}${shared_ext}$major'
10287 shlibpath_var
=LD_LIBRARY_PATH
10290 freebsd
* | dragonfly
*)
10291 # DragonFly does not have aout. When/if they implement a new
10292 # versioning mechanism, adjust this.
10293 if test -x /usr
/bin
/objformat
; then
10294 objformat
=`/usr/bin/objformat`
10297 freebsd
[23].
*) objformat
=aout
;;
10298 *) objformat
=elf
;;
10301 version_type
=freebsd-
$objformat
10302 case $version_type in
10304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10309 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10313 shlibpath_var
=LD_LIBRARY_PATH
10316 shlibpath_overrides_runpath
=yes
10318 freebsd3.
[01]* | freebsdelf3.
[01]*)
10319 shlibpath_overrides_runpath
=yes
10320 hardcode_into_libs
=yes
10322 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10323 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10324 shlibpath_overrides_runpath
=no
10325 hardcode_into_libs
=yes
10327 *) # from 4.6 on, and DragonFly
10328 shlibpath_overrides_runpath
=yes
10329 hardcode_into_libs
=yes
10338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10339 soname_spec
='${libname}${release}${shared_ext}$major'
10340 shlibpath_var
=LD_LIBRARY_PATH
10341 hardcode_into_libs
=yes
10348 dynamic_linker
="$host_os runtime_loader"
10349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10350 soname_spec
='${libname}${release}${shared_ext}$major'
10351 shlibpath_var
=LIBRARY_PATH
10352 shlibpath_overrides_runpath
=yes
10353 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10354 hardcode_into_libs
=yes
10357 hpux9
* | hpux10
* | hpux11
*)
10358 # Give a soname corresponding to the major version so that dld.sl refuses to
10359 # link against other versions.
10366 hardcode_into_libs
=yes
10367 dynamic_linker
="$host_os dld.so"
10368 shlibpath_var
=LD_LIBRARY_PATH
10369 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10371 soname_spec
='${libname}${release}${shared_ext}$major'
10372 if test "X$HPUX_IA64_MODE" = X32
; then
10373 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10375 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10377 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10381 hardcode_into_libs
=yes
10382 dynamic_linker
="$host_os dld.sl"
10383 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10384 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10388 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10392 dynamic_linker
="$host_os dld.sl"
10393 shlibpath_var
=SHLIB_PATH
10394 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10396 soname_spec
='${libname}${release}${shared_ext}$major'
10399 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10400 postinstall_cmds
='chmod 555 $lib'
10401 # or fails outright, so override atomically:
10402 install_override_mode
=555
10409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10410 soname_spec
='${libname}${release}${shared_ext}$major'
10411 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10412 shlibpath_var
=LD_LIBRARY_PATH
10413 shlibpath_overrides_runpath
=no
10414 hardcode_into_libs
=yes
10417 irix5
* | irix6
* | nonstopux
*)
10419 nonstopux
*) version_type
=nonstopux
;;
10421 if test "$lt_cv_prog_gnu_ld" = yes; then
10429 soname_spec
='${libname}${release}${shared_ext}$major'
10430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10432 irix5
* | nonstopux
*)
10433 libsuff
= shlibsuff
=
10436 case $LD in # libtool.m4 will add one of these switches to LD
10437 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10438 libsuff
= shlibsuff
= libmagic
=32-bit;;
10439 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10440 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10441 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10442 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10443 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10447 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10448 shlibpath_overrides_runpath
=no
10449 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10450 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10451 hardcode_into_libs
=yes
10454 # No shared lib support for Linux oldld, aout, or coff.
10455 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10459 # This must be Linux ELF.
10460 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10465 soname_spec
='${libname}${release}${shared_ext}$major'
10466 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10467 shlibpath_var
=LD_LIBRARY_PATH
10468 shlibpath_overrides_runpath
=no
10470 # Some binutils ld are patched to set DT_RUNPATH
10471 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10472 $as_echo_n "(cached) " >&6
10474 lt_cv_shlibpath_overrides_runpath
=no
10475 save_LDFLAGS
=$LDFLAGS
10476 save_libdir
=$libdir
10477 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10478 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10490 if ac_fn_c_try_link
"$LINENO"; then :
10491 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10492 lt_cv_shlibpath_overrides_runpath
=yes
10495 rm -f core conftest.err conftest.
$ac_objext \
10496 conftest
$ac_exeext conftest.
$ac_ext
10497 LDFLAGS
=$save_LDFLAGS
10498 libdir
=$save_libdir
10502 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10504 # This implies no fast_install, which is unacceptable.
10505 # Some rework will be needed to allow for fast_install
10506 # before this can be enabled.
10507 hardcode_into_libs
=yes
10509 # Append ld.so.conf contents to the search path
10510 if test -f /etc
/ld.so.conf
; then
10511 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' ' '`
10512 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10515 # We used to test for /lib/ld.so.1 and disable shared libraries on
10516 # powerpc, because MkLinux only supported shared libraries with the
10517 # GNU dynamic linker. Since this was broken with cross compilers,
10518 # most powerpc-linux boxes support dynamic linking these days and
10519 # people can always --disable-shared, the test was removed, and we
10520 # assume the GNU/Linux dynamic linker is in use.
10521 dynamic_linker
='GNU/Linux ld.so'
10528 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10530 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10531 dynamic_linker
='NetBSD (a.out) ld.so'
10533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10534 soname_spec
='${libname}${release}${shared_ext}$major'
10535 dynamic_linker
='NetBSD ld.elf_so'
10537 shlibpath_var
=LD_LIBRARY_PATH
10538 shlibpath_overrides_runpath
=yes
10539 hardcode_into_libs
=yes
10544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10545 shlibpath_var
=LD_LIBRARY_PATH
10546 shlibpath_overrides_runpath
=yes
10553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec
='${libname}${release}${shared_ext}$major'
10555 shlibpath_var
=LD_LIBRARY_PATH
10556 shlibpath_overrides_runpath
=no
10557 hardcode_into_libs
=yes
10558 dynamic_linker
='ldqnx.so'
10563 sys_lib_dlsearch_path_spec
="/usr/lib"
10565 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10567 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10568 *) need_version
=no
;;
10570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10571 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10572 shlibpath_var
=LD_LIBRARY_PATH
10573 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10575 openbsd2.
[89] | openbsd2.
[89].
*)
10576 shlibpath_overrides_runpath
=no
10579 shlibpath_overrides_runpath
=yes
10583 shlibpath_overrides_runpath
=yes
10588 libname_spec
='$name'
10591 library_names_spec
='$libname${shared_ext} $libname.a'
10592 dynamic_linker
='OS/2 ld.exe'
10593 shlibpath_var
=LIBPATH
10596 osf3
* | osf4
* | osf5
*)
10600 soname_spec
='${libname}${release}${shared_ext}$major'
10601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602 shlibpath_var
=LD_LIBRARY_PATH
10603 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10604 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 soname_spec
='${libname}${release}${shared_ext}$major'
10617 shlibpath_var
=LD_LIBRARY_PATH
10618 shlibpath_overrides_runpath
=yes
10619 hardcode_into_libs
=yes
10620 # ldd complains unless libraries are executable
10621 postinstall_cmds
='chmod +x $lib'
10626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10627 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10628 shlibpath_var
=LD_LIBRARY_PATH
10629 shlibpath_overrides_runpath
=yes
10630 if test "$with_gnu_ld" = yes; then
10638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10639 soname_spec
='${libname}${release}${shared_ext}$major'
10640 shlibpath_var
=LD_LIBRARY_PATH
10641 case $host_vendor in
10643 shlibpath_overrides_runpath
=no
10645 runpath_var
=LD_RUN_PATH
10653 shlibpath_overrides_runpath
=no
10654 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10660 if test -d /usr
/nec
;then
10662 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10663 soname_spec
='$libname${shared_ext}.$major'
10664 shlibpath_var
=LD_LIBRARY_PATH
10668 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10669 version_type
=freebsd-elf
10672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10673 soname_spec
='${libname}${release}${shared_ext}$major'
10674 shlibpath_var
=LD_LIBRARY_PATH
10675 shlibpath_overrides_runpath
=yes
10676 hardcode_into_libs
=yes
10677 if test "$with_gnu_ld" = yes; then
10678 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10680 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10683 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10687 sys_lib_dlsearch_path_spec
='/usr/lib'
10691 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10696 shlibpath_var
=LD_LIBRARY_PATH
10697 shlibpath_overrides_runpath
=no
10698 hardcode_into_libs
=yes
10703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10704 soname_spec
='${libname}${release}${shared_ext}$major'
10705 shlibpath_var
=LD_LIBRARY_PATH
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10713 $as_echo "$dynamic_linker" >&6; }
10714 test "$dynamic_linker" = no
&& can_build_shared
=no
10716 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10717 if test "$GCC" = yes; then
10718 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10721 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10722 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10724 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10725 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10820 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10822 if test -n "$hardcode_libdir_flag_spec" ||
10823 test -n "$runpath_var" ||
10824 test "X$hardcode_automatic" = "Xyes" ; then
10826 # We can hardcode non-existent directories.
10827 if test "$hardcode_direct" != no
&&
10828 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10829 # have to relink, otherwise we might link with an installed library
10830 # when we should be linking with a yet-to-be-installed one
10831 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10832 test "$hardcode_minus_L" != no
; then
10833 # Linking always hardcodes the temporary library directory.
10834 hardcode_action
=relink
10836 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10837 hardcode_action
=immediate
10840 # We cannot hardcode anything, or else we can only hardcode existing
10842 hardcode_action
=unsupported
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10845 $as_echo "$hardcode_action" >&6; }
10847 if test "$hardcode_action" = relink ||
10848 test "$inherit_rpath" = yes; then
10849 # Fast installation is not supported
10850 enable_fast_install
=no
10851 elif test "$shlibpath_overrides_runpath" = yes ||
10852 test "$enable_shared" = no
; then
10853 # Fast installation is not necessary
10854 enable_fast_install
=needless
10862 if test "x$enable_dlopen" != xyes
; then
10863 enable_dlopen
=unknown
10864 enable_dlopen_self
=unknown
10865 enable_dlopen_self_static
=unknown
10872 lt_cv_dlopen
="load_add_on"
10874 lt_cv_dlopen_self
=yes
10877 mingw
* | pw32
* | cegcc
*)
10878 lt_cv_dlopen
="LoadLibrary"
10883 lt_cv_dlopen
="dlopen"
10888 # if libdl is installed we need to link against it
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10890 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10891 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10892 $as_echo_n "(cached) " >&6
10894 ac_check_lib_save_LIBS
=$LIBS
10896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10897 /* end confdefs.h. */
10899 /* Override any GCC internal prototype to avoid an error.
10900 Use char because int might match the return type of a GCC
10901 builtin and then its argument prototype would still apply. */
10914 if ac_fn_c_try_link
"$LINENO"; then :
10915 ac_cv_lib_dl_dlopen
=yes
10917 ac_cv_lib_dl_dlopen
=no
10919 rm -f core conftest.err conftest.
$ac_objext \
10920 conftest
$ac_exeext conftest.
$ac_ext
10921 LIBS
=$ac_check_lib_save_LIBS
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10924 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10925 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10926 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10929 lt_cv_dlopen
="dyld"
10931 lt_cv_dlopen_self
=yes
10938 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10939 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10940 lt_cv_dlopen
="shl_load"
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10943 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10944 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10945 $as_echo_n "(cached) " >&6
10947 ac_check_lib_save_LIBS
=$LIBS
10949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10950 /* end confdefs.h. */
10952 /* Override any GCC internal prototype to avoid an error.
10953 Use char because int might match the return type of a GCC
10954 builtin and then its argument prototype would still apply. */
10962 return shl_load ();
10967 if ac_fn_c_try_link
"$LINENO"; then :
10968 ac_cv_lib_dld_shl_load
=yes
10970 ac_cv_lib_dld_shl_load
=no
10972 rm -f core conftest.err conftest.
$ac_objext \
10973 conftest
$ac_exeext conftest.
$ac_ext
10974 LIBS
=$ac_check_lib_save_LIBS
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10977 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10978 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10979 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10981 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10982 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10983 lt_cv_dlopen
="dlopen"
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10986 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10987 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10988 $as_echo_n "(cached) " >&6
10990 ac_check_lib_save_LIBS
=$LIBS
10992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
10995 /* Override any GCC internal prototype to avoid an error.
10996 Use char because int might match the return type of a GCC
10997 builtin and then its argument prototype would still apply. */
11010 if ac_fn_c_try_link
"$LINENO"; then :
11011 ac_cv_lib_dl_dlopen
=yes
11013 ac_cv_lib_dl_dlopen
=no
11015 rm -f core conftest.err conftest.
$ac_objext \
11016 conftest
$ac_exeext conftest.
$ac_ext
11017 LIBS
=$ac_check_lib_save_LIBS
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11020 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11021 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11022 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11025 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11026 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11027 $as_echo_n "(cached) " >&6
11029 ac_check_lib_save_LIBS
=$LIBS
11030 LIBS
="-lsvld $LIBS"
11031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h. */
11034 /* Override any GCC internal prototype to avoid an error.
11035 Use char because int might match the return type of a GCC
11036 builtin and then its argument prototype would still apply. */
11049 if ac_fn_c_try_link
"$LINENO"; then :
11050 ac_cv_lib_svld_dlopen
=yes
11052 ac_cv_lib_svld_dlopen
=no
11054 rm -f core conftest.err conftest.
$ac_objext \
11055 conftest
$ac_exeext conftest.
$ac_ext
11056 LIBS
=$ac_check_lib_save_LIBS
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11059 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11060 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11061 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11064 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11065 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11066 $as_echo_n "(cached) " >&6
11068 ac_check_lib_save_LIBS
=$LIBS
11070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11071 /* end confdefs.h. */
11073 /* Override any GCC internal prototype to avoid an error.
11074 Use char because int might match the return type of a GCC
11075 builtin and then its argument prototype would still apply. */
11083 return dld_link ();
11088 if ac_fn_c_try_link
"$LINENO"; then :
11089 ac_cv_lib_dld_dld_link
=yes
11091 ac_cv_lib_dld_dld_link
=no
11093 rm -f core conftest.err conftest.
$ac_objext \
11094 conftest
$ac_exeext conftest.
$ac_ext
11095 LIBS
=$ac_check_lib_save_LIBS
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11098 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11099 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11100 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11121 if test "x$lt_cv_dlopen" != xno
; then
11127 case $lt_cv_dlopen in
11129 save_CPPFLAGS
="$CPPFLAGS"
11130 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11132 save_LDFLAGS
="$LDFLAGS"
11133 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11136 LIBS
="$lt_cv_dlopen_libs $LIBS"
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11139 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11140 if test "${lt_cv_dlopen_self+set}" = set; then :
11141 $as_echo_n "(cached) " >&6
11143 if test "$cross_compiling" = yes; then :
11144 lt_cv_dlopen_self
=cross
11146 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11147 lt_status
=$lt_dlunknown
11148 cat > conftest.
$ac_ext <<_LT_EOF
11149 #line 11149 "configure"
11150 #include "confdefs.h"
11159 # define LT_DLGLOBAL RTLD_GLOBAL
11162 # define LT_DLGLOBAL DL_GLOBAL
11164 # define LT_DLGLOBAL 0
11168 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11169 find out it does not work in some platform. */
11170 #ifndef LT_DLLAZY_OR_NOW
11172 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11175 # define LT_DLLAZY_OR_NOW DL_LAZY
11178 # define LT_DLLAZY_OR_NOW RTLD_NOW
11181 # define LT_DLLAZY_OR_NOW DL_NOW
11183 # define LT_DLLAZY_OR_NOW 0
11190 /* When -fvisbility=hidden is used, assume the code has been annotated
11191 correspondingly for the symbols needed. */
11192 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11193 void fnord () __attribute__((visibility("default")));
11196 void fnord () { int i=42; }
11199 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11200 int status = $lt_dlunknown;
11204 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11207 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11208 else puts (dlerror ());
11210 /* dlclose (self); */
11218 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11219 (eval $ac_link) 2>&5
11221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11222 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11223 (.
/conftest
; exit; ) >&5 2>/dev
/null
11225 case x
$lt_status in
11226 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11227 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11228 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11231 # compilation failed
11232 lt_cv_dlopen_self
=no
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11240 $as_echo "$lt_cv_dlopen_self" >&6; }
11242 if test "x$lt_cv_dlopen_self" = xyes
; then
11243 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11245 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11246 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11247 $as_echo_n "(cached) " >&6
11249 if test "$cross_compiling" = yes; then :
11250 lt_cv_dlopen_self_static
=cross
11252 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11253 lt_status
=$lt_dlunknown
11254 cat > conftest.
$ac_ext <<_LT_EOF
11255 #line 11255 "configure"
11256 #include "confdefs.h"
11265 # define LT_DLGLOBAL RTLD_GLOBAL
11268 # define LT_DLGLOBAL DL_GLOBAL
11270 # define LT_DLGLOBAL 0
11274 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11275 find out it does not work in some platform. */
11276 #ifndef LT_DLLAZY_OR_NOW
11278 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11281 # define LT_DLLAZY_OR_NOW DL_LAZY
11284 # define LT_DLLAZY_OR_NOW RTLD_NOW
11287 # define LT_DLLAZY_OR_NOW DL_NOW
11289 # define LT_DLLAZY_OR_NOW 0
11296 /* When -fvisbility=hidden is used, assume the code has been annotated
11297 correspondingly for the symbols needed. */
11298 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11299 void fnord () __attribute__((visibility("default")));
11302 void fnord () { int i=42; }
11305 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11306 int status = $lt_dlunknown;
11310 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11313 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11314 else puts (dlerror ());
11316 /* dlclose (self); */
11324 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11325 (eval $ac_link) 2>&5
11327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11328 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11329 (.
/conftest
; exit; ) >&5 2>/dev
/null
11331 case x
$lt_status in
11332 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11333 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11334 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11337 # compilation failed
11338 lt_cv_dlopen_self_static
=no
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11346 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11349 CPPFLAGS
="$save_CPPFLAGS"
11350 LDFLAGS
="$save_LDFLAGS"
11355 case $lt_cv_dlopen_self in
11356 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11357 *) enable_dlopen_self
=unknown
;;
11360 case $lt_cv_dlopen_self_static in
11361 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11362 *) enable_dlopen_self_static
=unknown
;;
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11385 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11386 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11387 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11388 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11390 $as_echo "yes" >&6; }
11392 # FIXME - insert some real tests, host_os isn't really good enough
11395 if test -n "$STRIP" ; then
11396 striplib
="$STRIP -x"
11397 old_striplib
="$STRIP -S"
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11399 $as_echo "yes" >&6; }
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11402 $as_echo "no" >&6; }
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11407 $as_echo "no" >&6; }
11423 # Report which library types will actually be built
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11425 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11427 $as_echo "$can_build_shared" >&6; }
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11430 $as_echo_n "checking whether to build shared libraries... " >&6; }
11431 test "$can_build_shared" = "no" && enable_shared
=no
11433 # On AIX, shared libraries and static libraries use the same namespace, and
11434 # are all built from PIC.
11437 test "$enable_shared" = yes && enable_static
=no
11438 if test -n "$RANLIB"; then
11439 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11440 postinstall_cmds
='$RANLIB $lib'
11445 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11446 test "$enable_shared" = yes && enable_static
=no
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11451 $as_echo "$enable_shared" >&6; }
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11454 $as_echo_n "checking whether to build static libraries... " >&6; }
11455 # Make sure either enable_shared or enable_static is yes.
11456 test "$enable_shared" = yes || enable_static
=yes
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11458 $as_echo "$enable_static" >&6; }
11465 ac_cpp
='$CPP $CPPFLAGS'
11466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11472 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11473 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11474 (test "X$CXX" != "Xg++"))) ; then
11476 ac_cpp
='$CXXCPP $CPPFLAGS'
11477 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11478 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11479 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11481 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11482 if test -z "$CXXCPP"; then
11483 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11484 $as_echo_n "(cached) " >&6
11486 # Double quotes because CXXCPP needs to be expanded
11487 for CXXCPP
in "$CXX -E" "/lib/cpp"
11489 ac_preproc_ok
=false
11490 for ac_cxx_preproc_warn_flag
in '' yes
11492 # Use a header file that comes with gcc, so configuring glibc
11493 # with a fresh cross-compiler works.
11494 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11495 # <limits.h> exists even on freestanding compilers.
11496 # On the NeXT, cc -E runs the code through the compiler's parser,
11497 # not just through cpp. "Syntax error" is here to catch this case.
11498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11501 # include <limits.h>
11503 # include <assert.h>
11507 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11510 # Broken: fails on valid input.
11513 rm -f conftest.err conftest.
$ac_ext
11515 # OK, works on sane cases. Now check whether nonexistent headers
11516 # can be detected and how.
11517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h. */
11519 #include <ac_nonexistent.h>
11521 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11522 # Broken: success on invalid input.
11525 # Passes both tests.
11529 rm -f conftest.err conftest.
$ac_ext
11532 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11533 rm -f conftest.err conftest.
$ac_ext
11534 if $ac_preproc_ok; then :
11539 ac_cv_prog_CXXCPP
=$CXXCPP
11542 CXXCPP
=$ac_cv_prog_CXXCPP
11544 ac_cv_prog_CXXCPP
=$CXXCPP
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11547 $as_echo "$CXXCPP" >&6; }
11548 ac_preproc_ok
=false
11549 for ac_cxx_preproc_warn_flag
in '' yes
11551 # Use a header file that comes with gcc, so configuring glibc
11552 # with a fresh cross-compiler works.
11553 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11554 # <limits.h> exists even on freestanding compilers.
11555 # On the NeXT, cc -E runs the code through the compiler's parser,
11556 # not just through cpp. "Syntax error" is here to catch this case.
11557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11560 # include <limits.h>
11562 # include <assert.h>
11566 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11569 # Broken: fails on valid input.
11572 rm -f conftest.err conftest.
$ac_ext
11574 # OK, works on sane cases. Now check whether nonexistent headers
11575 # can be detected and how.
11576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11578 #include <ac_nonexistent.h>
11580 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11581 # Broken: success on invalid input.
11584 # Passes both tests.
11588 rm -f conftest.err conftest.
$ac_ext
11591 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11592 rm -f conftest.err conftest.
$ac_ext
11593 if $ac_preproc_ok; then :
11596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11598 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
11599 See \`config.log' for more details." "$LINENO" 5; }
11603 ac_cpp
='$CPP $CPPFLAGS'
11604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11609 _lt_caught_CXX_error
=yes
11613 ac_cpp
='$CXXCPP $CPPFLAGS'
11614 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11615 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11616 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11618 archive_cmds_need_lc_CXX
=no
11619 allow_undefined_flag_CXX
=
11620 always_export_symbols_CXX
=no
11621 archive_expsym_cmds_CXX
=
11622 compiler_needs_object_CXX
=no
11623 export_dynamic_flag_spec_CXX
=
11624 hardcode_direct_CXX
=no
11625 hardcode_direct_absolute_CXX
=no
11626 hardcode_libdir_flag_spec_CXX
=
11627 hardcode_libdir_flag_spec_ld_CXX
=
11628 hardcode_libdir_separator_CXX
=
11629 hardcode_minus_L_CXX
=no
11630 hardcode_shlibpath_var_CXX
=unsupported
11631 hardcode_automatic_CXX
=no
11632 inherit_rpath_CXX
=no
11634 module_expsym_cmds_CXX
=
11635 link_all_deplibs_CXX
=unknown
11636 old_archive_cmds_CXX
=$old_archive_cmds
11637 reload_flag_CXX
=$reload_flag
11638 reload_cmds_CXX
=$reload_cmds
11639 no_undefined_flag_CXX
=
11640 whole_archive_flag_spec_CXX
=
11641 enable_shared_with_static_runtimes_CXX
=no
11643 # Source file extension for C++ test sources.
11646 # Object file extension for compiled C++ test sources.
11650 # No sense in running all these tests if we already determined that
11651 # the CXX compiler isn't working. Some variables (like enable_shared)
11652 # are currently assumed to apply to all compilers on this platform,
11653 # and will be corrupted by setting them based on a non-working compiler.
11654 if test "$_lt_caught_CXX_error" != yes; then
11655 # Code to be used in simple compile tests
11656 lt_simple_compile_test_code
="int some_variable = 0;"
11658 # Code to be used in simple link tests
11659 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11661 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11668 # If no C compiler was specified, use CC.
11671 # If no C compiler flags were specified, use CFLAGS.
11672 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11674 # Allow CC to be a program name with arguments.
11678 # save warnings/boilerplate of simple test code
11679 ac_outfile
=conftest.
$ac_objext
11680 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11681 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11682 _lt_compiler_boilerplate
=`cat conftest.err`
11685 ac_outfile
=conftest.
$ac_objext
11686 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11687 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11688 _lt_linker_boilerplate
=`cat conftest.err`
11692 # Allow CC to be a program name with arguments.
11697 lt_save_with_gnu_ld
=$with_gnu_ld
11698 lt_save_path_LD
=$lt_cv_path_LD
11699 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11700 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11702 $as_unset lt_cv_prog_gnu_ld
11704 if test -n "${lt_cv_path_LDCXX+set}"; then
11705 lt_cv_path_LD
=$lt_cv_path_LDCXX
11707 $as_unset lt_cv_path_LD
11709 test -z "${LDCXX+set}" || LD
=$LDCXX
11713 for cc_temp
in $compiler""; do
11715 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11716 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11721 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11724 if test -n "$compiler"; then
11725 # We don't want -fno-exception when compiling C++ code, so set the
11726 # no_builtin_flag separately
11727 if test "$GXX" = yes; then
11728 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11730 lt_prog_compiler_no_builtin_flag_CXX
=
11733 if test "$GXX" = yes; then
11734 # Set up default GNU C++ configuration
11738 # Check whether --with-gnu-ld was given.
11739 if test "${with_gnu_ld+set}" = set; then :
11740 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11746 if test "$GCC" = yes; then
11747 # Check if gcc -print-prog-name=ld gives a path.
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11749 $as_echo_n "checking for ld used by $CC... " >&6; }
11752 # gcc leaves a trailing carriage return which upsets mingw
11753 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11755 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11758 # Accept absolute paths.
11760 re_direlt
='/[^/][^/]*/\.\./'
11761 # Canonicalize the pathname of ld
11762 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11763 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
11764 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11766 test -z "$LD" && LD
="$ac_prog"
11769 # If it fails, then pretend we aren't using GCC.
11773 # If it is relative, then search for the first ld in PATH.
11774 with_gnu_ld
=unknown
11777 elif test "$with_gnu_ld" = yes; then
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11779 $as_echo_n "checking for GNU ld... " >&6; }
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11782 $as_echo_n "checking for non-GNU ld... " >&6; }
11784 if test "${lt_cv_path_LD+set}" = set; then :
11785 $as_echo_n "(cached) " >&6
11787 if test -z "$LD"; then
11788 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11789 for ac_dir
in $PATH; do
11791 test -z "$ac_dir" && ac_dir
=.
11792 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11793 lt_cv_path_LD
="$ac_dir/$ac_prog"
11794 # Check to see if the program is GNU ld. I'd rather use --version,
11795 # but apparently some variants of GNU ld only accept -v.
11796 # Break only if it was the GNU/non-GNU ld that we prefer.
11797 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11798 *GNU
* |
*'with BFD'*)
11799 test "$with_gnu_ld" != no
&& break
11802 test "$with_gnu_ld" != yes && break
11809 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11813 LD
="$lt_cv_path_LD"
11814 if test -n "$LD"; then
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11816 $as_echo "$LD" >&6; }
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11819 $as_echo "no" >&6; }
11821 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11823 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11824 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11825 $as_echo_n "(cached) " >&6
11827 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11828 case `$LD -v 2>&1 </dev/null` in
11829 *GNU
* |
*'with BFD'*)
11830 lt_cv_prog_gnu_ld
=yes
11833 lt_cv_prog_gnu_ld
=no
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11838 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11839 with_gnu_ld
=$lt_cv_prog_gnu_ld
11847 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11848 # archiving commands below assume that GNU ld is being used.
11849 if test "$with_gnu_ld" = yes; then
11850 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11851 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'
11853 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11854 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11856 # If archive_cmds runs LD, not CC, wlarc should be empty
11857 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11858 # investigate it a little bit more. (MM)
11861 # ancient GNU ld didn't support --whole-archive et. al.
11862 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11863 $GREP 'no-whole-archive' > /dev
/null
; then
11864 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11866 whole_archive_flag_spec_CXX
=
11872 # A generic and very simple default shared library creation
11873 # command for GNU C++ for the case where it uses the native
11874 # linker, instead of GNU ld. If possible, this setting should
11875 # overridden to take advantage of the native linker features on
11876 # the platform it is being used on.
11877 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11880 # Commands to make compiler produce verbose output that lists
11881 # what "hidden" libraries, object files and flags are used when
11882 # linking a shared library.
11883 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11891 # PORTME: fill in a description of your system's C++ link characteristics
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11893 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11897 # FIXME: insert proper C++ library support
11901 if test "$host_cpu" = ia64
; then
11902 # On IA64, the linker does run time linking by default, so we don't
11903 # have to do anything special.
11904 aix_use_runtimelinking
=no
11905 exp_sym_flag
='-Bexport'
11908 aix_use_runtimelinking
=no
11910 # Test if we are trying to use run time linking or normal
11911 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11912 # need to do runtime linking.
11913 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11914 for ld_flag
in $LDFLAGS; do
11917 aix_use_runtimelinking
=yes
11925 exp_sym_flag
='-bexport'
11926 no_entry_flag
='-bnoentry'
11929 # When large executables or shared objects are built, AIX ld can
11930 # have problems creating the table of contents. If linking a library
11931 # or program results in "error TOC overflow" add -mminimal-toc to
11932 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11933 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11935 archive_cmds_CXX
=''
11936 hardcode_direct_CXX
=yes
11937 hardcode_direct_absolute_CXX
=yes
11938 hardcode_libdir_separator_CXX
=':'
11939 link_all_deplibs_CXX
=yes
11940 file_list_spec_CXX
='${wl}-f,'
11942 if test "$GXX" = yes; then
11943 case $host_os in aix4.
[012]|aix4.
[012].
*)
11944 # We only want to do this on AIX 4.2 and lower, the check
11945 # below for broken collect2 doesn't work under 4.3+
11946 collect2name
=`${CC} -print-prog-name=collect2`
11947 if test -f "$collect2name" &&
11948 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11950 # We have reworked collect2
11953 # We have old collect2
11954 hardcode_direct_CXX
=unsupported
11955 # It fails to find uninstalled libraries when the uninstalled
11956 # path is not listed in the libpath. Setting hardcode_minus_L
11957 # to unsupported forces relinking
11958 hardcode_minus_L_CXX
=yes
11959 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11960 hardcode_libdir_separator_CXX
=
11963 shared_flag
='-shared'
11964 if test "$aix_use_runtimelinking" = yes; then
11965 shared_flag
="$shared_flag "'${wl}-G'
11969 if test "$host_cpu" = ia64
; then
11970 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11971 # chokes on -Wl,-G. The following line is correct:
11974 if test "$aix_use_runtimelinking" = yes; then
11975 shared_flag
='${wl}-G'
11977 shared_flag
='${wl}-bM:SRE'
11982 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11983 # It seems that -bexpall does not export symbols beginning with
11984 # underscore (_), so it is better to generate a list of symbols to
11986 always_export_symbols_CXX
=yes
11987 if test "$aix_use_runtimelinking" = yes; then
11988 # Warning - without using the other runtime loading flags (-brtl),
11989 # -berok will link without error, but may produce a broken library.
11990 allow_undefined_flag_CXX
='-berok'
11991 # Determine the default libpath from the value encoded in an empty
11993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
12004 if ac_fn_cxx_try_link
"$LINENO"; then :
12006 lt_aix_libpath_sed
='
12007 /Import File Strings/,/^$/ {
12013 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12014 # Check for a 64-bit object if we didn't find anything.
12015 if test -z "$aix_libpath"; then
12016 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12019 rm -f core conftest.err conftest.
$ac_objext \
12020 conftest
$ac_exeext conftest.
$ac_ext
12021 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12023 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12025 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"
12027 if test "$host_cpu" = ia64
; then
12028 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12029 allow_undefined_flag_CXX
="-z nodefs"
12030 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"
12032 # Determine the default libpath from the value encoded in an
12033 # empty executable.
12034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12035 /* end confdefs.h. */
12045 if ac_fn_cxx_try_link
"$LINENO"; then :
12047 lt_aix_libpath_sed
='
12048 /Import File Strings/,/^$/ {
12054 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12055 # Check for a 64-bit object if we didn't find anything.
12056 if test -z "$aix_libpath"; then
12057 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12060 rm -f core conftest.err conftest.
$ac_objext \
12061 conftest
$ac_exeext conftest.
$ac_ext
12062 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12064 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12065 # Warning - without using the other run time loading flags,
12066 # -berok will link without error, but may produce a broken library.
12067 no_undefined_flag_CXX
=' ${wl}-bernotok'
12068 allow_undefined_flag_CXX
=' ${wl}-berok'
12069 if test "$with_gnu_ld" = yes; then
12070 # We only use this code for GNU lds that support --whole-archive.
12071 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12073 # Exported symbols can be pulled into shared objects from archives
12074 whole_archive_flag_spec_CXX
='$convenience'
12076 archive_cmds_need_lc_CXX
=yes
12077 # This is similar to how AIX traditionally builds its shared
12079 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'
12085 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12086 allow_undefined_flag_CXX
=unsupported
12087 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12088 # support --undefined. This deserves some investigation. FIXME
12089 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12096 case $cc_basename in
12098 # FIXME: insert proper C++ library support
12104 cygwin
* | mingw
* | pw32
* | cegcc
*)
12105 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12106 # as there is no search path for DLLs.
12107 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12108 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
12109 allow_undefined_flag_CXX
=unsupported
12110 always_export_symbols_CXX
=no
12111 enable_shared_with_static_runtimes_CXX
=yes
12113 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12114 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'
12115 # If the export-symbols file already is a .def file (1st line
12116 # is EXPORTS), use it as is; otherwise, prepend...
12117 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12118 cp $export_symbols $output_objdir/$soname.def;
12120 echo EXPORTS > $output_objdir/$soname.def;
12121 cat $export_symbols >> $output_objdir/$soname.def;
12123 $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'
12128 darwin
* | rhapsody
*)
12131 archive_cmds_need_lc_CXX
=no
12132 hardcode_direct_CXX
=no
12133 hardcode_automatic_CXX
=yes
12134 hardcode_shlibpath_var_CXX
=unsupported
12135 if test "$lt_cv_ld_force_load" = "yes"; then
12136 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\"`'
12138 whole_archive_flag_spec_CXX
=''
12140 link_all_deplibs_CXX
=yes
12141 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12142 case $cc_basename in
12143 ifort
*) _lt_dar_can_shared
=yes ;;
12144 *) _lt_dar_can_shared
=$GCC ;;
12146 if test "$_lt_dar_can_shared" = "yes"; then
12147 output_verbose_link_cmd
=func_echo_all
12148 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}"
12149 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12150 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}"
12151 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}"
12152 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12153 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}"
12154 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}"
12164 case $cc_basename in
12166 # FIXME: insert proper C++ library support
12170 # Green Hills C++ Compiler
12171 # FIXME: insert proper C++ library support
12175 # FIXME: insert proper C++ library support
12182 # C++ shared libraries reported to be fairly broken before
12188 archive_cmds_need_lc_CXX
=no
12191 freebsd
* | dragonfly
*)
12192 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12201 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12202 link_all_deplibs_CXX
=yes
12206 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12207 hardcode_libdir_separator_CXX
=:
12208 export_dynamic_flag_spec_CXX
='${wl}-E'
12209 hardcode_direct_CXX
=yes
12210 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12211 # but as the default
12212 # location of the library.
12214 case $cc_basename in
12216 # FIXME: insert proper C++ library support
12220 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'
12221 # Commands to make compiler produce verbose output that lists
12222 # what "hidden" libraries, object files and flags are used when
12223 # linking a shared library.
12225 # There doesn't appear to be a way to prevent this compiler from
12226 # explicitly linking system object files so we need to strip them
12227 # from the output so that they don't get included in the library
12229 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"'
12232 if test "$GXX" = yes; then
12233 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'
12235 # FIXME: insert proper C++ library support
12243 if test $with_gnu_ld = no
; then
12244 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12245 hardcode_libdir_separator_CXX
=:
12251 export_dynamic_flag_spec_CXX
='${wl}-E'
12257 hardcode_direct_CXX
=no
12258 hardcode_shlibpath_var_CXX
=no
12261 hardcode_direct_CXX
=yes
12262 hardcode_direct_absolute_CXX
=yes
12263 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12264 # but as the default
12265 # location of the library.
12269 case $cc_basename in
12271 # FIXME: insert proper C++ library support
12277 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12280 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12283 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12286 # Commands to make compiler produce verbose output that lists
12287 # what "hidden" libraries, object files and flags are used when
12288 # linking a shared library.
12290 # There doesn't appear to be a way to prevent this compiler from
12291 # explicitly linking system object files so we need to strip them
12292 # from the output so that they don't get included in the library
12294 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"'
12297 if test "$GXX" = yes; then
12298 if test $with_gnu_ld = no
; then
12301 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12304 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12307 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'
12312 # FIXME: insert proper C++ library support
12320 hardcode_direct_CXX
=no
12321 hardcode_shlibpath_var_CXX
=no
12322 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12323 export_dynamic_flag_spec_CXX
='${wl}-E'
12324 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12325 # Instead, shared libraries are loaded at an image base (0x10000000 by
12326 # default) and relocated if they conflict, which is a slow very memory
12327 # consuming and fragmenting process. To avoid this, we pick a random,
12328 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12329 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12330 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'
12331 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'
12334 case $cc_basename in
12337 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'
12339 # Archives containing C++ object files must be created using
12340 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12341 # necessary to make sure instantiated templates are included
12343 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12346 if test "$GXX" = yes; then
12347 if test "$with_gnu_ld" = no
; then
12348 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'
12350 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'
12353 link_all_deplibs_CXX
=yes
12356 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12357 hardcode_libdir_separator_CXX
=:
12358 inherit_rpath_CXX
=yes
12361 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12362 case $cc_basename in
12364 # Kuck and Associates, Inc. (KAI) C++ Compiler
12366 # KCC will only create a shared library if the output file
12367 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12368 # to its proper name (with version) after linking.
12369 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'
12370 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'
12371 # Commands to make compiler produce verbose output that lists
12372 # what "hidden" libraries, object files and flags are used when
12373 # linking a shared library.
12375 # There doesn't appear to be a way to prevent this compiler from
12376 # explicitly linking system object files so we need to strip them
12377 # from the output so that they don't get included in the library
12379 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"'
12381 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12382 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12384 # Archives containing C++ object files must be created using
12385 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12386 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12391 # version 8.0 and above of icpc choke on multiply defined symbols
12392 # if we add $predep_objects and $postdep_objects, however 7.1 and
12393 # earlier do not add the objects themselves.
12394 case `$CC -V 2>&1` in
12396 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12397 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'
12399 *) # Version 8.0 or newer
12402 ia64
*) tmp_idyn
=' -i_dynamic';;
12404 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12405 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'
12408 archive_cmds_need_lc_CXX
=no
12409 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12410 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12411 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12414 # Portland Group C++ compiler
12416 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
12417 prelink_cmds_CXX
='tpldir=Template.dir~
12419 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12420 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12421 old_archive_cmds_CXX
='tpldir=Template.dir~
12423 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12424 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12426 archive_cmds_CXX
='tpldir=Template.dir~
12428 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12429 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12430 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12432 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12433 $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'
12435 *) # Version 6 and above use weak symbols
12436 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12437 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'
12441 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12442 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12443 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'
12447 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12448 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'
12450 runpath_var
=LD_RUN_PATH
12451 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12452 hardcode_libdir_separator_CXX
=:
12454 # Commands to make compiler produce verbose output that lists
12455 # what "hidden" libraries, object files and flags are used when
12456 # linking a shared library.
12458 # There doesn't appear to be a way to prevent this compiler from
12459 # explicitly linking system object files so we need to strip them
12460 # from the output so that they don't get included in the library
12462 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'
12464 xl
* | mpixl
* | bgxl
*)
12465 # IBM XL 8.0 on PPC, with GNU ld
12466 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12467 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12468 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12469 if test "x$supports_anon_versioning" = xyes
; then
12470 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12471 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12472 echo "local: *; };" >> $output_objdir/$libname.ver~
12473 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12477 case `$CC -V 2>&1 | sed 5q` in
12480 no_undefined_flag_CXX
=' -zdefs'
12481 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12482 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'
12483 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12484 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'
12485 compiler_needs_object_CXX
=yes
12487 # Not sure whether something based on
12488 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12490 output_verbose_link_cmd
='func_echo_all'
12492 # Archives containing C++ object files must be created using
12493 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12494 # necessary to make sure instantiated templates are included
12496 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12504 # FIXME: insert proper C++ library support
12509 # FIXME: insert proper C++ library support
12514 case $cc_basename in
12516 # FIXME: insert proper C++ library support
12520 # FIXME: insert proper C++ library support
12527 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12528 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12530 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12531 hardcode_direct_CXX
=yes
12532 hardcode_shlibpath_var_CXX
=no
12534 # Workaround some broken pre-1.5 toolchains
12535 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12543 # C++ shared libraries are fairly broken
12548 if test -f /usr
/libexec
/ld.so
; then
12549 hardcode_direct_CXX
=yes
12550 hardcode_shlibpath_var_CXX
=no
12551 hardcode_direct_absolute_CXX
=yes
12552 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12553 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12554 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12555 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12556 export_dynamic_flag_spec_CXX
='${wl}-E'
12557 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12559 output_verbose_link_cmd
=func_echo_all
12565 osf3
* | osf4
* | osf5
*)
12566 case $cc_basename in
12568 # Kuck and Associates, Inc. (KAI) C++ Compiler
12570 # KCC will only create a shared library if the output file
12571 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12572 # to its proper name (with version) after linking.
12573 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'
12575 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12576 hardcode_libdir_separator_CXX
=:
12578 # Archives containing C++ object files must be created using
12579 # the KAI C++ compiler.
12581 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12582 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12586 # Rational C++ 2.4.1
12587 # FIXME: insert proper C++ library support
12593 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12594 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'
12595 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12598 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12599 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'
12600 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12601 echo "-hidden">> $lib.exp~
12602 $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~
12604 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12608 hardcode_libdir_separator_CXX
=:
12610 # Commands to make compiler produce verbose output that lists
12611 # what "hidden" libraries, object files and flags are used when
12612 # linking a shared library.
12614 # There doesn't appear to be a way to prevent this compiler from
12615 # explicitly linking system object files so we need to strip them
12616 # from the output so that they don't get included in the library
12618 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"'
12621 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12622 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12625 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'
12628 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'
12632 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12633 hardcode_libdir_separator_CXX
=:
12635 # Commands to make compiler produce verbose output that lists
12636 # what "hidden" libraries, object files and flags are used when
12637 # linking a shared library.
12638 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12641 # FIXME: insert proper C++ library support
12649 # FIXME: insert proper C++ library support
12654 case $cc_basename in
12657 # FIXME: insert proper C++ library support
12662 # FIXME: insert proper C++ library support
12666 # FIXME: insert proper C++ library support
12673 case $cc_basename in
12675 # Sun C++ 4.2, 5.x and Centerline C++
12676 archive_cmds_need_lc_CXX
=yes
12677 no_undefined_flag_CXX
=' -zdefs'
12678 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12679 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12680 $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'
12682 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12683 hardcode_shlibpath_var_CXX
=no
12685 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12687 # The compiler driver will combine and reorder linker options,
12688 # but understands `-z linker_flag'.
12689 # Supported since Solaris 2.6 (maybe 2.5.1?)
12690 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12693 link_all_deplibs_CXX
=yes
12695 output_verbose_link_cmd
='func_echo_all'
12697 # Archives containing C++ object files must be created using
12698 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12699 # necessary to make sure instantiated templates are included
12701 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12704 # Green Hills C++ Compiler
12705 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12707 # The C++ compiler must be used to create the archive.
12708 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12711 # GNU C++ compiler with Solaris linker
12712 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12713 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12714 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
12715 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12716 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12717 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12719 # Commands to make compiler produce verbose output that lists
12720 # what "hidden" libraries, object files and flags are used when
12721 # linking a shared library.
12722 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12724 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12726 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12727 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12728 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12730 # Commands to make compiler produce verbose output that lists
12731 # what "hidden" libraries, object files and flags are used when
12732 # linking a shared library.
12733 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12736 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12738 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12740 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12748 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12749 no_undefined_flag_CXX
='${wl}-z,text'
12750 archive_cmds_need_lc_CXX
=no
12751 hardcode_shlibpath_var_CXX
=no
12752 runpath_var
='LD_RUN_PATH'
12754 case $cc_basename in
12756 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12757 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12760 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12761 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12766 sysv5
* | sco3.2v5
* | sco5v6
*)
12767 # Note: We can NOT use -z defs as we might desire, because we do not
12768 # link with -lc, and that would cause any symbols used from libc to
12769 # always be unresolved, which means just about no library would
12770 # ever link correctly. If we're not using GNU ld we use -z text
12771 # though, which does catch some bad symbols but isn't as heavy-handed
12773 no_undefined_flag_CXX
='${wl}-z,text'
12774 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12775 archive_cmds_need_lc_CXX
=no
12776 hardcode_shlibpath_var_CXX
=no
12777 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12778 hardcode_libdir_separator_CXX
=':'
12779 link_all_deplibs_CXX
=yes
12780 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12781 runpath_var
='LD_RUN_PATH'
12783 case $cc_basename in
12785 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12786 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12787 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
12788 '"$old_archive_cmds_CXX"
12789 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
12790 '"$reload_cmds_CXX"
12793 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12794 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12800 case $cc_basename in
12802 # NonStop-UX NCC 3.20
12803 # FIXME: insert proper C++ library support
12807 # FIXME: insert proper C++ library support
12814 # FIXME: insert proper C++ library support
12819 # FIXME: insert proper C++ library support
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12825 $as_echo "$ld_shlibs_CXX" >&6; }
12826 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12832 ## There is no encapsulation within the following macros, do not change
12833 ## the running order or otherwise move them around unless you know exactly
12834 ## what you are doing...
12835 # Dependencies to place before and after the object being linked:
12836 predep_objects_CXX
=
12837 postdep_objects_CXX
=
12840 compiler_lib_search_path_CXX
=
12842 cat > conftest.
$ac_ext <<_LT_EOF
12846 Foo (void) { a = 0; }
12852 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12853 (eval $ac_compile) 2>&5
12855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12856 test $ac_status = 0; }; then
12857 # Parse the compiler output and extract the necessary
12858 # objects, libraries and library flags.
12860 # Sentinel used to keep track of whether or not we are before
12861 # the conftest object file.
12862 pre_test_object_deps_done
=no
12864 for p
in `eval "$output_verbose_link_cmd"`; do
12868 # Some compilers place space between "-{L,R}" and the path.
12869 # Remove the space.
12870 if test $p = "-L" ||
12871 test $p = "-R"; then
12878 if test "$pre_test_object_deps_done" = no
; then
12881 # Internal compiler library paths should come after those
12882 # provided the user. The postdeps already come after the
12883 # user supplied libs so there is no need to process them.
12884 if test -z "$compiler_lib_search_path_CXX"; then
12885 compiler_lib_search_path_CXX
="${prev}${p}"
12887 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12890 # The "-l" case would never come before the object being
12891 # linked, so don't bother handling this case.
12894 if test -z "$postdeps_CXX"; then
12895 postdeps_CXX
="${prev}${p}"
12897 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12903 # This assumes that the test object file only shows up
12904 # once in the compiler output.
12905 if test "$p" = "conftest.$objext"; then
12906 pre_test_object_deps_done
=yes
12910 if test "$pre_test_object_deps_done" = no
; then
12911 if test -z "$predep_objects_CXX"; then
12912 predep_objects_CXX
="$p"
12914 predep_objects_CXX
="$predep_objects_CXX $p"
12917 if test -z "$postdep_objects_CXX"; then
12918 postdep_objects_CXX
="$p"
12920 postdep_objects_CXX
="$postdep_objects_CXX $p"
12925 *) ;; # Ignore the rest.
12933 echo "libtool.m4: error: problem compiling CXX test program"
12936 $RM -f confest.
$objext
12938 # PORTME: override above test on systems where it is broken
12941 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12942 # hack all around it, let's just trust "g++" to DTRT.
12943 predep_objects_CXX
=
12944 postdep_objects_CXX
=
12949 case `$CC -V 2>&1 | sed 5q` in
12953 # The more standards-conforming stlport4 library is
12954 # incompatible with the Cstd library. Avoid specifying
12955 # it if it's in CXXFLAGS. Ignore libCrun as
12956 # -library=stlport4 depends on it.
12957 case " $CXX $CXXFLAGS " in
12958 *" -library=stlport4 "*)
12959 solaris_use_stlport4
=yes
12963 if test "$solaris_use_stlport4" != yes; then
12964 postdeps_CXX
='-library=Cstd -library=Crun'
12971 case $cc_basename in
12973 # The more standards-conforming stlport4 library is
12974 # incompatible with the Cstd library. Avoid specifying
12975 # it if it's in CXXFLAGS. Ignore libCrun as
12976 # -library=stlport4 depends on it.
12977 case " $CXX $CXXFLAGS " in
12978 *" -library=stlport4 "*)
12979 solaris_use_stlport4
=yes
12983 # Adding this requires a known-good setup of shared libraries for
12984 # Sun compiler versions before 5.6, else PIC objects from an old
12985 # archive will be linked into the output, leading to subtle bugs.
12986 if test "$solaris_use_stlport4" != yes; then
12987 postdeps_CXX
='-library=Cstd -library=Crun'
12995 case " $postdeps_CXX " in
12996 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12998 compiler_lib_search_dirs_CXX
=
12999 if test -n "${compiler_lib_search_path_CXX}"; then
13000 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13033 lt_prog_compiler_wl_CXX
=
13034 lt_prog_compiler_pic_CXX
=
13035 lt_prog_compiler_static_CXX
=
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13038 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13040 # C++ specific cases for pic, static, wl, etc.
13041 if test "$GXX" = yes; then
13042 lt_prog_compiler_wl_CXX
='-Wl,'
13043 lt_prog_compiler_static_CXX
='-static'
13047 # All AIX code is PIC.
13048 if test "$host_cpu" = ia64
; then
13049 # AIX 5 now supports IA64 processor
13050 lt_prog_compiler_static_CXX
='-Bstatic'
13057 # see comment about AmigaOS4 .so support
13058 lt_prog_compiler_pic_CXX
='-fPIC'
13061 # FIXME: we need at least 68020 code to build shared libraries, but
13062 # adding the `-m68020' flag to GCC prevents building anything better,
13064 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13069 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13070 # PIC is the default for these OSes.
13072 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13073 # This hack is so that the source file can tell whether it is being
13074 # built for inclusion in a dll (and should export symbols for example).
13075 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13076 # (--disable-auto-import) libraries
13077 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13079 darwin
* | rhapsody
*)
13080 # PIC is the default on this platform
13081 # Common symbols not allowed in MH_DYLIB files
13082 lt_prog_compiler_pic_CXX
='-fno-common'
13085 # DJGPP does not support shared libraries at all
13086 lt_prog_compiler_pic_CXX
=
13089 # PIC is the default for Haiku.
13090 # The "-static" flag exists, but is broken.
13091 lt_prog_compiler_static_CXX
=
13094 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13095 # Instead, we relocate shared libraries at runtime.
13098 if test -d /usr
/nec
; then
13099 lt_prog_compiler_pic_CXX
=-Kconform_pic
13103 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13104 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13105 # sets the default TLS model and affects inlining.
13110 lt_prog_compiler_pic_CXX
='-fPIC'
13115 # QNX uses GNU C++, but need to define -shared option too, otherwise
13116 # it will coredump.
13117 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13120 lt_prog_compiler_pic_CXX
='-fPIC'
13126 # All AIX code is PIC.
13127 if test "$host_cpu" = ia64
; then
13128 # AIX 5 now supports IA64 processor
13129 lt_prog_compiler_static_CXX
='-Bstatic'
13131 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13135 case $cc_basename in
13137 # Green Hills C++ Compiler
13138 # _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"
13143 case $cc_basename in
13145 lt_prog_compiler_pic_CXX
='-KPIC'
13148 # Green Hills C++ Compiler
13149 lt_prog_compiler_pic_CXX
='-pic'
13155 freebsd
* | dragonfly
*)
13156 # FreeBSD uses GNU C++
13158 hpux9
* | hpux10
* | hpux11
*)
13159 case $cc_basename in
13161 lt_prog_compiler_wl_CXX
='-Wl,'
13162 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13163 if test "$host_cpu" != ia64
; then
13164 lt_prog_compiler_pic_CXX
='+Z'
13168 lt_prog_compiler_wl_CXX
='-Wl,'
13169 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13175 lt_prog_compiler_pic_CXX
='+Z'
13184 # This is c89, which is MS Visual C++ (no shared libs)
13185 # Anyone wants to do a port?
13187 irix5
* | irix6
* | nonstopux
*)
13188 case $cc_basename in
13190 lt_prog_compiler_wl_CXX
='-Wl,'
13191 lt_prog_compiler_static_CXX
='-non_shared'
13192 # CC pic flag -KPIC is the default.
13198 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13199 case $cc_basename in
13202 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13203 lt_prog_compiler_pic_CXX
='-fPIC'
13206 # old Intel C++ for x86_64 which still supported -KPIC.
13207 lt_prog_compiler_wl_CXX
='-Wl,'
13208 lt_prog_compiler_pic_CXX
='-KPIC'
13209 lt_prog_compiler_static_CXX
='-static'
13212 # Intel C++, used to be incompatible with GCC.
13213 # ICC 10 doesn't accept -KPIC any more.
13214 lt_prog_compiler_wl_CXX
='-Wl,'
13215 lt_prog_compiler_pic_CXX
='-fPIC'
13216 lt_prog_compiler_static_CXX
='-static'
13219 # Portland Group C++ compiler
13220 lt_prog_compiler_wl_CXX
='-Wl,'
13221 lt_prog_compiler_pic_CXX
='-fpic'
13222 lt_prog_compiler_static_CXX
='-Bstatic'
13226 # Make sure the PIC flag is empty. It appears that all Alpha
13227 # Linux and Compaq Tru64 Unix objects are PIC.
13228 lt_prog_compiler_pic_CXX
=
13229 lt_prog_compiler_static_CXX
='-non_shared'
13231 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
13232 # IBM XL 8.0, 9.0 on PPC and BlueGene
13233 lt_prog_compiler_wl_CXX
='-Wl,'
13234 lt_prog_compiler_pic_CXX
='-qpic'
13235 lt_prog_compiler_static_CXX
='-qstaticlink'
13238 case `$CC -V 2>&1 | sed 5q` in
13241 lt_prog_compiler_pic_CXX
='-KPIC'
13242 lt_prog_compiler_static_CXX
='-Bstatic'
13243 lt_prog_compiler_wl_CXX
='-Qoption ld '
13254 case $cc_basename in
13256 lt_prog_compiler_pic_CXX
='-W c,exportall'
13265 # QNX uses GNU C++, but need to define -shared option too, otherwise
13266 # it will coredump.
13267 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13269 osf3
* | osf4
* | osf5
*)
13270 case $cc_basename in
13272 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13275 # Rational C++ 2.4.1
13276 lt_prog_compiler_pic_CXX
='-pic'
13279 # Digital/Compaq C++
13280 lt_prog_compiler_wl_CXX
='-Wl,'
13281 # Make sure the PIC flag is empty. It appears that all Alpha
13282 # Linux and Compaq Tru64 Unix objects are PIC.
13283 lt_prog_compiler_pic_CXX
=
13284 lt_prog_compiler_static_CXX
='-non_shared'
13293 case $cc_basename in
13295 # Sun C++ 4.2, 5.x and Centerline C++
13296 lt_prog_compiler_pic_CXX
='-KPIC'
13297 lt_prog_compiler_static_CXX
='-Bstatic'
13298 lt_prog_compiler_wl_CXX
='-Qoption ld '
13301 # Green Hills C++ Compiler
13302 lt_prog_compiler_pic_CXX
='-PIC'
13309 case $cc_basename in
13312 lt_prog_compiler_pic_CXX
='-pic'
13313 lt_prog_compiler_static_CXX
='-Bstatic'
13317 lt_prog_compiler_pic_CXX
='-pic'
13323 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13324 case $cc_basename in
13326 lt_prog_compiler_wl_CXX
='-Wl,'
13327 lt_prog_compiler_pic_CXX
='-KPIC'
13328 lt_prog_compiler_static_CXX
='-Bstatic'
13333 case $cc_basename in
13335 # NonStop-UX NCC 3.20
13336 lt_prog_compiler_pic_CXX
='-KPIC'
13345 lt_prog_compiler_can_build_shared_CXX
=no
13351 # For platforms which do not support PIC, -DPIC is meaningless:
13353 lt_prog_compiler_pic_CXX
=
13356 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13360 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13365 # Check to make sure the PIC flag actually works.
13367 if test -n "$lt_prog_compiler_pic_CXX"; then
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13369 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13370 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13371 $as_echo_n "(cached) " >&6
13373 lt_cv_prog_compiler_pic_works_CXX
=no
13374 ac_outfile
=conftest.
$ac_objext
13375 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13376 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13377 # Insert the option either (1) after the last *FLAGS variable, or
13378 # (2) before a word containing "conftest.", or (3) at the end.
13379 # Note that $ac_compile itself does not contain backslashes and begins
13380 # with a dollar sign (not a hyphen), so the echo should work correctly.
13381 # The option is referenced via a variable to avoid confusing sed.
13382 lt_compile
=`echo "$ac_compile" | $SED \
13383 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13384 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13385 -e 's:$: $lt_compiler_flag:'`
13386 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13387 (eval "$lt_compile" 2>conftest.err
)
13389 cat conftest.err
>&5
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 if (exit $ac_status) && test -s "$ac_outfile"; then
13392 # The compiler can only warn and ignore the option if not recognized
13393 # So say no if there are warnings other than the usual output.
13394 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13395 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13396 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13397 lt_cv_prog_compiler_pic_works_CXX
=yes
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13404 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13406 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13407 case $lt_prog_compiler_pic_CXX in
13409 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13412 lt_prog_compiler_pic_CXX
=
13413 lt_prog_compiler_can_build_shared_CXX
=no
13421 # Check to make sure the static flag actually works.
13423 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13425 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13426 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13427 $as_echo_n "(cached) " >&6
13429 lt_cv_prog_compiler_static_works_CXX
=no
13430 save_LDFLAGS
="$LDFLAGS"
13431 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13432 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13433 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13434 # The linker can only warn and ignore the option if not recognized
13435 # So say no if there are warnings
13436 if test -s conftest.err
; then
13437 # Append any errors to the config.log.
13438 cat conftest.err
1>&5
13439 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13440 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13441 if diff conftest.exp conftest.er2
>/dev
/null
; then
13442 lt_cv_prog_compiler_static_works_CXX
=yes
13445 lt_cv_prog_compiler_static_works_CXX
=yes
13449 LDFLAGS
="$save_LDFLAGS"
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13453 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13455 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13458 lt_prog_compiler_static_CXX
=
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13465 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13466 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13467 $as_echo_n "(cached) " >&6
13469 lt_cv_prog_compiler_c_o_CXX
=no
13470 $RM -r conftest
2>/dev
/null
13474 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13476 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13477 # Insert the option either (1) after the last *FLAGS variable, or
13478 # (2) before a word containing "conftest.", or (3) at the end.
13479 # Note that $ac_compile itself does not contain backslashes and begins
13480 # with a dollar sign (not a hyphen), so the echo should work correctly.
13481 lt_compile
=`echo "$ac_compile" | $SED \
13482 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13483 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13484 -e 's:$: $lt_compiler_flag:'`
13485 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13486 (eval "$lt_compile" 2>out
/conftest.err
)
13488 cat out
/conftest.err
>&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13492 # The compiler can only warn and ignore the option if not recognized
13493 # So say no if there are warnings
13494 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13495 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13496 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13497 lt_cv_prog_compiler_c_o_CXX
=yes
13502 # SGI C++ compiler will create directory out/ii_files/ for
13503 # template instantiation
13504 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13505 $RM out
/* && rmdir out
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13512 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13517 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13518 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13519 $as_echo_n "(cached) " >&6
13521 lt_cv_prog_compiler_c_o_CXX
=no
13522 $RM -r conftest
2>/dev
/null
13526 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13528 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13529 # Insert the option either (1) after the last *FLAGS variable, or
13530 # (2) before a word containing "conftest.", or (3) at the end.
13531 # Note that $ac_compile itself does not contain backslashes and begins
13532 # with a dollar sign (not a hyphen), so the echo should work correctly.
13533 lt_compile
=`echo "$ac_compile" | $SED \
13534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13536 -e 's:$: $lt_compiler_flag:'`
13537 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13538 (eval "$lt_compile" 2>out
/conftest.err
)
13540 cat out
/conftest.err
>&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13544 # The compiler can only warn and ignore the option if not recognized
13545 # So say no if there are warnings
13546 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13547 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13548 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13549 lt_cv_prog_compiler_c_o_CXX
=yes
13554 # SGI C++ compiler will create directory out/ii_files/ for
13555 # template instantiation
13556 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13557 $RM out
/* && rmdir out
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13564 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13569 hard_links
="nottested"
13570 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13571 # do not overwrite the value of need_locks provided by the user
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13573 $as_echo_n "checking if we can lock with hard links... " >&6; }
13576 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13578 ln conftest.a conftest.b
2>&5 || hard_links
=no
13579 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13581 $as_echo "$hard_links" >&6; }
13582 if test "$hard_links" = no
; then
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13584 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13594 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13596 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13599 # If we're using GNU nm, then we don't want the "-C" option.
13600 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13601 # Also, AIX nm treats weak defined symbols like other global defined
13602 # symbols, whereas GNU nm marks them as "W".
13603 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13604 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'
13606 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'
13610 export_symbols_cmds_CXX
="$ltdll_cmds"
13612 cygwin
* | mingw
* | cegcc
*)
13613 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'
13616 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13619 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13622 $as_echo "$ld_shlibs_CXX" >&6; }
13623 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13625 with_gnu_ld_CXX
=$with_gnu_ld
13633 # Do we need to explicitly link libc?
13635 case "x$archive_cmds_need_lc_CXX" in
13637 # Assume -lc should be added
13638 archive_cmds_need_lc_CXX
=yes
13640 if test "$enable_shared" = yes && test "$GCC" = yes; then
13641 case $archive_cmds_CXX in
13643 # FIXME: we may have to deal with multi-command sequences.
13646 # Test whether the compiler implicitly links with -lc since on some
13647 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13648 # to ld, don't add -lc before -lgcc.
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13650 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13651 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13652 $as_echo_n "(cached) " >&6
13655 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13657 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13658 (eval $ac_compile) 2>&5
13660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13661 test $ac_status = 0; } 2>conftest.err
; then
13664 libobjs
=conftest.
$ac_objext
13666 wl
=$lt_prog_compiler_wl_CXX
13667 pic_flag
=$lt_prog_compiler_pic_CXX
13673 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13674 allow_undefined_flag_CXX
=
13675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13676 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13679 test $ac_status = 0; }
13681 lt_cv_archive_cmds_need_lc_CXX
=no
13683 lt_cv_archive_cmds_need_lc_CXX
=yes
13685 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13687 cat conftest.err
1>&5
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13693 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13694 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13765 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13767 library_names_spec
=
13768 libname_spec
='lib$name'
13772 postuninstall_cmds
=
13776 shlibpath_overrides_runpath
=unknown
13778 dynamic_linker
="$host_os ld.so"
13779 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13780 need_lib_prefix
=unknown
13781 hardcode_into_libs
=no
13783 # when you set need_version to no, make sure it does not cause -set_version
13784 # flags to be left without arguments
13785 need_version
=unknown
13790 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13791 shlibpath_var
=LIBPATH
13793 # AIX 3 has no versioning support, so we append a major version to the name.
13794 soname_spec
='${libname}${release}${shared_ext}$major'
13801 hardcode_into_libs
=yes
13802 if test "$host_cpu" = ia64
; then
13803 # AIX 5 supports IA64
13804 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13805 shlibpath_var
=LD_LIBRARY_PATH
13807 # With GCC up to 2.95.x, collect2 would create an import file
13808 # for dependence libraries. The import file would start with
13809 # the line `#! .'. This would cause the generated library to
13810 # depend on `.', always an invalid library. This was fixed in
13811 # development snapshots of GCC prior to 3.0.
13813 aix4 | aix4.
[01] | aix4.
[01].
*)
13814 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13816 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13819 can_build_shared
=no
13823 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13824 # soname into executable. Probably we can add versioning support to
13825 # collect2, so additional links can be useful in future.
13826 if test "$aix_use_runtimelinking" = yes; then
13827 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13828 # instead of lib<name>.a to let people know that these are not
13829 # typical AIX shared libraries.
13830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13832 # We preserve .a as extension for shared libraries through AIX4.2
13833 # and later when we are not doing run time linking.
13834 library_names_spec
='${libname}${release}.a $libname.a'
13835 soname_spec
='${libname}${release}${shared_ext}$major'
13837 shlibpath_var
=LIBPATH
13844 # Since July 2007 AmigaOS4 officially supports .so libraries.
13845 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13849 library_names_spec
='$libname.ixlibrary $libname.a'
13850 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13851 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'
13857 library_names_spec
='${libname}${shared_ext}'
13858 dynamic_linker
="$host_os ld.so"
13859 shlibpath_var
=LIBRARY_PATH
13865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13866 soname_spec
='${libname}${release}${shared_ext}$major'
13867 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13868 shlibpath_var
=LD_LIBRARY_PATH
13869 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13870 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13871 # the default ld.so.conf also contains /usr/contrib/lib and
13872 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13873 # libtool to hard-code these into programs
13876 cygwin
* | mingw
* | pw32
* | cegcc
*)
13877 version_type
=windows
13882 case $GCC,$host_os in
13883 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13884 library_names_spec
='$libname.dll.a'
13885 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13886 postinstall_cmds
='base_file=`basename \${file}`~
13887 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13888 dldir=$destdir/`dirname \$dlpath`~
13889 test -d \$dldir || mkdir -p \$dldir~
13890 $install_prog $dir/$dlname \$dldir/$dlname~
13891 chmod a+x \$dldir/$dlname~
13892 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13893 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13895 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13896 dlpath=$dir/\$dldll~
13898 shlibpath_overrides_runpath
=yes
13902 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13903 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13907 # MinGW DLLs use traditional 'lib' prefix
13908 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13911 # pw32 DLLs use 'pw' prefix rather than 'lib'
13912 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13918 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13921 dynamic_linker
='Win32 ld.exe'
13922 # FIXME: first we should search . and the directory the executable is in
13926 darwin
* | rhapsody
*)
13927 dynamic_linker
="$host_os dyld"
13928 version_type
=darwin
13931 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13932 soname_spec
='${libname}${release}${major}$shared_ext'
13933 shlibpath_overrides_runpath
=yes
13934 shlibpath_var
=DYLD_LIBRARY_PATH
13935 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13937 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13945 soname_spec
='${libname}${release}${shared_ext}$major'
13946 shlibpath_var
=LD_LIBRARY_PATH
13949 freebsd
* | dragonfly
*)
13950 # DragonFly does not have aout. When/if they implement a new
13951 # versioning mechanism, adjust this.
13952 if test -x /usr
/bin
/objformat
; then
13953 objformat
=`/usr/bin/objformat`
13956 freebsd
[123]*) objformat
=aout
;;
13957 *) objformat
=elf
;;
13960 version_type
=freebsd-
$objformat
13961 case $version_type in
13963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13968 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13972 shlibpath_var
=LD_LIBRARY_PATH
13975 shlibpath_overrides_runpath
=yes
13977 freebsd3.
[01]* | freebsdelf3.
[01]*)
13978 shlibpath_overrides_runpath
=yes
13979 hardcode_into_libs
=yes
13981 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13982 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13983 shlibpath_overrides_runpath
=no
13984 hardcode_into_libs
=yes
13986 *) # from 4.6 on, and DragonFly
13987 shlibpath_overrides_runpath
=yes
13988 hardcode_into_libs
=yes
13997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13998 soname_spec
='${libname}${release}${shared_ext}$major'
13999 shlibpath_var
=LD_LIBRARY_PATH
14000 hardcode_into_libs
=yes
14007 dynamic_linker
="$host_os runtime_loader"
14008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14009 soname_spec
='${libname}${release}${shared_ext}$major'
14010 shlibpath_var
=LIBRARY_PATH
14011 shlibpath_overrides_runpath
=yes
14012 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14013 hardcode_into_libs
=yes
14016 hpux9
* | hpux10
* | hpux11
*)
14017 # Give a soname corresponding to the major version so that dld.sl refuses to
14018 # link against other versions.
14025 hardcode_into_libs
=yes
14026 dynamic_linker
="$host_os dld.so"
14027 shlibpath_var
=LD_LIBRARY_PATH
14028 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14030 soname_spec
='${libname}${release}${shared_ext}$major'
14031 if test "X$HPUX_IA64_MODE" = X32
; then
14032 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14034 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14036 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14040 hardcode_into_libs
=yes
14041 dynamic_linker
="$host_os dld.sl"
14042 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14043 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14047 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14051 dynamic_linker
="$host_os dld.sl"
14052 shlibpath_var
=SHLIB_PATH
14053 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14055 soname_spec
='${libname}${release}${shared_ext}$major'
14058 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14059 postinstall_cmds
='chmod 555 $lib'
14060 # or fails outright, so override atomically:
14061 install_override_mode
=555
14068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14069 soname_spec
='${libname}${release}${shared_ext}$major'
14070 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14071 shlibpath_var
=LD_LIBRARY_PATH
14072 shlibpath_overrides_runpath
=no
14073 hardcode_into_libs
=yes
14076 irix5
* | irix6
* | nonstopux
*)
14078 nonstopux
*) version_type
=nonstopux
;;
14080 if test "$lt_cv_prog_gnu_ld" = yes; then
14088 soname_spec
='${libname}${release}${shared_ext}$major'
14089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14091 irix5
* | nonstopux
*)
14092 libsuff
= shlibsuff
=
14095 case $LD in # libtool.m4 will add one of these switches to LD
14096 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14097 libsuff
= shlibsuff
= libmagic
=32-bit;;
14098 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14099 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14100 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14101 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14102 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14106 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14107 shlibpath_overrides_runpath
=no
14108 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14109 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14110 hardcode_into_libs
=yes
14113 # No shared lib support for Linux oldld, aout, or coff.
14114 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14118 # This must be Linux ELF.
14119 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14124 soname_spec
='${libname}${release}${shared_ext}$major'
14125 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14126 shlibpath_var
=LD_LIBRARY_PATH
14127 shlibpath_overrides_runpath
=no
14129 # Some binutils ld are patched to set DT_RUNPATH
14130 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14131 $as_echo_n "(cached) " >&6
14133 lt_cv_shlibpath_overrides_runpath
=no
14134 save_LDFLAGS
=$LDFLAGS
14135 save_libdir
=$libdir
14136 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14137 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14149 if ac_fn_cxx_try_link
"$LINENO"; then :
14150 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14151 lt_cv_shlibpath_overrides_runpath
=yes
14154 rm -f core conftest.err conftest.
$ac_objext \
14155 conftest
$ac_exeext conftest.
$ac_ext
14156 LDFLAGS
=$save_LDFLAGS
14157 libdir
=$save_libdir
14161 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
14163 # This implies no fast_install, which is unacceptable.
14164 # Some rework will be needed to allow for fast_install
14165 # before this can be enabled.
14166 hardcode_into_libs
=yes
14168 # Append ld.so.conf contents to the search path
14169 if test -f /etc
/ld.so.conf
; then
14170 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' ' '`
14171 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14174 # We used to test for /lib/ld.so.1 and disable shared libraries on
14175 # powerpc, because MkLinux only supported shared libraries with the
14176 # GNU dynamic linker. Since this was broken with cross compilers,
14177 # most powerpc-linux boxes support dynamic linking these days and
14178 # people can always --disable-shared, the test was removed, and we
14179 # assume the GNU/Linux dynamic linker is in use.
14180 dynamic_linker
='GNU/Linux ld.so'
14187 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14189 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14190 dynamic_linker
='NetBSD (a.out) ld.so'
14192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14193 soname_spec
='${libname}${release}${shared_ext}$major'
14194 dynamic_linker
='NetBSD ld.elf_so'
14196 shlibpath_var
=LD_LIBRARY_PATH
14197 shlibpath_overrides_runpath
=yes
14198 hardcode_into_libs
=yes
14203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14204 shlibpath_var
=LD_LIBRARY_PATH
14205 shlibpath_overrides_runpath
=yes
14212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14213 soname_spec
='${libname}${release}${shared_ext}$major'
14214 shlibpath_var
=LD_LIBRARY_PATH
14215 shlibpath_overrides_runpath
=no
14216 hardcode_into_libs
=yes
14217 dynamic_linker
='ldqnx.so'
14222 sys_lib_dlsearch_path_spec
="/usr/lib"
14224 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14226 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14227 *) need_version
=no
;;
14229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14230 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14231 shlibpath_var
=LD_LIBRARY_PATH
14232 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14234 openbsd2.
[89] | openbsd2.
[89].
*)
14235 shlibpath_overrides_runpath
=no
14238 shlibpath_overrides_runpath
=yes
14242 shlibpath_overrides_runpath
=yes
14247 libname_spec
='$name'
14250 library_names_spec
='$libname${shared_ext} $libname.a'
14251 dynamic_linker
='OS/2 ld.exe'
14252 shlibpath_var
=LIBPATH
14255 osf3
* | osf4
* | osf5
*)
14259 soname_spec
='${libname}${release}${shared_ext}$major'
14260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14261 shlibpath_var
=LD_LIBRARY_PATH
14262 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14263 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14275 soname_spec
='${libname}${release}${shared_ext}$major'
14276 shlibpath_var
=LD_LIBRARY_PATH
14277 shlibpath_overrides_runpath
=yes
14278 hardcode_into_libs
=yes
14279 # ldd complains unless libraries are executable
14280 postinstall_cmds
='chmod +x $lib'
14285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14286 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14287 shlibpath_var
=LD_LIBRARY_PATH
14288 shlibpath_overrides_runpath
=yes
14289 if test "$with_gnu_ld" = yes; then
14297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14298 soname_spec
='${libname}${release}${shared_ext}$major'
14299 shlibpath_var
=LD_LIBRARY_PATH
14300 case $host_vendor in
14302 shlibpath_overrides_runpath
=no
14304 runpath_var
=LD_RUN_PATH
14312 shlibpath_overrides_runpath
=no
14313 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14319 if test -d /usr
/nec
;then
14321 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14322 soname_spec
='$libname${shared_ext}.$major'
14323 shlibpath_var
=LD_LIBRARY_PATH
14327 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14328 version_type
=freebsd-elf
14331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14332 soname_spec
='${libname}${release}${shared_ext}$major'
14333 shlibpath_var
=LD_LIBRARY_PATH
14334 shlibpath_overrides_runpath
=yes
14335 hardcode_into_libs
=yes
14336 if test "$with_gnu_ld" = yes; then
14337 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14339 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14342 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14346 sys_lib_dlsearch_path_spec
='/usr/lib'
14350 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14355 shlibpath_var
=LD_LIBRARY_PATH
14356 shlibpath_overrides_runpath
=no
14357 hardcode_into_libs
=yes
14362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14363 soname_spec
='${libname}${release}${shared_ext}$major'
14364 shlibpath_var
=LD_LIBRARY_PATH
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14372 $as_echo "$dynamic_linker" >&6; }
14373 test "$dynamic_linker" = no
&& can_build_shared
=no
14375 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14376 if test "$GCC" = yes; then
14377 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14380 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14381 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14383 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14384 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14425 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14426 hardcode_action_CXX
=
14427 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14428 test -n "$runpath_var_CXX" ||
14429 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14431 # We can hardcode non-existent directories.
14432 if test "$hardcode_direct_CXX" != no
&&
14433 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14434 # have to relink, otherwise we might link with an installed library
14435 # when we should be linking with a yet-to-be-installed one
14436 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14437 test "$hardcode_minus_L_CXX" != no
; then
14438 # Linking always hardcodes the temporary library directory.
14439 hardcode_action_CXX
=relink
14441 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14442 hardcode_action_CXX
=immediate
14445 # We cannot hardcode anything, or else we can only hardcode existing
14447 hardcode_action_CXX
=unsupported
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14450 $as_echo "$hardcode_action_CXX" >&6; }
14452 if test "$hardcode_action_CXX" = relink ||
14453 test "$inherit_rpath_CXX" = yes; then
14454 # Fast installation is not supported
14455 enable_fast_install
=no
14456 elif test "$shlibpath_overrides_runpath" = yes ||
14457 test "$enable_shared" = no
; then
14458 # Fast installation is not necessary
14459 enable_fast_install
=needless
14468 fi # test -n "$compiler"
14474 with_gnu_ld
=$lt_save_with_gnu_ld
14475 lt_cv_path_LDCXX
=$lt_cv_path_LD
14476 lt_cv_path_LD
=$lt_save_path_LD
14477 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14478 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14479 fi # test "$_lt_caught_CXX_error" != yes
14482 ac_cpp
='$CPP $CPPFLAGS'
14483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14499 ac_config_commands
="$ac_config_commands libtool"
14504 # Only expand once:
14510 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
14511 if test "x$ac_cv_header_stdint_h" = x
""yes; then :
14519 if test $MF_HAVE_STDINT_H = 1
14521 MF_HAVE_UINTPTR_T
=1
14523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14524 /* end confdefs.h. */
14525 #include <sys/types.h>
14534 if ac_fn_c_try_compile
"$LINENO"; then :
14535 MF_HAVE_UINTPTR_T
=1
14537 MF_HAVE_UINTPTR_T
=0
14539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14543 for ac_header
in pthread.h
14545 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
14546 if test "x$ac_cv_header_pthread_h" = x
""yes; then :
14547 cat >>confdefs.h
<<_ACEOF
14548 #define HAVE_PTHREAD_H 1
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
14557 $as_echo_n "checking for thread model used by GCC... " >&6; }
14558 target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
14560 $as_echo "$target_thread_file" >&6; }
14562 # We only support posix threads, or no threads at all.
14564 case ${target_thread_file} in
14571 echo "${target_thread_file} is an unsupported thread package" 1>&2
14576 if test "x$posix_threads" != "x"; then
14578 LIBMUDFLAPTH_FALSE
='#'
14580 LIBMUDFLAPTH_TRUE
='#'
14581 LIBMUDFLAPTH_FALSE
=
14584 if test "x$posix_threads" != "x"
14586 build_libmudflapth
=1
14588 build_libmudflapth
=0
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
14593 $as_echo_n "checking for dlsym in -ldl... " >&6; }
14594 if test "${ac_cv_lib_dl_dlsym+set}" = set; then :
14595 $as_echo_n "(cached) " >&6
14597 ac_check_lib_save_LIBS
=$LIBS
14599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14602 /* Override any GCC internal prototype to avoid an error.
14603 Use char because int might match the return type of a GCC
14604 builtin and then its argument prototype would still apply. */
14617 if ac_fn_c_try_link
"$LINENO"; then :
14618 ac_cv_lib_dl_dlsym
=yes
14620 ac_cv_lib_dl_dlsym
=no
14622 rm -f core conftest.err conftest.
$ac_objext \
14623 conftest
$ac_exeext conftest.
$ac_ext
14624 LIBS
=$ac_check_lib_save_LIBS
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
14627 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
14628 if test "x$ac_cv_lib_dl_dlsym" = x
""yes; then :
14629 cat >>confdefs.h
<<_ACEOF
14630 #define HAVE_LIBDL 1
14638 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14639 if test "x$ac_cv_func_connect" = x
""yes; then :
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14643 $as_echo_n "checking for connect in -lsocket... " >&6; }
14644 if test "${ac_cv_lib_socket_connect+set}" = set; then :
14645 $as_echo_n "(cached) " >&6
14647 ac_check_lib_save_LIBS
=$LIBS
14648 LIBS
="-lsocket $LIBS"
14649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14650 /* end confdefs.h. */
14652 /* Override any GCC internal prototype to avoid an error.
14653 Use char because int might match the return type of a GCC
14654 builtin and then its argument prototype would still apply. */
14667 if ac_fn_c_try_link
"$LINENO"; then :
14668 ac_cv_lib_socket_connect
=yes
14670 ac_cv_lib_socket_connect
=no
14672 rm -f core conftest.err conftest.
$ac_objext \
14673 conftest
$ac_exeext conftest.
$ac_ext
14674 LIBS
=$ac_check_lib_save_LIBS
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14677 $as_echo "$ac_cv_lib_socket_connect" >&6; }
14678 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
14679 cat >>confdefs.h
<<_ACEOF
14680 #define HAVE_LIBSOCKET 1
14683 LIBS
="-lsocket $LIBS"
14689 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
14690 if test "x$ac_cv_func_sched_yield" = x
""yes; then :
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
14694 $as_echo_n "checking for sched_yield in -lrt... " >&6; }
14695 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then :
14696 $as_echo_n "(cached) " >&6
14698 ac_check_lib_save_LIBS
=$LIBS
14700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14703 /* Override any GCC internal prototype to avoid an error.
14704 Use char because int might match the return type of a GCC
14705 builtin and then its argument prototype would still apply. */
14709 char sched_yield ();
14713 return sched_yield ();
14718 if ac_fn_c_try_link
"$LINENO"; then :
14719 ac_cv_lib_rt_sched_yield
=yes
14721 ac_cv_lib_rt_sched_yield
=no
14723 rm -f core conftest.err conftest.
$ac_objext \
14724 conftest
$ac_exeext conftest.
$ac_ext
14725 LIBS
=$ac_check_lib_save_LIBS
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
14728 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
14729 if test "x$ac_cv_lib_rt_sched_yield" = x
""yes; then :
14730 cat >>confdefs.h
<<_ACEOF
14731 #define HAVE_LIBRT 1
14741 # Calculate toolexeclibdir
14742 # Also toolexecdir, though it's only used in toolexeclibdir
14743 case ${version_specific_libs} in
14745 # Need the gcc compiler version to know where to install libraries
14746 # and header files if --enable-version-specific-runtime-libs option
14748 toolexecdir
='$(libdir)/gcc/$(target_alias)'
14749 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
14752 if test -n "$with_cross_host" &&
14753 test x
"$with_cross_host" != x
"no"; then
14754 # Install a library built with a cross compiler in tooldir, not libdir.
14755 toolexecdir
='$(exec_prefix)/$(target_alias)'
14756 toolexeclibdir
='$(toolexecdir)/lib'
14758 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
14759 toolexeclibdir
='$(libdir)'
14761 multi_os_directory
=`$CC -print-multi-os-directory`
14762 case $multi_os_directory in
14763 .
) ;; # Avoid trailing /.
14764 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
14771 includedir
=${toolexecdir}/include
14774 pthread_create_version
='""'
14775 if test "x$enable_shared" = "xyes" && test "x$posix_threads" != "x"; then
14776 # NB: don't check for -lpthread here, because then it would be
14777 # added to LIBS. For the thread-unaware libmudflap.la, we don't
14780 # glibc-related hacks. dlsym() may pick the wrong version of
14781 # interposed functions like pthread_create on modern glibc.
14782 # We need to find the proper symbol version string, and use
14783 # the nonstandard dlvsym().
14784 for ac_func
in dlvsym
14786 ac_fn_c_check_func
"$LINENO" "dlvsym" "ac_cv_func_dlvsym"
14787 if test "x$ac_cv_func_dlvsym" = x
""yes; then :
14788 cat >>confdefs.h
<<_ACEOF
14789 #define HAVE_DLVSYM 1
14795 if test -n "$ac_tool_prefix"; then
14796 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
14797 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14799 $as_echo_n "checking for $ac_word... " >&6; }
14800 if test "${ac_cv_prog_NM+set}" = set; then :
14801 $as_echo_n "(cached) " >&6
14803 if test -n "$NM"; then
14804 ac_cv_prog_NM
="$NM" # Let the user override the test.
14806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14807 for as_dir
in $PATH
14810 test -z "$as_dir" && as_dir
=.
14811 for ac_exec_ext
in '' $ac_executable_extensions; do
14812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14813 ac_cv_prog_NM
="${ac_tool_prefix}nm"
14814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14824 if test -n "$NM"; then
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
14826 $as_echo "$NM" >&6; }
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14829 $as_echo "no" >&6; }
14834 if test -z "$ac_cv_prog_NM"; then
14836 # Extract the first word of "nm", so it can be a program name with args.
14837 set dummy nm
; ac_word
=$2
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14839 $as_echo_n "checking for $ac_word... " >&6; }
14840 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
14841 $as_echo_n "(cached) " >&6
14843 if test -n "$ac_ct_NM"; then
14844 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
14846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14847 for as_dir
in $PATH
14850 test -z "$as_dir" && as_dir
=.
14851 for ac_exec_ext
in '' $ac_executable_extensions; do
14852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14853 ac_cv_prog_ac_ct_NM
="nm"
14854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14863 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
14864 if test -n "$ac_ct_NM"; then
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
14866 $as_echo "$ac_ct_NM" >&6; }
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14869 $as_echo "no" >&6; }
14872 if test "x$ac_ct_NM" = x
; then
14875 case $cross_compiling:$ac_tool_warned in
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14879 ac_tool_warned
=yes ;;
14884 NM
="$ac_cv_prog_NM"
14887 if test "x$ac_cv_have_dlvsym" != "x"; then
14888 # Try compiling a simple pthreads program. Find the shared libraries it
14889 # ends up with. Then use "nm" on those libraries to extract the
14890 # default symbol versioning suffix ("@@"), if any. But that's tricky.
14891 # Rather, run nm on the resulting executable. Unfortunately, autoconf
14892 # doesn't appear to have a macro that builds a test executable for
14893 # subsequent analysis ... so we do it by hand here.
14894 cat >> conftest.c
<< EOF
14895 #include <pthread.h>
14896 int main () { void *p = (void *) & pthread_create; return (int) p; }
14899 LIBS
="$LIBS -lpthread"
14900 pthread_create_version
="\"\""
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pthread_create symbol version" >&5
14902 $as_echo_n "checking pthread_create symbol version... " >&6; }
14903 if eval $ac_link 2>&5 && test -s conftest
${ac_exeext}; then
14904 version
=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
14905 if test "x$version" != "x"; then
14906 pthread_create_version
="\"$version\""
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pthread_create_version" >&5
14910 $as_echo "$pthread_create_version" >&6; }
14915 cat >>confdefs.h
<<_ACEOF
14916 #define PTHREAD_CREATE_VERSION $pthread_create_version
14921 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
14922 # similarly to how libstdc++ does it
14923 ac_test_CFLAGS
="${CFLAGS+set}"
14924 ac_save_CFLAGS
="$CFLAGS"
14926 # Check for -ffunction-sections -fdata-sections
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
14928 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
14929 CFLAGS
='-Werror -ffunction-sections -fdata-sections'
14930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14941 if ac_fn_c_try_compile
"$LINENO"; then :
14946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14947 if test "$ac_test_CFLAGS" = set; then
14948 CFLAGS
="$ac_save_CFLAGS"
14950 # this is the suspicious part
14953 if test x
"$ac_fdsections" = x
"yes"; then
14954 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
14957 $as_echo "$ac_fdsections" >&6; }
14961 # Check for the name of the symbol used for the entry point.
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the name of the symbol used for the entry point" >&5
14963 $as_echo_n "checking for the name of the symbol used for the entry point... " >&6; }
14964 if test "${mudflap_cv_entry_point+set}" = set; then :
14965 $as_echo_n "(cached) " >&6
14968 for name
in _start __start unknown
; do
14969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14971 extern char $name[];
14980 if ac_fn_c_try_link
"$LINENO"; then :
14983 rm -f core conftest.err conftest.
$ac_objext \
14984 conftest
$ac_exeext conftest.
$ac_ext
14986 mudflap_cv_entry_point
="$name"
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mudflap_cv_entry_point" >&5
14989 $as_echo "$mudflap_cv_entry_point" >&6; }
14990 if test "$mudflap_cv_entry_point" = unknown
; then
14991 as_fn_error
"none of the known symbol names works" "$LINENO" 5
14994 cat >>confdefs.h
<<_ACEOF
14995 #define ENTRY_POINT $mudflap_cv_entry_point
15000 if test ${multilib} = yes; then
15001 multilib_arg
="--enable-multilib"
15006 # See if we support thread-local storage.
15009 # Check whether --enable-tls was given.
15010 if test "${enable_tls+set}" = set; then :
15011 enableval
=$enable_tls;
15012 case "$enableval" in
15014 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
15023 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
15024 if test "${gcc_cv_have_tls+set}" = set; then :
15025 $as_echo_n "(cached) " >&6
15028 if test "$cross_compiling" = yes; then :
15029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15031 __thread int a; int b; int main() { return a = b; }
15033 if ac_fn_c_try_link
"$LINENO"; then :
15034 chktls_save_LDFLAGS
="$LDFLAGS"
15037 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
15040 chktls_save_CFLAGS
="$CFLAGS"
15041 CFLAGS
="-fPIC $CFLAGS"
15042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15044 int f() { return 0; }
15046 if ac_fn_c_try_link
"$LINENO"; then :
15047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15048 /* end confdefs.h. */
15049 __thread int a; int b; int f() { return a = b; }
15051 if ac_fn_c_try_link
"$LINENO"; then :
15052 gcc_cv_have_tls
=yes
15056 rm -f core conftest.err conftest.
$ac_objext \
15057 conftest
$ac_exeext conftest.
$ac_ext
15059 gcc_cv_have_tls
=yes
15061 rm -f core conftest.err conftest.
$ac_objext \
15062 conftest
$ac_exeext conftest.
$ac_ext
15063 CFLAGS
="$chktls_save_CFLAGS"
15064 LDFLAGS
="$chktls_save_LDFLAGS"
15068 rm -f core conftest.err conftest.
$ac_objext \
15069 conftest
$ac_exeext conftest.
$ac_ext
15073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15075 __thread int a; int b; int main() { return a = b; }
15077 if ac_fn_c_try_run
"$LINENO"; then :
15078 chktls_save_LDFLAGS
="$LDFLAGS"
15079 LDFLAGS
="-static $LDFLAGS"
15080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15082 int main() { return 0; }
15084 if ac_fn_c_try_link
"$LINENO"; then :
15085 if test "$cross_compiling" = yes; then :
15086 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15087 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15088 as_fn_error
"cannot run test program while cross compiling
15089 See \`config.log' for more details." "$LINENO" 5; }
15091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15092 /* end confdefs.h. */
15093 __thread int a; int b; int main() { return a = b; }
15095 if ac_fn_c_try_run
"$LINENO"; then :
15096 gcc_cv_have_tls
=yes
15100 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15101 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15105 gcc_cv_have_tls
=yes
15107 rm -f core conftest.err conftest.
$ac_objext \
15108 conftest
$ac_exeext conftest.
$ac_ext
15109 LDFLAGS
="$chktls_save_LDFLAGS"
15110 if test $gcc_cv_have_tls = yes; then
15111 chktls_save_CFLAGS
="$CFLAGS"
15112 thread_CFLAGS
=failed
15113 for flag
in '' '-pthread' '-lpthread'; do
15114 CFLAGS
="$flag $chktls_save_CFLAGS"
15115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15117 #include <pthread.h>
15118 void *g(void *d) { return NULL; }
15122 pthread_t t; pthread_create(&t,NULL,g,NULL);
15127 if ac_fn_c_try_link
"$LINENO"; then :
15128 thread_CFLAGS
="$flag"
15130 rm -f core conftest.err conftest.
$ac_objext \
15131 conftest
$ac_exeext conftest.
$ac_ext
15132 if test "X$thread_CFLAGS" != Xfailed
; then
15136 CFLAGS
="$chktls_save_CFLAGS"
15137 if test "X$thread_CFLAGS" != Xfailed
; then
15138 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
15139 if test "$cross_compiling" = yes; then :
15140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15142 as_fn_error
"cannot run test program while cross compiling
15143 See \`config.log' for more details." "$LINENO" 5; }
15145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15146 /* end confdefs.h. */
15147 #include <pthread.h>
15149 static int *volatile a_in_other_thread;
15151 thread_func (void *arg)
15153 a_in_other_thread = &a;
15160 void *thread_retval;
15161 int *volatile a_in_main_thread;
15162 a_in_main_thread = &a;
15163 if (pthread_create (&thread, (pthread_attr_t *)0,
15164 thread_func, (void *)0))
15166 if (pthread_join (thread, &thread_retval))
15168 return (a_in_other_thread == a_in_main_thread);
15173 if ac_fn_c_try_run
"$LINENO"; then :
15174 gcc_cv_have_tls
=yes
15178 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15179 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15182 CFLAGS
="$chktls_save_CFLAGS"
15188 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15189 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
15194 $as_echo "$gcc_cv_have_tls" >&6; }
15195 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
15197 $as_echo "#define HAVE_TLS 1" >>confdefs.h
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the thread-local storage support is from emutls" >&5
15202 $as_echo_n "checking whether the thread-local storage support is from emutls... " >&6; }
15203 if test "${gcc_cv_use_emutls+set}" = set; then :
15204 $as_echo_n "(cached) " >&6
15207 gcc_cv_use_emutls
=no
15208 echo '__thread int a; int b; int main() { return a = b; }' > conftest.c
15209 if { ac_try
='${CC-cc} -Werror -S -o conftest.s conftest.c 1>&5'
15210 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
15211 (eval $ac_try) 2>&5
15213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15214 test $ac_status = 0; }; }; then
15215 if grep __emutls_get_address conftest.s
> /dev
/null
; then
15216 gcc_cv_use_emutls
=yes
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_use_emutls" >&5
15223 $as_echo "$gcc_cv_use_emutls" >&6; }
15224 if test "$gcc_cv_use_emutls" = "yes" ; then
15226 $as_echo "#define USE_EMUTLS 1" >>confdefs.h
15230 ac_config_files
="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp"
15232 cat >confcache
<<\_ACEOF
15233 # This file is a shell script that caches the results of configure
15234 # tests run on this system so they can be shared between configure
15235 # scripts and configure runs, see configure's option --config-cache.
15236 # It is not useful on other systems. If it contains results you don't
15237 # want to keep, you may remove or edit it.
15239 # config.status only pays attention to the cache file if you give it
15240 # the --recheck option to rerun configure.
15242 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15243 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15244 # following values.
15248 # The following way of writing the cache mishandles newlines in values,
15249 # but we know of no workaround that is simple, portable, and efficient.
15250 # So, we kill variables containing newlines.
15251 # Ultrix sh set writes to stderr and can't be redirected directly,
15252 # and sets the high bit in the cache file unless we assign to the vars.
15254 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15255 eval ac_val
=\$
$ac_var
15259 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15260 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15263 _ | IFS | as_nl
) ;; #(
15264 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15265 *) { eval $ac_var=; unset $ac_var;} ;;
15271 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15272 *${as_nl}ac_space
=\
*)
15273 # `set' does not quote correctly, so add quotes: double-quote
15274 # substitution turns \\\\ into \\, and sed turns \\ into \.
15277 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15280 # `set' quotes correctly as required by POSIX, so do not add quotes.
15281 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15290 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15292 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15294 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15295 if test -w "$cache_file"; then
15296 test "x$cache_file" != "x/dev/null" &&
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15298 $as_echo "$as_me: updating cache $cache_file" >&6;}
15299 cat confcache
>$cache_file
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15302 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15307 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15308 # Let make expand exec_prefix.
15309 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15311 DEFS
=-DHAVE_CONFIG_H
15315 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15316 # 1. Remove the extension, and $U if already installed.
15317 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15318 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15319 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15320 # will be set to the directory where LIBOBJS objects are built.
15321 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15322 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15324 LIBOBJS
=$ac_libobjs
15326 LTLIBOBJS
=$ac_ltlibobjs
15329 if test -n "$EXEEXT"; then
15331 am__EXEEXT_FALSE
='#'
15333 am__EXEEXT_TRUE
='#'
15337 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15338 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
15339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15341 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15342 as_fn_error
"conditional \"AMDEP\" was never defined.
15343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15345 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15346 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
15347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15349 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15350 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
15351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15353 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
15354 as_fn_error
"conditional \"LIBMUDFLAPTH\" was never defined.
15355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15358 : ${CONFIG_STATUS=./config.status}
15360 ac_clean_files_save
=$ac_clean_files
15361 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15363 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15365 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15367 # Generated by $as_me.
15368 # Run this file to recreate the current configuration.
15369 # Compiler output produced by configure, useful for debugging
15370 # configure, is in config.log if it exists.
15373 ac_cs_recheck=false
15376 SHELL=\${CONFIG_SHELL-$SHELL}
15379 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15380 ## -------------------- ##
15381 ## M4sh Initialization. ##
15382 ## -------------------- ##
15384 # Be more Bourne compatible
15385 DUALCASE
=1; export DUALCASE
# for MKS sh
15386 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15389 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15390 # is contrary to our usage. Disable this feature.
15391 alias -g '${1+"$@"}'='"$@"'
15392 setopt NO_GLOB_SUBST
15394 case `(set -o) 2>/dev/null` in #(
15406 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15407 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15408 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15409 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15410 # Prefer a ksh shell builtin over an external printf program on Solaris,
15411 # but without wasting forks for bash or zsh.
15412 if test -z "$BASH_VERSION$ZSH_VERSION" \
15413 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15414 as_echo='print
-r --'
15415 as_echo_n='print
-rn --'
15416 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15417 as_echo='printf %s
\n'
15418 as_echo_n='printf %s
'
15420 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15421 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15422 as_echo_n='/usr
/ucb
/echo -n'
15424 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15425 as_echo_n_body='eval
15429 expr "X$arg" : "X\\(.*\\)$as_nl";
15430 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15432 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15434 export as_echo_n_body
15435 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15437 export as_echo_body
15438 as_echo='sh
-c $as_echo_body as_echo
'
15441 # The user is always right.
15442 if test "${PATH_SEPARATOR+set}" != set; then
15444 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15445 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15452 # We need space, tab and new line, in precisely that order. Quoting is
15453 # there to prevent editors from complaining about space-tab.
15454 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15455 # splitting by setting IFS to empty value.)
15458 # Find who we are. Look in the path if we contain no directory separator.
15460 *[\\/]* ) as_myself=$0 ;;
15461 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15462 for as_dir in $PATH
15465 test -z "$as_dir" && as_dir=.
15466 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15472 # We did not find ourselves, most probably we were run as `sh COMMAND'
15473 # in which case we are not to be found in the path.
15474 if test "x$as_myself" = x
; then
15477 if test ! -f "$as_myself"; then
15478 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15482 # Unset variables that we do not need and which cause bugs (e.g. in
15483 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15484 # suppresses any "Segmentation fault" message there. '((' could
15485 # trigger a bug in pdksh 5.2.14.
15486 for as_var
in BASH_ENV ENV MAIL MAILPATH
15487 do eval test x\
${$as_var+set} = xset \
15488 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15501 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15504 # as_fn_error ERROR [LINENO LOG_FD]
15505 # ---------------------------------
15506 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15507 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15508 # script with status $?, using 1 if that was 0.
15511 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15513 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15514 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15516 $as_echo "$as_me: error: $1" >&2
15517 as_fn_exit
$as_status
15521 # as_fn_set_status STATUS
15522 # -----------------------
15523 # Set $? to STATUS, without forking.
15524 as_fn_set_status
()
15527 } # as_fn_set_status
15529 # as_fn_exit STATUS
15530 # -----------------
15531 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15535 as_fn_set_status
$1
15541 # Portably unset VAR.
15544 { eval $1=; unset $1;}
15546 as_unset
=as_fn_unset
15547 # as_fn_append VAR VALUE
15548 # ----------------------
15549 # Append the text in VALUE to the end of the definition contained in VAR. Take
15550 # advantage of any shell optimizations that allow amortized linear growth over
15551 # repeated appends, instead of the typical quadratic growth present in naive
15553 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15554 eval 'as_fn_append ()
15565 # as_fn_arith ARG...
15566 # ------------------
15567 # Perform arithmetic evaluation on the ARGs, and store the result in the
15568 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15569 # must be portable across $(()) and expr.
15570 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15571 eval 'as_fn_arith ()
15578 as_val
=`expr "$@" || test $? -eq 1`
15583 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15584 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15590 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15591 as_basename
=basename
15596 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15602 as_me
=`$as_basename -- "$0" ||
15603 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15604 X"$0" : 'X\(//\)$' \| \
15605 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15607 sed '/^.*\/\([^/][^/]*\)\/*$/{
15621 # Avoid depending upon Character Ranges.
15622 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15623 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15624 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15625 as_cr_digits
='0123456789'
15626 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15628 ECHO_C
= ECHO_N
= ECHO_T
=
15629 case `echo -n x` in #(((((
15631 case `echo 'xy\c'` in
15632 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15634 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15641 rm -f conf$$ conf$$.exe conf$$.
file
15642 if test -d conf$$.dir
; then
15643 rm -f conf$$.dir
/conf$$.
file
15646 mkdir conf$$.dir
2>/dev
/null
15648 if (echo >conf$$.
file) 2>/dev
/null
; then
15649 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15651 # ... but there are two gotchas:
15652 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15653 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15654 # In both cases, we have to default to `cp -p'.
15655 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15657 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15665 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15666 rmdir conf$$.dir
2>/dev
/null
15671 # Create "$as_dir" as a directory, including parents if necessary.
15676 -*) as_dir
=.
/$as_dir;;
15678 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15682 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15683 *) as_qdir
=$as_dir;;
15685 as_dirs
="'$as_qdir' $as_dirs"
15686 as_dir
=`$as_dirname -- "$as_dir" ||
15687 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15688 X"$as_dir" : 'X\(//\)[^/]' \| \
15689 X"$as_dir" : 'X\(//\)$' \| \
15690 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15691 $as_echo X"$as_dir" |
15692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15696 /^X\(\/\/\)[^/].*/{
15709 test -d "$as_dir" && break
15711 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15712 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15716 if mkdir
-p .
2>/dev
/null
; then
15717 as_mkdir_p
='mkdir -p "$as_dir"'
15719 test -d .
/-p && rmdir .
/-p
15723 if test -x / >/dev
/null
2>&1; then
15724 as_test_x
='test -x'
15726 if ls -dL / >/dev
/null
2>&1; then
15733 if test -d "$1"; then
15739 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15740 ???[sx]*):;;*)false;;esac;fi
15744 as_executable_p
=$as_test_x
15746 # Sed expression to map a string onto a valid CPP name.
15747 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15749 # Sed expression to map a string onto a valid variable name.
15750 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15754 ## ----------------------------------- ##
15755 ## Main body of $CONFIG_STATUS script. ##
15756 ## ----------------------------------- ##
15758 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15761 # Save the log message, to keep $0 and so on meaningful, and to
15762 # report actual input values of CONFIG_FILES etc. instead of their
15763 # values after options handling.
15765 This file was extended by libmudflap $as_me 1.0, which was
15766 generated by GNU Autoconf 2.64. Invocation command line was
15768 CONFIG_FILES = $CONFIG_FILES
15769 CONFIG_HEADERS = $CONFIG_HEADERS
15770 CONFIG_LINKS = $CONFIG_LINKS
15771 CONFIG_COMMANDS = $CONFIG_COMMANDS
15774 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15779 case $ac_config_files in *"
15780 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15783 case $ac_config_headers in *"
15784 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15789 # Files that config.status was made for.
15790 config_files="$ac_config_files"
15791 config_headers="$ac_config_headers"
15792 config_commands="$ac_config_commands"
15796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15798 \`$as_me' instantiates files and other configuration actions
15799 from templates according to the current configuration. Unless the files
15800 and actions are specified as TAGs, all are instantiated by default.
15802 Usage: $0 [OPTION]... [TAG]...
15804 -h, --help print this help, then exit
15805 -V, --version print version number and configuration settings, then exit
15806 -q, --quiet, --silent
15807 do not print progress messages
15808 -d, --debug don't remove temporary files
15809 --recheck update $as_me by reconfiguring in the same conditions
15810 --file=FILE[:TEMPLATE]
15811 instantiate the configuration file FILE
15812 --header=FILE[:TEMPLATE]
15813 instantiate the configuration header FILE
15815 Configuration files:
15818 Configuration headers:
15821 Configuration commands:
15824 Report bugs to the package provider."
15827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15829 libmudflap config.status 1.0
15830 configured by $0, generated by GNU Autoconf 2.64,
15831 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15833 Copyright (C) 2009 Free Software Foundation, Inc.
15834 This config.status script is free software; the Free Software Foundation
15835 gives unlimited permission to copy, distribute and modify it."
15842 test -n "\$AWK" || AWK=awk
15845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15846 # The default lists apply if the user does not specify any file.
15852 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15853 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15864 # Handling of the options.
15865 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15867 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15868 $as_echo "$ac_cs_version"; exit ;;
15869 --debug |
--debu |
--deb |
--de |
--d |
-d )
15871 --file |
--fil |
--fi |
--f )
15874 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15876 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15877 ac_need_defaults
=false
;;
15878 --header |
--heade |
--head |
--hea )
15881 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15883 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15884 ac_need_defaults
=false
;;
15886 # Conflict between --help and --header
15887 as_fn_error
"ambiguous option: \`$1'
15888 Try \`$0 --help' for more information.";;
15889 --help |
--hel |
-h )
15890 $as_echo "$ac_cs_usage"; exit ;;
15891 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15892 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15895 # This is an error.
15896 -*) as_fn_error
"unrecognized option: \`$1'
15897 Try \`$0 --help' for more information." ;;
15899 *) as_fn_append ac_config_targets
" $1"
15900 ac_need_defaults
=false
;;
15906 ac_configure_extra_args
=
15908 if $ac_cs_silent; then
15910 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15915 if \$ac_cs_recheck; then
15916 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15918 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15919 CONFIG_SHELL='$SHELL'
15920 export CONFIG_SHELL
15925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15929 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15930 ## Running $as_me. ##
15936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15944 with_multisubdir="$with_multisubdir"
15945 with_multisrctop="$with_multisrctop"
15946 with_target_subdir="$with_target_subdir"
15947 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15948 multi_basedir="$multi_basedir"
15949 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15952 GFORTRAN="$GFORTRAN"
15954 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15957 # The HP-UX ksh and POSIX shell print the target directory to stdout
15958 # if CDPATH is set.
15959 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15961 sed_quote_subst='$sed_quote_subst'
15962 double_quote_subst='$double_quote_subst'
15963 delay_variable_subst='$delay_variable_subst'
15964 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15965 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15966 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15967 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15968 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15969 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15970 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15971 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15972 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15973 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15974 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15975 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15976 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15977 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15978 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15979 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15980 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15981 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15982 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15983 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15984 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15985 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15986 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15987 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15988 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15989 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15990 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15991 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15992 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15993 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15994 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15995 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15996 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15997 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15998 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15999 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16000 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16001 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16002 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16003 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16004 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16005 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16006 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16007 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16008 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16009 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16010 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16011 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16012 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"`'
16013 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16014 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16015 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16016 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16017 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16018 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16019 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16020 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16021 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16022 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16023 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16024 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16025 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16026 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16027 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16028 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16029 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16030 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16031 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16032 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16033 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16034 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16035 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16036 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16037 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16038 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16039 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16040 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16041 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16042 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16043 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16044 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16045 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16046 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16047 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16048 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16049 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16050 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16051 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16052 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16053 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16054 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16055 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16056 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16057 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16058 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16059 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16060 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16061 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16062 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16063 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16064 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16065 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16066 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16067 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16068 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16069 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16070 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16071 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16072 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16073 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16074 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16075 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16076 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16077 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16078 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16079 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16080 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16081 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16082 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16083 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16084 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16085 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16086 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16087 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16088 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16089 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16090 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16091 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16092 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16093 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16094 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16095 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16096 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16097 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16098 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16099 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16100 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16101 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16102 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16103 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16104 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16105 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16106 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16107 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16108 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16109 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16110 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16111 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16112 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16113 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16114 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16115 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16116 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16117 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16118 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16119 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16120 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16121 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16122 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16123 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16124 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16125 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
16126 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16127 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16128 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16129 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16130 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16131 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16132 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16133 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16134 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16135 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16136 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16137 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16138 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16141 LTCFLAGS='$LTCFLAGS'
16142 compiler='$compiler_DEFAULT'
16144 # A function that is used when there is no print builtin or printf.
16145 func_fallback_echo ()
16147 eval 'cat <<_LTECHO_EOF
16152 # Quote evaled strings.
16166 deplibs_check_method \
16175 lt_cv_sys_global_symbol_pipe \
16176 lt_cv_sys_global_symbol_to_cdecl \
16177 lt_cv_sys_global_symbol_to_c_name_address \
16178 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16179 lt_prog_compiler_no_builtin_flag \
16180 lt_prog_compiler_wl \
16181 lt_prog_compiler_pic \
16182 lt_prog_compiler_static \
16183 lt_cv_prog_compiler_c_o \
16191 export_dynamic_flag_spec \
16192 whole_archive_flag_spec \
16193 compiler_needs_object \
16195 allow_undefined_flag \
16196 no_undefined_flag \
16197 hardcode_libdir_flag_spec \
16198 hardcode_libdir_flag_spec_ld \
16199 hardcode_libdir_separator \
16204 variables_saved_for_relink \
16206 library_names_spec \
16208 install_override_mode \
16212 compiler_lib_search_dirs \
16217 compiler_lib_search_path \
16221 lt_prog_compiler_no_builtin_flag_CXX \
16222 lt_prog_compiler_wl_CXX \
16223 lt_prog_compiler_pic_CXX \
16224 lt_prog_compiler_static_CXX \
16225 lt_cv_prog_compiler_c_o_CXX \
16226 export_dynamic_flag_spec_CXX \
16227 whole_archive_flag_spec_CXX \
16228 compiler_needs_object_CXX \
16230 allow_undefined_flag_CXX \
16231 no_undefined_flag_CXX \
16232 hardcode_libdir_flag_spec_CXX \
16233 hardcode_libdir_flag_spec_ld_CXX \
16234 hardcode_libdir_separator_CXX \
16235 fix_srcfile_path_CXX \
16236 exclude_expsyms_CXX \
16237 include_expsyms_CXX \
16238 file_list_spec_CXX \
16239 compiler_lib_search_dirs_CXX \
16240 predep_objects_CXX \
16241 postdep_objects_CXX \
16244 compiler_lib_search_path_CXX; do
16245 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16246 *[\\\\\\\`\\"\\\$]*)
16247 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16250 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16255 # Double-quote double-evaled strings.
16256 for var in reload_cmds \
16257 old_postinstall_cmds \
16258 old_postuninstall_cmds \
16260 extract_expsyms_cmds \
16261 old_archive_from_new_cmds \
16262 old_archive_from_expsyms_cmds \
16264 archive_expsym_cmds \
16266 module_expsym_cmds \
16267 export_symbols_cmds \
16270 postuninstall_cmds \
16272 sys_lib_search_path_spec \
16273 sys_lib_dlsearch_path_spec \
16275 old_archive_cmds_CXX \
16276 old_archive_from_new_cmds_CXX \
16277 old_archive_from_expsyms_cmds_CXX \
16279 archive_expsym_cmds_CXX \
16281 module_expsym_cmds_CXX \
16282 export_symbols_cmds_CXX \
16283 prelink_cmds_CXX; do
16284 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16285 *[\\\\\\\`\\"\\\$]*)
16286 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16289 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16294 ac_aux_dir='$ac_aux_dir'
16295 xsi_shell='$xsi_shell'
16296 lt_shell_append='$lt_shell_append'
16298 # See if we are running on zsh, and set the options which allow our
16299 # commands through without removal of \ escapes INIT.
16300 if test -n "\${ZSH_VERSION+set}" ; then
16301 setopt NO_GLOB_SUBST
16307 TIMESTAMP='$TIMESTAMP'
16318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16320 # Handling of arguments.
16321 for ac_config_target
in $ac_config_targets
16323 case $ac_config_target in
16324 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16325 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16326 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16327 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16328 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16329 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16330 "testsuite/mfconfig.exp") CONFIG_FILES
="$CONFIG_FILES testsuite/mfconfig.exp" ;;
16332 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16337 # If the user did not use the arguments to specify the items to instantiate,
16338 # then the envvar interface is used. Set only those that are not.
16339 # We use the long form for the default assignment because of an extremely
16340 # bizarre bug on SunOS 4.1.3.
16341 if $ac_need_defaults; then
16342 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16343 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16344 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16347 # Have a temporary directory for convenience. Make it in the build tree
16348 # simply because there is no reason against having it here, and in addition,
16349 # creating and moving files from /tmp can sometimes cause problems.
16350 # Hook for its removal unless debugging.
16351 # Note that there is a small window in which the directory will not be cleaned:
16352 # after its creation but before its name has been assigned to `$tmp'.
16356 trap 'exit_status=$?
16357 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16359 trap 'as_fn_exit 1' 1 2 13 15
16361 # Create a (secure) tmp directory for tmp files.
16364 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16365 test -n "$tmp" && test -d "$tmp"
16368 tmp
=.
/conf$$
-$RANDOM
16369 (umask 077 && mkdir
"$tmp")
16370 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
16372 # Set up the scripts for CONFIG_FILES section.
16373 # No need to generate them if there are no CONFIG_FILES.
16374 # This happens for instance with `./config.status config.h'.
16375 if test -n "$CONFIG_FILES"; then
16378 ac_cr
=`echo X | tr X '\015'`
16379 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16380 # But we know of no other shell where ac_cr would be empty at this
16381 # point, so we can use a bashism as a fallback.
16382 if test "x$ac_cr" = x
; then
16383 eval ac_cr
=\$
\'\\r
\'
16385 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16386 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16389 ac_cs_awk_cr
=$ac_cr
16392 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16397 echo "cat >conf$$subs.awk <<_ACEOF" &&
16398 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16400 } >conf$$subs.sh ||
16401 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16402 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16404 for ac_last_try in false false false false false :; do
16405 . ./conf$$subs.sh ||
16406 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16408 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16409 if test $ac_delim_n = $ac_delim_num; then
16411 elif $ac_last_try; then
16412 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
16414 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16417 rm -f conf$$subs.sh
16419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16420 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16424 s/^/S["/; s
/!.
*/"]=/
16434 s/\(.\{148\}\).*/\1/
16436 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16441 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16448 s/\(.\{148\}\).*/\1/
16450 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16454 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16459 ' <conf$$subs.awk | sed '
16464 ' >>$CONFIG_STATUS || ac_write_fail=1
16465 rm -f conf$$subs.awk
16466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16468 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16469 for (key in S) S_is_set[key] = 1
16475 nfields = split(line, field, "@
")
16477 len = length(field[1])
16478 for (i = 2; i < nfields; i++) {
16480 keylen = length(key)
16481 if (S_is_set[key]) {
16483 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16484 len += length(value) + length(field[++i])
16495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16496 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16497 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16500 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16501 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
16504 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16505 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
16506 # trailing colons and then remove the whole line if VPATH becomes empty
16507 # (actually we leave an empty line to preserve line numbers).
16508 if test "x
$srcdir" = x.; then
16509 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16510 s/:*\$(srcdir):*/:/
16511 s/:*\${srcdir}:*/:/
16513 s/^\([^=]*=[ ]*\):*/\1/
16519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16520 fi # test -n "$CONFIG_FILES"
16522 # Set up the scripts for CONFIG_HEADERS section.
16523 # No need to generate them if there are no CONFIG_HEADERS.
16524 # This happens for instance with `./config.status Makefile'.
16525 if test -n "$CONFIG_HEADERS"; then
16526 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16530 # Transform confdefs.h into an awk script `defines.awk', embedded as
16531 # here-document in config.status, that substitutes the proper values into
16532 # config.h.in to produce config.h.
16534 # Create a delimiter string that does not exist in confdefs.h, to ease
16535 # handling of long lines.
16537 for ac_last_try in false false :; do
16538 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16539 if test -z "$ac_t"; then
16541 elif $ac_last_try; then
16542 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
16544 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16548 # For the awk script, D is an array of macro values keyed by name,
16549 # likewise P contains macro parameters if any. Preserve backslash
16550 # newline sequences.
16552 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16554 s/.\{148\}/&'"$ac_delim"'/g
16557 s/^[ ]*#[ ]*define[ ][ ]*/ /
16564 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16566 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16570 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16571 D["\
1"]=" \
3\\\\\\n
"\\/p
16573 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16578 s/.\{148\}/&'"$ac_delim"'/g
16583 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16586 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16588 ' <confdefs.h | sed '
16589 s/'"$ac_delim"'/"\\\
16590 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16593 for (key in D) D_is_set[key] = 1
16596 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16598 split(line, arg, " ")
16599 if (arg[1] == "#") {
16603 defundef
= substr
(arg
[1], 2)
16606 split(mac1
, mac2
, "(") #)
16608 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16609 if (D_is_set
[macro
]) {
16610 # Preserve the white space surrounding the "#".
16611 print prefix
"define", macro P
[macro
] D
[macro
]
16614 # Replace #undef with comments. This is necessary, for example,
16615 # in the case of _POSIX_SOURCE, which is predefined and required
16616 # on some systems where configure will not decide to define it.
16617 if (defundef
== "undef") {
16618 print
"/*", prefix defundef
, macro
, "*/"
16626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16627 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16628 fi # test -n "$CONFIG_HEADERS"
16631 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16636 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16638 case $ac_mode$ac_tag in
16640 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16641 :[FH
]-) ac_tag
=-:-;;
16642 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16659 -) ac_f
="$tmp/stdin";;
16660 *) # Look for the file first in the build tree, then in the source tree
16661 # (if the path is not absolute). The absolute path cannot be DOS-style,
16662 # because $ac_f cannot contain `:'.
16666 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16668 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16670 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16671 as_fn_append ac_file_inputs
" '$ac_f'"
16674 # Let's still pretend it is `configure' which instantiates (i.e., don't
16675 # use $as_me), people would be surprised to read:
16676 # /* config.h. Generated by config.status. */
16677 configure_input
='Generated from '`
16678 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16680 if test x
"$ac_file" != x-
; then
16681 configure_input
="$ac_file. $configure_input"
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16683 $as_echo "$as_me: creating $ac_file" >&6;}
16685 # Neutralize special characters interpreted by sed in replacement strings.
16686 case $configure_input in #(
16687 *\
&* |
*\|
* |
*\\* )
16688 ac_sed_conf_input
=`$as_echo "$configure_input" |
16689 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16690 *) ac_sed_conf_input
=$configure_input;;
16694 *:-:* |
*:-) cat >"$tmp/stdin" \
16695 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16700 ac_dir
=`$as_dirname -- "$ac_file" ||
16701 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16702 X"$ac_file" : 'X\(//\)[^/]' \| \
16703 X"$ac_file" : 'X\(//\)$' \| \
16704 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16705 $as_echo X"$ac_file" |
16706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16710 /^X\(\/\/\)[^/].*/{
16723 as_dir
="$ac_dir"; as_fn_mkdir_p
16727 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16729 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16730 # A ".." for each directory in $ac_dir_suffix.
16731 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16732 case $ac_top_builddir_sub in
16733 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16734 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16737 ac_abs_top_builddir
=$ac_pwd
16738 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16739 # for backward compatibility:
16740 ac_top_builddir
=$ac_top_build_prefix
16743 .
) # We are building in place.
16745 ac_top_srcdir
=$ac_top_builddir_sub
16746 ac_abs_top_srcdir
=$ac_pwd ;;
16747 [\\/]* | ?
:[\\/]* ) # Absolute name.
16748 ac_srcdir
=$srcdir$ac_dir_suffix;
16749 ac_top_srcdir
=$srcdir
16750 ac_abs_top_srcdir
=$srcdir ;;
16751 *) # Relative name.
16752 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16753 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16754 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16756 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16766 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16767 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16769 ac_MKDIR_P
=$MKDIR_P
16771 [\\/$
]* | ?
:[\\/]* ) ;;
16772 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16777 # If the template does not know about datarootdir, expand it.
16778 # FIXME: This hack should be removed a few years after 2.60.
16779 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16790 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16791 *datarootdir
*) ac_datarootdir_seen
=yes;;
16792 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16794 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16797 ac_datarootdir_hack='
16798 s&@datadir@&$datadir&g
16799 s&@docdir@&$docdir&g
16800 s&@infodir@&$infodir&g
16801 s&@localedir@&$localedir&g
16802 s&@mandir@&$mandir&g
16803 s&\\\${datarootdir}&$datarootdir&g' ;;
16807 # Neutralize VPATH when `$srcdir' = `.'.
16808 # Shell code in configure.ac might set extrasub.
16809 # FIXME: do we really want to maintain this feature?
16810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16811 ac_sed_extra="$ac_vpsub
16814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16816 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16817 s|@configure_input@|
$ac_sed_conf_input|
;t t
16818 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16819 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16820 s
&@srcdir@
&$ac_srcdir&;t t
16821 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16822 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16823 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16824 s
&@builddir@
&$ac_builddir&;t t
16825 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16826 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16827 s
&@INSTALL@
&$ac_INSTALL&;t t
16828 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16829 $ac_datarootdir_hack
16831 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16832 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16834 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16835 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16836 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16838 which seems to be undefined. Please make sure it is defined." >&5
16839 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16840 which seems to be undefined. Please make sure it is defined." >&2;}
16844 -) cat "$tmp/out" && rm -f "$tmp/out";;
16845 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16847 || as_fn_error "could not create $ac_file" "$LINENO" 5
16853 if test x"$ac_file" != x-; then
16855 $as_echo "/* $configure_input */" \
16856 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16857 } >"$tmp/config.h" \
16858 || as_fn_error "could not create $ac_file" "$LINENO" 5
16859 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16861 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16864 mv "$tmp/config.h" "$ac_file" \
16865 || as_fn_error "could not create $ac_file" "$LINENO" 5
16868 $as_echo "/* $configure_input */" \
16869 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16870 || as_fn_error "could not create -" "$LINENO" 5
16872 # Compute "$ac_file"'s index
in $config_headers.
16875 for _am_header
in $config_headers :; do
16876 case $_am_header in
16877 $_am_arg |
$_am_arg:* )
16880 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16883 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16884 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16885 X"$_am_arg" : 'X\(//\)[^/]' \| \
16886 X"$_am_arg" : 'X\(//\)$' \| \
16887 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16888 $as_echo X"$_am_arg" |
16889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16893 /^X\(\/\/\)[^/].*/{
16905 s/.*/./; q'`/stamp-h
$_am_stamp_count
16908 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16909 $as_echo "$as_me: executing $ac_file commands" >&6;}
16914 case $ac_file$ac_mode in
16916 # Only add multilib support code if we just rebuilt the top-level
16918 case " $CONFIG_FILES " in
16920 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16923 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16924 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16925 # are listed without --file. Let's play safe and only enable the eval
16926 # if we detect the quoting.
16927 case $CONFIG_FILES in
16928 *\'*) eval set x
"$CONFIG_FILES" ;;
16929 *) set x
$CONFIG_FILES ;;
16934 # Strip MF so we end up with the name of the file.
16935 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16936 # Check whether this is an Automake generated Makefile or not.
16937 # We used to match only the files named `Makefile.in', but
16938 # some people rename them; so instead we look at the file content.
16939 # Grep'ing the first line is not enough: some people post-process
16940 # each Makefile.in and add a new line on top of each file to say so.
16941 # Grep'ing the whole file is not good either: AIX grep has a line
16942 # limit of 2048, but all sed's we know have understand at least 4000.
16943 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16944 dirpart
=`$as_dirname -- "$mf" ||
16945 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16946 X"$mf" : 'X\(//\)[^/]' \| \
16947 X"$mf" : 'X\(//\)$' \| \
16948 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16954 /^X\(\/\/\)[^/].*/{
16970 # Extract the definition of DEPDIR, am__include, and am__quote
16971 # from the Makefile without running `make'.
16972 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16973 test -z "$DEPDIR" && continue
16974 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16975 test -z "am__include" && continue
16976 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16977 # When using ansi2knr, U may be empty or an underscore; expand it
16978 U
=`sed -n 's/^U = //p' < "$mf"`
16979 # Find all dependency output files, they are included files with
16980 # $(DEPDIR) in their names. We invoke sed twice because it is the
16981 # simplest approach to changing $(DEPDIR) to its actual value in the
16983 for file in `sed -n "
16984 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16985 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16986 # Make sure the directory exists.
16987 test -f "$dirpart/$file" && continue
16988 fdir
=`$as_dirname -- "$file" ||
16989 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16990 X"$file" : 'X\(//\)[^/]' \| \
16991 X"$file" : 'X\(//\)$' \| \
16992 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16993 $as_echo X"$file" |
16994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16998 /^X\(\/\/\)[^/].*/{
17011 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17012 # echo "creating $dirpart/$file"
17013 echo '# dummy' > "$dirpart/$file"
17020 # See if we are running on zsh, and set the options which allow our
17021 # commands through without removal of \ escapes.
17022 if test -n "${ZSH_VERSION+set}" ; then
17023 setopt NO_GLOB_SUBST
17026 cfgfile
="${ofile}T"
17027 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17030 cat <<_LT_EOF >> "$cfgfile"
17033 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17034 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17035 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17036 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17038 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17039 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17040 # Written by Gordon Matzigkeit, 1996
17042 # This file is part of GNU Libtool.
17044 # GNU Libtool is free software; you can redistribute it and/or
17045 # modify it under the terms of the GNU General Public License as
17046 # published by the Free Software Foundation; either version 2 of
17047 # the License, or (at your option) any later version.
17049 # As a special exception to the GNU General Public License,
17050 # if you distribute this file as part of a program or library that
17051 # is built using GNU Libtool, you may include this file under the
17052 # same distribution terms that you use for the rest of that program.
17054 # GNU Libtool is distributed in the hope that it will be useful,
17055 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17056 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17057 # GNU General Public License for more details.
17059 # You should have received a copy of the GNU General Public License
17060 # along with GNU Libtool; see the file COPYING. If not, a copy
17061 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17062 # obtained by writing to the Free Software Foundation, Inc.,
17063 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17066 # The names of the tagged configurations supported by this script.
17067 available_tags="CXX "
17069 # ### BEGIN LIBTOOL CONFIG
17071 # Which release of libtool.m4 was used?
17072 macro_version=$macro_version
17073 macro_revision=$macro_revision
17075 # Whether or not to build shared libraries.
17076 build_libtool_libs=$enable_shared
17078 # Whether or not to build static libraries.
17079 build_old_libs=$enable_static
17081 # What type of objects to build.
17084 # Whether or not to optimize for fast installation.
17085 fast_install=$enable_fast_install
17087 # Shell to use when invoking shell scripts.
17090 # An echo program that protects backslashes.
17094 host_alias=$host_alias
17098 # The build system.
17099 build_alias=$build_alias
17103 # A sed program that does not truncate output.
17106 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17107 Xsed="\$SED -e 1s/^X//"
17109 # A grep program that handles long lines.
17115 # A literal string matcher.
17118 # A BSD- or MS-compatible name lister.
17121 # Whether we need soft or hard links.
17124 # What is the maximum length of a command?
17125 max_cmd_len=$max_cmd_len
17127 # Object file suffix (normally "o").
17130 # Executable file suffix (normally "").
17133 # whether the shell understands "unset".
17136 # turn spaces into newlines.
17139 # turn newlines into spaces.
17142 # An object symbol dumper.
17143 OBJDUMP=$lt_OBJDUMP
17145 # Method to check whether dependent libraries are shared objects.
17146 deplibs_check_method=$lt_deplibs_check_method
17148 # Command to use when deplibs_check_method == "file_magic".
17149 file_magic_cmd=$lt_file_magic_cmd
17153 AR_FLAGS=$lt_AR_FLAGS
17155 # A symbol stripping program.
17158 # Commands used to install an old-style archive.
17160 old_postinstall_cmds=$lt_old_postinstall_cmds
17161 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17163 # Whether to use a lock for old archive extraction.
17164 lock_old_archive_extraction=$lock_old_archive_extraction
17169 # LTCC compiler flags.
17170 LTCFLAGS=$lt_CFLAGS
17172 # Take the output of nm and produce a listing of raw symbols and C names.
17173 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17175 # Transform the output of nm in a proper C declaration.
17176 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17178 # Transform the output of nm in a C name address pair.
17179 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17181 # Transform the output of nm in a C name address pair when lib prefix is needed.
17182 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17184 # The name of the directory that contains temporary libtool files.
17187 # Used to examine libraries when file_magic_cmd begins with "file".
17188 MAGIC_CMD=$MAGIC_CMD
17190 # Must we lock files when doing compilation?
17191 need_locks=$lt_need_locks
17193 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17194 DSYMUTIL=$lt_DSYMUTIL
17196 # Tool to change global to local symbols on Mac OS X.
17199 # Tool to manipulate fat objects and archives on Mac OS X.
17202 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17205 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17206 OTOOL64=$lt_OTOOL64
17208 # Old archive suffix (normally "a").
17211 # Shared library suffix (normally ".so").
17212 shrext_cmds=$lt_shrext_cmds
17214 # The commands to extract the exported symbol list from a shared archive.
17215 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17217 # Variables whose values should be saved in libtool wrapper scripts and
17218 # restored at link time.
17219 variables_saved_for_relink=$lt_variables_saved_for_relink
17221 # Do we need the "lib" prefix for modules?
17222 need_lib_prefix=$need_lib_prefix
17224 # Do we need a version for libraries?
17225 need_version=$need_version
17227 # Library versioning type.
17228 version_type=$version_type
17230 # Shared library runtime path variable.
17231 runpath_var=$runpath_var
17233 # Shared library path variable.
17234 shlibpath_var=$shlibpath_var
17236 # Is shlibpath searched before the hard-coded library search path?
17237 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17239 # Format of library name prefix.
17240 libname_spec=$lt_libname_spec
17242 # List of archive names. First name is the real one, the rest are links.
17243 # The last name is the one that the linker finds with -lNAME
17244 library_names_spec=$lt_library_names_spec
17246 # The coded name of the library, if different from the real name.
17247 soname_spec=$lt_soname_spec
17249 # Permission mode override for installation of shared libraries.
17250 install_override_mode=$lt_install_override_mode
17252 # Command to use after installation of a shared archive.
17253 postinstall_cmds=$lt_postinstall_cmds
17255 # Command to use after uninstallation of a shared archive.
17256 postuninstall_cmds=$lt_postuninstall_cmds
17258 # Commands used to finish a libtool library installation in a directory.
17259 finish_cmds=$lt_finish_cmds
17261 # As "finish_cmds", except a single script fragment to be evaled but
17263 finish_eval=$lt_finish_eval
17265 # Whether we should hardcode library paths into libraries.
17266 hardcode_into_libs=$hardcode_into_libs
17268 # Compile-time system search path for libraries.
17269 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17271 # Run-time system search path for libraries.
17272 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17274 # Whether dlopen is supported.
17275 dlopen_support=$enable_dlopen
17277 # Whether dlopen of programs is supported.
17278 dlopen_self=$enable_dlopen_self
17280 # Whether dlopen of statically linked programs is supported.
17281 dlopen_self_static=$enable_dlopen_self_static
17283 # Commands to strip libraries.
17284 old_striplib=$lt_old_striplib
17285 striplib=$lt_striplib
17288 # The linker used to build libraries.
17291 # How to create reloadable object files.
17292 reload_flag=$lt_reload_flag
17293 reload_cmds=$lt_reload_cmds
17295 # Commands used to build an old-style archive.
17296 old_archive_cmds=$lt_old_archive_cmds
17298 # A language specific compiler.
17301 # Is the compiler the GNU compiler?
17304 # Compiler flag to turn off builtin functions.
17305 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17307 # How to pass a linker flag through the compiler.
17308 wl=$lt_lt_prog_compiler_wl
17310 # Additional compiler flags for building library objects.
17311 pic_flag=$lt_lt_prog_compiler_pic
17313 # Compiler flag to prevent dynamic linking.
17314 link_static_flag=$lt_lt_prog_compiler_static
17316 # Does compiler simultaneously support -c and -o options?
17317 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17319 # Whether or not to add -lc for building shared libraries.
17320 build_libtool_need_lc=$archive_cmds_need_lc
17322 # Whether or not to disallow shared libs when runtime libs are static.
17323 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17325 # Compiler flag to allow reflexive dlopens.
17326 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17328 # Compiler flag to generate shared objects directly from archives.
17329 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17331 # Whether the compiler copes with passing no objects directly.
17332 compiler_needs_object=$lt_compiler_needs_object
17334 # Create an old-style archive from a shared archive.
17335 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17337 # Create a temporary old-style archive to link instead of a shared archive.
17338 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17340 # Commands used to build a shared archive.
17341 archive_cmds=$lt_archive_cmds
17342 archive_expsym_cmds=$lt_archive_expsym_cmds
17344 # Commands used to build a loadable module if different from building
17345 # a shared archive.
17346 module_cmds=$lt_module_cmds
17347 module_expsym_cmds=$lt_module_expsym_cmds
17349 # Whether we are building with GNU ld or not.
17350 with_gnu_ld=$lt_with_gnu_ld
17352 # Flag that allows shared libraries with undefined symbols to be built.
17353 allow_undefined_flag=$lt_allow_undefined_flag
17355 # Flag that enforces no undefined symbols.
17356 no_undefined_flag=$lt_no_undefined_flag
17358 # Flag to hardcode \$libdir into a binary during linking.
17359 # This must work even if \$libdir does not exist
17360 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17362 # If ld is used when linking, flag to hardcode \$libdir into a binary
17363 # during linking. This must work even if \$libdir does not exist.
17364 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17366 # Whether we need a single "-rpath" flag with a separated argument.
17367 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17369 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17370 # DIR into the resulting binary.
17371 hardcode_direct=$hardcode_direct
17373 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17374 # DIR into the resulting binary and the resulting library dependency is
17375 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17376 # library is relocated.
17377 hardcode_direct_absolute=$hardcode_direct_absolute
17379 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17380 # into the resulting binary.
17381 hardcode_minus_L=$hardcode_minus_L
17383 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17384 # into the resulting binary.
17385 hardcode_shlibpath_var=$hardcode_shlibpath_var
17387 # Set to "yes" if building a shared library automatically hardcodes DIR
17388 # into the library and all subsequent libraries and executables linked
17390 hardcode_automatic=$hardcode_automatic
17392 # Set to yes if linker adds runtime paths of dependent libraries
17393 # to runtime path list.
17394 inherit_rpath=$inherit_rpath
17396 # Whether libtool must link a program against all its dependency libraries.
17397 link_all_deplibs=$link_all_deplibs
17399 # Fix the shell variable \$srcfile for the compiler.
17400 fix_srcfile_path=$lt_fix_srcfile_path
17402 # Set to "yes" if exported symbols are required.
17403 always_export_symbols=$always_export_symbols
17405 # The commands to list exported symbols.
17406 export_symbols_cmds=$lt_export_symbols_cmds
17408 # Symbols that should not be listed in the preloaded symbols.
17409 exclude_expsyms=$lt_exclude_expsyms
17411 # Symbols that must always be exported.
17412 include_expsyms=$lt_include_expsyms
17414 # Commands necessary for linking programs (against libraries) with templates.
17415 prelink_cmds=$lt_prelink_cmds
17417 # Specify filename containing input files.
17418 file_list_spec=$lt_file_list_spec
17420 # How to hardcode a shared library path into an executable.
17421 hardcode_action=$hardcode_action
17423 # The directories searched by this compiler when creating a shared library.
17424 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17426 # Dependencies to place before and after the objects being linked to
17427 # create a shared library.
17428 predep_objects=$lt_predep_objects
17429 postdep_objects=$lt_postdep_objects
17430 predeps=$lt_predeps
17431 postdeps=$lt_postdeps
17433 # The library search path used internally by the compiler when linking
17434 # a shared library.
17435 compiler_lib_search_path=$lt_compiler_lib_search_path
17437 # ### END LIBTOOL CONFIG
17443 cat <<\_LT_EOF
>> "$cfgfile"
17444 # AIX sometimes has problems with the GCC collect2 program. For some
17445 # reason, if we set the COLLECT_NAMES environment variable, the problems
17446 # vanish in a puff of smoke.
17447 if test "X${COLLECT_NAMES+set}" != Xset
; then
17449 export COLLECT_NAMES
17456 ltmain
="$ac_aux_dir/ltmain.sh"
17459 # We use sed instead of cat because bash on DJGPP gets confused if
17460 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17461 # text mode, it properly converts lines to CR/LF. This bash problem
17462 # is reportedly fixed, but why not run on old versions too?
17463 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17464 ||
(rm -f "$cfgfile"; exit 1)
17468 cat << \_LT_EOF
>> "$cfgfile"
17470 # func_dirname file append nondir_replacement
17471 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17472 # otherwise set result to NONDIR_REPLACEMENT.
17476 */*) func_dirname_result
="${1%/*}${2}" ;;
17477 * ) func_dirname_result
="${3}" ;;
17481 # func_basename file
17484 func_basename_result
="${1##*/}"
17487 # func_dirname_and_basename file append nondir_replacement
17488 # perform func_basename and func_dirname in a single function
17490 # dirname: Compute the dirname of FILE. If nonempty,
17491 # add APPEND to the result, otherwise set result
17492 # to NONDIR_REPLACEMENT.
17493 # value returned in "$func_dirname_result"
17494 # basename: Compute filename of FILE.
17495 # value retuned in "$func_basename_result"
17496 # Implementation must be kept synchronized with func_dirname
17497 # and func_basename. For efficiency, we do not delegate to
17498 # those functions but instead duplicate the functionality here.
17499 func_dirname_and_basename
()
17502 */*) func_dirname_result
="${1%/*}${2}" ;;
17503 * ) func_dirname_result
="${3}" ;;
17505 func_basename_result
="${1##*/}"
17508 # func_stripname prefix suffix name
17509 # strip PREFIX and SUFFIX off of NAME.
17510 # PREFIX and SUFFIX must not contain globbing or regex special
17511 # characters, hashes, percent signs, but SUFFIX may contain a leading
17512 # dot (in which case that matches only a dot).
17515 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17516 # positional parameters, so assign one to ordinary parameter first.
17517 func_stripname_result
=${3}
17518 func_stripname_result
=${func_stripname_result#"${1}"}
17519 func_stripname_result
=${func_stripname_result%"${2}"}
17525 func_opt_split_opt
=${1%%=*}
17526 func_opt_split_arg
=${1#*=}
17533 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17534 *) func_lo2o_result
=${1} ;;
17538 # func_xform libobj-or-source
17541 func_xform_result
=${1%.*}.lo
17544 # func_arith arithmetic-term...
17547 func_arith_result
=$
(( $
* ))
17551 # STRING may not start with a hyphen.
17554 func_len_result
=${#1}
17559 *) # Bourne compatible functions.
17560 cat << \_LT_EOF
>> "$cfgfile"
17562 # func_dirname file append nondir_replacement
17563 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17564 # otherwise set result to NONDIR_REPLACEMENT.
17567 # Extract subdirectory from the argument.
17568 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17569 if test "X$func_dirname_result" = "X${1}"; then
17570 func_dirname_result
="${3}"
17572 func_dirname_result
="$func_dirname_result${2}"
17576 # func_basename file
17579 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17583 # func_stripname prefix suffix name
17584 # strip PREFIX and SUFFIX off of NAME.
17585 # PREFIX and SUFFIX must not contain globbing or regex special
17586 # characters, hashes, percent signs, but SUFFIX may contain a leading
17587 # dot (in which case that matches only a dot).
17588 # func_strip_suffix prefix name
17592 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17593 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17598 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17599 my_sed_long_arg
='1s/^-[^=]*=//'
17604 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17605 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17611 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17614 # func_xform libobj-or-source
17617 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17620 # func_arith arithmetic-term...
17623 func_arith_result
=`expr "$@"`
17627 # STRING may not start with a hyphen.
17630 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17636 case $lt_shell_append in
17638 cat << \_LT_EOF
>> "$cfgfile"
17640 # func_append var value
17641 # Append VALUE to the end of shell variable VAR.
17649 cat << \_LT_EOF
>> "$cfgfile"
17651 # func_append var value
17652 # Append VALUE to the end of shell variable VAR.
17663 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17664 ||
(rm -f "$cfgfile"; exit 1)
17666 mv -f "$cfgfile" "$ofile" ||
17667 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17671 cat <<_LT_EOF >> "$ofile"
17673 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17675 # The linker used to build libraries.
17678 # How to create reloadable object files.
17679 reload_flag=$lt_reload_flag_CXX
17680 reload_cmds=$lt_reload_cmds_CXX
17682 # Commands used to build an old-style archive.
17683 old_archive_cmds=$lt_old_archive_cmds_CXX
17685 # A language specific compiler.
17686 CC=$lt_compiler_CXX
17688 # Is the compiler the GNU compiler?
17691 # Compiler flag to turn off builtin functions.
17692 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17694 # How to pass a linker flag through the compiler.
17695 wl=$lt_lt_prog_compiler_wl_CXX
17697 # Additional compiler flags for building library objects.
17698 pic_flag=$lt_lt_prog_compiler_pic_CXX
17700 # Compiler flag to prevent dynamic linking.
17701 link_static_flag=$lt_lt_prog_compiler_static_CXX
17703 # Does compiler simultaneously support -c and -o options?
17704 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17706 # Whether or not to add -lc for building shared libraries.
17707 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17709 # Whether or not to disallow shared libs when runtime libs are static.
17710 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17712 # Compiler flag to allow reflexive dlopens.
17713 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17715 # Compiler flag to generate shared objects directly from archives.
17716 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17718 # Whether the compiler copes with passing no objects directly.
17719 compiler_needs_object=$lt_compiler_needs_object_CXX
17721 # Create an old-style archive from a shared archive.
17722 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17724 # Create a temporary old-style archive to link instead of a shared archive.
17725 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17727 # Commands used to build a shared archive.
17728 archive_cmds=$lt_archive_cmds_CXX
17729 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17731 # Commands used to build a loadable module if different from building
17732 # a shared archive.
17733 module_cmds=$lt_module_cmds_CXX
17734 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17736 # Whether we are building with GNU ld or not.
17737 with_gnu_ld=$lt_with_gnu_ld_CXX
17739 # Flag that allows shared libraries with undefined symbols to be built.
17740 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17742 # Flag that enforces no undefined symbols.
17743 no_undefined_flag=$lt_no_undefined_flag_CXX
17745 # Flag to hardcode \$libdir into a binary during linking.
17746 # This must work even if \$libdir does not exist
17747 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17749 # If ld is used when linking, flag to hardcode \$libdir into a binary
17750 # during linking. This must work even if \$libdir does not exist.
17751 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17753 # Whether we need a single "-rpath" flag with a separated argument.
17754 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17756 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17757 # DIR into the resulting binary.
17758 hardcode_direct=$hardcode_direct_CXX
17760 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17761 # DIR into the resulting binary and the resulting library dependency is
17762 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17763 # library is relocated.
17764 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17766 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17767 # into the resulting binary.
17768 hardcode_minus_L=$hardcode_minus_L_CXX
17770 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17771 # into the resulting binary.
17772 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17774 # Set to "yes" if building a shared library automatically hardcodes DIR
17775 # into the library and all subsequent libraries and executables linked
17777 hardcode_automatic=$hardcode_automatic_CXX
17779 # Set to yes if linker adds runtime paths of dependent libraries
17780 # to runtime path list.
17781 inherit_rpath=$inherit_rpath_CXX
17783 # Whether libtool must link a program against all its dependency libraries.
17784 link_all_deplibs=$link_all_deplibs_CXX
17786 # Fix the shell variable \$srcfile for the compiler.
17787 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17789 # Set to "yes" if exported symbols are required.
17790 always_export_symbols=$always_export_symbols_CXX
17792 # The commands to list exported symbols.
17793 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17795 # Symbols that should not be listed in the preloaded symbols.
17796 exclude_expsyms=$lt_exclude_expsyms_CXX
17798 # Symbols that must always be exported.
17799 include_expsyms=$lt_include_expsyms_CXX
17801 # Commands necessary for linking programs (against libraries) with templates.
17802 prelink_cmds=$lt_prelink_cmds_CXX
17804 # Specify filename containing input files.
17805 file_list_spec=$lt_file_list_spec_CXX
17807 # How to hardcode a shared library path into an executable.
17808 hardcode_action=$hardcode_action_CXX
17810 # The directories searched by this compiler when creating a shared library.
17811 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17813 # Dependencies to place before and after the objects being linked to
17814 # create a shared library.
17815 predep_objects=$lt_predep_objects_CXX
17816 postdep_objects=$lt_postdep_objects_CXX
17817 predeps=$lt_predeps_CXX
17818 postdeps=$lt_postdeps_CXX
17820 # The library search path used internally by the compiler when linking
17821 # a shared library.
17822 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17824 # ### END LIBTOOL TAG CONFIG: CXX
17835 ac_clean_files
=$ac_clean_files_save
17837 test $ac_write_fail = 0 ||
17838 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17841 # configure is writing to config.log, and then calls config.status.
17842 # config.status does its own redirection, appending to config.log.
17843 # Unfortunately, on DOS this fails, as config.log is still kept open
17844 # by configure, so config.status won't be able to write to it; its
17845 # output is simply discarded. So we exec the FD to /dev/null,
17846 # effectively closing config.log, so it can be properly (re)opened and
17847 # appended to by config.status. When coming back to configure, we
17848 # need to make the FD available again.
17849 if test "$no_create" != yes; then
17851 ac_config_status_args
=
17852 test "$silent" = yes &&
17853 ac_config_status_args
="$ac_config_status_args --quiet"
17855 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17857 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17858 # would make configure fail if this is the last instruction.
17859 $ac_cs_success || as_fn_exit $?
17861 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17863 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}