2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
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
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || 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
='package-unused'
558 PACKAGE_TARNAME
='libphobos'
559 PACKAGE_VERSION
='version-unused'
560 PACKAGE_STRING
='package-unused version-unused'
564 ac_unique_file
="libdruntime/gcc/attribute.d"
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
613 DRUNTIME_ZLIB_SYSTEM_FALSE
614 DRUNTIME_ZLIB_SYSTEM_TRUE
615 BACKTRACE_SUPPORTS_THREADS
616 BACKTRACE_USES_MALLOC
621 DCFG_HAVE_64BIT_ATOMICS
622 DCFG_HAVE_ATOMIC_BUILTINS
623 DCFG_MINFO_BRACKETING
624 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
625 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
626 DCFG_ARM_EABI_UNWINDER
628 DRUNTIME_OS_SOLARIS_FALSE
629 DRUNTIME_OS_SOLARIS_TRUE
630 DRUNTIME_OS_MINGW_FALSE
631 DRUNTIME_OS_MINGW_TRUE
632 DRUNTIME_OS_LINUX_FALSE
633 DRUNTIME_OS_LINUX_TRUE
634 DRUNTIME_OS_OPENBSD_FALSE
635 DRUNTIME_OS_OPENBSD_TRUE
636 DRUNTIME_OS_NETBSD_FALSE
637 DRUNTIME_OS_NETBSD_TRUE
638 DRUNTIME_OS_FREEBSD_FALSE
639 DRUNTIME_OS_FREEBSD_TRUE
640 DRUNTIME_OS_DRAGONFLYBSD_FALSE
641 DRUNTIME_OS_DRAGONFLYBSD_TRUE
642 DRUNTIME_OS_DARWIN_FALSE
643 DRUNTIME_OS_DARWIN_TRUE
644 DRUNTIME_OS_ANDROID_FALSE
645 DRUNTIME_OS_ANDROID_TRUE
646 DRUNTIME_OS_AIX_FALSE
648 DRUNTIME_OS_UNIX_FALSE
649 DRUNTIME_OS_UNIX_TRUE
650 DRUNTIME_GC_ENABLE_FALSE
651 DRUNTIME_GC_ENABLE_TRUE
655 phobos_compiler_shared_flag
656 phobos_compiler_pic_flag
683 MAINTAINER_MODE_FALSE
704 INSTALL_STRIP_PROGRAM
759 program_transform_name
772 enable_option_checking
774 enable_maintainer_mode
781 with_gcc_major_version_only
788 with_target_system_zlib
791 ac_precious_vars
='build_alias
798 # Initialize some variables set by options.
800 ac_init_version
=false
801 ac_unrecognized_opts
=
803 # The variables have the same names as the options, with
804 # dashes changed to underlines.
812 program_transform_name
=s
,x
,x
,
820 # Installation directory options.
821 # These are left unexpanded so users can "make install exec_prefix=/foo"
822 # and all the variables that are supposed to be based on exec_prefix
823 # by default will actually change.
824 # Use braces instead of parens because sh, perl, etc. also accept them.
825 # (The list follows the same order as the GNU Coding Standards.)
826 bindir
='${exec_prefix}/bin'
827 sbindir
='${exec_prefix}/sbin'
828 libexecdir
='${exec_prefix}/libexec'
829 datarootdir
='${prefix}/share'
830 datadir
='${datarootdir}'
831 sysconfdir
='${prefix}/etc'
832 sharedstatedir
='${prefix}/com'
833 localstatedir
='${prefix}/var'
834 includedir
='${prefix}/include'
835 oldincludedir
='/usr/include'
836 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
837 infodir
='${datarootdir}/info'
842 libdir
='${exec_prefix}/lib'
843 localedir
='${datarootdir}/locale'
844 mandir
='${datarootdir}/man'
850 # If the previous option needs an argument, assign it.
851 if test -n "$ac_prev"; then
852 eval $ac_prev=\
$ac_option
858 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862 # Accept the important Cygnus configure options, so we can diagnose typos.
864 case $ac_dashdash$ac_option in
868 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
870 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
873 -build |
--build |
--buil |
--bui |
--bu)
874 ac_prev
=build_alias
;;
875 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
876 build_alias
=$ac_optarg ;;
878 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
879 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
880 ac_prev
=cache_file
;;
881 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
882 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
883 cache_file
=$ac_optarg ;;
886 cache_file
=config.cache
;;
888 -datadir |
--datadir |
--datadi |
--datad)
890 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
891 datadir
=$ac_optarg ;;
893 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
894 |
--dataroo |
--dataro |
--datar)
895 ac_prev
=datarootdir
;;
896 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
897 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
898 datarootdir
=$ac_optarg ;;
900 -disable-* |
--disable-*)
901 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
904 as_fn_error
"invalid feature name: $ac_useropt"
905 ac_useropt_orig
=$ac_useropt
906 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
911 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
912 ac_unrecognized_sep
=', ';;
914 eval enable_
$ac_useropt=no
;;
916 -docdir |
--docdir |
--docdi |
--doc |
--do)
918 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
921 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
923 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
926 -enable-* |
--enable-*)
927 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
928 # Reject names that are not valid shell variable names.
929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
930 as_fn_error
"invalid feature name: $ac_useropt"
931 ac_useropt_orig
=$ac_useropt
932 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933 case $ac_user_opts in
937 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
938 ac_unrecognized_sep
=', ';;
940 eval enable_
$ac_useropt=\
$ac_optarg ;;
942 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
943 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
944 |
--exec |
--exe |
--ex)
945 ac_prev
=exec_prefix
;;
946 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
947 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
948 |
--exec=* |
--exe=* |
--ex=*)
949 exec_prefix
=$ac_optarg ;;
951 -gas |
--gas |
--ga |
--g)
952 # Obsolete; use --with-gas.
955 -help |
--help |
--hel |
--he |
-h)
957 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
958 ac_init_help
=recursive
;;
959 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
960 ac_init_help
=short
;;
962 -host |
--host |
--hos |
--ho)
963 ac_prev
=host_alias
;;
964 -host=* |
--host=* |
--hos=* |
--ho=*)
965 host_alias
=$ac_optarg ;;
967 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
969 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
971 htmldir
=$ac_optarg ;;
973 -includedir |
--includedir |
--includedi |
--included |
--include \
974 |
--includ |
--inclu |
--incl |
--inc)
975 ac_prev
=includedir
;;
976 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
977 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
978 includedir
=$ac_optarg ;;
980 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
982 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
983 infodir
=$ac_optarg ;;
985 -libdir |
--libdir |
--libdi |
--libd)
987 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
990 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
991 |
--libexe |
--libex |
--libe)
992 ac_prev
=libexecdir
;;
993 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
994 |
--libexe=* |
--libex=* |
--libe=*)
995 libexecdir
=$ac_optarg ;;
997 -localedir |
--localedir |
--localedi |
--localed |
--locale)
999 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1000 localedir
=$ac_optarg ;;
1002 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1003 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1004 ac_prev
=localstatedir
;;
1005 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1006 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1007 localstatedir
=$ac_optarg ;;
1009 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1011 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1012 mandir
=$ac_optarg ;;
1014 -nfp |
--nfp |
--nf)
1015 # Obsolete; use --without-fp.
1018 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1019 |
--no-cr |
--no-c |
-n)
1022 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1023 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1026 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1027 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1028 |
--oldin |
--oldi |
--old |
--ol |
--o)
1029 ac_prev
=oldincludedir
;;
1030 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1031 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1032 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1033 oldincludedir
=$ac_optarg ;;
1035 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1037 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1038 prefix
=$ac_optarg ;;
1040 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1041 |
--program-pre |
--program-pr |
--program-p)
1042 ac_prev
=program_prefix
;;
1043 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1044 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1045 program_prefix
=$ac_optarg ;;
1047 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1048 |
--program-suf |
--program-su |
--program-s)
1049 ac_prev
=program_suffix
;;
1050 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1051 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1052 program_suffix
=$ac_optarg ;;
1054 -program-transform-name |
--program-transform-name \
1055 |
--program-transform-nam |
--program-transform-na \
1056 |
--program-transform-n |
--program-transform- \
1057 |
--program-transform |
--program-transfor \
1058 |
--program-transfo |
--program-transf \
1059 |
--program-trans |
--program-tran \
1060 |
--progr-tra |
--program-tr |
--program-t)
1061 ac_prev
=program_transform_name
;;
1062 -program-transform-name=* |
--program-transform-name=* \
1063 |
--program-transform-nam=* |
--program-transform-na=* \
1064 |
--program-transform-n=* |
--program-transform-=* \
1065 |
--program-transform=* |
--program-transfor=* \
1066 |
--program-transfo=* |
--program-transf=* \
1067 |
--program-trans=* |
--program-tran=* \
1068 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1069 program_transform_name
=$ac_optarg ;;
1071 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1073 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1074 pdfdir
=$ac_optarg ;;
1076 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1078 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1081 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1082 |
-silent |
--silent |
--silen |
--sile |
--sil)
1085 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1087 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1089 sbindir
=$ac_optarg ;;
1091 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1092 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1093 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1095 ac_prev
=sharedstatedir
;;
1096 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1097 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1098 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1100 sharedstatedir
=$ac_optarg ;;
1102 -site |
--site |
--sit)
1104 -site=* |
--site=* |
--sit=*)
1107 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1109 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1110 srcdir
=$ac_optarg ;;
1112 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1113 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1114 ac_prev
=sysconfdir
;;
1115 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1116 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1117 sysconfdir
=$ac_optarg ;;
1119 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1120 ac_prev
=target_alias
;;
1121 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1122 target_alias
=$ac_optarg ;;
1124 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1127 -version |
--version |
--versio |
--versi |
--vers |
-V)
1128 ac_init_version
=: ;;
1131 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1134 as_fn_error
"invalid package name: $ac_useropt"
1135 ac_useropt_orig
=$ac_useropt
1136 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1141 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1142 ac_unrecognized_sep
=', ';;
1144 eval with_
$ac_useropt=\
$ac_optarg ;;
1146 -without-* |
--without-*)
1147 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1150 as_fn_error
"invalid package name: $ac_useropt"
1151 ac_useropt_orig
=$ac_useropt
1152 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153 case $ac_user_opts in
1157 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1158 ac_unrecognized_sep
=', ';;
1160 eval with_
$ac_useropt=no
;;
1163 # Obsolete; use --with-x.
1166 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1167 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1168 ac_prev
=x_includes
;;
1169 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1170 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1171 x_includes
=$ac_optarg ;;
1173 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1174 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1175 ac_prev
=x_libraries
;;
1176 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1177 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1178 x_libraries
=$ac_optarg ;;
1180 -*) as_fn_error
"unrecognized option: \`$ac_option'
1181 Try \`$0 --help' for more information."
1185 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1186 # Reject names that are not valid shell variable names.
1187 case $ac_envvar in #(
1188 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1189 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1191 eval $ac_envvar=\
$ac_optarg
1192 export $ac_envvar ;;
1195 # FIXME: should be removed in autoconf 3.0.
1196 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1197 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1198 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1199 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1205 if test -n "$ac_prev"; then
1206 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1207 as_fn_error
"missing argument to $ac_option"
1210 if test -n "$ac_unrecognized_opts"; then
1211 case $enable_option_checking in
1213 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1214 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1218 # Check all directory arguments for consistency.
1219 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1220 datadir sysconfdir sharedstatedir localstatedir includedir \
1221 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1222 libdir localedir mandir
1224 eval ac_val
=\$
$ac_var
1225 # Remove trailing slashes.
1228 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1229 eval $ac_var=\
$ac_val;;
1231 # Be sure to have absolute directory names.
1233 [\\/$
]* | ?
:[\\/]* ) continue;;
1234 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1236 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1239 # There might be people who depend on the old broken behavior: `$host'
1240 # used to hold the argument of --host etc.
1241 # FIXME: To remove some day.
1244 target
=$target_alias
1246 # FIXME: To remove some day.
1247 if test "x$host_alias" != x
; then
1248 if test "x$build_alias" = x
; then
1249 cross_compiling
=maybe
1250 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1251 If a cross compiler is detected then cross compile mode will be used." >&2
1252 elif test "x$build_alias" != "x$host_alias"; then
1258 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1260 test "$silent" = yes && exec 6>/dev
/null
1263 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1264 ac_ls_di
=`ls -di .` &&
1265 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1266 as_fn_error
"working directory cannot be determined"
1267 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1268 as_fn_error
"pwd does not report name of working directory"
1271 # Find the source files, if location was not specified.
1272 if test -z "$srcdir"; then
1273 ac_srcdir_defaulted
=yes
1274 # Try the directory containing this script, then the parent directory.
1275 ac_confdir
=`$as_dirname -- "$as_myself" ||
1276 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1277 X"$as_myself" : 'X\(//\)[^/]' \| \
1278 X"$as_myself" : 'X\(//\)$' \| \
1279 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1280 $as_echo X"$as_myself" |
1281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1303 ac_srcdir_defaulted
=no
1305 if test ! -r "$srcdir/$ac_unique_file"; then
1306 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1307 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1309 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1311 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1313 # When building in place, set srcdir=.
1314 if test "$ac_abs_confdir" = "$ac_pwd"; then
1317 # Remove unnecessary trailing slashes from srcdir.
1318 # Double slashes in file names in object file debugging info
1319 # mess up M-x gdb in Emacs.
1321 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1323 for ac_var
in $ac_precious_vars; do
1324 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1325 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1326 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1327 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1331 # Report the --help message.
1333 if test "$ac_init_help" = "long"; then
1334 # Omit some internal or obsolete options to make the list less imposing.
1335 # This message is too long to be a string in the A/UX 3.1 sh.
1337 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1339 Usage: $0 [OPTION]... [VAR=VALUE]...
1341 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1342 VAR=VALUE. See below for descriptions of some of the useful variables.
1344 Defaults for the options are specified in brackets.
1347 -h, --help display this help and exit
1348 --help=short display options specific to this package
1349 --help=recursive display the short help of all the included packages
1350 -V, --version display version information and exit
1351 -q, --quiet, --silent do not print \`checking...' messages
1352 --cache-file=FILE cache test results in FILE [disabled]
1353 -C, --config-cache alias for \`--cache-file=config.cache'
1354 -n, --no-create do not create output files
1355 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1357 Installation directories:
1358 --prefix=PREFIX install architecture-independent files in PREFIX
1359 [$ac_default_prefix]
1360 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1363 By default, \`make install' will install all the files in
1364 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1365 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1366 for instance \`--prefix=\$HOME'.
1368 For better control, use the options below.
1370 Fine tuning of the installation directories:
1371 --bindir=DIR user executables [EPREFIX/bin]
1372 --sbindir=DIR system admin executables [EPREFIX/sbin]
1373 --libexecdir=DIR program executables [EPREFIX/libexec]
1374 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1375 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1376 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1377 --libdir=DIR object code libraries [EPREFIX/lib]
1378 --includedir=DIR C header files [PREFIX/include]
1379 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1380 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1381 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1382 --infodir=DIR info documentation [DATAROOTDIR/info]
1383 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1384 --mandir=DIR man documentation [DATAROOTDIR/man]
1385 --docdir=DIR documentation root [DATAROOTDIR/doc/libphobos]
1386 --htmldir=DIR html documentation [DOCDIR]
1387 --dvidir=DIR dvi documentation [DOCDIR]
1388 --pdfdir=DIR pdf documentation [DOCDIR]
1389 --psdir=DIR ps documentation [DOCDIR]
1395 --program-prefix=PREFIX prepend PREFIX to installed program names
1396 --program-suffix=SUFFIX append SUFFIX to installed program names
1397 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1400 --build=BUILD configure
for building on BUILD
[guessed
]
1401 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1402 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1406 if test -n "$ac_init_help"; then
1407 case $ac_init_help in
1408 short | recursive
) echo "Configuration of package-unused version-unused:";;
1413 --disable-option-checking ignore unrecognized
--enable/--with options
1414 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1415 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1416 --enable-multilib build many library versions
(default
)
1417 --enable-maintainer-mode enable make rules and dependencies not useful
1418 (and sometimes confusing
) to the casual installer
1419 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1420 --enable-static[=PKGS
] build static libraries
[default
=yes]
1421 --enable-fast-install[=PKGS
]
1422 optimize
for fast installation
[default
=yes]
1423 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1424 --enable-werror turns on
-Werror [default
=no
]
1425 --enable-druntime-gc enable D runtime garbage collector
(default
: yes)
1426 --enable-unix enables Unix runtime
(default
: yes, for Unix
1428 --enable-thread-lib=<arg
>
1429 specify linker option
for the system thread library
1430 (default
: autodetect
)
1433 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1434 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1435 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1437 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1438 --with-gcc-major-version-only
1439 use only GCC major number
in filesystem paths
1440 --without-libatomic Do not use libatomic
in core.atomic
(default
: auto
)
1441 --without-libbacktrace Do not use libbacktrace
in core.runtime
(default
:
1443 --with-target-system-zlib
1444 use installed libz
(default
: no
)
1445 --with-cross-host=HOST configuring with a cross compiler
1447 Some influential environment variables
:
1448 CC C compiler
command
1449 CFLAGS C compiler flags
1450 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1451 nonstandard directory
<lib dir
>
1452 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1453 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1454 you have headers
in a nonstandard directory
<include dir
>
1455 CCAS assembler compiler
command (defaults to CC
)
1456 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1457 GDC D compiler
command
1458 GDCFLAGS D compiler flags
1461 Use these variables to override the choices made by
`configure' or to help
1462 it to find libraries and programs with nonstandard names/locations.
1464 Report bugs to the package provider.
1469 if test "$ac_init_help" = "recursive"; then
1470 # If there are subdirs, report their specific --help.
1471 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1472 test -d "$ac_dir" ||
1473 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1478 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1480 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1481 # A ".." for each directory in $ac_dir_suffix.
1482 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1483 case $ac_top_builddir_sub in
1484 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1485 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1488 ac_abs_top_builddir=$ac_pwd
1489 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1490 # for backward compatibility:
1491 ac_top_builddir=$ac_top_build_prefix
1494 .) # We are building in place.
1496 ac_top_srcdir=$ac_top_builddir_sub
1497 ac_abs_top_srcdir=$ac_pwd ;;
1498 [\\/]* | ?:[\\/]* ) # Absolute name.
1499 ac_srcdir=$srcdir$ac_dir_suffix;
1500 ac_top_srcdir=$srcdir
1501 ac_abs_top_srcdir=$srcdir ;;
1503 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1504 ac_top_srcdir=$ac_top_build_prefix$srcdir
1505 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1507 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1509 cd "$ac_dir" || { ac_status=$?; continue; }
1510 # Check for guested configure.
1511 if test -f "$ac_srcdir/configure.gnu"; then
1513 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1514 elif test -f "$ac_srcdir/configure"; then
1516 $SHELL "$ac_srcdir/configure" --help=recursive
1518 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1520 cd "$ac_pwd" || { ac_status=$?; break; }
1524 test -n "$ac_init_help" && exit $ac_status
1525 if $ac_init_version; then
1527 package-unused configure version-unused
1528 generated by GNU Autoconf 2.64
1530 Copyright (C) 2009 Free Software Foundation, Inc.
1531 This configure script is free software; the Free Software Foundation
1532 gives unlimited permission to copy, distribute and modify it.
1537 ## ------------------------ ##
1538 ## Autoconf initialization. ##
1539 ## ------------------------ ##
1541 # ac_fn_c_try_compile LINENO
1542 # --------------------------
1543 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1544 ac_fn_c_try_compile ()
1546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1547 rm -f conftest.$ac_objext
1548 if { { ac_try="$ac_compile"
1550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1551 *) ac_try_echo
=$ac_try;;
1553 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554 $as_echo "$ac_try_echo"; } >&5
1555 (eval "$ac_compile") 2>conftest.err
1557 if test -s conftest.err
; then
1558 grep -v '^ *+' conftest.err
>conftest.er1
1559 cat conftest.er1
>&5
1560 mv -f conftest.er1 conftest.err
1562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1563 test $ac_status = 0; } && {
1564 test -z "$ac_c_werror_flag" ||
1565 test ! -s conftest.err
1566 } && test -s conftest.
$ac_objext; then :
1569 $as_echo "$as_me: failed program was:" >&5
1570 sed 's/^/| /' conftest.
$ac_ext >&5
1574 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1577 } # ac_fn_c_try_compile
1579 # ac_fn_d_try_compile LINENO
1580 # --------------------------
1581 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1582 ac_fn_d_try_compile
()
1584 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1585 rm -f conftest.
$ac_objext
1586 if { { ac_try
="$ac_compile"
1588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1589 *) ac_try_echo=$ac_try;;
1591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1592 $as_echo "$ac_try_echo"; } >&5
1593 (eval "$ac_compile") 2>conftest.err
1595 if test -s conftest.err; then
1596 grep -v '^ *+' conftest.err >conftest.er1
1597 cat conftest.er1 >&5
1598 mv -f conftest.er1 conftest.err
1600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1601 test $ac_status = 0; } && {
1602 test -z "$ac_d_werror_flag" ||
1603 test ! -s conftest.err
1604 } && test -s conftest.$ac_objext; then :
1607 $as_echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.$ac_ext >&5
1612 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1615 } # ac_fn_d_try_compile
1617 # ac_fn_c_try_link LINENO
1618 # -----------------------
1619 # Try to link conftest.$ac_ext, and return whether this succeeded.
1622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623 rm -f conftest.$ac_objext conftest$ac_exeext
1624 if { { ac_try="$ac_link"
1626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1627 *) ac_try_echo
=$ac_try;;
1629 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630 $as_echo "$ac_try_echo"; } >&5
1631 (eval "$ac_link") 2>conftest.err
1633 if test -s conftest.err
; then
1634 grep -v '^ *+' conftest.err
>conftest.er1
1635 cat conftest.er1
>&5
1636 mv -f conftest.er1 conftest.err
1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639 test $ac_status = 0; } && {
1640 test -z "$ac_c_werror_flag" ||
1641 test ! -s conftest.err
1642 } && test -s conftest
$ac_exeext && {
1643 test "$cross_compiling" = yes ||
1644 $as_test_x conftest
$ac_exeext
1648 $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.
$ac_ext >&5
1653 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1654 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1655 # interfere with the next link command; also delete a directory that is
1656 # left behind by Apple's compiler. We do this before executing the actions.
1657 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1658 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1661 } # ac_fn_c_try_link
1663 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1664 # -------------------------------------------------------
1665 # Tests whether HEADER exists and can be compiled using the include files in
1666 # INCLUDES, setting the cache variable VAR accordingly.
1667 ac_fn_c_check_header_compile
()
1669 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1671 $as_echo_n "checking for $2... " >&6; }
1672 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1673 $as_echo_n "(cached) " >&6
1675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1676 /* end confdefs.h. */
1680 if ac_fn_c_try_compile
"$LINENO"; then :
1685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689 $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_compile
1694 # ac_fn_c_try_cpp LINENO
1695 # ----------------------
1696 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1699 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1700 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1709 if test -s conftest.err; then
1710 grep -v '^ *+' conftest.err >conftest.er1
1711 cat conftest.er1 >&5
1712 mv -f conftest.er1 conftest.err
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } >/dev/null && {
1716 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1717 test ! -s conftest.err
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1726 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 # ac_fn_c_try_run LINENO
1732 # ----------------------
1733 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1734 # that executables *can* be run.
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 if { { ac_try="$ac_link"
1740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1741 *) ac_try_echo
=$ac_try;;
1743 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_link") 2>&5
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1749 { { case "(($ac_try" in
1750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1751 *) ac_try_echo=$ac_try;;
1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754 $as_echo "$ac_try_echo"; } >&5
1755 (eval "$ac_try") 2>&5
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; }; }; then :
1761 $as_echo "$as_me: program exited with status $ac_status" >&5
1762 $as_echo "$as_me: failed program was:" >&5
1763 sed 's/^/| /' conftest.$ac_ext >&5
1765 ac_retval=$ac_status
1767 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1768 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1773 # ac_fn_c_check_func LINENO FUNC VAR
1774 # ----------------------------------
1775 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1776 ac_fn_c_check_func ()
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1780 $as_echo_n "checking for $2... " >&6; }
1781 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1782 $as_echo_n "(cached) " >&6
1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1785 /* end confdefs.h. */
1786 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1788 #define $2 innocuous_$2
1790 /* System header to define __stub macros and hopefully few prototypes,
1791 which can conflict with char $2 (); below.
1792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1793 <limits.h> exists even on freestanding compilers. */
1796 # include <limits.h>
1798 # include <assert.h>
1803 /* Override any GCC internal prototype to avoid an error.
1804 Use char because int might match the return type of a GCC
1805 builtin and then its argument prototype would still apply. */
1810 /* The GNU C library defines this for functions which it implements
1811 to always fail with ENOSYS. Some functions are actually named
1812 something starting with __ and the normal name is an alias. */
1813 #if defined __stub_$2 || defined __stub___$2
1825 if ac_fn_c_try_link "$LINENO"; then :
1830 rm -f core conftest.err conftest.$ac_objext \
1831 conftest$ac_exeext conftest.$ac_ext
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1835 $as_echo "$ac_res" >&6; }
1836 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1838 } # ac_fn_c_check_func
1840 # ac_fn_d_try_link LINENO
1841 # -----------------------
1842 # Try to link conftest.$ac_ext, and return whether this succeeded.
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 rm -f conftest.$ac_objext conftest$ac_exeext
1847 if { { ac_try="$ac_link"
1849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1850 *) ac_try_echo
=$ac_try;;
1852 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_link") 2>conftest.err
1856 if test -s conftest.err
; then
1857 grep -v '^ *+' conftest.err
>conftest.er1
1858 cat conftest.er1
>&5
1859 mv -f conftest.er1 conftest.err
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } && {
1863 test -z "$ac_d_werror_flag" ||
1864 test ! -s conftest.err
1865 } && test -s conftest
$ac_exeext && {
1866 test "$cross_compiling" = yes ||
1867 $as_test_x conftest
$ac_exeext
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.
$ac_ext >&5
1876 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1877 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1878 # interfere with the next link command; also delete a directory that is
1879 # left behind by Apple's compiler. We do this before executing the actions.
1880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1884 } # ac_fn_d_try_link
1886 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1887 # -------------------------------------------------------
1888 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1889 # the include files in INCLUDES and setting the cache variable VAR
1891 ac_fn_c_check_header_mongrel
()
1893 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1894 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896 $as_echo_n "checking for $2... " >&6; }
1897 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1898 $as_echo_n "(cached) " >&6
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902 $as_echo "$ac_res" >&6; }
1904 # Is the header compilable?
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1906 $as_echo_n "checking $2 usability... " >&6; }
1907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h. */
1912 if ac_fn_c_try_compile
"$LINENO"; then :
1913 ac_header_compiler
=yes
1915 ac_header_compiler
=no
1917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1919 $as_echo "$ac_header_compiler" >&6; }
1921 # Is the header present?
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1923 $as_echo_n "checking $2 presence... " >&6; }
1924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h. */
1928 if ac_fn_c_try_cpp
"$LINENO"; then :
1929 ac_header_preproc
=yes
1931 ac_header_preproc
=no
1933 rm -f conftest.err conftest.
$ac_ext
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1935 $as_echo "$ac_header_preproc" >&6; }
1937 # So? What about this header?
1938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1941 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1943 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1947 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1949 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1951 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1953 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1955 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1959 $as_echo_n "checking for $2... " >&6; }
1960 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1961 $as_echo_n "(cached) " >&6
1963 eval "$3=\$ac_header_compiler"
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1967 $as_echo "$ac_res" >&6; }
1969 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1971 } # ac_fn_c_check_header_mongrel
1972 cat >config.log
<<_ACEOF
1973 This file contains any messages produced by compilers while
1974 running configure, to aid debugging if configure makes a mistake.
1976 It was created by package-unused $as_me version-unused, which was
1977 generated by GNU Autoconf 2.64. Invocation command line was
1989 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1990 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1991 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1992 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1993 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1995 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1996 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1998 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1999 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2000 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2001 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2002 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2003 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2004 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2012 test -z "$as_dir" && as_dir
=.
2013 $as_echo "PATH: $as_dir"
2029 # Keep a trace of the command line.
2030 # Strip out --no-create and --no-recursion so they do not pile up.
2031 # Strip out --silent because we don't want to record it for future runs.
2032 # Also quote any args containing shell meta-characters.
2033 # Make two passes to allow for proper duplicate-argument suppression.
2037 ac_must_keep_next
=false
2043 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2044 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2045 |
-silent |
--silent |
--silen |
--sile |
--sil)
2048 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2051 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2053 as_fn_append ac_configure_args1
" '$ac_arg'"
2054 if test $ac_must_keep_next = true
; then
2055 ac_must_keep_next
=false
# Got value, back to normal.
2058 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2059 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2060 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2061 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2062 case "$ac_configure_args0 " in
2063 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2066 -* ) ac_must_keep_next
=true
;;
2069 as_fn_append ac_configure_args
" '$ac_arg'"
2074 { ac_configure_args0
=; unset ac_configure_args0
;}
2075 { ac_configure_args1
=; unset ac_configure_args1
;}
2077 # When interrupted or exit'd, cleanup temporary files, and complete
2078 # config.log. We remove comments because anyway the quotes in there
2079 # would cause problems or look ugly.
2080 # WARNING: Use '\'' to represent an apostrophe within the trap.
2081 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2082 trap 'exit_status=$?
2083 # Save into config.log some information that might help in debugging.
2088 ## ---------------- ##
2089 ## Cache variables. ##
2090 ## ---------------- ##
2093 # The following way of writing the cache mishandles newlines in values,
2095 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2096 eval ac_val=\$$ac_var
2100 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2101 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2104 _ | IFS | as_nl) ;; #(
2105 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2106 *) { eval $ac_var=; unset $ac_var;} ;;
2111 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2112 *${as_nl}ac_space=\ *)
2114 "s/'\''/'\''\\\\'\'''\''/g;
2115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2118 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2126 ## ----------------- ##
2127 ## Output variables. ##
2128 ## ----------------- ##
2131 for ac_var in $ac_subst_vars
2133 eval ac_val=\$$ac_var
2135 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2137 $as_echo "$ac_var='\''$ac_val'\''"
2141 if test -n "$ac_subst_files"; then
2143 ## ------------------- ##
2144 ## File substitutions. ##
2145 ## ------------------- ##
2148 for ac_var
in $ac_subst_files
2150 eval ac_val
=\$
$ac_var
2152 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2154 $as_echo "$ac_var='\''$ac_val'\''"
2159 if test -s confdefs.h; then
2169 test "$ac_signal" != 0 &&
2170 $as_echo "$as_me: caught signal $ac_signal"
2171 $as_echo "$as_me: exit $exit_status"
2173 rm -f core *.core core.conftest.* &&
2174 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2177 for ac_signal
in 1 2 13 15; do
2178 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2183 rm -f -r conftest
* confdefs.h
2185 $as_echo "/* confdefs.h */" > confdefs.h
2187 # Predefined preprocessor variables.
2189 cat >>confdefs.h
<<_ACEOF
2190 #define PACKAGE_NAME "$PACKAGE_NAME"
2193 cat >>confdefs.h
<<_ACEOF
2194 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2197 cat >>confdefs.h
<<_ACEOF
2198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2201 cat >>confdefs.h
<<_ACEOF
2202 #define PACKAGE_STRING "$PACKAGE_STRING"
2205 cat >>confdefs.h
<<_ACEOF
2206 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2209 cat >>confdefs.h
<<_ACEOF
2210 #define PACKAGE_URL "$PACKAGE_URL"
2214 # Let the site file select an alternate cache file if it wants to.
2215 # Prefer an explicitly selected file to automatically selected ones.
2218 if test -n "$CONFIG_SITE"; then
2219 ac_site_file1
=$CONFIG_SITE
2220 elif test "x$prefix" != xNONE
; then
2221 ac_site_file1
=$prefix/share
/config.site
2222 ac_site_file2
=$prefix/etc
/config.site
2224 ac_site_file1
=$ac_default_prefix/share
/config.site
2225 ac_site_file2
=$ac_default_prefix/etc
/config.site
2227 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2229 test "x$ac_site_file" = xNONE
&& continue
2230 if test -r "$ac_site_file"; then
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2232 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2233 sed 's/^/| /' "$ac_site_file" >&5
2238 if test -r "$cache_file"; then
2239 # Some versions of bash will fail to source /dev/null (special
2240 # files actually), so we avoid doing that.
2241 if test -f "$cache_file"; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2243 $as_echo "$as_me: loading cache $cache_file" >&6;}
2245 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2246 *) .
"./$cache_file";;
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2251 $as_echo "$as_me: creating cache $cache_file" >&6;}
2255 # Check that the precious variables saved in the cache have kept the same
2257 ac_cache_corrupted
=false
2258 for ac_var
in $ac_precious_vars; do
2259 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2260 eval ac_new_set
=\
$ac_env_${ac_var}_set
2261 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2262 eval ac_new_val
=\
$ac_env_${ac_var}_value
2263 case $ac_old_set,$ac_new_set in
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2266 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2267 ac_cache_corrupted
=: ;;
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2270 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2271 ac_cache_corrupted
=: ;;
2274 if test "x$ac_old_val" != "x$ac_new_val"; then
2275 # differences in whitespace do not lead to failure.
2276 ac_old_val_w
=`echo x $ac_old_val`
2277 ac_new_val_w
=`echo x $ac_new_val`
2278 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2280 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2281 ac_cache_corrupted
=:
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2284 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2285 eval $ac_var=\
$ac_old_val
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2288 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2290 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2293 # Pass precious variables to config.status.
2294 if test "$ac_new_set" = set; then
2296 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2297 *) ac_arg
=$ac_var=$ac_new_val ;;
2299 case " $ac_configure_args " in
2300 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2301 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2305 if $ac_cache_corrupted; then
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2309 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2310 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2312 ## -------------------- ##
2313 ## Main body of script. ##
2314 ## -------------------- ##
2317 ac_cpp
='$CPP $CPPFLAGS'
2318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2327 ac_config_headers
="$ac_config_headers config.h"
2330 # Default to --enable-multilib
2331 # Check whether --enable-multilib was given.
2332 if test "${enable_multilib+set}" = set; then :
2333 enableval
=$enable_multilib; case "$enableval" in
2334 yes) multilib
=yes ;;
2336 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2343 # We may get other options which we leave undocumented:
2344 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2345 # See config-ml.in if you want the gory details.
2347 if test "$srcdir" = "."; then
2348 if test "$with_target_subdir" != "."; then
2349 multi_basedir
="$srcdir/$with_multisrctop../.."
2351 multi_basedir
="$srcdir/$with_multisrctop.."
2354 multi_basedir
="$srcdir/.."
2358 # Even if the default multilib is not a cross compilation,
2359 # it may be that some of the other multilibs are.
2360 if test $cross_compiling = no
&& test $multilib = yes \
2361 && test "x${with_multisubdir}" != x
; then
2362 cross_compiling
=maybe
2365 ac_config_commands
="$ac_config_commands default-1"
2368 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2369 for ac_t
in install-sh
install.sh shtool
; do
2370 if test -f "$ac_dir/$ac_t"; then
2372 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2377 if test -z "$ac_aux_dir"; then
2378 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2381 # These three variables are undocumented and unsupported,
2382 # and are intended to be withdrawn in a future Autoconf release.
2383 # They can cause serious problems if a builder's source tree is in a directory
2384 # whose full name contains unusual characters.
2385 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2386 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2387 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2390 # Make sure we can run config.sub.
2391 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2392 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2395 $as_echo_n "checking build system type... " >&6; }
2396 if test "${ac_cv_build+set}" = set; then :
2397 $as_echo_n "(cached) " >&6
2399 ac_build_alias
=$build_alias
2400 test "x$ac_build_alias" = x
&&
2401 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2402 test "x$ac_build_alias" = x
&&
2403 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2404 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2405 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2409 $as_echo "$ac_cv_build" >&6; }
2410 case $ac_cv_build in
2412 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2415 ac_save_IFS
=$IFS; IFS
='-'
2421 # Remember, the first character of IFS is used to create $*,
2422 # except with old shells:
2425 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2429 $as_echo_n "checking host system type... " >&6; }
2430 if test "${ac_cv_host+set}" = set; then :
2431 $as_echo_n "(cached) " >&6
2433 if test "x$host_alias" = x
; then
2434 ac_cv_host
=$ac_cv_build
2436 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2437 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2442 $as_echo "$ac_cv_host" >&6; }
2445 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2448 ac_save_IFS
=$IFS; IFS
='-'
2454 # Remember, the first character of IFS is used to create $*,
2455 # except with old shells:
2458 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2462 $as_echo_n "checking target system type... " >&6; }
2463 if test "${ac_cv_target+set}" = set; then :
2464 $as_echo_n "(cached) " >&6
2466 if test "x$target_alias" = x
; then
2467 ac_cv_target
=$ac_cv_host
2469 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2470 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2475 $as_echo "$ac_cv_target" >&6; }
2476 case $ac_cv_target in
2478 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2480 target
=$ac_cv_target
2481 ac_save_IFS
=$IFS; IFS
='-'
2487 # Remember, the first character of IFS is used to create $*,
2488 # except with old shells:
2491 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2494 # The aliases save the names the user supplied, while $host etc.
2495 # will get canonicalized.
2496 test -n "$target_alias" &&
2497 test "$program_prefix$program_suffix$program_transform_name" = \
2499 program_prefix
=${target_alias}-
2502 target_alias
=${target_alias-$target}
2505 # 1.11.1: Require that version of automake.
2506 # foreign: Don't require README, INSTALL, NEWS, etc.
2507 # no-define: Don't define PACKAGE and VERSION.
2508 # no-dependencies: Don't generate automatic dependencies.
2509 # (because it breaks when using bootstrap-lean, since some of the
2510 # headers are gone at "make install" time).
2511 # -Wall: Issue all automake warnings.
2512 # -Wno-portability: Don't warn about constructs supported by GNU make.
2513 # (because GCC requires GNU make anyhow).
2514 am__api_version
='1.11'
2516 # Find a good install program. We prefer a C program (faster),
2517 # so one script is as good as another. But avoid the broken or
2518 # incompatible versions:
2519 # SysV /etc/install, /usr/sbin/install
2520 # SunOS /usr/etc/install
2521 # IRIX /sbin/install
2523 # AmigaOS /C/install, which installs bootblocks on floppy discs
2524 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2525 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2526 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2527 # OS/2's system install, which has a completely different semantic
2528 # ./install, which can be erroneously created by make from ./install.sh.
2529 # Reject install programs that cannot install multiple files.
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2531 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2532 if test -z "$INSTALL"; then
2533 if test "${ac_cv_path_install+set}" = set; then :
2534 $as_echo_n "(cached) " >&6
2536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2540 test -z "$as_dir" && as_dir
=.
2541 # Account for people who put trailing slashes in PATH elements.
2542 case $as_dir/ in #((
2543 .
/ | .
// |
/[cC
]/* | \
2544 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2545 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2548 # OSF1 and SCO ODT 3.0 have their own names for install.
2549 # Don't use installbsd from OSF since it installs stuff as root
2551 for ac_prog
in ginstall scoinst
install; do
2552 for ac_exec_ext
in '' $ac_executable_extensions; do
2553 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2554 if test $ac_prog = install &&
2555 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2556 # AIX install. It has an incompatible calling convention.
2558 elif test $ac_prog = install &&
2559 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2560 # program-specific install script used by HP pwplus--don't use.
2563 rm -rf conftest.one conftest.two conftest.dir
2564 echo one
> conftest.one
2565 echo two
> conftest.two
2567 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2568 test -s conftest.one
&& test -s conftest.two
&&
2569 test -s conftest.dir
/conftest.one
&&
2570 test -s conftest.dir
/conftest.two
2572 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2585 rm -rf conftest.one conftest.two conftest.dir
2588 if test "${ac_cv_path_install+set}" = set; then
2589 INSTALL
=$ac_cv_path_install
2591 # As a last resort, use the slow shell script. Don't cache a
2592 # value for INSTALL within a source directory, because that will
2593 # break other packages using the cache if that directory is
2594 # removed, or if the value is a relative name.
2595 INSTALL
=$ac_install_sh
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2599 $as_echo "$INSTALL" >&6; }
2601 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2602 # It thinks the first close brace ends the variable substitution.
2603 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2605 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2607 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2610 $as_echo_n "checking whether build environment is sane... " >&6; }
2613 echo timestamp
> conftest.
file
2614 # Reject unsafe characters in $srcdir or the absolute working directory
2615 # name. Accept space and tab only in the latter.
2619 *[\\\"\
#\$\&\'\`$am_lf]*)
2620 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2623 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2624 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2627 # Do `set' in a subshell so we don't clobber the current shell's
2628 # arguments. Must try -L first in case configure is actually a
2629 # symlink; some systems play weird games with the mod time of symlinks
2630 # (eg FreeBSD returns the mod time of the symlink's containing
2633 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2634 if test "$*" = "X"; then
2636 set X
`ls -t "$srcdir/configure" conftest.file`
2639 if test "$*" != "X $srcdir/configure conftest.file" \
2640 && test "$*" != "X conftest.file $srcdir/configure"; then
2642 # If neither matched, then we have a broken ls. This can happen
2643 # if, for instance, CONFIG_SHELL is bash and it inherits a
2644 # broken ls alias from the environment. This has actually
2645 # happened. Such a system could not be considered "sane".
2646 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2647 alias in your environment" "$LINENO" 5
2650 test "$2" = conftest.
file
2656 as_fn_error
"newly created file is older than distributed files!
2657 Check your system clock" "$LINENO" 5
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2660 $as_echo "yes" >&6; }
2661 test "$program_prefix" != NONE
&&
2662 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2663 # Use a double $ so make ignores it.
2664 test "$program_suffix" != NONE
&&
2665 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2666 # Double any \ or $.
2667 # By default was `s,x,x', remove it if useless.
2668 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2669 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2671 # expand $ac_aux_dir to an absolute path
2672 am_aux_dir
=`cd $ac_aux_dir && pwd`
2674 if test x
"${MISSING+set}" != xset
; then
2677 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2679 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2682 # Use eval to expand $SHELL
2683 if eval "$MISSING --run true"; then
2684 am_missing_run
="$MISSING --run "
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2688 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2691 if test x
"${install_sh}" != xset
; then
2694 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2696 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2700 # Installed binaries are usually stripped using `strip' when the user
2701 # run `make install-strip'. However `strip' might not be the right
2702 # tool to use in cross-compilation environments, therefore Automake
2703 # will honor the `STRIP' environment variable to overrule this program.
2704 if test "$cross_compiling" != no
; then
2705 if test -n "$ac_tool_prefix"; then
2706 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2707 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709 $as_echo_n "checking for $ac_word... " >&6; }
2710 if test "${ac_cv_prog_STRIP+set}" = set; then :
2711 $as_echo_n "(cached) " >&6
2713 if test -n "$STRIP"; then
2714 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2720 test -z "$as_dir" && as_dir
=.
2721 for ac_exec_ext
in '' $ac_executable_extensions; do
2722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2723 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 STRIP
=$ac_cv_prog_STRIP
2734 if test -n "$STRIP"; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2736 $as_echo "$STRIP" >&6; }
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739 $as_echo "no" >&6; }
2744 if test -z "$ac_cv_prog_STRIP"; then
2746 # Extract the first word of "strip", so it can be a program name with args.
2747 set dummy strip
; ac_word
=$2
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2751 $as_echo_n "(cached) " >&6
2753 if test -n "$ac_ct_STRIP"; then
2754 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2760 test -z "$as_dir" && as_dir
=.
2761 for ac_exec_ext
in '' $ac_executable_extensions; do
2762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2763 ac_cv_prog_ac_ct_STRIP
="strip"
2764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2773 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2774 if test -n "$ac_ct_STRIP"; then
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2776 $as_echo "$ac_ct_STRIP" >&6; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779 $as_echo "no" >&6; }
2782 if test "x$ac_ct_STRIP" = x
; then
2785 case $cross_compiling:$ac_tool_warned in
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2789 ac_tool_warned
=yes ;;
2794 STRIP
="$ac_cv_prog_STRIP"
2798 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2801 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2802 if test -z "$MKDIR_P"; then
2803 if test "${ac_cv_path_mkdir+set}" = set; then :
2804 $as_echo_n "(cached) " >&6
2806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2807 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2810 test -z "$as_dir" && as_dir
=.
2811 for ac_prog
in mkdir gmkdir
; do
2812 for ac_exec_ext
in '' $ac_executable_extensions; do
2813 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2814 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2815 'mkdir (GNU coreutils) '* | \
2816 'mkdir (coreutils) '* | \
2817 'mkdir (fileutils) '4.1*)
2818 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2828 if test "${ac_cv_path_mkdir+set}" = set; then
2829 MKDIR_P
="$ac_cv_path_mkdir -p"
2831 # As a last resort, use the slow shell script. Don't cache a
2832 # value for MKDIR_P within a source directory, because that will
2833 # break other packages using the cache if that directory is
2834 # removed, or if the value is a relative name.
2835 test -d .
/--version && rmdir .
/--version
2836 MKDIR_P
="$ac_install_sh -d"
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2840 $as_echo "$MKDIR_P" >&6; }
2844 [\\/$
]* | ?
:[\\/]*) ;;
2845 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2848 for ac_prog
in gawk mawk nawk
awk
2850 # Extract the first word of "$ac_prog", so it can be a program name with args.
2851 set dummy
$ac_prog; ac_word
=$2
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if test "${ac_cv_prog_AWK+set}" = set; then :
2855 $as_echo_n "(cached) " >&6
2857 if test -n "$AWK"; then
2858 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2864 test -z "$as_dir" && as_dir
=.
2865 for ac_exec_ext
in '' $ac_executable_extensions; do
2866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2867 ac_cv_prog_AWK
="$ac_prog"
2868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2878 if test -n "$AWK"; then
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2880 $as_echo "$AWK" >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2887 test -n "$AWK" && break
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2891 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2893 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2894 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2895 $as_echo_n "(cached) " >&6
2897 cat >conftest.
make <<\_ACEOF
2900 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2902 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2903 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2905 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2907 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2911 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2913 $as_echo "yes" >&6; }
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2918 SET_MAKE
="MAKE=${MAKE-make}"
2921 rm -rf .tst
2>/dev
/null
2922 mkdir .tst
2>/dev
/null
2923 if test -d .tst
; then
2928 rmdir .tst
2>/dev
/null
2930 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2931 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2932 # is not polluted with repeated "-I."
2933 am__isrc
=' -I$(srcdir)'
2934 # test to see if srcdir already configured
2935 if test -f $srcdir/config.status
; then
2936 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2940 # test whether we have cygpath
2941 if test -z "$CYGPATH_W"; then
2942 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2943 CYGPATH_W
='cygpath -w'
2950 # Define the identity of the package.
2952 VERSION
='version-unused'
2955 # Some tools Automake needs.
2957 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2960 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2963 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2966 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2969 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2971 # We need awk for the "check" target. The system "awk" is bad on
2973 # Always define AMTAR for backward compatibility. Yes, it's still used
2974 # in the wild :-( We should find a proper way to deprecate it ...
2977 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2987 ac_cpp
='$CPP $CPPFLAGS'
2988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2991 if test -n "$ac_tool_prefix"; then
2992 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2993 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2995 $as_echo_n "checking for $ac_word... " >&6; }
2996 if test "${ac_cv_prog_CC+set}" = set; then :
2997 $as_echo_n "(cached) " >&6
2999 if test -n "$CC"; then
3000 ac_cv_prog_CC
="$CC" # Let the user override the test.
3002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3006 test -z "$as_dir" && as_dir
=.
3007 for ac_exec_ext
in '' $ac_executable_extensions; do
3008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3009 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3020 if test -n "$CC"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3022 $as_echo "$CC" >&6; }
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025 $as_echo "no" >&6; }
3030 if test -z "$ac_cv_prog_CC"; then
3032 # Extract the first word of "gcc", so it can be a program name with args.
3033 set dummy gcc
; ac_word
=$2
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035 $as_echo_n "checking for $ac_word... " >&6; }
3036 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3037 $as_echo_n "(cached) " >&6
3039 if test -n "$ac_ct_CC"; then
3040 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir
=.
3047 for ac_exec_ext
in '' $ac_executable_extensions; do
3048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3049 ac_cv_prog_ac_ct_CC
="gcc"
3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3060 if test -n "$ac_ct_CC"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3062 $as_echo "$ac_ct_CC" >&6; }
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065 $as_echo "no" >&6; }
3068 if test "x$ac_ct_CC" = x
; then
3071 case $cross_compiling:$ac_tool_warned in
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3075 ac_tool_warned
=yes ;;
3083 if test -z "$CC"; then
3084 if test -n "$ac_tool_prefix"; then
3085 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3086 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088 $as_echo_n "checking for $ac_word... " >&6; }
3089 if test "${ac_cv_prog_CC+set}" = set; then :
3090 $as_echo_n "(cached) " >&6
3092 if test -n "$CC"; then
3093 ac_cv_prog_CC
="$CC" # Let the user override the test.
3095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir
=.
3100 for ac_exec_ext
in '' $ac_executable_extensions; do
3101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3102 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 if test -n "$CC"; then
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3115 $as_echo "$CC" >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3124 if test -z "$CC"; then
3125 # Extract the first word of "cc", so it can be a program name with args.
3126 set dummy cc
; ac_word
=$2
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3128 $as_echo_n "checking for $ac_word... " >&6; }
3129 if test "${ac_cv_prog_CC+set}" = set; then :
3130 $as_echo_n "(cached) " >&6
3132 if test -n "$CC"; then
3133 ac_cv_prog_CC
="$CC" # Let the user override the test.
3136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3140 test -z "$as_dir" && as_dir
=.
3141 for ac_exec_ext
in '' $ac_executable_extensions; do
3142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3143 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3144 ac_prog_rejected
=yes
3148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3155 if test $ac_prog_rejected = yes; then
3156 # We found a bogon in the path, so make sure we never use it.
3157 set dummy
$ac_cv_prog_CC
3159 if test $# != 0; then
3160 # We chose a different compiler from the bogus one.
3161 # However, it has the same basename, so the bogon will be chosen
3162 # first if we set CC to just the basename; use the full file name.
3164 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3170 if test -n "$CC"; then
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3172 $as_echo "$CC" >&6; }
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175 $as_echo "no" >&6; }
3180 if test -z "$CC"; then
3181 if test -n "$ac_tool_prefix"; then
3182 for ac_prog
in cl.exe
3184 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3185 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3187 $as_echo_n "checking for $ac_word... " >&6; }
3188 if test "${ac_cv_prog_CC+set}" = set; then :
3189 $as_echo_n "(cached) " >&6
3191 if test -n "$CC"; then
3192 ac_cv_prog_CC
="$CC" # Let the user override the test.
3194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3198 test -z "$as_dir" && as_dir
=.
3199 for ac_exec_ext
in '' $ac_executable_extensions; do
3200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3201 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212 if test -n "$CC"; then
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3214 $as_echo "$CC" >&6; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3221 test -n "$CC" && break
3224 if test -z "$CC"; then
3226 for ac_prog
in cl.exe
3228 # Extract the first word of "$ac_prog", so it can be a program name with args.
3229 set dummy
$ac_prog; ac_word
=$2
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3231 $as_echo_n "checking for $ac_word... " >&6; }
3232 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3233 $as_echo_n "(cached) " >&6
3235 if test -n "$ac_ct_CC"; then
3236 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3242 test -z "$as_dir" && as_dir
=.
3243 for ac_exec_ext
in '' $ac_executable_extensions; do
3244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3245 ac_cv_prog_ac_ct_CC
="$ac_prog"
3246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3255 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3256 if test -n "$ac_ct_CC"; then
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3258 $as_echo "$ac_ct_CC" >&6; }
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3265 test -n "$ac_ct_CC" && break
3268 if test "x$ac_ct_CC" = x
; then
3271 case $cross_compiling:$ac_tool_warned in
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3275 ac_tool_warned
=yes ;;
3284 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3286 as_fn_error
"no acceptable C compiler found in \$PATH
3287 See \`config.log' for more details." "$LINENO" 5; }
3289 # Provide some information about the compiler.
3290 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3293 for ac_option
in --version -v -V -qversion; do
3294 { { ac_try
="$ac_compiler $ac_option >&5"
3296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300 $as_echo "$ac_try_echo"; } >&5
3301 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3303 if test -s conftest.err; then
3305 ... rest of stderr output deleted ...
3306 10q' conftest.err >conftest.er1
3307 cat conftest.er1 >&5
3308 rm -f conftest.er1 conftest.err
3310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3311 test $ac_status = 0; }
3314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3325 ac_clean_files_save=$ac_clean_files
3326 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3327 # Try to create an executable without -o first, disregard a.out.
3328 # It will help us diagnose broken compilers, and finding out an intuition
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3331 $as_echo_n "checking for C compiler default output file name... " >&6; }
3332 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3334 # The possible output files:
3335 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3338 for ac_file in $ac_files
3341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3342 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3347 if { { ac_try="$ac_link_default"
3349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3350 *) ac_try_echo
=$ac_try;;
3352 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3353 $as_echo "$ac_try_echo"; } >&5
3354 (eval "$ac_link_default") 2>&5
3356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3357 test $ac_status = 0; }; then :
3358 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3359 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3360 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3361 # so that the user can short-circuit this test for compilers unknown to
3363 for ac_file
in $ac_files ''
3365 test -f "$ac_file" ||
continue
3367 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3370 # We found the default executable, but exeext='' is most
3374 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3376 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3378 # We set ac_cv_exeext here because the later test for it is not
3379 # safe: cross compilers may not add the suffix if given an `-o'
3380 # argument, so we may need to know it at that point already.
3381 # Even if this section looks crufty: it has the advantage of
3388 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3394 $as_echo "$ac_file" >&6; }
3395 if test -z "$ac_file"; then :
3396 $as_echo "$as_me: failed program was:" >&5
3397 sed 's/^/| /' conftest.
$ac_ext >&5
3399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3401 { as_fn_set_status
77
3402 as_fn_error
"C compiler cannot create executables
3403 See \`config.log' for more details." "$LINENO" 5; }; }
3405 ac_exeext
=$ac_cv_exeext
3407 # Check that the compiler produces executables we can run. If not, either
3408 # the compiler is broken, or we cross compile.
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3410 $as_echo_n "checking whether the C compiler works... " >&6; }
3411 # If not cross compiling, check that we can run a simple program.
3412 if test "$cross_compiling" != yes; then
3413 if { ac_try
='./$ac_file'
3414 { { case "(($ac_try" in
3415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3416 *) ac_try_echo=$ac_try;;
3418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419 $as_echo "$ac_try_echo"; } >&5
3420 (eval "$ac_try") 2>&5
3422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423 test $ac_status = 0; }; }; then
3426 if test "$cross_compiling" = maybe; then
3429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3431 as_fn_error "cannot run C compiled programs.
3432 If you meant to cross compile
, use \
`--host'.
3433 See \`config.log
' for more details." "$LINENO" 5; }
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3438 $as_echo "yes" >&6; }
3440 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3441 ac_clean_files=$ac_clean_files_save
3442 # Check that the compiler produces executables we can run. If not, either
3443 # the compiler is broken, or we cross compile.
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3445 $as_echo_n "checking whether we are cross compiling... " >&6; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3447 $as_echo "$cross_compiling" >&6; }
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3450 $as_echo_n "checking for suffix of executables... " >&6; }
3451 if { { ac_try="$ac_link"
3453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454 *) ac_try_echo=$ac_try;;
3456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3457 $as_echo "$ac_try_echo"; } >&5
3458 (eval "$ac_link") 2>&5
3460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3461 test $ac_status = 0; }; then :
3462 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3463 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3464 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3466 for ac_file
in conftest.exe conftest conftest.
*; do
3467 test -f "$ac_file" ||
continue
3469 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3470 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3478 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3479 See \`config.log' for more details." "$LINENO" 5; }
3481 rm -f conftest
$ac_cv_exeext
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3483 $as_echo "$ac_cv_exeext" >&6; }
3485 rm -f conftest.
$ac_ext
3486 EXEEXT
=$ac_cv_exeext
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3489 $as_echo_n "checking for suffix of object files... " >&6; }
3490 if test "${ac_cv_objext+set}" = set; then :
3491 $as_echo_n "(cached) " >&6
3493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3504 rm -f conftest.o conftest.obj
3505 if { { ac_try
="$ac_compile"
3507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3508 *) ac_try_echo=$ac_try;;
3510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3511 $as_echo "$ac_try_echo"; } >&5
3512 (eval "$ac_compile") 2>&5
3514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3515 test $ac_status = 0; }; then :
3516 for ac_file in conftest.o conftest.obj conftest.*; do
3517 test -f "$ac_file" || continue;
3519 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3520 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3525 $as_echo "$as_me: failed program was:" >&5
3526 sed 's/^/| /' conftest.$ac_ext >&5
3528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3530 as_fn_error "cannot compute suffix of object files
: cannot compile
3531 See \
`config.log' for more details." "$LINENO" 5; }
3533 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3536 $as_echo "$ac_cv_objext" >&6; }
3537 OBJEXT=$ac_cv_objext
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3540 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3541 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3542 $as_echo_n "(cached) " >&6
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3558 if ac_fn_c_try_compile "$LINENO"; then :
3563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3564 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3568 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3569 if test $ac_compiler_gnu = yes; then
3574 ac_test_CFLAGS=${CFLAGS+set}
3575 ac_save_CFLAGS=$CFLAGS
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3577 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3578 if test "${ac_cv_prog_cc_g+set}" = set; then :
3579 $as_echo_n "(cached) " >&6
3581 ac_save_c_werror_flag=$ac_c_werror_flag
3582 ac_c_werror_flag=yes
3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586 /* end confdefs.h. */
3596 if ac_fn_c_try_compile "$LINENO"; then :
3600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3601 /* end confdefs.h. */
3611 if ac_fn_c_try_compile "$LINENO"; then :
3614 ac_c_werror_flag=$ac_save_c_werror_flag
3616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3617 /* end confdefs.h. */
3627 if ac_fn_c_try_compile "$LINENO"; then :
3630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3635 ac_c_werror_flag=$ac_save_c_werror_flag
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3638 $as_echo "$ac_cv_prog_cc_g" >&6; }
3639 if test "$ac_test_CFLAGS" = set; then
3640 CFLAGS=$ac_save_CFLAGS
3641 elif test $ac_cv_prog_cc_g = yes; then
3642 if test "$GCC" = yes; then
3648 if test "$GCC" = yes; then
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3655 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3656 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3657 $as_echo_n "(cached) " >&6
3659 ac_cv_prog_cc_c89=no
3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h. */
3665 #include <sys/types.h>
3666 #include <sys/stat.h>
3667 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3668 struct buf { int x; };
3669 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3670 static char *e (p, i)
3676 static char *f (char * (*g) (char **, int), char **p, ...)
3681 s = g (p, va_arg (v,int));
3686 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3687 function prototypes and stuff, but not '\xHH' hex character constants.
3688 These don't provoke an error unfortunately, instead are silently treated
3689 as 'x'. The following induces an error, until -std is added to get
3690 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3691 array size at least. It's necessary to write '\x00'==0 to get something
3692 that's true only with -std. */
3693 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3695 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3696 inside strings and character constants. */
3698 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3700 int test (int i, double x);
3701 struct s1 {int (*f) (int a);};
3702 struct s2 {int (*f) (double a);};
3703 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3709 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3714 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3715 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3717 CC="$ac_save_CC $ac_arg"
3718 if ac_fn_c_try_compile "$LINENO"; then :
3719 ac_cv_prog_cc_c89=$ac_arg
3721 rm -f core conftest.err conftest.$ac_objext
3722 test "x$ac_cv_prog_cc_c89" != "xno" && break
3724 rm -f conftest.$ac_ext
3729 case "x$ac_cv_prog_cc_c89" in
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3732 $as_echo "none needed" >&6; } ;;
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3735 $as_echo "unsupported" >&6; } ;;
3737 CC="$CC $ac_cv_prog_cc_c89"
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3739 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3741 if test "x$ac_cv_prog_cc_c89" != xno; then :
3746 ac_cpp='$CPP $CPPFLAGS'
3747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3751 # By default we simply use the C compiler to build assembly code.
3753 test "${CCAS+set}" = set || CCAS=$CC
3754 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3759 ac_cpp='$CPP $CPPFLAGS'
3760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3763 if test -n "$ac_tool_prefix"; then
3764 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3765 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3767 $as_echo_n "checking for $ac_word... " >&6; }
3768 if test "${ac_cv_prog_CC+set}" = set; then :
3769 $as_echo_n "(cached) " >&6
3771 if test -n "$CC"; then
3772 ac_cv_prog_CC="$CC" # Let the user override the test.
3774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3778 test -z "$as_dir" && as_dir=.
3779 for ac_exec_ext in '' $ac_executable_extensions; do
3780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3781 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 if test -n "$CC"; then
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3794 $as_echo "$CC" >&6; }
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3797 $as_echo "no" >&6; }
3802 if test -z "$ac_cv_prog_CC"; then
3804 # Extract the first word of "gcc", so it can be a program name with args.
3805 set dummy gcc; ac_word=$2
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807 $as_echo_n "checking for $ac_word... " >&6; }
3808 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3809 $as_echo_n "(cached) " >&6
3811 if test -n "$ac_ct_CC"; then
3812 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3818 test -z "$as_dir" && as_dir=.
3819 for ac_exec_ext in '' $ac_executable_extensions; do
3820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3821 ac_cv_prog_ac_ct_CC="gcc"
3822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3832 if test -n "$ac_ct_CC"; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3834 $as_echo "$ac_ct_CC" >&6; }
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3837 $as_echo "no" >&6; }
3840 if test "x$ac_ct_CC" = x; then
3843 case $cross_compiling:$ac_tool_warned in
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3847 ac_tool_warned=yes ;;
3855 if test -z "$CC"; then
3856 if test -n "$ac_tool_prefix"; then
3857 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3858 set dummy ${ac_tool_prefix}cc; ac_word=$2
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3860 $as_echo_n "checking for $ac_word... " >&6; }
3861 if test "${ac_cv_prog_CC+set}" = set; then :
3862 $as_echo_n "(cached) " >&6
3864 if test -n "$CC"; then
3865 ac_cv_prog_CC="$CC" # Let the user override the test.
3867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871 test -z "$as_dir" && as_dir=.
3872 for ac_exec_ext in '' $ac_executable_extensions; do
3873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3874 ac_cv_prog_CC="${ac_tool_prefix}cc"
3875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 if test -n "$CC"; then
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3887 $as_echo "$CC" >&6; }
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890 $as_echo "no" >&6; }
3896 if test -z "$CC"; then
3897 # Extract the first word of "cc", so it can be a program name with args.
3898 set dummy cc; ac_word=$2
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3900 $as_echo_n "checking for $ac_word... " >&6; }
3901 if test "${ac_cv_prog_CC+set}" = set; then :
3902 $as_echo_n "(cached) " >&6
3904 if test -n "$CC"; then
3905 ac_cv_prog_CC="$CC" # Let the user override the test.
3908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 test -z "$as_dir" && as_dir=.
3913 for ac_exec_ext in '' $ac_executable_extensions; do
3914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3915 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3916 ac_prog_rejected=yes
3920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3927 if test $ac_prog_rejected = yes; then
3928 # We found a bogon in the path, so make sure we never use it.
3929 set dummy $ac_cv_prog_CC
3931 if test $# != 0; then
3932 # We chose a different compiler from the bogus one.
3933 # However, it has the same basename, so the bogon will be chosen
3934 # first if we set CC to just the basename; use the full file name.
3936 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3942 if test -n "$CC"; then
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3944 $as_echo "$CC" >&6; }
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3947 $as_echo "no" >&6; }
3952 if test -z "$CC"; then
3953 if test -n "$ac_tool_prefix"; then
3954 for ac_prog in cl.exe
3956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3957 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3959 $as_echo_n "checking for $ac_word... " >&6; }
3960 if test "${ac_cv_prog_CC+set}" = set; then :
3961 $as_echo_n "(cached) " >&6
3963 if test -n "$CC"; then
3964 ac_cv_prog_CC="$CC" # Let the user override the test.
3966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 test -z "$as_dir" && as_dir=.
3971 for ac_exec_ext in '' $ac_executable_extensions; do
3972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3973 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3984 if test -n "$CC"; then
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3986 $as_echo "$CC" >&6; }
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3989 $as_echo "no" >&6; }
3993 test -n "$CC" && break
3996 if test -z "$CC"; then
3998 for ac_prog in cl.exe
4000 # Extract the first word of "$ac_prog", so it can be a program name with args.
4001 set dummy $ac_prog; ac_word=$2
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4003 $as_echo_n "checking for $ac_word... " >&6; }
4004 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4005 $as_echo_n "(cached) " >&6
4007 if test -n "$ac_ct_CC"; then
4008 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4014 test -z "$as_dir" && as_dir=.
4015 for ac_exec_ext in '' $ac_executable_extensions; do
4016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4017 ac_cv_prog_ac_ct_CC="$ac_prog"
4018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4028 if test -n "$ac_ct_CC"; then
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4030 $as_echo "$ac_ct_CC" >&6; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4033 $as_echo "no" >&6; }
4037 test -n "$ac_ct_CC" && break
4040 if test "x$ac_ct_CC" = x; then
4043 case $cross_compiling:$ac_tool_warned in
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4047 ac_tool_warned=yes ;;
4056 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4058 as_fn_error "no acceptable C compiler found
in \
$PATH
4059 See \
`config.log' for more details." "$LINENO" 5; }
4061 # Provide some information about the compiler.
4062 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4065 for ac_option in --version -v -V -qversion; do
4066 { { ac_try="$ac_compiler $ac_option >&5"
4068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4069 *) ac_try_echo
=$ac_try;;
4071 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4072 $as_echo "$ac_try_echo"; } >&5
4073 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4075 if test -s conftest.err
; then
4077 ... rest of stderr output deleted ...
4078 10q' conftest.err
>conftest.er1
4079 cat conftest.er1
>&5
4080 rm -f conftest.er1 conftest.err
4082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4083 test $ac_status = 0; }
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4087 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4088 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4089 $as_echo_n "(cached) " >&6
4091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4092 /* end confdefs.h. */
4105 if ac_fn_c_try_compile
"$LINENO"; then :
4110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4111 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4115 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4116 if test $ac_compiler_gnu = yes; then
4121 ac_test_CFLAGS
=${CFLAGS+set}
4122 ac_save_CFLAGS
=$CFLAGS
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4124 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4125 if test "${ac_cv_prog_cc_g+set}" = set; then :
4126 $as_echo_n "(cached) " >&6
4128 ac_save_c_werror_flag
=$ac_c_werror_flag
4129 ac_c_werror_flag
=yes
4132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4143 if ac_fn_c_try_compile
"$LINENO"; then :
4147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h. */
4158 if ac_fn_c_try_compile
"$LINENO"; then :
4161 ac_c_werror_flag
=$ac_save_c_werror_flag
4163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4174 if ac_fn_c_try_compile
"$LINENO"; then :
4177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4182 ac_c_werror_flag
=$ac_save_c_werror_flag
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4185 $as_echo "$ac_cv_prog_cc_g" >&6; }
4186 if test "$ac_test_CFLAGS" = set; then
4187 CFLAGS
=$ac_save_CFLAGS
4188 elif test $ac_cv_prog_cc_g = yes; then
4189 if test "$GCC" = yes; then
4195 if test "$GCC" = yes; then
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4202 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4203 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4204 $as_echo_n "(cached) " >&6
4206 ac_cv_prog_cc_c89
=no
4208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4212 #include <sys/types.h>
4213 #include <sys/stat.h>
4214 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4215 struct buf { int x; };
4216 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4217 static char *e (p, i)
4223 static char *f (char * (*g) (char **, int), char **p, ...)
4228 s = g (p, va_arg (v,int));
4233 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4234 function prototypes and stuff, but not '\xHH' hex character constants.
4235 These don't provoke an error unfortunately, instead are silently treated
4236 as 'x'. The following induces an error, until -std is added to get
4237 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4238 array size at least. It's necessary to write '\x00'==0 to get something
4239 that's true only with -std. */
4240 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4242 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4243 inside strings and character constants. */
4245 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4247 int test (int i, double x);
4248 struct s1 {int (*f) (int a);};
4249 struct s2 {int (*f) (double a);};
4250 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4256 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4261 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4262 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4264 CC
="$ac_save_CC $ac_arg"
4265 if ac_fn_c_try_compile
"$LINENO"; then :
4266 ac_cv_prog_cc_c89
=$ac_arg
4268 rm -f core conftest.err conftest.
$ac_objext
4269 test "x$ac_cv_prog_cc_c89" != "xno" && break
4271 rm -f conftest.
$ac_ext
4276 case "x$ac_cv_prog_cc_c89" in
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4279 $as_echo "none needed" >&6; } ;;
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4282 $as_echo "unsupported" >&6; } ;;
4284 CC
="$CC $ac_cv_prog_cc_c89"
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4286 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4288 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4293 ac_cpp
='$CPP $CPPFLAGS'
4294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4299 ac_compile
='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
4300 ac_link
='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4302 if test -n "$ac_tool_prefix"; then
4303 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
4304 set dummy
${ac_tool_prefix}gdc
; ac_word
=$2
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if test "${ac_cv_prog_GDC+set}" = set; then :
4308 $as_echo_n "(cached) " >&6
4310 if test -n "$GDC"; then
4311 ac_cv_prog_GDC
="$GDC" # Let the user override the test.
4313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4317 test -z "$as_dir" && as_dir
=.
4318 for ac_exec_ext
in '' $ac_executable_extensions; do
4319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4320 ac_cv_prog_GDC
="${ac_tool_prefix}gdc"
4321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4331 if test -n "$GDC"; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
4333 $as_echo "$GDC" >&6; }
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4336 $as_echo "no" >&6; }
4341 if test -z "$ac_cv_prog_GDC"; then
4343 # Extract the first word of "gdc", so it can be a program name with args.
4344 set dummy gdc
; ac_word
=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if test "${ac_cv_prog_ac_ct_GDC+set}" = set; then :
4348 $as_echo_n "(cached) " >&6
4350 if test -n "$ac_ct_GDC"; then
4351 ac_cv_prog_ac_ct_GDC
="$ac_ct_GDC" # Let the user override the test.
4353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4357 test -z "$as_dir" && as_dir
=.
4358 for ac_exec_ext
in '' $ac_executable_extensions; do
4359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360 ac_cv_prog_ac_ct_GDC
="gdc"
4361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 ac_ct_GDC
=$ac_cv_prog_ac_ct_GDC
4371 if test -n "$ac_ct_GDC"; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GDC" >&5
4373 $as_echo "$ac_ct_GDC" >&6; }
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4379 if test "x$ac_ct_GDC" = x
; then
4382 case $cross_compiling:$ac_tool_warned in
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4386 ac_tool_warned
=yes ;;
4391 GDC
="$ac_cv_prog_GDC"
4394 if test -z "$GDC"; then
4395 if test -n "$ac_tool_prefix"; then
4396 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
4397 set dummy
${ac_tool_prefix}gdc
; ac_word
=$2
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if test "${ac_cv_prog_GDC+set}" = set; then :
4401 $as_echo_n "(cached) " >&6
4403 if test -n "$GDC"; then
4404 ac_cv_prog_GDC
="$GDC" # Let the user override the test.
4406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir
=.
4411 for ac_exec_ext
in '' $ac_executable_extensions; do
4412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413 ac_cv_prog_GDC
="$ac_tool_prefix}gdc"
4414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4424 if test -n "$GDC"; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
4426 $as_echo "$GDC" >&6; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4435 if test -z "$GDC"; then
4436 # Extract the first word of "gdc", so it can be a program name with args.
4437 set dummy gdc
; ac_word
=$2
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439 $as_echo_n "checking for $ac_word... " >&6; }
4440 if test "${ac_cv_prog_GDC+set}" = set; then :
4441 $as_echo_n "(cached) " >&6
4443 if test -n "$GDC"; then
4444 ac_cv_prog_GDC
="$GDC" # Let the user override the test.
4447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4451 test -z "$as_dir" && as_dir
=.
4452 for ac_exec_ext
in '' $ac_executable_extensions; do
4453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4454 if test "$as_dir/$ac_word$ac_exec_ext" = "false"; then
4455 ac_prog_rejected
=yes
4458 ac_cv_prog_GDC
="gdc"
4459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 if test $ac_prog_rejected = yes; then
4467 # We found a bogon in the path, so make sure we never use it.
4468 set dummy
$ac_cv_prog_GDC
4470 if test $# != 0; then
4471 # We chose a different compiler from the bogus one.
4472 # However, it has the same basename, so the bogon will be chosen
4473 # first if we set GDC to just the basename; use the full file name.
4475 ac_cv_prog_GDC
="$as_dir/$ac_word${1+' '}$@"
4481 if test -n "$GDC"; then
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
4483 $as_echo "$GDC" >&6; }
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4486 $as_echo "no" >&6; }
4493 # Provide some information about the compiler.
4494 $as_echo "$as_me:${as_lineno-$LINENO}: checking for D compiler version" >&5
4497 { { ac_try
="$ac_compiler --version >&5"
4499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4500 *) ac_try_echo=$ac_try;;
4502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4503 $as_echo "$ac_try_echo"; } >&5
4504 (eval "$ac_compiler --version >&5") 2>conftest.err
4506 if test -s conftest.err; then
4508 ... rest of stderr output deleted ...
4509 10q' conftest.err >conftest.er1
4510 cat conftest.er1 >&5
4511 rm -f conftest.er1 conftest.err
4513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4514 test $ac_status = 0; }
4516 ac_cpp='$CPP $CPPFLAGS'
4517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for absolute libphobos source path" >&5
4523 $as_echo_n "checking for absolute libphobos source path... " >&6; }
4524 if test "${phobos_cv_abs_srcdir+set}" = set; then :
4525 $as_echo_n "(cached) " >&6
4527 phobos_cv_abs_srcdir=`cd $srcdir && pwd`
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $phobos_cv_abs_srcdir" >&5
4530 $as_echo "$phobos_cv_abs_srcdir" >&6; }
4531 if test -d "$phobos_cv_abs_srcdir"; then :
4534 as_fn_error "can't find absolute libphobos source path" "$LINENO" 5
4540 gdc_save_DFLAGS=$GDCFLAGS
4541 GDCFLAGS="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime $GDCFLAGS"
4544 ac_compile='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
4545 ac_link='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If $GDC can compile D sources" >&5
4549 $as_echo_n "checking If $GDC can compile D sources... " >&6; }
4550 cat > conftest.$ac_ext <<_ACEOF
4554 extern(C) int main() {
4558 if ac_fn_d_try_compile "$LINENO"; then :
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4560 $as_echo "yes" >&6; }
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4563 $as_echo "no" >&6; }
4564 as_fn_error "can't compile D sources!" "$LINENO" 5
4566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4568 ac_cpp='$CPP $CPPFLAGS'
4569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4574 GDCFLAGS=$gdc_save_DFLAGS
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4582 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4583 # Check whether --enable-maintainer-mode was given.
4584 if test "${enable_maintainer_mode+set}" = set; then :
4585 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4587 USE_MAINTAINER_MODE=no
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4591 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4592 if test $USE_MAINTAINER_MODE = yes; then
4593 MAINTAINER_MODE_TRUE=
4594 MAINTAINER_MODE_FALSE='#'
4596 MAINTAINER_MODE_TRUE='#'
4597 MAINTAINER_MODE_FALSE=
4600 MAINT=$MAINTAINER_MODE_TRUE
4603 if test -n "$ac_tool_prefix"; then
4604 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4605 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 $as_echo_n "checking for $ac_word... " >&6; }
4608 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4609 $as_echo_n "(cached) " >&6
4611 if test -n "$RANLIB"; then
4612 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4618 test -z "$as_dir" && as_dir=.
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4621 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 RANLIB=$ac_cv_prog_RANLIB
4632 if test -n "$RANLIB"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4634 $as_echo "$RANLIB" >&6; }
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4642 if test -z "$ac_cv_prog_RANLIB"; then
4643 ac_ct_RANLIB=$RANLIB
4644 # Extract the first word of "ranlib", so it can be a program name with args.
4645 set dummy ranlib; ac_word=$2
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 $as_echo_n "checking for $ac_word... " >&6; }
4648 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4649 $as_echo_n "(cached) " >&6
4651 if test -n "$ac_ct_RANLIB"; then
4652 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4658 test -z "$as_dir" && as_dir=.
4659 for ac_exec_ext in '' $ac_executable_extensions; do
4660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4661 ac_cv_prog_ac_ct_RANLIB="ranlib"
4662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4671 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4672 if test -n "$ac_ct_RANLIB"; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4674 $as_echo "$ac_ct_RANLIB" >&6; }
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677 $as_echo "no" >&6; }
4680 if test "x$ac_ct_RANLIB" = x; then
4683 case $cross_compiling:$ac_tool_warned in
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4687 ac_tool_warned=yes ;;
4689 RANLIB=$ac_ct_RANLIB
4692 RANLIB="$ac_cv_prog_RANLIB"
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4697 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4699 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4700 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4701 $as_echo_n "(cached) " >&6
4703 cat >conftest.make <<\_ACEOF
4706 @echo '@@@%%%=$(MAKE)=@@@%%%'
4708 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4709 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
4711 eval ac_cv_prog_make_${ac_make}_set=yes;;
4713 eval ac_cv_prog_make_${ac_make}_set=no;;
4717 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4719 $as_echo "yes" >&6; }
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723 $as_echo "no" >&6; }
4724 SET_MAKE="MAKE=${MAKE-make}"
4728 # This should be inherited in the recursive make, but ensure it is defined.
4732 CC_FOR_BUILD=${CC_FOR_BUILD:-gcc}
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4740 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4745 macro_version='2.2.7a'
4746 macro_revision='1.3134'
4760 ltmain="$ac_aux_dir/ltmain.sh"
4762 # Backslashify metacharacters that are still active within
4763 # double-quoted strings.
4764 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4766 # Same as above, but do not quote variable references.
4767 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4769 # Sed substitution to delay expansion of an escaped shell variable in a
4770 # double_quote_subst'ed string.
4771 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4773 # Sed substitution to delay expansion of an escaped single quote.
4774 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4776 # Sed substitution to avoid accidental globbing in evaled expressions
4777 no_glob_subst='s/\*/\\\*/g'
4779 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4780 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4781 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4784 $as_echo_n "checking how to print
strings...
" >&6; }
4785 # Test print first, because it will be a builtin if present.
4786 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
4787 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4789 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4792 # Use this function as a fallback that always works.
4793 func_fallback_echo ()
4795 eval 'cat <<_LTECHO_EOF
4799 ECHO='func_fallback_echo'
4802 # func_echo_all arg...
4803 # Invoke $ECHO with all args, space-separated.
4810 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4811 $as_echo "printf" >&6; } ;;
4812 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4813 $as_echo "print
-r" >&6; } ;;
4814 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4815 $as_echo "cat" >&6; } ;;
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4832 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4833 if test "${ac_cv_path_SED+set}" = set; then :
4834 $as_echo_n "(cached
) " >&6
4836 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4837 for ac_i in 1 2 3 4 5 6 7; do
4838 ac_script="$ac_script$as_nl$ac_script"
4840 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4841 { ac_script=; unset ac_script;}
4842 if test -z "$SED"; then
4843 ac_path_SED_found=false
4844 # Loop through the user's path and test for each of PROGNAME-LIST
4845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4849 test -z "$as_dir" && as_dir=.
4850 for ac_prog in sed gsed; do
4851 for ac_exec_ext in '' $ac_executable_extensions; do
4852 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4853 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4854 # Check for GNU ac_path_SED and select it if it is found.
4855 # Check for GNU $ac_path_SED
4856 case `"$ac_path_SED" --version 2>&1` in
4858 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4861 $as_echo_n 0123456789 >"conftest.
in"
4864 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4865 mv "conftest.tmp
" "conftest.
in"
4866 cp "conftest.
in" "conftest.
nl"
4867 $as_echo '' >> "conftest.
nl"
4868 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4869 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4870 as_fn_arith $ac_count + 1 && ac_count=$as_val
4871 if test $ac_count -gt ${ac_path_SED_max-0}; then
4872 # Best one so far, save it but keep looking for a better one
4873 ac_cv_path_SED="$ac_path_SED"
4874 ac_path_SED_max=$ac_count
4876 # 10*(2^10) chars as input seems more than enough
4877 test $ac_count -gt 10 && break
4879 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4882 $ac_path_SED_found && break 3
4887 if test -z "$ac_cv_path_SED"; then
4888 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4896 $as_echo "$ac_cv_path_SED" >&6; }
4897 SED="$ac_cv_path_SED"
4900 test -z "$SED" && SED=sed
4901 Xsed="$SED -e 1s
/^X
//"
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4914 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4915 if test "${ac_cv_path_GREP+set}" = set; then :
4916 $as_echo_n "(cached
) " >&6
4918 if test -z "$GREP"; then
4919 ac_path_GREP_found=false
4920 # Loop through the user's path and test for each of PROGNAME-LIST
4921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4922 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4925 test -z "$as_dir" && as_dir=.
4926 for ac_prog in grep ggrep; do
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4929 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4930 # Check for GNU ac_path_GREP and select it if it is found.
4931 # Check for GNU $ac_path_GREP
4932 case `"$ac_path_GREP" --version 2>&1` in
4934 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4937 $as_echo_n 0123456789 >"conftest.
in"
4940 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4941 mv "conftest.tmp
" "conftest.
in"
4942 cp "conftest.
in" "conftest.
nl"
4943 $as_echo 'GREP' >> "conftest.
nl"
4944 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4945 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4946 as_fn_arith $ac_count + 1 && ac_count=$as_val
4947 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4948 # Best one so far, save it but keep looking for a better one
4949 ac_cv_path_GREP="$ac_path_GREP"
4950 ac_path_GREP_max=$ac_count
4952 # 10*(2^10) chars as input seems more than enough
4953 test $ac_count -gt 10 && break
4955 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4958 $ac_path_GREP_found && break 3
4963 if test -z "$ac_cv_path_GREP"; then
4964 as_fn_error "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4967 ac_cv_path_GREP=$GREP
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4972 $as_echo "$ac_cv_path_GREP" >&6; }
4973 GREP="$ac_cv_path_GREP"
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4977 $as_echo_n "checking
for egrep...
" >&6; }
4978 if test "${ac_cv_path_EGREP+set}" = set; then :
4979 $as_echo_n "(cached
) " >&6
4981 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4982 then ac_cv_path_EGREP="$GREP -E"
4984 if test -z "$EGREP"; then
4985 ac_path_EGREP_found=false
4986 # Loop through the user's path and test for each of PROGNAME-LIST
4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4988 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4991 test -z "$as_dir" && as_dir=.
4992 for ac_prog in egrep; do
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4995 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4996 # Check for GNU ac_path_EGREP and select it if it is found.
4997 # Check for GNU $ac_path_EGREP
4998 case `"$ac_path_EGREP" --version 2>&1` in
5000 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5003 $as_echo_n 0123456789 >"conftest.
in"
5006 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5007 mv "conftest.tmp
" "conftest.
in"
5008 cp "conftest.
in" "conftest.
nl"
5009 $as_echo 'EGREP' >> "conftest.
nl"
5010 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5011 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5012 as_fn_arith $ac_count + 1 && ac_count=$as_val
5013 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5014 # Best one so far, save it but keep looking for a better one
5015 ac_cv_path_EGREP="$ac_path_EGREP"
5016 ac_path_EGREP_max=$ac_count
5018 # 10*(2^10) chars as input seems more than enough
5019 test $ac_count -gt 10 && break
5021 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5024 $ac_path_EGREP_found && break 3
5029 if test -z "$ac_cv_path_EGREP"; then
5030 as_fn_error "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5033 ac_cv_path_EGREP=$EGREP
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5039 $as_echo "$ac_cv_path_EGREP" >&6; }
5040 EGREP="$ac_cv_path_EGREP"
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5044 $as_echo_n "checking
for fgrep...
" >&6; }
5045 if test "${ac_cv_path_FGREP+set}" = set; then :
5046 $as_echo_n "(cached
) " >&6
5048 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5049 then ac_cv_path_FGREP="$GREP -F"
5051 if test -z "$FGREP"; then
5052 ac_path_FGREP_found=false
5053 # Loop through the user's path and test for each of PROGNAME-LIST
5054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5055 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5058 test -z "$as_dir" && as_dir=.
5059 for ac_prog in fgrep; do
5060 for ac_exec_ext in '' $ac_executable_extensions; do
5061 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5062 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5063 # Check for GNU ac_path_FGREP and select it if it is found.
5064 # Check for GNU $ac_path_FGREP
5065 case `"$ac_path_FGREP" --version 2>&1` in
5067 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5070 $as_echo_n 0123456789 >"conftest.
in"
5073 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5074 mv "conftest.tmp
" "conftest.
in"
5075 cp "conftest.
in" "conftest.
nl"
5076 $as_echo 'FGREP' >> "conftest.
nl"
5077 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5078 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5079 as_fn_arith $ac_count + 1 && ac_count=$as_val
5080 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5081 # Best one so far, save it but keep looking for a better one
5082 ac_cv_path_FGREP="$ac_path_FGREP"
5083 ac_path_FGREP_max=$ac_count
5085 # 10*(2^10) chars as input seems more than enough
5086 test $ac_count -gt 10 && break
5088 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5091 $ac_path_FGREP_found && break 3
5096 if test -z "$ac_cv_path_FGREP"; then
5097 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5100 ac_cv_path_FGREP=$FGREP
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5106 $as_echo "$ac_cv_path_FGREP" >&6; }
5107 FGREP="$ac_cv_path_FGREP"
5110 test -z "$GREP" && GREP=grep
5130 # Check whether --with-gnu-ld was given.
5131 if test "${with_gnu_ld+set}" = set; then :
5132 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5138 if test "$GCC" = yes; then
5139 # Check if gcc -print-prog-name=ld gives a path.
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5141 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5144 # gcc leaves a trailing carriage return which upsets mingw
5145 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5147 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5150 # Accept absolute paths.
5152 re_direlt='/[^/][^/]*/\.\./'
5153 # Canonicalize the pathname of ld
5154 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5155 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5156 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5158 test -z "$LD" && LD="$ac_prog"
5161 # If it fails, then pretend we aren't using GCC.
5165 # If it is relative, then search for the first ld in PATH.
5169 elif test "$with_gnu_ld" = yes; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5171 $as_echo_n "checking
for GNU ld...
" >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5174 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5176 if test "${lt_cv_path_LD+set}" = set; then :
5177 $as_echo_n "(cached
) " >&6
5179 if test -z "$LD"; then
5180 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5181 for ac_dir in $PATH; do
5183 test -z "$ac_dir" && ac_dir=.
5184 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5185 lt_cv_path_LD="$ac_dir/$ac_prog"
5186 # Check to see if the program is GNU ld. I'd rather use --version,
5187 # but apparently some variants of GNU ld only accept -v.
5188 # Break only if it was the GNU/non-GNU ld that we prefer.
5189 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5190 *GNU* | *'with BFD'*)
5191 test "$with_gnu_ld" != no && break
5194 test "$with_gnu_ld" != yes && break
5201 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5206 if test -n "$LD"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5208 $as_echo "$LD" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5211 $as_echo "no
" >&6; }
5213 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5215 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5216 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5217 $as_echo_n "(cached
) " >&6
5219 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5220 case `$LD -v 2>&1 </dev/null` in
5221 *GNU* | *'with BFD'*)
5222 lt_cv_prog_gnu_ld=yes
5225 lt_cv_prog_gnu_ld=no
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5230 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5231 with_gnu_ld=$lt_cv_prog_gnu_ld
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5242 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5243 if test "${lt_cv_path_NM+set}" = set; then :
5244 $as_echo_n "(cached
) " >&6
5246 if test -n "$NM"; then
5247 # Let the user override the test.
5250 lt_nm_to_check="${ac_tool_prefix}nm
"
5251 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5252 lt_nm_to_check="$lt_nm_to_check nm
"
5254 for lt_tmp_nm in $lt_nm_to_check; do
5255 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5256 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5258 test -z "$ac_dir" && ac_dir=.
5259 tmp_nm="$ac_dir/$lt_tmp_nm"
5260 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5261 # Check to see if the nm accepts a BSD-compat flag.
5262 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5263 # nm: unknown option "B
" ignored
5264 # Tru64's nm complains that /dev/null is an invalid object file
5265 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5266 */dev/null* | *'Invalid file or object type'*)
5267 lt_cv_path_NM="$tmp_nm -B"
5271 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5273 lt_cv_path_NM="$tmp_nm -p"
5277 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5278 continue # so that we can try to find one that supports BSD flags
5287 : ${lt_cv_path_NM=no}
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5291 $as_echo "$lt_cv_path_NM" >&6; }
5292 if test "$lt_cv_path_NM" != "no
"; then
5295 # Didn't find any BSD compatible name lister, look for dumpbin.
5296 if test -n "$DUMPBIN"; then :
5297 # Let the user override the test.
5299 if test -n "$ac_tool_prefix"; then
5300 for ac_prog in dumpbin "link
-dump"
5302 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5303 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5305 $as_echo_n "checking
for $ac_word...
" >&6; }
5306 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5307 $as_echo_n "(cached
) " >&6
5309 if test -n "$DUMPBIN"; then
5310 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5316 test -z "$as_dir" && as_dir=.
5317 for ac_exec_ext in '' $ac_executable_extensions; do
5318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5319 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5329 DUMPBIN=$ac_cv_prog_DUMPBIN
5330 if test -n "$DUMPBIN"; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5332 $as_echo "$DUMPBIN" >&6; }
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5335 $as_echo "no
" >&6; }
5339 test -n "$DUMPBIN" && break
5342 if test -z "$DUMPBIN"; then
5343 ac_ct_DUMPBIN=$DUMPBIN
5344 for ac_prog in dumpbin "link
-dump"
5346 # Extract the first word of "$ac_prog", so it can be a program name with args.
5347 set dummy $ac_prog; ac_word=$2
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5349 $as_echo_n "checking
for $ac_word...
" >&6; }
5350 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5351 $as_echo_n "(cached
) " >&6
5353 if test -n "$ac_ct_DUMPBIN"; then
5354 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5360 test -z "$as_dir" && as_dir=.
5361 for ac_exec_ext in '' $ac_executable_extensions; do
5362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5363 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5373 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5374 if test -n "$ac_ct_DUMPBIN"; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5376 $as_echo "$ac_ct_DUMPBIN" >&6; }
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5379 $as_echo "no
" >&6; }
5383 test -n "$ac_ct_DUMPBIN" && break
5386 if test "x
$ac_ct_DUMPBIN" = x; then
5389 case $cross_compiling:$ac_tool_warned in
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5392 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5393 ac_tool_warned=yes ;;
5395 DUMPBIN=$ac_ct_DUMPBIN
5399 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5401 DUMPBIN="$DUMPBIN -symbols"
5409 if test "$DUMPBIN" != ":"; then
5413 test -z "$NM" && NM=nm
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5421 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5422 if test "${lt_cv_nm_interface+set}" = set; then :
5423 $as_echo_n "(cached
) " >&6
5425 lt_cv_nm_interface="BSD nm
"
5426 echo "int some_variable
= 0;" > conftest.$ac_ext
5427 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5428 (eval "$ac_compile" 2>conftest.err)
5429 cat conftest.err >&5
5430 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5431 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5432 cat conftest.err >&5
5433 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5434 cat conftest.out >&5
5435 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5436 lt_cv_nm_interface="MS dumpbin
"
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5441 $as_echo "$lt_cv_nm_interface" >&6; }
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5444 $as_echo_n "checking whether
ln -s works...
" >&6; }
5446 if test "$LN_S" = "ln -s"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5448 $as_echo "yes" >&6; }
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5451 $as_echo "no
, using
$LN_S" >&6; }
5454 # find the maximum length of command line arguments
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5456 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5457 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5458 $as_echo_n "(cached
) " >&6
5465 # On DJGPP, this test can blow up pretty badly due to problems in libc
5466 # (any single argument exceeding 2000 bytes causes a buffer overrun
5467 # during glob expansion). Even if it were fixed, the result of this
5468 # check would be larger than it should be.
5469 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5473 # Under GNU Hurd, this test is not required because there is
5474 # no limit to the length of command line arguments.
5475 # Libtool will interpret -1 as no limit whatsoever
5476 lt_cv_sys_max_cmd_len=-1;
5479 cygwin* | mingw* | cegcc*)
5480 # On Win9x/ME, this test blows up -- it succeeds, but takes
5481 # about 5 minutes as the teststring grows exponentially.
5482 # Worse, since 9x/ME are not pre-emptively multitasking,
5483 # you end up with a "frozen
" computer, even though with patience
5484 # the test eventually succeeds (with a max line length of 256k).
5485 # Instead, let's just punt: use the minimum linelength reported by
5486 # all of the supported platforms: 8192 (on NT/2K/XP).
5487 lt_cv_sys_max_cmd_len=8192;
5491 # On MiNT this can take a long time and run out of memory.
5492 lt_cv_sys_max_cmd_len=8192;
5496 # On AmigaOS with pdksh, this test takes hours, literally.
5497 # So we just punt and use a minimum line length of 8192.
5498 lt_cv_sys_max_cmd_len=8192;
5501 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5502 # This has been around since 386BSD, at least. Likely further.
5503 if test -x /sbin/sysctl; then
5504 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5505 elif test -x /usr/sbin/sysctl; then
5506 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5508 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5510 # And add a safety zone
5511 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5512 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5516 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5517 lt_cv_sys_max_cmd_len=196608
5521 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5522 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5523 # nice to cause kernel panics so lets avoid the loop below.
5524 # First set a reasonable default.
5525 lt_cv_sys_max_cmd_len=16384
5527 if test -x /sbin/sysconfig; then
5528 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5529 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5534 lt_cv_sys_max_cmd_len=102400
5536 sysv5* | sco5v6* | sysv4.2uw2*)
5537 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5538 if test -n "$kargmax"; then
5539 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5541 lt_cv_sys_max_cmd_len=32768
5545 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5546 if test -n "$lt_cv_sys_max_cmd_len"; then
5547 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5548 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5550 # Make teststring a little bigger before we do anything with it.
5551 # a 1K string should be a reasonable start.
5552 for i in 1 2 3 4 5 6 7 8 ; do
5553 teststring=$teststring$teststring
5555 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5556 # If test is not a shell built-in, we'll probably end up computing a
5557 # maximum length that is only half of the actual maximum length, but
5559 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5560 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5561 test $i != 17 # 1/2 MB should be enough
5564 teststring=$teststring$teststring
5566 # Only check the string length outside the loop.
5567 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5569 # Add a significant safety factor because C++ compilers can tack on
5570 # massive amounts of additional arguments before passing them to the
5571 # linker. It appears as though 1/2 is a usable value.
5572 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5579 if test -n $lt_cv_sys_max_cmd_len ; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5581 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5584 $as_echo "none
" >&6; }
5586 max_cmd_len=$lt_cv_sys_max_cmd_len
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5598 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5599 # Try some XSI features
5602 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5604 && eval 'test $(( 1 + 1 )) -eq 2 \
5605 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5608 $as_echo "$xsi_shell" >&6; }
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5612 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5614 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5616 && lt_shell_append
=yes
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5618 $as_echo "$lt_shell_append" >&6; }
5621 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5631 # test EBCDIC or ASCII
5632 case `echo X|tr X '\101'` in
5633 A
) # ASCII based system
5634 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5635 lt_SP2NL
='tr \040 \012'
5636 lt_NL2SP
='tr \015\012 \040\040'
5638 *) # EBCDIC based system
5639 lt_SP2NL
='tr \100 \n'
5640 lt_NL2SP
='tr \r\n \100\100'
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5653 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5654 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5655 $as_echo_n "(cached) " >&6
5657 lt_cv_ld_reload_flag
='-r'
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5660 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5661 reload_flag
=$lt_cv_ld_reload_flag
5662 case $reload_flag in
5664 *) reload_flag
=" $reload_flag" ;;
5666 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5669 if test "$GCC" = yes; then
5670 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5672 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5685 if test -n "$ac_tool_prefix"; then
5686 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5687 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689 $as_echo_n "checking for $ac_word... " >&6; }
5690 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5691 $as_echo_n "(cached) " >&6
5693 if test -n "$OBJDUMP"; then
5694 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5700 test -z "$as_dir" && as_dir
=.
5701 for ac_exec_ext
in '' $ac_executable_extensions; do
5702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5703 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 OBJDUMP
=$ac_cv_prog_OBJDUMP
5714 if test -n "$OBJDUMP"; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5716 $as_echo "$OBJDUMP" >&6; }
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 $as_echo "no" >&6; }
5724 if test -z "$ac_cv_prog_OBJDUMP"; then
5725 ac_ct_OBJDUMP
=$OBJDUMP
5726 # Extract the first word of "objdump", so it can be a program name with args.
5727 set dummy objdump
; ac_word
=$2
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729 $as_echo_n "checking for $ac_word... " >&6; }
5730 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5731 $as_echo_n "(cached) " >&6
5733 if test -n "$ac_ct_OBJDUMP"; then
5734 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5740 test -z "$as_dir" && as_dir
=.
5741 for ac_exec_ext
in '' $ac_executable_extensions; do
5742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5743 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5753 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5754 if test -n "$ac_ct_OBJDUMP"; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5756 $as_echo "$ac_ct_OBJDUMP" >&6; }
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5762 if test "x$ac_ct_OBJDUMP" = x
; then
5765 case $cross_compiling:$ac_tool_warned in
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5769 ac_tool_warned
=yes ;;
5771 OBJDUMP
=$ac_ct_OBJDUMP
5774 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5777 test -z "$OBJDUMP" && OBJDUMP
=objdump
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5788 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5789 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5790 $as_echo_n "(cached) " >&6
5792 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5793 lt_cv_file_magic_test_file
=
5794 lt_cv_deplibs_check_method
='unknown'
5795 # Need to set the preceding variable on all platforms that support
5796 # interlibrary dependencies.
5797 # 'none' -- dependencies not supported.
5798 # `unknown' -- same as none, but documents that we really don't know.
5799 # 'pass_all' -- all dependencies passed with no checks.
5800 # 'test_compile' -- check by making test program.
5801 # 'file_magic [[regex]]' -- check by looking for files in library path
5802 # which responds to the $file_magic_cmd with a given extended regex.
5803 # If you have `file' or equivalent on your system and you're not sure
5804 # whether `pass_all' will *always* work, you probably want this one.
5808 lt_cv_deplibs_check_method
=pass_all
5812 lt_cv_deplibs_check_method
=pass_all
5816 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5817 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5818 lt_cv_file_magic_test_file
=/shlib
/libc.so
5822 # func_win32_libid is a shell function defined in ltmain.sh
5823 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5824 lt_cv_file_magic_cmd
='func_win32_libid'
5828 # Base MSYS/MinGW do not provide the 'file' command needed by
5829 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5830 # unless we find 'file', for example because we are cross-compiling.
5831 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5832 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5833 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5834 lt_cv_file_magic_cmd
='func_win32_libid'
5836 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5837 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5842 # use the weaker test based on 'objdump'. See mingw*.
5843 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5844 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5847 darwin
* | rhapsody
*)
5848 lt_cv_deplibs_check_method
=pass_all
5851 freebsd
* | dragonfly
*)
5852 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5855 # Not sure whether the presence of OpenBSD here was a mistake.
5856 # Let's accept both of them until this is cleared up.
5857 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5858 lt_cv_file_magic_cmd
=/usr
/bin
/file
5859 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5863 lt_cv_deplibs_check_method
=pass_all
5868 lt_cv_deplibs_check_method
=pass_all
5872 lt_cv_deplibs_check_method
=pass_all
5875 hpux10.20
* | hpux11
*)
5876 lt_cv_file_magic_cmd
=/usr
/bin
/file
5879 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5880 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5883 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]'
5884 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5887 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5888 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5894 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5895 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5898 irix5
* | irix6
* | nonstopux
*)
5900 *-32|
*"-32 ") libmagic
=32-bit;;
5901 *-n32|
*"-n32 ") libmagic
=N32
;;
5902 *-64|
*"-64 ") libmagic
=64-bit;;
5903 *) libmagic
=never-match
;;
5905 lt_cv_deplibs_check_method
=pass_all
5908 # This must be Linux ELF.
5909 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5910 lt_cv_deplibs_check_method
=pass_all
5914 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5915 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5917 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5922 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5923 lt_cv_file_magic_cmd
=/usr
/bin
/file
5924 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5928 lt_cv_deplibs_check_method
=pass_all
5932 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5933 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5935 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5939 osf3
* | osf4
* | osf5
*)
5940 lt_cv_deplibs_check_method
=pass_all
5944 lt_cv_deplibs_check_method
=pass_all
5948 lt_cv_deplibs_check_method
=pass_all
5951 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5952 lt_cv_deplibs_check_method
=pass_all
5956 case $host_vendor in
5958 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]'
5959 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5962 lt_cv_deplibs_check_method
=pass_all
5965 lt_cv_file_magic_cmd
='/bin/file'
5966 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5969 lt_cv_file_magic_cmd
='/bin/file'
5970 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5971 lt_cv_file_magic_test_file
=/lib
/libc.so
5974 lt_cv_deplibs_check_method
=pass_all
5977 lt_cv_deplibs_check_method
=pass_all
5983 lt_cv_deplibs_check_method
=pass_all
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5989 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5990 file_magic_cmd
=$lt_cv_file_magic_cmd
5991 deplibs_check_method
=$lt_cv_deplibs_check_method
5992 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6005 if test -n "$ac_tool_prefix"; then
6006 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6007 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6009 $as_echo_n "checking for $ac_word... " >&6; }
6010 if test "${ac_cv_prog_AR+set}" = set; then :
6011 $as_echo_n "(cached) " >&6
6013 if test -n "$AR"; then
6014 ac_cv_prog_AR
="$AR" # Let the user override the test.
6016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6020 test -z "$as_dir" && as_dir
=.
6021 for ac_exec_ext
in '' $ac_executable_extensions; do
6022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6023 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 if test -n "$AR"; then
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6036 $as_echo "$AR" >&6; }
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6039 $as_echo "no" >&6; }
6044 if test -z "$ac_cv_prog_AR"; then
6046 # Extract the first word of "ar", so it can be a program name with args.
6047 set dummy
ar; ac_word
=$2
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 $as_echo_n "checking for $ac_word... " >&6; }
6050 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6051 $as_echo_n "(cached) " >&6
6053 if test -n "$ac_ct_AR"; then
6054 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6060 test -z "$as_dir" && as_dir
=.
6061 for ac_exec_ext
in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_ac_ct_AR
="ar"
6064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6074 if test -n "$ac_ct_AR"; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6076 $as_echo "$ac_ct_AR" >&6; }
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 $as_echo "no" >&6; }
6082 if test "x$ac_ct_AR" = x
; then
6085 case $cross_compiling:$ac_tool_warned in
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6089 ac_tool_warned
=yes ;;
6097 test -z "$AR" && AR
=ar
6098 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6110 if test -n "$ac_tool_prefix"; then
6111 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6112 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 $as_echo_n "checking for $ac_word... " >&6; }
6115 if test "${ac_cv_prog_STRIP+set}" = set; then :
6116 $as_echo_n "(cached) " >&6
6118 if test -n "$STRIP"; then
6119 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6125 test -z "$as_dir" && as_dir
=.
6126 for ac_exec_ext
in '' $ac_executable_extensions; do
6127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6128 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6138 STRIP
=$ac_cv_prog_STRIP
6139 if test -n "$STRIP"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6141 $as_echo "$STRIP" >&6; }
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 $as_echo "no" >&6; }
6149 if test -z "$ac_cv_prog_STRIP"; then
6151 # Extract the first word of "strip", so it can be a program name with args.
6152 set dummy strip
; ac_word
=$2
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6154 $as_echo_n "checking for $ac_word... " >&6; }
6155 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6156 $as_echo_n "(cached) " >&6
6158 if test -n "$ac_ct_STRIP"; then
6159 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6165 test -z "$as_dir" && as_dir
=.
6166 for ac_exec_ext
in '' $ac_executable_extensions; do
6167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6168 ac_cv_prog_ac_ct_STRIP
="strip"
6169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6179 if test -n "$ac_ct_STRIP"; then
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6181 $as_echo "$ac_ct_STRIP" >&6; }
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6184 $as_echo "no" >&6; }
6187 if test "x$ac_ct_STRIP" = x
; then
6190 case $cross_compiling:$ac_tool_warned in
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6194 ac_tool_warned
=yes ;;
6199 STRIP
="$ac_cv_prog_STRIP"
6202 test -z "$STRIP" && STRIP
=:
6209 if test -n "$ac_tool_prefix"; then
6210 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6211 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6213 $as_echo_n "checking for $ac_word... " >&6; }
6214 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6215 $as_echo_n "(cached) " >&6
6217 if test -n "$RANLIB"; then
6218 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6224 test -z "$as_dir" && as_dir
=.
6225 for ac_exec_ext
in '' $ac_executable_extensions; do
6226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6227 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6237 RANLIB
=$ac_cv_prog_RANLIB
6238 if test -n "$RANLIB"; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6240 $as_echo "$RANLIB" >&6; }
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6243 $as_echo "no" >&6; }
6248 if test -z "$ac_cv_prog_RANLIB"; then
6249 ac_ct_RANLIB
=$RANLIB
6250 # Extract the first word of "ranlib", so it can be a program name with args.
6251 set dummy ranlib
; ac_word
=$2
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6253 $as_echo_n "checking for $ac_word... " >&6; }
6254 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6255 $as_echo_n "(cached) " >&6
6257 if test -n "$ac_ct_RANLIB"; then
6258 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6264 test -z "$as_dir" && as_dir
=.
6265 for ac_exec_ext
in '' $ac_executable_extensions; do
6266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6267 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6277 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6278 if test -n "$ac_ct_RANLIB"; then
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6280 $as_echo "$ac_ct_RANLIB" >&6; }
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6283 $as_echo "no" >&6; }
6286 if test "x$ac_ct_RANLIB" = x
; then
6289 case $cross_compiling:$ac_tool_warned in
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6293 ac_tool_warned
=yes ;;
6295 RANLIB
=$ac_ct_RANLIB
6298 RANLIB
="$ac_cv_prog_RANLIB"
6301 test -z "$RANLIB" && RANLIB
=:
6308 # Determine commands to create old-style static archives.
6309 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6310 old_postinstall_cmds
='chmod 644 $oldlib'
6311 old_postuninstall_cmds
=
6313 if test -n "$RANLIB"; then
6316 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6319 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6322 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6327 lock_old_archive_extraction
=yes ;;
6329 lock_old_archive_extraction
=no
;;
6370 # If no C compiler was specified, use CC.
6373 # If no C compiler flags were specified, use CFLAGS.
6374 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6376 # Allow CC to be a program name with arguments.
6380 # Check for command to grab the raw symbol name followed by C symbol from nm.
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6382 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6383 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6384 $as_echo_n "(cached) " >&6
6387 # These are sane defaults that work on at least a few old systems.
6388 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6390 # Character class describing NM global symbol codes.
6391 symcode
='[BCDEGRST]'
6393 # Regexp to match symbols that can be accessed directly from C.
6394 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6396 # Define system-specific variables.
6401 cygwin
* | mingw
* | pw32
* | cegcc
*)
6402 symcode
='[ABCDGISTW]'
6405 if test "$host_cpu" = ia64
; then
6406 symcode
='[ABCDEGRST]'
6410 symcode
='[BCDEGRST]'
6413 symcode
='[BCDEGQRST]'
6424 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6432 # If we're using GNU nm, then use its standard symbol codes.
6433 case `$NM -V 2>&1` in
6434 *GNU
* |
*'with BFD'*)
6435 symcode
='[ABCDGIRSTW]' ;;
6438 # Transform an extracted symbol line into a proper C declaration.
6439 # Some systems (esp. on ia64) link data and code symbols differently,
6440 # so use this general approach.
6441 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6443 # Transform an extracted symbol line into symbol name and symbol address
6444 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6445 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'"
6447 # Handle CRLF in mingw tool chain
6451 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6455 # Try without a prefix underscore, then with it.
6456 for ac_symprfx
in "" "_"; do
6458 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6459 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6461 # Write the raw and C identifiers.
6462 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6463 # Fake it for dumpbin and say T for any non-static function
6464 # and D for any global variable.
6465 # Also find C++ and __fastcall symbols from MSVC++,
6466 # which start with @ or ?.
6467 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6468 " {last_section=section; section=\$ 3};"\
6469 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6470 " \$ 0!~/External *\|/{next};"\
6471 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6472 " {if(hide[section]) next};"\
6473 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6474 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6475 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6476 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6477 " ' prfx=^$ac_symprfx"
6479 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6482 # Check to see that the pipe works correctly.
6486 cat > conftest.
$ac_ext <<_LT_EOF
6491 void nm_test_func(void);
6492 void nm_test_func(void){}
6496 int main(){nm_test_var='a';nm_test_func();return(0);}
6499 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6500 (eval $ac_compile) 2>&5
6502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6503 test $ac_status = 0; }; then
6504 # Now try to grab the symbols.
6506 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6507 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6510 test $ac_status = 0; } && test -s "$nlist"; then
6511 # Try sorting and uniquifying the output.
6512 if sort "$nlist" |
uniq > "$nlist"T
; then
6513 mv -f "$nlist"T
"$nlist"
6518 # Make sure that we snagged all the symbols we need.
6519 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6520 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6521 cat <<_LT_EOF > conftest.$ac_ext
6527 # Now generate the symbol file.
6528 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6530 cat <<_LT_EOF >> conftest.$ac_ext
6532 /* The mapping between symbol names and symbols. */
6537 lt__PROGRAM__LTX_preloaded_symbols[] =
6539 { "@PROGRAM@", (void *) 0 },
6541 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6542 cat <<\_LT_EOF
>> conftest.
$ac_ext
6546 /* This works around a problem
in FreeBSD linker
*/
6547 #ifdef FREEBSD_WORKAROUND
6548 static const void
*lt_preloaded_setup
() {
6549 return lt__PROGRAM__LTX_preloaded_symbols
;
6557 # Now try linking the two files.
6558 mv conftest.
$ac_objext conftstm.
$ac_objext
6559 lt_save_LIBS
="$LIBS"
6560 lt_save_CFLAGS
="$CFLAGS"
6561 LIBS
="conftstm.$ac_objext"
6562 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6563 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6564 (eval $ac_link) 2>&5
6566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6567 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6570 LIBS
="$lt_save_LIBS"
6571 CFLAGS
="$lt_save_CFLAGS"
6573 echo "cannot find nm_test_func in $nlist" >&5
6576 echo "cannot find nm_test_var in $nlist" >&5
6579 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6582 echo "$progname: failed program was:" >&5
6583 cat conftest.
$ac_ext >&5
6585 rm -rf conftest
* conftst
*
6587 # Do not use the global_symbol_pipe unless it works.
6588 if test "$pipe_works" = yes; then
6591 lt_cv_sys_global_symbol_pipe
=
6597 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6598 lt_cv_sys_global_symbol_to_cdecl
=
6600 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6602 $as_echo "failed" >&6; }
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6605 $as_echo "ok" >&6; }
6630 # Check whether --enable-libtool-lock was given.
6631 if test "${enable_libtool_lock+set}" = set; then :
6632 enableval
=$enable_libtool_lock;
6635 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6637 # Some flags need to be propagated to the compiler or linker for good
6641 # Find out which ABI we are using.
6642 echo 'int i;' > conftest.
$ac_ext
6643 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6644 (eval $ac_compile) 2>&5
6646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6647 test $ac_status = 0; }; then
6648 case `/usr/bin/file conftest.$ac_objext` in
6660 # Find out which ABI we are using.
6661 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6662 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6663 (eval $ac_compile) 2>&5
6665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6666 test $ac_status = 0; }; then
6667 if test "$lt_cv_prog_gnu_ld" = yes; then
6668 case `/usr/bin/file conftest.$ac_objext` in
6670 LD
="${LD-ld} -melf32bsmip"
6673 LD
="${LD-ld} -melf32bmipn32"
6676 LD
="${LD-ld} -melf64bmip"
6680 case `/usr/bin/file conftest.$ac_objext` in
6696 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6697 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6698 # Find out which ABI we are using.
6699 echo 'int i;' > conftest.
$ac_ext
6700 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6701 (eval $ac_compile) 2>&5
6703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6704 test $ac_status = 0; }; then
6705 case `/usr/bin/file conftest.o` in
6708 x86_64-
*kfreebsd
*-gnu)
6709 LD
="${LD-ld} -m elf_i386_fbsd"
6712 case `/usr/bin/file conftest.o` in
6714 LD
="${LD-ld} -m elf32_x86_64"
6717 LD
="${LD-ld} -m elf_i386"
6721 powerpc64le-
*linux
*)
6722 LD
="${LD-ld} -m elf32lppclinux"
6725 LD
="${LD-ld} -m elf32ppclinux"
6728 LD
="${LD-ld} -m elf_s390"
6731 LD
="${LD-ld} -m elf32_sparc"
6737 x86_64-
*kfreebsd
*-gnu)
6738 LD
="${LD-ld} -m elf_x86_64_fbsd"
6741 LD
="${LD-ld} -m elf_x86_64"
6744 LD
="${LD-ld} -m elf64lppc"
6747 LD
="${LD-ld} -m elf64ppc"
6749 s390
*-*linux
*|s390
*-*tpf
*)
6750 LD
="${LD-ld} -m elf64_s390"
6753 LD
="${LD-ld} -m elf64_sparc"
6763 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6764 SAVE_CFLAGS
="$CFLAGS"
6765 CFLAGS
="$CFLAGS -belf"
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6767 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6768 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6769 $as_echo_n "(cached) " >&6
6772 ac_cpp
='$CPP $CPPFLAGS'
6773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6778 /* end confdefs.h. */
6788 if ac_fn_c_try_link
"$LINENO"; then :
6789 lt_cv_cc_needs_belf
=yes
6791 lt_cv_cc_needs_belf
=no
6793 rm -f core conftest.err conftest.
$ac_objext \
6794 conftest
$ac_exeext conftest.
$ac_ext
6796 ac_cpp
='$CPP $CPPFLAGS'
6797 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6798 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6799 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6803 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6804 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6805 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6806 CFLAGS
="$SAVE_CFLAGS"
6810 # Find out which ABI we are using.
6811 echo 'int i;' > conftest.
$ac_ext
6812 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6813 (eval $ac_compile) 2>&5
6815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6816 test $ac_status = 0; }; then
6817 case `/usr/bin/file conftest.o` in
6819 case $lt_cv_prog_gnu_ld in
6820 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6822 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6834 need_locks
="$enable_libtool_lock"
6838 rhapsody
* | darwin
*)
6839 if test -n "$ac_tool_prefix"; then
6840 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6841 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6843 $as_echo_n "checking for $ac_word... " >&6; }
6844 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6845 $as_echo_n "(cached) " >&6
6847 if test -n "$DSYMUTIL"; then
6848 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6854 test -z "$as_dir" && as_dir
=.
6855 for ac_exec_ext
in '' $ac_executable_extensions; do
6856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6857 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6867 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6868 if test -n "$DSYMUTIL"; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6870 $as_echo "$DSYMUTIL" >&6; }
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 $as_echo "no" >&6; }
6878 if test -z "$ac_cv_prog_DSYMUTIL"; then
6879 ac_ct_DSYMUTIL
=$DSYMUTIL
6880 # Extract the first word of "dsymutil", so it can be a program name with args.
6881 set dummy dsymutil
; ac_word
=$2
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6883 $as_echo_n "checking for $ac_word... " >&6; }
6884 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6885 $as_echo_n "(cached) " >&6
6887 if test -n "$ac_ct_DSYMUTIL"; then
6888 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6894 test -z "$as_dir" && as_dir
=.
6895 for ac_exec_ext
in '' $ac_executable_extensions; do
6896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6897 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6907 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6908 if test -n "$ac_ct_DSYMUTIL"; then
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6910 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6913 $as_echo "no" >&6; }
6916 if test "x$ac_ct_DSYMUTIL" = x
; then
6919 case $cross_compiling:$ac_tool_warned in
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6923 ac_tool_warned
=yes ;;
6925 DSYMUTIL
=$ac_ct_DSYMUTIL
6928 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6931 if test -n "$ac_tool_prefix"; then
6932 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6933 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6935 $as_echo_n "checking for $ac_word... " >&6; }
6936 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6937 $as_echo_n "(cached) " >&6
6939 if test -n "$NMEDIT"; then
6940 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6946 test -z "$as_dir" && as_dir
=.
6947 for ac_exec_ext
in '' $ac_executable_extensions; do
6948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6949 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6959 NMEDIT
=$ac_cv_prog_NMEDIT
6960 if test -n "$NMEDIT"; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6962 $as_echo "$NMEDIT" >&6; }
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6965 $as_echo "no" >&6; }
6970 if test -z "$ac_cv_prog_NMEDIT"; then
6971 ac_ct_NMEDIT
=$NMEDIT
6972 # Extract the first word of "nmedit", so it can be a program name with args.
6973 set dummy nmedit
; ac_word
=$2
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6975 $as_echo_n "checking for $ac_word... " >&6; }
6976 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6977 $as_echo_n "(cached) " >&6
6979 if test -n "$ac_ct_NMEDIT"; then
6980 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6986 test -z "$as_dir" && as_dir
=.
6987 for ac_exec_ext
in '' $ac_executable_extensions; do
6988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6989 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6999 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7000 if test -n "$ac_ct_NMEDIT"; then
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7002 $as_echo "$ac_ct_NMEDIT" >&6; }
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7005 $as_echo "no" >&6; }
7008 if test "x$ac_ct_NMEDIT" = x
; then
7011 case $cross_compiling:$ac_tool_warned in
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7015 ac_tool_warned
=yes ;;
7017 NMEDIT
=$ac_ct_NMEDIT
7020 NMEDIT
="$ac_cv_prog_NMEDIT"
7023 if test -n "$ac_tool_prefix"; then
7024 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7025 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7027 $as_echo_n "checking for $ac_word... " >&6; }
7028 if test "${ac_cv_prog_LIPO+set}" = set; then :
7029 $as_echo_n "(cached) " >&6
7031 if test -n "$LIPO"; then
7032 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7038 test -z "$as_dir" && as_dir
=.
7039 for ac_exec_ext
in '' $ac_executable_extensions; do
7040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7041 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7051 LIPO
=$ac_cv_prog_LIPO
7052 if test -n "$LIPO"; then
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7054 $as_echo "$LIPO" >&6; }
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7057 $as_echo "no" >&6; }
7062 if test -z "$ac_cv_prog_LIPO"; then
7064 # Extract the first word of "lipo", so it can be a program name with args.
7065 set dummy lipo
; ac_word
=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067 $as_echo_n "checking for $ac_word... " >&6; }
7068 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7069 $as_echo_n "(cached) " >&6
7071 if test -n "$ac_ct_LIPO"; then
7072 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7078 test -z "$as_dir" && as_dir
=.
7079 for ac_exec_ext
in '' $ac_executable_extensions; do
7080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7081 ac_cv_prog_ac_ct_LIPO
="lipo"
7082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7091 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7092 if test -n "$ac_ct_LIPO"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7094 $as_echo "$ac_ct_LIPO" >&6; }
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097 $as_echo "no" >&6; }
7100 if test "x$ac_ct_LIPO" = x
; then
7103 case $cross_compiling:$ac_tool_warned in
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7107 ac_tool_warned
=yes ;;
7112 LIPO
="$ac_cv_prog_LIPO"
7115 if test -n "$ac_tool_prefix"; then
7116 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7117 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7119 $as_echo_n "checking for $ac_word... " >&6; }
7120 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7121 $as_echo_n "(cached) " >&6
7123 if test -n "$OTOOL"; then
7124 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7130 test -z "$as_dir" && as_dir
=.
7131 for ac_exec_ext
in '' $ac_executable_extensions; do
7132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7133 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7143 OTOOL
=$ac_cv_prog_OTOOL
7144 if test -n "$OTOOL"; then
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7146 $as_echo "$OTOOL" >&6; }
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149 $as_echo "no" >&6; }
7154 if test -z "$ac_cv_prog_OTOOL"; then
7156 # Extract the first word of "otool", so it can be a program name with args.
7157 set dummy otool
; ac_word
=$2
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159 $as_echo_n "checking for $ac_word... " >&6; }
7160 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7161 $as_echo_n "(cached) " >&6
7163 if test -n "$ac_ct_OTOOL"; then
7164 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7170 test -z "$as_dir" && as_dir
=.
7171 for ac_exec_ext
in '' $ac_executable_extensions; do
7172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7173 ac_cv_prog_ac_ct_OTOOL
="otool"
7174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7183 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7184 if test -n "$ac_ct_OTOOL"; then
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7186 $as_echo "$ac_ct_OTOOL" >&6; }
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189 $as_echo "no" >&6; }
7192 if test "x$ac_ct_OTOOL" = x
; then
7195 case $cross_compiling:$ac_tool_warned in
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7199 ac_tool_warned
=yes ;;
7204 OTOOL
="$ac_cv_prog_OTOOL"
7207 if test -n "$ac_tool_prefix"; then
7208 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7209 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7211 $as_echo_n "checking for $ac_word... " >&6; }
7212 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7213 $as_echo_n "(cached) " >&6
7215 if test -n "$OTOOL64"; then
7216 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7222 test -z "$as_dir" && as_dir
=.
7223 for ac_exec_ext
in '' $ac_executable_extensions; do
7224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7225 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7235 OTOOL64
=$ac_cv_prog_OTOOL64
7236 if test -n "$OTOOL64"; then
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7238 $as_echo "$OTOOL64" >&6; }
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7241 $as_echo "no" >&6; }
7246 if test -z "$ac_cv_prog_OTOOL64"; then
7247 ac_ct_OTOOL64
=$OTOOL64
7248 # Extract the first word of "otool64", so it can be a program name with args.
7249 set dummy otool64
; ac_word
=$2
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7251 $as_echo_n "checking for $ac_word... " >&6; }
7252 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7253 $as_echo_n "(cached) " >&6
7255 if test -n "$ac_ct_OTOOL64"; then
7256 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7262 test -z "$as_dir" && as_dir
=.
7263 for ac_exec_ext
in '' $ac_executable_extensions; do
7264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7265 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7276 if test -n "$ac_ct_OTOOL64"; then
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7278 $as_echo "$ac_ct_OTOOL64" >&6; }
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 $as_echo "no" >&6; }
7284 if test "x$ac_ct_OTOOL64" = x
; then
7287 case $cross_compiling:$ac_tool_warned in
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7291 ac_tool_warned
=yes ;;
7293 OTOOL64
=$ac_ct_OTOOL64
7296 OTOOL64
="$ac_cv_prog_OTOOL64"
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7326 $as_echo_n "checking for -single_module linker flag... " >&6; }
7327 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7328 $as_echo_n "(cached) " >&6
7330 lt_cv_apple_cc_single_mod
=no
7331 if test -z "${LT_MULTI_MODULE}"; then
7332 # By default we will add the -single_module flag. You can override
7333 # by either setting the environment variable LT_MULTI_MODULE
7334 # non-empty at configure time, or by adding -multi_module to the
7336 rm -rf libconftest.dylib
*
7337 echo "int foo(void){return 1;}" > conftest.c
7338 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7339 -dynamiclib -Wl,-single_module conftest.c" >&5
7340 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7341 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7343 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7344 lt_cv_apple_cc_single_mod
=yes
7346 cat conftest.err
>&5
7348 rm -rf libconftest.dylib
*
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7353 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7355 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7356 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7357 $as_echo_n "(cached) " >&6
7359 lt_cv_ld_exported_symbols_list
=no
7360 save_LDFLAGS
=$LDFLAGS
7361 echo "_main" > conftest.sym
7362 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7364 /* end confdefs.h. */
7374 if ac_fn_c_try_link
"$LINENO"; then :
7375 lt_cv_ld_exported_symbols_list
=yes
7377 lt_cv_ld_exported_symbols_list
=no
7379 rm -f core conftest.err conftest.
$ac_objext \
7380 conftest
$ac_exeext conftest.
$ac_ext
7381 LDFLAGS
="$save_LDFLAGS"
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7385 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7387 $as_echo_n "checking for -force_load linker flag... " >&6; }
7388 if test "${lt_cv_ld_force_load+set}" = set; then :
7389 $as_echo_n "(cached) " >&6
7391 lt_cv_ld_force_load
=no
7392 cat > conftest.c
<< _LT_EOF
7393 int forced_loaded() { return 2;}
7395 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7396 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7397 echo "$AR cru libconftest.a conftest.o" >&5
7398 $AR cru libconftest.a conftest.o
2>&5
7399 cat > conftest.c
<< _LT_EOF
7400 int main() { return 0;}
7402 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7403 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7405 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7406 lt_cv_ld_force_load
=yes
7408 cat conftest.err
>&5
7410 rm -f conftest.err libconftest.a conftest conftest.c
7411 rm -rf conftest.dSYM
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7415 $as_echo "$lt_cv_ld_force_load" >&6; }
7417 rhapsody
* | darwin1.
[012])
7418 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7420 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7421 darwin
*) # darwin 5.x on
7422 # if running on 10.5 or later, the deployment target defaults
7423 # to the OS version, if on x86, and 10.4, the deployment
7424 # target defaults to 10.4. Don't you love it?
7425 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7426 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7427 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7429 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7431 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7435 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7436 _lt_dar_single_mod
='$single_module'
7438 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7439 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7441 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7443 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7444 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7452 ac_cpp
='$CPP $CPPFLAGS'
7453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7457 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7458 # On Suns, sometimes $CPP names a directory.
7459 if test -n "$CPP" && test -d "$CPP"; then
7462 if test -z "$CPP"; then
7463 if test "${ac_cv_prog_CPP+set}" = set; then :
7464 $as_echo_n "(cached) " >&6
7466 # Double quotes because CPP needs to be expanded
7467 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7470 for ac_c_preproc_warn_flag
in '' yes
7472 # Use a header file that comes with gcc, so configuring glibc
7473 # with a fresh cross-compiler works.
7474 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7475 # <limits.h> exists even on freestanding compilers.
7476 # On the NeXT, cc -E runs the code through the compiler's parser,
7477 # not just through cpp. "Syntax error" is here to catch this case.
7478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7479 /* end confdefs.h. */
7481 # include <limits.h>
7483 # include <assert.h>
7487 if ac_fn_c_try_cpp
"$LINENO"; then :
7490 # Broken: fails on valid input.
7493 rm -f conftest.err conftest.
$ac_ext
7495 # OK, works on sane cases. Now check whether nonexistent headers
7496 # can be detected and how.
7497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7498 /* end confdefs.h. */
7499 #include <ac_nonexistent.h>
7501 if ac_fn_c_try_cpp
"$LINENO"; then :
7502 # Broken: success on invalid input.
7505 # Passes both tests.
7509 rm -f conftest.err conftest.
$ac_ext
7512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7513 rm -f conftest.err conftest.
$ac_ext
7514 if $ac_preproc_ok; then :
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7527 $as_echo "$CPP" >&6; }
7529 for ac_c_preproc_warn_flag
in '' yes
7531 # Use a header file that comes with gcc, so configuring glibc
7532 # with a fresh cross-compiler works.
7533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7534 # <limits.h> exists even on freestanding compilers.
7535 # On the NeXT, cc -E runs the code through the compiler's parser,
7536 # not just through cpp. "Syntax error" is here to catch this case.
7537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7538 /* end confdefs.h. */
7540 # include <limits.h>
7542 # include <assert.h>
7546 if ac_fn_c_try_cpp
"$LINENO"; then :
7549 # Broken: fails on valid input.
7552 rm -f conftest.err conftest.
$ac_ext
7554 # OK, works on sane cases. Now check whether nonexistent headers
7555 # can be detected and how.
7556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7557 /* end confdefs.h. */
7558 #include <ac_nonexistent.h>
7560 if ac_fn_c_try_cpp
"$LINENO"; then :
7561 # Broken: success on invalid input.
7564 # Passes both tests.
7568 rm -f conftest.err conftest.
$ac_ext
7571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7572 rm -f conftest.err conftest.
$ac_ext
7573 if $ac_preproc_ok; then :
7576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7578 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
7579 See \`config.log' for more details." "$LINENO" 5; }
7583 ac_cpp
='$CPP $CPPFLAGS'
7584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7590 $as_echo_n "checking for ANSI C header files... " >&6; }
7591 if test "${ac_cv_header_stdc+set}" = set; then :
7592 $as_echo_n "(cached) " >&6
7594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h. */
7609 if ac_fn_c_try_compile
"$LINENO"; then :
7610 ac_cv_header_stdc
=yes
7612 ac_cv_header_stdc
=no
7614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7616 if test $ac_cv_header_stdc = yes; then
7617 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h. */
7623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7624 $EGREP "memchr" >/dev
/null
2>&1; then :
7627 ac_cv_header_stdc
=no
7633 if test $ac_cv_header_stdc = yes; then
7634 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7636 /* end confdefs.h. */
7640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7641 $EGREP "free" >/dev
/null
2>&1; then :
7644 ac_cv_header_stdc
=no
7650 if test $ac_cv_header_stdc = yes; then
7651 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7652 if test "$cross_compiling" = yes; then :
7655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7656 /* end confdefs.h. */
7659 #if ((' ' & 0x0FF) == 0x020)
7660 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7661 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7663 # define ISLOWER(c) \
7664 (('a' <= (c) && (c) <= 'i') \
7665 || ('j' <= (c) && (c) <= 'r') \
7666 || ('s' <= (c) && (c) <= 'z'))
7667 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7670 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7675 for (i = 0; i < 256; i++)
7676 if (XOR (islower (i), ISLOWER (i))
7677 || toupper (i) != TOUPPER (i))
7682 if ac_fn_c_try_run
"$LINENO"; then :
7685 ac_cv_header_stdc
=no
7687 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7688 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7694 $as_echo "$ac_cv_header_stdc" >&6; }
7695 if test $ac_cv_header_stdc = yes; then
7697 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7701 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7702 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7703 inttypes.h stdint.h unistd.h
7705 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7706 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7708 eval as_val
=\$
$as_ac_Header
7709 if test "x$as_val" = x
""yes; then :
7710 cat >>confdefs.h
<<_ACEOF
7711 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7719 for ac_header
in dlfcn.h
7721 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7723 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7724 cat >>confdefs.h
<<_ACEOF
7725 #define HAVE_DLFCN_H 1
7745 # Check whether --enable-shared was given.
7746 if test "${enable_shared+set}" = set; then :
7747 enableval
=$enable_shared; p
=${PACKAGE-default}
7749 yes) enable_shared
=yes ;;
7750 no
) enable_shared
=no
;;
7753 # Look at the argument we got. We use all the common list separators.
7754 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7755 for pkg
in $enableval; do
7757 if test "X$pkg" = "X$p"; then
7776 # Check whether --enable-static was given.
7777 if test "${enable_static+set}" = set; then :
7778 enableval
=$enable_static; p
=${PACKAGE-default}
7780 yes) enable_static
=yes ;;
7781 no
) enable_static
=no
;;
7784 # Look at the argument we got. We use all the common list separators.
7785 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7786 for pkg
in $enableval; do
7788 if test "X$pkg" = "X$p"; then
7808 # Check whether --with-pic was given.
7809 if test "${with_pic+set}" = set; then :
7810 withval
=$with_pic; pic_mode
="$withval"
7816 test -z "$pic_mode" && pic_mode
=default
7824 # Check whether --enable-fast-install was given.
7825 if test "${enable_fast_install+set}" = set; then :
7826 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7828 yes) enable_fast_install
=yes ;;
7829 no
) enable_fast_install
=no
;;
7831 enable_fast_install
=no
7832 # Look at the argument we got. We use all the common list separators.
7833 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7834 for pkg
in $enableval; do
7836 if test "X$pkg" = "X$p"; then
7837 enable_fast_install
=yes
7844 enable_fast_install
=yes
7857 # This can be used to rebuild libtool when needed
7858 LIBTOOL_DEPS
="$ltmain"
7860 # Always use our own libtool.
7861 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7888 test -z "$LN_S" && LN_S
="ln -s"
7903 if test -n "${ZSH_VERSION+set}" ; then
7904 setopt NO_GLOB_SUBST
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7908 $as_echo_n "checking for objdir... " >&6; }
7909 if test "${lt_cv_objdir+set}" = set; then :
7910 $as_echo_n "(cached) " >&6
7912 rm -f .libs
2>/dev
/null
7913 mkdir .libs
2>/dev
/null
7914 if test -d .libs
; then
7917 # MS-DOS does not allow filenames that begin with a dot.
7920 rmdir .libs
2>/dev
/null
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7923 $as_echo "$lt_cv_objdir" >&6; }
7924 objdir
=$lt_cv_objdir
7930 cat >>confdefs.h
<<_ACEOF
7931 #define LT_OBJDIR "$lt_cv_objdir/"
7939 # AIX sometimes has problems with the GCC collect2 program. For some
7940 # reason, if we set the COLLECT_NAMES environment variable, the problems
7941 # vanish in a puff of smoke.
7942 if test "X${COLLECT_NAMES+set}" != Xset
; then
7944 export COLLECT_NAMES
7951 can_build_shared
=yes
7953 # All known linkers require a `.a' archive for static linking (except MSVC,
7954 # which needs '.lib').
7957 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7960 old_CFLAGS
="$CFLAGS"
7962 # Set sane defaults for various variables
7963 test -z "$CC" && CC
=cc
7964 test -z "$LTCC" && LTCC
=$CC
7965 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7966 test -z "$LD" && LD
=ld
7967 test -z "$ac_objext" && ac_objext
=o
7969 for cc_temp
in $compiler""; do
7971 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7972 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7977 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7980 # Only perform the check for file, if the check method requires it
7981 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7982 case $deplibs_check_method in
7984 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7986 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7987 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7988 $as_echo_n "(cached) " >&6
7992 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7995 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7996 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7997 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7998 for ac_dir
in $ac_dummy; do
8000 test -z "$ac_dir" && ac_dir
=.
8001 if test -f $ac_dir/${ac_tool_prefix}file; then
8002 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8003 if test -n "$file_magic_test_file"; then
8004 case $deplibs_check_method in
8006 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8007 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8008 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8009 $EGREP "$file_magic_regex" > /dev
/null
; then
8014 *** Warning: the command libtool uses to detect shared libraries,
8015 *** $file_magic_cmd, produces output that libtool cannot recognize.
8016 *** The result is that libtool may fail to recognize shared libraries
8017 *** as such. This will affect the creation of libtool libraries that
8018 *** depend on shared libraries, but programs linked with such libtool
8019 *** libraries will work regardless of this problem. Nevertheless, you
8020 *** may want to report the problem to your system manager and/or to
8021 *** bug-libtool@gnu.org
8031 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8036 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8037 if test -n "$MAGIC_CMD"; then
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8039 $as_echo "$MAGIC_CMD" >&6; }
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8042 $as_echo "no" >&6; }
8049 if test -z "$lt_cv_path_MAGIC_CMD"; then
8050 if test -n "$ac_tool_prefix"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8052 $as_echo_n "checking for file... " >&6; }
8053 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8054 $as_echo_n "(cached) " >&6
8058 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8061 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8062 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8063 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8064 for ac_dir
in $ac_dummy; do
8066 test -z "$ac_dir" && ac_dir
=.
8067 if test -f $ac_dir/file; then
8068 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8069 if test -n "$file_magic_test_file"; then
8070 case $deplibs_check_method in
8072 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8073 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8074 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8075 $EGREP "$file_magic_regex" > /dev
/null
; then
8080 *** Warning: the command libtool uses to detect shared libraries,
8081 *** $file_magic_cmd, produces output that libtool cannot recognize.
8082 *** The result is that libtool may fail to recognize shared libraries
8083 *** as such. This will affect the creation of libtool libraries that
8084 *** depend on shared libraries, but programs linked with such libtool
8085 *** libraries will work regardless of this problem. Nevertheless, you
8086 *** may want to report the problem to your system manager and/or to
8087 *** bug-libtool@gnu.org
8097 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8102 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8103 if test -n "$MAGIC_CMD"; then
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8105 $as_echo "$MAGIC_CMD" >&6; }
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8108 $as_echo "no" >&6; }
8121 # Use C for the default configuration in the libtool script
8125 ac_cpp
='$CPP $CPPFLAGS'
8126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8131 # Source file extension for C test sources.
8134 # Object file extension for compiled C test sources.
8138 # Code to be used in simple compile tests
8139 lt_simple_compile_test_code
="int some_variable = 0;"
8141 # Code to be used in simple link tests
8142 lt_simple_link_test_code
='int main(){return(0);}'
8150 # If no C compiler was specified, use CC.
8153 # If no C compiler flags were specified, use CFLAGS.
8154 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8156 # Allow CC to be a program name with arguments.
8159 # Save the default compiler, since it gets overwritten when the other
8160 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8161 compiler_DEFAULT
=$CC
8163 # save warnings/boilerplate of simple test code
8164 ac_outfile
=conftest.
$ac_objext
8165 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8166 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8167 _lt_compiler_boilerplate
=`cat conftest.err`
8170 ac_outfile
=conftest.
$ac_objext
8171 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8172 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8173 _lt_linker_boilerplate
=`cat conftest.err`
8178 ## There is no encapsulation within the following macros, do not change
8179 ## the running order or otherwise move them around unless you know exactly
8180 ## what you are doing...
8181 if test -n "$compiler"; then
8183 lt_prog_compiler_no_builtin_flag
=
8185 if test "$GCC" = yes; then
8186 case $cc_basename in
8188 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8190 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8194 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8195 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8196 $as_echo_n "(cached) " >&6
8198 lt_cv_prog_compiler_rtti_exceptions
=no
8199 ac_outfile
=conftest.
$ac_objext
8200 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8201 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8202 # Insert the option either (1) after the last *FLAGS variable, or
8203 # (2) before a word containing "conftest.", or (3) at the end.
8204 # Note that $ac_compile itself does not contain backslashes and begins
8205 # with a dollar sign (not a hyphen), so the echo should work correctly.
8206 # The option is referenced via a variable to avoid confusing sed.
8207 lt_compile
=`echo "$ac_compile" | $SED \
8208 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8209 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8210 -e 's:$: $lt_compiler_flag:'`
8211 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8212 (eval "$lt_compile" 2>conftest.err
)
8214 cat conftest.err
>&5
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 if (exit $ac_status) && test -s "$ac_outfile"; then
8217 # The compiler can only warn and ignore the option if not recognized
8218 # So say no if there are warnings other than the usual output.
8219 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8220 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8221 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8222 lt_cv_prog_compiler_rtti_exceptions
=yes
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8229 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8231 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8232 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8244 lt_prog_compiler_wl
=
8245 lt_prog_compiler_pic
=
8246 lt_prog_compiler_static
=
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8249 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8251 if test "$GCC" = yes; then
8252 lt_prog_compiler_wl
='-Wl,'
8253 lt_prog_compiler_static
='-static'
8257 # All AIX code is PIC.
8258 if test "$host_cpu" = ia64
; then
8259 # AIX 5 now supports IA64 processor
8260 lt_prog_compiler_static
='-Bstatic'
8262 lt_prog_compiler_pic
='-fPIC'
8268 # see comment about AmigaOS4 .so support
8269 lt_prog_compiler_pic
='-fPIC'
8272 # FIXME: we need at least 68020 code to build shared libraries, but
8273 # adding the `-m68020' flag to GCC prevents building anything better,
8275 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8280 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8281 # PIC is the default for these OSes.
8284 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8285 # This hack is so that the source file can tell whether it is being
8286 # built for inclusion in a dll (and should export symbols for example).
8287 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8288 # (--disable-auto-import) libraries
8289 lt_prog_compiler_pic
='-DDLL_EXPORT'
8292 darwin
* | rhapsody
*)
8293 # PIC is the default on this platform
8294 # Common symbols not allowed in MH_DYLIB files
8295 lt_prog_compiler_pic
='-fno-common'
8299 # PIC is the default for Haiku.
8300 # The "-static" flag exists, but is broken.
8301 lt_prog_compiler_static
=
8305 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8306 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8307 # sets the default TLS model and affects inlining.
8313 lt_prog_compiler_pic
='-fPIC'
8319 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8320 # Instead, we relocate shared libraries at runtime.
8324 # Just because we use GCC doesn't mean we suddenly get shared libraries
8325 # on systems that don't support them.
8326 lt_prog_compiler_can_build_shared
=no
8331 # QNX uses GNU C++, but need to define -shared option too, otherwise
8333 lt_prog_compiler_pic
='-fPIC -shared'
8337 if test -d /usr
/nec
; then
8338 lt_prog_compiler_pic
=-Kconform_pic
8343 lt_prog_compiler_pic
='-fPIC'
8347 case $cc_basename in
8348 nvcc
*) # Cuda Compiler Driver 2.2
8349 lt_prog_compiler_wl
='-Xlinker '
8350 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8354 # PORTME Check for flag to pass linker flags through the system compiler.
8357 lt_prog_compiler_wl
='-Wl,'
8358 if test "$host_cpu" = ia64
; then
8359 # AIX 5 now supports IA64 processor
8360 lt_prog_compiler_static
='-Bstatic'
8362 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8366 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8367 # This hack is so that the source file can tell whether it is being
8368 # built for inclusion in a dll (and should export symbols for example).
8369 lt_prog_compiler_pic
='-DDLL_EXPORT'
8372 hpux9
* | hpux10
* | hpux11
*)
8373 lt_prog_compiler_wl
='-Wl,'
8374 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8381 lt_prog_compiler_pic
='+Z'
8384 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8385 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8388 irix5
* | irix6
* | nonstopux
*)
8389 lt_prog_compiler_wl
='-Wl,'
8390 # PIC (with -KPIC) is the default.
8391 lt_prog_compiler_static
='-non_shared'
8394 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8395 case $cc_basename in
8396 # old Intel for x86_64 which still supported -KPIC.
8398 lt_prog_compiler_wl
='-Wl,'
8399 lt_prog_compiler_pic
='-KPIC'
8400 lt_prog_compiler_static
='-static'
8402 # icc used to be incompatible with GCC.
8403 # ICC 10 doesn't accept -KPIC any more.
8405 lt_prog_compiler_wl
='-Wl,'
8406 lt_prog_compiler_pic
='-fPIC'
8407 lt_prog_compiler_static
='-static'
8409 # Lahey Fortran 8.1.
8411 lt_prog_compiler_wl
='-Wl,'
8412 lt_prog_compiler_pic
='--shared'
8413 lt_prog_compiler_static
='--static'
8415 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8416 # Portland Group compilers (*not* the Pentium gcc compiler,
8417 # which looks to be a dead project)
8418 lt_prog_compiler_wl
='-Wl,'
8419 lt_prog_compiler_pic
='-fpic'
8420 lt_prog_compiler_static
='-Bstatic'
8423 lt_prog_compiler_wl
='-Wl,'
8424 # All Alpha code is PIC.
8425 lt_prog_compiler_static
='-non_shared'
8427 xl
* | bgxl
* | bgf
* | mpixl
*)
8428 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8429 lt_prog_compiler_wl
='-Wl,'
8430 lt_prog_compiler_pic
='-qpic'
8431 lt_prog_compiler_static
='-qstaticlink'
8434 case `$CC -V 2>&1 | sed 5q` in
8435 *Sun\ F
* |
*Sun
*Fortran
*)
8436 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8437 lt_prog_compiler_pic
='-KPIC'
8438 lt_prog_compiler_static
='-Bstatic'
8439 lt_prog_compiler_wl
=''
8443 lt_prog_compiler_pic
='-KPIC'
8444 lt_prog_compiler_static
='-Bstatic'
8445 lt_prog_compiler_wl
='-Wl,'
8453 lt_prog_compiler_pic
='-KPIC'
8454 lt_prog_compiler_static
='-Bstatic'
8458 # QNX uses GNU C++, but need to define -shared option too, otherwise
8460 lt_prog_compiler_pic
='-fPIC -shared'
8463 osf3
* | osf4
* | osf5
*)
8464 lt_prog_compiler_wl
='-Wl,'
8465 # All OSF/1 code is PIC.
8466 lt_prog_compiler_static
='-non_shared'
8470 lt_prog_compiler_static
='-non_shared'
8474 lt_prog_compiler_pic
='-KPIC'
8475 lt_prog_compiler_static
='-Bstatic'
8476 case $cc_basename in
8478 lt_prog_compiler_wl
='-Qoption ld ';;
8480 lt_prog_compiler_wl
='-Wl,';;
8485 lt_prog_compiler_wl
='-Qoption ld '
8486 lt_prog_compiler_pic
='-PIC'
8487 lt_prog_compiler_static
='-Bstatic'
8490 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8491 lt_prog_compiler_wl
='-Wl,'
8492 lt_prog_compiler_pic
='-KPIC'
8493 lt_prog_compiler_static
='-Bstatic'
8497 if test -d /usr
/nec
;then
8498 lt_prog_compiler_pic
='-Kconform_pic'
8499 lt_prog_compiler_static
='-Bstatic'
8503 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8504 lt_prog_compiler_wl
='-Wl,'
8505 lt_prog_compiler_pic
='-KPIC'
8506 lt_prog_compiler_static
='-Bstatic'
8510 lt_prog_compiler_wl
='-Wl,'
8511 lt_prog_compiler_can_build_shared
=no
8515 lt_prog_compiler_pic
='-pic'
8516 lt_prog_compiler_static
='-Bstatic'
8520 lt_prog_compiler_can_build_shared
=no
8526 # For platforms which do not support PIC, -DPIC is meaningless:
8528 lt_prog_compiler_pic
=
8531 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8535 $as_echo "$lt_prog_compiler_pic" >&6; }
8543 # Check to make sure the PIC flag actually works.
8545 if test -n "$lt_prog_compiler_pic"; then
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8547 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8548 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8549 $as_echo_n "(cached) " >&6
8551 lt_cv_prog_compiler_pic_works
=no
8552 ac_outfile
=conftest.
$ac_objext
8553 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8554 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8555 # Insert the option either (1) after the last *FLAGS variable, or
8556 # (2) before a word containing "conftest.", or (3) at the end.
8557 # Note that $ac_compile itself does not contain backslashes and begins
8558 # with a dollar sign (not a hyphen), so the echo should work correctly.
8559 # The option is referenced via a variable to avoid confusing sed.
8560 lt_compile
=`echo "$ac_compile" | $SED \
8561 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8562 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8563 -e 's:$: $lt_compiler_flag:'`
8564 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8565 (eval "$lt_compile" 2>conftest.err
)
8567 cat conftest.err
>&5
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 if (exit $ac_status) && test -s "$ac_outfile"; then
8570 # The compiler can only warn and ignore the option if not recognized
8571 # So say no if there are warnings other than the usual output.
8572 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8573 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8574 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8575 lt_cv_prog_compiler_pic_works
=yes
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8582 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8584 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8585 case $lt_prog_compiler_pic in
8587 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8590 lt_prog_compiler_pic
=
8591 lt_prog_compiler_can_build_shared
=no
8602 # Check to make sure the static flag actually works.
8604 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8606 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8607 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8608 $as_echo_n "(cached) " >&6
8610 lt_cv_prog_compiler_static_works
=no
8611 save_LDFLAGS
="$LDFLAGS"
8612 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8613 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8614 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8615 # The linker can only warn and ignore the option if not recognized
8616 # So say no if there are warnings
8617 if test -s conftest.err
; then
8618 # Append any errors to the config.log.
8619 cat conftest.err
1>&5
8620 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8621 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8622 if diff conftest.exp conftest.er2
>/dev
/null
; then
8623 lt_cv_prog_compiler_static_works
=yes
8626 lt_cv_prog_compiler_static_works
=yes
8630 LDFLAGS
="$save_LDFLAGS"
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8634 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8636 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8639 lt_prog_compiler_static
=
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8649 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8650 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8651 $as_echo_n "(cached) " >&6
8653 lt_cv_prog_compiler_c_o
=no
8654 $RM -r conftest
2>/dev
/null
8658 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8660 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8661 # Insert the option either (1) after the last *FLAGS variable, or
8662 # (2) before a word containing "conftest.", or (3) at the end.
8663 # Note that $ac_compile itself does not contain backslashes and begins
8664 # with a dollar sign (not a hyphen), so the echo should work correctly.
8665 lt_compile
=`echo "$ac_compile" | $SED \
8666 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8667 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8668 -e 's:$: $lt_compiler_flag:'`
8669 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8670 (eval "$lt_compile" 2>out
/conftest.err
)
8672 cat out
/conftest.err
>&5
8673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8676 # The compiler can only warn and ignore the option if not recognized
8677 # So say no if there are warnings
8678 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8679 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8680 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8681 lt_cv_prog_compiler_c_o
=yes
8686 # SGI C++ compiler will create directory out/ii_files/ for
8687 # template instantiation
8688 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8689 $RM out
/* && rmdir out
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8696 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8704 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8705 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8706 $as_echo_n "(cached) " >&6
8708 lt_cv_prog_compiler_c_o
=no
8709 $RM -r conftest
2>/dev
/null
8713 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8715 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8716 # Insert the option either (1) after the last *FLAGS variable, or
8717 # (2) before a word containing "conftest.", or (3) at the end.
8718 # Note that $ac_compile itself does not contain backslashes and begins
8719 # with a dollar sign (not a hyphen), so the echo should work correctly.
8720 lt_compile
=`echo "$ac_compile" | $SED \
8721 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8722 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8723 -e 's:$: $lt_compiler_flag:'`
8724 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8725 (eval "$lt_compile" 2>out
/conftest.err
)
8727 cat out
/conftest.err
>&5
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8731 # The compiler can only warn and ignore the option if not recognized
8732 # So say no if there are warnings
8733 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8734 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8735 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8736 lt_cv_prog_compiler_c_o
=yes
8741 # SGI C++ compiler will create directory out/ii_files/ for
8742 # template instantiation
8743 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8744 $RM out
/* && rmdir out
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8751 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8756 hard_links
="nottested"
8757 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8758 # do not overwrite the value of need_locks provided by the user
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8760 $as_echo_n "checking if we can lock with hard links... " >&6; }
8763 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8765 ln conftest.a conftest.b
2>&5 || hard_links
=no
8766 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8768 $as_echo "$hard_links" >&6; }
8769 if test "$hard_links" = no
; then
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8771 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8784 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8787 allow_undefined_flag
=
8788 always_export_symbols
=no
8790 archive_expsym_cmds
=
8791 compiler_needs_object
=no
8792 enable_shared_with_static_runtimes
=no
8793 export_dynamic_flag_spec
=
8794 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8795 hardcode_automatic
=no
8797 hardcode_direct_absolute
=no
8798 hardcode_libdir_flag_spec
=
8799 hardcode_libdir_flag_spec_ld
=
8800 hardcode_libdir_separator
=
8802 hardcode_shlibpath_var
=unsupported
8804 link_all_deplibs
=unknown
8807 old_archive_from_new_cmds
=
8808 old_archive_from_expsyms_cmds
=
8809 thread_safe_flag_spec
=
8810 whole_archive_flag_spec
=
8811 # include_expsyms should be a list of space-separated symbols to be *always*
8812 # included in the symbol list
8814 # exclude_expsyms can be an extended regexp of symbols to exclude
8815 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8816 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8817 # as well as any symbol that contains `d'.
8818 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8819 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8820 # platforms (ab)use it in PIC code, but their linkers get confused if
8821 # the symbol is explicitly referenced. Since portable code cannot
8822 # rely on this symbol name, it's probably fine to never include it in
8823 # preloaded symbol tables.
8824 # Exclude shared library initialization/finalization symbols.
8825 extract_expsyms_cmds
=
8828 cygwin
* | mingw
* | pw32
* | cegcc
*)
8829 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8830 # When not using gcc, we currently assume that we are using
8831 # Microsoft Visual C++.
8832 if test "$GCC" != yes; then
8837 # we just hope/assume this is gcc and not c89 (= MSVC++)
8847 # On some targets, GNU ld is compatible enough with the native linker
8848 # that we're better off using the native interface for both.
8849 lt_use_gnu_ld_interface
=no
8850 if test "$with_gnu_ld" = yes; then
8853 # The AIX port of GNU ld has always aspired to compatibility
8854 # with the native linker. However, as the warning in the GNU ld
8855 # block says, versions before 2.19.5* couldn't really create working
8856 # shared libraries, regardless of the interface used.
8857 case `$LD -v 2>&1` in
8858 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8859 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8860 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8862 lt_use_gnu_ld_interface
=yes
8867 lt_use_gnu_ld_interface
=yes
8872 if test "$lt_use_gnu_ld_interface" = yes; then
8873 # If archive_cmds runs LD, not CC, wlarc should be empty
8876 # Set some defaults for GNU ld with shared library support. These
8877 # are reset later if shared libraries are not supported. Putting them
8878 # here allows them to be overridden if necessary.
8879 runpath_var
=LD_RUN_PATH
8880 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8881 export_dynamic_flag_spec
='${wl}--export-dynamic'
8882 # ancient GNU ld didn't support --whole-archive et. al.
8883 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8884 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8886 whole_archive_flag_spec
=
8888 supports_anon_versioning
=no
8889 case `$LD -v 2>&1` in
8890 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8891 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8892 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8893 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8894 *\
2.11.
*) ;; # other 2.11 versions
8895 *) supports_anon_versioning
=yes ;;
8898 # See if GNU ld supports shared libraries.
8901 # On AIX/PPC, the GNU linker is very broken
8902 if test "$host_cpu" != ia64
; then
8906 *** Warning: the GNU linker, at least up to release 2.19, is reported
8907 *** to be unable to reliably create shared libraries on AIX.
8908 *** Therefore, libtool is disabling shared libraries support. If you
8909 *** really care for shared libraries, you may want to install binutils
8910 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8911 *** You will then need to restart the configuration process.
8920 # see comment about AmigaOS4 .so support
8921 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8922 archive_expsym_cmds
=''
8925 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)'
8926 hardcode_libdir_flag_spec
='-L$libdir'
8927 hardcode_minus_L
=yes
8933 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8934 allow_undefined_flag
=unsupported
8935 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8936 # support --undefined. This deserves some investigation. FIXME
8937 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8943 cygwin
* | mingw
* | pw32
* | cegcc
*)
8944 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8945 # as there is no search path for DLLs.
8946 hardcode_libdir_flag_spec
='-L$libdir'
8947 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8948 allow_undefined_flag
=unsupported
8949 always_export_symbols
=no
8950 enable_shared_with_static_runtimes
=yes
8951 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8953 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8954 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8955 # If the export-symbols file already is a .def file (1st line
8956 # is EXPORTS), use it as is; otherwise, prepend...
8957 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8958 cp $export_symbols $output_objdir/$soname.def;
8960 echo EXPORTS > $output_objdir/$soname.def;
8961 cat $export_symbols >> $output_objdir/$soname.def;
8963 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8970 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8971 link_all_deplibs
=yes
8976 hardcode_shlibpath_var
=no
8977 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8978 export_dynamic_flag_spec
='${wl}-E'
8979 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8980 # Instead, shared libraries are loaded at an image base (0x10000000 by
8981 # default) and relocated if they conflict, which is a slow very memory
8982 # consuming and fragmenting process. To avoid this, we pick a random,
8983 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8984 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8985 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8986 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'
8989 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8991 if test "$host_os" = linux-dietlibc
; then
8992 case $cc_basename in
8993 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8996 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8997 && test "$tmp_diet" = no
8999 tmp_addflag
=' $pic_flag'
9000 tmp_sharedflag
='-shared'
9001 case $cc_basename,$host_cpu in
9002 pgcc
*) # Portland Group C compiler
9003 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'
9004 tmp_addflag
=' $pic_flag'
9006 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9007 # Portland Group f77 and f90 compilers
9008 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'
9009 tmp_addflag
=' $pic_flag -Mnomain' ;;
9010 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9011 tmp_addflag
=' -i_dynamic' ;;
9012 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9013 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9014 ifc
* | ifort
*) # Intel Fortran compiler
9015 tmp_addflag
=' -nofor_main' ;;
9016 lf95
*) # Lahey Fortran 8.1
9017 whole_archive_flag_spec
=
9018 tmp_sharedflag
='--shared' ;;
9019 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9020 tmp_sharedflag
='-qmkshrobj'
9022 nvcc
*) # Cuda Compiler Driver 2.2
9023 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'
9024 compiler_needs_object
=yes
9027 case `$CC -V 2>&1 | sed 5q` in
9028 *Sun\ C
*) # Sun C 5.9
9029 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'
9030 compiler_needs_object
=yes
9031 tmp_sharedflag
='-G' ;;
9032 *Sun\ F
*) # Sun Fortran 8.3
9033 tmp_sharedflag
='-G' ;;
9035 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9037 if test "x$supports_anon_versioning" = xyes
; then
9038 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9039 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9040 echo "local: *; };" >> $output_objdir/$libname.ver~
9041 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9044 case $cc_basename in
9045 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9046 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9047 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9048 hardcode_libdir_flag_spec
=
9049 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9050 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9051 if test "x$supports_anon_versioning" = xyes
; then
9052 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9053 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9054 echo "local: *; };" >> $output_objdir/$libname.ver~
9055 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9065 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9066 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9069 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9070 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9075 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9079 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9080 *** create shared libraries on Solaris systems. Therefore, libtool
9081 *** is disabling shared libraries support. We urge you to upgrade GNU
9082 *** binutils to release 2.9.1 or newer. Another option is to modify
9083 *** your PATH or compiler configuration so that the native linker is
9084 *** used, and then restart.
9087 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9088 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9089 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9095 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9096 case `$LD -v 2>&1` in
9097 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9101 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9102 *** reliably create shared libraries on SCO systems. Therefore, libtool
9103 *** is disabling shared libraries support. We urge you to upgrade GNU
9104 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9105 *** your PATH or compiler configuration so that the native linker is
9106 *** used, and then restart.
9111 # For security reasons, it is highly recommended that you always
9112 # use absolute paths for naming shared libraries, and exclude the
9113 # DT_RUNPATH tag from executables and libraries. But doing so
9114 # requires that you compile everything twice, which is a pain.
9115 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9116 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9117 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9118 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9127 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9130 hardcode_shlibpath_var
=no
9134 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9135 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9136 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9143 if test "$ld_shlibs" = no
; then
9145 hardcode_libdir_flag_spec
=
9146 export_dynamic_flag_spec
=
9147 whole_archive_flag_spec
=
9150 # PORTME fill in a description of your system's linker (not GNU ld)
9153 allow_undefined_flag
=unsupported
9154 always_export_symbols
=yes
9155 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'
9156 # Note: this linker hardcodes the directories in LIBPATH if there
9157 # are no directories specified by -L.
9158 hardcode_minus_L
=yes
9159 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9160 # Neither direct hardcoding nor static linking is supported with a
9162 hardcode_direct
=unsupported
9167 if test "$host_cpu" = ia64
; then
9168 # On IA64, the linker does run time linking by default, so we don't
9169 # have to do anything special.
9170 aix_use_runtimelinking
=no
9171 exp_sym_flag
='-Bexport'
9174 # If we're using GNU nm, then we don't want the "-C" option.
9175 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9176 # Also, AIX nm treats weak defined symbols like other global
9177 # defined symbols, whereas GNU nm marks them as "W".
9178 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9179 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'
9181 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9183 aix_use_runtimelinking
=no
9185 # Test if we are trying to use run time linking or normal
9186 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9187 # need to do runtime linking.
9188 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9189 for ld_flag
in $LDFLAGS; do
9190 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9191 aix_use_runtimelinking
=yes
9198 exp_sym_flag
='-bexport'
9199 no_entry_flag
='-bnoentry'
9202 # When large executables or shared objects are built, AIX ld can
9203 # have problems creating the table of contents. If linking a library
9204 # or program results in "error TOC overflow" add -mminimal-toc to
9205 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9206 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9210 hardcode_direct_absolute
=yes
9211 hardcode_libdir_separator
=':'
9212 link_all_deplibs
=yes
9213 file_list_spec
='${wl}-f,'
9215 if test "$GCC" = yes; then
9216 case $host_os in aix4.
[012]|aix4.
[012].
*)
9217 # We only want to do this on AIX 4.2 and lower, the check
9218 # below for broken collect2 doesn't work under 4.3+
9219 collect2name
=`${CC} -print-prog-name=collect2`
9220 if test -f "$collect2name" &&
9221 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9223 # We have reworked collect2
9226 # We have old collect2
9227 hardcode_direct
=unsupported
9228 # It fails to find uninstalled libraries when the uninstalled
9229 # path is not listed in the libpath. Setting hardcode_minus_L
9230 # to unsupported forces relinking
9231 hardcode_minus_L
=yes
9232 hardcode_libdir_flag_spec
='-L$libdir'
9233 hardcode_libdir_separator
=
9237 shared_flag
='-shared'
9238 if test "$aix_use_runtimelinking" = yes; then
9239 shared_flag
="$shared_flag "'${wl}-G'
9243 if test "$host_cpu" = ia64
; then
9244 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9245 # chokes on -Wl,-G. The following line is correct:
9248 if test "$aix_use_runtimelinking" = yes; then
9249 shared_flag
='${wl}-G'
9251 shared_flag
='${wl}-bM:SRE'
9256 export_dynamic_flag_spec
='${wl}-bexpall'
9257 # It seems that -bexpall does not export symbols beginning with
9258 # underscore (_), so it is better to generate a list of symbols to export.
9259 always_export_symbols
=yes
9260 if test "$aix_use_runtimelinking" = yes; then
9261 # Warning - without using the other runtime loading flags (-brtl),
9262 # -berok will link without error, but may produce a broken library.
9263 allow_undefined_flag
='-berok'
9264 # Determine the default libpath from the value encoded in an
9266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9267 /* end confdefs.h. */
9277 if ac_fn_c_try_link
"$LINENO"; then :
9279 lt_aix_libpath_sed
='
9280 /Import File Strings/,/^$/ {
9286 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9287 # Check for a 64-bit object if we didn't find anything.
9288 if test -z "$aix_libpath"; then
9289 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9292 rm -f core conftest.err conftest.
$ac_objext \
9293 conftest
$ac_exeext conftest.
$ac_ext
9294 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9296 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9297 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"
9299 if test "$host_cpu" = ia64
; then
9300 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9301 allow_undefined_flag
="-z nodefs"
9302 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"
9304 # Determine the default libpath from the value encoded in an
9306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9307 /* end confdefs.h. */
9317 if ac_fn_c_try_link
"$LINENO"; then :
9319 lt_aix_libpath_sed
='
9320 /Import File Strings/,/^$/ {
9326 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9327 # Check for a 64-bit object if we didn't find anything.
9328 if test -z "$aix_libpath"; then
9329 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9332 rm -f core conftest.err conftest.
$ac_objext \
9333 conftest
$ac_exeext conftest.
$ac_ext
9334 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9336 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9337 # Warning - without using the other run time loading flags,
9338 # -berok will link without error, but may produce a broken library.
9339 no_undefined_flag
=' ${wl}-bernotok'
9340 allow_undefined_flag
=' ${wl}-berok'
9341 if test "$with_gnu_ld" = yes; then
9342 # We only use this code for GNU lds that support --whole-archive.
9343 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9345 # Exported symbols can be pulled into shared objects from archives
9346 whole_archive_flag_spec
='$convenience'
9348 archive_cmds_need_lc
=yes
9349 # This is similar to how AIX traditionally builds its shared libraries.
9350 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'
9358 # see comment about AmigaOS4 .so support
9359 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9360 archive_expsym_cmds
=''
9363 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)'
9364 hardcode_libdir_flag_spec
='-L$libdir'
9365 hardcode_minus_L
=yes
9371 export_dynamic_flag_spec
=-rdynamic
9374 cygwin
* | mingw
* | pw32
* | cegcc
*)
9375 # When not using gcc, we currently assume that we are using
9376 # Microsoft Visual C++.
9377 # hardcode_libdir_flag_spec is actually meaningless, as there is
9378 # no search path for DLLs.
9379 hardcode_libdir_flag_spec
=' '
9380 allow_undefined_flag
=unsupported
9381 # Tell ltmain to make .lib files, not .a files.
9383 # Tell ltmain to make .dll files, not .so files.
9385 # FIXME: Setting linknames here is a bad hack.
9386 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9387 # The linker will automatically build a .lib file if we build a DLL.
9388 old_archive_from_new_cmds
='true'
9389 # FIXME: Should let the user specify the lib program.
9390 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9391 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9392 enable_shared_with_static_runtimes
=yes
9395 darwin
* | rhapsody
*)
9398 archive_cmds_need_lc
=no
9400 hardcode_automatic
=yes
9401 hardcode_shlibpath_var
=unsupported
9402 if test "$lt_cv_ld_force_load" = "yes"; then
9403 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\"`'
9405 whole_archive_flag_spec
=''
9407 link_all_deplibs
=yes
9408 allow_undefined_flag
="$_lt_dar_allow_undefined"
9409 case $cc_basename in
9410 ifort
*) _lt_dar_can_shared
=yes ;;
9411 *) _lt_dar_can_shared
=$GCC ;;
9413 if test "$_lt_dar_can_shared" = "yes"; then
9414 output_verbose_link_cmd
=func_echo_all
9415 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9416 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9417 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}"
9418 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}"
9427 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9428 hardcode_libdir_flag_spec
='-L$libdir'
9429 hardcode_shlibpath_var
=no
9432 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9433 # support. Future versions do this automatically, but an explicit c++rt0.o
9434 # does not break anything, and helps significantly (at the cost of a little
9437 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9438 hardcode_libdir_flag_spec
='-R$libdir'
9440 hardcode_shlibpath_var
=no
9443 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9445 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9447 hardcode_minus_L
=yes
9448 hardcode_shlibpath_var
=no
9451 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9452 freebsd
* | dragonfly
*)
9453 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9454 hardcode_libdir_flag_spec
='-R$libdir'
9456 hardcode_shlibpath_var
=no
9460 if test "$GCC" = yes; then
9461 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'
9463 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'
9465 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9466 hardcode_libdir_separator
=:
9469 # hardcode_minus_L: Not really in the search PATH,
9470 # but as the default location of the library.
9471 hardcode_minus_L
=yes
9472 export_dynamic_flag_spec
='${wl}-E'
9476 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9477 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9479 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9481 if test "$with_gnu_ld" = no
; then
9482 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9483 hardcode_libdir_flag_spec_ld
='+b $libdir'
9484 hardcode_libdir_separator
=:
9486 hardcode_direct_absolute
=yes
9487 export_dynamic_flag_spec
='${wl}-E'
9488 # hardcode_minus_L: Not really in the search PATH,
9489 # but as the default location of the library.
9490 hardcode_minus_L
=yes
9495 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9498 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9501 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9504 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9510 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9513 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9517 # Older versions of the 11.00 compiler do not understand -b yet
9518 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9520 $as_echo_n "checking if $CC understands -b... " >&6; }
9521 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9522 $as_echo_n "(cached) " >&6
9524 lt_cv_prog_compiler__b
=no
9525 save_LDFLAGS
="$LDFLAGS"
9526 LDFLAGS
="$LDFLAGS -b"
9527 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9528 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9529 # The linker can only warn and ignore the option if not recognized
9530 # So say no if there are warnings
9531 if test -s conftest.err
; then
9532 # Append any errors to the config.log.
9533 cat conftest.err
1>&5
9534 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9535 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9536 if diff conftest.exp conftest.er2
>/dev
/null
; then
9537 lt_cv_prog_compiler__b
=yes
9540 lt_cv_prog_compiler__b
=yes
9544 LDFLAGS
="$save_LDFLAGS"
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9548 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9550 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9551 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9553 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9559 if test "$with_gnu_ld" = no
; then
9560 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9561 hardcode_libdir_separator
=:
9566 hardcode_shlibpath_var
=no
9570 hardcode_direct_absolute
=yes
9571 export_dynamic_flag_spec
='${wl}-E'
9573 # hardcode_minus_L: Not really in the search PATH,
9574 # but as the default location of the library.
9575 hardcode_minus_L
=yes
9581 irix5
* | irix6
* | nonstopux
*)
9582 if test "$GCC" = yes; then
9583 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'
9584 # Try to use the -exported_symbol ld option, if it does not
9585 # work, assume that -exports_file does not work either and
9586 # implicitly export all symbols.
9587 save_LDFLAGS
="$LDFLAGS"
9588 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9593 if ac_fn_c_try_link
"$LINENO"; then :
9594 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'
9597 rm -f core conftest.err conftest.
$ac_objext \
9598 conftest
$ac_exeext conftest.
$ac_ext
9599 LDFLAGS
="$save_LDFLAGS"
9601 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'
9602 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'
9604 archive_cmds_need_lc
='no'
9605 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9606 hardcode_libdir_separator
=:
9608 link_all_deplibs
=yes
9612 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9613 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9615 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9617 hardcode_libdir_flag_spec
='-R$libdir'
9619 hardcode_shlibpath_var
=no
9623 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9625 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9626 hardcode_libdir_separator
=:
9627 hardcode_shlibpath_var
=no
9634 if test -f /usr
/libexec
/ld.so
; then
9636 hardcode_shlibpath_var
=no
9637 hardcode_direct_absolute
=yes
9638 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9639 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9640 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9641 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9642 export_dynamic_flag_spec
='${wl}-E'
9645 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9646 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9647 hardcode_libdir_flag_spec
='-R$libdir'
9650 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9651 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9661 hardcode_libdir_flag_spec
='-L$libdir'
9662 hardcode_minus_L
=yes
9663 allow_undefined_flag
=unsupported
9664 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'
9665 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9669 if test "$GCC" = yes; then
9670 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9671 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'
9673 allow_undefined_flag
=' -expect_unresolved \*'
9674 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'
9676 archive_cmds_need_lc
='no'
9677 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9678 hardcode_libdir_separator
=:
9681 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9682 if test "$GCC" = yes; then
9683 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9684 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'
9685 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9687 allow_undefined_flag
=' -expect_unresolved \*'
9688 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'
9689 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~
9690 $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'
9692 # Both c and cxx compiler support -rpath directly
9693 hardcode_libdir_flag_spec
='-rpath $libdir'
9695 archive_cmds_need_lc
='no'
9696 hardcode_libdir_separator
=:
9700 no_undefined_flag
=' -z defs'
9701 if test "$GCC" = yes; then
9703 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9704 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9705 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9707 case `$CC -V 2>&1` in
9710 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9711 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9712 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9716 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9717 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9718 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9722 hardcode_libdir_flag_spec
='-R$libdir'
9723 hardcode_shlibpath_var
=no
9725 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9727 # The compiler driver will combine and reorder linker options,
9728 # but understands `-z linker_flag'. GCC discards it without `$wl',
9729 # but is careful enough not to reorder.
9730 # Supported since Solaris 2.6 (maybe 2.5.1?)
9731 if test "$GCC" = yes; then
9732 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9734 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9738 link_all_deplibs
=yes
9742 if test "x$host_vendor" = xsequent
; then
9743 # Use $CC to link under sequent, because it throws in some extra .o
9744 # files that make .init and .fini sections work.
9745 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9747 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9749 hardcode_libdir_flag_spec
='-L$libdir'
9751 hardcode_minus_L
=yes
9752 hardcode_shlibpath_var
=no
9756 case $host_vendor in
9758 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9759 hardcode_direct
=yes # is this really true???
9762 ## LD is ld it makes a PLAMLIB
9763 ## CC just makes a GrossModule.
9764 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9765 reload_cmds
='$CC -r -o $output$reload_objs'
9769 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9770 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9773 runpath_var
='LD_RUN_PATH'
9774 hardcode_shlibpath_var
=no
9778 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9779 hardcode_shlibpath_var
=no
9780 export_dynamic_flag_spec
='-Bexport'
9784 if test -d /usr
/nec
; then
9785 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9786 hardcode_shlibpath_var
=no
9787 runpath_var
=LD_RUN_PATH
9788 hardcode_runpath_var
=yes
9793 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9794 no_undefined_flag
='${wl}-z,text'
9795 archive_cmds_need_lc
=no
9796 hardcode_shlibpath_var
=no
9797 runpath_var
='LD_RUN_PATH'
9799 if test "$GCC" = yes; then
9800 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9801 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9803 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9804 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9808 sysv5
* | sco3.2v5
* | sco5v6
*)
9809 # Note: We can NOT use -z defs as we might desire, because we do not
9810 # link with -lc, and that would cause any symbols used from libc to
9811 # always be unresolved, which means just about no library would
9812 # ever link correctly. If we're not using GNU ld we use -z text
9813 # though, which does catch some bad symbols but isn't as heavy-handed
9815 no_undefined_flag
='${wl}-z,text'
9816 allow_undefined_flag
='${wl}-z,nodefs'
9817 archive_cmds_need_lc
=no
9818 hardcode_shlibpath_var
=no
9819 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9820 hardcode_libdir_separator
=':'
9821 link_all_deplibs
=yes
9822 export_dynamic_flag_spec
='${wl}-Bexport'
9823 runpath_var
='LD_RUN_PATH'
9825 if test "$GCC" = yes; then
9826 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9827 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9829 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9830 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9835 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9836 hardcode_libdir_flag_spec
='-L$libdir'
9837 hardcode_shlibpath_var
=no
9845 if test x
$host_vendor = xsni
; then
9847 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9848 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9855 $as_echo "$ld_shlibs" >&6; }
9856 test "$ld_shlibs" = no
&& can_build_shared
=no
9858 with_gnu_ld
=$with_gnu_ld
9875 # Do we need to explicitly link libc?
9877 case "x$archive_cmds_need_lc" in
9879 # Assume -lc should be added
9880 archive_cmds_need_lc
=yes
9882 if test "$enable_shared" = yes && test "$GCC" = yes; then
9883 case $archive_cmds in
9885 # FIXME: we may have to deal with multi-command sequences.
9888 # Test whether the compiler implicitly links with -lc since on some
9889 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9890 # to ld, don't add -lc before -lgcc.
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9892 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9893 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9894 $as_echo_n "(cached) " >&6
9897 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9899 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9900 (eval $ac_compile) 2>&5
9902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9903 test $ac_status = 0; } 2>conftest.err
; then
9906 libobjs
=conftest.
$ac_objext
9908 wl
=$lt_prog_compiler_wl
9909 pic_flag
=$lt_prog_compiler_pic
9915 lt_save_allow_undefined_flag
=$allow_undefined_flag
9916 allow_undefined_flag
=
9917 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9918 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9921 test $ac_status = 0; }
9923 lt_cv_archive_cmds_need_lc
=no
9925 lt_cv_archive_cmds_need_lc
=yes
9927 allow_undefined_flag
=$lt_save_allow_undefined_flag
9929 cat conftest.err
1>&5
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9935 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9936 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10100 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10102 if test "$GCC" = yes; then
10104 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10105 *) lt_awk_arg
="/^libraries:/" ;;
10108 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10109 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10111 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10112 case $lt_search_path_spec in
10114 # if the path contains ";" then we assume it to be the separator
10115 # otherwise default to the standard path separator (i.e. ":") - it is
10116 # assumed that no part of a normal pathname contains ";" but that should
10117 # okay in the real world where ";" in dirpaths is itself problematic.
10118 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10121 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10124 # Ok, now we have the path, separated by spaces, we can step through it
10125 # and add multilib dir if necessary.
10126 lt_tmp_lt_search_path_spec
=
10127 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10128 for lt_sys_path
in $lt_search_path_spec; do
10129 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10130 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10132 test -d "$lt_sys_path" && \
10133 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10136 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10137 BEGIN {RS=" "; FS="/|\n";} {
10140 for (lt_i = NF; lt_i > 0; lt_i--) {
10141 if ($lt_i != "" && $lt_i != ".") {
10142 if ($lt_i == "..") {
10145 if (lt_count == 0) {
10146 lt_foo="/" $lt_i lt_foo;
10153 if (lt_foo != "") { lt_freq[lt_foo]++; }
10154 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10156 # AWK program above erroneously prepends '/' to C:/dos/paths
10159 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10160 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10162 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10164 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10166 library_names_spec
=
10167 libname_spec
='lib$name'
10171 postuninstall_cmds
=
10175 shlibpath_overrides_runpath
=unknown
10177 dynamic_linker
="$host_os ld.so"
10178 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10179 need_lib_prefix
=unknown
10180 hardcode_into_libs
=no
10182 # when you set need_version to no, make sure it does not cause -set_version
10183 # flags to be left without arguments
10184 need_version
=unknown
10189 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10190 shlibpath_var
=LIBPATH
10192 # AIX 3 has no versioning support, so we append a major version to the name.
10193 soname_spec
='${libname}${release}${shared_ext}$major'
10200 hardcode_into_libs
=yes
10201 if test "$host_cpu" = ia64
; then
10202 # AIX 5 supports IA64
10203 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10204 shlibpath_var
=LD_LIBRARY_PATH
10206 # With GCC up to 2.95.x, collect2 would create an import file
10207 # for dependence libraries. The import file would start with
10208 # the line `#! .'. This would cause the generated library to
10209 # depend on `.', always an invalid library. This was fixed in
10210 # development snapshots of GCC prior to 3.0.
10212 aix4 | aix4.
[01] | aix4.
[01].
*)
10213 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10215 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10218 can_build_shared
=no
10222 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10223 # soname into executable. Probably we can add versioning support to
10224 # collect2, so additional links can be useful in future.
10225 if test "$aix_use_runtimelinking" = yes; then
10226 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10227 # instead of lib<name>.a to let people know that these are not
10228 # typical AIX shared libraries.
10229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10231 # We preserve .a as extension for shared libraries through AIX4.2
10232 # and later when we are not doing run time linking.
10233 library_names_spec
='${libname}${release}.a $libname.a'
10234 soname_spec
='${libname}${release}${shared_ext}$major'
10236 shlibpath_var
=LIBPATH
10243 # Since July 2007 AmigaOS4 officially supports .so libraries.
10244 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10248 library_names_spec
='$libname.ixlibrary $libname.a'
10249 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10250 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'
10256 library_names_spec
='${libname}${shared_ext}'
10257 dynamic_linker
="$host_os ld.so"
10258 shlibpath_var
=LIBRARY_PATH
10264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10265 soname_spec
='${libname}${release}${shared_ext}$major'
10266 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10267 shlibpath_var
=LD_LIBRARY_PATH
10268 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10269 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10270 # the default ld.so.conf also contains /usr/contrib/lib and
10271 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10272 # libtool to hard-code these into programs
10275 cygwin
* | mingw
* | pw32
* | cegcc
*)
10276 version_type
=windows
10281 case $GCC,$host_os in
10282 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10283 library_names_spec
='$libname.dll.a'
10284 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10285 postinstall_cmds
='base_file=`basename \${file}`~
10286 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10287 dldir=$destdir/`dirname \$dlpath`~
10288 test -d \$dldir || mkdir -p \$dldir~
10289 $install_prog $dir/$dlname \$dldir/$dlname~
10290 chmod a+x \$dldir/$dlname~
10291 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10292 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10294 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10295 dlpath=$dir/\$dldll~
10297 shlibpath_overrides_runpath
=yes
10301 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10302 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10304 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10307 # MinGW DLLs use traditional 'lib' prefix
10308 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10311 # pw32 DLLs use 'pw' prefix rather than 'lib'
10312 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10318 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10321 dynamic_linker
='Win32 ld.exe'
10322 # FIXME: first we should search . and the directory the executable is in
10326 darwin
* | rhapsody
*)
10327 dynamic_linker
="$host_os dyld"
10328 version_type
=darwin
10331 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10332 soname_spec
='${libname}${release}${major}$shared_ext'
10333 shlibpath_overrides_runpath
=yes
10334 shlibpath_var
=DYLD_LIBRARY_PATH
10335 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10337 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10338 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10346 soname_spec
='${libname}${release}${shared_ext}$major'
10347 shlibpath_var
=LD_LIBRARY_PATH
10350 freebsd
* | dragonfly
*)
10351 # DragonFly does not have aout. When/if they implement a new
10352 # versioning mechanism, adjust this.
10353 if test -x /usr
/bin
/objformat
; then
10354 objformat
=`/usr/bin/objformat`
10357 freebsd
[23].
*) objformat
=aout
;;
10358 *) objformat
=elf
;;
10361 version_type
=freebsd-
$objformat
10362 case $version_type in
10364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10369 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10373 shlibpath_var
=LD_LIBRARY_PATH
10376 shlibpath_overrides_runpath
=yes
10378 freebsd3.
[01]* | freebsdelf3.
[01]*)
10379 shlibpath_overrides_runpath
=yes
10380 hardcode_into_libs
=yes
10382 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10383 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10384 shlibpath_overrides_runpath
=no
10385 hardcode_into_libs
=yes
10387 *) # from 4.6 on, and DragonFly
10388 shlibpath_overrides_runpath
=yes
10389 hardcode_into_libs
=yes
10398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10399 soname_spec
='${libname}${release}${shared_ext}$major'
10400 shlibpath_var
=LD_LIBRARY_PATH
10401 hardcode_into_libs
=yes
10408 dynamic_linker
="$host_os runtime_loader"
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 shlibpath_var
=LIBRARY_PATH
10412 shlibpath_overrides_runpath
=yes
10413 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10414 hardcode_into_libs
=yes
10417 hpux9
* | hpux10
* | hpux11
*)
10418 # Give a soname corresponding to the major version so that dld.sl refuses to
10419 # link against other versions.
10426 hardcode_into_libs
=yes
10427 dynamic_linker
="$host_os dld.so"
10428 shlibpath_var
=LD_LIBRARY_PATH
10429 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10431 soname_spec
='${libname}${release}${shared_ext}$major'
10432 if test "X$HPUX_IA64_MODE" = X32
; then
10433 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10435 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10437 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10441 hardcode_into_libs
=yes
10442 dynamic_linker
="$host_os dld.sl"
10443 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10444 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10446 soname_spec
='${libname}${release}${shared_ext}$major'
10447 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10448 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10452 dynamic_linker
="$host_os dld.sl"
10453 shlibpath_var
=SHLIB_PATH
10454 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10456 soname_spec
='${libname}${release}${shared_ext}$major'
10459 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10460 postinstall_cmds
='chmod 555 $lib'
10461 # or fails outright, so override atomically:
10462 install_override_mode
=555
10469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10470 soname_spec
='${libname}${release}${shared_ext}$major'
10471 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10472 shlibpath_var
=LD_LIBRARY_PATH
10473 shlibpath_overrides_runpath
=no
10474 hardcode_into_libs
=yes
10477 irix5
* | irix6
* | nonstopux
*)
10479 nonstopux
*) version_type
=nonstopux
;;
10481 if test "$lt_cv_prog_gnu_ld" = yes; then
10489 soname_spec
='${libname}${release}${shared_ext}$major'
10490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10492 irix5
* | nonstopux
*)
10493 libsuff
= shlibsuff
=
10496 case $LD in # libtool.m4 will add one of these switches to LD
10497 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10498 libsuff
= shlibsuff
= libmagic
=32-bit;;
10499 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10500 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10501 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10502 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10503 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10507 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10508 shlibpath_overrides_runpath
=no
10509 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10510 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10511 hardcode_into_libs
=yes
10514 # No shared lib support for Linux oldld, aout, or coff.
10515 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10519 # This must be Linux ELF.
10520 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10525 soname_spec
='${libname}${release}${shared_ext}$major'
10526 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10527 shlibpath_var
=LD_LIBRARY_PATH
10528 shlibpath_overrides_runpath
=no
10530 # Some binutils ld are patched to set DT_RUNPATH
10531 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10532 $as_echo_n "(cached) " >&6
10534 lt_cv_shlibpath_overrides_runpath
=no
10535 save_LDFLAGS
=$LDFLAGS
10536 save_libdir
=$libdir
10537 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10538 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10540 /* end confdefs.h. */
10550 if ac_fn_c_try_link
"$LINENO"; then :
10551 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10552 lt_cv_shlibpath_overrides_runpath
=yes
10555 rm -f core conftest.err conftest.
$ac_objext \
10556 conftest
$ac_exeext conftest.
$ac_ext
10557 LDFLAGS
=$save_LDFLAGS
10558 libdir
=$save_libdir
10562 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10564 # This implies no fast_install, which is unacceptable.
10565 # Some rework will be needed to allow for fast_install
10566 # before this can be enabled.
10567 hardcode_into_libs
=yes
10569 # Append ld.so.conf contents to the search path
10570 if test -f /etc
/ld.so.conf
; then
10571 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' ' '`
10572 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10575 # We used to test for /lib/ld.so.1 and disable shared libraries on
10576 # powerpc, because MkLinux only supported shared libraries with the
10577 # GNU dynamic linker. Since this was broken with cross compilers,
10578 # most powerpc-linux boxes support dynamic linking these days and
10579 # people can always --disable-shared, the test was removed, and we
10580 # assume the GNU/Linux dynamic linker is in use.
10581 dynamic_linker
='GNU/Linux ld.so'
10588 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10590 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10591 dynamic_linker
='NetBSD (a.out) ld.so'
10593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10594 soname_spec
='${libname}${release}${shared_ext}$major'
10595 dynamic_linker
='NetBSD ld.elf_so'
10597 shlibpath_var
=LD_LIBRARY_PATH
10598 shlibpath_overrides_runpath
=yes
10599 hardcode_into_libs
=yes
10604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10605 shlibpath_var
=LD_LIBRARY_PATH
10606 shlibpath_overrides_runpath
=yes
10613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10614 soname_spec
='${libname}${release}${shared_ext}$major'
10615 shlibpath_var
=LD_LIBRARY_PATH
10616 shlibpath_overrides_runpath
=no
10617 hardcode_into_libs
=yes
10618 dynamic_linker
='ldqnx.so'
10623 sys_lib_dlsearch_path_spec
="/usr/lib"
10625 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10627 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10628 *) need_version
=no
;;
10630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10631 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10632 shlibpath_var
=LD_LIBRARY_PATH
10633 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10635 openbsd2.
[89] | openbsd2.
[89].
*)
10636 shlibpath_overrides_runpath
=no
10639 shlibpath_overrides_runpath
=yes
10643 shlibpath_overrides_runpath
=yes
10648 libname_spec
='$name'
10651 library_names_spec
='$libname${shared_ext} $libname.a'
10652 dynamic_linker
='OS/2 ld.exe'
10653 shlibpath_var
=LIBPATH
10656 osf3
* | osf4
* | osf5
*)
10660 soname_spec
='${libname}${release}${shared_ext}$major'
10661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10662 shlibpath_var
=LD_LIBRARY_PATH
10663 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10664 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676 soname_spec
='${libname}${release}${shared_ext}$major'
10677 shlibpath_var
=LD_LIBRARY_PATH
10678 shlibpath_overrides_runpath
=yes
10679 hardcode_into_libs
=yes
10680 # ldd complains unless libraries are executable
10681 postinstall_cmds
='chmod +x $lib'
10686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10687 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10688 shlibpath_var
=LD_LIBRARY_PATH
10689 shlibpath_overrides_runpath
=yes
10690 if test "$with_gnu_ld" = yes; then
10698 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10699 soname_spec
='${libname}${release}${shared_ext}$major'
10700 shlibpath_var
=LD_LIBRARY_PATH
10701 case $host_vendor in
10703 shlibpath_overrides_runpath
=no
10705 runpath_var
=LD_RUN_PATH
10713 shlibpath_overrides_runpath
=no
10714 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10720 if test -d /usr
/nec
;then
10722 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10723 soname_spec
='$libname${shared_ext}.$major'
10724 shlibpath_var
=LD_LIBRARY_PATH
10728 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10729 version_type
=freebsd-elf
10732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10733 soname_spec
='${libname}${release}${shared_ext}$major'
10734 shlibpath_var
=LD_LIBRARY_PATH
10735 shlibpath_overrides_runpath
=yes
10736 hardcode_into_libs
=yes
10737 if test "$with_gnu_ld" = yes; then
10738 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10740 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10743 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10747 sys_lib_dlsearch_path_spec
='/usr/lib'
10751 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10756 shlibpath_var
=LD_LIBRARY_PATH
10757 shlibpath_overrides_runpath
=no
10758 hardcode_into_libs
=yes
10763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10764 soname_spec
='${libname}${release}${shared_ext}$major'
10765 shlibpath_var
=LD_LIBRARY_PATH
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10773 $as_echo "$dynamic_linker" >&6; }
10774 test "$dynamic_linker" = no
&& can_build_shared
=no
10776 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10777 if test "$GCC" = yes; then
10778 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10781 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10782 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10784 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10785 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10880 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10882 if test -n "$hardcode_libdir_flag_spec" ||
10883 test -n "$runpath_var" ||
10884 test "X$hardcode_automatic" = "Xyes" ; then
10886 # We can hardcode non-existent directories.
10887 if test "$hardcode_direct" != no
&&
10888 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10889 # have to relink, otherwise we might link with an installed library
10890 # when we should be linking with a yet-to-be-installed one
10891 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10892 test "$hardcode_minus_L" != no
; then
10893 # Linking always hardcodes the temporary library directory.
10894 hardcode_action
=relink
10896 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10897 hardcode_action
=immediate
10900 # We cannot hardcode anything, or else we can only hardcode existing
10902 hardcode_action
=unsupported
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10905 $as_echo "$hardcode_action" >&6; }
10907 if test "$hardcode_action" = relink ||
10908 test "$inherit_rpath" = yes; then
10909 # Fast installation is not supported
10910 enable_fast_install
=no
10911 elif test "$shlibpath_overrides_runpath" = yes ||
10912 test "$enable_shared" = no
; then
10913 # Fast installation is not necessary
10914 enable_fast_install
=needless
10922 if test "x$enable_dlopen" != xyes
; then
10923 enable_dlopen
=unknown
10924 enable_dlopen_self
=unknown
10925 enable_dlopen_self_static
=unknown
10932 lt_cv_dlopen
="load_add_on"
10934 lt_cv_dlopen_self
=yes
10937 mingw
* | pw32
* | cegcc
*)
10938 lt_cv_dlopen
="LoadLibrary"
10943 lt_cv_dlopen
="dlopen"
10948 # if libdl is installed we need to link against it
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10950 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10951 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10952 $as_echo_n "(cached) " >&6
10954 ac_check_lib_save_LIBS
=$LIBS
10956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10959 /* Override any GCC internal prototype to avoid an error.
10960 Use char because int might match the return type of a GCC
10961 builtin and then its argument prototype would still apply. */
10974 if ac_fn_c_try_link
"$LINENO"; then :
10975 ac_cv_lib_dl_dlopen
=yes
10977 ac_cv_lib_dl_dlopen
=no
10979 rm -f core conftest.err conftest.
$ac_objext \
10980 conftest
$ac_exeext conftest.
$ac_ext
10981 LIBS
=$ac_check_lib_save_LIBS
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10984 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10985 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10986 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10989 lt_cv_dlopen
="dyld"
10991 lt_cv_dlopen_self
=yes
10998 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10999 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11000 lt_cv_dlopen
="shl_load"
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11003 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11004 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11005 $as_echo_n "(cached) " >&6
11007 ac_check_lib_save_LIBS
=$LIBS
11009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11012 /* Override any GCC internal prototype to avoid an error.
11013 Use char because int might match the return type of a GCC
11014 builtin and then its argument prototype would still apply. */
11022 return shl_load ();
11027 if ac_fn_c_try_link
"$LINENO"; then :
11028 ac_cv_lib_dld_shl_load
=yes
11030 ac_cv_lib_dld_shl_load
=no
11032 rm -f core conftest.err conftest.
$ac_objext \
11033 conftest
$ac_exeext conftest.
$ac_ext
11034 LIBS
=$ac_check_lib_save_LIBS
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11037 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11038 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11039 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11041 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11042 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11043 lt_cv_dlopen
="dlopen"
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11046 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11047 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11048 $as_echo_n "(cached) " >&6
11050 ac_check_lib_save_LIBS
=$LIBS
11052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11055 /* Override any GCC internal prototype to avoid an error.
11056 Use char because int might match the return type of a GCC
11057 builtin and then its argument prototype would still apply. */
11070 if ac_fn_c_try_link
"$LINENO"; then :
11071 ac_cv_lib_dl_dlopen
=yes
11073 ac_cv_lib_dl_dlopen
=no
11075 rm -f core conftest.err conftest.
$ac_objext \
11076 conftest
$ac_exeext conftest.
$ac_ext
11077 LIBS
=$ac_check_lib_save_LIBS
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11080 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11081 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11082 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11085 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11086 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11087 $as_echo_n "(cached) " >&6
11089 ac_check_lib_save_LIBS
=$LIBS
11090 LIBS
="-lsvld $LIBS"
11091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11092 /* end confdefs.h. */
11094 /* Override any GCC internal prototype to avoid an error.
11095 Use char because int might match the return type of a GCC
11096 builtin and then its argument prototype would still apply. */
11109 if ac_fn_c_try_link
"$LINENO"; then :
11110 ac_cv_lib_svld_dlopen
=yes
11112 ac_cv_lib_svld_dlopen
=no
11114 rm -f core conftest.err conftest.
$ac_objext \
11115 conftest
$ac_exeext conftest.
$ac_ext
11116 LIBS
=$ac_check_lib_save_LIBS
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11119 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11120 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11121 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11124 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11125 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11126 $as_echo_n "(cached) " >&6
11128 ac_check_lib_save_LIBS
=$LIBS
11130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11133 /* Override any GCC internal prototype to avoid an error.
11134 Use char because int might match the return type of a GCC
11135 builtin and then its argument prototype would still apply. */
11143 return dld_link ();
11148 if ac_fn_c_try_link
"$LINENO"; then :
11149 ac_cv_lib_dld_dld_link
=yes
11151 ac_cv_lib_dld_dld_link
=no
11153 rm -f core conftest.err conftest.
$ac_objext \
11154 conftest
$ac_exeext conftest.
$ac_ext
11155 LIBS
=$ac_check_lib_save_LIBS
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11158 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11159 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11160 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11181 if test "x$lt_cv_dlopen" != xno
; then
11187 case $lt_cv_dlopen in
11189 save_CPPFLAGS
="$CPPFLAGS"
11190 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11192 save_LDFLAGS
="$LDFLAGS"
11193 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11196 LIBS
="$lt_cv_dlopen_libs $LIBS"
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11199 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11200 if test "${lt_cv_dlopen_self+set}" = set; then :
11201 $as_echo_n "(cached) " >&6
11203 if test "$cross_compiling" = yes; then :
11204 lt_cv_dlopen_self
=cross
11206 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11207 lt_status
=$lt_dlunknown
11208 cat > conftest.
$ac_ext <<_LT_EOF
11209 #line 11209 "configure"
11210 #include "confdefs.h"
11219 # define LT_DLGLOBAL RTLD_GLOBAL
11222 # define LT_DLGLOBAL DL_GLOBAL
11224 # define LT_DLGLOBAL 0
11228 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11229 find out it does not work in some platform. */
11230 #ifndef LT_DLLAZY_OR_NOW
11232 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11235 # define LT_DLLAZY_OR_NOW DL_LAZY
11238 # define LT_DLLAZY_OR_NOW RTLD_NOW
11241 # define LT_DLLAZY_OR_NOW DL_NOW
11243 # define LT_DLLAZY_OR_NOW 0
11250 /* When -fvisbility=hidden is used, assume the code has been annotated
11251 correspondingly for the symbols needed. */
11252 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11253 void fnord () __attribute__((visibility("default")));
11256 void fnord () { int i=42; }
11259 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11260 int status = $lt_dlunknown;
11264 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11267 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11268 else puts (dlerror ());
11270 /* dlclose (self); */
11278 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11279 (eval $ac_link) 2>&5
11281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11282 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11283 (.
/conftest
; exit; ) >&5 2>/dev
/null
11285 case x
$lt_status in
11286 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11287 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11288 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11291 # compilation failed
11292 lt_cv_dlopen_self
=no
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11300 $as_echo "$lt_cv_dlopen_self" >&6; }
11302 if test "x$lt_cv_dlopen_self" = xyes
; then
11303 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11305 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11306 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11307 $as_echo_n "(cached) " >&6
11309 if test "$cross_compiling" = yes; then :
11310 lt_cv_dlopen_self_static
=cross
11312 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11313 lt_status
=$lt_dlunknown
11314 cat > conftest.
$ac_ext <<_LT_EOF
11315 #line 11315 "configure"
11316 #include "confdefs.h"
11325 # define LT_DLGLOBAL RTLD_GLOBAL
11328 # define LT_DLGLOBAL DL_GLOBAL
11330 # define LT_DLGLOBAL 0
11334 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11335 find out it does not work in some platform. */
11336 #ifndef LT_DLLAZY_OR_NOW
11338 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11341 # define LT_DLLAZY_OR_NOW DL_LAZY
11344 # define LT_DLLAZY_OR_NOW RTLD_NOW
11347 # define LT_DLLAZY_OR_NOW DL_NOW
11349 # define LT_DLLAZY_OR_NOW 0
11356 /* When -fvisbility=hidden is used, assume the code has been annotated
11357 correspondingly for the symbols needed. */
11358 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11359 void fnord () __attribute__((visibility("default")));
11362 void fnord () { int i=42; }
11365 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11366 int status = $lt_dlunknown;
11370 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11373 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11374 else puts (dlerror ());
11376 /* dlclose (self); */
11384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11385 (eval $ac_link) 2>&5
11387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11388 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11389 (.
/conftest
; exit; ) >&5 2>/dev
/null
11391 case x
$lt_status in
11392 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11393 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11394 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11397 # compilation failed
11398 lt_cv_dlopen_self_static
=no
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11406 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11409 CPPFLAGS
="$save_CPPFLAGS"
11410 LDFLAGS
="$save_LDFLAGS"
11415 case $lt_cv_dlopen_self in
11416 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11417 *) enable_dlopen_self
=unknown
;;
11420 case $lt_cv_dlopen_self_static in
11421 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11422 *) enable_dlopen_self_static
=unknown
;;
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11445 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11446 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11447 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11448 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11450 $as_echo "yes" >&6; }
11452 # FIXME - insert some real tests, host_os isn't really good enough
11455 if test -n "$STRIP" ; then
11456 striplib
="$STRIP -x"
11457 old_striplib
="$STRIP -S"
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11459 $as_echo "yes" >&6; }
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11462 $as_echo "no" >&6; }
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11467 $as_echo "no" >&6; }
11483 # Report which library types will actually be built
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11485 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11487 $as_echo "$can_build_shared" >&6; }
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11490 $as_echo_n "checking whether to build shared libraries... " >&6; }
11491 test "$can_build_shared" = "no" && enable_shared
=no
11493 # On AIX, shared libraries and static libraries use the same namespace, and
11494 # are all built from PIC.
11497 test "$enable_shared" = yes && enable_static
=no
11498 if test -n "$RANLIB"; then
11499 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11500 postinstall_cmds
='$RANLIB $lib'
11505 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11506 test "$enable_shared" = yes && enable_static
=no
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11511 $as_echo "$enable_shared" >&6; }
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11514 $as_echo_n "checking whether to build static libraries... " >&6; }
11515 # Make sure either enable_shared or enable_static is yes.
11516 test "$enable_shared" = yes || enable_static
=yes
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11518 $as_echo "$enable_static" >&6; }
11525 ac_cpp
='$CPP $CPPFLAGS'
11526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11544 ac_config_commands
="$ac_config_commands libtool"
11549 # Only expand once:
11555 gdc_save_DFLAGS
=$GDCFLAGS
11556 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime $GDCFLAGS"
11559 # Source file extension for D test sources.
11562 # Object file extension for compiled D test sources.
11566 # Code to be used in simple compile tests
11567 lt_simple_compile_test_code
="module mod; extern(C) int main() { return 0; }"
11569 # Code to be used in simple link tests
11570 lt_simple_link_test_code
='module mod; extern(C) int main() { return 0; }'
11572 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11579 # If no C compiler was specified, use CC.
11582 # If no C compiler flags were specified, use CFLAGS.
11583 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11585 # Allow CC to be a program name with arguments.
11589 # save warnings/boilerplate of simple test code
11590 ac_outfile
=conftest.
$ac_objext
11591 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11592 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11593 _lt_compiler_boilerplate
=`cat conftest.err`
11596 ac_outfile
=conftest.
$ac_objext
11597 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11598 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11599 _lt_linker_boilerplate
=`cat conftest.err`
11603 # Allow CC to be a program name with arguments.
11605 lt_save_CFLAGS
=$CFLAGS
11606 lt_save_DFLAGS
=$GDCFLAGS
11610 # Need to specify location for object.d
11611 GDCFLAGS
="-nophoboslib $GDCFLAGS"
11616 for cc_temp
in $compiler""; do
11618 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11619 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11624 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11627 # GDC did not exist at the time GCC didn't implicitly link libc in.
11628 archive_cmds_need_lc_D
=no
11630 old_archive_cmds_D
=$old_archive_cmds
11631 reload_flag_D
=$reload_flag
11632 reload_cmds_D
=$reload_cmds
11635 ## There is no encapsulation within the following macros, do not change
11636 ## the running order or otherwise move them around unless you know exactly
11637 ## what you are doing...
11638 if test -n "$compiler"; then
11640 lt_prog_compiler_no_builtin_flag_D
=
11642 if test "$GCC" = yes; then
11643 case $cc_basename in
11645 lt_prog_compiler_no_builtin_flag_D
=' -Xcompiler -fno-builtin' ;;
11647 lt_prog_compiler_no_builtin_flag_D
=' -fno-builtin' ;;
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11651 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11652 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11653 $as_echo_n "(cached) " >&6
11655 lt_cv_prog_compiler_rtti_exceptions
=no
11656 ac_outfile
=conftest.
$ac_objext
11657 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11658 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11659 # Insert the option either (1) after the last *FLAGS variable, or
11660 # (2) before a word containing "conftest.", or (3) at the end.
11661 # Note that $ac_compile itself does not contain backslashes and begins
11662 # with a dollar sign (not a hyphen), so the echo should work correctly.
11663 # The option is referenced via a variable to avoid confusing sed.
11664 lt_compile
=`echo "$ac_compile" | $SED \
11665 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11666 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11667 -e 's:$: $lt_compiler_flag:'`
11668 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11669 (eval "$lt_compile" 2>conftest.err
)
11671 cat conftest.err
>&5
11672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11673 if (exit $ac_status) && test -s "$ac_outfile"; then
11674 # The compiler can only warn and ignore the option if not recognized
11675 # So say no if there are warnings other than the usual output.
11676 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11677 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11678 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11679 lt_cv_prog_compiler_rtti_exceptions
=yes
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11686 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11688 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11689 lt_prog_compiler_no_builtin_flag_D
="$lt_prog_compiler_no_builtin_flag_D -fno-rtti -fno-exceptions"
11698 lt_prog_compiler_wl_D
=
11699 lt_prog_compiler_pic_D
=
11700 lt_prog_compiler_static_D
=
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11703 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11705 if test "$GCC" = yes; then
11706 lt_prog_compiler_wl_D
='-Wl,'
11707 lt_prog_compiler_static_D
='-static'
11711 # All AIX code is PIC.
11712 if test "$host_cpu" = ia64
; then
11713 # AIX 5 now supports IA64 processor
11714 lt_prog_compiler_static_D
='-Bstatic'
11716 lt_prog_compiler_pic_D
='-fPIC'
11722 # see comment about AmigaOS4 .so support
11723 lt_prog_compiler_pic_D
='-fPIC'
11726 # FIXME: we need at least 68020 code to build shared libraries, but
11727 # adding the `-m68020' flag to GCC prevents building anything better,
11729 lt_prog_compiler_pic_D
='-m68020 -resident32 -malways-restore-a4'
11734 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11735 # PIC is the default for these OSes.
11738 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11739 # This hack is so that the source file can tell whether it is being
11740 # built for inclusion in a dll (and should export symbols for example).
11741 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11742 # (--disable-auto-import) libraries
11743 lt_prog_compiler_pic_D
='-DDLL_EXPORT'
11746 darwin
* | rhapsody
*)
11747 # PIC is the default on this platform
11748 # Common symbols not allowed in MH_DYLIB files
11749 lt_prog_compiler_pic_D
='-fno-common'
11753 # PIC is the default for Haiku.
11754 # The "-static" flag exists, but is broken.
11755 lt_prog_compiler_static_D
=
11759 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11760 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11761 # sets the default TLS model and affects inlining.
11767 lt_prog_compiler_pic_D
='-fPIC'
11773 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11774 # Instead, we relocate shared libraries at runtime.
11778 # Just because we use GCC doesn't mean we suddenly get shared libraries
11779 # on systems that don't support them.
11780 lt_prog_compiler_can_build_shared_D
=no
11785 # QNX uses GNU C++, but need to define -shared option too, otherwise
11786 # it will coredump.
11787 lt_prog_compiler_pic_D
='-fPIC -shared'
11791 if test -d /usr
/nec
; then
11792 lt_prog_compiler_pic_D
=-Kconform_pic
11797 lt_prog_compiler_pic_D
='-fPIC'
11801 case $cc_basename in
11802 nvcc
*) # Cuda Compiler Driver 2.2
11803 lt_prog_compiler_wl_D
='-Xlinker '
11804 lt_prog_compiler_pic_D
='-Xcompiler -fPIC'
11808 # PORTME Check for flag to pass linker flags through the system compiler.
11811 lt_prog_compiler_wl_D
='-Wl,'
11812 if test "$host_cpu" = ia64
; then
11813 # AIX 5 now supports IA64 processor
11814 lt_prog_compiler_static_D
='-Bstatic'
11816 lt_prog_compiler_static_D
='-bnso -bI:/lib/syscalls.exp'
11820 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11821 # This hack is so that the source file can tell whether it is being
11822 # built for inclusion in a dll (and should export symbols for example).
11823 lt_prog_compiler_pic_D
='-DDLL_EXPORT'
11826 hpux9
* | hpux10
* | hpux11
*)
11827 lt_prog_compiler_wl_D
='-Wl,'
11828 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11829 # not for PA HP-UX.
11835 lt_prog_compiler_pic_D
='+Z'
11838 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11839 lt_prog_compiler_static_D
='${wl}-a ${wl}archive'
11842 irix5
* | irix6
* | nonstopux
*)
11843 lt_prog_compiler_wl_D
='-Wl,'
11844 # PIC (with -KPIC) is the default.
11845 lt_prog_compiler_static_D
='-non_shared'
11848 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11849 case $cc_basename in
11850 # old Intel for x86_64 which still supported -KPIC.
11852 lt_prog_compiler_wl_D
='-Wl,'
11853 lt_prog_compiler_pic_D
='-KPIC'
11854 lt_prog_compiler_static_D
='-static'
11856 # icc used to be incompatible with GCC.
11857 # ICC 10 doesn't accept -KPIC any more.
11859 lt_prog_compiler_wl_D
='-Wl,'
11860 lt_prog_compiler_pic_D
='-fPIC'
11861 lt_prog_compiler_static_D
='-static'
11863 # Lahey Fortran 8.1.
11865 lt_prog_compiler_wl_D
='-Wl,'
11866 lt_prog_compiler_pic_D
='--shared'
11867 lt_prog_compiler_static_D
='--static'
11869 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11870 # Portland Group compilers (*not* the Pentium gcc compiler,
11871 # which looks to be a dead project)
11872 lt_prog_compiler_wl_D
='-Wl,'
11873 lt_prog_compiler_pic_D
='-fpic'
11874 lt_prog_compiler_static_D
='-Bstatic'
11877 lt_prog_compiler_wl_D
='-Wl,'
11878 # All Alpha code is PIC.
11879 lt_prog_compiler_static_D
='-non_shared'
11881 xl
* | bgxl
* | bgf
* | mpixl
*)
11882 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11883 lt_prog_compiler_wl_D
='-Wl,'
11884 lt_prog_compiler_pic_D
='-qpic'
11885 lt_prog_compiler_static_D
='-qstaticlink'
11888 case `$CC -V 2>&1 | sed 5q` in
11889 *Sun\ F
* |
*Sun
*Fortran
*)
11890 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11891 lt_prog_compiler_pic_D
='-KPIC'
11892 lt_prog_compiler_static_D
='-Bstatic'
11893 lt_prog_compiler_wl_D
=''
11897 lt_prog_compiler_pic_D
='-KPIC'
11898 lt_prog_compiler_static_D
='-Bstatic'
11899 lt_prog_compiler_wl_D
='-Wl,'
11907 lt_prog_compiler_pic_D
='-KPIC'
11908 lt_prog_compiler_static_D
='-Bstatic'
11912 # QNX uses GNU C++, but need to define -shared option too, otherwise
11913 # it will coredump.
11914 lt_prog_compiler_pic_D
='-fPIC -shared'
11917 osf3
* | osf4
* | osf5
*)
11918 lt_prog_compiler_wl_D
='-Wl,'
11919 # All OSF/1 code is PIC.
11920 lt_prog_compiler_static_D
='-non_shared'
11924 lt_prog_compiler_static_D
='-non_shared'
11928 lt_prog_compiler_pic_D
='-KPIC'
11929 lt_prog_compiler_static_D
='-Bstatic'
11930 case $cc_basename in
11931 f77
* | f90
* | f95
*)
11932 lt_prog_compiler_wl_D
='-Qoption ld ';;
11934 lt_prog_compiler_wl_D
='-Wl,';;
11939 lt_prog_compiler_wl_D
='-Qoption ld '
11940 lt_prog_compiler_pic_D
='-PIC'
11941 lt_prog_compiler_static_D
='-Bstatic'
11944 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11945 lt_prog_compiler_wl_D
='-Wl,'
11946 lt_prog_compiler_pic_D
='-KPIC'
11947 lt_prog_compiler_static_D
='-Bstatic'
11951 if test -d /usr
/nec
;then
11952 lt_prog_compiler_pic_D
='-Kconform_pic'
11953 lt_prog_compiler_static_D
='-Bstatic'
11957 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11958 lt_prog_compiler_wl_D
='-Wl,'
11959 lt_prog_compiler_pic_D
='-KPIC'
11960 lt_prog_compiler_static_D
='-Bstatic'
11964 lt_prog_compiler_wl_D
='-Wl,'
11965 lt_prog_compiler_can_build_shared_D
=no
11969 lt_prog_compiler_pic_D
='-pic'
11970 lt_prog_compiler_static_D
='-Bstatic'
11974 lt_prog_compiler_can_build_shared_D
=no
11980 # For platforms which do not support PIC, -DPIC is meaningless:
11982 lt_prog_compiler_pic_D
=
11985 lt_prog_compiler_pic_D
="$lt_prog_compiler_pic_D"
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_D" >&5
11989 $as_echo "$lt_prog_compiler_pic_D" >&6; }
11994 # Check to make sure the PIC flag actually works.
11996 if test -n "$lt_prog_compiler_pic_D"; then
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_D works" >&5
11998 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_D works... " >&6; }
11999 if test "${lt_cv_prog_compiler_pic_works_D+set}" = set; then :
12000 $as_echo_n "(cached) " >&6
12002 lt_cv_prog_compiler_pic_works_D
=no
12003 ac_outfile
=conftest.
$ac_objext
12004 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12005 lt_compiler_flag
="$lt_prog_compiler_pic_D"
12006 # Insert the option either (1) after the last *FLAGS variable, or
12007 # (2) before a word containing "conftest.", or (3) at the end.
12008 # Note that $ac_compile itself does not contain backslashes and begins
12009 # with a dollar sign (not a hyphen), so the echo should work correctly.
12010 # The option is referenced via a variable to avoid confusing sed.
12011 lt_compile
=`echo "$ac_compile" | $SED \
12012 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12013 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12014 -e 's:$: $lt_compiler_flag:'`
12015 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12016 (eval "$lt_compile" 2>conftest.err
)
12018 cat conftest.err
>&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 if (exit $ac_status) && test -s "$ac_outfile"; then
12021 # The compiler can only warn and ignore the option if not recognized
12022 # So say no if there are warnings other than the usual output.
12023 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12024 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12025 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12026 lt_cv_prog_compiler_pic_works_D
=yes
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_D" >&5
12033 $as_echo "$lt_cv_prog_compiler_pic_works_D" >&6; }
12035 if test x
"$lt_cv_prog_compiler_pic_works_D" = xyes
; then
12036 case $lt_prog_compiler_pic_D in
12038 *) lt_prog_compiler_pic_D
=" $lt_prog_compiler_pic_D" ;;
12041 lt_prog_compiler_pic_D
=
12042 lt_prog_compiler_can_build_shared_D
=no
12050 # Check to make sure the static flag actually works.
12052 wl
=$lt_prog_compiler_wl_D eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_D\"
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12054 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12055 if test "${lt_cv_prog_compiler_static_works_D+set}" = set; then :
12056 $as_echo_n "(cached) " >&6
12058 lt_cv_prog_compiler_static_works_D
=no
12059 save_LDFLAGS
="$LDFLAGS"
12060 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12061 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12062 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12063 # The linker can only warn and ignore the option if not recognized
12064 # So say no if there are warnings
12065 if test -s conftest.err
; then
12066 # Append any errors to the config.log.
12067 cat conftest.err
1>&5
12068 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12069 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12070 if diff conftest.exp conftest.er2
>/dev
/null
; then
12071 lt_cv_prog_compiler_static_works_D
=yes
12074 lt_cv_prog_compiler_static_works_D
=yes
12078 LDFLAGS
="$save_LDFLAGS"
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_D" >&5
12082 $as_echo "$lt_cv_prog_compiler_static_works_D" >&6; }
12084 if test x
"$lt_cv_prog_compiler_static_works_D" = xyes
; then
12087 lt_prog_compiler_static_D
=
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12094 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12095 if test "${lt_cv_prog_compiler_c_o_D+set}" = set; then :
12096 $as_echo_n "(cached) " >&6
12098 lt_cv_prog_compiler_c_o_D
=no
12099 $RM -r conftest
2>/dev
/null
12103 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12105 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12106 # Insert the option either (1) after the last *FLAGS variable, or
12107 # (2) before a word containing "conftest.", or (3) at the end.
12108 # Note that $ac_compile itself does not contain backslashes and begins
12109 # with a dollar sign (not a hyphen), so the echo should work correctly.
12110 lt_compile
=`echo "$ac_compile" | $SED \
12111 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12112 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12113 -e 's:$: $lt_compiler_flag:'`
12114 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12115 (eval "$lt_compile" 2>out
/conftest.err
)
12117 cat out
/conftest.err
>&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12121 # The compiler can only warn and ignore the option if not recognized
12122 # So say no if there are warnings
12123 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12124 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12125 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12126 lt_cv_prog_compiler_c_o_D
=yes
12131 # SGI C++ compiler will create directory out/ii_files/ for
12132 # template instantiation
12133 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12134 $RM out
/* && rmdir out
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_D" >&5
12141 $as_echo "$lt_cv_prog_compiler_c_o_D" >&6; }
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12146 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12147 if test "${lt_cv_prog_compiler_c_o_D+set}" = set; then :
12148 $as_echo_n "(cached) " >&6
12150 lt_cv_prog_compiler_c_o_D
=no
12151 $RM -r conftest
2>/dev
/null
12155 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12157 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12158 # Insert the option either (1) after the last *FLAGS variable, or
12159 # (2) before a word containing "conftest.", or (3) at the end.
12160 # Note that $ac_compile itself does not contain backslashes and begins
12161 # with a dollar sign (not a hyphen), so the echo should work correctly.
12162 lt_compile
=`echo "$ac_compile" | $SED \
12163 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12164 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12165 -e 's:$: $lt_compiler_flag:'`
12166 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12167 (eval "$lt_compile" 2>out
/conftest.err
)
12169 cat out
/conftest.err
>&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12173 # The compiler can only warn and ignore the option if not recognized
12174 # So say no if there are warnings
12175 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12176 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12177 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12178 lt_cv_prog_compiler_c_o_D
=yes
12183 # SGI C++ compiler will create directory out/ii_files/ for
12184 # template instantiation
12185 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12186 $RM out
/* && rmdir out
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_D" >&5
12193 $as_echo "$lt_cv_prog_compiler_c_o_D" >&6; }
12198 hard_links
="nottested"
12199 if test "$lt_cv_prog_compiler_c_o_D" = no
&& test "$need_locks" != no
; then
12200 # do not overwrite the value of need_locks provided by the user
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12202 $as_echo_n "checking if we can lock with hard links... " >&6; }
12205 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12207 ln conftest.a conftest.b
2>&5 || hard_links
=no
12208 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12210 $as_echo "$hard_links" >&6; }
12211 if test "$hard_links" = no
; then
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12213 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12223 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12226 allow_undefined_flag_D
=
12227 always_export_symbols_D
=no
12229 archive_expsym_cmds_D
=
12230 compiler_needs_object_D
=no
12231 enable_shared_with_static_runtimes_D
=no
12232 export_dynamic_flag_spec_D
=
12233 export_symbols_cmds_D
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12234 hardcode_automatic_D
=no
12235 hardcode_direct_D
=no
12236 hardcode_direct_absolute_D
=no
12237 hardcode_libdir_flag_spec_D
=
12238 hardcode_libdir_flag_spec_ld_D
=
12239 hardcode_libdir_separator_D
=
12240 hardcode_minus_L_D
=no
12241 hardcode_shlibpath_var_D
=unsupported
12243 link_all_deplibs_D
=unknown
12245 module_expsym_cmds_D
=
12246 old_archive_from_new_cmds_D
=
12247 old_archive_from_expsyms_cmds_D
=
12248 thread_safe_flag_spec_D
=
12249 whole_archive_flag_spec_D
=
12250 # include_expsyms should be a list of space-separated symbols to be *always*
12251 # included in the symbol list
12253 # exclude_expsyms can be an extended regexp of symbols to exclude
12254 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12255 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12256 # as well as any symbol that contains `d'.
12257 exclude_expsyms_D
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12258 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12259 # platforms (ab)use it in PIC code, but their linkers get confused if
12260 # the symbol is explicitly referenced. Since portable code cannot
12261 # rely on this symbol name, it's probably fine to never include it in
12262 # preloaded symbol tables.
12263 # Exclude shared library initialization/finalization symbols.
12264 extract_expsyms_cmds
=
12267 cygwin
* | mingw
* | pw32
* | cegcc
*)
12268 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12269 # When not using gcc, we currently assume that we are using
12270 # Microsoft Visual C++.
12271 if test "$GCC" != yes; then
12276 # we just hope/assume this is gcc and not c89 (= MSVC++)
12286 # On some targets, GNU ld is compatible enough with the native linker
12287 # that we're better off using the native interface for both.
12288 lt_use_gnu_ld_interface
=no
12289 if test "$with_gnu_ld" = yes; then
12292 # The AIX port of GNU ld has always aspired to compatibility
12293 # with the native linker. However, as the warning in the GNU ld
12294 # block says, versions before 2.19.5* couldn't really create working
12295 # shared libraries, regardless of the interface used.
12296 case `$LD -v 2>&1` in
12297 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12298 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12299 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12301 lt_use_gnu_ld_interface
=yes
12306 lt_use_gnu_ld_interface
=yes
12311 if test "$lt_use_gnu_ld_interface" = yes; then
12312 # If archive_cmds runs LD, not CC, wlarc should be empty
12315 # Set some defaults for GNU ld with shared library support. These
12316 # are reset later if shared libraries are not supported. Putting them
12317 # here allows them to be overridden if necessary.
12318 runpath_var
=LD_RUN_PATH
12319 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
12320 export_dynamic_flag_spec_D
='${wl}--export-dynamic'
12321 # ancient GNU ld didn't support --whole-archive et. al.
12322 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12323 whole_archive_flag_spec_D
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12325 whole_archive_flag_spec_D
=
12327 supports_anon_versioning
=no
12328 case `$LD -v 2>&1` in
12329 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12330 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12331 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12332 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12333 *\
2.11.
*) ;; # other 2.11 versions
12334 *) supports_anon_versioning
=yes ;;
12337 # See if GNU ld supports shared libraries.
12340 # On AIX/PPC, the GNU linker is very broken
12341 if test "$host_cpu" != ia64
; then
12345 *** Warning: the GNU linker, at least up to release 2.19, is reported
12346 *** to be unable to reliably create shared libraries on AIX.
12347 *** Therefore, libtool is disabling shared libraries support. If you
12348 *** really care for shared libraries, you may want to install binutils
12349 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12350 *** You will then need to restart the configuration process.
12359 # see comment about AmigaOS4 .so support
12360 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12361 archive_expsym_cmds_D
=''
12364 archive_cmds_D
='$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)'
12365 hardcode_libdir_flag_spec_D
='-L$libdir'
12366 hardcode_minus_L_D
=yes
12372 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12373 allow_undefined_flag_D
=unsupported
12374 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12375 # support --undefined. This deserves some investigation. FIXME
12376 archive_cmds_D
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12382 cygwin
* | mingw
* | pw32
* | cegcc
*)
12383 # _LT_TAGVAR(hardcode_libdir_flag_spec, D) is actually meaningless,
12384 # as there is no search path for DLLs.
12385 hardcode_libdir_flag_spec_D
='-L$libdir'
12386 export_dynamic_flag_spec_D
='${wl}--export-all-symbols'
12387 allow_undefined_flag_D
=unsupported
12388 always_export_symbols_D
=no
12389 enable_shared_with_static_runtimes_D
=yes
12390 export_symbols_cmds_D
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12392 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12393 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12394 # If the export-symbols file already is a .def file (1st line
12395 # is EXPORTS), use it as is; otherwise, prepend...
12396 archive_expsym_cmds_D
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12397 cp $export_symbols $output_objdir/$soname.def;
12399 echo EXPORTS > $output_objdir/$soname.def;
12400 cat $export_symbols >> $output_objdir/$soname.def;
12402 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12409 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12410 link_all_deplibs_D
=yes
12414 hardcode_direct_D
=no
12415 hardcode_shlibpath_var_D
=no
12416 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
12417 export_dynamic_flag_spec_D
='${wl}-E'
12418 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12419 # Instead, shared libraries are loaded at an image base (0x10000000 by
12420 # default) and relocated if they conflict, which is a slow very memory
12421 # consuming and fragmenting process. To avoid this, we pick a random,
12422 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12423 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12424 archive_cmds_D
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12425 archive_expsym_cmds_D
='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'
12428 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12430 if test "$host_os" = linux-dietlibc
; then
12431 case $cc_basename in
12432 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12435 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12436 && test "$tmp_diet" = no
12438 tmp_addflag
=' $pic_flag'
12439 tmp_sharedflag
='-shared'
12440 case $cc_basename,$host_cpu in
12441 pgcc
*) # Portland Group C compiler
12442 whole_archive_flag_spec_D
='${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'
12443 tmp_addflag
=' $pic_flag'
12445 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12446 # Portland Group f77 and f90 compilers
12447 whole_archive_flag_spec_D
='${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'
12448 tmp_addflag
=' $pic_flag -Mnomain' ;;
12449 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12450 tmp_addflag
=' -i_dynamic' ;;
12451 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12452 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12453 ifc
* | ifort
*) # Intel Fortran compiler
12454 tmp_addflag
=' -nofor_main' ;;
12455 lf95
*) # Lahey Fortran 8.1
12456 whole_archive_flag_spec_D
=
12457 tmp_sharedflag
='--shared' ;;
12458 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12459 tmp_sharedflag
='-qmkshrobj'
12461 nvcc
*) # Cuda Compiler Driver 2.2
12462 whole_archive_flag_spec_D
='${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'
12463 compiler_needs_object_D
=yes
12466 case `$CC -V 2>&1 | sed 5q` in
12467 *Sun\ C
*) # Sun C 5.9
12468 whole_archive_flag_spec_D
='${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'
12469 compiler_needs_object_D
=yes
12470 tmp_sharedflag
='-G' ;;
12471 *Sun\ F
*) # Sun Fortran 8.3
12472 tmp_sharedflag
='-G' ;;
12474 archive_cmds_D
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12476 if test "x$supports_anon_versioning" = xyes
; then
12477 archive_expsym_cmds_D
='echo "{ global:" > $output_objdir/$libname.ver~
12478 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12479 echo "local: *; };" >> $output_objdir/$libname.ver~
12480 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12483 case $cc_basename in
12484 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12485 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12486 whole_archive_flag_spec_D
='--whole-archive$convenience --no-whole-archive'
12487 hardcode_libdir_flag_spec_D
=
12488 hardcode_libdir_flag_spec_ld_D
='-rpath $libdir'
12489 archive_cmds_D
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12490 if test "x$supports_anon_versioning" = xyes
; then
12491 archive_expsym_cmds_D
='echo "{ global:" > $output_objdir/$libname.ver~
12492 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12493 echo "local: *; };" >> $output_objdir/$libname.ver~
12494 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12504 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12505 archive_cmds_D
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12508 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12509 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12514 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12518 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12519 *** create shared libraries on Solaris systems. Therefore, libtool
12520 *** is disabling shared libraries support. We urge you to upgrade GNU
12521 *** binutils to release 2.9.1 or newer. Another option is to modify
12522 *** your PATH or compiler configuration so that the native linker is
12523 *** used, and then restart.
12526 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12527 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12528 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12534 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12535 case `$LD -v 2>&1` in
12536 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12540 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12541 *** reliably create shared libraries on SCO systems. Therefore, libtool
12542 *** is disabling shared libraries support. We urge you to upgrade GNU
12543 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12544 *** your PATH or compiler configuration so that the native linker is
12545 *** used, and then restart.
12550 # For security reasons, it is highly recommended that you always
12551 # use absolute paths for naming shared libraries, and exclude the
12552 # DT_RUNPATH tag from executables and libraries. But doing so
12553 # requires that you compile everything twice, which is a pain.
12554 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12555 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
12556 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12557 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12566 archive_cmds_D
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12568 hardcode_direct_D
=yes
12569 hardcode_shlibpath_var_D
=no
12573 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12574 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12582 if test "$ld_shlibs_D" = no
; then
12584 hardcode_libdir_flag_spec_D
=
12585 export_dynamic_flag_spec_D
=
12586 whole_archive_flag_spec_D
=
12589 # PORTME fill in a description of your system's linker (not GNU ld)
12592 allow_undefined_flag_D
=unsupported
12593 always_export_symbols_D
=yes
12594 archive_expsym_cmds_D
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12595 # Note: this linker hardcodes the directories in LIBPATH if there
12596 # are no directories specified by -L.
12597 hardcode_minus_L_D
=yes
12598 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12599 # Neither direct hardcoding nor static linking is supported with a
12601 hardcode_direct_D
=unsupported
12606 if test "$host_cpu" = ia64
; then
12607 # On IA64, the linker does run time linking by default, so we don't
12608 # have to do anything special.
12609 aix_use_runtimelinking
=no
12610 exp_sym_flag
='-Bexport'
12613 # If we're using GNU nm, then we don't want the "-C" option.
12614 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12615 # Also, AIX nm treats weak defined symbols like other global
12616 # defined symbols, whereas GNU nm marks them as "W".
12617 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12618 export_symbols_cmds_D
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12620 export_symbols_cmds_D
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12622 aix_use_runtimelinking
=no
12624 # Test if we are trying to use run time linking or normal
12625 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12626 # need to do runtime linking.
12627 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12628 for ld_flag
in $LDFLAGS; do
12629 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12630 aix_use_runtimelinking
=yes
12637 exp_sym_flag
='-bexport'
12638 no_entry_flag
='-bnoentry'
12641 # When large executables or shared objects are built, AIX ld can
12642 # have problems creating the table of contents. If linking a library
12643 # or program results in "error TOC overflow" add -mminimal-toc to
12644 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12645 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12648 hardcode_direct_D
=yes
12649 hardcode_direct_absolute_D
=yes
12650 hardcode_libdir_separator_D
=':'
12651 link_all_deplibs_D
=yes
12652 file_list_spec_D
='${wl}-f,'
12654 if test "$GCC" = yes; then
12655 case $host_os in aix4.
[012]|aix4.
[012].
*)
12656 # We only want to do this on AIX 4.2 and lower, the check
12657 # below for broken collect2 doesn't work under 4.3+
12658 collect2name
=`${CC} -print-prog-name=collect2`
12659 if test -f "$collect2name" &&
12660 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12662 # We have reworked collect2
12665 # We have old collect2
12666 hardcode_direct_D
=unsupported
12667 # It fails to find uninstalled libraries when the uninstalled
12668 # path is not listed in the libpath. Setting hardcode_minus_L
12669 # to unsupported forces relinking
12670 hardcode_minus_L_D
=yes
12671 hardcode_libdir_flag_spec_D
='-L$libdir'
12672 hardcode_libdir_separator_D
=
12676 shared_flag
='-shared'
12677 if test "$aix_use_runtimelinking" = yes; then
12678 shared_flag
="$shared_flag "'${wl}-G'
12682 if test "$host_cpu" = ia64
; then
12683 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12684 # chokes on -Wl,-G. The following line is correct:
12687 if test "$aix_use_runtimelinking" = yes; then
12688 shared_flag
='${wl}-G'
12690 shared_flag
='${wl}-bM:SRE'
12695 export_dynamic_flag_spec_D
='${wl}-bexpall'
12696 # It seems that -bexpall does not export symbols beginning with
12697 # underscore (_), so it is better to generate a list of symbols to export.
12698 always_export_symbols_D
=yes
12699 if test "$aix_use_runtimelinking" = yes; then
12700 # Warning - without using the other runtime loading flags (-brtl),
12701 # -berok will link without error, but may produce a broken library.
12702 allow_undefined_flag_D
='-berok'
12703 # Determine the default libpath from the value encoded in an
12704 # empty executable.
12705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12706 /* end confdefs.h. */
12716 if ac_fn_c_try_link
"$LINENO"; then :
12718 lt_aix_libpath_sed
='
12719 /Import File Strings/,/^$/ {
12725 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12726 # Check for a 64-bit object if we didn't find anything.
12727 if test -z "$aix_libpath"; then
12728 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12731 rm -f core conftest.err conftest.
$ac_objext \
12732 conftest
$ac_exeext conftest.
$ac_ext
12733 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12735 hardcode_libdir_flag_spec_D
='${wl}-blibpath:$libdir:'"$aix_libpath"
12736 archive_expsym_cmds_D
='$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"
12738 if test "$host_cpu" = ia64
; then
12739 hardcode_libdir_flag_spec_D
='${wl}-R $libdir:/usr/lib:/lib'
12740 allow_undefined_flag_D
="-z nodefs"
12741 archive_expsym_cmds_D
="\$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"
12743 # Determine the default libpath from the value encoded in an
12744 # empty executable.
12745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12746 /* end confdefs.h. */
12756 if ac_fn_c_try_link
"$LINENO"; then :
12758 lt_aix_libpath_sed
='
12759 /Import File Strings/,/^$/ {
12765 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12766 # Check for a 64-bit object if we didn't find anything.
12767 if test -z "$aix_libpath"; then
12768 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12771 rm -f core conftest.err conftest.
$ac_objext \
12772 conftest
$ac_exeext conftest.
$ac_ext
12773 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12775 hardcode_libdir_flag_spec_D
='${wl}-blibpath:$libdir:'"$aix_libpath"
12776 # Warning - without using the other run time loading flags,
12777 # -berok will link without error, but may produce a broken library.
12778 no_undefined_flag_D
=' ${wl}-bernotok'
12779 allow_undefined_flag_D
=' ${wl}-berok'
12780 if test "$with_gnu_ld" = yes; then
12781 # We only use this code for GNU lds that support --whole-archive.
12782 whole_archive_flag_spec_D
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12784 # Exported symbols can be pulled into shared objects from archives
12785 whole_archive_flag_spec_D
='$convenience'
12787 archive_cmds_need_lc_D
=yes
12788 # This is similar to how AIX traditionally builds its shared libraries.
12789 archive_expsym_cmds_D
="\$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'
12797 # see comment about AmigaOS4 .so support
12798 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12799 archive_expsym_cmds_D
=''
12802 archive_cmds_D
='$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)'
12803 hardcode_libdir_flag_spec_D
='-L$libdir'
12804 hardcode_minus_L_D
=yes
12810 export_dynamic_flag_spec_D
=-rdynamic
12813 cygwin
* | mingw
* | pw32
* | cegcc
*)
12814 # When not using gcc, we currently assume that we are using
12815 # Microsoft Visual C++.
12816 # hardcode_libdir_flag_spec is actually meaningless, as there is
12817 # no search path for DLLs.
12818 hardcode_libdir_flag_spec_D
=' '
12819 allow_undefined_flag_D
=unsupported
12820 # Tell ltmain to make .lib files, not .a files.
12822 # Tell ltmain to make .dll files, not .so files.
12824 # FIXME: Setting linknames here is a bad hack.
12825 archive_cmds_D
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12826 # The linker will automatically build a .lib file if we build a DLL.
12827 old_archive_from_new_cmds_D
='true'
12828 # FIXME: Should let the user specify the lib program.
12829 old_archive_cmds_D
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12830 fix_srcfile_path_D
='`cygpath -w "$srcfile"`'
12831 enable_shared_with_static_runtimes_D
=yes
12834 darwin
* | rhapsody
*)
12837 archive_cmds_need_lc_D
=no
12838 hardcode_direct_D
=no
12839 hardcode_automatic_D
=yes
12840 hardcode_shlibpath_var_D
=unsupported
12841 if test "$lt_cv_ld_force_load" = "yes"; then
12842 whole_archive_flag_spec_D
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12844 whole_archive_flag_spec_D
=''
12846 link_all_deplibs_D
=yes
12847 allow_undefined_flag_D
="$_lt_dar_allow_undefined"
12848 case $cc_basename in
12849 ifort
*) _lt_dar_can_shared
=yes ;;
12850 *) _lt_dar_can_shared
=$GCC ;;
12852 if test "$_lt_dar_can_shared" = "yes"; then
12853 output_verbose_link_cmd
=func_echo_all
12854 archive_cmds_D
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12855 module_cmds_D
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12856 archive_expsym_cmds_D
="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}"
12857 module_expsym_cmds_D
="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}"
12866 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12867 hardcode_libdir_flag_spec_D
='-L$libdir'
12868 hardcode_shlibpath_var_D
=no
12871 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12872 # support. Future versions do this automatically, but an explicit c++rt0.o
12873 # does not break anything, and helps significantly (at the cost of a little
12876 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12877 hardcode_libdir_flag_spec_D
='-R$libdir'
12878 hardcode_direct_D
=yes
12879 hardcode_shlibpath_var_D
=no
12882 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12884 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12885 hardcode_direct_D
=yes
12886 hardcode_minus_L_D
=yes
12887 hardcode_shlibpath_var_D
=no
12890 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12891 freebsd
* | dragonfly
*)
12892 archive_cmds_D
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12893 hardcode_libdir_flag_spec_D
='-R$libdir'
12894 hardcode_direct_D
=yes
12895 hardcode_shlibpath_var_D
=no
12899 if test "$GCC" = yes; then
12900 archive_cmds_D
='$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'
12902 archive_cmds_D
='$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'
12904 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
12905 hardcode_libdir_separator_D
=:
12906 hardcode_direct_D
=yes
12908 # hardcode_minus_L: Not really in the search PATH,
12909 # but as the default location of the library.
12910 hardcode_minus_L_D
=yes
12911 export_dynamic_flag_spec_D
='${wl}-E'
12915 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12916 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12918 archive_cmds_D
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12920 if test "$with_gnu_ld" = no
; then
12921 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
12922 hardcode_libdir_flag_spec_ld_D
='+b $libdir'
12923 hardcode_libdir_separator_D
=:
12924 hardcode_direct_D
=yes
12925 hardcode_direct_absolute_D
=yes
12926 export_dynamic_flag_spec_D
='${wl}-E'
12927 # hardcode_minus_L: Not really in the search PATH,
12928 # but as the default location of the library.
12929 hardcode_minus_L_D
=yes
12934 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
12937 archive_cmds_D
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12940 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12943 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12949 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12952 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12955 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12959 if test "$with_gnu_ld" = no
; then
12960 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
12961 hardcode_libdir_separator_D
=:
12965 hardcode_direct_D
=no
12966 hardcode_shlibpath_var_D
=no
12969 hardcode_direct_D
=yes
12970 hardcode_direct_absolute_D
=yes
12971 export_dynamic_flag_spec_D
='${wl}-E'
12973 # hardcode_minus_L: Not really in the search PATH,
12974 # but as the default location of the library.
12975 hardcode_minus_L_D
=yes
12981 irix5
* | irix6
* | nonstopux
*)
12982 if test "$GCC" = yes; then
12983 archive_cmds_D
='$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'
12984 # Try to use the -exported_symbol ld option, if it does not
12985 # work, assume that -exports_file does not work either and
12986 # implicitly export all symbols.
12987 save_LDFLAGS
="$LDFLAGS"
12988 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12990 /* end confdefs.h. */
12993 if ac_fn_c_try_link
"$LINENO"; then :
12994 archive_expsym_cmds_D
='$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'
12997 rm -f core conftest.err conftest.
$ac_objext \
12998 conftest
$ac_exeext conftest.
$ac_ext
12999 LDFLAGS
="$save_LDFLAGS"
13001 archive_cmds_D
='$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'
13002 archive_expsym_cmds_D
='$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'
13004 archive_cmds_need_lc_D
='no'
13005 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13006 hardcode_libdir_separator_D
=:
13007 inherit_rpath_D
=yes
13008 link_all_deplibs_D
=yes
13012 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13013 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13015 archive_cmds_D
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13017 hardcode_libdir_flag_spec_D
='-R$libdir'
13018 hardcode_direct_D
=yes
13019 hardcode_shlibpath_var_D
=no
13023 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13024 hardcode_direct_D
=yes
13025 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13026 hardcode_libdir_separator_D
=:
13027 hardcode_shlibpath_var_D
=no
13034 if test -f /usr
/libexec
/ld.so
; then
13035 hardcode_direct_D
=yes
13036 hardcode_shlibpath_var_D
=no
13037 hardcode_direct_absolute_D
=yes
13038 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13039 archive_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13040 archive_expsym_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13041 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
13042 export_dynamic_flag_spec_D
='${wl}-E'
13045 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13046 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13047 hardcode_libdir_flag_spec_D
='-R$libdir'
13050 archive_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13051 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
13061 hardcode_libdir_flag_spec_D
='-L$libdir'
13062 hardcode_minus_L_D
=yes
13063 allow_undefined_flag_D
=unsupported
13064 archive_cmds_D
='$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'
13065 old_archive_from_new_cmds_D
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13069 if test "$GCC" = yes; then
13070 allow_undefined_flag_D
=' ${wl}-expect_unresolved ${wl}\*'
13071 archive_cmds_D
='$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'
13073 allow_undefined_flag_D
=' -expect_unresolved \*'
13074 archive_cmds_D
='$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'
13076 archive_cmds_need_lc_D
='no'
13077 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13078 hardcode_libdir_separator_D
=:
13081 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13082 if test "$GCC" = yes; then
13083 allow_undefined_flag_D
=' ${wl}-expect_unresolved ${wl}\*'
13084 archive_cmds_D
='$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'
13085 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13087 allow_undefined_flag_D
=' -expect_unresolved \*'
13088 archive_cmds_D
='$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'
13089 archive_expsym_cmds_D
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
13090 $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'
13092 # Both c and cxx compiler support -rpath directly
13093 hardcode_libdir_flag_spec_D
='-rpath $libdir'
13095 archive_cmds_need_lc_D
='no'
13096 hardcode_libdir_separator_D
=:
13100 no_undefined_flag_D
=' -z defs'
13101 if test "$GCC" = yes; then
13103 archive_cmds_D
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13104 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13105 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13107 case `$CC -V 2>&1` in
13110 archive_cmds_D
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13111 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13112 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13116 archive_cmds_D
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13117 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13118 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13122 hardcode_libdir_flag_spec_D
='-R$libdir'
13123 hardcode_shlibpath_var_D
=no
13125 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13127 # The compiler driver will combine and reorder linker options,
13128 # but understands `-z linker_flag'. GCC discards it without `$wl',
13129 # but is careful enough not to reorder.
13130 # Supported since Solaris 2.6 (maybe 2.5.1?)
13131 if test "$GCC" = yes; then
13132 whole_archive_flag_spec_D
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13134 whole_archive_flag_spec_D
='-z allextract$convenience -z defaultextract'
13138 link_all_deplibs_D
=yes
13142 if test "x$host_vendor" = xsequent
; then
13143 # Use $CC to link under sequent, because it throws in some extra .o
13144 # files that make .init and .fini sections work.
13145 archive_cmds_D
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13147 archive_cmds_D
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13149 hardcode_libdir_flag_spec_D
='-L$libdir'
13150 hardcode_direct_D
=yes
13151 hardcode_minus_L_D
=yes
13152 hardcode_shlibpath_var_D
=no
13156 case $host_vendor in
13158 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13159 hardcode_direct_D
=yes # is this really true???
13162 ## LD is ld it makes a PLAMLIB
13163 ## CC just makes a GrossModule.
13164 archive_cmds_D
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13165 reload_cmds_D
='$CC -r -o $output$reload_objs'
13166 hardcode_direct_D
=no
13169 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13170 hardcode_direct_D
=no
#Motorola manual says yes, but my tests say they lie
13173 runpath_var
='LD_RUN_PATH'
13174 hardcode_shlibpath_var_D
=no
13178 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13179 hardcode_shlibpath_var_D
=no
13180 export_dynamic_flag_spec_D
='-Bexport'
13184 if test -d /usr
/nec
; then
13185 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13186 hardcode_shlibpath_var_D
=no
13187 runpath_var
=LD_RUN_PATH
13188 hardcode_runpath_var
=yes
13193 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13194 no_undefined_flag_D
='${wl}-z,text'
13195 archive_cmds_need_lc_D
=no
13196 hardcode_shlibpath_var_D
=no
13197 runpath_var
='LD_RUN_PATH'
13199 if test "$GCC" = yes; then
13200 archive_cmds_D
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13201 archive_expsym_cmds_D
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13203 archive_cmds_D
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13204 archive_expsym_cmds_D
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13208 sysv5
* | sco3.2v5
* | sco5v6
*)
13209 # Note: We can NOT use -z defs as we might desire, because we do not
13210 # link with -lc, and that would cause any symbols used from libc to
13211 # always be unresolved, which means just about no library would
13212 # ever link correctly. If we're not using GNU ld we use -z text
13213 # though, which does catch some bad symbols but isn't as heavy-handed
13215 no_undefined_flag_D
='${wl}-z,text'
13216 allow_undefined_flag_D
='${wl}-z,nodefs'
13217 archive_cmds_need_lc_D
=no
13218 hardcode_shlibpath_var_D
=no
13219 hardcode_libdir_flag_spec_D
='${wl}-R,$libdir'
13220 hardcode_libdir_separator_D
=':'
13221 link_all_deplibs_D
=yes
13222 export_dynamic_flag_spec_D
='${wl}-Bexport'
13223 runpath_var
='LD_RUN_PATH'
13225 if test "$GCC" = yes; then
13226 archive_cmds_D
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13227 archive_expsym_cmds_D
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229 archive_cmds_D
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13230 archive_expsym_cmds_D
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13235 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13236 hardcode_libdir_flag_spec_D
='-L$libdir'
13237 hardcode_shlibpath_var_D
=no
13245 if test x
$host_vendor = xsni
; then
13247 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13248 export_dynamic_flag_spec_D
='${wl}-Blargedynsym'
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_D" >&5
13255 $as_echo "$ld_shlibs_D" >&6; }
13256 test "$ld_shlibs_D" = no
&& can_build_shared
=no
13258 with_gnu_ld_D
=$with_gnu_ld
13266 # Do we need to explicitly link libc?
13268 case "x$archive_cmds_need_lc_D" in
13270 # Assume -lc should be added
13271 archive_cmds_need_lc_D
=yes
13273 if test "$enable_shared" = yes && test "$GCC" = yes; then
13274 case $archive_cmds_D in
13276 # FIXME: we may have to deal with multi-command sequences.
13279 # Test whether the compiler implicitly links with -lc since on some
13280 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13281 # to ld, don't add -lc before -lgcc.
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13283 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13284 if test "${lt_cv_archive_cmds_need_lc_D+set}" = set; then :
13285 $as_echo_n "(cached) " >&6
13288 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13291 (eval $ac_compile) 2>&5
13293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13294 test $ac_status = 0; } 2>conftest.err
; then
13297 libobjs
=conftest.
$ac_objext
13299 wl
=$lt_prog_compiler_wl_D
13300 pic_flag
=$lt_prog_compiler_pic_D
13306 lt_save_allow_undefined_flag
=$allow_undefined_flag_D
13307 allow_undefined_flag_D
=
13308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_D 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13309 (eval $archive_cmds_D 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13312 test $ac_status = 0; }
13314 lt_cv_archive_cmds_need_lc_D
=no
13316 lt_cv_archive_cmds_need_lc_D
=yes
13318 allow_undefined_flag_D
=$lt_save_allow_undefined_flag
13320 cat conftest.err
1>&5
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_D" >&5
13326 $as_echo "$lt_cv_archive_cmds_need_lc_D" >&6; }
13327 archive_cmds_need_lc_D
=$lt_cv_archive_cmds_need_lc_D
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13398 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13400 if test -n "$hardcode_libdir_flag_spec_D" ||
13401 test -n "$runpath_var_D" ||
13402 test "X$hardcode_automatic_D" = "Xyes" ; then
13404 # We can hardcode non-existent directories.
13405 if test "$hardcode_direct_D" != no
&&
13406 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13407 # have to relink, otherwise we might link with an installed library
13408 # when we should be linking with a yet-to-be-installed one
13409 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, D)" != no &&
13410 test "$hardcode_minus_L_D" != no
; then
13411 # Linking always hardcodes the temporary library directory.
13412 hardcode_action_D
=relink
13414 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13415 hardcode_action_D
=immediate
13418 # We cannot hardcode anything, or else we can only hardcode existing
13420 hardcode_action_D
=unsupported
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_D" >&5
13423 $as_echo "$hardcode_action_D" >&6; }
13425 if test "$hardcode_action_D" = relink ||
13426 test "$inherit_rpath_D" = yes; then
13427 # Fast installation is not supported
13428 enable_fast_install
=no
13429 elif test "$shlibpath_overrides_runpath" = yes ||
13430 test "$enable_shared" = no
; then
13431 # Fast installation is not necessary
13432 enable_fast_install
=needless
13444 ac_cpp
='$CPP $CPPFLAGS'
13445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13452 CFLAGS
=$lt_save_CFLAGS
13453 GDCFLAGS
=$lt_save_DFLAGS
13455 GDCFLAGS
=$gdc_save_DFLAGS
13457 if test "$enable_shared" = "yes"; then
13458 ENABLE_SHARED_TRUE
=
13459 ENABLE_SHARED_FALSE
='#'
13461 ENABLE_SHARED_TRUE
='#'
13462 ENABLE_SHARED_FALSE
=
13465 if test "$enable_static" = "yes"; then
13466 ENABLE_STATIC_TRUE
=
13467 ENABLE_STATIC_FALSE
='#'
13469 ENABLE_STATIC_TRUE
='#'
13470 ENABLE_STATIC_FALSE
=
13474 # libtool variables for Phobos shared and position-independent compiles.
13476 # Use phobos_compiler_shared_flag to designate the compile-time flags for
13477 # creating shared objects. Default: -fversion=Shared.
13479 # Use phobos_compiler_pic_flag to designate the compile-time flags for
13480 # creating position-independent objects. This varies with the target
13481 # hardware and operating system, but is often: -fPIC.
13483 # The distinction between pic and shared compilation flags is not present in
13484 # libtool, and so we make it here. How it is handled is that in shared
13485 # compilations the `lt_prog_compiler_pic_D' variable is used to instead
13486 # ensure that conditional compilation of shared runtime code is compiled in.
13487 # The original PIC flags are then used in the compilation of every object.
13489 # Why are objects destined for libgphobos.a compiled with -fPIC?
13490 # Because -fPIC is not harmful to use for objects destined for static
13491 # libraries. In addition, using -fPIC will allow the use of static
13492 # libgphobos.a in the creation of other D shared libraries.
13493 if test "$enable_shared" = yes; then
13494 phobos_compiler_pic_flag
="$lt_prog_compiler_pic_D"
13495 phobos_compiler_shared_flag
="-fversion=Shared"
13497 phobos_compiler_pic_flag
=
13498 phobos_compiler_shared_flag
=
13503 # Override the libtool's pic_flag and pic_mode.
13504 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
13505 # NB: this impacts --with-pic and --without-pic.
13506 lt_prog_compiler_pic_D
="$phobos_compiler_shared_flag"
13509 # Determine what GCC version number to use in filesystem paths.
13511 get_gcc_base_ver
="cat"
13513 # Check whether --with-gcc-major-version-only was given.
13514 if test "${with_gcc_major_version_only+set}" = set; then :
13515 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
13516 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
13524 # libphobos/libdruntime specific options and feature detection
13526 # These need to be absolute paths, yet at the same time need to
13527 # canonicalize only relative paths, because then amd will not unmount
13528 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
13529 libphobos_builddir
=`${PWDCMD-pwd}`
13531 \\/$
* | ?
:\\/*) libphobos_srcdir
=${srcdir} ;;
13532 *) libphobos_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
13538 if test ${multilib} = yes; then
13539 multilib_arg
="--enable-multilib"
13545 # Check whether --enable-werror was given.
13546 if test "${enable_werror+set}" = set; then :
13547 enableval
=$enable_werror;
13551 if test "x$enable_werror" = "xyes"; then
13552 WERROR_FLAG
="-Werror"
13556 # Check whether --enable-druntime-gc was given.
13557 if test "${enable_druntime_gc+set}" = set; then :
13558 enableval
=$enable_druntime_gc; enable_druntime_gc
=no
13560 enable_druntime_gc
=yes
13564 if test "$enable_druntime_gc" = "yes"; then
13565 DRUNTIME_GC_ENABLE_TRUE
=
13566 DRUNTIME_GC_ENABLE_FALSE
='#'
13568 DRUNTIME_GC_ENABLE_TRUE
='#'
13569 DRUNTIME_GC_ENABLE_FALSE
=
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target OS" >&5
13575 $as_echo_n "checking for target OS... " >&6; }
13576 if test "${druntime_cv_target_os+set}" = set; then :
13577 $as_echo_n "(cached) " >&6
13579 druntime_cv_target_os
=`echo $target_os | sed 's/^\([A-Za-z_]+\)/\1/'`
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_target_os" >&5
13582 $as_echo "$druntime_cv_target_os" >&6; }
13583 if test -z "$druntime_cv_target_os"; then :
13584 as_fn_error
"can't detect target OS" "$LINENO" 5
13589 # Check whether --enable-unix was given.
13590 if test "${enable_unix+set}" = set; then :
13591 enableval
=$enable_unix; :
13597 case "$druntime_cv_target_os" in
13598 aix
*|
*bsd
*|cygwin
*|darwin
*|gnu
*|linux
*|skyos
*|
*solaris
*|sysv
*) d_have_unix
=1 ;;
13600 if test -n "$d_have_unix" && test "$enable_unix" = auto
; then
13603 if test "$enable_unix" = "yes"; then
13604 DRUNTIME_OS_UNIX_TRUE
=
13605 DRUNTIME_OS_UNIX_FALSE
='#'
13607 DRUNTIME_OS_UNIX_TRUE
='#'
13608 DRUNTIME_OS_UNIX_FALSE
=
13615 druntime_target_os_parsed
=""
13616 case "$druntime_cv_target_os" in
13617 aix
*) druntime_target_os_parsed
="aix"
13620 druntime_target_os_parsed
="android"
13622 darwin
*) druntime_target_os_parsed
="darwin"
13625 druntime_target_os_parsed
="dragonflybsd"
13627 freebsd
*|k
*bsd
*-gnu)
13628 druntime_target_os_parsed
="freebsd"
13631 druntime_target_os_parsed
="openbsd"
13634 druntime_target_os_parsed
="netbsd"
13636 linux
*) druntime_target_os_parsed
="linux"
13638 mingw
*) druntime_target_os_parsed
="mingw"
13640 *solaris
*) druntime_target_os_parsed
="solaris"
13642 if test "$druntime_target_os_parsed" = "aix"; then
13643 DRUNTIME_OS_AIX_TRUE
=
13644 DRUNTIME_OS_AIX_FALSE
='#'
13646 DRUNTIME_OS_AIX_TRUE
='#'
13647 DRUNTIME_OS_AIX_FALSE
=
13650 if test "$druntime_target_os_parsed" = "android"; then
13651 DRUNTIME_OS_ANDROID_TRUE
=
13652 DRUNTIME_OS_ANDROID_FALSE
='#'
13654 DRUNTIME_OS_ANDROID_TRUE
='#'
13655 DRUNTIME_OS_ANDROID_FALSE
=
13658 if test "$druntime_target_os_parsed" = "darwin"; then
13659 DRUNTIME_OS_DARWIN_TRUE
=
13660 DRUNTIME_OS_DARWIN_FALSE
='#'
13662 DRUNTIME_OS_DARWIN_TRUE
='#'
13663 DRUNTIME_OS_DARWIN_FALSE
=
13666 if test "$druntime_target_os_parsed" = "dragonflybsd"; then
13667 DRUNTIME_OS_DRAGONFLYBSD_TRUE
=
13668 DRUNTIME_OS_DRAGONFLYBSD_FALSE
='#'
13670 DRUNTIME_OS_DRAGONFLYBSD_TRUE
='#'
13671 DRUNTIME_OS_DRAGONFLYBSD_FALSE
=
13674 if test "$druntime_target_os_parsed" = "freebsd"; then
13675 DRUNTIME_OS_FREEBSD_TRUE
=
13676 DRUNTIME_OS_FREEBSD_FALSE
='#'
13678 DRUNTIME_OS_FREEBSD_TRUE
='#'
13679 DRUNTIME_OS_FREEBSD_FALSE
=
13682 if test "$druntime_target_os_parsed" = "netbsd"; then
13683 DRUNTIME_OS_NETBSD_TRUE
=
13684 DRUNTIME_OS_NETBSD_FALSE
='#'
13686 DRUNTIME_OS_NETBSD_TRUE
='#'
13687 DRUNTIME_OS_NETBSD_FALSE
=
13690 if test "$druntime_target_os_parsed" = "openbsd"; then
13691 DRUNTIME_OS_OPENBSD_TRUE
=
13692 DRUNTIME_OS_OPENBSD_FALSE
='#'
13694 DRUNTIME_OS_OPENBSD_TRUE
='#'
13695 DRUNTIME_OS_OPENBSD_FALSE
=
13698 if test "$druntime_target_os_parsed" = "linux"; then
13699 DRUNTIME_OS_LINUX_TRUE
=
13700 DRUNTIME_OS_LINUX_FALSE
='#'
13702 DRUNTIME_OS_LINUX_TRUE
='#'
13703 DRUNTIME_OS_LINUX_FALSE
=
13706 if test "$druntime_target_os_parsed" = "mingw"; then
13707 DRUNTIME_OS_MINGW_TRUE
=
13708 DRUNTIME_OS_MINGW_FALSE
='#'
13710 DRUNTIME_OS_MINGW_TRUE
='#'
13711 DRUNTIME_OS_MINGW_FALSE
=
13714 if test "$druntime_target_os_parsed" = "solaris"; then
13715 DRUNTIME_OS_SOLARIS_TRUE
=
13716 DRUNTIME_OS_SOLARIS_FALSE
='#'
13718 DRUNTIME_OS_SOLARIS_TRUE
='#'
13719 DRUNTIME_OS_SOLARIS_FALSE
=
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GDC" >&5
13726 $as_echo_n "checking for thread model used by GDC... " >&6; }
13727 d_thread_model
=`$GDC -v 2>&1 | sed -n 's/^Thread model: //p'`
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $d_thread_model" >&5
13729 $as_echo "$d_thread_model" >&6; }
13731 # Map from thread model to thread interface.
13733 case $d_thread_model in
13734 aix
) DCFG_THREAD_MODEL
="Posix" ;;
13735 lynx
) DCFG_THREAD_MODEL
="Posix" ;;
13736 posix
) DCFG_THREAD_MODEL
="Posix" ;;
13737 single
) DCFG_THREAD_MODEL
="Single" ;;
13738 win32
) DCFG_THREAD_MODEL
="Win32" ;;
13739 # TODO: These targets need porting.
13740 dce|mipssde|rtems|tpf|vxworks
)
13741 DCFG_THREAD_MODEL
="Single" ;;
13742 *) as_fn_error
"Thread implementation '$d_thread_model' not recognised" "$LINENO" 5 ;;
13749 ac_cpp
='$CPP $CPPFLAGS'
13750 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13751 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13752 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARM unwinder" >&5
13755 $as_echo_n "checking for ARM unwinder... " >&6; }
13756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13757 /* end confdefs.h. */
13758 #include <unwind.h>
13763 #if __ARM_EABI_UNWINDER__
13771 if ac_fn_c_try_compile
"$LINENO"; then :
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13773 $as_echo "no" >&6; }
13774 DCFG_ARM_EABI_UNWINDER
=false
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13777 $as_echo "yes" >&6; }
13778 DCFG_ARM_EABI_UNWINDER
=true
13780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13782 if test "$DCFG_ARM_EABI_UNWINDER" = "true"; then
13783 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
=
13784 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
='#'
13786 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
='#'
13787 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
=
13791 ac_cpp
='$CPP $CPPFLAGS'
13792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13799 ac_cpp
='$CPP $CPPFLAGS'
13800 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13801 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13802 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minfo section bracketing" >&5
13805 $as_echo_n "checking for minfo section bracketing... " >&6; }
13806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h. */
13809 void* module_info_ptr __attribute__((section ("minfo")));
13810 extern void* __start_minfo __attribute__((visibility ("hidden")));
13811 extern void* __stop_minfo __attribute__((visibility ("hidden")));
13815 // Never run, just to prevent compiler from optimizing access
13816 return &__start_minfo == &__stop_minfo;
13820 if ac_fn_c_try_link
"$LINENO"; then :
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13822 $as_echo "yes" >&6; }
13823 DCFG_MINFO_BRACKETING
=true
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13826 $as_echo "no" >&6; }
13827 DCFG_MINFO_BRACKETING
=false
13829 rm -f core conftest.err conftest.
$ac_objext \
13830 conftest
$ac_exeext conftest.
$ac_ext
13833 ac_cpp
='$CPP $CPPFLAGS'
13834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13842 gdc_save_DFLAGS
=$GDCFLAGS
13843 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime -nophoboslib $GDCFLAGS"
13846 ac_compile
='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
13847 ac_link
='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13848 ac_compiler_gnu
=yes
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing malloc" >&5
13851 $as_echo_n "checking for library containing malloc... " >&6; }
13852 if test "${ac_cv_search_malloc+set}" = set; then :
13853 $as_echo_n "(cached) " >&6
13855 ac_func_search_save_LIBS
=$LIBS
13856 cat > conftest.
$ac_ext <<_ACEOF
13858 extern(C) int malloc();
13860 extern(C) int main() {
13861 malloc(); return 0;
13864 for ac_lib
in '' c
; do
13865 if test -z "$ac_lib"; then
13866 ac_res
="none required"
13869 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13871 if ac_fn_d_try_link
"$LINENO"; then :
13872 ac_cv_search_malloc
=$ac_res
13874 rm -f core conftest.err conftest.
$ac_objext \
13876 if test "${ac_cv_search_malloc+set}" = set; then :
13880 if test "${ac_cv_search_malloc+set}" = set; then :
13883 ac_cv_search_malloc
=no
13885 rm conftest.
$ac_ext
13886 LIBS
=$ac_func_search_save_LIBS
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_malloc" >&5
13889 $as_echo "$ac_cv_search_malloc" >&6; }
13890 ac_res
=$ac_cv_search_malloc
13891 if test "$ac_res" != no
; then :
13892 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13897 enable_thread_lib
=yes
13898 # Check whether --enable-thread-lib was given.
13899 if test "${enable_thread_lib+set}" = set; then :
13900 enableval
=$enable_thread_lib;
13904 if test "x$enable_thread_lib" = "xyes"; then :
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
13907 $as_echo_n "checking for library containing pthread_create... " >&6; }
13908 if test "${ac_cv_search_pthread_create+set}" = set; then :
13909 $as_echo_n "(cached) " >&6
13911 ac_func_search_save_LIBS
=$LIBS
13912 cat > conftest.
$ac_ext <<_ACEOF
13914 extern(C) int pthread_create();
13916 extern(C) int main() {
13917 pthread_create(); return 0;
13920 for ac_lib
in '' pthread
; do
13921 if test -z "$ac_lib"; then
13922 ac_res
="none required"
13925 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13927 if ac_fn_d_try_link
"$LINENO"; then :
13928 ac_cv_search_pthread_create
=$ac_res
13930 rm -f core conftest.err conftest.
$ac_objext \
13932 if test "${ac_cv_search_pthread_create+set}" = set; then :
13936 if test "${ac_cv_search_pthread_create+set}" = set; then :
13939 ac_cv_search_pthread_create
=no
13941 rm conftest.
$ac_ext
13942 LIBS
=$ac_func_search_save_LIBS
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
13945 $as_echo "$ac_cv_search_pthread_create" >&6; }
13946 ac_res
=$ac_cv_search_pthread_create
13947 if test "$ac_res" != no
; then :
13948 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13955 if test "x$enable_thread_lib" = "xno"; then :
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread library" >&5
13958 $as_echo_n "checking for thread library... " >&6; }
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13960 $as_echo "disabled" >&6; }
13964 as_ac_Lib
=`$as_echo "ac_cv_lib_$enable_thread_lib''_pthread_create" | $as_tr_sh`
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -l$enable_thread_lib" >&5
13966 $as_echo_n "checking for pthread_create in -l$enable_thread_lib... " >&6; }
13967 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
13968 $as_echo_n "(cached) " >&6
13970 ac_check_lib_save_LIBS
=$LIBS
13971 LIBS
="-l$enable_thread_lib $LIBS"
13972 cat > conftest.
$ac_ext <<_ACEOF
13974 extern(C) int pthread_create();
13976 extern(C) int main() {
13977 pthread_create(); return 0;
13980 if ac_fn_d_try_link
"$LINENO"; then :
13981 eval "$as_ac_Lib=yes"
13983 eval "$as_ac_Lib=no"
13985 rm -f core conftest.err conftest.
$ac_objext \
13986 conftest
$ac_exeext conftest.
$ac_ext
13987 LIBS
=$ac_check_lib_save_LIBS
13989 eval ac_res
=\$
$as_ac_Lib
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13991 $as_echo "$ac_res" >&6; }
13992 eval as_val
=\$
$as_ac_Lib
13993 if test "x$as_val" = x
""yes; then :
13994 cat >>confdefs.h
<<_ACEOF
13995 #define `$as_echo "HAVE_LIB$enable_thread_lib" | $as_tr_cpp` 1
13998 LIBS
="-l$enable_thread_lib $LIBS"
14002 as_fn_error
"Thread library not found" "$LINENO" 5
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cosf" >&5
14012 $as_echo_n "checking for library containing cosf... " >&6; }
14013 if test "${ac_cv_search_cosf+set}" = set; then :
14014 $as_echo_n "(cached) " >&6
14016 ac_func_search_save_LIBS
=$LIBS
14017 cat > conftest.
$ac_ext <<_ACEOF
14019 extern(C) int cosf();
14021 extern(C) int main() {
14025 for ac_lib
in '' m
; do
14026 if test -z "$ac_lib"; then
14027 ac_res
="none required"
14030 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14032 if ac_fn_d_try_link
"$LINENO"; then :
14033 ac_cv_search_cosf
=$ac_res
14035 rm -f core conftest.err conftest.
$ac_objext \
14037 if test "${ac_cv_search_cosf+set}" = set; then :
14041 if test "${ac_cv_search_cosf+set}" = set; then :
14044 ac_cv_search_cosf
=no
14046 rm conftest.
$ac_ext
14047 LIBS
=$ac_func_search_save_LIBS
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cosf" >&5
14050 $as_echo "$ac_cv_search_cosf" >&6; }
14051 ac_res
=$ac_cv_search_cosf
14052 if test "$ac_res" != no
; then :
14053 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14058 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14059 if test "${ac_cv_search_clock_gettime+set}" = set; then :
14060 $as_echo_n "(cached) " >&6
14062 ac_func_search_save_LIBS
=$LIBS
14063 cat > conftest.
$ac_ext <<_ACEOF
14065 extern(C) int clock_gettime();
14067 extern(C) int main() {
14068 clock_gettime(); return 0;
14071 for ac_lib
in '' rt
; do
14072 if test -z "$ac_lib"; then
14073 ac_res
="none required"
14076 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14078 if ac_fn_d_try_link
"$LINENO"; then :
14079 ac_cv_search_clock_gettime
=$ac_res
14081 rm -f core conftest.err conftest.
$ac_objext \
14083 if test "${ac_cv_search_clock_gettime+set}" = set; then :
14087 if test "${ac_cv_search_clock_gettime+set}" = set; then :
14090 ac_cv_search_clock_gettime
=no
14092 rm conftest.
$ac_ext
14093 LIBS
=$ac_func_search_save_LIBS
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14096 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14097 ac_res
=$ac_cv_search_clock_gettime
14098 if test "$ac_res" != no
; then :
14099 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14104 # This checks to see if the host supports the compiler-generated builtins
14105 # for atomic operations for various integral sizes. Note, this is intended
14106 # to be an all-or-nothing switch, so all the atomic operations that are
14107 # used should be checked.
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for byte" >&5
14109 $as_echo_n "checking for atomic builtins for byte... " >&6; }
14110 if test "${druntime_cv_atomic_byte+set}" = set; then :
14111 $as_echo_n "(cached) " >&6
14114 cat > conftest.
$ac_ext <<_ACEOF
14116 import gcc.builtins;
14118 extern(C) int main() {
14122 __atomic_compare_exchange_1(&c1, &c2, c3, false, 5, 5);
14123 __atomic_load_1(&c1, 5);
14124 __atomic_store_1(&c1, c2, 5);
14129 if ac_fn_d_try_link
"$LINENO"; then :
14130 druntime_cv_atomic_byte
=yes
14132 druntime_cv_atomic_byte
=no
14134 rm -f core conftest.err conftest.
$ac_objext \
14135 conftest
$ac_exeext conftest.
$ac_ext
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_byte" >&5
14140 $as_echo "$druntime_cv_atomic_byte" >&6; }
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
14143 $as_echo_n "checking for atomic builtins for short... " >&6; }
14144 if test "${druntime_cv_atomic_short+set}" = set; then :
14145 $as_echo_n "(cached) " >&6
14148 cat > conftest.
$ac_ext <<_ACEOF
14150 import gcc.builtins;
14152 extern(C) int main() {
14156 __atomic_compare_exchange_2(&c1, &c2, c3, false, 5, 5);
14157 __atomic_load_2(&c1, 5);
14158 __atomic_store_2(&c1, c2, 5);
14163 if ac_fn_d_try_link
"$LINENO"; then :
14164 druntime_cv_atomic_short
=yes
14166 druntime_cv_atomic_short
=no
14168 rm -f core conftest.err conftest.
$ac_objext \
14169 conftest
$ac_exeext conftest.
$ac_ext
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_short" >&5
14174 $as_echo "$druntime_cv_atomic_short" >&6; }
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
14177 $as_echo_n "checking for atomic builtins for int... " >&6; }
14178 if test "${druntime_cv_atomic_int+set}" = set; then :
14179 $as_echo_n "(cached) " >&6
14182 cat > conftest.
$ac_ext <<_ACEOF
14184 import gcc.builtins;
14186 extern(C) int main() {
14190 __atomic_compare_exchange_4(&c1, &c2, c3, false, 5, 5);
14191 __atomic_load_4(&c1, 5);
14192 __atomic_store_4(&c1, c2, 5);
14197 if ac_fn_d_try_link
"$LINENO"; then :
14198 druntime_cv_atomic_int
=yes
14200 druntime_cv_atomic_int
=no
14202 rm -f core conftest.err conftest.
$ac_objext \
14203 conftest
$ac_exeext conftest.
$ac_ext
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_int" >&5
14208 $as_echo "$druntime_cv_atomic_int" >&6; }
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long" >&5
14211 $as_echo_n "checking for atomic builtins for long... " >&6; }
14212 if test "${druntime_cv_atomic_long+set}" = set; then :
14213 $as_echo_n "(cached) " >&6
14216 cat > conftest.
$ac_ext <<_ACEOF
14218 import gcc.builtins;
14220 extern(C) int main() {
14224 __atomic_compare_exchange_8(&c1, &c2, c3, false, 5, 5);
14225 __atomic_load_8(&c1, 5);
14226 __atomic_store_8(&c1, c2, 5);
14231 if ac_fn_d_try_link
"$LINENO"; then :
14232 druntime_cv_atomic_long
=yes
14234 druntime_cv_atomic_long
=no
14236 rm -f core conftest.err conftest.
$ac_objext \
14237 conftest
$ac_exeext conftest.
$ac_ext
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_long" >&5
14242 $as_echo "$druntime_cv_atomic_long" >&6; }
14244 # Have atomic builtin support if all but the long test above passes.
14245 DCFG_HAVE_ATOMIC_BUILTINS
=false
14246 if test "$druntime_cv_atomic_byte" = yes \
14247 && test "$druntime_cv_atomic_short" = yes \
14248 && test "$druntime_cv_atomic_int" = yes; then \
14249 DCFG_HAVE_ATOMIC_BUILTINS
=true
14252 # Have 64-bit atomic support if the long test above passes.
14253 DCFG_HAVE_64BIT_ATOMICS
=false
14254 if test "$druntime_cv_atomic_long" = yes; then
14255 DCFG_HAVE_64BIT_ATOMICS
=true
14262 ac_cpp
='$CPP $CPPFLAGS'
14263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14268 GDCFLAGS
=$gdc_save_DFLAGS
14273 # Check whether --with-libatomic was given.
14274 if test "${with_libatomic+set}" = set; then :
14275 withval
=$with_libatomic;
14279 DCFG_HAVE_LIBATOMIC
=false
14281 if test "x$with_libatomic" != "xno"; then :
14283 DCFG_HAVE_LIBATOMIC
=true
14284 LIBATOMIC
=..
/..
/libatomic
/libatomic_convenience.la
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic" >&5
14289 $as_echo_n "checking for libatomic... " >&6; }
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14291 $as_echo "disabled" >&6; }
14300 ac_cpp
='$CPP $CPPFLAGS'
14301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14305 BACKTRACE_SUPPORTED
=false
14306 BACKTRACE_USES_MALLOC
=false
14307 BACKTRACE_SUPPORTS_THREADS
=false
14311 # Check whether --with-libbacktrace was given.
14312 if test "${with_libbacktrace+set}" = set; then :
14313 withval
=$with_libbacktrace;
14317 if test "x$with_libbacktrace" != "xno"; then :
14319 LIBBACKTRACE
=..
/..
/libbacktrace
/libbacktrace.la
14321 gdc_save_CPPFLAGS
=$CPPFLAGS
14322 CPPFLAGS
+=" -I../libbacktrace "
14324 ac_fn_c_check_header_mongrel
"$LINENO" "backtrace-supported.h" "ac_cv_header_backtrace_supported_h" "$ac_includes_default"
14325 if test "x$ac_cv_header_backtrace_supported_h" = x
""yes; then :
14326 have_libbacktrace_h
=true
14328 have_libbacktrace_h
=false
14333 if $have_libbacktrace_h; then
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_SUPPORTED" >&5
14335 $as_echo_n "checking libbacktrace: BACKTRACE_SUPPORTED... " >&6; }
14336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14339 #include <backtrace-supported.h>
14340 #if BACKTRACE_SUPPORTED
14341 FOUND_LIBBACKTRACE_RESULT_GDC
14345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14346 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14347 BACKTRACE_SUPPORTED
=true
14349 BACKTRACE_SUPPORTED
=false
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_SUPPORTED" >&5
14354 $as_echo "$BACKTRACE_SUPPORTED" >&6; }
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_USES_MALLOC" >&5
14357 $as_echo_n "checking libbacktrace: BACKTRACE_USES_MALLOC... " >&6; }
14358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14359 /* end confdefs.h. */
14361 #include <backtrace-supported.h>
14362 #if BACKTRACE_USES_MALLOC
14363 FOUND_LIBBACKTRACE_RESULT_GDC
14367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14368 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14369 BACKTRACE_USES_MALLOC
=true
14371 BACKTRACE_USES_MALLOC
=false
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_USES_MALLOC" >&5
14376 $as_echo "$BACKTRACE_USES_MALLOC" >&6; }
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_SUPPORTS_THREADS" >&5
14379 $as_echo_n "checking libbacktrace: BACKTRACE_SUPPORTS_THREADS... " >&6; }
14380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14383 #include <backtrace-supported.h>
14384 #if BACKTRACE_SUPPORTS_THREADS
14385 FOUND_LIBBACKTRACE_RESULT_GDC
14389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14390 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14391 BACKTRACE_SUPPORTS_THREADS
=true
14393 BACKTRACE_SUPPORTS_THREADS
=false
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_SUPPORTS_THREADS" >&5
14398 $as_echo "$BACKTRACE_SUPPORTS_THREADS" >&6; }
14400 CPPFLAGS
=$gdc_save_CPPFLAGS
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbacktrace" >&5
14405 $as_echo_n "checking for libbacktrace... " >&6; }
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14407 $as_echo "disabled" >&6; }
14416 ac_cpp
='$CPP $CPPFLAGS'
14417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14423 # Libtool has already checked this, so re-use the inferred dlopen lib.
14424 if test "x$enable_dlopen" = "xyes" && test -n "$lt_cv_dlopen_libs"; then :
14426 LIBS
="$LIBS $lt_cv_dlopen_libs"
14432 # Check whether --with-target-system-zlib was given.
14433 if test "${with_target_system_zlib+set}" = set; then :
14434 withval
=$with_target_system_zlib;
14439 if test "x$with_target_system_zlib" = "xyes"; then :
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
14442 $as_echo_n "checking for deflate in -lz... " >&6; }
14443 if test "${ac_cv_lib_z_deflate+set}" = set; then :
14444 $as_echo_n "(cached) " >&6
14446 ac_check_lib_save_LIBS
=$LIBS
14448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14451 /* Override any GCC internal prototype to avoid an error.
14452 Use char because int might match the return type of a GCC
14453 builtin and then its argument prototype would still apply. */
14466 if ac_fn_c_try_link
"$LINENO"; then :
14467 ac_cv_lib_z_deflate
=yes
14469 ac_cv_lib_z_deflate
=no
14471 rm -f core conftest.err conftest.
$ac_objext \
14472 conftest
$ac_exeext conftest.
$ac_ext
14473 LIBS
=$ac_check_lib_save_LIBS
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
14476 $as_echo "$ac_cv_lib_z_deflate" >&6; }
14477 if test "x$ac_cv_lib_z_deflate" = x
""yes; then :
14483 as_fn_error
"System zlib not found" "$LINENO" 5
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
14491 $as_echo_n "checking for zlib... " >&6; }
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14493 $as_echo "just compiled" >&6; }
14497 if test "$with_target_system_zlib" = yes; then
14498 DRUNTIME_ZLIB_SYSTEM_TRUE
=
14499 DRUNTIME_ZLIB_SYSTEM_FALSE
='#'
14501 DRUNTIME_ZLIB_SYSTEM_TRUE
='#'
14502 DRUNTIME_ZLIB_SYSTEM_FALSE
=
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking D GCC version" >&5
14510 $as_echo_n "checking D GCC version... " >&6; }
14511 gcc_version
=`eval $get_gcc_base_ver $srcdir/../gcc/BASE-VER`
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_version" >&5
14513 $as_echo "$gcc_version" >&6; }
14517 # Check whether --with-cross-host was given.
14518 if test "${with_cross_host+set}" = set; then :
14519 withval
=$with_cross_host;
14526 version_specific_libs
=no
14528 # Version-specific runtime libs processing.
14529 if test $version_specific_libs = yes; then
14530 toolexecdir
='${libdir}/gcc/${host_alias}'
14531 toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
14533 # Calculate toolexecdir, toolexeclibdir
14534 # Install a library built with a cross compiler in tooldir, not libdir.
14535 if test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
14536 toolexecdir
='${exec_prefix}/${host_alias}'
14537 toolexeclibdir
='${toolexecdir}/lib'
14539 toolexecdir
='${libdir}/gcc/${host_alias}'
14540 toolexeclibdir
='${libdir}'
14542 multi_os_directory
=`$GDC -print-multi-os-directory`
14543 case $multi_os_directory in
14544 .
) ;; # Avoid trailing /.
14545 *) toolexeclibdir
=${toolexeclibdir}/${multi_os_directory} ;;
14551 # Default case for install directory for D sources files.
14552 gdc_include_dir
='$(libdir)/gcc/${target_alias}/${gcc_version}/include/d'
14556 # Add dependencies for libgphobos.spec file
14557 SPEC_PHOBOS_DEPS
="$LIBS"
14560 # Libdruntime / phobos soname version
14561 DRUNTIME_SOVERSION
="76:2:0"
14562 PHOBOS_SOVERSION
="76:2:0"
14566 # Set default flags (after DRUNTIME_WERROR!)
14567 if test -z "$GDCFLAGS"; then
14568 GDCFLAGS
="-Wall $WERROR_FLAG -g -frelease -O2"
14572 if test -z "$GDCFLAGSX"; then
14573 GDCFLAGSX
="-Wall $WERROR_FLAG -g -fno-release -funittest"
14577 # Sanity check for the cross-compilation case:
14578 ac_fn_c_check_header_mongrel
"$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
14579 if test "x$ac_cv_header_stdio_h" = x
""yes; then :
14582 as_fn_error
"cannot find stdio.h." "$LINENO" 5
14587 ac_config_files
="$ac_config_files Makefile src/Makefile libdruntime/Makefile testsuite/Makefile"
14590 ac_config_files
="$ac_config_files libdruntime/gcc/config.d libdruntime/gcc/libbacktrace.d"
14592 ac_config_files
="$ac_config_files src/libgphobos.spec"
14594 ac_config_files
="$ac_config_files testsuite/testsuite_flags"
14597 # We need multilib support, but only if configuring for the target.
14598 ac_config_commands
="$ac_config_commands default"
14601 cat >confcache
<<\_ACEOF
14602 # This file is a shell script that caches the results of configure
14603 # tests run on this system so they can be shared between configure
14604 # scripts and configure runs, see configure's option --config-cache.
14605 # It is not useful on other systems. If it contains results you don't
14606 # want to keep, you may remove or edit it.
14608 # config.status only pays attention to the cache file if you give it
14609 # the --recheck option to rerun configure.
14611 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14612 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14613 # following values.
14617 # The following way of writing the cache mishandles newlines in values,
14618 # but we know of no workaround that is simple, portable, and efficient.
14619 # So, we kill variables containing newlines.
14620 # Ultrix sh set writes to stderr and can't be redirected directly,
14621 # and sets the high bit in the cache file unless we assign to the vars.
14623 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14624 eval ac_val
=\$
$ac_var
14628 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14629 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14632 _ | IFS | as_nl
) ;; #(
14633 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14634 *) { eval $ac_var=; unset $ac_var;} ;;
14640 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14641 *${as_nl}ac_space
=\
*)
14642 # `set' does not quote correctly, so add quotes: double-quote
14643 # substitution turns \\\\ into \\, and sed turns \\ into \.
14646 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14649 # `set' quotes correctly as required by POSIX, so do not add quotes.
14650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14659 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14661 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14663 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14664 if test -w "$cache_file"; then
14665 test "x$cache_file" != "x/dev/null" &&
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14667 $as_echo "$as_me: updating cache $cache_file" >&6;}
14668 cat confcache
>$cache_file
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14671 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14676 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14677 # Let make expand exec_prefix.
14678 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14680 DEFS
=-DHAVE_CONFIG_H
14684 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14685 # 1. Remove the extension, and $U if already installed.
14686 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14687 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14688 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14689 # will be set to the directory where LIBOBJS objects are built.
14690 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14691 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14693 LIBOBJS
=$ac_libobjs
14695 LTLIBOBJS
=$ac_ltlibobjs
14698 if test -n "$EXEEXT"; then
14700 am__EXEEXT_FALSE
='#'
14702 am__EXEEXT_TRUE
='#'
14706 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14707 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
14708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14710 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
14711 as_fn_error
"conditional \"ENABLE_SHARED\" was never defined.
14712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14714 if test -z "${ENABLE_STATIC_TRUE}" && test -z "${ENABLE_STATIC_FALSE}"; then
14715 as_fn_error
"conditional \"ENABLE_STATIC\" was never defined.
14716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14718 if test -z "${DRUNTIME_GC_ENABLE_TRUE}" && test -z "${DRUNTIME_GC_ENABLE_FALSE}"; then
14719 as_fn_error
"conditional \"DRUNTIME_GC_ENABLE\" was never defined.
14720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14722 if test -z "${DRUNTIME_OS_UNIX_TRUE}" && test -z "${DRUNTIME_OS_UNIX_FALSE}"; then
14723 as_fn_error
"conditional \"DRUNTIME_OS_UNIX\" was never defined.
14724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14726 if test -z "${DRUNTIME_OS_AIX_TRUE}" && test -z "${DRUNTIME_OS_AIX_FALSE}"; then
14727 as_fn_error
"conditional \"DRUNTIME_OS_AIX\" was never defined.
14728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14730 if test -z "${DRUNTIME_OS_ANDROID_TRUE}" && test -z "${DRUNTIME_OS_ANDROID_FALSE}"; then
14731 as_fn_error
"conditional \"DRUNTIME_OS_ANDROID\" was never defined.
14732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14734 if test -z "${DRUNTIME_OS_DARWIN_TRUE}" && test -z "${DRUNTIME_OS_DARWIN_FALSE}"; then
14735 as_fn_error
"conditional \"DRUNTIME_OS_DARWIN\" was never defined.
14736 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14738 if test -z "${DRUNTIME_OS_DRAGONFLYBSD_TRUE}" && test -z "${DRUNTIME_OS_DRAGONFLYBSD_FALSE}"; then
14739 as_fn_error
"conditional \"DRUNTIME_OS_DRAGONFLYBSD\" was never defined.
14740 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14742 if test -z "${DRUNTIME_OS_FREEBSD_TRUE}" && test -z "${DRUNTIME_OS_FREEBSD_FALSE}"; then
14743 as_fn_error
"conditional \"DRUNTIME_OS_FREEBSD\" was never defined.
14744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14746 if test -z "${DRUNTIME_OS_NETBSD_TRUE}" && test -z "${DRUNTIME_OS_NETBSD_FALSE}"; then
14747 as_fn_error
"conditional \"DRUNTIME_OS_NETBSD\" was never defined.
14748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14750 if test -z "${DRUNTIME_OS_OPENBSD_TRUE}" && test -z "${DRUNTIME_OS_OPENBSD_FALSE}"; then
14751 as_fn_error
"conditional \"DRUNTIME_OS_OPENBSD\" was never defined.
14752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14754 if test -z "${DRUNTIME_OS_LINUX_TRUE}" && test -z "${DRUNTIME_OS_LINUX_FALSE}"; then
14755 as_fn_error
"conditional \"DRUNTIME_OS_LINUX\" was never defined.
14756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14758 if test -z "${DRUNTIME_OS_MINGW_TRUE}" && test -z "${DRUNTIME_OS_MINGW_FALSE}"; then
14759 as_fn_error
"conditional \"DRUNTIME_OS_MINGW\" was never defined.
14760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14762 if test -z "${DRUNTIME_OS_SOLARIS_TRUE}" && test -z "${DRUNTIME_OS_SOLARIS_FALSE}"; then
14763 as_fn_error
"conditional \"DRUNTIME_OS_SOLARIS\" was never defined.
14764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14766 if test -z "${DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE}" && test -z "${DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE}"; then
14767 as_fn_error
"conditional \"DRUNTIME_OS_ARM_EABI_UNWINDER\" was never defined.
14768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14770 if test -z "${DRUNTIME_ZLIB_SYSTEM_TRUE}" && test -z "${DRUNTIME_ZLIB_SYSTEM_FALSE}"; then
14771 as_fn_error
"conditional \"DRUNTIME_ZLIB_SYSTEM\" was never defined.
14772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14775 : ${CONFIG_STATUS=./config.status}
14777 ac_clean_files_save
=$ac_clean_files
14778 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14780 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14782 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14784 # Generated by $as_me.
14785 # Run this file to recreate the current configuration.
14786 # Compiler output produced by configure, useful for debugging
14787 # configure, is in config.log if it exists.
14790 ac_cs_recheck=false
14793 SHELL=\${CONFIG_SHELL-$SHELL}
14796 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14797 ## -------------------- ##
14798 ## M4sh Initialization. ##
14799 ## -------------------- ##
14801 # Be more Bourne compatible
14802 DUALCASE
=1; export DUALCASE
# for MKS sh
14803 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14806 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14807 # is contrary to our usage. Disable this feature.
14808 alias -g '${1+"$@"}'='"$@"'
14809 setopt NO_GLOB_SUBST
14811 case `(set -o) 2>/dev/null` in #(
14823 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14824 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14825 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14826 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14827 # Prefer a ksh shell builtin over an external printf program on Solaris,
14828 # but without wasting forks for bash or zsh.
14829 if test -z "$BASH_VERSION$ZSH_VERSION" \
14830 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14831 as_echo='print
-r --'
14832 as_echo_n='print
-rn --'
14833 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14834 as_echo='printf %s
\n'
14835 as_echo_n='printf %s
'
14837 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14838 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14839 as_echo_n='/usr
/ucb
/echo -n'
14841 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14842 as_echo_n_body='eval
14846 expr "X$arg" : "X\\(.*\\)$as_nl";
14847 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14849 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14851 export as_echo_n_body
14852 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14854 export as_echo_body
14855 as_echo='sh
-c $as_echo_body as_echo
'
14858 # The user is always right.
14859 if test "${PATH_SEPARATOR+set}" != set; then
14861 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14862 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14869 # We need space, tab and new line, in precisely that order. Quoting is
14870 # there to prevent editors from complaining about space-tab.
14871 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14872 # splitting by setting IFS to empty value.)
14875 # Find who we are. Look in the path if we contain no directory separator.
14877 *[\\/]* ) as_myself=$0 ;;
14878 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14879 for as_dir in $PATH
14882 test -z "$as_dir" && as_dir=.
14883 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14889 # We did not find ourselves, most probably we were run as `sh COMMAND'
14890 # in which case we are not to be found in the path.
14891 if test "x$as_myself" = x
; then
14894 if test ! -f "$as_myself"; then
14895 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14899 # Unset variables that we do not need and which cause bugs (e.g. in
14900 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14901 # suppresses any "Segmentation fault" message there. '((' could
14902 # trigger a bug in pdksh 5.2.14.
14903 for as_var
in BASH_ENV ENV MAIL MAILPATH
14904 do eval test x\
${$as_var+set} = xset \
14905 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14918 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14921 # as_fn_error ERROR [LINENO LOG_FD]
14922 # ---------------------------------
14923 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14924 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14925 # script with status $?, using 1 if that was 0.
14928 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14930 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14931 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14933 $as_echo "$as_me: error: $1" >&2
14934 as_fn_exit
$as_status
14938 # as_fn_set_status STATUS
14939 # -----------------------
14940 # Set $? to STATUS, without forking.
14941 as_fn_set_status
()
14944 } # as_fn_set_status
14946 # as_fn_exit STATUS
14947 # -----------------
14948 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14952 as_fn_set_status
$1
14958 # Portably unset VAR.
14961 { eval $1=; unset $1;}
14963 as_unset
=as_fn_unset
14964 # as_fn_append VAR VALUE
14965 # ----------------------
14966 # Append the text in VALUE to the end of the definition contained in VAR. Take
14967 # advantage of any shell optimizations that allow amortized linear growth over
14968 # repeated appends, instead of the typical quadratic growth present in naive
14970 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14971 eval 'as_fn_append ()
14982 # as_fn_arith ARG...
14983 # ------------------
14984 # Perform arithmetic evaluation on the ARGs, and store the result in the
14985 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14986 # must be portable across $(()) and expr.
14987 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14988 eval 'as_fn_arith ()
14995 as_val
=`expr "$@" || test $? -eq 1`
15000 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15001 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15007 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15008 as_basename
=basename
15013 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15019 as_me
=`$as_basename -- "$0" ||
15020 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15021 X"$0" : 'X\(//\)$' \| \
15022 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15024 sed '/^.*\/\([^/][^/]*\)\/*$/{
15038 # Avoid depending upon Character Ranges.
15039 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15040 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15041 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15042 as_cr_digits
='0123456789'
15043 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15045 ECHO_C
= ECHO_N
= ECHO_T
=
15046 case `echo -n x` in #(((((
15048 case `echo 'xy\c'` in
15049 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15051 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15058 rm -f conf$$ conf$$.exe conf$$.
file
15059 if test -d conf$$.dir
; then
15060 rm -f conf$$.dir
/conf$$.
file
15063 mkdir conf$$.dir
2>/dev
/null
15065 if (echo >conf$$.
file) 2>/dev
/null
; then
15066 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15068 # ... but there are two gotchas:
15069 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15070 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15071 # In both cases, we have to default to `cp -p'.
15072 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15074 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15082 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15083 rmdir conf$$.dir
2>/dev
/null
15088 # Create "$as_dir" as a directory, including parents if necessary.
15093 -*) as_dir
=.
/$as_dir;;
15095 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15099 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15100 *) as_qdir
=$as_dir;;
15102 as_dirs
="'$as_qdir' $as_dirs"
15103 as_dir
=`$as_dirname -- "$as_dir" ||
15104 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15105 X"$as_dir" : 'X\(//\)[^/]' \| \
15106 X"$as_dir" : 'X\(//\)$' \| \
15107 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15108 $as_echo X"$as_dir" |
15109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15113 /^X\(\/\/\)[^/].*/{
15126 test -d "$as_dir" && break
15128 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15129 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15133 if mkdir
-p .
2>/dev
/null
; then
15134 as_mkdir_p
='mkdir -p "$as_dir"'
15136 test -d .
/-p && rmdir .
/-p
15140 if test -x / >/dev
/null
2>&1; then
15141 as_test_x
='test -x'
15143 if ls -dL / >/dev
/null
2>&1; then
15150 if test -d "$1"; then
15156 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15157 ???[sx]*):;;*)false;;esac;fi
15161 as_executable_p
=$as_test_x
15163 # Sed expression to map a string onto a valid CPP name.
15164 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15166 # Sed expression to map a string onto a valid variable name.
15167 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15171 ## ----------------------------------- ##
15172 ## Main body of $CONFIG_STATUS script. ##
15173 ## ----------------------------------- ##
15175 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15178 # Save the log message, to keep $0 and so on meaningful, and to
15179 # report actual input values of CONFIG_FILES etc. instead of their
15180 # values after options handling.
15182 This file was extended by package-unused $as_me version-unused, which was
15183 generated by GNU Autoconf 2.64. Invocation command line was
15185 CONFIG_FILES = $CONFIG_FILES
15186 CONFIG_HEADERS = $CONFIG_HEADERS
15187 CONFIG_LINKS = $CONFIG_LINKS
15188 CONFIG_COMMANDS = $CONFIG_COMMANDS
15191 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15196 case $ac_config_files in *"
15197 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15200 case $ac_config_headers in *"
15201 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15206 # Files that config.status was made for.
15207 config_files="$ac_config_files"
15208 config_headers="$ac_config_headers"
15209 config_commands="$ac_config_commands"
15213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15215 \`$as_me' instantiates files and other configuration actions
15216 from templates according to the current configuration. Unless the files
15217 and actions are specified as TAGs, all are instantiated by default.
15219 Usage: $0 [OPTION]... [TAG]...
15221 -h, --help print this help, then exit
15222 -V, --version print version number and configuration settings, then exit
15223 -q, --quiet, --silent
15224 do not print progress messages
15225 -d, --debug don't remove temporary files
15226 --recheck update $as_me by reconfiguring in the same conditions
15227 --file=FILE[:TEMPLATE]
15228 instantiate the configuration file FILE
15229 --header=FILE[:TEMPLATE]
15230 instantiate the configuration header FILE
15232 Configuration files:
15235 Configuration headers:
15238 Configuration commands:
15241 Report bugs to the package provider."
15244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15246 package-unused config.status version-unused
15247 configured by $0, generated by GNU Autoconf 2.64,
15248 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15250 Copyright (C) 2009 Free Software Foundation, Inc.
15251 This config.status script is free software; the Free Software Foundation
15252 gives unlimited permission to copy, distribute and modify it."
15259 test -n "\$AWK" || AWK=awk
15262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15263 # The default lists apply if the user does not specify any file.
15269 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15270 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15281 # Handling of the options.
15282 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15284 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15285 $as_echo "$ac_cs_version"; exit ;;
15286 --debug |
--debu |
--deb |
--de |
--d |
-d )
15288 --file |
--fil |
--fi |
--f )
15291 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15293 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15294 ac_need_defaults
=false
;;
15295 --header |
--heade |
--head |
--hea )
15298 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15300 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15301 ac_need_defaults
=false
;;
15303 # Conflict between --help and --header
15304 as_fn_error
"ambiguous option: \`$1'
15305 Try \`$0 --help' for more information.";;
15306 --help |
--hel |
-h )
15307 $as_echo "$ac_cs_usage"; exit ;;
15308 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15309 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15312 # This is an error.
15313 -*) as_fn_error
"unrecognized option: \`$1'
15314 Try \`$0 --help' for more information." ;;
15316 *) as_fn_append ac_config_targets
" $1"
15317 ac_need_defaults
=false
;;
15323 ac_configure_extra_args
=
15325 if $ac_cs_silent; then
15327 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15332 if \$ac_cs_recheck; then
15333 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15335 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15336 CONFIG_SHELL='$SHELL'
15337 export CONFIG_SHELL
15342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15346 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15347 ## Running $as_me. ##
15353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15361 with_multisubdir="$with_multisubdir"
15362 with_multisrctop="$with_multisrctop"
15363 with_target_subdir="$with_target_subdir"
15364 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15365 multi_basedir="$multi_basedir"
15366 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15369 GFORTRAN="$GFORTRAN"
15373 # The HP-UX ksh and POSIX shell print the target directory to stdout
15374 # if CDPATH is set.
15375 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15377 sed_quote_subst='$sed_quote_subst'
15378 double_quote_subst='$double_quote_subst'
15379 delay_variable_subst='$delay_variable_subst'
15380 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15381 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15382 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15383 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15384 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15385 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15386 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15387 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15388 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15389 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15390 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15391 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15392 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15393 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15394 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15395 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15396 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15397 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15398 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15399 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15400 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15401 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15402 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15403 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15404 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15405 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15406 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15407 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15408 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15409 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15410 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15411 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15412 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15413 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15414 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15415 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15416 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15417 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15418 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15419 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15420 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15421 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15422 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15423 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15424 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15425 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15426 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15427 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15428 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"`'
15429 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15430 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15431 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15432 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15433 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15434 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15435 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15436 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15437 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15438 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15439 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15440 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15441 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15442 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15443 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15444 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15445 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15446 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15447 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15448 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15449 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15450 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15451 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15452 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15453 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15454 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15455 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15456 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15457 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15458 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15459 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15460 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15461 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15462 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15463 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15464 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15465 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15466 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15467 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15468 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15469 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15470 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15471 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15472 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15473 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15474 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15475 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15476 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15477 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15478 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15479 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15480 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15481 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15482 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15483 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15484 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15485 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15486 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15487 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15488 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15489 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15490 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15491 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15492 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15493 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15494 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15495 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15496 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15497 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15498 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15499 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15500 LD_D='`$ECHO "$LD_D" | $SED "$delay_single_quote_subst"`'
15501 reload_flag_D='`$ECHO "$reload_flag_D" | $SED "$delay_single_quote_subst"`'
15502 reload_cmds_D='`$ECHO "$reload_cmds_D" | $SED "$delay_single_quote_subst"`'
15503 old_archive_cmds_D='`$ECHO "$old_archive_cmds_D" | $SED "$delay_single_quote_subst"`'
15504 compiler_D='`$ECHO "$compiler_D" | $SED "$delay_single_quote_subst"`'
15505 GCC_D='`$ECHO "$GCC_D" | $SED "$delay_single_quote_subst"`'
15506 lt_prog_compiler_no_builtin_flag_D='`$ECHO "$lt_prog_compiler_no_builtin_flag_D" | $SED "$delay_single_quote_subst"`'
15507 lt_prog_compiler_wl_D='`$ECHO "$lt_prog_compiler_wl_D" | $SED "$delay_single_quote_subst"`'
15508 lt_prog_compiler_pic_D='`$ECHO "$lt_prog_compiler_pic_D" | $SED "$delay_single_quote_subst"`'
15509 lt_prog_compiler_static_D='`$ECHO "$lt_prog_compiler_static_D" | $SED "$delay_single_quote_subst"`'
15510 lt_cv_prog_compiler_c_o_D='`$ECHO "$lt_cv_prog_compiler_c_o_D" | $SED "$delay_single_quote_subst"`'
15511 archive_cmds_need_lc_D='`$ECHO "$archive_cmds_need_lc_D" | $SED "$delay_single_quote_subst"`'
15512 enable_shared_with_static_runtimes_D='`$ECHO "$enable_shared_with_static_runtimes_D" | $SED "$delay_single_quote_subst"`'
15513 export_dynamic_flag_spec_D='`$ECHO "$export_dynamic_flag_spec_D" | $SED "$delay_single_quote_subst"`'
15514 whole_archive_flag_spec_D='`$ECHO "$whole_archive_flag_spec_D" | $SED "$delay_single_quote_subst"`'
15515 compiler_needs_object_D='`$ECHO "$compiler_needs_object_D" | $SED "$delay_single_quote_subst"`'
15516 old_archive_from_new_cmds_D='`$ECHO "$old_archive_from_new_cmds_D" | $SED "$delay_single_quote_subst"`'
15517 old_archive_from_expsyms_cmds_D='`$ECHO "$old_archive_from_expsyms_cmds_D" | $SED "$delay_single_quote_subst"`'
15518 archive_cmds_D='`$ECHO "$archive_cmds_D" | $SED "$delay_single_quote_subst"`'
15519 archive_expsym_cmds_D='`$ECHO "$archive_expsym_cmds_D" | $SED "$delay_single_quote_subst"`'
15520 module_cmds_D='`$ECHO "$module_cmds_D" | $SED "$delay_single_quote_subst"`'
15521 module_expsym_cmds_D='`$ECHO "$module_expsym_cmds_D" | $SED "$delay_single_quote_subst"`'
15522 with_gnu_ld_D='`$ECHO "$with_gnu_ld_D" | $SED "$delay_single_quote_subst"`'
15523 allow_undefined_flag_D='`$ECHO "$allow_undefined_flag_D" | $SED "$delay_single_quote_subst"`'
15524 no_undefined_flag_D='`$ECHO "$no_undefined_flag_D" | $SED "$delay_single_quote_subst"`'
15525 hardcode_libdir_flag_spec_D='`$ECHO "$hardcode_libdir_flag_spec_D" | $SED "$delay_single_quote_subst"`'
15526 hardcode_libdir_flag_spec_ld_D='`$ECHO "$hardcode_libdir_flag_spec_ld_D" | $SED "$delay_single_quote_subst"`'
15527 hardcode_libdir_separator_D='`$ECHO "$hardcode_libdir_separator_D" | $SED "$delay_single_quote_subst"`'
15528 hardcode_direct_D='`$ECHO "$hardcode_direct_D" | $SED "$delay_single_quote_subst"`'
15529 hardcode_direct_absolute_D='`$ECHO "$hardcode_direct_absolute_D" | $SED "$delay_single_quote_subst"`'
15530 hardcode_minus_L_D='`$ECHO "$hardcode_minus_L_D" | $SED "$delay_single_quote_subst"`'
15531 hardcode_shlibpath_var_D='`$ECHO "$hardcode_shlibpath_var_D" | $SED "$delay_single_quote_subst"`'
15532 hardcode_automatic_D='`$ECHO "$hardcode_automatic_D" | $SED "$delay_single_quote_subst"`'
15533 inherit_rpath_D='`$ECHO "$inherit_rpath_D" | $SED "$delay_single_quote_subst"`'
15534 link_all_deplibs_D='`$ECHO "$link_all_deplibs_D" | $SED "$delay_single_quote_subst"`'
15535 fix_srcfile_path_D='`$ECHO "$fix_srcfile_path_D" | $SED "$delay_single_quote_subst"`'
15536 always_export_symbols_D='`$ECHO "$always_export_symbols_D" | $SED "$delay_single_quote_subst"`'
15537 export_symbols_cmds_D='`$ECHO "$export_symbols_cmds_D" | $SED "$delay_single_quote_subst"`'
15538 exclude_expsyms_D='`$ECHO "$exclude_expsyms_D" | $SED "$delay_single_quote_subst"`'
15539 include_expsyms_D='`$ECHO "$include_expsyms_D" | $SED "$delay_single_quote_subst"`'
15540 prelink_cmds_D='`$ECHO "$prelink_cmds_D" | $SED "$delay_single_quote_subst"`'
15541 file_list_spec_D='`$ECHO "$file_list_spec_D" | $SED "$delay_single_quote_subst"`'
15542 hardcode_action_D='`$ECHO "$hardcode_action_D" | $SED "$delay_single_quote_subst"`'
15545 LTCFLAGS='$LTCFLAGS'
15546 compiler='$compiler_DEFAULT'
15548 # A function that is used when there is no print builtin or printf.
15549 func_fallback_echo ()
15551 eval 'cat <<_LTECHO_EOF
15556 # Quote evaled strings.
15570 deplibs_check_method \
15579 lt_cv_sys_global_symbol_pipe \
15580 lt_cv_sys_global_symbol_to_cdecl \
15581 lt_cv_sys_global_symbol_to_c_name_address \
15582 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15583 lt_prog_compiler_no_builtin_flag \
15584 lt_prog_compiler_wl \
15585 lt_prog_compiler_pic \
15586 lt_prog_compiler_static \
15587 lt_cv_prog_compiler_c_o \
15595 export_dynamic_flag_spec \
15596 whole_archive_flag_spec \
15597 compiler_needs_object \
15599 allow_undefined_flag \
15600 no_undefined_flag \
15601 hardcode_libdir_flag_spec \
15602 hardcode_libdir_flag_spec_ld \
15603 hardcode_libdir_separator \
15608 variables_saved_for_relink \
15610 library_names_spec \
15612 install_override_mode \
15619 lt_prog_compiler_no_builtin_flag_D \
15620 lt_prog_compiler_wl_D \
15621 lt_prog_compiler_pic_D \
15622 lt_prog_compiler_static_D \
15623 lt_cv_prog_compiler_c_o_D \
15624 export_dynamic_flag_spec_D \
15625 whole_archive_flag_spec_D \
15626 compiler_needs_object_D \
15628 allow_undefined_flag_D \
15629 no_undefined_flag_D \
15630 hardcode_libdir_flag_spec_D \
15631 hardcode_libdir_flag_spec_ld_D \
15632 hardcode_libdir_separator_D \
15633 fix_srcfile_path_D \
15634 exclude_expsyms_D \
15635 include_expsyms_D \
15636 file_list_spec_D; do
15637 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15638 *[\\\\\\\`\\"\\\$]*)
15639 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15642 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15647 # Double-quote double-evaled strings.
15648 for var in reload_cmds \
15649 old_postinstall_cmds \
15650 old_postuninstall_cmds \
15652 extract_expsyms_cmds \
15653 old_archive_from_new_cmds \
15654 old_archive_from_expsyms_cmds \
15656 archive_expsym_cmds \
15658 module_expsym_cmds \
15659 export_symbols_cmds \
15662 postuninstall_cmds \
15664 sys_lib_search_path_spec \
15665 sys_lib_dlsearch_path_spec \
15667 old_archive_cmds_D \
15668 old_archive_from_new_cmds_D \
15669 old_archive_from_expsyms_cmds_D \
15671 archive_expsym_cmds_D \
15673 module_expsym_cmds_D \
15674 export_symbols_cmds_D \
15676 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15677 *[\\\\\\\`\\"\\\$]*)
15678 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15681 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15686 ac_aux_dir='$ac_aux_dir'
15687 xsi_shell='$xsi_shell'
15688 lt_shell_append='$lt_shell_append'
15690 # See if we are running on zsh, and set the options which allow our
15691 # commands through without removal of \ escapes INIT.
15692 if test -n "\${ZSH_VERSION+set}" ; then
15693 setopt NO_GLOB_SUBST
15699 TIMESTAMP='$TIMESTAMP'
15708 # Variables needed in config.status (file generation) which aren't already
15709 # passed by autoconf.
15715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15717 # Handling of arguments.
15718 for ac_config_target
in $ac_config_targets
15720 case $ac_config_target in
15721 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15722 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15723 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15724 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15725 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
15726 "libdruntime/Makefile") CONFIG_FILES
="$CONFIG_FILES libdruntime/Makefile" ;;
15727 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
15728 "libdruntime/gcc/config.d") CONFIG_FILES
="$CONFIG_FILES libdruntime/gcc/config.d" ;;
15729 "libdruntime/gcc/libbacktrace.d") CONFIG_FILES
="$CONFIG_FILES libdruntime/gcc/libbacktrace.d" ;;
15730 "src/libgphobos.spec") CONFIG_FILES
="$CONFIG_FILES src/libgphobos.spec" ;;
15731 "testsuite/testsuite_flags") CONFIG_FILES
="$CONFIG_FILES testsuite/testsuite_flags" ;;
15732 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15734 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15739 # If the user did not use the arguments to specify the items to instantiate,
15740 # then the envvar interface is used. Set only those that are not.
15741 # We use the long form for the default assignment because of an extremely
15742 # bizarre bug on SunOS 4.1.3.
15743 if $ac_need_defaults; then
15744 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15745 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15746 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15749 # Have a temporary directory for convenience. Make it in the build tree
15750 # simply because there is no reason against having it here, and in addition,
15751 # creating and moving files from /tmp can sometimes cause problems.
15752 # Hook for its removal unless debugging.
15753 # Note that there is a small window in which the directory will not be cleaned:
15754 # after its creation but before its name has been assigned to `$tmp'.
15758 trap 'exit_status=$?
15759 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15761 trap 'as_fn_exit 1' 1 2 13 15
15763 # Create a (secure) tmp directory for tmp files.
15766 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15767 test -n "$tmp" && test -d "$tmp"
15770 tmp
=.
/conf$$
-$RANDOM
15771 (umask 077 && mkdir
"$tmp")
15772 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15774 # Set up the scripts for CONFIG_FILES section.
15775 # No need to generate them if there are no CONFIG_FILES.
15776 # This happens for instance with `./config.status config.h'.
15777 if test -n "$CONFIG_FILES"; then
15780 ac_cr
=`echo X | tr X '\015'`
15781 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15782 # But we know of no other shell where ac_cr would be empty at this
15783 # point, so we can use a bashism as a fallback.
15784 if test "x$ac_cr" = x
; then
15785 eval ac_cr
=\$
\'\\r
\'
15787 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15788 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15791 ac_cs_awk_cr
=$ac_cr
15794 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15799 echo "cat >conf$$subs.awk <<_ACEOF" &&
15800 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15802 } >conf$$subs.sh ||
15803 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15804 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15806 for ac_last_try in false false false false false :; do
15807 . ./conf$$subs.sh ||
15808 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15810 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15811 if test $ac_delim_n = $ac_delim_num; then
15813 elif $ac_last_try; then
15814 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15816 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15819 rm -f conf$$subs.sh
15821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15822 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15826 s/^/S["/; s
/!.
*/"]=/
15836 s/\(.\{148\}\).*/\1/
15838 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15843 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15850 s/\(.\{148\}\).*/\1/
15852 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15856 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15861 ' <conf$$subs.awk | sed '
15866 ' >>$CONFIG_STATUS || ac_write_fail=1
15867 rm -f conf$$subs.awk
15868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15870 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15871 for (key in S) S_is_set[key] = 1
15877 nfields = split(line, field, "@
")
15879 len = length(field[1])
15880 for (i = 2; i < nfields; i++) {
15882 keylen = length(key)
15883 if (S_is_set[key]) {
15885 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15886 len += length(value) + length(field[++i])
15897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15898 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15899 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15902 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15903 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15906 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15907 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15908 # trailing colons and then remove the whole line if VPATH becomes empty
15909 # (actually we leave an empty line to preserve line numbers).
15910 if test "x
$srcdir" = x.; then
15911 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15912 s/:*\$(srcdir):*/:/
15913 s/:*\${srcdir}:*/:/
15915 s/^\([^=]*=[ ]*\):*/\1/
15921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15922 fi # test -n "$CONFIG_FILES"
15924 # Set up the scripts for CONFIG_HEADERS section.
15925 # No need to generate them if there are no CONFIG_HEADERS.
15926 # This happens for instance with `./config.status Makefile'.
15927 if test -n "$CONFIG_HEADERS"; then
15928 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15932 # Transform confdefs.h into an awk script `defines.awk', embedded as
15933 # here-document in config.status, that substitutes the proper values into
15934 # config.h.in to produce config.h.
15936 # Create a delimiter string that does not exist in confdefs.h, to ease
15937 # handling of long lines.
15939 for ac_last_try in false false :; do
15940 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15941 if test -z "$ac_t"; then
15943 elif $ac_last_try; then
15944 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15946 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15950 # For the awk script, D is an array of macro values keyed by name,
15951 # likewise P contains macro parameters if any. Preserve backslash
15952 # newline sequences.
15954 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15956 s/.\{148\}/&'"$ac_delim"'/g
15959 s/^[ ]*#[ ]*define[ ][ ]*/ /
15966 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15968 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15972 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15973 D["\
1"]=" \
3\\\\\\n
"\\/p
15975 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15980 s/.\{148\}/&'"$ac_delim"'/g
15985 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15988 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15990 ' <confdefs.h | sed '
15991 s/'"$ac_delim"'/"\\\
15992 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15995 for (key in D) D_is_set[key] = 1
15998 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16000 split(line, arg, " ")
16001 if (arg[1] == "#") {
16005 defundef
= substr
(arg
[1], 2)
16008 split(mac1
, mac2
, "(") #)
16010 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16011 if (D_is_set
[macro
]) {
16012 # Preserve the white space surrounding the "#".
16013 print prefix
"define", macro P
[macro
] D
[macro
]
16016 # Replace #undef with comments. This is necessary, for example,
16017 # in the case of _POSIX_SOURCE, which is predefined and required
16018 # on some systems where configure will not decide to define it.
16019 if (defundef
== "undef") {
16020 print
"/*", prefix defundef
, macro
, "*/"
16028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16029 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16030 fi # test -n "$CONFIG_HEADERS"
16033 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16038 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16040 case $ac_mode$ac_tag in
16042 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16043 :[FH
]-) ac_tag
=-:-;;
16044 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16061 -) ac_f
="$tmp/stdin";;
16062 *) # Look for the file first in the build tree, then in the source tree
16063 # (if the path is not absolute). The absolute path cannot be DOS-style,
16064 # because $ac_f cannot contain `:'.
16068 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16070 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16072 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16073 as_fn_append ac_file_inputs
" '$ac_f'"
16076 # Let's still pretend it is `configure' which instantiates (i.e., don't
16077 # use $as_me), people would be surprised to read:
16078 # /* config.h. Generated by config.status. */
16079 configure_input
='Generated from '`
16080 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16082 if test x
"$ac_file" != x-
; then
16083 configure_input
="$ac_file. $configure_input"
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16085 $as_echo "$as_me: creating $ac_file" >&6;}
16087 # Neutralize special characters interpreted by sed in replacement strings.
16088 case $configure_input in #(
16089 *\
&* |
*\|
* |
*\\* )
16090 ac_sed_conf_input
=`$as_echo "$configure_input" |
16091 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16092 *) ac_sed_conf_input
=$configure_input;;
16096 *:-:* |
*:-) cat >"$tmp/stdin" \
16097 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16102 ac_dir
=`$as_dirname -- "$ac_file" ||
16103 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16104 X"$ac_file" : 'X\(//\)[^/]' \| \
16105 X"$ac_file" : 'X\(//\)$' \| \
16106 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16107 $as_echo X"$ac_file" |
16108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16112 /^X\(\/\/\)[^/].*/{
16125 as_dir
="$ac_dir"; as_fn_mkdir_p
16129 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16131 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16132 # A ".." for each directory in $ac_dir_suffix.
16133 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16134 case $ac_top_builddir_sub in
16135 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16136 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16139 ac_abs_top_builddir
=$ac_pwd
16140 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16141 # for backward compatibility:
16142 ac_top_builddir
=$ac_top_build_prefix
16145 .
) # We are building in place.
16147 ac_top_srcdir
=$ac_top_builddir_sub
16148 ac_abs_top_srcdir
=$ac_pwd ;;
16149 [\\/]* | ?
:[\\/]* ) # Absolute name.
16150 ac_srcdir
=$srcdir$ac_dir_suffix;
16151 ac_top_srcdir
=$srcdir
16152 ac_abs_top_srcdir
=$srcdir ;;
16153 *) # Relative name.
16154 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16155 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16156 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16158 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16168 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16169 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16171 ac_MKDIR_P
=$MKDIR_P
16173 [\\/$
]* | ?
:[\\/]* ) ;;
16174 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16179 # If the template does not know about datarootdir, expand it.
16180 # FIXME: This hack should be removed a few years after 2.60.
16181 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16192 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16193 *datarootdir
*) ac_datarootdir_seen
=yes;;
16194 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16196 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16199 ac_datarootdir_hack='
16200 s&@datadir@&$datadir&g
16201 s&@docdir@&$docdir&g
16202 s&@infodir@&$infodir&g
16203 s&@localedir@&$localedir&g
16204 s&@mandir@&$mandir&g
16205 s&\\\${datarootdir}&$datarootdir&g' ;;
16209 # Neutralize VPATH when `$srcdir' = `.'.
16210 # Shell code in configure.ac might set extrasub.
16211 # FIXME: do we really want to maintain this feature?
16212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16213 ac_sed_extra="$ac_vpsub
16216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16218 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16219 s|@configure_input@|
$ac_sed_conf_input|
;t t
16220 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16221 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16222 s
&@srcdir@
&$ac_srcdir&;t t
16223 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16224 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16225 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16226 s
&@builddir@
&$ac_builddir&;t t
16227 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16228 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16229 s
&@INSTALL@
&$ac_INSTALL&;t t
16230 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16231 $ac_datarootdir_hack
16233 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
16234 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16236 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16237 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16238 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16240 which seems to be undefined. Please make sure it is defined." >&5
16241 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16242 which seems to be undefined. Please make sure it is defined." >&2;}
16246 -) cat "$tmp/out" && rm -f "$tmp/out";;
16247 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16249 || as_fn_error "could not create $ac_file" "$LINENO" 5
16255 if test x"$ac_file" != x-; then
16257 $as_echo "/* $configure_input */" \
16258 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16259 } >"$tmp/config.h" \
16260 || as_fn_error "could not create $ac_file" "$LINENO" 5
16261 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16263 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16266 mv "$tmp/config.h" "$ac_file" \
16267 || as_fn_error "could not create $ac_file" "$LINENO" 5
16270 $as_echo "/* $configure_input */" \
16271 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16272 || as_fn_error "could not create -" "$LINENO" 5
16274 # Compute "$ac_file"'s index
in $config_headers.
16277 for _am_header
in $config_headers :; do
16278 case $_am_header in
16279 $_am_arg |
$_am_arg:* )
16282 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16285 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16286 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16287 X"$_am_arg" : 'X\(//\)[^/]' \| \
16288 X"$_am_arg" : 'X\(//\)$' \| \
16289 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16290 $as_echo X"$_am_arg" |
16291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16295 /^X\(\/\/\)[^/].*/{
16307 s/.*/./; q'`/stamp-h
$_am_stamp_count
16310 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16311 $as_echo "$as_me: executing $ac_file commands" >&6;}
16316 case $ac_file$ac_mode in
16318 # Only add multilib support code if we just rebuilt the top-level
16320 case " $CONFIG_FILES " in
16322 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16327 # See if we are running on zsh, and set the options which allow our
16328 # commands through without removal of \ escapes.
16329 if test -n "${ZSH_VERSION+set}" ; then
16330 setopt NO_GLOB_SUBST
16333 cfgfile
="${ofile}T"
16334 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16337 cat <<_LT_EOF >> "$cfgfile"
16340 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16341 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16342 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16343 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16345 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16346 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16347 # Written by Gordon Matzigkeit, 1996
16349 # This file is part of GNU Libtool.
16351 # GNU Libtool is free software; you can redistribute it and/or
16352 # modify it under the terms of the GNU General Public License as
16353 # published by the Free Software Foundation; either version 2 of
16354 # the License, or (at your option) any later version.
16356 # As a special exception to the GNU General Public License,
16357 # if you distribute this file as part of a program or library that
16358 # is built using GNU Libtool, you may include this file under the
16359 # same distribution terms that you use for the rest of that program.
16361 # GNU Libtool is distributed in the hope that it will be useful,
16362 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16363 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16364 # GNU General Public License for more details.
16366 # You should have received a copy of the GNU General Public License
16367 # along with GNU Libtool; see the file COPYING. If not, a copy
16368 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16369 # obtained by writing to the Free Software Foundation, Inc.,
16370 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16373 # The names of the tagged configurations supported by this script.
16374 available_tags="D "
16376 # ### BEGIN LIBTOOL CONFIG
16378 # Which release of libtool.m4 was used?
16379 macro_version=$macro_version
16380 macro_revision=$macro_revision
16382 # Whether or not to build shared libraries.
16383 build_libtool_libs=$enable_shared
16385 # Whether or not to build static libraries.
16386 build_old_libs=$enable_static
16388 # What type of objects to build.
16391 # Whether or not to optimize for fast installation.
16392 fast_install=$enable_fast_install
16394 # Shell to use when invoking shell scripts.
16397 # An echo program that protects backslashes.
16401 host_alias=$host_alias
16405 # The build system.
16406 build_alias=$build_alias
16410 # A sed program that does not truncate output.
16413 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16414 Xsed="\$SED -e 1s/^X//"
16416 # A grep program that handles long lines.
16422 # A literal string matcher.
16425 # A BSD- or MS-compatible name lister.
16428 # Whether we need soft or hard links.
16431 # What is the maximum length of a command?
16432 max_cmd_len=$max_cmd_len
16434 # Object file suffix (normally "o").
16437 # Executable file suffix (normally "").
16440 # whether the shell understands "unset".
16443 # turn spaces into newlines.
16446 # turn newlines into spaces.
16449 # An object symbol dumper.
16450 OBJDUMP=$lt_OBJDUMP
16452 # Method to check whether dependent libraries are shared objects.
16453 deplibs_check_method=$lt_deplibs_check_method
16455 # Command to use when deplibs_check_method == "file_magic".
16456 file_magic_cmd=$lt_file_magic_cmd
16460 AR_FLAGS=$lt_AR_FLAGS
16462 # A symbol stripping program.
16465 # Commands used to install an old-style archive.
16467 old_postinstall_cmds=$lt_old_postinstall_cmds
16468 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16470 # Whether to use a lock for old archive extraction.
16471 lock_old_archive_extraction=$lock_old_archive_extraction
16476 # LTCC compiler flags.
16477 LTCFLAGS=$lt_CFLAGS
16479 # Take the output of nm and produce a listing of raw symbols and C names.
16480 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16482 # Transform the output of nm in a proper C declaration.
16483 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16485 # Transform the output of nm in a C name address pair.
16486 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16488 # Transform the output of nm in a C name address pair when lib prefix is needed.
16489 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16491 # The name of the directory that contains temporary libtool files.
16494 # Used to examine libraries when file_magic_cmd begins with "file".
16495 MAGIC_CMD=$MAGIC_CMD
16497 # Must we lock files when doing compilation?
16498 need_locks=$lt_need_locks
16500 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16501 DSYMUTIL=$lt_DSYMUTIL
16503 # Tool to change global to local symbols on Mac OS X.
16506 # Tool to manipulate fat objects and archives on Mac OS X.
16509 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16512 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16513 OTOOL64=$lt_OTOOL64
16515 # Old archive suffix (normally "a").
16518 # Shared library suffix (normally ".so").
16519 shrext_cmds=$lt_shrext_cmds
16521 # The commands to extract the exported symbol list from a shared archive.
16522 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16524 # Variables whose values should be saved in libtool wrapper scripts and
16525 # restored at link time.
16526 variables_saved_for_relink=$lt_variables_saved_for_relink
16528 # Do we need the "lib" prefix for modules?
16529 need_lib_prefix=$need_lib_prefix
16531 # Do we need a version for libraries?
16532 need_version=$need_version
16534 # Library versioning type.
16535 version_type=$version_type
16537 # Shared library runtime path variable.
16538 runpath_var=$runpath_var
16540 # Shared library path variable.
16541 shlibpath_var=$shlibpath_var
16543 # Is shlibpath searched before the hard-coded library search path?
16544 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16546 # Format of library name prefix.
16547 libname_spec=$lt_libname_spec
16549 # List of archive names. First name is the real one, the rest are links.
16550 # The last name is the one that the linker finds with -lNAME
16551 library_names_spec=$lt_library_names_spec
16553 # The coded name of the library, if different from the real name.
16554 soname_spec=$lt_soname_spec
16556 # Permission mode override for installation of shared libraries.
16557 install_override_mode=$lt_install_override_mode
16559 # Command to use after installation of a shared archive.
16560 postinstall_cmds=$lt_postinstall_cmds
16562 # Command to use after uninstallation of a shared archive.
16563 postuninstall_cmds=$lt_postuninstall_cmds
16565 # Commands used to finish a libtool library installation in a directory.
16566 finish_cmds=$lt_finish_cmds
16568 # As "finish_cmds", except a single script fragment to be evaled but
16570 finish_eval=$lt_finish_eval
16572 # Whether we should hardcode library paths into libraries.
16573 hardcode_into_libs=$hardcode_into_libs
16575 # Compile-time system search path for libraries.
16576 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16578 # Run-time system search path for libraries.
16579 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16581 # Whether dlopen is supported.
16582 dlopen_support=$enable_dlopen
16584 # Whether dlopen of programs is supported.
16585 dlopen_self=$enable_dlopen_self
16587 # Whether dlopen of statically linked programs is supported.
16588 dlopen_self_static=$enable_dlopen_self_static
16590 # Commands to strip libraries.
16591 old_striplib=$lt_old_striplib
16592 striplib=$lt_striplib
16595 # The linker used to build libraries.
16598 # How to create reloadable object files.
16599 reload_flag=$lt_reload_flag
16600 reload_cmds=$lt_reload_cmds
16602 # Commands used to build an old-style archive.
16603 old_archive_cmds=$lt_old_archive_cmds
16605 # A language specific compiler.
16608 # Is the compiler the GNU compiler?
16611 # Compiler flag to turn off builtin functions.
16612 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16614 # How to pass a linker flag through the compiler.
16615 wl=$lt_lt_prog_compiler_wl
16617 # Additional compiler flags for building library objects.
16618 pic_flag=$lt_lt_prog_compiler_pic
16620 # Compiler flag to prevent dynamic linking.
16621 link_static_flag=$lt_lt_prog_compiler_static
16623 # Does compiler simultaneously support -c and -o options?
16624 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16626 # Whether or not to add -lc for building shared libraries.
16627 build_libtool_need_lc=$archive_cmds_need_lc
16629 # Whether or not to disallow shared libs when runtime libs are static.
16630 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16632 # Compiler flag to allow reflexive dlopens.
16633 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16635 # Compiler flag to generate shared objects directly from archives.
16636 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16638 # Whether the compiler copes with passing no objects directly.
16639 compiler_needs_object=$lt_compiler_needs_object
16641 # Create an old-style archive from a shared archive.
16642 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16644 # Create a temporary old-style archive to link instead of a shared archive.
16645 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16647 # Commands used to build a shared archive.
16648 archive_cmds=$lt_archive_cmds
16649 archive_expsym_cmds=$lt_archive_expsym_cmds
16651 # Commands used to build a loadable module if different from building
16652 # a shared archive.
16653 module_cmds=$lt_module_cmds
16654 module_expsym_cmds=$lt_module_expsym_cmds
16656 # Whether we are building with GNU ld or not.
16657 with_gnu_ld=$lt_with_gnu_ld
16659 # Flag that allows shared libraries with undefined symbols to be built.
16660 allow_undefined_flag=$lt_allow_undefined_flag
16662 # Flag that enforces no undefined symbols.
16663 no_undefined_flag=$lt_no_undefined_flag
16665 # Flag to hardcode \$libdir into a binary during linking.
16666 # This must work even if \$libdir does not exist
16667 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16669 # If ld is used when linking, flag to hardcode \$libdir into a binary
16670 # during linking. This must work even if \$libdir does not exist.
16671 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16673 # Whether we need a single "-rpath" flag with a separated argument.
16674 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16676 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16677 # DIR into the resulting binary.
16678 hardcode_direct=$hardcode_direct
16680 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16681 # DIR into the resulting binary and the resulting library dependency is
16682 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16683 # library is relocated.
16684 hardcode_direct_absolute=$hardcode_direct_absolute
16686 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16687 # into the resulting binary.
16688 hardcode_minus_L=$hardcode_minus_L
16690 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16691 # into the resulting binary.
16692 hardcode_shlibpath_var=$hardcode_shlibpath_var
16694 # Set to "yes" if building a shared library automatically hardcodes DIR
16695 # into the library and all subsequent libraries and executables linked
16697 hardcode_automatic=$hardcode_automatic
16699 # Set to yes if linker adds runtime paths of dependent libraries
16700 # to runtime path list.
16701 inherit_rpath=$inherit_rpath
16703 # Whether libtool must link a program against all its dependency libraries.
16704 link_all_deplibs=$link_all_deplibs
16706 # Fix the shell variable \$srcfile for the compiler.
16707 fix_srcfile_path=$lt_fix_srcfile_path
16709 # Set to "yes" if exported symbols are required.
16710 always_export_symbols=$always_export_symbols
16712 # The commands to list exported symbols.
16713 export_symbols_cmds=$lt_export_symbols_cmds
16715 # Symbols that should not be listed in the preloaded symbols.
16716 exclude_expsyms=$lt_exclude_expsyms
16718 # Symbols that must always be exported.
16719 include_expsyms=$lt_include_expsyms
16721 # Commands necessary for linking programs (against libraries) with templates.
16722 prelink_cmds=$lt_prelink_cmds
16724 # Specify filename containing input files.
16725 file_list_spec=$lt_file_list_spec
16727 # How to hardcode a shared library path into an executable.
16728 hardcode_action=$hardcode_action
16730 # ### END LIBTOOL CONFIG
16736 cat <<\_LT_EOF
>> "$cfgfile"
16737 # AIX sometimes has problems with the GCC collect2 program. For some
16738 # reason, if we set the COLLECT_NAMES environment variable, the problems
16739 # vanish in a puff of smoke.
16740 if test "X${COLLECT_NAMES+set}" != Xset
; then
16742 export COLLECT_NAMES
16749 ltmain
="$ac_aux_dir/ltmain.sh"
16752 # We use sed instead of cat because bash on DJGPP gets confused if
16753 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16754 # text mode, it properly converts lines to CR/LF. This bash problem
16755 # is reportedly fixed, but why not run on old versions too?
16756 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16757 ||
(rm -f "$cfgfile"; exit 1)
16761 cat << \_LT_EOF
>> "$cfgfile"
16763 # func_dirname file append nondir_replacement
16764 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16765 # otherwise set result to NONDIR_REPLACEMENT.
16769 */*) func_dirname_result
="${1%/*}${2}" ;;
16770 * ) func_dirname_result
="${3}" ;;
16774 # func_basename file
16777 func_basename_result
="${1##*/}"
16780 # func_dirname_and_basename file append nondir_replacement
16781 # perform func_basename and func_dirname in a single function
16783 # dirname: Compute the dirname of FILE. If nonempty,
16784 # add APPEND to the result, otherwise set result
16785 # to NONDIR_REPLACEMENT.
16786 # value returned in "$func_dirname_result"
16787 # basename: Compute filename of FILE.
16788 # value retuned in "$func_basename_result"
16789 # Implementation must be kept synchronized with func_dirname
16790 # and func_basename. For efficiency, we do not delegate to
16791 # those functions but instead duplicate the functionality here.
16792 func_dirname_and_basename
()
16795 */*) func_dirname_result
="${1%/*}${2}" ;;
16796 * ) func_dirname_result
="${3}" ;;
16798 func_basename_result
="${1##*/}"
16801 # func_stripname prefix suffix name
16802 # strip PREFIX and SUFFIX off of NAME.
16803 # PREFIX and SUFFIX must not contain globbing or regex special
16804 # characters, hashes, percent signs, but SUFFIX may contain a leading
16805 # dot (in which case that matches only a dot).
16808 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16809 # positional parameters, so assign one to ordinary parameter first.
16810 func_stripname_result
=${3}
16811 func_stripname_result
=${func_stripname_result#"${1}"}
16812 func_stripname_result
=${func_stripname_result%"${2}"}
16818 func_opt_split_opt
=${1%%=*}
16819 func_opt_split_arg
=${1#*=}
16826 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16827 *) func_lo2o_result
=${1} ;;
16831 # func_xform libobj-or-source
16834 func_xform_result
=${1%.*}.lo
16837 # func_arith arithmetic-term...
16840 func_arith_result
=$
(( $
* ))
16844 # STRING may not start with a hyphen.
16847 func_len_result
=${#1}
16852 *) # Bourne compatible functions.
16853 cat << \_LT_EOF
>> "$cfgfile"
16855 # func_dirname file append nondir_replacement
16856 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16857 # otherwise set result to NONDIR_REPLACEMENT.
16860 # Extract subdirectory from the argument.
16861 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
16862 if test "X$func_dirname_result" = "X${1}"; then
16863 func_dirname_result
="${3}"
16865 func_dirname_result
="$func_dirname_result${2}"
16869 # func_basename file
16872 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
16876 # func_stripname prefix suffix name
16877 # strip PREFIX and SUFFIX off of NAME.
16878 # PREFIX and SUFFIX must not contain globbing or regex special
16879 # characters, hashes, percent signs, but SUFFIX may contain a leading
16880 # dot (in which case that matches only a dot).
16881 # func_strip_suffix prefix name
16885 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16886 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16891 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16892 my_sed_long_arg
='1s/^-[^=]*=//'
16897 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16898 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16904 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
16907 # func_xform libobj-or-source
16910 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16913 # func_arith arithmetic-term...
16916 func_arith_result
=`expr "$@"`
16920 # STRING may not start with a hyphen.
16923 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16929 case $lt_shell_append in
16931 cat << \_LT_EOF
>> "$cfgfile"
16933 # func_append var value
16934 # Append VALUE to the end of shell variable VAR.
16942 cat << \_LT_EOF
>> "$cfgfile"
16944 # func_append var value
16945 # Append VALUE to the end of shell variable VAR.
16956 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16957 ||
(rm -f "$cfgfile"; exit 1)
16959 mv -f "$cfgfile" "$ofile" ||
16960 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16964 cat <<_LT_EOF >> "$ofile"
16966 # ### BEGIN LIBTOOL TAG CONFIG: D
16968 # The linker used to build libraries.
16971 # How to create reloadable object files.
16972 reload_flag=$lt_reload_flag_D
16973 reload_cmds=$lt_reload_cmds_D
16975 # Commands used to build an old-style archive.
16976 old_archive_cmds=$lt_old_archive_cmds_D
16978 # A language specific compiler.
16981 # Is the compiler the GNU compiler?
16984 # Compiler flag to turn off builtin functions.
16985 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_D
16987 # How to pass a linker flag through the compiler.
16988 wl=$lt_lt_prog_compiler_wl_D
16990 # Additional compiler flags for building library objects.
16991 pic_flag=$lt_lt_prog_compiler_pic_D
16993 # Compiler flag to prevent dynamic linking.
16994 link_static_flag=$lt_lt_prog_compiler_static_D
16996 # Does compiler simultaneously support -c and -o options?
16997 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_D
16999 # Whether or not to add -lc for building shared libraries.
17000 build_libtool_need_lc=$archive_cmds_need_lc_D
17002 # Whether or not to disallow shared libs when runtime libs are static.
17003 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_D
17005 # Compiler flag to allow reflexive dlopens.
17006 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_D
17008 # Compiler flag to generate shared objects directly from archives.
17009 whole_archive_flag_spec=$lt_whole_archive_flag_spec_D
17011 # Whether the compiler copes with passing no objects directly.
17012 compiler_needs_object=$lt_compiler_needs_object_D
17014 # Create an old-style archive from a shared archive.
17015 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_D
17017 # Create a temporary old-style archive to link instead of a shared archive.
17018 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_D
17020 # Commands used to build a shared archive.
17021 archive_cmds=$lt_archive_cmds_D
17022 archive_expsym_cmds=$lt_archive_expsym_cmds_D
17024 # Commands used to build a loadable module if different from building
17025 # a shared archive.
17026 module_cmds=$lt_module_cmds_D
17027 module_expsym_cmds=$lt_module_expsym_cmds_D
17029 # Whether we are building with GNU ld or not.
17030 with_gnu_ld=$lt_with_gnu_ld_D
17032 # Flag that allows shared libraries with undefined symbols to be built.
17033 allow_undefined_flag=$lt_allow_undefined_flag_D
17035 # Flag that enforces no undefined symbols.
17036 no_undefined_flag=$lt_no_undefined_flag_D
17038 # Flag to hardcode \$libdir into a binary during linking.
17039 # This must work even if \$libdir does not exist
17040 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_D
17042 # If ld is used when linking, flag to hardcode \$libdir into a binary
17043 # during linking. This must work even if \$libdir does not exist.
17044 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_D
17046 # Whether we need a single "-rpath" flag with a separated argument.
17047 hardcode_libdir_separator=$lt_hardcode_libdir_separator_D
17049 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17050 # DIR into the resulting binary.
17051 hardcode_direct=$hardcode_direct_D
17053 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17054 # DIR into the resulting binary and the resulting library dependency is
17055 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17056 # library is relocated.
17057 hardcode_direct_absolute=$hardcode_direct_absolute_D
17059 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17060 # into the resulting binary.
17061 hardcode_minus_L=$hardcode_minus_L_D
17063 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17064 # into the resulting binary.
17065 hardcode_shlibpath_var=$hardcode_shlibpath_var_D
17067 # Set to "yes" if building a shared library automatically hardcodes DIR
17068 # into the library and all subsequent libraries and executables linked
17070 hardcode_automatic=$hardcode_automatic_D
17072 # Set to yes if linker adds runtime paths of dependent libraries
17073 # to runtime path list.
17074 inherit_rpath=$inherit_rpath_D
17076 # Whether libtool must link a program against all its dependency libraries.
17077 link_all_deplibs=$link_all_deplibs_D
17079 # Fix the shell variable \$srcfile for the compiler.
17080 fix_srcfile_path=$lt_fix_srcfile_path_D
17082 # Set to "yes" if exported symbols are required.
17083 always_export_symbols=$always_export_symbols_D
17085 # The commands to list exported symbols.
17086 export_symbols_cmds=$lt_export_symbols_cmds_D
17088 # Symbols that should not be listed in the preloaded symbols.
17089 exclude_expsyms=$lt_exclude_expsyms_D
17091 # Symbols that must always be exported.
17092 include_expsyms=$lt_include_expsyms_D
17094 # Commands necessary for linking programs (against libraries) with templates.
17095 prelink_cmds=$lt_prelink_cmds_D
17097 # Specify filename containing input files.
17098 file_list_spec=$lt_file_list_spec_D
17100 # How to hardcode a shared library path into an executable.
17101 hardcode_action=$hardcode_action_D
17103 # ### END LIBTOOL TAG CONFIG: D
17107 "testsuite/testsuite_flags":F
) chmod +x testsuite
/testsuite_flags
;;
17108 "default":C
) if test -n "$CONFIG_FILES"; then
17109 if test -n "${with_target_subdir}"; then
17110 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
17111 # that multilib installs will end up installed in the correct place.
17112 # The testsuite needs it for multilib-aware ABI baseline files.
17113 # To work around this not being passed down from config-ml.in ->
17114 # srcdir/Makefile.am -> srcdir/{src,libdruntime,...}/Makefile.am, manually
17115 # append it here. Only modify Makefiles that have just been created.
17117 # Also, get rid of this simulated-VPATH thing that automake does.
17118 cat > vpsed
<< \_EOF
17119 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17121 for i
in $SUBDIRS; do
17122 case $CONFIG_FILES in
17124 #echo "Adding MULTISUBDIR to $i/Makefile"
17125 sed -f vpsed
$i/Makefile
> tmp
17126 grep '^MULTISUBDIR =' Makefile
>> tmp
17142 ac_clean_files
=$ac_clean_files_save
17144 test $ac_write_fail = 0 ||
17145 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17148 # configure is writing to config.log, and then calls config.status.
17149 # config.status does its own redirection, appending to config.log.
17150 # Unfortunately, on DOS this fails, as config.log is still kept open
17151 # by configure, so config.status won't be able to write to it; its
17152 # output is simply discarded. So we exec the FD to /dev/null,
17153 # effectively closing config.log, so it can be properly (re)opened and
17154 # appended to by config.status. When coming back to configure, we
17155 # need to make the FD available again.
17156 if test "$no_create" != yes; then
17158 ac_config_status_args
=
17159 test "$silent" = yes &&
17160 ac_config_status_args
="$ac_config_status_args --quiet"
17162 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17164 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17165 # would make configure fail if this is the last instruction.
17166 $ac_cs_success || as_fn_exit $?
17168 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17170 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}