2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='package-unused'
589 PACKAGE_TARNAME
='libphobos'
590 PACKAGE_VERSION
='version-unused'
591 PACKAGE_STRING
='package-unused version-unused'
595 ac_unique_file
="libdruntime/gcc/attribute.d"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
640 libphobos_toolexeclibdir
641 libphobos_toolexecdir
644 BACKTRACE_SUPPORTS_THREADS
645 BACKTRACE_USES_MALLOC
650 DCFG_HAVE_64BIT_ATOMICS
651 DCFG_HAVE_ATOMIC_BUILTINS
653 DRUNTIME_OS_MINFO_BRACKETING_FALSE
654 DRUNTIME_OS_MINFO_BRACKETING_TRUE
655 DCFG_MINFO_BRACKETING
656 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
657 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
658 DCFG_ARM_EABI_UNWINDER
660 DRUNTIME_OS_SOLARIS_FALSE
661 DRUNTIME_OS_SOLARIS_TRUE
662 DRUNTIME_OS_MINGW_FALSE
663 DRUNTIME_OS_MINGW_TRUE
664 DRUNTIME_OS_LINUX_FALSE
665 DRUNTIME_OS_LINUX_TRUE
666 DRUNTIME_OS_OPENBSD_FALSE
667 DRUNTIME_OS_OPENBSD_TRUE
668 DRUNTIME_OS_NETBSD_FALSE
669 DRUNTIME_OS_NETBSD_TRUE
670 DRUNTIME_OS_FREEBSD_FALSE
671 DRUNTIME_OS_FREEBSD_TRUE
672 DRUNTIME_OS_DRAGONFLYBSD_FALSE
673 DRUNTIME_OS_DRAGONFLYBSD_TRUE
674 DRUNTIME_OS_DARWIN_FALSE
675 DRUNTIME_OS_DARWIN_TRUE
676 DRUNTIME_OS_ANDROID_FALSE
677 DRUNTIME_OS_ANDROID_TRUE
678 DRUNTIME_OS_AIX_FALSE
680 DRUNTIME_OS_UNIX_FALSE
681 DRUNTIME_OS_UNIX_TRUE
682 DRUNTIME_GC_ENABLE_FALSE
683 DRUNTIME_GC_ENABLE_TRUE
687 phobos_compiler_shared_flag
688 phobos_compiler_pic_flag
711 MAINTAINER_MODE_FALSE
736 INSTALL_STRIP_PROGRAM
791 program_transform_name
802 ac_subst_files
='DRTSTUFF_SPEC'
804 enable_option_checking
807 enable_maintainer_mode
814 with_gcc_major_version_only
821 with_target_system_zlib
823 enable_version_specific_runtime_libs
825 ac_precious_vars
='build_alias
832 # Initialize some variables set by options.
834 ac_init_version
=false
835 ac_unrecognized_opts
=
837 # The variables have the same names as the options, with
838 # dashes changed to underlines.
846 program_transform_name
=s
,x
,x
,
854 # Installation directory options.
855 # These are left unexpanded so users can "make install exec_prefix=/foo"
856 # and all the variables that are supposed to be based on exec_prefix
857 # by default will actually change.
858 # Use braces instead of parens because sh, perl, etc. also accept them.
859 # (The list follows the same order as the GNU Coding Standards.)
860 bindir
='${exec_prefix}/bin'
861 sbindir
='${exec_prefix}/sbin'
862 libexecdir
='${exec_prefix}/libexec'
863 datarootdir
='${prefix}/share'
864 datadir
='${datarootdir}'
865 sysconfdir
='${prefix}/etc'
866 sharedstatedir
='${prefix}/com'
867 localstatedir
='${prefix}/var'
868 includedir
='${prefix}/include'
869 oldincludedir
='/usr/include'
870 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
871 infodir
='${datarootdir}/info'
876 libdir
='${exec_prefix}/lib'
877 localedir
='${datarootdir}/locale'
878 mandir
='${datarootdir}/man'
884 # If the previous option needs an argument, assign it.
885 if test -n "$ac_prev"; then
886 eval $ac_prev=\
$ac_option
892 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897 # Accept the important Cygnus configure options, so we can diagnose typos.
899 case $ac_dashdash$ac_option in
903 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
905 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
908 -build |
--build |
--buil |
--bui |
--bu)
909 ac_prev
=build_alias
;;
910 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
911 build_alias
=$ac_optarg ;;
913 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
914 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
915 ac_prev
=cache_file
;;
916 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
917 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
918 cache_file
=$ac_optarg ;;
921 cache_file
=config.cache
;;
923 -datadir |
--datadir |
--datadi |
--datad)
925 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
926 datadir
=$ac_optarg ;;
928 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
929 |
--dataroo |
--dataro |
--datar)
930 ac_prev
=datarootdir
;;
931 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
932 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
933 datarootdir
=$ac_optarg ;;
935 -disable-* |
--disable-*)
936 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
939 as_fn_error $?
"invalid feature name: $ac_useropt"
940 ac_useropt_orig
=$ac_useropt
941 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942 case $ac_user_opts in
946 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
947 ac_unrecognized_sep
=', ';;
949 eval enable_
$ac_useropt=no
;;
951 -docdir |
--docdir |
--docdi |
--doc |
--do)
953 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
956 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
958 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
961 -enable-* |
--enable-*)
962 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
965 as_fn_error $?
"invalid feature name: $ac_useropt"
966 ac_useropt_orig
=$ac_useropt
967 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968 case $ac_user_opts in
972 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
973 ac_unrecognized_sep
=', ';;
975 eval enable_
$ac_useropt=\
$ac_optarg ;;
977 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
978 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
979 |
--exec |
--exe |
--ex)
980 ac_prev
=exec_prefix
;;
981 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
982 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
983 |
--exec=* |
--exe=* |
--ex=*)
984 exec_prefix
=$ac_optarg ;;
986 -gas |
--gas |
--ga |
--g)
987 # Obsolete; use --with-gas.
990 -help |
--help |
--hel |
--he |
-h)
992 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
993 ac_init_help
=recursive
;;
994 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
995 ac_init_help
=short
;;
997 -host |
--host |
--hos |
--ho)
998 ac_prev
=host_alias
;;
999 -host=* |
--host=* |
--hos=* |
--ho=*)
1000 host_alias
=$ac_optarg ;;
1002 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1004 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1006 htmldir
=$ac_optarg ;;
1008 -includedir |
--includedir |
--includedi |
--included |
--include \
1009 |
--includ |
--inclu |
--incl |
--inc)
1010 ac_prev
=includedir
;;
1011 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1012 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1013 includedir
=$ac_optarg ;;
1015 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1017 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1018 infodir
=$ac_optarg ;;
1020 -libdir |
--libdir |
--libdi |
--libd)
1022 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1023 libdir
=$ac_optarg ;;
1025 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1026 |
--libexe |
--libex |
--libe)
1027 ac_prev
=libexecdir
;;
1028 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1029 |
--libexe=* |
--libex=* |
--libe=*)
1030 libexecdir
=$ac_optarg ;;
1032 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1033 ac_prev
=localedir
;;
1034 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1035 localedir
=$ac_optarg ;;
1037 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1038 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1039 ac_prev
=localstatedir
;;
1040 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1041 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1042 localstatedir
=$ac_optarg ;;
1044 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1046 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1047 mandir
=$ac_optarg ;;
1049 -nfp |
--nfp |
--nf)
1050 # Obsolete; use --without-fp.
1053 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1054 |
--no-cr |
--no-c |
-n)
1057 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1058 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1061 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1062 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1063 |
--oldin |
--oldi |
--old |
--ol |
--o)
1064 ac_prev
=oldincludedir
;;
1065 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1066 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1067 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1068 oldincludedir
=$ac_optarg ;;
1070 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1072 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1073 prefix
=$ac_optarg ;;
1075 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1076 |
--program-pre |
--program-pr |
--program-p)
1077 ac_prev
=program_prefix
;;
1078 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1079 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1080 program_prefix
=$ac_optarg ;;
1082 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1083 |
--program-suf |
--program-su |
--program-s)
1084 ac_prev
=program_suffix
;;
1085 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1086 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1087 program_suffix
=$ac_optarg ;;
1089 -program-transform-name |
--program-transform-name \
1090 |
--program-transform-nam |
--program-transform-na \
1091 |
--program-transform-n |
--program-transform- \
1092 |
--program-transform |
--program-transfor \
1093 |
--program-transfo |
--program-transf \
1094 |
--program-trans |
--program-tran \
1095 |
--progr-tra |
--program-tr |
--program-t)
1096 ac_prev
=program_transform_name
;;
1097 -program-transform-name=* |
--program-transform-name=* \
1098 |
--program-transform-nam=* |
--program-transform-na=* \
1099 |
--program-transform-n=* |
--program-transform-=* \
1100 |
--program-transform=* |
--program-transfor=* \
1101 |
--program-transfo=* |
--program-transf=* \
1102 |
--program-trans=* |
--program-tran=* \
1103 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1104 program_transform_name
=$ac_optarg ;;
1106 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1108 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1109 pdfdir
=$ac_optarg ;;
1111 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1113 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1116 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1117 |
-silent |
--silent |
--silen |
--sile |
--sil)
1120 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1122 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1124 sbindir
=$ac_optarg ;;
1126 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1127 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1128 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1130 ac_prev
=sharedstatedir
;;
1131 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1132 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1133 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1135 sharedstatedir
=$ac_optarg ;;
1137 -site |
--site |
--sit)
1139 -site=* |
--site=* |
--sit=*)
1142 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1144 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1145 srcdir
=$ac_optarg ;;
1147 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1148 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1149 ac_prev
=sysconfdir
;;
1150 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1151 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1152 sysconfdir
=$ac_optarg ;;
1154 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1155 ac_prev
=target_alias
;;
1156 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1157 target_alias
=$ac_optarg ;;
1159 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1162 -version |
--version |
--versio |
--versi |
--vers |
-V)
1163 ac_init_version
=: ;;
1166 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1169 as_fn_error $?
"invalid package name: $ac_useropt"
1170 ac_useropt_orig
=$ac_useropt
1171 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1176 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1177 ac_unrecognized_sep
=', ';;
1179 eval with_
$ac_useropt=\
$ac_optarg ;;
1181 -without-* |
--without-*)
1182 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1185 as_fn_error $?
"invalid package name: $ac_useropt"
1186 ac_useropt_orig
=$ac_useropt
1187 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1193 ac_unrecognized_sep
=', ';;
1195 eval with_
$ac_useropt=no
;;
1198 # Obsolete; use --with-x.
1201 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1202 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1203 ac_prev
=x_includes
;;
1204 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1205 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1206 x_includes
=$ac_optarg ;;
1208 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1209 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1210 ac_prev
=x_libraries
;;
1211 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1212 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1213 x_libraries
=$ac_optarg ;;
1215 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1216 Try \`$0 --help' for more information"
1220 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1221 # Reject names that are not valid shell variable names.
1222 case $ac_envvar in #(
1223 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1224 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1226 eval $ac_envvar=\
$ac_optarg
1227 export $ac_envvar ;;
1230 # FIXME: should be removed in autoconf 3.0.
1231 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1233 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1240 if test -n "$ac_prev"; then
1241 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1242 as_fn_error $?
"missing argument to $ac_option"
1245 if test -n "$ac_unrecognized_opts"; then
1246 case $enable_option_checking in
1248 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1249 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1253 # Check all directory arguments for consistency.
1254 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1255 datadir sysconfdir sharedstatedir localstatedir includedir \
1256 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1257 libdir localedir mandir
1259 eval ac_val
=\$
$ac_var
1260 # Remove trailing slashes.
1263 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1264 eval $ac_var=\
$ac_val;;
1266 # Be sure to have absolute directory names.
1268 [\\/$
]* | ?
:[\\/]* ) continue;;
1269 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1271 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1274 # There might be people who depend on the old broken behavior: `$host'
1275 # used to hold the argument of --host etc.
1276 # FIXME: To remove some day.
1279 target
=$target_alias
1281 # FIXME: To remove some day.
1282 if test "x$host_alias" != x
; then
1283 if test "x$build_alias" = x
; then
1284 cross_compiling
=maybe
1285 elif test "x$build_alias" != "x$host_alias"; then
1291 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1293 test "$silent" = yes && exec 6>/dev
/null
1296 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1297 ac_ls_di
=`ls -di .` &&
1298 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1299 as_fn_error $?
"working directory cannot be determined"
1300 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1301 as_fn_error $?
"pwd does not report name of working directory"
1304 # Find the source files, if location was not specified.
1305 if test -z "$srcdir"; then
1306 ac_srcdir_defaulted
=yes
1307 # Try the directory containing this script, then the parent directory.
1308 ac_confdir
=`$as_dirname -- "$as_myself" ||
1309 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1310 X"$as_myself" : 'X\(//\)[^/]' \| \
1311 X"$as_myself" : 'X\(//\)$' \| \
1312 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1313 $as_echo X"$as_myself" |
1314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1332 if test ! -r "$srcdir/$ac_unique_file"; then
1336 ac_srcdir_defaulted
=no
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1339 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1340 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1342 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1344 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1346 # When building in place, set srcdir=.
1347 if test "$ac_abs_confdir" = "$ac_pwd"; then
1350 # Remove unnecessary trailing slashes from srcdir.
1351 # Double slashes in file names in object file debugging info
1352 # mess up M-x gdb in Emacs.
1354 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1356 for ac_var
in $ac_precious_vars; do
1357 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1358 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1359 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1360 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1364 # Report the --help message.
1366 if test "$ac_init_help" = "long"; then
1367 # Omit some internal or obsolete options to make the list less imposing.
1368 # This message is too long to be a string in the A/UX 3.1 sh.
1370 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1372 Usage: $0 [OPTION]... [VAR=VALUE]...
1374 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1375 VAR=VALUE. See below for descriptions of some of the useful variables.
1377 Defaults for the options are specified in brackets.
1380 -h, --help display this help and exit
1381 --help=short display options specific to this package
1382 --help=recursive display the short help of all the included packages
1383 -V, --version display version information and exit
1384 -q, --quiet, --silent do not print \`checking ...' messages
1385 --cache-file=FILE cache test results in FILE [disabled]
1386 -C, --config-cache alias for \`--cache-file=config.cache'
1387 -n, --no-create do not create output files
1388 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1390 Installation directories:
1391 --prefix=PREFIX install architecture-independent files in PREFIX
1392 [$ac_default_prefix]
1393 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1396 By default, \`make install' will install all the files in
1397 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1398 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1399 for instance \`--prefix=\$HOME'.
1401 For better control, use the options below.
1403 Fine tuning of the installation directories:
1404 --bindir=DIR user executables [EPREFIX/bin]
1405 --sbindir=DIR system admin executables [EPREFIX/sbin]
1406 --libexecdir=DIR program executables [EPREFIX/libexec]
1407 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1408 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1409 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1410 --libdir=DIR object code libraries [EPREFIX/lib]
1411 --includedir=DIR C header files [PREFIX/include]
1412 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1413 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1414 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1415 --infodir=DIR info documentation [DATAROOTDIR/info]
1416 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1417 --mandir=DIR man documentation [DATAROOTDIR/man]
1418 --docdir=DIR documentation root [DATAROOTDIR/doc/libphobos]
1419 --htmldir=DIR html documentation [DOCDIR]
1420 --dvidir=DIR dvi documentation [DOCDIR]
1421 --pdfdir=DIR pdf documentation [DOCDIR]
1422 --psdir=DIR ps documentation [DOCDIR]
1428 --program-prefix=PREFIX prepend PREFIX to installed program names
1429 --program-suffix=SUFFIX append SUFFIX to installed program names
1430 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1433 --build=BUILD configure
for building on BUILD
[guessed
]
1434 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1435 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1439 if test -n "$ac_init_help"; then
1440 case $ac_init_help in
1441 short | recursive
) echo "Configuration of package-unused version-unused:";;
1446 --disable-option-checking ignore unrecognized
--enable/--with options
1447 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1448 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1449 --enable-multilib build many library versions
(default
)
1450 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1451 --disable-silent-rules verbose build output
(undo
: "make V=0")
1452 --enable-maintainer-mode
1453 enable make rules and dependencies not useful
(and
1454 sometimes confusing
) to the casual installer
1455 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1456 --enable-static[=PKGS
] build static libraries
[default
=yes]
1457 --enable-fast-install[=PKGS
]
1458 optimize
for fast installation
[default
=yes]
1459 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1460 --enable-werror turns on
-Werror [default
=no
]
1461 --enable-druntime-gc enable D runtime garbage collector
(default
: yes)
1462 --enable-unix enables Unix runtime
(default
: yes, for Unix
1464 --enable-thread-lib=<arg
>
1465 specify linker option
for the system thread library
1466 (default
: autodetect
)
1467 --enable-version-specific-runtime-libs
1468 Specify that runtime libraries should be installed
1469 in a compiler-specific directory
1472 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1473 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1474 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1476 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1477 --with-gcc-major-version-only
1478 use only GCC major number
in filesystem paths
1479 --without-libatomic Do not use libatomic
in core.atomic
(default
: auto
)
1480 --without-libbacktrace Do not use libbacktrace
in core.runtime
(default
:
1482 --with-target-system-zlib={yes,no
,auto
}
1483 use installed libz
(default
: no
)
1484 --with-cross-host=HOST configuring with a cross compiler
1486 Some influential environment variables
:
1487 CC C compiler
command
1488 CFLAGS C compiler flags
1489 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1490 nonstandard directory
<lib dir
>
1491 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1492 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1493 you have headers
in a nonstandard directory
<include dir
>
1494 CCAS assembler compiler
command (defaults to CC
)
1495 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1496 GDC D compiler
command
1497 GDCFLAGS D compiler flags
1500 Use these variables to override the choices made by
`configure' or to help
1501 it to find libraries and programs with nonstandard names/locations.
1503 Report bugs to the package provider.
1508 if test "$ac_init_help" = "recursive"; then
1509 # If there are subdirs, report their specific --help.
1510 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1511 test -d "$ac_dir" ||
1512 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1517 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1519 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1520 # A ".." for each directory in $ac_dir_suffix.
1521 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1522 case $ac_top_builddir_sub in
1523 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1524 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1527 ac_abs_top_builddir=$ac_pwd
1528 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1529 # for backward compatibility:
1530 ac_top_builddir=$ac_top_build_prefix
1533 .) # We are building in place.
1535 ac_top_srcdir=$ac_top_builddir_sub
1536 ac_abs_top_srcdir=$ac_pwd ;;
1537 [\\/]* | ?:[\\/]* ) # Absolute name.
1538 ac_srcdir=$srcdir$ac_dir_suffix;
1539 ac_top_srcdir=$srcdir
1540 ac_abs_top_srcdir=$srcdir ;;
1542 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1543 ac_top_srcdir=$ac_top_build_prefix$srcdir
1544 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1546 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1548 cd "$ac_dir" || { ac_status=$?; continue; }
1549 # Check for guested configure.
1550 if test -f "$ac_srcdir/configure.gnu"; then
1552 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1553 elif test -f "$ac_srcdir/configure"; then
1555 $SHELL "$ac_srcdir/configure" --help=recursive
1557 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1559 cd "$ac_pwd" || { ac_status=$?; break; }
1563 test -n "$ac_init_help" && exit $ac_status
1564 if $ac_init_version; then
1566 package-unused configure version-unused
1567 generated by GNU Autoconf 2.69
1569 Copyright (C) 2012 Free Software Foundation, Inc.
1570 This configure script is free software; the Free Software Foundation
1571 gives unlimited permission to copy, distribute and modify it.
1576 ## ------------------------ ##
1577 ## Autoconf initialization. ##
1578 ## ------------------------ ##
1580 # ac_fn_c_try_compile LINENO
1581 # --------------------------
1582 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1583 ac_fn_c_try_compile ()
1585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1586 rm -f conftest.$ac_objext
1587 if { { ac_try="$ac_compile"
1589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1590 *) ac_try_echo
=$ac_try;;
1592 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 $as_echo "$ac_try_echo"; } >&5
1594 (eval "$ac_compile") 2>conftest.err
1596 if test -s conftest.err
; then
1597 grep -v '^ *+' conftest.err
>conftest.er1
1598 cat conftest.er1
>&5
1599 mv -f conftest.er1 conftest.err
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; } && {
1603 test -z "$ac_c_werror_flag" ||
1604 test ! -s conftest.err
1605 } && test -s conftest.
$ac_objext; then :
1608 $as_echo "$as_me: failed program was:" >&5
1609 sed 's/^/| /' conftest.
$ac_ext >&5
1613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614 as_fn_set_status
$ac_retval
1616 } # ac_fn_c_try_compile
1618 # ac_fn_d_try_compile LINENO
1619 # --------------------------
1620 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1621 ac_fn_d_try_compile
()
1623 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1624 rm -f conftest.
$ac_objext
1625 if { { ac_try
="$ac_compile"
1627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1628 *) ac_try_echo=$ac_try;;
1630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1631 $as_echo "$ac_try_echo"; } >&5
1632 (eval "$ac_compile") 2>conftest.err
1634 if test -s conftest.err; then
1635 grep -v '^ *+' conftest.err >conftest.er1
1636 cat conftest.er1 >&5
1637 mv -f conftest.er1 conftest.err
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && {
1641 test -z "$ac_d_werror_flag" ||
1642 test ! -s conftest.err
1643 } && test -s conftest.$ac_objext; then :
1646 $as_echo "$as_me: failed program was:" >&5
1647 sed 's/^/| /' conftest.$ac_ext >&5
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1652 as_fn_set_status $ac_retval
1654 } # ac_fn_d_try_compile
1656 # ac_fn_c_try_link LINENO
1657 # -----------------------
1658 # Try to link conftest.$ac_ext, and return whether this succeeded.
1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662 rm -f conftest.$ac_objext conftest$ac_exeext
1663 if { { ac_try="$ac_link"
1665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1666 *) ac_try_echo
=$ac_try;;
1668 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670 (eval "$ac_link") 2>conftest.err
1672 if test -s conftest.err
; then
1673 grep -v '^ *+' conftest.err
>conftest.er1
1674 cat conftest.er1
>&5
1675 mv -f conftest.er1 conftest.err
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; } && {
1679 test -z "$ac_c_werror_flag" ||
1680 test ! -s conftest.err
1681 } && test -s conftest
$ac_exeext && {
1682 test "$cross_compiling" = yes ||
1683 test -x conftest
$ac_exeext
1687 $as_echo "$as_me: failed program was:" >&5
1688 sed 's/^/| /' conftest.
$ac_ext >&5
1692 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1693 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1694 # interfere with the next link command; also delete a directory that is
1695 # left behind by Apple's compiler. We do this before executing the actions.
1696 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 as_fn_set_status
$ac_retval
1700 } # ac_fn_c_try_link
1702 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1703 # -------------------------------------------------------
1704 # Tests whether HEADER exists and can be compiled using the include files in
1705 # INCLUDES, setting the cache variable VAR accordingly.
1706 ac_fn_c_check_header_compile
()
1708 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1710 $as_echo_n "checking for $2... " >&6; }
1711 if eval \
${$3+:} false
; then :
1712 $as_echo_n "(cached) " >&6
1714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1719 if ac_fn_c_try_compile
"$LINENO"; then :
1724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1728 $as_echo "$ac_res" >&6; }
1729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731 } # ac_fn_c_check_header_compile
1733 # ac_fn_c_try_cpp LINENO
1734 # ----------------------
1735 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1738 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1739 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1742 *) ac_try_echo=$ac_try;;
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1748 if test -s conftest.err; then
1749 grep -v '^ *+' conftest.err >conftest.er1
1750 cat conftest.er1 >&5
1751 mv -f conftest.er1 conftest.err
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; } > conftest.i && {
1755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1756 test ! -s conftest.err
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's/^/| /' conftest.$ac_ext >&5
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 as_fn_set_status $ac_retval
1770 # ac_fn_c_try_run LINENO
1771 # ----------------------
1772 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1773 # that executables *can* be run.
1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777 if { { ac_try="$ac_link"
1779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1780 *) ac_try_echo
=$ac_try;;
1782 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1783 $as_echo "$ac_try_echo"; } >&5
1784 (eval "$ac_link") 2>&5
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1788 { { case "(($ac_try" in
1789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1790 *) ac_try_echo=$ac_try;;
1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794 (eval "$ac_try") 2>&5
1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; }; }; then :
1800 $as_echo "$as_me: program exited with status $ac_status" >&5
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1804 ac_retval=$ac_status
1806 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808 as_fn_set_status $ac_retval
1812 # ac_fn_c_check_func LINENO FUNC VAR
1813 # ----------------------------------
1814 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1815 ac_fn_c_check_func ()
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1819 $as_echo_n "checking for $2... " >&6; }
1820 if eval \${$3+:} false; then :
1821 $as_echo_n "(cached) " >&6
1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1825 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1827 #define $2 innocuous_$2
1829 /* System header to define __stub macros and hopefully few prototypes,
1830 which can conflict with char $2 (); below.
1831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1832 <limits.h> exists even on freestanding compilers. */
1835 # include <limits.h>
1837 # include <assert.h>
1842 /* Override any GCC internal prototype to avoid an error.
1843 Use char because int might match the return type of a GCC
1844 builtin and then its argument prototype would still apply. */
1849 /* The GNU C library defines this for functions which it implements
1850 to always fail with ENOSYS. Some functions are actually named
1851 something starting with __ and the normal name is an alias. */
1852 #if defined __stub_$2 || defined __stub___$2
1864 if ac_fn_c_try_link "$LINENO"; then :
1869 rm -f core conftest.err conftest.$ac_objext \
1870 conftest$ac_exeext conftest.$ac_ext
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874 $as_echo "$ac_res" >&6; }
1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 } # ac_fn_c_check_func
1879 # ac_fn_d_try_link LINENO
1880 # -----------------------
1881 # Try to link conftest.$ac_ext, and return whether this succeeded.
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 rm -f conftest.$ac_objext conftest$ac_exeext
1886 if { { ac_try="$ac_link"
1888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1889 *) ac_try_echo
=$ac_try;;
1891 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_link") 2>conftest.err
1895 if test -s conftest.err
; then
1896 grep -v '^ *+' conftest.err
>conftest.er1
1897 cat conftest.er1
>&5
1898 mv -f conftest.er1 conftest.err
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; } && {
1902 test -z "$ac_d_werror_flag" ||
1903 test ! -s conftest.err
1904 } && test -s conftest
$ac_exeext && {
1905 test "$cross_compiling" = yes ||
1906 test -x conftest
$ac_exeext
1910 $as_echo "$as_me: failed program was:" >&5
1911 sed 's/^/| /' conftest.
$ac_ext >&5
1915 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1916 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1917 # interfere with the next link command; also delete a directory that is
1918 # left behind by Apple's compiler. We do this before executing the actions.
1919 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1921 as_fn_set_status
$ac_retval
1923 } # ac_fn_d_try_link
1925 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1926 # -------------------------------------------------------
1927 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1928 # the include files in INCLUDES and setting the cache variable VAR
1930 ac_fn_c_check_header_mongrel
()
1932 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1933 if eval \
${$3+:} false
; then :
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1935 $as_echo_n "checking for $2... " >&6; }
1936 if eval \
${$3+:} false
; then :
1937 $as_echo_n "(cached) " >&6
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 $as_echo "$ac_res" >&6; }
1943 # Is the header compilable?
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1945 $as_echo_n "checking $2 usability... " >&6; }
1946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h. */
1951 if ac_fn_c_try_compile
"$LINENO"; then :
1952 ac_header_compiler
=yes
1954 ac_header_compiler
=no
1956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1958 $as_echo "$ac_header_compiler" >&6; }
1960 # Is the header present?
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1962 $as_echo_n "checking $2 presence... " >&6; }
1963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1967 if ac_fn_c_try_cpp
"$LINENO"; then :
1968 ac_header_preproc
=yes
1970 ac_header_preproc
=no
1972 rm -f conftest.err conftest.i conftest.
$ac_ext
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1974 $as_echo "$ac_header_preproc" >&6; }
1976 # So? What about this header?
1977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1980 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1982 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1986 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1988 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1990 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1992 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1994 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1998 $as_echo_n "checking for $2... " >&6; }
1999 if eval \
${$3+:} false
; then :
2000 $as_echo_n "(cached) " >&6
2002 eval "$3=\$ac_header_compiler"
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2006 $as_echo "$ac_res" >&6; }
2008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2010 } # ac_fn_c_check_header_mongrel
2011 cat >config.log
<<_ACEOF
2012 This file contains any messages produced by compilers while
2013 running configure, to aid debugging if configure makes a mistake.
2015 It was created by package-unused $as_me version-unused, which was
2016 generated by GNU Autoconf 2.69. Invocation command line was
2028 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2029 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2030 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2031 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2032 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2034 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2035 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2037 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2038 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2039 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2040 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2041 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2042 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2043 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2051 test -z "$as_dir" && as_dir
=.
2052 $as_echo "PATH: $as_dir"
2068 # Keep a trace of the command line.
2069 # Strip out --no-create and --no-recursion so they do not pile up.
2070 # Strip out --silent because we don't want to record it for future runs.
2071 # Also quote any args containing shell meta-characters.
2072 # Make two passes to allow for proper duplicate-argument suppression.
2076 ac_must_keep_next
=false
2082 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2083 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2084 |
-silent |
--silent |
--silen |
--sile |
--sil)
2087 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2090 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2092 as_fn_append ac_configure_args1
" '$ac_arg'"
2093 if test $ac_must_keep_next = true
; then
2094 ac_must_keep_next
=false
# Got value, back to normal.
2097 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2098 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2099 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2100 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2101 case "$ac_configure_args0 " in
2102 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2105 -* ) ac_must_keep_next
=true
;;
2108 as_fn_append ac_configure_args
" '$ac_arg'"
2113 { ac_configure_args0
=; unset ac_configure_args0
;}
2114 { ac_configure_args1
=; unset ac_configure_args1
;}
2116 # When interrupted or exit'd, cleanup temporary files, and complete
2117 # config.log. We remove comments because anyway the quotes in there
2118 # would cause problems or look ugly.
2119 # WARNING: Use '\'' to represent an apostrophe within the trap.
2120 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2121 trap 'exit_status=$?
2122 # Save into config.log some information that might help in debugging.
2126 $as_echo "## ---------------- ##
2127 ## Cache variables. ##
2128 ## ---------------- ##"
2130 # The following way of writing the cache mishandles newlines in values,
2132 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2133 eval ac_val=\$$ac_var
2137 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2138 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2141 _ | IFS | as_nl) ;; #(
2142 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2143 *) { eval $ac_var=; unset $ac_var;} ;;
2148 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2149 *${as_nl}ac_space=\ *)
2151 "s/'\''/'\''\\\\'\'''\''/g;
2152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2155 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2162 $as_echo "## ----------------- ##
2163 ## Output variables. ##
2164 ## ----------------- ##"
2166 for ac_var in $ac_subst_vars
2168 eval ac_val=\$$ac_var
2170 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2172 $as_echo "$ac_var='\''$ac_val'\''"
2176 if test -n "$ac_subst_files"; then
2177 $as_echo "## ------------------- ##
2178 ## File substitutions. ##
2179 ## ------------------- ##"
2181 for ac_var
in $ac_subst_files
2183 eval ac_val
=\$
$ac_var
2185 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2187 $as_echo "$ac_var='\''$ac_val'\''"
2192 if test -s confdefs.h; then
2193 $as_echo "## ----------- ##
2200 test "$ac_signal" != 0 &&
2201 $as_echo "$as_me: caught signal $ac_signal"
2202 $as_echo "$as_me: exit $exit_status"
2204 rm -f core *.core core.conftest.* &&
2205 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2208 for ac_signal
in 1 2 13 15; do
2209 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2213 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2214 rm -f -r conftest
* confdefs.h
2216 $as_echo "/* confdefs.h */" > confdefs.h
2218 # Predefined preprocessor variables.
2220 cat >>confdefs.h
<<_ACEOF
2221 #define PACKAGE_NAME "$PACKAGE_NAME"
2224 cat >>confdefs.h
<<_ACEOF
2225 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2228 cat >>confdefs.h
<<_ACEOF
2229 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2232 cat >>confdefs.h
<<_ACEOF
2233 #define PACKAGE_STRING "$PACKAGE_STRING"
2236 cat >>confdefs.h
<<_ACEOF
2237 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2240 cat >>confdefs.h
<<_ACEOF
2241 #define PACKAGE_URL "$PACKAGE_URL"
2245 # Let the site file select an alternate cache file if it wants to.
2246 # Prefer an explicitly selected file to automatically selected ones.
2249 if test -n "$CONFIG_SITE"; then
2250 # We do not want a PATH search for config.site.
2251 case $CONFIG_SITE in #((
2252 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2253 */*) ac_site_file1
=$CONFIG_SITE;;
2254 *) ac_site_file1
=.
/$CONFIG_SITE;;
2256 elif test "x$prefix" != xNONE
; then
2257 ac_site_file1
=$prefix/share
/config.site
2258 ac_site_file2
=$prefix/etc
/config.site
2260 ac_site_file1
=$ac_default_prefix/share
/config.site
2261 ac_site_file2
=$ac_default_prefix/etc
/config.site
2263 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2265 test "x$ac_site_file" = xNONE
&& continue
2266 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2268 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2269 sed 's/^/| /' "$ac_site_file" >&5
2271 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2273 as_fn_error $?
"failed to load site script $ac_site_file
2274 See \`config.log' for more details" "$LINENO" 5; }
2278 if test -r "$cache_file"; then
2279 # Some versions of bash will fail to source /dev/null (special files
2280 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2281 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2283 $as_echo "$as_me: loading cache $cache_file" >&6;}
2285 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2286 *) .
"./$cache_file";;
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2291 $as_echo "$as_me: creating cache $cache_file" >&6;}
2295 # Check that the precious variables saved in the cache have kept the same
2297 ac_cache_corrupted
=false
2298 for ac_var
in $ac_precious_vars; do
2299 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2300 eval ac_new_set
=\
$ac_env_${ac_var}_set
2301 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2302 eval ac_new_val
=\
$ac_env_${ac_var}_value
2303 case $ac_old_set,$ac_new_set in
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2306 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2307 ac_cache_corrupted
=: ;;
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2310 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2311 ac_cache_corrupted
=: ;;
2314 if test "x$ac_old_val" != "x$ac_new_val"; then
2315 # differences in whitespace do not lead to failure.
2316 ac_old_val_w
=`echo x $ac_old_val`
2317 ac_new_val_w
=`echo x $ac_new_val`
2318 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2320 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2321 ac_cache_corrupted
=:
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2324 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2325 eval $ac_var=\
$ac_old_val
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2328 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2330 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2333 # Pass precious variables to config.status.
2334 if test "$ac_new_set" = set; then
2336 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2337 *) ac_arg
=$ac_var=$ac_new_val ;;
2339 case " $ac_configure_args " in
2340 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2341 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2345 if $ac_cache_corrupted; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2349 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2350 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2352 ## -------------------- ##
2353 ## Main body of script. ##
2354 ## -------------------- ##
2357 ac_cpp
='$CPP $CPPFLAGS'
2358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2367 ac_config_headers
="$ac_config_headers config.h"
2370 # Default to --enable-multilib
2371 # Check whether --enable-multilib was given.
2372 if test "${enable_multilib+set}" = set; then :
2373 enableval
=$enable_multilib; case "$enableval" in
2374 yes) multilib
=yes ;;
2376 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2383 # We may get other options which we leave undocumented:
2384 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2385 # See config-ml.in if you want the gory details.
2387 if test "$srcdir" = "."; then
2388 if test "$with_target_subdir" != "."; then
2389 multi_basedir
="$srcdir/$with_multisrctop../.."
2391 multi_basedir
="$srcdir/$with_multisrctop.."
2394 multi_basedir
="$srcdir/.."
2398 # Even if the default multilib is not a cross compilation,
2399 # it may be that some of the other multilibs are.
2400 if test $cross_compiling = no
&& test $multilib = yes \
2401 && test "x${with_multisubdir}" != x
; then
2402 cross_compiling
=maybe
2405 ac_config_commands
="$ac_config_commands default-1"
2408 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2409 if test -f "$ac_dir/install-sh"; then
2411 ac_install_sh
="$ac_aux_dir/install-sh -c"
2413 elif test -f "$ac_dir/install.sh"; then
2415 ac_install_sh
="$ac_aux_dir/install.sh -c"
2417 elif test -f "$ac_dir/shtool"; then
2419 ac_install_sh
="$ac_aux_dir/shtool install -c"
2423 if test -z "$ac_aux_dir"; then
2424 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2427 # These three variables are undocumented and unsupported,
2428 # and are intended to be withdrawn in a future Autoconf release.
2429 # They can cause serious problems if a builder's source tree is in a directory
2430 # whose full name contains unusual characters.
2431 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2432 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2433 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2436 # Make sure we can run config.sub.
2437 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2438 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2441 $as_echo_n "checking build system type... " >&6; }
2442 if ${ac_cv_build+:} false
; then :
2443 $as_echo_n "(cached) " >&6
2445 ac_build_alias
=$build_alias
2446 test "x$ac_build_alias" = x
&&
2447 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2448 test "x$ac_build_alias" = x
&&
2449 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2450 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2451 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2455 $as_echo "$ac_cv_build" >&6; }
2456 case $ac_cv_build in
2458 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2461 ac_save_IFS
=$IFS; IFS
='-'
2467 # Remember, the first character of IFS is used to create $*,
2468 # except with old shells:
2471 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2475 $as_echo_n "checking host system type... " >&6; }
2476 if ${ac_cv_host+:} false
; then :
2477 $as_echo_n "(cached) " >&6
2479 if test "x$host_alias" = x
; then
2480 ac_cv_host
=$ac_cv_build
2482 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2483 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2488 $as_echo "$ac_cv_host" >&6; }
2491 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2494 ac_save_IFS
=$IFS; IFS
='-'
2500 # Remember, the first character of IFS is used to create $*,
2501 # except with old shells:
2504 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2508 $as_echo_n "checking target system type... " >&6; }
2509 if ${ac_cv_target+:} false
; then :
2510 $as_echo_n "(cached) " >&6
2512 if test "x$target_alias" = x
; then
2513 ac_cv_target
=$ac_cv_host
2515 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2516 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2521 $as_echo "$ac_cv_target" >&6; }
2522 case $ac_cv_target in
2524 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2526 target
=$ac_cv_target
2527 ac_save_IFS
=$IFS; IFS
='-'
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2537 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2540 # The aliases save the names the user supplied, while $host etc.
2541 # will get canonicalized.
2542 test -n "$target_alias" &&
2543 test "$program_prefix$program_suffix$program_transform_name" = \
2545 program_prefix
=${target_alias}-
2548 target_alias
=${target_alias-$target}
2551 # 1.11.1: Require that version of automake.
2552 # foreign: Don't require README, INSTALL, NEWS, etc.
2553 # no-define: Don't define PACKAGE and VERSION.
2554 # no-dependencies: Don't generate automatic dependencies.
2555 # (because it breaks when using bootstrap-lean, since some of the
2556 # headers are gone at "make install" time).
2557 # subdir-objects: Build objects in sub-directories.
2558 # -Wall: Issue all automake warnings.
2559 # -Wno-portability: Don't warn about constructs supported by GNU make.
2560 # (because GCC requires GNU make anyhow).
2561 # -Wno-override: Overrides used in testsuite.
2562 am__api_version
='1.15'
2564 # Find a good install program. We prefer a C program (faster),
2565 # so one script is as good as another. But avoid the broken or
2566 # incompatible versions:
2567 # SysV /etc/install, /usr/sbin/install
2568 # SunOS /usr/etc/install
2569 # IRIX /sbin/install
2571 # AmigaOS /C/install, which installs bootblocks on floppy discs
2572 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2573 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2574 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2575 # OS/2's system install, which has a completely different semantic
2576 # ./install, which can be erroneously created by make from ./install.sh.
2577 # Reject install programs that cannot install multiple files.
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2579 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2580 if test -z "$INSTALL"; then
2581 if ${ac_cv_path_install+:} false
; then :
2582 $as_echo_n "(cached) " >&6
2584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir
=.
2589 # Account for people who put trailing slashes in PATH elements.
2590 case $as_dir/ in #((
2591 .
/ | .
// |
/[cC
]/* | \
2592 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2593 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2596 # OSF1 and SCO ODT 3.0 have their own names for install.
2597 # Don't use installbsd from OSF since it installs stuff as root
2599 for ac_prog
in ginstall scoinst
install; do
2600 for ac_exec_ext
in '' $ac_executable_extensions; do
2601 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2602 if test $ac_prog = install &&
2603 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2604 # AIX install. It has an incompatible calling convention.
2606 elif test $ac_prog = install &&
2607 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2608 # program-specific install script used by HP pwplus--don't use.
2611 rm -rf conftest.one conftest.two conftest.dir
2612 echo one
> conftest.one
2613 echo two
> conftest.two
2615 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2616 test -s conftest.one
&& test -s conftest.two
&&
2617 test -s conftest.dir
/conftest.one
&&
2618 test -s conftest.dir
/conftest.two
2620 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2633 rm -rf conftest.one conftest.two conftest.dir
2636 if test "${ac_cv_path_install+set}" = set; then
2637 INSTALL
=$ac_cv_path_install
2639 # As a last resort, use the slow shell script. Don't cache a
2640 # value for INSTALL within a source directory, because that will
2641 # break other packages using the cache if that directory is
2642 # removed, or if the value is a relative name.
2643 INSTALL
=$ac_install_sh
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2647 $as_echo "$INSTALL" >&6; }
2649 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2650 # It thinks the first close brace ends the variable substitution.
2651 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2653 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2655 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2658 $as_echo_n "checking whether build environment is sane... " >&6; }
2659 # Reject unsafe characters in $srcdir or the absolute working directory
2660 # name. Accept space and tab only in the latter.
2664 *[\\\"\
#\$\&\'\`$am_lf]*)
2665 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2668 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2669 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2672 # Do 'set' in a subshell so we don't clobber the current shell's
2673 # arguments. Must try -L first in case configure is actually a
2674 # symlink; some systems play weird games with the mod time of symlinks
2675 # (eg FreeBSD returns the mod time of the symlink's containing
2679 for am_try
in 1 2; do
2680 echo "timestamp, slept: $am_has_slept" > conftest.
file
2681 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2682 if test "$*" = "X"; then
2684 set X
`ls -t "$srcdir/configure" conftest.file`
2686 if test "$*" != "X $srcdir/configure conftest.file" \
2687 && test "$*" != "X conftest.file $srcdir/configure"; then
2689 # If neither matched, then we have a broken ls. This can happen
2690 # if, for instance, CONFIG_SHELL is bash and it inherits a
2691 # broken ls alias from the environment. This has actually
2692 # happened. Such a system could not be considered "sane".
2693 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2694 alias in your environment" "$LINENO" 5
2696 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2703 test "$2" = conftest.
file
2709 as_fn_error $?
"newly created file is older than distributed files!
2710 Check your system clock" "$LINENO" 5
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2713 $as_echo "yes" >&6; }
2714 # If we didn't sleep, we still need to ensure time stamps of config.status and
2715 # generated files are strictly newer.
2717 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2724 test "$program_prefix" != NONE
&&
2725 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2726 # Use a double $ so make ignores it.
2727 test "$program_suffix" != NONE
&&
2728 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2729 # Double any \ or $.
2730 # By default was `s,x,x', remove it if useless.
2731 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2732 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2734 # Expand $ac_aux_dir to an absolute path.
2735 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2737 if test x
"${MISSING+set}" != xset
; then
2740 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2742 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2745 # Use eval to expand $SHELL
2746 if eval "$MISSING --is-lightweight"; then
2747 am_missing_run
="$MISSING "
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2751 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2754 if test x
"${install_sh+set}" != xset
; then
2757 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2759 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2763 # Installed binaries are usually stripped using 'strip' when the user
2764 # run "make install-strip". However 'strip' might not be the right
2765 # tool to use in cross-compilation environments, therefore Automake
2766 # will honor the 'STRIP' environment variable to overrule this program.
2767 if test "$cross_compiling" != no
; then
2768 if test -n "$ac_tool_prefix"; then
2769 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2770 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2772 $as_echo_n "checking for $ac_word... " >&6; }
2773 if ${ac_cv_prog_STRIP+:} false
; then :
2774 $as_echo_n "(cached) " >&6
2776 if test -n "$STRIP"; then
2777 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2783 test -z "$as_dir" && as_dir
=.
2784 for ac_exec_ext
in '' $ac_executable_extensions; do
2785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2786 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2796 STRIP
=$ac_cv_prog_STRIP
2797 if test -n "$STRIP"; then
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2799 $as_echo "$STRIP" >&6; }
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2802 $as_echo "no" >&6; }
2807 if test -z "$ac_cv_prog_STRIP"; then
2809 # Extract the first word of "strip", so it can be a program name with args.
2810 set dummy strip
; ac_word
=$2
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2812 $as_echo_n "checking for $ac_word... " >&6; }
2813 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2814 $as_echo_n "(cached) " >&6
2816 if test -n "$ac_ct_STRIP"; then
2817 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2823 test -z "$as_dir" && as_dir
=.
2824 for ac_exec_ext
in '' $ac_executable_extensions; do
2825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2826 ac_cv_prog_ac_ct_STRIP
="strip"
2827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2836 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2837 if test -n "$ac_ct_STRIP"; then
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2839 $as_echo "$ac_ct_STRIP" >&6; }
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2842 $as_echo "no" >&6; }
2845 if test "x$ac_ct_STRIP" = x
; then
2848 case $cross_compiling:$ac_tool_warned in
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2852 ac_tool_warned
=yes ;;
2857 STRIP
="$ac_cv_prog_STRIP"
2861 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2864 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2865 if test -z "$MKDIR_P"; then
2866 if ${ac_cv_path_mkdir+:} false
; then :
2867 $as_echo_n "(cached) " >&6
2869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2870 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2873 test -z "$as_dir" && as_dir
=.
2874 for ac_prog
in mkdir gmkdir
; do
2875 for ac_exec_ext
in '' $ac_executable_extensions; do
2876 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2877 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2878 'mkdir (GNU coreutils) '* | \
2879 'mkdir (coreutils) '* | \
2880 'mkdir (fileutils) '4.1*)
2881 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2891 test -d .
/--version && rmdir .
/--version
2892 if test "${ac_cv_path_mkdir+set}" = set; then
2893 MKDIR_P
="$ac_cv_path_mkdir -p"
2895 # As a last resort, use the slow shell script. Don't cache a
2896 # value for MKDIR_P within a source directory, because that will
2897 # break other packages using the cache if that directory is
2898 # removed, or if the value is a relative name.
2899 MKDIR_P
="$ac_install_sh -d"
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2903 $as_echo "$MKDIR_P" >&6; }
2905 for ac_prog
in gawk mawk nawk
awk
2907 # Extract the first word of "$ac_prog", so it can be a program name with args.
2908 set dummy
$ac_prog; ac_word
=$2
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910 $as_echo_n "checking for $ac_word... " >&6; }
2911 if ${ac_cv_prog_AWK+:} false
; then :
2912 $as_echo_n "(cached) " >&6
2914 if test -n "$AWK"; then
2915 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2921 test -z "$as_dir" && as_dir
=.
2922 for ac_exec_ext
in '' $ac_executable_extensions; do
2923 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2924 ac_cv_prog_AWK
="$ac_prog"
2925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 if test -n "$AWK"; then
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2937 $as_echo "$AWK" >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940 $as_echo "no" >&6; }
2944 test -n "$AWK" && break
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2948 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2950 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2951 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2952 $as_echo_n "(cached) " >&6
2954 cat >conftest.
make <<\_ACEOF
2957 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2959 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2960 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2962 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2964 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2968 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2970 $as_echo "yes" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2975 SET_MAKE
="MAKE=${MAKE-make}"
2978 rm -rf .tst
2>/dev
/null
2979 mkdir .tst
2>/dev
/null
2980 if test -d .tst
; then
2985 rmdir .tst
2>/dev
/null
2987 # Check whether --enable-silent-rules was given.
2988 if test "${enable_silent_rules+set}" = set; then :
2989 enableval
=$enable_silent_rules;
2992 case $enable_silent_rules in # (((
2993 yes) AM_DEFAULT_VERBOSITY
=0;;
2994 no
) AM_DEFAULT_VERBOSITY
=1;;
2995 *) AM_DEFAULT_VERBOSITY
=1;;
2997 am_make
=${MAKE-make}
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2999 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3000 if ${am_cv_make_support_nested_variables+:} false
; then :
3001 $as_echo_n "(cached) " >&6
3003 if $as_echo 'TRUE=$(BAR$(V))
3009 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3010 am_cv_make_support_nested_variables
=yes
3012 am_cv_make_support_nested_variables
=no
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3016 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3017 if test $am_cv_make_support_nested_variables = yes; then
3019 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3021 AM_V
=$AM_DEFAULT_VERBOSITY
3022 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3026 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3027 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3028 # is not polluted with repeated "-I."
3029 am__isrc
=' -I$(srcdir)'
3030 # test to see if srcdir already configured
3031 if test -f $srcdir/config.status
; then
3032 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3036 # test whether we have cygpath
3037 if test -z "$CYGPATH_W"; then
3038 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3039 CYGPATH_W
='cygpath -w'
3046 # Define the identity of the package.
3048 VERSION
='version-unused'
3051 # Some tools Automake needs.
3053 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3056 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3059 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3062 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3065 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3067 # For better backward compatibility. To be removed once Automake 1.9.x
3068 # dies out for good. For more background, see:
3069 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3070 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3071 mkdir_p
='$(MKDIR_P)'
3073 # We need awk for the "check" target (and possibly the TAP driver). The
3074 # system "awk" is bad on some platforms.
3075 # Always define AMTAR for backward compatibility. Yes, it's still used
3076 # in the wild :-( We should find a proper way to deprecate it ...
3080 # We'll loop over all known methods to create a tar archive until one works.
3081 _am_tools
='gnutar pax cpio none'
3083 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3090 # POSIX will say in a future version that running "rm -f" with no argument
3091 # is OK; and we want to be able to make that assumption in our Makefile
3092 # recipes. So use an aggressive probe to check that the usage we want is
3093 # actually supported "in the wild" to an acceptable degree.
3094 # See automake bug#10828.
3095 # To make any issue more visible, cause the running configure to be aborted
3096 # by default if the 'rm' program in use doesn't match our expectations; the
3097 # user can still override this though.
3098 if rm -f && rm -fr && rm -rf; then : OK
; else
3102 Your 'rm' program seems unable to run without file operands specified
3103 on the command line, even when the '-f' option is present. This is contrary
3104 to the behaviour of most rm programs out there, and not conforming with
3105 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3107 Please tell bug-automake@gnu.org about your system, including the value
3108 of your $PATH and any error possibly output before this message. This
3109 can help us improve future automake versions.
3112 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3113 echo 'Configuration will proceed anyway, since you have set the' >&2
3114 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3118 Aborting the configuration process, to ensure you take notice of the issue.
3120 You can download and install GNU coreutils to get an 'rm' implementation
3121 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3123 If you want to complete the configuration process using your problematic
3124 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3125 to "yes", and re-run configure.
3128 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3136 ac_cpp
='$CPP $CPPFLAGS'
3137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3140 if test -n "$ac_tool_prefix"; then
3141 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3142 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3144 $as_echo_n "checking for $ac_word... " >&6; }
3145 if ${ac_cv_prog_CC+:} false
; then :
3146 $as_echo_n "(cached) " >&6
3148 if test -n "$CC"; then
3149 ac_cv_prog_CC
="$CC" # Let the user override the test.
3151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3155 test -z "$as_dir" && as_dir
=.
3156 for ac_exec_ext
in '' $ac_executable_extensions; do
3157 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3158 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3169 if test -n "$CC"; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3171 $as_echo "$CC" >&6; }
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174 $as_echo "no" >&6; }
3179 if test -z "$ac_cv_prog_CC"; then
3181 # Extract the first word of "gcc", so it can be a program name with args.
3182 set dummy gcc
; ac_word
=$2
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3184 $as_echo_n "checking for $ac_word... " >&6; }
3185 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3186 $as_echo_n "(cached) " >&6
3188 if test -n "$ac_ct_CC"; then
3189 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3195 test -z "$as_dir" && as_dir
=.
3196 for ac_exec_ext
in '' $ac_executable_extensions; do
3197 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3198 ac_cv_prog_ac_ct_CC
="gcc"
3199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3209 if test -n "$ac_ct_CC"; then
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3211 $as_echo "$ac_ct_CC" >&6; }
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214 $as_echo "no" >&6; }
3217 if test "x$ac_ct_CC" = x
; then
3220 case $cross_compiling:$ac_tool_warned in
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3224 ac_tool_warned
=yes ;;
3232 if test -z "$CC"; then
3233 if test -n "$ac_tool_prefix"; then
3234 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3235 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3237 $as_echo_n "checking for $ac_word... " >&6; }
3238 if ${ac_cv_prog_CC+:} false
; then :
3239 $as_echo_n "(cached) " >&6
3241 if test -n "$CC"; then
3242 ac_cv_prog_CC
="$CC" # Let the user override the test.
3244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3248 test -z "$as_dir" && as_dir
=.
3249 for ac_exec_ext
in '' $ac_executable_extensions; do
3250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3251 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3262 if test -n "$CC"; then
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3264 $as_echo "$CC" >&6; }
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3267 $as_echo "no" >&6; }
3273 if test -z "$CC"; then
3274 # Extract the first word of "cc", so it can be a program name with args.
3275 set dummy cc
; ac_word
=$2
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3277 $as_echo_n "checking for $ac_word... " >&6; }
3278 if ${ac_cv_prog_CC+:} false
; then :
3279 $as_echo_n "(cached) " >&6
3281 if test -n "$CC"; then
3282 ac_cv_prog_CC
="$CC" # Let the user override the test.
3285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3289 test -z "$as_dir" && as_dir
=.
3290 for ac_exec_ext
in '' $ac_executable_extensions; do
3291 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3292 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3293 ac_prog_rejected
=yes
3297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304 if test $ac_prog_rejected = yes; then
3305 # We found a bogon in the path, so make sure we never use it.
3306 set dummy
$ac_cv_prog_CC
3308 if test $# != 0; then
3309 # We chose a different compiler from the bogus one.
3310 # However, it has the same basename, so the bogon will be chosen
3311 # first if we set CC to just the basename; use the full file name.
3313 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3319 if test -n "$CC"; then
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3321 $as_echo "$CC" >&6; }
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3324 $as_echo "no" >&6; }
3329 if test -z "$CC"; then
3330 if test -n "$ac_tool_prefix"; then
3331 for ac_prog
in cl.exe
3333 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3334 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3336 $as_echo_n "checking for $ac_word... " >&6; }
3337 if ${ac_cv_prog_CC+:} false
; then :
3338 $as_echo_n "(cached) " >&6
3340 if test -n "$CC"; then
3341 ac_cv_prog_CC
="$CC" # Let the user override the test.
3343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3347 test -z "$as_dir" && as_dir
=.
3348 for ac_exec_ext
in '' $ac_executable_extensions; do
3349 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3350 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3361 if test -n "$CC"; then
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3363 $as_echo "$CC" >&6; }
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3366 $as_echo "no" >&6; }
3370 test -n "$CC" && break
3373 if test -z "$CC"; then
3375 for ac_prog
in cl.exe
3377 # Extract the first word of "$ac_prog", so it can be a program name with args.
3378 set dummy
$ac_prog; ac_word
=$2
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3380 $as_echo_n "checking for $ac_word... " >&6; }
3381 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3382 $as_echo_n "(cached) " >&6
3384 if test -n "$ac_ct_CC"; then
3385 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3391 test -z "$as_dir" && as_dir
=.
3392 for ac_exec_ext
in '' $ac_executable_extensions; do
3393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3394 ac_cv_prog_ac_ct_CC
="$ac_prog"
3395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3404 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3405 if test -n "$ac_ct_CC"; then
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3407 $as_echo "$ac_ct_CC" >&6; }
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410 $as_echo "no" >&6; }
3414 test -n "$ac_ct_CC" && break
3417 if test "x$ac_ct_CC" = x
; then
3420 case $cross_compiling:$ac_tool_warned in
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3424 ac_tool_warned
=yes ;;
3433 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3435 as_fn_error $?
"no acceptable C compiler found in \$PATH
3436 See \`config.log' for more details" "$LINENO" 5; }
3438 # Provide some information about the compiler.
3439 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3442 for ac_option
in --version -v -V -qversion; do
3443 { { ac_try
="$ac_compiler $ac_option >&5"
3445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3449 $as_echo "$ac_try_echo"; } >&5
3450 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3452 if test -s conftest.err; then
3454 ... rest of stderr output deleted ...
3455 10q' conftest.err >conftest.er1
3456 cat conftest.er1 >&5
3458 rm -f conftest.er1 conftest.err
3459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3460 test $ac_status = 0; }
3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h. */
3474 ac_clean_files_save=$ac_clean_files
3475 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3476 # Try to create an executable without -o first, disregard a.out.
3477 # It will help us diagnose broken compilers, and finding out an intuition
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3480 $as_echo_n "checking whether the C compiler works... " >&6; }
3481 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3483 # The possible output files:
3484 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3487 for ac_file in $ac_files
3490 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3491 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3496 if { { ac_try="$ac_link_default"
3498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3499 *) ac_try_echo
=$ac_try;;
3501 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3502 $as_echo "$ac_try_echo"; } >&5
3503 (eval "$ac_link_default") 2>&5
3505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3506 test $ac_status = 0; }; then :
3507 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3508 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3509 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3510 # so that the user can short-circuit this test for compilers unknown to
3512 for ac_file
in $ac_files ''
3514 test -f "$ac_file" ||
continue
3516 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3519 # We found the default executable, but exeext='' is most
3523 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3525 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3527 # We set ac_cv_exeext here because the later test for it is not
3528 # safe: cross compilers may not add the suffix if given an `-o'
3529 # argument, so we may need to know it at that point already.
3530 # Even if this section looks crufty: it has the advantage of
3537 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3542 if test -z "$ac_file"; then :
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544 $as_echo "no" >&6; }
3545 $as_echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.
$ac_ext >&5
3548 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3550 as_fn_error
77 "C compiler cannot create executables
3551 See \`config.log' for more details" "$LINENO" 5; }
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3554 $as_echo "yes" >&6; }
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3557 $as_echo_n "checking for C compiler default output file name... " >&6; }
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3559 $as_echo "$ac_file" >&6; }
3560 ac_exeext
=$ac_cv_exeext
3562 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3563 ac_clean_files
=$ac_clean_files_save
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3565 $as_echo_n "checking for suffix of executables... " >&6; }
3566 if { { ac_try
="$ac_link"
3568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3569 *) ac_try_echo=$ac_try;;
3571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3572 $as_echo "$ac_try_echo"; } >&5
3573 (eval "$ac_link") 2>&5
3575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3576 test $ac_status = 0; }; then :
3577 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3578 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3579 # work properly (i.e., refer to `conftest.exe'), while it won't with
3581 for ac_file
in conftest.exe conftest conftest.
*; do
3582 test -f "$ac_file" ||
continue
3584 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3585 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3593 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3594 See \`config.log' for more details" "$LINENO" 5; }
3596 rm -f conftest conftest
$ac_cv_exeext
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3598 $as_echo "$ac_cv_exeext" >&6; }
3600 rm -f conftest.
$ac_ext
3601 EXEEXT
=$ac_cv_exeext
3603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3609 FILE *f = fopen ("conftest.out", "w");
3610 return ferror (f) || fclose (f) != 0;
3616 ac_clean_files
="$ac_clean_files conftest.out"
3617 # Check that the compiler produces executables we can run. If not, either
3618 # the compiler is broken, or we cross compile.
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3620 $as_echo_n "checking whether we are cross compiling... " >&6; }
3621 if test "$cross_compiling" != yes; then
3622 { { ac_try
="$ac_link"
3624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3625 *) ac_try_echo=$ac_try;;
3627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3628 $as_echo "$ac_try_echo"; } >&5
3629 (eval "$ac_link") 2>&5
3631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3632 test $ac_status = 0; }
3633 if { ac_try='./conftest$ac_cv_exeext'
3634 { { case "(($ac_try" in
3635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3636 *) ac_try_echo
=$ac_try;;
3638 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3639 $as_echo "$ac_try_echo"; } >&5
3640 (eval "$ac_try") 2>&5
3642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3643 test $ac_status = 0; }; }; then
3646 if test "$cross_compiling" = maybe
; then
3649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3651 as_fn_error $?
"cannot run C compiled programs.
3652 If you meant to cross compile, use \`--host'.
3653 See \`config.log' for more details" "$LINENO" 5; }
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3658 $as_echo "$cross_compiling" >&6; }
3660 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3661 ac_clean_files
=$ac_clean_files_save
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3663 $as_echo_n "checking for suffix of object files... " >&6; }
3664 if ${ac_cv_objext+:} false
; then :
3665 $as_echo_n "(cached) " >&6
3667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3678 rm -f conftest.o conftest.obj
3679 if { { ac_try
="$ac_compile"
3681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3682 *) ac_try_echo=$ac_try;;
3684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3685 $as_echo "$ac_try_echo"; } >&5
3686 (eval "$ac_compile") 2>&5
3688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3689 test $ac_status = 0; }; then :
3690 for ac_file in conftest.o conftest.obj conftest.*; do
3691 test -f "$ac_file" || continue;
3693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3694 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3699 $as_echo "$as_me: failed program was:" >&5
3700 sed 's/^/| /' conftest.$ac_ext >&5
3702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3704 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3705 See \
`config.log' for more details" "$LINENO" 5; }
3707 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3710 $as_echo "$ac_cv_objext" >&6; }
3711 OBJEXT=$ac_cv_objext
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3714 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3715 if ${ac_cv_c_compiler_gnu+:} false; then :
3716 $as_echo_n "(cached) " >&6
3718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h. */
3732 if ac_fn_c_try_compile "$LINENO"; then :
3737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3738 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3742 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3743 if test $ac_compiler_gnu = yes; then
3748 ac_test_CFLAGS=${CFLAGS+set}
3749 ac_save_CFLAGS=$CFLAGS
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3751 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3752 if ${ac_cv_prog_cc_g+:} false; then :
3753 $as_echo_n "(cached) " >&6
3755 ac_save_c_werror_flag=$ac_c_werror_flag
3756 ac_c_werror_flag=yes
3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3770 if ac_fn_c_try_compile "$LINENO"; then :
3774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775 /* end confdefs.h. */
3785 if ac_fn_c_try_compile "$LINENO"; then :
3788 ac_c_werror_flag=$ac_save_c_werror_flag
3790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791 /* end confdefs.h. */
3801 if ac_fn_c_try_compile "$LINENO"; then :
3804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3809 ac_c_werror_flag=$ac_save_c_werror_flag
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3812 $as_echo "$ac_cv_prog_cc_g" >&6; }
3813 if test "$ac_test_CFLAGS" = set; then
3814 CFLAGS=$ac_save_CFLAGS
3815 elif test $ac_cv_prog_cc_g = yes; then
3816 if test "$GCC" = yes; then
3822 if test "$GCC" = yes; then
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3829 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3830 if ${ac_cv_prog_cc_c89+:} false; then :
3831 $as_echo_n "(cached) " >&6
3833 ac_cv_prog_cc_c89=no
3835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h. */
3840 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3841 struct buf { int x; };
3842 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3843 static char *e (p, i)
3849 static char *f (char * (*g) (char **, int), char **p, ...)
3854 s = g (p, va_arg (v,int));
3859 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3860 function prototypes and stuff, but not '\xHH' hex character constants.
3861 These don't provoke an error unfortunately, instead are silently treated
3862 as 'x'. The following induces an error, until -std is added to get
3863 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3864 array size at least. It's necessary to write '\x00'==0 to get something
3865 that's true only with -std. */
3866 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3868 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3869 inside strings and character constants. */
3871 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3873 int test (int i, double x);
3874 struct s1 {int (*f) (int a);};
3875 struct s2 {int (*f) (double a);};
3876 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3882 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3887 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3888 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3890 CC="$ac_save_CC $ac_arg"
3891 if ac_fn_c_try_compile "$LINENO"; then :
3892 ac_cv_prog_cc_c89=$ac_arg
3894 rm -f core conftest.err conftest.$ac_objext
3895 test "x$ac_cv_prog_cc_c89" != "xno" && break
3897 rm -f conftest.$ac_ext
3902 case "x$ac_cv_prog_cc_c89" in
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3905 $as_echo "none needed" >&6; } ;;
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3908 $as_echo "unsupported" >&6; } ;;
3910 CC="$CC $ac_cv_prog_cc_c89"
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3912 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3914 if test "x$ac_cv_prog_cc_c89" != xno; then :
3919 ac_cpp='$CPP $CPPFLAGS'
3920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3925 ac_cpp='$CPP $CPPFLAGS'
3926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3930 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3931 if ${am_cv_prog_cc_c_o+:} false; then :
3932 $as_echo_n "(cached) " >&6
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3945 # Make sure it works both with $CC and with simple cc.
3946 # Following AC_PROG_CC_C_O, we do the test twice because some
3947 # compilers refuse to overwrite an existing .o file with -o,
3948 # though they will create one.
3949 am_cv_prog_cc_c_o=yes
3951 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3952 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); } \
3956 && test -f conftest2.$ac_objext; then
3959 am_cv_prog_cc_c_o=no
3963 rm -f core conftest*
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3967 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3968 if test "$am_cv_prog_cc_c_o" != yes; then
3969 # Losing compiler, so override with the script.
3970 # FIXME: It is wrong to rewrite CC.
3971 # But if we don't then we get into trouble of one sort or another.
3972 # A longer-term fix would be to have automake use am__CC in this case,
3973 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3974 CC="$am_aux_dir/compile $CC"
3977 ac_cpp='$CPP $CPPFLAGS'
3978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3983 # By default we simply use the C compiler to build assembly code.
3985 test "${CCAS+set}" = set || CCAS=$CC
3986 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3991 ac_cpp='$CPP $CPPFLAGS'
3992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3995 if test -n "$ac_tool_prefix"; then
3996 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3997 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3999 $as_echo_n "checking for $ac_word... " >&6; }
4000 if ${ac_cv_prog_CC+:} false; then :
4001 $as_echo_n "(cached) " >&6
4003 if test -n "$CC"; then
4004 ac_cv_prog_CC="$CC" # Let the user override the test.
4006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4010 test -z "$as_dir" && as_dir=.
4011 for ac_exec_ext in '' $ac_executable_extensions; do
4012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4013 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4024 if test -n "$CC"; then
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4026 $as_echo "$CC" >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4029 $as_echo "no" >&6; }
4034 if test -z "$ac_cv_prog_CC"; then
4036 # Extract the first word of "gcc", so it can be a program name with args.
4037 set dummy gcc; ac_word=$2
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4039 $as_echo_n "checking for $ac_word... " >&6; }
4040 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4041 $as_echo_n "(cached) " >&6
4043 if test -n "$ac_ct_CC"; then
4044 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4050 test -z "$as_dir" && as_dir=.
4051 for ac_exec_ext in '' $ac_executable_extensions; do
4052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4053 ac_cv_prog_ac_ct_CC="gcc"
4054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4064 if test -n "$ac_ct_CC"; then
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4066 $as_echo "$ac_ct_CC" >&6; }
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4069 $as_echo "no" >&6; }
4072 if test "x$ac_ct_CC" = x; then
4075 case $cross_compiling:$ac_tool_warned in
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4079 ac_tool_warned=yes ;;
4087 if test -z "$CC"; then
4088 if test -n "$ac_tool_prefix"; then
4089 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4090 set dummy ${ac_tool_prefix}cc; ac_word=$2
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4092 $as_echo_n "checking for $ac_word... " >&6; }
4093 if ${ac_cv_prog_CC+:} false; then :
4094 $as_echo_n "(cached) " >&6
4096 if test -n "$CC"; then
4097 ac_cv_prog_CC="$CC" # Let the user override the test.
4099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4103 test -z "$as_dir" && as_dir=.
4104 for ac_exec_ext in '' $ac_executable_extensions; do
4105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4106 ac_cv_prog_CC="${ac_tool_prefix}cc"
4107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4117 if test -n "$CC"; then
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4119 $as_echo "$CC" >&6; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4128 if test -z "$CC"; then
4129 # Extract the first word of "cc", so it can be a program name with args.
4130 set dummy cc; ac_word=$2
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4132 $as_echo_n "checking for $ac_word... " >&6; }
4133 if ${ac_cv_prog_CC+:} false; then :
4134 $as_echo_n "(cached) " >&6
4136 if test -n "$CC"; then
4137 ac_cv_prog_CC="$CC" # Let the user override the test.
4140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4144 test -z "$as_dir" && as_dir=.
4145 for ac_exec_ext in '' $ac_executable_extensions; do
4146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4147 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4148 ac_prog_rejected=yes
4152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4159 if test $ac_prog_rejected = yes; then
4160 # We found a bogon in the path, so make sure we never use it.
4161 set dummy $ac_cv_prog_CC
4163 if test $# != 0; then
4164 # We chose a different compiler from the bogus one.
4165 # However, it has the same basename, so the bogon will be chosen
4166 # first if we set CC to just the basename; use the full file name.
4168 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4174 if test -n "$CC"; then
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4176 $as_echo "$CC" >&6; }
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4179 $as_echo "no" >&6; }
4184 if test -z "$CC"; then
4185 if test -n "$ac_tool_prefix"; then
4186 for ac_prog in cl.exe
4188 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4189 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4191 $as_echo_n "checking for $ac_word... " >&6; }
4192 if ${ac_cv_prog_CC+:} false; then :
4193 $as_echo_n "(cached) " >&6
4195 if test -n "$CC"; then
4196 ac_cv_prog_CC="$CC" # Let the user override the test.
4198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4202 test -z "$as_dir" && as_dir=.
4203 for ac_exec_ext in '' $ac_executable_extensions; do
4204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4205 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4216 if test -n "$CC"; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4218 $as_echo "$CC" >&6; }
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4225 test -n "$CC" && break
4228 if test -z "$CC"; then
4230 for ac_prog in cl.exe
4232 # Extract the first word of "$ac_prog", so it can be a program name with args.
4233 set dummy $ac_prog; ac_word=$2
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4235 $as_echo_n "checking for $ac_word... " >&6; }
4236 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4237 $as_echo_n "(cached) " >&6
4239 if test -n "$ac_ct_CC"; then
4240 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4246 test -z "$as_dir" && as_dir=.
4247 for ac_exec_ext in '' $ac_executable_extensions; do
4248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4249 ac_cv_prog_ac_ct_CC="$ac_prog"
4250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4259 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4260 if test -n "$ac_ct_CC"; then
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4262 $as_echo "$ac_ct_CC" >&6; }
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4265 $as_echo "no" >&6; }
4269 test -n "$ac_ct_CC" && break
4272 if test "x$ac_ct_CC" = x; then
4275 case $cross_compiling:$ac_tool_warned in
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4279 ac_tool_warned=yes ;;
4288 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4290 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4291 See \
`config.log' for more details" "$LINENO" 5; }
4293 # Provide some information about the compiler.
4294 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4297 for ac_option in --version -v -V -qversion; do
4298 { { ac_try="$ac_compiler $ac_option >&5"
4300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4301 *) ac_try_echo
=$ac_try;;
4303 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4304 $as_echo "$ac_try_echo"; } >&5
4305 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4307 if test -s conftest.err
; then
4309 ... rest of stderr output deleted ...
4310 10q' conftest.err
>conftest.er1
4311 cat conftest.er1
>&5
4313 rm -f conftest.er1 conftest.err
4314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4315 test $ac_status = 0; }
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4319 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4320 if ${ac_cv_c_compiler_gnu+:} false
; then :
4321 $as_echo_n "(cached) " >&6
4323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4324 /* end confdefs.h. */
4337 if ac_fn_c_try_compile
"$LINENO"; then :
4342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4343 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4347 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4348 if test $ac_compiler_gnu = yes; then
4353 ac_test_CFLAGS
=${CFLAGS+set}
4354 ac_save_CFLAGS
=$CFLAGS
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4356 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4357 if ${ac_cv_prog_cc_g+:} false
; then :
4358 $as_echo_n "(cached) " >&6
4360 ac_save_c_werror_flag
=$ac_c_werror_flag
4361 ac_c_werror_flag
=yes
4364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4375 if ac_fn_c_try_compile
"$LINENO"; then :
4379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4390 if ac_fn_c_try_compile
"$LINENO"; then :
4393 ac_c_werror_flag
=$ac_save_c_werror_flag
4395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4396 /* end confdefs.h. */
4406 if ac_fn_c_try_compile
"$LINENO"; then :
4409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4414 ac_c_werror_flag
=$ac_save_c_werror_flag
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4417 $as_echo "$ac_cv_prog_cc_g" >&6; }
4418 if test "$ac_test_CFLAGS" = set; then
4419 CFLAGS
=$ac_save_CFLAGS
4420 elif test $ac_cv_prog_cc_g = yes; then
4421 if test "$GCC" = yes; then
4427 if test "$GCC" = yes; then
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4434 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4435 if ${ac_cv_prog_cc_c89+:} false
; then :
4436 $as_echo_n "(cached) " >&6
4438 ac_cv_prog_cc_c89
=no
4440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4445 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4446 struct buf { int x; };
4447 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4448 static char *e (p, i)
4454 static char *f (char * (*g) (char **, int), char **p, ...)
4459 s = g (p, va_arg (v,int));
4464 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4465 function prototypes and stuff, but not '\xHH' hex character constants.
4466 These don't provoke an error unfortunately, instead are silently treated
4467 as 'x'. The following induces an error, until -std is added to get
4468 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4469 array size at least. It's necessary to write '\x00'==0 to get something
4470 that's true only with -std. */
4471 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4473 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4474 inside strings and character constants. */
4476 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4478 int test (int i, double x);
4479 struct s1 {int (*f) (int a);};
4480 struct s2 {int (*f) (double a);};
4481 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4487 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4492 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4493 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4495 CC
="$ac_save_CC $ac_arg"
4496 if ac_fn_c_try_compile
"$LINENO"; then :
4497 ac_cv_prog_cc_c89
=$ac_arg
4499 rm -f core conftest.err conftest.
$ac_objext
4500 test "x$ac_cv_prog_cc_c89" != "xno" && break
4502 rm -f conftest.
$ac_ext
4507 case "x$ac_cv_prog_cc_c89" in
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4510 $as_echo "none needed" >&6; } ;;
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4513 $as_echo "unsupported" >&6; } ;;
4515 CC
="$CC $ac_cv_prog_cc_c89"
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4517 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4519 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4524 ac_cpp
='$CPP $CPPFLAGS'
4525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4530 ac_cpp
='$CPP $CPPFLAGS'
4531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4535 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4536 if ${am_cv_prog_cc_c_o+:} false
; then :
4537 $as_echo_n "(cached) " >&6
4539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4550 # Make sure it works both with $CC and with simple cc.
4551 # Following AC_PROG_CC_C_O, we do the test twice because some
4552 # compilers refuse to overwrite an existing .o file with -o,
4553 # though they will create one.
4554 am_cv_prog_cc_c_o
=yes
4556 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4557 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); } \
4561 && test -f conftest2.
$ac_objext; then
4564 am_cv_prog_cc_c_o
=no
4568 rm -f core conftest
*
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4572 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4573 if test "$am_cv_prog_cc_c_o" != yes; then
4574 # Losing compiler, so override with the script.
4575 # FIXME: It is wrong to rewrite CC.
4576 # But if we don't then we get into trouble of one sort or another.
4577 # A longer-term fix would be to have automake use am__CC in this case,
4578 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4579 CC
="$am_aux_dir/compile $CC"
4582 ac_cpp
='$CPP $CPPFLAGS'
4583 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4584 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4585 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4589 ac_compile
='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
4590 ac_link
='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4592 if test -n "$ac_tool_prefix"; then
4593 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
4594 set dummy
${ac_tool_prefix}gdc
; ac_word
=$2
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4596 $as_echo_n "checking for $ac_word... " >&6; }
4597 if ${ac_cv_prog_GDC+:} false
; then :
4598 $as_echo_n "(cached) " >&6
4600 if test -n "$GDC"; then
4601 ac_cv_prog_GDC
="$GDC" # Let the user override the test.
4603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4607 test -z "$as_dir" && as_dir
=.
4608 for ac_exec_ext
in '' $ac_executable_extensions; do
4609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4610 ac_cv_prog_GDC
="${ac_tool_prefix}gdc"
4611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 if test -n "$GDC"; then
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
4623 $as_echo "$GDC" >&6; }
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626 $as_echo "no" >&6; }
4631 if test -z "$ac_cv_prog_GDC"; then
4633 # Extract the first word of "gdc", so it can be a program name with args.
4634 set dummy gdc
; ac_word
=$2
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4636 $as_echo_n "checking for $ac_word... " >&6; }
4637 if ${ac_cv_prog_ac_ct_GDC+:} false
; then :
4638 $as_echo_n "(cached) " >&6
4640 if test -n "$ac_ct_GDC"; then
4641 ac_cv_prog_ac_ct_GDC
="$ac_ct_GDC" # Let the user override the test.
4643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4647 test -z "$as_dir" && as_dir
=.
4648 for ac_exec_ext
in '' $ac_executable_extensions; do
4649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4650 ac_cv_prog_ac_ct_GDC
="gdc"
4651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 ac_ct_GDC
=$ac_cv_prog_ac_ct_GDC
4661 if test -n "$ac_ct_GDC"; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GDC" >&5
4663 $as_echo "$ac_ct_GDC" >&6; }
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4666 $as_echo "no" >&6; }
4669 if test "x$ac_ct_GDC" = x
; then
4672 case $cross_compiling:$ac_tool_warned in
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4676 ac_tool_warned
=yes ;;
4681 GDC
="$ac_cv_prog_GDC"
4684 if test -z "$GDC"; then
4685 if test -n "$ac_tool_prefix"; then
4686 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
4687 set dummy
${ac_tool_prefix}gdc
; ac_word
=$2
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689 $as_echo_n "checking for $ac_word... " >&6; }
4690 if ${ac_cv_prog_GDC+:} false
; then :
4691 $as_echo_n "(cached) " >&6
4693 if test -n "$GDC"; then
4694 ac_cv_prog_GDC
="$GDC" # Let the user override the test.
4696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4700 test -z "$as_dir" && as_dir
=.
4701 for ac_exec_ext
in '' $ac_executable_extensions; do
4702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4703 ac_cv_prog_GDC
="$ac_tool_prefix}gdc"
4704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4714 if test -n "$GDC"; then
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
4716 $as_echo "$GDC" >&6; }
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4725 if test -z "$GDC"; then
4726 # Extract the first word of "gdc", so it can be a program name with args.
4727 set dummy gdc
; ac_word
=$2
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729 $as_echo_n "checking for $ac_word... " >&6; }
4730 if ${ac_cv_prog_GDC+:} false
; then :
4731 $as_echo_n "(cached) " >&6
4733 if test -n "$GDC"; then
4734 ac_cv_prog_GDC
="$GDC" # Let the user override the test.
4737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4741 test -z "$as_dir" && as_dir
=.
4742 for ac_exec_ext
in '' $ac_executable_extensions; do
4743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4744 if test "$as_dir/$ac_word$ac_exec_ext" = "false"; then
4745 ac_prog_rejected
=yes
4748 ac_cv_prog_GDC
="gdc"
4749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4756 if test $ac_prog_rejected = yes; then
4757 # We found a bogon in the path, so make sure we never use it.
4758 set dummy
$ac_cv_prog_GDC
4760 if test $# != 0; then
4761 # We chose a different compiler from the bogus one.
4762 # However, it has the same basename, so the bogon will be chosen
4763 # first if we set GDC to just the basename; use the full file name.
4765 ac_cv_prog_GDC
="$as_dir/$ac_word${1+' '}$@"
4771 if test -n "$GDC"; then
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
4773 $as_echo "$GDC" >&6; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4783 # Provide some information about the compiler.
4784 $as_echo "$as_me:${as_lineno-$LINENO}: checking for D compiler version" >&5
4787 { { ac_try
="$ac_compiler --version >&5"
4789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4790 *) ac_try_echo=$ac_try;;
4792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4793 $as_echo "$ac_try_echo"; } >&5
4794 (eval "$ac_compiler --version >&5") 2>conftest.err
4796 if test -s conftest.err; then
4798 ... rest of stderr output deleted ...
4799 10q' conftest.err >conftest.er1
4800 cat conftest.er1 >&5
4802 rm -f conftest.er1 conftest.err
4803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4804 test $ac_status = 0; }
4806 ac_cpp='$CPP $CPPFLAGS'
4807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for absolute libphobos source path" >&5
4813 $as_echo_n "checking for absolute libphobos source path... " >&6; }
4814 if ${phobos_cv_abs_srcdir+:} false; then :
4815 $as_echo_n "(cached) " >&6
4817 phobos_cv_abs_srcdir=`cd $srcdir && pwd`
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $phobos_cv_abs_srcdir" >&5
4820 $as_echo "$phobos_cv_abs_srcdir" >&6; }
4821 if test -d "$phobos_cv_abs_srcdir"; then :
4824 as_fn_error $? "can't find absolute libphobos source path" "$LINENO" 5
4830 gdc_save_DFLAGS=$GDCFLAGS
4831 GDCFLAGS="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime $GDCFLAGS"
4834 ac_compile='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
4835 ac_link='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If $GDC can compile D sources" >&5
4839 $as_echo_n "checking If $GDC can compile D sources... " >&6; }
4840 cat > conftest.$ac_ext <<_ACEOF
4844 extern(C) int main() {
4848 if ac_fn_d_try_compile "$LINENO"; then :
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4850 $as_echo "yes" >&6; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 $as_echo "no" >&6; }
4854 as_fn_error $? "can't compile D sources!" "$LINENO" 5
4856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4858 ac_cpp='$CPP $CPPFLAGS'
4859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4864 GDCFLAGS=$gdc_save_DFLAGS
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4872 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4873 # Check whether --enable-maintainer-mode was given.
4874 if test "${enable_maintainer_mode+set}" = set; then :
4875 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4877 USE_MAINTAINER_MODE=no
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4881 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4882 if test $USE_MAINTAINER_MODE = yes; then
4883 MAINTAINER_MODE_TRUE=
4884 MAINTAINER_MODE_FALSE='#'
4886 MAINTAINER_MODE_TRUE='#'
4887 MAINTAINER_MODE_FALSE=
4890 MAINT=$MAINTAINER_MODE_TRUE
4893 if test -n "$ac_tool_prefix"; then
4894 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4895 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897 $as_echo_n "checking for $ac_word... " >&6; }
4898 if ${ac_cv_prog_RANLIB+:} false; then :
4899 $as_echo_n "(cached) " >&6
4901 if test -n "$RANLIB"; then
4902 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 test -z "$as_dir" && as_dir=.
4909 for ac_exec_ext in '' $ac_executable_extensions; do
4910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4911 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4921 RANLIB=$ac_cv_prog_RANLIB
4922 if test -n "$RANLIB"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4924 $as_echo "$RANLIB" >&6; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4932 if test -z "$ac_cv_prog_RANLIB"; then
4933 ac_ct_RANLIB=$RANLIB
4934 # Extract the first word of "ranlib", so it can be a program name with args.
4935 set dummy ranlib; ac_word=$2
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4937 $as_echo_n "checking for $ac_word... " >&6; }
4938 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4939 $as_echo_n "(cached) " >&6
4941 if test -n "$ac_ct_RANLIB"; then
4942 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4948 test -z "$as_dir" && as_dir=.
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4951 ac_cv_prog_ac_ct_RANLIB="ranlib"
4952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4961 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4962 if test -n "$ac_ct_RANLIB"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4964 $as_echo "$ac_ct_RANLIB" >&6; }
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 $as_echo "no" >&6; }
4970 if test "x$ac_ct_RANLIB" = x; then
4973 case $cross_compiling:$ac_tool_warned in
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4977 ac_tool_warned=yes ;;
4979 RANLIB=$ac_ct_RANLIB
4982 RANLIB="$ac_cv_prog_RANLIB"
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4987 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4989 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4990 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4991 $as_echo_n "(cached) " >&6
4993 cat >conftest.make <<\_ACEOF
4996 @echo '@@@%%%=$(MAKE)=@@@%%%'
4998 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4999 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
5001 eval ac_cv_prog_make_${ac_make}_set=yes;;
5003 eval ac_cv_prog_make_${ac_make}_set=no;;
5007 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5009 $as_echo "yes" >&6; }
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5014 SET_MAKE="MAKE=${MAKE-make}"
5018 # This should be inherited in the recursive make, but ensure it is defined.
5022 CC_FOR_BUILD=${CC_FOR_BUILD:-gcc}
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5030 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5035 macro_version='2.2.7a'
5036 macro_revision='1.3134'
5050 ltmain="$ac_aux_dir/ltmain.sh"
5052 # Backslashify metacharacters that are still active within
5053 # double-quoted strings.
5054 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5056 # Same as above, but do not quote variable references.
5057 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5059 # Sed substitution to delay expansion of an escaped shell variable in a
5060 # double_quote_subst'ed string.
5061 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5063 # Sed substitution to delay expansion of an escaped single quote.
5064 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5066 # Sed substitution to avoid accidental globbing in evaled expressions
5067 no_glob_subst='s/\*/\\\*/g'
5069 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5070 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5071 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5074 $as_echo_n "checking how to print
strings...
" >&6; }
5075 # Test print first, because it will be a builtin if present.
5076 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5077 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5079 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5082 # Use this function as a fallback that always works.
5083 func_fallback_echo ()
5085 eval 'cat <<_LTECHO_EOF
5089 ECHO='func_fallback_echo'
5092 # func_echo_all arg...
5093 # Invoke $ECHO with all args, space-separated.
5100 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5101 $as_echo "printf" >&6; } ;;
5102 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5103 $as_echo "print
-r" >&6; } ;;
5104 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5105 $as_echo "cat" >&6; } ;;
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5122 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5123 if ${ac_cv_path_SED+:} false; then :
5124 $as_echo_n "(cached
) " >&6
5126 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5127 for ac_i in 1 2 3 4 5 6 7; do
5128 ac_script="$ac_script$as_nl$ac_script"
5130 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5131 { ac_script=; unset ac_script;}
5132 if test -z "$SED"; then
5133 ac_path_SED_found=false
5134 # Loop through the user's path and test for each of PROGNAME-LIST
5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir=.
5140 for ac_prog in sed gsed; do
5141 for ac_exec_ext in '' $ac_executable_extensions; do
5142 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5143 as_fn_executable_p "$ac_path_SED" || continue
5144 # Check for GNU ac_path_SED and select it if it is found.
5145 # Check for GNU $ac_path_SED
5146 case `"$ac_path_SED" --version 2>&1` in
5148 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5151 $as_echo_n 0123456789 >"conftest.
in"
5154 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5155 mv "conftest.tmp
" "conftest.
in"
5156 cp "conftest.
in" "conftest.
nl"
5157 $as_echo '' >> "conftest.
nl"
5158 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5159 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5160 as_fn_arith $ac_count + 1 && ac_count=$as_val
5161 if test $ac_count -gt ${ac_path_SED_max-0}; then
5162 # Best one so far, save it but keep looking for a better one
5163 ac_cv_path_SED="$ac_path_SED"
5164 ac_path_SED_max=$ac_count
5166 # 10*(2^10) chars as input seems more than enough
5167 test $ac_count -gt 10 && break
5169 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5172 $ac_path_SED_found && break 3
5177 if test -z "$ac_cv_path_SED"; then
5178 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5186 $as_echo "$ac_cv_path_SED" >&6; }
5187 SED="$ac_cv_path_SED"
5190 test -z "$SED" && SED=sed
5191 Xsed="$SED -e 1s
/^X
//"
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5204 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5205 if ${ac_cv_path_GREP+:} false; then :
5206 $as_echo_n "(cached
) " >&6
5208 if test -z "$GREP"; then
5209 ac_path_GREP_found=false
5210 # Loop through the user's path and test for each of PROGNAME-LIST
5211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5215 test -z "$as_dir" && as_dir=.
5216 for ac_prog in grep ggrep; do
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5219 as_fn_executable_p "$ac_path_GREP" || continue
5220 # Check for GNU ac_path_GREP and select it if it is found.
5221 # Check for GNU $ac_path_GREP
5222 case `"$ac_path_GREP" --version 2>&1` in
5224 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5227 $as_echo_n 0123456789 >"conftest.
in"
5230 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5231 mv "conftest.tmp
" "conftest.
in"
5232 cp "conftest.
in" "conftest.
nl"
5233 $as_echo 'GREP' >> "conftest.
nl"
5234 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5235 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5236 as_fn_arith $ac_count + 1 && ac_count=$as_val
5237 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5238 # Best one so far, save it but keep looking for a better one
5239 ac_cv_path_GREP="$ac_path_GREP"
5240 ac_path_GREP_max=$ac_count
5242 # 10*(2^10) chars as input seems more than enough
5243 test $ac_count -gt 10 && break
5245 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5248 $ac_path_GREP_found && break 3
5253 if test -z "$ac_cv_path_GREP"; then
5254 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5257 ac_cv_path_GREP=$GREP
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5262 $as_echo "$ac_cv_path_GREP" >&6; }
5263 GREP="$ac_cv_path_GREP"
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5267 $as_echo_n "checking
for egrep...
" >&6; }
5268 if ${ac_cv_path_EGREP+:} false; then :
5269 $as_echo_n "(cached
) " >&6
5271 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5272 then ac_cv_path_EGREP="$GREP -E"
5274 if test -z "$EGREP"; then
5275 ac_path_EGREP_found=false
5276 # Loop through the user's path and test for each of PROGNAME-LIST
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5281 test -z "$as_dir" && as_dir=.
5282 for ac_prog in egrep; do
5283 for ac_exec_ext in '' $ac_executable_extensions; do
5284 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5285 as_fn_executable_p "$ac_path_EGREP" || continue
5286 # Check for GNU ac_path_EGREP and select it if it is found.
5287 # Check for GNU $ac_path_EGREP
5288 case `"$ac_path_EGREP" --version 2>&1` in
5290 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5293 $as_echo_n 0123456789 >"conftest.
in"
5296 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5297 mv "conftest.tmp
" "conftest.
in"
5298 cp "conftest.
in" "conftest.
nl"
5299 $as_echo 'EGREP' >> "conftest.
nl"
5300 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5301 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5302 as_fn_arith $ac_count + 1 && ac_count=$as_val
5303 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5304 # Best one so far, save it but keep looking for a better one
5305 ac_cv_path_EGREP="$ac_path_EGREP"
5306 ac_path_EGREP_max=$ac_count
5308 # 10*(2^10) chars as input seems more than enough
5309 test $ac_count -gt 10 && break
5311 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5314 $ac_path_EGREP_found && break 3
5319 if test -z "$ac_cv_path_EGREP"; then
5320 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5323 ac_cv_path_EGREP=$EGREP
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5329 $as_echo "$ac_cv_path_EGREP" >&6; }
5330 EGREP="$ac_cv_path_EGREP"
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5334 $as_echo_n "checking
for fgrep...
" >&6; }
5335 if ${ac_cv_path_FGREP+:} false; then :
5336 $as_echo_n "(cached
) " >&6
5338 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5339 then ac_cv_path_FGREP="$GREP -F"
5341 if test -z "$FGREP"; then
5342 ac_path_FGREP_found=false
5343 # Loop through the user's path and test for each of PROGNAME-LIST
5344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5348 test -z "$as_dir" && as_dir=.
5349 for ac_prog in fgrep; do
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5352 as_fn_executable_p "$ac_path_FGREP" || continue
5353 # Check for GNU ac_path_FGREP and select it if it is found.
5354 # Check for GNU $ac_path_FGREP
5355 case `"$ac_path_FGREP" --version 2>&1` in
5357 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5360 $as_echo_n 0123456789 >"conftest.
in"
5363 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5364 mv "conftest.tmp
" "conftest.
in"
5365 cp "conftest.
in" "conftest.
nl"
5366 $as_echo 'FGREP' >> "conftest.
nl"
5367 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5368 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5369 as_fn_arith $ac_count + 1 && ac_count=$as_val
5370 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5371 # Best one so far, save it but keep looking for a better one
5372 ac_cv_path_FGREP="$ac_path_FGREP"
5373 ac_path_FGREP_max=$ac_count
5375 # 10*(2^10) chars as input seems more than enough
5376 test $ac_count -gt 10 && break
5378 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5381 $ac_path_FGREP_found && break 3
5386 if test -z "$ac_cv_path_FGREP"; then
5387 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5390 ac_cv_path_FGREP=$FGREP
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5396 $as_echo "$ac_cv_path_FGREP" >&6; }
5397 FGREP="$ac_cv_path_FGREP"
5400 test -z "$GREP" && GREP=grep
5420 # Check whether --with-gnu-ld was given.
5421 if test "${with_gnu_ld+set}" = set; then :
5422 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5428 if test "$GCC" = yes; then
5429 # Check if gcc -print-prog-name=ld gives a path.
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5431 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5434 # gcc leaves a trailing carriage return which upsets mingw
5435 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5437 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5440 # Accept absolute paths.
5442 re_direlt='/[^/][^/]*/\.\./'
5443 # Canonicalize the pathname of ld
5444 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5445 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5446 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5448 test -z "$LD" && LD="$ac_prog"
5451 # If it fails, then pretend we aren't using GCC.
5455 # If it is relative, then search for the first ld in PATH.
5459 elif test "$with_gnu_ld" = yes; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5461 $as_echo_n "checking
for GNU ld...
" >&6; }
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5464 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5466 if ${lt_cv_path_LD+:} false; then :
5467 $as_echo_n "(cached
) " >&6
5469 if test -z "$LD"; then
5470 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5471 for ac_dir in $PATH; do
5473 test -z "$ac_dir" && ac_dir=.
5474 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5475 lt_cv_path_LD="$ac_dir/$ac_prog"
5476 # Check to see if the program is GNU ld. I'd rather use --version,
5477 # but apparently some variants of GNU ld only accept -v.
5478 # Break only if it was the GNU/non-GNU ld that we prefer.
5479 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5480 *GNU* | *'with BFD'*)
5481 test "$with_gnu_ld" != no && break
5484 test "$with_gnu_ld" != yes && break
5491 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5496 if test -n "$LD"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5498 $as_echo "$LD" >&6; }
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5501 $as_echo "no
" >&6; }
5503 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5505 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5506 if ${lt_cv_prog_gnu_ld+:} false; then :
5507 $as_echo_n "(cached
) " >&6
5509 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5510 case `$LD -v 2>&1 </dev/null` in
5511 *GNU* | *'with BFD'*)
5512 lt_cv_prog_gnu_ld=yes
5515 lt_cv_prog_gnu_ld=no
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5520 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5521 with_gnu_ld=$lt_cv_prog_gnu_ld
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5532 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5533 if ${lt_cv_path_NM+:} false; then :
5534 $as_echo_n "(cached
) " >&6
5536 if test -n "$NM"; then
5537 # Let the user override the test.
5540 lt_nm_to_check="${ac_tool_prefix}nm
"
5541 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5542 lt_nm_to_check="$lt_nm_to_check nm
"
5544 for lt_tmp_nm in $lt_nm_to_check; do
5545 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5546 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5548 test -z "$ac_dir" && ac_dir=.
5549 tmp_nm="$ac_dir/$lt_tmp_nm"
5550 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5551 # Check to see if the nm accepts a BSD-compat flag.
5552 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5553 # nm: unknown option "B
" ignored
5554 # Tru64's nm complains that /dev/null is an invalid object file
5555 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5556 */dev/null* | *'Invalid file or object type'*)
5557 lt_cv_path_NM="$tmp_nm -B"
5561 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5563 lt_cv_path_NM="$tmp_nm -p"
5567 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5568 continue # so that we can try to find one that supports BSD flags
5577 : ${lt_cv_path_NM=no}
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5581 $as_echo "$lt_cv_path_NM" >&6; }
5582 if test "$lt_cv_path_NM" != "no
"; then
5585 # Didn't find any BSD compatible name lister, look for dumpbin.
5586 if test -n "$DUMPBIN"; then :
5587 # Let the user override the test.
5589 if test -n "$ac_tool_prefix"; then
5590 for ac_prog in dumpbin "link
-dump"
5592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5593 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5595 $as_echo_n "checking
for $ac_word...
" >&6; }
5596 if ${ac_cv_prog_DUMPBIN+:} false; then :
5597 $as_echo_n "(cached
) " >&6
5599 if test -n "$DUMPBIN"; then
5600 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606 test -z "$as_dir" && as_dir=.
5607 for ac_exec_ext in '' $ac_executable_extensions; do
5608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5609 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5610 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5619 DUMPBIN=$ac_cv_prog_DUMPBIN
5620 if test -n "$DUMPBIN"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5622 $as_echo "$DUMPBIN" >&6; }
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5625 $as_echo "no
" >&6; }
5629 test -n "$DUMPBIN" && break
5632 if test -z "$DUMPBIN"; then
5633 ac_ct_DUMPBIN=$DUMPBIN
5634 for ac_prog in dumpbin "link
-dump"
5636 # Extract the first word of "$ac_prog", so it can be a program name with args.
5637 set dummy $ac_prog; ac_word=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5639 $as_echo_n "checking
for $ac_word...
" >&6; }
5640 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5641 $as_echo_n "(cached
) " >&6
5643 if test -n "$ac_ct_DUMPBIN"; then
5644 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir=.
5651 for ac_exec_ext in '' $ac_executable_extensions; do
5652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5663 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5664 if test -n "$ac_ct_DUMPBIN"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5666 $as_echo "$ac_ct_DUMPBIN" >&6; }
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5669 $as_echo "no
" >&6; }
5673 test -n "$ac_ct_DUMPBIN" && break
5676 if test "x
$ac_ct_DUMPBIN" = x; then
5679 case $cross_compiling:$ac_tool_warned in
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5682 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5683 ac_tool_warned=yes ;;
5685 DUMPBIN=$ac_ct_DUMPBIN
5689 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5691 DUMPBIN="$DUMPBIN -symbols"
5699 if test "$DUMPBIN" != ":"; then
5703 test -z "$NM" && NM=nm
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5711 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5712 if ${lt_cv_nm_interface+:} false; then :
5713 $as_echo_n "(cached
) " >&6
5715 lt_cv_nm_interface="BSD nm
"
5716 echo "int some_variable
= 0;" > conftest.$ac_ext
5717 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5718 (eval "$ac_compile" 2>conftest.err)
5719 cat conftest.err >&5
5720 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5721 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5722 cat conftest.err >&5
5723 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5724 cat conftest.out >&5
5725 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5726 lt_cv_nm_interface="MS dumpbin
"
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5731 $as_echo "$lt_cv_nm_interface" >&6; }
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5734 $as_echo_n "checking whether
ln -s works...
" >&6; }
5736 if test "$LN_S" = "ln -s"; then
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5738 $as_echo "yes" >&6; }
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5741 $as_echo "no
, using
$LN_S" >&6; }
5744 # find the maximum length of command line arguments
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5746 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5747 if ${lt_cv_sys_max_cmd_len+:} false; then :
5748 $as_echo_n "(cached
) " >&6
5755 # On DJGPP, this test can blow up pretty badly due to problems in libc
5756 # (any single argument exceeding 2000 bytes causes a buffer overrun
5757 # during glob expansion). Even if it were fixed, the result of this
5758 # check would be larger than it should be.
5759 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5763 # Under GNU Hurd, this test is not required because there is
5764 # no limit to the length of command line arguments.
5765 # Libtool will interpret -1 as no limit whatsoever
5766 lt_cv_sys_max_cmd_len=-1;
5769 cygwin* | mingw* | cegcc*)
5770 # On Win9x/ME, this test blows up -- it succeeds, but takes
5771 # about 5 minutes as the teststring grows exponentially.
5772 # Worse, since 9x/ME are not pre-emptively multitasking,
5773 # you end up with a "frozen
" computer, even though with patience
5774 # the test eventually succeeds (with a max line length of 256k).
5775 # Instead, let's just punt: use the minimum linelength reported by
5776 # all of the supported platforms: 8192 (on NT/2K/XP).
5777 lt_cv_sys_max_cmd_len=8192;
5781 # On MiNT this can take a long time and run out of memory.
5782 lt_cv_sys_max_cmd_len=8192;
5786 # On AmigaOS with pdksh, this test takes hours, literally.
5787 # So we just punt and use a minimum line length of 8192.
5788 lt_cv_sys_max_cmd_len=8192;
5791 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5792 # This has been around since 386BSD, at least. Likely further.
5793 if test -x /sbin/sysctl; then
5794 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5795 elif test -x /usr/sbin/sysctl; then
5796 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5798 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5800 # And add a safety zone
5801 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5802 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5806 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5807 lt_cv_sys_max_cmd_len=196608
5811 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5812 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5813 # nice to cause kernel panics so lets avoid the loop below.
5814 # First set a reasonable default.
5815 lt_cv_sys_max_cmd_len=16384
5817 if test -x /sbin/sysconfig; then
5818 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5819 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5824 lt_cv_sys_max_cmd_len=102400
5826 sysv5* | sco5v6* | sysv4.2uw2*)
5827 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5828 if test -n "$kargmax"; then
5829 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5831 lt_cv_sys_max_cmd_len=32768
5835 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5836 if test -n "$lt_cv_sys_max_cmd_len"; then
5837 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5838 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5840 # Make teststring a little bigger before we do anything with it.
5841 # a 1K string should be a reasonable start.
5842 for i in 1 2 3 4 5 6 7 8 ; do
5843 teststring=$teststring$teststring
5845 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5846 # If test is not a shell built-in, we'll probably end up computing a
5847 # maximum length that is only half of the actual maximum length, but
5849 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5850 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5851 test $i != 17 # 1/2 MB should be enough
5854 teststring=$teststring$teststring
5856 # Only check the string length outside the loop.
5857 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5859 # Add a significant safety factor because C++ compilers can tack on
5860 # massive amounts of additional arguments before passing them to the
5861 # linker. It appears as though 1/2 is a usable value.
5862 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5869 if test -n $lt_cv_sys_max_cmd_len ; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5871 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5874 $as_echo "none
" >&6; }
5876 max_cmd_len=$lt_cv_sys_max_cmd_len
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5888 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5889 # Try some XSI features
5892 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5894 && eval 'test $(( 1 + 1 )) -eq 2 \
5895 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5898 $as_echo "$xsi_shell" >&6; }
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5902 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5904 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5906 && lt_shell_append
=yes
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5908 $as_echo "$lt_shell_append" >&6; }
5911 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5921 # test EBCDIC or ASCII
5922 case `echo X|tr X '\101'` in
5923 A
) # ASCII based system
5924 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5925 lt_SP2NL
='tr \040 \012'
5926 lt_NL2SP
='tr \015\012 \040\040'
5928 *) # EBCDIC based system
5929 lt_SP2NL
='tr \100 \n'
5930 lt_NL2SP
='tr \r\n \100\100'
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5943 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5944 if ${lt_cv_ld_reload_flag+:} false
; then :
5945 $as_echo_n "(cached) " >&6
5947 lt_cv_ld_reload_flag
='-r'
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5950 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5951 reload_flag
=$lt_cv_ld_reload_flag
5952 case $reload_flag in
5954 *) reload_flag
=" $reload_flag" ;;
5956 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5959 if test "$GCC" = yes; then
5960 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5962 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5975 if test -n "$ac_tool_prefix"; then
5976 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5977 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if ${ac_cv_prog_OBJDUMP+:} false
; then :
5981 $as_echo_n "(cached) " >&6
5983 if test -n "$OBJDUMP"; then
5984 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5990 test -z "$as_dir" && as_dir
=.
5991 for ac_exec_ext
in '' $ac_executable_extensions; do
5992 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5993 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6003 OBJDUMP
=$ac_cv_prog_OBJDUMP
6004 if test -n "$OBJDUMP"; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6006 $as_echo "$OBJDUMP" >&6; }
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6014 if test -z "$ac_cv_prog_OBJDUMP"; then
6015 ac_ct_OBJDUMP
=$OBJDUMP
6016 # Extract the first word of "objdump", so it can be a program name with args.
6017 set dummy objdump
; ac_word
=$2
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6019 $as_echo_n "checking for $ac_word... " >&6; }
6020 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6021 $as_echo_n "(cached) " >&6
6023 if test -n "$ac_ct_OBJDUMP"; then
6024 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6030 test -z "$as_dir" && as_dir
=.
6031 for ac_exec_ext
in '' $ac_executable_extensions; do
6032 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6033 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6043 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6044 if test -n "$ac_ct_OBJDUMP"; then
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6046 $as_echo "$ac_ct_OBJDUMP" >&6; }
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6049 $as_echo "no" >&6; }
6052 if test "x$ac_ct_OBJDUMP" = x
; then
6055 case $cross_compiling:$ac_tool_warned in
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6059 ac_tool_warned
=yes ;;
6061 OBJDUMP
=$ac_ct_OBJDUMP
6064 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6067 test -z "$OBJDUMP" && OBJDUMP
=objdump
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6078 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6079 if ${lt_cv_deplibs_check_method+:} false
; then :
6080 $as_echo_n "(cached) " >&6
6082 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6083 lt_cv_file_magic_test_file
=
6084 lt_cv_deplibs_check_method
='unknown'
6085 # Need to set the preceding variable on all platforms that support
6086 # interlibrary dependencies.
6087 # 'none' -- dependencies not supported.
6088 # `unknown' -- same as none, but documents that we really don't know.
6089 # 'pass_all' -- all dependencies passed with no checks.
6090 # 'test_compile' -- check by making test program.
6091 # 'file_magic [[regex]]' -- check by looking for files in library path
6092 # which responds to the $file_magic_cmd with a given extended regex.
6093 # If you have `file' or equivalent on your system and you're not sure
6094 # whether `pass_all' will *always* work, you probably want this one.
6098 lt_cv_deplibs_check_method
=pass_all
6102 lt_cv_deplibs_check_method
=pass_all
6106 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6107 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6108 lt_cv_file_magic_test_file
=/shlib
/libc.so
6112 # func_win32_libid is a shell function defined in ltmain.sh
6113 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6114 lt_cv_file_magic_cmd
='func_win32_libid'
6118 # Base MSYS/MinGW do not provide the 'file' command needed by
6119 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6120 # unless we find 'file', for example because we are cross-compiling.
6121 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6122 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6123 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6124 lt_cv_file_magic_cmd
='func_win32_libid'
6126 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6127 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6132 # use the weaker test based on 'objdump'. See mingw*.
6133 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6134 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6137 darwin
* | rhapsody
*)
6138 lt_cv_deplibs_check_method
=pass_all
6141 freebsd
* | dragonfly
*)
6142 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6145 # Not sure whether the presence of OpenBSD here was a mistake.
6146 # Let's accept both of them until this is cleared up.
6147 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6148 lt_cv_file_magic_cmd
=/usr
/bin
/file
6149 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6153 lt_cv_deplibs_check_method
=pass_all
6158 lt_cv_deplibs_check_method
=pass_all
6162 lt_cv_deplibs_check_method
=pass_all
6165 hpux10.20
* | hpux11
*)
6166 lt_cv_file_magic_cmd
=/usr
/bin
/file
6169 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6170 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6173 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]'
6174 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6177 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6178 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6184 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6185 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6188 irix5
* | irix6
* | nonstopux
*)
6190 *-32|
*"-32 ") libmagic
=32-bit;;
6191 *-n32|
*"-n32 ") libmagic
=N32
;;
6192 *-64|
*"-64 ") libmagic
=64-bit;;
6193 *) libmagic
=never-match
;;
6195 lt_cv_deplibs_check_method
=pass_all
6198 # This must be Linux ELF.
6199 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6200 lt_cv_deplibs_check_method
=pass_all
6204 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6205 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6207 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6212 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6213 lt_cv_file_magic_cmd
=/usr
/bin
/file
6214 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6218 lt_cv_deplibs_check_method
=pass_all
6222 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6223 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6225 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6229 osf3
* | osf4
* | osf5
*)
6230 lt_cv_deplibs_check_method
=pass_all
6234 lt_cv_deplibs_check_method
=pass_all
6238 lt_cv_deplibs_check_method
=pass_all
6241 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6242 lt_cv_deplibs_check_method
=pass_all
6246 case $host_vendor in
6248 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]'
6249 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6252 lt_cv_deplibs_check_method
=pass_all
6255 lt_cv_file_magic_cmd
='/bin/file'
6256 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6259 lt_cv_file_magic_cmd
='/bin/file'
6260 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6261 lt_cv_file_magic_test_file
=/lib
/libc.so
6264 lt_cv_deplibs_check_method
=pass_all
6267 lt_cv_deplibs_check_method
=pass_all
6273 lt_cv_deplibs_check_method
=pass_all
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6279 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6280 file_magic_cmd
=$lt_cv_file_magic_cmd
6281 deplibs_check_method
=$lt_cv_deplibs_check_method
6282 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6295 if test -n "$ac_tool_prefix"; then
6296 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6297 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6299 $as_echo_n "checking for $ac_word... " >&6; }
6300 if ${ac_cv_prog_AR+:} false
; then :
6301 $as_echo_n "(cached) " >&6
6303 if test -n "$AR"; then
6304 ac_cv_prog_AR
="$AR" # Let the user override the test.
6306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6310 test -z "$as_dir" && as_dir
=.
6311 for ac_exec_ext
in '' $ac_executable_extensions; do
6312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6313 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6324 if test -n "$AR"; then
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6326 $as_echo "$AR" >&6; }
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6329 $as_echo "no" >&6; }
6334 if test -z "$ac_cv_prog_AR"; then
6336 # Extract the first word of "ar", so it can be a program name with args.
6337 set dummy
ar; ac_word
=$2
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6339 $as_echo_n "checking for $ac_word... " >&6; }
6340 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6341 $as_echo_n "(cached) " >&6
6343 if test -n "$ac_ct_AR"; then
6344 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6350 test -z "$as_dir" && as_dir
=.
6351 for ac_exec_ext
in '' $ac_executable_extensions; do
6352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6353 ac_cv_prog_ac_ct_AR
="ar"
6354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6363 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6364 if test -n "$ac_ct_AR"; then
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6366 $as_echo "$ac_ct_AR" >&6; }
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6369 $as_echo "no" >&6; }
6372 if test "x$ac_ct_AR" = x
; then
6375 case $cross_compiling:$ac_tool_warned in
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6379 ac_tool_warned
=yes ;;
6387 test -z "$AR" && AR
=ar
6388 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6400 if test -n "$ac_tool_prefix"; then
6401 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6402 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6404 $as_echo_n "checking for $ac_word... " >&6; }
6405 if ${ac_cv_prog_STRIP+:} false
; then :
6406 $as_echo_n "(cached) " >&6
6408 if test -n "$STRIP"; then
6409 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6415 test -z "$as_dir" && as_dir
=.
6416 for ac_exec_ext
in '' $ac_executable_extensions; do
6417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6418 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6428 STRIP
=$ac_cv_prog_STRIP
6429 if test -n "$STRIP"; then
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6431 $as_echo "$STRIP" >&6; }
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6434 $as_echo "no" >&6; }
6439 if test -z "$ac_cv_prog_STRIP"; then
6441 # Extract the first word of "strip", so it can be a program name with args.
6442 set dummy strip
; ac_word
=$2
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6444 $as_echo_n "checking for $ac_word... " >&6; }
6445 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6446 $as_echo_n "(cached) " >&6
6448 if test -n "$ac_ct_STRIP"; then
6449 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir
=.
6456 for ac_exec_ext
in '' $ac_executable_extensions; do
6457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6458 ac_cv_prog_ac_ct_STRIP
="strip"
6459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6469 if test -n "$ac_ct_STRIP"; then
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6471 $as_echo "$ac_ct_STRIP" >&6; }
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6474 $as_echo "no" >&6; }
6477 if test "x$ac_ct_STRIP" = x
; then
6480 case $cross_compiling:$ac_tool_warned in
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6484 ac_tool_warned
=yes ;;
6489 STRIP
="$ac_cv_prog_STRIP"
6492 test -z "$STRIP" && STRIP
=:
6499 if test -n "$ac_tool_prefix"; then
6500 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6501 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 $as_echo_n "checking for $ac_word... " >&6; }
6504 if ${ac_cv_prog_RANLIB+:} false
; then :
6505 $as_echo_n "(cached) " >&6
6507 if test -n "$RANLIB"; then
6508 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6514 test -z "$as_dir" && as_dir
=.
6515 for ac_exec_ext
in '' $ac_executable_extensions; do
6516 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6517 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6527 RANLIB
=$ac_cv_prog_RANLIB
6528 if test -n "$RANLIB"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6530 $as_echo "$RANLIB" >&6; }
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6538 if test -z "$ac_cv_prog_RANLIB"; then
6539 ac_ct_RANLIB
=$RANLIB
6540 # Extract the first word of "ranlib", so it can be a program name with args.
6541 set dummy ranlib
; ac_word
=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6544 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6545 $as_echo_n "(cached) " >&6
6547 if test -n "$ac_ct_RANLIB"; then
6548 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6554 test -z "$as_dir" && as_dir
=.
6555 for ac_exec_ext
in '' $ac_executable_extensions; do
6556 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6557 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6568 if test -n "$ac_ct_RANLIB"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6570 $as_echo "$ac_ct_RANLIB" >&6; }
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6576 if test "x$ac_ct_RANLIB" = x
; then
6579 case $cross_compiling:$ac_tool_warned in
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6583 ac_tool_warned
=yes ;;
6585 RANLIB
=$ac_ct_RANLIB
6588 RANLIB
="$ac_cv_prog_RANLIB"
6591 test -z "$RANLIB" && RANLIB
=:
6598 # Determine commands to create old-style static archives.
6599 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6600 old_postinstall_cmds
='chmod 644 $oldlib'
6601 old_postuninstall_cmds
=
6603 if test -n "$RANLIB"; then
6606 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6609 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6612 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6617 lock_old_archive_extraction
=yes ;;
6619 lock_old_archive_extraction
=no
;;
6660 # If no C compiler was specified, use CC.
6663 # If no C compiler flags were specified, use CFLAGS.
6664 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6666 # Allow CC to be a program name with arguments.
6670 # Check for command to grab the raw symbol name followed by C symbol from nm.
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6672 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6673 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6674 $as_echo_n "(cached) " >&6
6677 # These are sane defaults that work on at least a few old systems.
6678 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6680 # Character class describing NM global symbol codes.
6681 symcode
='[BCDEGRST]'
6683 # Regexp to match symbols that can be accessed directly from C.
6684 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6686 # Define system-specific variables.
6691 cygwin
* | mingw
* | pw32
* | cegcc
*)
6692 symcode
='[ABCDGISTW]'
6695 if test "$host_cpu" = ia64
; then
6696 symcode
='[ABCDEGRST]'
6700 symcode
='[BCDEGRST]'
6703 symcode
='[BCDEGQRST]'
6714 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6722 # If we're using GNU nm, then use its standard symbol codes.
6723 case `$NM -V 2>&1` in
6724 *GNU
* |
*'with BFD'*)
6725 symcode
='[ABCDGIRSTW]' ;;
6728 # Transform an extracted symbol line into a proper C declaration.
6729 # Some systems (esp. on ia64) link data and code symbols differently,
6730 # so use this general approach.
6731 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6733 # Transform an extracted symbol line into symbol name and symbol address
6734 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6735 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'"
6737 # Handle CRLF in mingw tool chain
6741 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6745 # Try without a prefix underscore, then with it.
6746 for ac_symprfx
in "" "_"; do
6748 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6749 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6751 # Write the raw and C identifiers.
6752 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6753 # Fake it for dumpbin and say T for any non-static function
6754 # and D for any global variable.
6755 # Also find C++ and __fastcall symbols from MSVC++,
6756 # which start with @ or ?.
6757 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6758 " {last_section=section; section=\$ 3};"\
6759 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6760 " \$ 0!~/External *\|/{next};"\
6761 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6762 " {if(hide[section]) next};"\
6763 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6764 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6765 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6766 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6767 " ' prfx=^$ac_symprfx"
6769 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6772 # Check to see that the pipe works correctly.
6776 cat > conftest.
$ac_ext <<_LT_EOF
6781 void nm_test_func(void);
6782 void nm_test_func(void){}
6786 int main(){nm_test_var='a';nm_test_func();return(0);}
6789 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6790 (eval $ac_compile) 2>&5
6792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6793 test $ac_status = 0; }; then
6794 # Now try to grab the symbols.
6796 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6797 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6800 test $ac_status = 0; } && test -s "$nlist"; then
6801 # Try sorting and uniquifying the output.
6802 if sort "$nlist" |
uniq > "$nlist"T
; then
6803 mv -f "$nlist"T
"$nlist"
6808 # Make sure that we snagged all the symbols we need.
6809 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6810 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6811 cat <<_LT_EOF > conftest.$ac_ext
6817 # Now generate the symbol file.
6818 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6820 cat <<_LT_EOF >> conftest.$ac_ext
6822 /* The mapping between symbol names and symbols. */
6827 lt__PROGRAM__LTX_preloaded_symbols[] =
6829 { "@PROGRAM@", (void *) 0 },
6831 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6832 cat <<\_LT_EOF
>> conftest.
$ac_ext
6836 /* This works around a problem
in FreeBSD linker
*/
6837 #ifdef FREEBSD_WORKAROUND
6838 static const void
*lt_preloaded_setup
() {
6839 return lt__PROGRAM__LTX_preloaded_symbols
;
6847 # Now try linking the two files.
6848 mv conftest.
$ac_objext conftstm.
$ac_objext
6849 lt_save_LIBS
="$LIBS"
6850 lt_save_CFLAGS
="$CFLAGS"
6851 LIBS
="conftstm.$ac_objext"
6852 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6853 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6854 (eval $ac_link) 2>&5
6856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6857 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6860 LIBS
="$lt_save_LIBS"
6861 CFLAGS
="$lt_save_CFLAGS"
6863 echo "cannot find nm_test_func in $nlist" >&5
6866 echo "cannot find nm_test_var in $nlist" >&5
6869 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6872 echo "$progname: failed program was:" >&5
6873 cat conftest.
$ac_ext >&5
6875 rm -rf conftest
* conftst
*
6877 # Do not use the global_symbol_pipe unless it works.
6878 if test "$pipe_works" = yes; then
6881 lt_cv_sys_global_symbol_pipe
=
6887 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6888 lt_cv_sys_global_symbol_to_cdecl
=
6890 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6892 $as_echo "failed" >&6; }
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6895 $as_echo "ok" >&6; }
6920 # Check whether --enable-libtool-lock was given.
6921 if test "${enable_libtool_lock+set}" = set; then :
6922 enableval
=$enable_libtool_lock;
6925 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6927 # Some flags need to be propagated to the compiler or linker for good
6931 # Find out which ABI we are using.
6932 echo 'int i;' > conftest.
$ac_ext
6933 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6934 (eval $ac_compile) 2>&5
6936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6937 test $ac_status = 0; }; then
6938 case `/usr/bin/file conftest.$ac_objext` in
6950 # Find out which ABI we are using.
6951 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6952 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6953 (eval $ac_compile) 2>&5
6955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6956 test $ac_status = 0; }; then
6957 if test "$lt_cv_prog_gnu_ld" = yes; then
6958 case `/usr/bin/file conftest.$ac_objext` in
6960 LD
="${LD-ld} -melf32bsmip"
6963 LD
="${LD-ld} -melf32bmipn32"
6966 LD
="${LD-ld} -melf64bmip"
6970 case `/usr/bin/file conftest.$ac_objext` in
6986 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6987 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6988 # Find out which ABI we are using.
6989 echo 'int i;' > conftest.
$ac_ext
6990 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6991 (eval $ac_compile) 2>&5
6993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6994 test $ac_status = 0; }; then
6995 case `/usr/bin/file conftest.o` in
6998 x86_64-
*kfreebsd
*-gnu)
6999 LD
="${LD-ld} -m elf_i386_fbsd"
7002 case `/usr/bin/file conftest.o` in
7004 LD
="${LD-ld} -m elf32_x86_64"
7007 LD
="${LD-ld} -m elf_i386"
7011 powerpc64le-
*linux
*)
7012 LD
="${LD-ld} -m elf32lppclinux"
7015 LD
="${LD-ld} -m elf32ppclinux"
7018 LD
="${LD-ld} -m elf_s390"
7021 LD
="${LD-ld} -m elf32_sparc"
7027 x86_64-
*kfreebsd
*-gnu)
7028 LD
="${LD-ld} -m elf_x86_64_fbsd"
7031 LD
="${LD-ld} -m elf_x86_64"
7034 LD
="${LD-ld} -m elf64lppc"
7037 LD
="${LD-ld} -m elf64ppc"
7039 s390
*-*linux
*|s390
*-*tpf
*)
7040 LD
="${LD-ld} -m elf64_s390"
7043 LD
="${LD-ld} -m elf64_sparc"
7053 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7054 SAVE_CFLAGS
="$CFLAGS"
7055 CFLAGS
="$CFLAGS -belf"
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7057 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7058 if ${lt_cv_cc_needs_belf+:} false
; then :
7059 $as_echo_n "(cached) " >&6
7062 ac_cpp
='$CPP $CPPFLAGS'
7063 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7064 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7068 /* end confdefs.h. */
7078 if ac_fn_c_try_link
"$LINENO"; then :
7079 lt_cv_cc_needs_belf
=yes
7081 lt_cv_cc_needs_belf
=no
7083 rm -f core conftest.err conftest.
$ac_objext \
7084 conftest
$ac_exeext conftest.
$ac_ext
7086 ac_cpp
='$CPP $CPPFLAGS'
7087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7093 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7094 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7095 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7096 CFLAGS
="$SAVE_CFLAGS"
7100 # Find out which ABI we are using.
7101 echo 'int i;' > conftest.
$ac_ext
7102 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7103 (eval $ac_compile) 2>&5
7105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7106 test $ac_status = 0; }; then
7107 case `/usr/bin/file conftest.o` in
7109 case $lt_cv_prog_gnu_ld in
7110 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7112 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7124 need_locks
="$enable_libtool_lock"
7128 rhapsody
* | darwin
*)
7129 if test -n "$ac_tool_prefix"; then
7130 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7131 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7133 $as_echo_n "checking for $ac_word... " >&6; }
7134 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7135 $as_echo_n "(cached) " >&6
7137 if test -n "$DSYMUTIL"; then
7138 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7144 test -z "$as_dir" && as_dir
=.
7145 for ac_exec_ext
in '' $ac_executable_extensions; do
7146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7147 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7157 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7158 if test -n "$DSYMUTIL"; then
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7160 $as_echo "$DSYMUTIL" >&6; }
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7163 $as_echo "no" >&6; }
7168 if test -z "$ac_cv_prog_DSYMUTIL"; then
7169 ac_ct_DSYMUTIL
=$DSYMUTIL
7170 # Extract the first word of "dsymutil", so it can be a program name with args.
7171 set dummy dsymutil
; ac_word
=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 $as_echo_n "checking for $ac_word... " >&6; }
7174 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7175 $as_echo_n "(cached) " >&6
7177 if test -n "$ac_ct_DSYMUTIL"; then
7178 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7184 test -z "$as_dir" && as_dir
=.
7185 for ac_exec_ext
in '' $ac_executable_extensions; do
7186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7187 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7197 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7198 if test -n "$ac_ct_DSYMUTIL"; then
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7200 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 $as_echo "no" >&6; }
7206 if test "x$ac_ct_DSYMUTIL" = x
; then
7209 case $cross_compiling:$ac_tool_warned in
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7213 ac_tool_warned
=yes ;;
7215 DSYMUTIL
=$ac_ct_DSYMUTIL
7218 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7221 if test -n "$ac_tool_prefix"; then
7222 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7223 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7225 $as_echo_n "checking for $ac_word... " >&6; }
7226 if ${ac_cv_prog_NMEDIT+:} false
; then :
7227 $as_echo_n "(cached) " >&6
7229 if test -n "$NMEDIT"; then
7230 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7236 test -z "$as_dir" && as_dir
=.
7237 for ac_exec_ext
in '' $ac_executable_extensions; do
7238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7239 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7249 NMEDIT
=$ac_cv_prog_NMEDIT
7250 if test -n "$NMEDIT"; then
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7252 $as_echo "$NMEDIT" >&6; }
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7255 $as_echo "no" >&6; }
7260 if test -z "$ac_cv_prog_NMEDIT"; then
7261 ac_ct_NMEDIT
=$NMEDIT
7262 # Extract the first word of "nmedit", so it can be a program name with args.
7263 set dummy nmedit
; ac_word
=$2
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7265 $as_echo_n "checking for $ac_word... " >&6; }
7266 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7267 $as_echo_n "(cached) " >&6
7269 if test -n "$ac_ct_NMEDIT"; then
7270 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7276 test -z "$as_dir" && as_dir
=.
7277 for ac_exec_ext
in '' $ac_executable_extensions; do
7278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7279 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7289 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7290 if test -n "$ac_ct_NMEDIT"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7292 $as_echo "$ac_ct_NMEDIT" >&6; }
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7295 $as_echo "no" >&6; }
7298 if test "x$ac_ct_NMEDIT" = x
; then
7301 case $cross_compiling:$ac_tool_warned in
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7305 ac_tool_warned
=yes ;;
7307 NMEDIT
=$ac_ct_NMEDIT
7310 NMEDIT
="$ac_cv_prog_NMEDIT"
7313 if test -n "$ac_tool_prefix"; then
7314 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7315 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7317 $as_echo_n "checking for $ac_word... " >&6; }
7318 if ${ac_cv_prog_LIPO+:} false
; then :
7319 $as_echo_n "(cached) " >&6
7321 if test -n "$LIPO"; then
7322 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7328 test -z "$as_dir" && as_dir
=.
7329 for ac_exec_ext
in '' $ac_executable_extensions; do
7330 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7331 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 LIPO
=$ac_cv_prog_LIPO
7342 if test -n "$LIPO"; then
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7344 $as_echo "$LIPO" >&6; }
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7347 $as_echo "no" >&6; }
7352 if test -z "$ac_cv_prog_LIPO"; then
7354 # Extract the first word of "lipo", so it can be a program name with args.
7355 set dummy lipo
; ac_word
=$2
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7357 $as_echo_n "checking for $ac_word... " >&6; }
7358 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7359 $as_echo_n "(cached) " >&6
7361 if test -n "$ac_ct_LIPO"; then
7362 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7368 test -z "$as_dir" && as_dir
=.
7369 for ac_exec_ext
in '' $ac_executable_extensions; do
7370 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7371 ac_cv_prog_ac_ct_LIPO
="lipo"
7372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7381 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7382 if test -n "$ac_ct_LIPO"; then
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7384 $as_echo "$ac_ct_LIPO" >&6; }
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7387 $as_echo "no" >&6; }
7390 if test "x$ac_ct_LIPO" = x
; then
7393 case $cross_compiling:$ac_tool_warned in
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7397 ac_tool_warned
=yes ;;
7402 LIPO
="$ac_cv_prog_LIPO"
7405 if test -n "$ac_tool_prefix"; then
7406 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7407 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7409 $as_echo_n "checking for $ac_word... " >&6; }
7410 if ${ac_cv_prog_OTOOL+:} false
; then :
7411 $as_echo_n "(cached) " >&6
7413 if test -n "$OTOOL"; then
7414 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7420 test -z "$as_dir" && as_dir
=.
7421 for ac_exec_ext
in '' $ac_executable_extensions; do
7422 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7423 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7433 OTOOL
=$ac_cv_prog_OTOOL
7434 if test -n "$OTOOL"; then
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7436 $as_echo "$OTOOL" >&6; }
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7439 $as_echo "no" >&6; }
7444 if test -z "$ac_cv_prog_OTOOL"; then
7446 # Extract the first word of "otool", so it can be a program name with args.
7447 set dummy otool
; ac_word
=$2
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7449 $as_echo_n "checking for $ac_word... " >&6; }
7450 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7451 $as_echo_n "(cached) " >&6
7453 if test -n "$ac_ct_OTOOL"; then
7454 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7460 test -z "$as_dir" && as_dir
=.
7461 for ac_exec_ext
in '' $ac_executable_extensions; do
7462 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7463 ac_cv_prog_ac_ct_OTOOL
="otool"
7464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7473 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7474 if test -n "$ac_ct_OTOOL"; then
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7476 $as_echo "$ac_ct_OTOOL" >&6; }
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7479 $as_echo "no" >&6; }
7482 if test "x$ac_ct_OTOOL" = x
; then
7485 case $cross_compiling:$ac_tool_warned in
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7489 ac_tool_warned
=yes ;;
7494 OTOOL
="$ac_cv_prog_OTOOL"
7497 if test -n "$ac_tool_prefix"; then
7498 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7499 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7501 $as_echo_n "checking for $ac_word... " >&6; }
7502 if ${ac_cv_prog_OTOOL64+:} false
; then :
7503 $as_echo_n "(cached) " >&6
7505 if test -n "$OTOOL64"; then
7506 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7512 test -z "$as_dir" && as_dir
=.
7513 for ac_exec_ext
in '' $ac_executable_extensions; do
7514 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7515 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7525 OTOOL64
=$ac_cv_prog_OTOOL64
7526 if test -n "$OTOOL64"; then
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7528 $as_echo "$OTOOL64" >&6; }
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7531 $as_echo "no" >&6; }
7536 if test -z "$ac_cv_prog_OTOOL64"; then
7537 ac_ct_OTOOL64
=$OTOOL64
7538 # Extract the first word of "otool64", so it can be a program name with args.
7539 set dummy otool64
; ac_word
=$2
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7541 $as_echo_n "checking for $ac_word... " >&6; }
7542 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7543 $as_echo_n "(cached) " >&6
7545 if test -n "$ac_ct_OTOOL64"; then
7546 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7552 test -z "$as_dir" && as_dir
=.
7553 for ac_exec_ext
in '' $ac_executable_extensions; do
7554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7555 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7565 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7566 if test -n "$ac_ct_OTOOL64"; then
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7568 $as_echo "$ac_ct_OTOOL64" >&6; }
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7571 $as_echo "no" >&6; }
7574 if test "x$ac_ct_OTOOL64" = x
; then
7577 case $cross_compiling:$ac_tool_warned in
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7581 ac_tool_warned
=yes ;;
7583 OTOOL64
=$ac_ct_OTOOL64
7586 OTOOL64
="$ac_cv_prog_OTOOL64"
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7616 $as_echo_n "checking for -single_module linker flag... " >&6; }
7617 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7618 $as_echo_n "(cached) " >&6
7620 lt_cv_apple_cc_single_mod
=no
7621 if test -z "${LT_MULTI_MODULE}"; then
7622 # By default we will add the -single_module flag. You can override
7623 # by either setting the environment variable LT_MULTI_MODULE
7624 # non-empty at configure time, or by adding -multi_module to the
7626 rm -rf libconftest.dylib
*
7627 echo "int foo(void){return 1;}" > conftest.c
7628 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7629 -dynamiclib -Wl,-single_module conftest.c" >&5
7630 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7631 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7633 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7634 lt_cv_apple_cc_single_mod
=yes
7636 cat conftest.err
>&5
7638 rm -rf libconftest.dylib
*
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7643 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7645 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7646 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7647 $as_echo_n "(cached) " >&6
7649 lt_cv_ld_exported_symbols_list
=no
7650 save_LDFLAGS
=$LDFLAGS
7651 echo "_main" > conftest.sym
7652 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7654 /* end confdefs.h. */
7664 if ac_fn_c_try_link
"$LINENO"; then :
7665 lt_cv_ld_exported_symbols_list
=yes
7667 lt_cv_ld_exported_symbols_list
=no
7669 rm -f core conftest.err conftest.
$ac_objext \
7670 conftest
$ac_exeext conftest.
$ac_ext
7671 LDFLAGS
="$save_LDFLAGS"
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7675 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7677 $as_echo_n "checking for -force_load linker flag... " >&6; }
7678 if ${lt_cv_ld_force_load+:} false
; then :
7679 $as_echo_n "(cached) " >&6
7681 lt_cv_ld_force_load
=no
7682 cat > conftest.c
<< _LT_EOF
7683 int forced_loaded() { return 2;}
7685 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7686 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7687 echo "$AR cru libconftest.a conftest.o" >&5
7688 $AR cru libconftest.a conftest.o
2>&5
7689 cat > conftest.c
<< _LT_EOF
7690 int main() { return 0;}
7692 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7693 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7695 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7696 lt_cv_ld_force_load
=yes
7698 cat conftest.err
>&5
7700 rm -f conftest.err libconftest.a conftest conftest.c
7701 rm -rf conftest.dSYM
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7705 $as_echo "$lt_cv_ld_force_load" >&6; }
7707 rhapsody
* | darwin1.
[012])
7708 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7710 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7711 darwin
*) # darwin 5.x on
7712 # if running on 10.5 or later, the deployment target defaults
7713 # to the OS version, if on x86, and 10.4, the deployment
7714 # target defaults to 10.4. Don't you love it?
7715 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7716 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7717 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7719 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7721 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7725 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7726 _lt_dar_single_mod
='$single_module'
7728 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7729 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7731 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7733 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7734 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7742 ac_cpp
='$CPP $CPPFLAGS'
7743 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7744 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7745 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7747 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7748 # On Suns, sometimes $CPP names a directory.
7749 if test -n "$CPP" && test -d "$CPP"; then
7752 if test -z "$CPP"; then
7753 if ${ac_cv_prog_CPP+:} false
; then :
7754 $as_echo_n "(cached) " >&6
7756 # Double quotes because CPP needs to be expanded
7757 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7760 for ac_c_preproc_warn_flag
in '' yes
7762 # Use a header file that comes with gcc, so configuring glibc
7763 # with a fresh cross-compiler works.
7764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7765 # <limits.h> exists even on freestanding compilers.
7766 # On the NeXT, cc -E runs the code through the compiler's parser,
7767 # not just through cpp. "Syntax error" is here to catch this case.
7768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h. */
7771 # include <limits.h>
7773 # include <assert.h>
7777 if ac_fn_c_try_cpp
"$LINENO"; then :
7780 # Broken: fails on valid input.
7783 rm -f conftest.err conftest.i conftest.
$ac_ext
7785 # OK, works on sane cases. Now check whether nonexistent headers
7786 # can be detected and how.
7787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7788 /* end confdefs.h. */
7789 #include <ac_nonexistent.h>
7791 if ac_fn_c_try_cpp
"$LINENO"; then :
7792 # Broken: success on invalid input.
7795 # Passes both tests.
7799 rm -f conftest.err conftest.i conftest.
$ac_ext
7802 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7803 rm -f conftest.i conftest.err conftest.
$ac_ext
7804 if $ac_preproc_ok; then :
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7817 $as_echo "$CPP" >&6; }
7819 for ac_c_preproc_warn_flag
in '' yes
7821 # Use a header file that comes with gcc, so configuring glibc
7822 # with a fresh cross-compiler works.
7823 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7824 # <limits.h> exists even on freestanding compilers.
7825 # On the NeXT, cc -E runs the code through the compiler's parser,
7826 # not just through cpp. "Syntax error" is here to catch this case.
7827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7828 /* end confdefs.h. */
7830 # include <limits.h>
7832 # include <assert.h>
7836 if ac_fn_c_try_cpp
"$LINENO"; then :
7839 # Broken: fails on valid input.
7842 rm -f conftest.err conftest.i conftest.
$ac_ext
7844 # OK, works on sane cases. Now check whether nonexistent headers
7845 # can be detected and how.
7846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7847 /* end confdefs.h. */
7848 #include <ac_nonexistent.h>
7850 if ac_fn_c_try_cpp
"$LINENO"; then :
7851 # Broken: success on invalid input.
7854 # Passes both tests.
7858 rm -f conftest.err conftest.i conftest.
$ac_ext
7861 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7862 rm -f conftest.i conftest.err conftest.
$ac_ext
7863 if $ac_preproc_ok; then :
7866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7868 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7869 See \`config.log' for more details" "$LINENO" 5; }
7873 ac_cpp
='$CPP $CPPFLAGS'
7874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7880 $as_echo_n "checking for ANSI C header files... " >&6; }
7881 if ${ac_cv_header_stdc+:} false
; then :
7882 $as_echo_n "(cached) " >&6
7884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7885 /* end confdefs.h. */
7899 if ac_fn_c_try_compile
"$LINENO"; then :
7900 ac_cv_header_stdc
=yes
7902 ac_cv_header_stdc
=no
7904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7906 if test $ac_cv_header_stdc = yes; then
7907 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7909 /* end confdefs.h. */
7913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7914 $EGREP "memchr" >/dev
/null
2>&1; then :
7917 ac_cv_header_stdc
=no
7923 if test $ac_cv_header_stdc = yes; then
7924 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7926 /* end confdefs.h. */
7930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7931 $EGREP "free" >/dev
/null
2>&1; then :
7934 ac_cv_header_stdc
=no
7940 if test $ac_cv_header_stdc = yes; then
7941 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7942 if test "$cross_compiling" = yes; then :
7945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7946 /* end confdefs.h. */
7949 #if ((' ' & 0x0FF) == 0x020)
7950 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7951 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7953 # define ISLOWER(c) \
7954 (('a' <= (c) && (c) <= 'i') \
7955 || ('j' <= (c) && (c) <= 'r') \
7956 || ('s' <= (c) && (c) <= 'z'))
7957 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7960 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7965 for (i = 0; i < 256; i++)
7966 if (XOR (islower (i), ISLOWER (i))
7967 || toupper (i) != TOUPPER (i))
7972 if ac_fn_c_try_run
"$LINENO"; then :
7975 ac_cv_header_stdc
=no
7977 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7978 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7984 $as_echo "$ac_cv_header_stdc" >&6; }
7985 if test $ac_cv_header_stdc = yes; then
7987 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7991 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7992 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7993 inttypes.h stdint.h unistd.h
7995 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7996 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7998 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7999 cat >>confdefs.h
<<_ACEOF
8000 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8008 for ac_header
in dlfcn.h
8010 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8012 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8013 cat >>confdefs.h
<<_ACEOF
8014 #define HAVE_DLFCN_H 1
8034 # Check whether --enable-shared was given.
8035 if test "${enable_shared+set}" = set; then :
8036 enableval
=$enable_shared; p
=${PACKAGE-default}
8038 yes) enable_shared
=yes ;;
8039 no
) enable_shared
=no
;;
8042 # Look at the argument we got. We use all the common list separators.
8043 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8044 for pkg
in $enableval; do
8046 if test "X$pkg" = "X$p"; then
8065 # Check whether --enable-static was given.
8066 if test "${enable_static+set}" = set; then :
8067 enableval
=$enable_static; p
=${PACKAGE-default}
8069 yes) enable_static
=yes ;;
8070 no
) enable_static
=no
;;
8073 # Look at the argument we got. We use all the common list separators.
8074 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8075 for pkg
in $enableval; do
8077 if test "X$pkg" = "X$p"; then
8097 # Check whether --with-pic was given.
8098 if test "${with_pic+set}" = set; then :
8099 withval
=$with_pic; pic_mode
="$withval"
8105 test -z "$pic_mode" && pic_mode
=default
8113 # Check whether --enable-fast-install was given.
8114 if test "${enable_fast_install+set}" = set; then :
8115 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8117 yes) enable_fast_install
=yes ;;
8118 no
) enable_fast_install
=no
;;
8120 enable_fast_install
=no
8121 # Look at the argument we got. We use all the common list separators.
8122 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8123 for pkg
in $enableval; do
8125 if test "X$pkg" = "X$p"; then
8126 enable_fast_install
=yes
8133 enable_fast_install
=yes
8146 # This can be used to rebuild libtool when needed
8147 LIBTOOL_DEPS
="$ltmain"
8149 # Always use our own libtool.
8150 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8177 test -z "$LN_S" && LN_S
="ln -s"
8192 if test -n "${ZSH_VERSION+set}" ; then
8193 setopt NO_GLOB_SUBST
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8197 $as_echo_n "checking for objdir... " >&6; }
8198 if ${lt_cv_objdir+:} false
; then :
8199 $as_echo_n "(cached) " >&6
8201 rm -f .libs
2>/dev
/null
8202 mkdir .libs
2>/dev
/null
8203 if test -d .libs
; then
8206 # MS-DOS does not allow filenames that begin with a dot.
8209 rmdir .libs
2>/dev
/null
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8212 $as_echo "$lt_cv_objdir" >&6; }
8213 objdir
=$lt_cv_objdir
8219 cat >>confdefs.h
<<_ACEOF
8220 #define LT_OBJDIR "$lt_cv_objdir/"
8228 # AIX sometimes has problems with the GCC collect2 program. For some
8229 # reason, if we set the COLLECT_NAMES environment variable, the problems
8230 # vanish in a puff of smoke.
8231 if test "X${COLLECT_NAMES+set}" != Xset
; then
8233 export COLLECT_NAMES
8240 can_build_shared
=yes
8242 # All known linkers require a `.a' archive for static linking (except MSVC,
8243 # which needs '.lib').
8246 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8249 old_CFLAGS
="$CFLAGS"
8251 # Set sane defaults for various variables
8252 test -z "$CC" && CC
=cc
8253 test -z "$LTCC" && LTCC
=$CC
8254 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8255 test -z "$LD" && LD
=ld
8256 test -z "$ac_objext" && ac_objext
=o
8258 for cc_temp
in $compiler""; do
8260 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8261 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8266 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8269 # Only perform the check for file, if the check method requires it
8270 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8271 case $deplibs_check_method in
8273 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8275 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8276 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8277 $as_echo_n "(cached) " >&6
8281 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8284 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8285 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8286 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8287 for ac_dir
in $ac_dummy; do
8289 test -z "$ac_dir" && ac_dir
=.
8290 if test -f $ac_dir/${ac_tool_prefix}file; then
8291 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8292 if test -n "$file_magic_test_file"; then
8293 case $deplibs_check_method in
8295 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8296 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8297 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8298 $EGREP "$file_magic_regex" > /dev
/null
; then
8303 *** Warning: the command libtool uses to detect shared libraries,
8304 *** $file_magic_cmd, produces output that libtool cannot recognize.
8305 *** The result is that libtool may fail to recognize shared libraries
8306 *** as such. This will affect the creation of libtool libraries that
8307 *** depend on shared libraries, but programs linked with such libtool
8308 *** libraries will work regardless of this problem. Nevertheless, you
8309 *** may want to report the problem to your system manager and/or to
8310 *** bug-libtool@gnu.org
8320 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8325 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8326 if test -n "$MAGIC_CMD"; then
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8328 $as_echo "$MAGIC_CMD" >&6; }
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8331 $as_echo "no" >&6; }
8338 if test -z "$lt_cv_path_MAGIC_CMD"; then
8339 if test -n "$ac_tool_prefix"; then
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8341 $as_echo_n "checking for file... " >&6; }
8342 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8343 $as_echo_n "(cached) " >&6
8347 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8350 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8351 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8352 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8353 for ac_dir
in $ac_dummy; do
8355 test -z "$ac_dir" && ac_dir
=.
8356 if test -f $ac_dir/file; then
8357 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8358 if test -n "$file_magic_test_file"; then
8359 case $deplibs_check_method in
8361 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8362 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8363 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8364 $EGREP "$file_magic_regex" > /dev
/null
; then
8369 *** Warning: the command libtool uses to detect shared libraries,
8370 *** $file_magic_cmd, produces output that libtool cannot recognize.
8371 *** The result is that libtool may fail to recognize shared libraries
8372 *** as such. This will affect the creation of libtool libraries that
8373 *** depend on shared libraries, but programs linked with such libtool
8374 *** libraries will work regardless of this problem. Nevertheless, you
8375 *** may want to report the problem to your system manager and/or to
8376 *** bug-libtool@gnu.org
8386 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8391 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8392 if test -n "$MAGIC_CMD"; then
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8394 $as_echo "$MAGIC_CMD" >&6; }
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8397 $as_echo "no" >&6; }
8410 # Use C for the default configuration in the libtool script
8414 ac_cpp
='$CPP $CPPFLAGS'
8415 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8416 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8417 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8420 # Source file extension for C test sources.
8423 # Object file extension for compiled C test sources.
8427 # Code to be used in simple compile tests
8428 lt_simple_compile_test_code
="int some_variable = 0;"
8430 # Code to be used in simple link tests
8431 lt_simple_link_test_code
='int main(){return(0);}'
8439 # If no C compiler was specified, use CC.
8442 # If no C compiler flags were specified, use CFLAGS.
8443 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8445 # Allow CC to be a program name with arguments.
8448 # Save the default compiler, since it gets overwritten when the other
8449 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8450 compiler_DEFAULT
=$CC
8452 # save warnings/boilerplate of simple test code
8453 ac_outfile
=conftest.
$ac_objext
8454 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8455 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8456 _lt_compiler_boilerplate
=`cat conftest.err`
8459 ac_outfile
=conftest.
$ac_objext
8460 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8461 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8462 _lt_linker_boilerplate
=`cat conftest.err`
8467 ## There is no encapsulation within the following macros, do not change
8468 ## the running order or otherwise move them around unless you know exactly
8469 ## what you are doing...
8470 if test -n "$compiler"; then
8472 lt_prog_compiler_no_builtin_flag
=
8474 if test "$GCC" = yes; then
8475 case $cc_basename in
8477 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8479 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8483 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8484 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8485 $as_echo_n "(cached) " >&6
8487 lt_cv_prog_compiler_rtti_exceptions
=no
8488 ac_outfile
=conftest.
$ac_objext
8489 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8490 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8491 # Insert the option either (1) after the last *FLAGS variable, or
8492 # (2) before a word containing "conftest.", or (3) at the end.
8493 # Note that $ac_compile itself does not contain backslashes and begins
8494 # with a dollar sign (not a hyphen), so the echo should work correctly.
8495 # The option is referenced via a variable to avoid confusing sed.
8496 lt_compile
=`echo "$ac_compile" | $SED \
8497 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8498 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8499 -e 's:$: $lt_compiler_flag:'`
8500 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8501 (eval "$lt_compile" 2>conftest.err
)
8503 cat conftest.err
>&5
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 if (exit $ac_status) && test -s "$ac_outfile"; then
8506 # The compiler can only warn and ignore the option if not recognized
8507 # So say no if there are warnings other than the usual output.
8508 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8509 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8510 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8511 lt_cv_prog_compiler_rtti_exceptions
=yes
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8518 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8520 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8521 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8533 lt_prog_compiler_wl
=
8534 lt_prog_compiler_pic
=
8535 lt_prog_compiler_static
=
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8538 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8540 if test "$GCC" = yes; then
8541 lt_prog_compiler_wl
='-Wl,'
8542 lt_prog_compiler_static
='-static'
8546 # All AIX code is PIC.
8547 if test "$host_cpu" = ia64
; then
8548 # AIX 5 now supports IA64 processor
8549 lt_prog_compiler_static
='-Bstatic'
8551 lt_prog_compiler_pic
='-fPIC'
8557 # see comment about AmigaOS4 .so support
8558 lt_prog_compiler_pic
='-fPIC'
8561 # FIXME: we need at least 68020 code to build shared libraries, but
8562 # adding the `-m68020' flag to GCC prevents building anything better,
8564 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8569 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8570 # PIC is the default for these OSes.
8573 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8574 # This hack is so that the source file can tell whether it is being
8575 # built for inclusion in a dll (and should export symbols for example).
8576 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8577 # (--disable-auto-import) libraries
8578 lt_prog_compiler_pic
='-DDLL_EXPORT'
8581 darwin
* | rhapsody
*)
8582 # PIC is the default on this platform
8583 # Common symbols not allowed in MH_DYLIB files
8584 lt_prog_compiler_pic
='-fno-common'
8588 # PIC is the default for Haiku.
8589 # The "-static" flag exists, but is broken.
8590 lt_prog_compiler_static
=
8594 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8595 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8596 # sets the default TLS model and affects inlining.
8602 lt_prog_compiler_pic
='-fPIC'
8608 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8609 # Instead, we relocate shared libraries at runtime.
8613 # Just because we use GCC doesn't mean we suddenly get shared libraries
8614 # on systems that don't support them.
8615 lt_prog_compiler_can_build_shared
=no
8620 # QNX uses GNU C++, but need to define -shared option too, otherwise
8622 lt_prog_compiler_pic
='-fPIC -shared'
8626 if test -d /usr
/nec
; then
8627 lt_prog_compiler_pic
=-Kconform_pic
8632 lt_prog_compiler_pic
='-fPIC'
8636 case $cc_basename in
8637 nvcc
*) # Cuda Compiler Driver 2.2
8638 lt_prog_compiler_wl
='-Xlinker '
8639 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8643 # PORTME Check for flag to pass linker flags through the system compiler.
8646 lt_prog_compiler_wl
='-Wl,'
8647 if test "$host_cpu" = ia64
; then
8648 # AIX 5 now supports IA64 processor
8649 lt_prog_compiler_static
='-Bstatic'
8651 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8655 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8656 # This hack is so that the source file can tell whether it is being
8657 # built for inclusion in a dll (and should export symbols for example).
8658 lt_prog_compiler_pic
='-DDLL_EXPORT'
8661 hpux9
* | hpux10
* | hpux11
*)
8662 lt_prog_compiler_wl
='-Wl,'
8663 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8670 lt_prog_compiler_pic
='+Z'
8673 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8674 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8677 irix5
* | irix6
* | nonstopux
*)
8678 lt_prog_compiler_wl
='-Wl,'
8679 # PIC (with -KPIC) is the default.
8680 lt_prog_compiler_static
='-non_shared'
8683 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8684 case $cc_basename in
8685 # old Intel for x86_64 which still supported -KPIC.
8687 lt_prog_compiler_wl
='-Wl,'
8688 lt_prog_compiler_pic
='-KPIC'
8689 lt_prog_compiler_static
='-static'
8691 # icc used to be incompatible with GCC.
8692 # ICC 10 doesn't accept -KPIC any more.
8694 lt_prog_compiler_wl
='-Wl,'
8695 lt_prog_compiler_pic
='-fPIC'
8696 lt_prog_compiler_static
='-static'
8698 # Lahey Fortran 8.1.
8700 lt_prog_compiler_wl
='-Wl,'
8701 lt_prog_compiler_pic
='--shared'
8702 lt_prog_compiler_static
='--static'
8704 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8705 # Portland Group compilers (*not* the Pentium gcc compiler,
8706 # which looks to be a dead project)
8707 lt_prog_compiler_wl
='-Wl,'
8708 lt_prog_compiler_pic
='-fpic'
8709 lt_prog_compiler_static
='-Bstatic'
8712 lt_prog_compiler_wl
='-Wl,'
8713 # All Alpha code is PIC.
8714 lt_prog_compiler_static
='-non_shared'
8716 xl
* | bgxl
* | bgf
* | mpixl
*)
8717 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8718 lt_prog_compiler_wl
='-Wl,'
8719 lt_prog_compiler_pic
='-qpic'
8720 lt_prog_compiler_static
='-qstaticlink'
8723 case `$CC -V 2>&1 | sed 5q` in
8724 *Sun\ F
* |
*Sun
*Fortran
*)
8725 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8726 lt_prog_compiler_pic
='-KPIC'
8727 lt_prog_compiler_static
='-Bstatic'
8728 lt_prog_compiler_wl
=''
8732 lt_prog_compiler_pic
='-KPIC'
8733 lt_prog_compiler_static
='-Bstatic'
8734 lt_prog_compiler_wl
='-Wl,'
8742 lt_prog_compiler_pic
='-KPIC'
8743 lt_prog_compiler_static
='-Bstatic'
8747 # QNX uses GNU C++, but need to define -shared option too, otherwise
8749 lt_prog_compiler_pic
='-fPIC -shared'
8752 osf3
* | osf4
* | osf5
*)
8753 lt_prog_compiler_wl
='-Wl,'
8754 # All OSF/1 code is PIC.
8755 lt_prog_compiler_static
='-non_shared'
8759 lt_prog_compiler_static
='-non_shared'
8763 lt_prog_compiler_pic
='-KPIC'
8764 lt_prog_compiler_static
='-Bstatic'
8765 case $cc_basename in
8767 lt_prog_compiler_wl
='-Qoption ld ';;
8769 lt_prog_compiler_wl
='-Wl,';;
8774 lt_prog_compiler_wl
='-Qoption ld '
8775 lt_prog_compiler_pic
='-PIC'
8776 lt_prog_compiler_static
='-Bstatic'
8779 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8780 lt_prog_compiler_wl
='-Wl,'
8781 lt_prog_compiler_pic
='-KPIC'
8782 lt_prog_compiler_static
='-Bstatic'
8786 if test -d /usr
/nec
;then
8787 lt_prog_compiler_pic
='-Kconform_pic'
8788 lt_prog_compiler_static
='-Bstatic'
8792 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8793 lt_prog_compiler_wl
='-Wl,'
8794 lt_prog_compiler_pic
='-KPIC'
8795 lt_prog_compiler_static
='-Bstatic'
8799 lt_prog_compiler_wl
='-Wl,'
8800 lt_prog_compiler_can_build_shared
=no
8804 lt_prog_compiler_pic
='-pic'
8805 lt_prog_compiler_static
='-Bstatic'
8809 lt_prog_compiler_can_build_shared
=no
8815 # For platforms which do not support PIC, -DPIC is meaningless:
8817 lt_prog_compiler_pic
=
8820 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8824 $as_echo "$lt_prog_compiler_pic" >&6; }
8832 # Check to make sure the PIC flag actually works.
8834 if test -n "$lt_prog_compiler_pic"; then
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8836 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8837 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8838 $as_echo_n "(cached) " >&6
8840 lt_cv_prog_compiler_pic_works
=no
8841 ac_outfile
=conftest.
$ac_objext
8842 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8843 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8844 # Insert the option either (1) after the last *FLAGS variable, or
8845 # (2) before a word containing "conftest.", or (3) at the end.
8846 # Note that $ac_compile itself does not contain backslashes and begins
8847 # with a dollar sign (not a hyphen), so the echo should work correctly.
8848 # The option is referenced via a variable to avoid confusing sed.
8849 lt_compile
=`echo "$ac_compile" | $SED \
8850 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8851 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8852 -e 's:$: $lt_compiler_flag:'`
8853 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8854 (eval "$lt_compile" 2>conftest.err
)
8856 cat conftest.err
>&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 if (exit $ac_status) && test -s "$ac_outfile"; then
8859 # The compiler can only warn and ignore the option if not recognized
8860 # So say no if there are warnings other than the usual output.
8861 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8862 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8863 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8864 lt_cv_prog_compiler_pic_works
=yes
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8871 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8873 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8874 case $lt_prog_compiler_pic in
8876 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8879 lt_prog_compiler_pic
=
8880 lt_prog_compiler_can_build_shared
=no
8891 # Check to make sure the static flag actually works.
8893 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8895 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8896 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8897 $as_echo_n "(cached) " >&6
8899 lt_cv_prog_compiler_static_works
=no
8900 save_LDFLAGS
="$LDFLAGS"
8901 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8902 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8903 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8904 # The linker can only warn and ignore the option if not recognized
8905 # So say no if there are warnings
8906 if test -s conftest.err
; then
8907 # Append any errors to the config.log.
8908 cat conftest.err
1>&5
8909 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8910 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8911 if diff conftest.exp conftest.er2
>/dev
/null
; then
8912 lt_cv_prog_compiler_static_works
=yes
8915 lt_cv_prog_compiler_static_works
=yes
8919 LDFLAGS
="$save_LDFLAGS"
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8923 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8925 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8928 lt_prog_compiler_static
=
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8938 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8939 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8940 $as_echo_n "(cached) " >&6
8942 lt_cv_prog_compiler_c_o
=no
8943 $RM -r conftest
2>/dev
/null
8947 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8949 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8950 # Insert the option either (1) after the last *FLAGS variable, or
8951 # (2) before a word containing "conftest.", or (3) at the end.
8952 # Note that $ac_compile itself does not contain backslashes and begins
8953 # with a dollar sign (not a hyphen), so the echo should work correctly.
8954 lt_compile
=`echo "$ac_compile" | $SED \
8955 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8956 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8957 -e 's:$: $lt_compiler_flag:'`
8958 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8959 (eval "$lt_compile" 2>out
/conftest.err
)
8961 cat out
/conftest.err
>&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8965 # The compiler can only warn and ignore the option if not recognized
8966 # So say no if there are warnings
8967 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8968 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8969 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8970 lt_cv_prog_compiler_c_o
=yes
8975 # SGI C++ compiler will create directory out/ii_files/ for
8976 # template instantiation
8977 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8978 $RM out
/* && rmdir out
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8985 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8993 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8994 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8995 $as_echo_n "(cached) " >&6
8997 lt_cv_prog_compiler_c_o
=no
8998 $RM -r conftest
2>/dev
/null
9002 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9004 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9005 # Insert the option either (1) after the last *FLAGS variable, or
9006 # (2) before a word containing "conftest.", or (3) at the end.
9007 # Note that $ac_compile itself does not contain backslashes and begins
9008 # with a dollar sign (not a hyphen), so the echo should work correctly.
9009 lt_compile
=`echo "$ac_compile" | $SED \
9010 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9011 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9012 -e 's:$: $lt_compiler_flag:'`
9013 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9014 (eval "$lt_compile" 2>out
/conftest.err
)
9016 cat out
/conftest.err
>&5
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9020 # The compiler can only warn and ignore the option if not recognized
9021 # So say no if there are warnings
9022 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9023 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9024 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9025 lt_cv_prog_compiler_c_o
=yes
9030 # SGI C++ compiler will create directory out/ii_files/ for
9031 # template instantiation
9032 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9033 $RM out
/* && rmdir out
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9040 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9045 hard_links
="nottested"
9046 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9047 # do not overwrite the value of need_locks provided by the user
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9049 $as_echo_n "checking if we can lock with hard links... " >&6; }
9052 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9054 ln conftest.a conftest.b
2>&5 || hard_links
=no
9055 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9057 $as_echo "$hard_links" >&6; }
9058 if test "$hard_links" = no
; then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9060 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9073 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9076 allow_undefined_flag
=
9077 always_export_symbols
=no
9079 archive_expsym_cmds
=
9080 compiler_needs_object
=no
9081 enable_shared_with_static_runtimes
=no
9082 export_dynamic_flag_spec
=
9083 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9084 hardcode_automatic
=no
9086 hardcode_direct_absolute
=no
9087 hardcode_libdir_flag_spec
=
9088 hardcode_libdir_flag_spec_ld
=
9089 hardcode_libdir_separator
=
9091 hardcode_shlibpath_var
=unsupported
9093 link_all_deplibs
=unknown
9096 old_archive_from_new_cmds
=
9097 old_archive_from_expsyms_cmds
=
9098 thread_safe_flag_spec
=
9099 whole_archive_flag_spec
=
9100 # include_expsyms should be a list of space-separated symbols to be *always*
9101 # included in the symbol list
9103 # exclude_expsyms can be an extended regexp of symbols to exclude
9104 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9105 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9106 # as well as any symbol that contains `d'.
9107 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9108 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9109 # platforms (ab)use it in PIC code, but their linkers get confused if
9110 # the symbol is explicitly referenced. Since portable code cannot
9111 # rely on this symbol name, it's probably fine to never include it in
9112 # preloaded symbol tables.
9113 # Exclude shared library initialization/finalization symbols.
9114 extract_expsyms_cmds
=
9117 cygwin
* | mingw
* | pw32
* | cegcc
*)
9118 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9119 # When not using gcc, we currently assume that we are using
9120 # Microsoft Visual C++.
9121 if test "$GCC" != yes; then
9126 # we just hope/assume this is gcc and not c89 (= MSVC++)
9136 # On some targets, GNU ld is compatible enough with the native linker
9137 # that we're better off using the native interface for both.
9138 lt_use_gnu_ld_interface
=no
9139 if test "$with_gnu_ld" = yes; then
9142 # The AIX port of GNU ld has always aspired to compatibility
9143 # with the native linker. However, as the warning in the GNU ld
9144 # block says, versions before 2.19.5* couldn't really create working
9145 # shared libraries, regardless of the interface used.
9146 case `$LD -v 2>&1` in
9147 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9148 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9149 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9151 lt_use_gnu_ld_interface
=yes
9156 lt_use_gnu_ld_interface
=yes
9161 if test "$lt_use_gnu_ld_interface" = yes; then
9162 # If archive_cmds runs LD, not CC, wlarc should be empty
9165 # Set some defaults for GNU ld with shared library support. These
9166 # are reset later if shared libraries are not supported. Putting them
9167 # here allows them to be overridden if necessary.
9168 runpath_var
=LD_RUN_PATH
9169 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9170 export_dynamic_flag_spec
='${wl}--export-dynamic'
9171 # ancient GNU ld didn't support --whole-archive et. al.
9172 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9173 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9175 whole_archive_flag_spec
=
9177 supports_anon_versioning
=no
9178 case `$LD -v 2>&1` in
9179 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9180 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9181 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9182 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9183 *\
2.11.
*) ;; # other 2.11 versions
9184 *) supports_anon_versioning
=yes ;;
9187 # See if GNU ld supports shared libraries.
9190 # On AIX/PPC, the GNU linker is very broken
9191 if test "$host_cpu" != ia64
; then
9195 *** Warning: the GNU linker, at least up to release 2.19, is reported
9196 *** to be unable to reliably create shared libraries on AIX.
9197 *** Therefore, libtool is disabling shared libraries support. If you
9198 *** really care for shared libraries, you may want to install binutils
9199 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9200 *** You will then need to restart the configuration process.
9209 # see comment about AmigaOS4 .so support
9210 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9211 archive_expsym_cmds
=''
9214 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)'
9215 hardcode_libdir_flag_spec
='-L$libdir'
9216 hardcode_minus_L
=yes
9222 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9223 allow_undefined_flag
=unsupported
9224 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9225 # support --undefined. This deserves some investigation. FIXME
9226 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9232 cygwin
* | mingw
* | pw32
* | cegcc
*)
9233 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9234 # as there is no search path for DLLs.
9235 hardcode_libdir_flag_spec
='-L$libdir'
9236 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9237 allow_undefined_flag
=unsupported
9238 always_export_symbols
=no
9239 enable_shared_with_static_runtimes
=yes
9240 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9242 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9243 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9244 # If the export-symbols file already is a .def file (1st line
9245 # is EXPORTS), use it as is; otherwise, prepend...
9246 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9247 cp $export_symbols $output_objdir/$soname.def;
9249 echo EXPORTS > $output_objdir/$soname.def;
9250 cat $export_symbols >> $output_objdir/$soname.def;
9252 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9259 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9260 link_all_deplibs
=yes
9265 hardcode_shlibpath_var
=no
9266 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9267 export_dynamic_flag_spec
='${wl}-E'
9268 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9269 # Instead, shared libraries are loaded at an image base (0x10000000 by
9270 # default) and relocated if they conflict, which is a slow very memory
9271 # consuming and fragmenting process. To avoid this, we pick a random,
9272 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9273 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9274 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9275 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'
9278 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9280 if test "$host_os" = linux-dietlibc
; then
9281 case $cc_basename in
9282 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9285 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9286 && test "$tmp_diet" = no
9288 tmp_addflag
=' $pic_flag'
9289 tmp_sharedflag
='-shared'
9290 case $cc_basename,$host_cpu in
9291 pgcc
*) # Portland Group C compiler
9292 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'
9293 tmp_addflag
=' $pic_flag'
9295 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9296 # Portland Group f77 and f90 compilers
9297 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'
9298 tmp_addflag
=' $pic_flag -Mnomain' ;;
9299 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9300 tmp_addflag
=' -i_dynamic' ;;
9301 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9302 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9303 ifc
* | ifort
*) # Intel Fortran compiler
9304 tmp_addflag
=' -nofor_main' ;;
9305 lf95
*) # Lahey Fortran 8.1
9306 whole_archive_flag_spec
=
9307 tmp_sharedflag
='--shared' ;;
9308 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9309 tmp_sharedflag
='-qmkshrobj'
9311 nvcc
*) # Cuda Compiler Driver 2.2
9312 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'
9313 compiler_needs_object
=yes
9316 case `$CC -V 2>&1 | sed 5q` in
9317 *Sun\ C
*) # Sun C 5.9
9318 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'
9319 compiler_needs_object
=yes
9320 tmp_sharedflag
='-G' ;;
9321 *Sun\ F
*) # Sun Fortran 8.3
9322 tmp_sharedflag
='-G' ;;
9324 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9326 if test "x$supports_anon_versioning" = xyes
; then
9327 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9328 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9329 echo "local: *; };" >> $output_objdir/$libname.ver~
9330 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9333 case $cc_basename in
9334 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9335 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9336 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9337 hardcode_libdir_flag_spec
=
9338 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9339 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9340 if test "x$supports_anon_versioning" = xyes
; then
9341 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9342 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9343 echo "local: *; };" >> $output_objdir/$libname.ver~
9344 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9354 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9355 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9358 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9359 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9364 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9368 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9369 *** create shared libraries on Solaris systems. Therefore, libtool
9370 *** is disabling shared libraries support. We urge you to upgrade GNU
9371 *** binutils to release 2.9.1 or newer. Another option is to modify
9372 *** your PATH or compiler configuration so that the native linker is
9373 *** used, and then restart.
9376 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9377 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9378 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9384 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9385 case `$LD -v 2>&1` in
9386 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9390 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9391 *** reliably create shared libraries on SCO systems. Therefore, libtool
9392 *** is disabling shared libraries support. We urge you to upgrade GNU
9393 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9394 *** your PATH or compiler configuration so that the native linker is
9395 *** used, and then restart.
9400 # For security reasons, it is highly recommended that you always
9401 # use absolute paths for naming shared libraries, and exclude the
9402 # DT_RUNPATH tag from executables and libraries. But doing so
9403 # requires that you compile everything twice, which is a pain.
9404 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9405 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9406 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9407 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9416 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9419 hardcode_shlibpath_var
=no
9423 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9424 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9425 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9432 if test "$ld_shlibs" = no
; then
9434 hardcode_libdir_flag_spec
=
9435 export_dynamic_flag_spec
=
9436 whole_archive_flag_spec
=
9439 # PORTME fill in a description of your system's linker (not GNU ld)
9442 allow_undefined_flag
=unsupported
9443 always_export_symbols
=yes
9444 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'
9445 # Note: this linker hardcodes the directories in LIBPATH if there
9446 # are no directories specified by -L.
9447 hardcode_minus_L
=yes
9448 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9449 # Neither direct hardcoding nor static linking is supported with a
9451 hardcode_direct
=unsupported
9456 if test "$host_cpu" = ia64
; then
9457 # On IA64, the linker does run time linking by default, so we don't
9458 # have to do anything special.
9459 aix_use_runtimelinking
=no
9460 exp_sym_flag
='-Bexport'
9463 # If we're using GNU nm, then we don't want the "-C" option.
9464 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9465 # Also, AIX nm treats weak defined symbols like other global
9466 # defined symbols, whereas GNU nm marks them as "W".
9467 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9468 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'
9470 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'
9472 aix_use_runtimelinking
=no
9474 # Test if we are trying to use run time linking or normal
9475 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9476 # need to do runtime linking.
9477 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9478 for ld_flag
in $LDFLAGS; do
9479 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9480 aix_use_runtimelinking
=yes
9487 exp_sym_flag
='-bexport'
9488 no_entry_flag
='-bnoentry'
9491 # When large executables or shared objects are built, AIX ld can
9492 # have problems creating the table of contents. If linking a library
9493 # or program results in "error TOC overflow" add -mminimal-toc to
9494 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9495 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9499 hardcode_direct_absolute
=yes
9500 hardcode_libdir_separator
=':'
9501 link_all_deplibs
=yes
9502 file_list_spec
='${wl}-f,'
9504 if test "$GCC" = yes; then
9505 case $host_os in aix4.
[012]|aix4.
[012].
*)
9506 # We only want to do this on AIX 4.2 and lower, the check
9507 # below for broken collect2 doesn't work under 4.3+
9508 collect2name
=`${CC} -print-prog-name=collect2`
9509 if test -f "$collect2name" &&
9510 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9512 # We have reworked collect2
9515 # We have old collect2
9516 hardcode_direct
=unsupported
9517 # It fails to find uninstalled libraries when the uninstalled
9518 # path is not listed in the libpath. Setting hardcode_minus_L
9519 # to unsupported forces relinking
9520 hardcode_minus_L
=yes
9521 hardcode_libdir_flag_spec
='-L$libdir'
9522 hardcode_libdir_separator
=
9526 shared_flag
='-shared'
9527 if test "$aix_use_runtimelinking" = yes; then
9528 shared_flag
="$shared_flag "'${wl}-G'
9532 if test "$host_cpu" = ia64
; then
9533 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9534 # chokes on -Wl,-G. The following line is correct:
9537 if test "$aix_use_runtimelinking" = yes; then
9538 shared_flag
='${wl}-G'
9540 shared_flag
='${wl}-bM:SRE'
9545 export_dynamic_flag_spec
='${wl}-bexpall'
9546 # It seems that -bexpall does not export symbols beginning with
9547 # underscore (_), so it is better to generate a list of symbols to export.
9548 always_export_symbols
=yes
9549 if test "$aix_use_runtimelinking" = yes; then
9550 # Warning - without using the other runtime loading flags (-brtl),
9551 # -berok will link without error, but may produce a broken library.
9552 allow_undefined_flag
='-berok'
9553 # Determine the default libpath from the value encoded in an
9555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9556 /* end confdefs.h. */
9566 if ac_fn_c_try_link
"$LINENO"; then :
9568 lt_aix_libpath_sed
='
9569 /Import File Strings/,/^$/ {
9575 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9576 # Check for a 64-bit object if we didn't find anything.
9577 if test -z "$aix_libpath"; then
9578 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9581 rm -f core conftest.err conftest.
$ac_objext \
9582 conftest
$ac_exeext conftest.
$ac_ext
9583 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9585 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9586 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"
9588 if test "$host_cpu" = ia64
; then
9589 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9590 allow_undefined_flag
="-z nodefs"
9591 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"
9593 # Determine the default libpath from the value encoded in an
9595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9596 /* end confdefs.h. */
9606 if ac_fn_c_try_link
"$LINENO"; then :
9608 lt_aix_libpath_sed
='
9609 /Import File Strings/,/^$/ {
9615 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9616 # Check for a 64-bit object if we didn't find anything.
9617 if test -z "$aix_libpath"; then
9618 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9621 rm -f core conftest.err conftest.
$ac_objext \
9622 conftest
$ac_exeext conftest.
$ac_ext
9623 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9625 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9626 # Warning - without using the other run time loading flags,
9627 # -berok will link without error, but may produce a broken library.
9628 no_undefined_flag
=' ${wl}-bernotok'
9629 allow_undefined_flag
=' ${wl}-berok'
9630 if test "$with_gnu_ld" = yes; then
9631 # We only use this code for GNU lds that support --whole-archive.
9632 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9634 # Exported symbols can be pulled into shared objects from archives
9635 whole_archive_flag_spec
='$convenience'
9637 archive_cmds_need_lc
=yes
9638 # This is similar to how AIX traditionally builds its shared libraries.
9639 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'
9647 # see comment about AmigaOS4 .so support
9648 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9649 archive_expsym_cmds
=''
9652 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)'
9653 hardcode_libdir_flag_spec
='-L$libdir'
9654 hardcode_minus_L
=yes
9660 export_dynamic_flag_spec
=-rdynamic
9663 cygwin
* | mingw
* | pw32
* | cegcc
*)
9664 # When not using gcc, we currently assume that we are using
9665 # Microsoft Visual C++.
9666 # hardcode_libdir_flag_spec is actually meaningless, as there is
9667 # no search path for DLLs.
9668 hardcode_libdir_flag_spec
=' '
9669 allow_undefined_flag
=unsupported
9670 # Tell ltmain to make .lib files, not .a files.
9672 # Tell ltmain to make .dll files, not .so files.
9674 # FIXME: Setting linknames here is a bad hack.
9675 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9676 # The linker will automatically build a .lib file if we build a DLL.
9677 old_archive_from_new_cmds
='true'
9678 # FIXME: Should let the user specify the lib program.
9679 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9680 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9681 enable_shared_with_static_runtimes
=yes
9684 darwin
* | rhapsody
*)
9687 archive_cmds_need_lc
=no
9689 hardcode_automatic
=yes
9690 hardcode_shlibpath_var
=unsupported
9691 if test "$lt_cv_ld_force_load" = "yes"; then
9692 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\"`'
9694 whole_archive_flag_spec
=''
9696 link_all_deplibs
=yes
9697 allow_undefined_flag
="$_lt_dar_allow_undefined"
9698 case $cc_basename in
9699 ifort
*) _lt_dar_can_shared
=yes ;;
9700 *) _lt_dar_can_shared
=$GCC ;;
9702 if test "$_lt_dar_can_shared" = "yes"; then
9703 output_verbose_link_cmd
=func_echo_all
9704 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9705 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9706 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}"
9707 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}"
9716 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9717 hardcode_libdir_flag_spec
='-L$libdir'
9718 hardcode_shlibpath_var
=no
9721 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9722 # support. Future versions do this automatically, but an explicit c++rt0.o
9723 # does not break anything, and helps significantly (at the cost of a little
9726 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9727 hardcode_libdir_flag_spec
='-R$libdir'
9729 hardcode_shlibpath_var
=no
9732 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9734 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9736 hardcode_minus_L
=yes
9737 hardcode_shlibpath_var
=no
9740 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9741 freebsd
* | dragonfly
*)
9742 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9743 hardcode_libdir_flag_spec
='-R$libdir'
9745 hardcode_shlibpath_var
=no
9749 if test "$GCC" = yes; then
9750 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'
9752 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'
9754 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9755 hardcode_libdir_separator
=:
9758 # hardcode_minus_L: Not really in the search PATH,
9759 # but as the default location of the library.
9760 hardcode_minus_L
=yes
9761 export_dynamic_flag_spec
='${wl}-E'
9765 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9766 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9768 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9770 if test "$with_gnu_ld" = no
; then
9771 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9772 hardcode_libdir_flag_spec_ld
='+b $libdir'
9773 hardcode_libdir_separator
=:
9775 hardcode_direct_absolute
=yes
9776 export_dynamic_flag_spec
='${wl}-E'
9777 # hardcode_minus_L: Not really in the search PATH,
9778 # but as the default location of the library.
9779 hardcode_minus_L
=yes
9784 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9787 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9790 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9793 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9799 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9802 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9806 # Older versions of the 11.00 compiler do not understand -b yet
9807 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9809 $as_echo_n "checking if $CC understands -b... " >&6; }
9810 if ${lt_cv_prog_compiler__b+:} false
; then :
9811 $as_echo_n "(cached) " >&6
9813 lt_cv_prog_compiler__b
=no
9814 save_LDFLAGS
="$LDFLAGS"
9815 LDFLAGS
="$LDFLAGS -b"
9816 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9817 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9818 # The linker can only warn and ignore the option if not recognized
9819 # So say no if there are warnings
9820 if test -s conftest.err
; then
9821 # Append any errors to the config.log.
9822 cat conftest.err
1>&5
9823 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9824 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9825 if diff conftest.exp conftest.er2
>/dev
/null
; then
9826 lt_cv_prog_compiler__b
=yes
9829 lt_cv_prog_compiler__b
=yes
9833 LDFLAGS
="$save_LDFLAGS"
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9837 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9839 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9840 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9842 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9848 if test "$with_gnu_ld" = no
; then
9849 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9850 hardcode_libdir_separator
=:
9855 hardcode_shlibpath_var
=no
9859 hardcode_direct_absolute
=yes
9860 export_dynamic_flag_spec
='${wl}-E'
9862 # hardcode_minus_L: Not really in the search PATH,
9863 # but as the default location of the library.
9864 hardcode_minus_L
=yes
9870 irix5
* | irix6
* | nonstopux
*)
9871 if test "$GCC" = yes; then
9872 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'
9873 # Try to use the -exported_symbol ld option, if it does not
9874 # work, assume that -exports_file does not work either and
9875 # implicitly export all symbols.
9876 save_LDFLAGS
="$LDFLAGS"
9877 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9882 if ac_fn_c_try_link
"$LINENO"; then :
9883 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'
9886 rm -f core conftest.err conftest.
$ac_objext \
9887 conftest
$ac_exeext conftest.
$ac_ext
9888 LDFLAGS
="$save_LDFLAGS"
9890 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'
9891 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'
9893 archive_cmds_need_lc
='no'
9894 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9895 hardcode_libdir_separator
=:
9897 link_all_deplibs
=yes
9901 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9902 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9904 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9906 hardcode_libdir_flag_spec
='-R$libdir'
9908 hardcode_shlibpath_var
=no
9912 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9914 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9915 hardcode_libdir_separator
=:
9916 hardcode_shlibpath_var
=no
9923 if test -f /usr
/libexec
/ld.so
; then
9925 hardcode_shlibpath_var
=no
9926 hardcode_direct_absolute
=yes
9927 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9928 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9930 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9931 export_dynamic_flag_spec
='${wl}-E'
9934 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9935 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936 hardcode_libdir_flag_spec
='-R$libdir'
9939 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9940 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9950 hardcode_libdir_flag_spec
='-L$libdir'
9951 hardcode_minus_L
=yes
9952 allow_undefined_flag
=unsupported
9953 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'
9954 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9958 if test "$GCC" = yes; then
9959 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9960 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'
9962 allow_undefined_flag
=' -expect_unresolved \*'
9963 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'
9965 archive_cmds_need_lc
='no'
9966 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9967 hardcode_libdir_separator
=:
9970 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9973 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'
9974 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9976 allow_undefined_flag
=' -expect_unresolved \*'
9977 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'
9978 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~
9979 $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'
9981 # Both c and cxx compiler support -rpath directly
9982 hardcode_libdir_flag_spec
='-rpath $libdir'
9984 archive_cmds_need_lc
='no'
9985 hardcode_libdir_separator
=:
9989 no_undefined_flag
=' -z defs'
9990 if test "$GCC" = yes; then
9992 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9994 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9996 case `$CC -V 2>&1` in
9999 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10005 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10011 hardcode_libdir_flag_spec
='-R$libdir'
10012 hardcode_shlibpath_var
=no
10014 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10016 # The compiler driver will combine and reorder linker options,
10017 # but understands `-z linker_flag'. GCC discards it without `$wl',
10018 # but is careful enough not to reorder.
10019 # Supported since Solaris 2.6 (maybe 2.5.1?)
10020 if test "$GCC" = yes; then
10021 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10023 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10027 link_all_deplibs
=yes
10031 if test "x$host_vendor" = xsequent
; then
10032 # Use $CC to link under sequent, because it throws in some extra .o
10033 # files that make .init and .fini sections work.
10034 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10036 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_libdir_flag_spec
='-L$libdir'
10039 hardcode_direct
=yes
10040 hardcode_minus_L
=yes
10041 hardcode_shlibpath_var
=no
10045 case $host_vendor in
10047 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_direct
=yes # is this really true???
10051 ## LD is ld it makes a PLAMLIB
10052 ## CC just makes a GrossModule.
10053 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10054 reload_cmds
='$CC -r -o $output$reload_objs'
10058 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10062 runpath_var
='LD_RUN_PATH'
10063 hardcode_shlibpath_var
=no
10067 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068 hardcode_shlibpath_var
=no
10069 export_dynamic_flag_spec
='-Bexport'
10073 if test -d /usr
/nec
; then
10074 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075 hardcode_shlibpath_var
=no
10076 runpath_var
=LD_RUN_PATH
10077 hardcode_runpath_var
=yes
10082 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10083 no_undefined_flag
='${wl}-z,text'
10084 archive_cmds_need_lc
=no
10085 hardcode_shlibpath_var
=no
10086 runpath_var
='LD_RUN_PATH'
10088 if test "$GCC" = yes; then
10089 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 sysv5
* | sco3.2v5
* | sco5v6
*)
10098 # Note: We can NOT use -z defs as we might desire, because we do not
10099 # link with -lc, and that would cause any symbols used from libc to
10100 # always be unresolved, which means just about no library would
10101 # ever link correctly. If we're not using GNU ld we use -z text
10102 # though, which does catch some bad symbols but isn't as heavy-handed
10104 no_undefined_flag
='${wl}-z,text'
10105 allow_undefined_flag
='${wl}-z,nodefs'
10106 archive_cmds_need_lc
=no
10107 hardcode_shlibpath_var
=no
10108 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10109 hardcode_libdir_separator
=':'
10110 link_all_deplibs
=yes
10111 export_dynamic_flag_spec
='${wl}-Bexport'
10112 runpath_var
='LD_RUN_PATH'
10114 if test "$GCC" = yes; then
10115 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10118 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10124 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125 hardcode_libdir_flag_spec
='-L$libdir'
10126 hardcode_shlibpath_var
=no
10134 if test x
$host_vendor = xsni
; then
10136 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10137 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10144 $as_echo "$ld_shlibs" >&6; }
10145 test "$ld_shlibs" = no
&& can_build_shared
=no
10147 with_gnu_ld
=$with_gnu_ld
10164 # Do we need to explicitly link libc?
10166 case "x$archive_cmds_need_lc" in
10168 # Assume -lc should be added
10169 archive_cmds_need_lc
=yes
10171 if test "$enable_shared" = yes && test "$GCC" = yes; then
10172 case $archive_cmds in
10174 # FIXME: we may have to deal with multi-command sequences.
10177 # Test whether the compiler implicitly links with -lc since on some
10178 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10179 # to ld, don't add -lc before -lgcc.
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10181 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10182 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10183 $as_echo_n "(cached) " >&6
10186 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10189 (eval $ac_compile) 2>&5
10191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192 test $ac_status = 0; } 2>conftest.err
; then
10195 libobjs
=conftest.
$ac_objext
10197 wl
=$lt_prog_compiler_wl
10198 pic_flag
=$lt_prog_compiler_pic
10204 lt_save_allow_undefined_flag
=$allow_undefined_flag
10205 allow_undefined_flag
=
10206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10207 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210 test $ac_status = 0; }
10212 lt_cv_archive_cmds_need_lc
=no
10214 lt_cv_archive_cmds_need_lc
=yes
10216 allow_undefined_flag
=$lt_save_allow_undefined_flag
10218 cat conftest.err
1>&5
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10224 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10225 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10391 if test "$GCC" = yes; then
10393 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10394 *) lt_awk_arg
="/^libraries:/" ;;
10397 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10398 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10400 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10401 case $lt_search_path_spec in
10403 # if the path contains ";" then we assume it to be the separator
10404 # otherwise default to the standard path separator (i.e. ":") - it is
10405 # assumed that no part of a normal pathname contains ";" but that should
10406 # okay in the real world where ";" in dirpaths is itself problematic.
10407 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10410 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10413 # Ok, now we have the path, separated by spaces, we can step through it
10414 # and add multilib dir if necessary.
10415 lt_tmp_lt_search_path_spec
=
10416 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10417 for lt_sys_path
in $lt_search_path_spec; do
10418 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10419 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10421 test -d "$lt_sys_path" && \
10422 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10425 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10426 BEGIN {RS=" "; FS="/|\n";} {
10429 for (lt_i = NF; lt_i > 0; lt_i--) {
10430 if ($lt_i != "" && $lt_i != ".") {
10431 if ($lt_i == "..") {
10434 if (lt_count == 0) {
10435 lt_foo="/" $lt_i lt_foo;
10442 if (lt_foo != "") { lt_freq[lt_foo]++; }
10443 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10445 # AWK program above erroneously prepends '/' to C:/dos/paths
10448 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10449 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10451 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10453 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10455 library_names_spec
=
10456 libname_spec
='lib$name'
10460 postuninstall_cmds
=
10464 shlibpath_overrides_runpath
=unknown
10466 dynamic_linker
="$host_os ld.so"
10467 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10468 need_lib_prefix
=unknown
10469 hardcode_into_libs
=no
10471 # when you set need_version to no, make sure it does not cause -set_version
10472 # flags to be left without arguments
10473 need_version
=unknown
10478 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10479 shlibpath_var
=LIBPATH
10481 # AIX 3 has no versioning support, so we append a major version to the name.
10482 soname_spec
='${libname}${release}${shared_ext}$major'
10489 hardcode_into_libs
=yes
10490 if test "$host_cpu" = ia64
; then
10491 # AIX 5 supports IA64
10492 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10493 shlibpath_var
=LD_LIBRARY_PATH
10495 # With GCC up to 2.95.x, collect2 would create an import file
10496 # for dependence libraries. The import file would start with
10497 # the line `#! .'. This would cause the generated library to
10498 # depend on `.', always an invalid library. This was fixed in
10499 # development snapshots of GCC prior to 3.0.
10501 aix4 | aix4.
[01] | aix4.
[01].
*)
10502 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10504 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10507 can_build_shared
=no
10511 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10512 # soname into executable. Probably we can add versioning support to
10513 # collect2, so additional links can be useful in future.
10514 if test "$aix_use_runtimelinking" = yes; then
10515 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10516 # instead of lib<name>.a to let people know that these are not
10517 # typical AIX shared libraries.
10518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10520 # We preserve .a as extension for shared libraries through AIX4.2
10521 # and later when we are not doing run time linking.
10522 library_names_spec
='${libname}${release}.a $libname.a'
10523 soname_spec
='${libname}${release}${shared_ext}$major'
10525 shlibpath_var
=LIBPATH
10532 # Since July 2007 AmigaOS4 officially supports .so libraries.
10533 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10537 library_names_spec
='$libname.ixlibrary $libname.a'
10538 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10539 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'
10545 library_names_spec
='${libname}${shared_ext}'
10546 dynamic_linker
="$host_os ld.so"
10547 shlibpath_var
=LIBRARY_PATH
10553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec
='${libname}${release}${shared_ext}$major'
10555 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10556 shlibpath_var
=LD_LIBRARY_PATH
10557 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10558 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10559 # the default ld.so.conf also contains /usr/contrib/lib and
10560 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10561 # libtool to hard-code these into programs
10564 cygwin
* | mingw
* | pw32
* | cegcc
*)
10565 version_type
=windows
10570 case $GCC,$host_os in
10571 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10572 library_names_spec
='$libname.dll.a'
10573 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10574 postinstall_cmds
='base_file=`basename \${file}`~
10575 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10576 dldir=$destdir/`dirname \$dlpath`~
10577 test -d \$dldir || mkdir -p \$dldir~
10578 $install_prog $dir/$dlname \$dldir/$dlname~
10579 chmod a+x \$dldir/$dlname~
10580 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10581 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10583 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10584 dlpath=$dir/\$dldll~
10586 shlibpath_overrides_runpath
=yes
10590 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10591 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10593 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10596 # MinGW DLLs use traditional 'lib' prefix
10597 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10600 # pw32 DLLs use 'pw' prefix rather than 'lib'
10601 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10607 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10610 dynamic_linker
='Win32 ld.exe'
10611 # FIXME: first we should search . and the directory the executable is in
10615 darwin
* | rhapsody
*)
10616 dynamic_linker
="$host_os dyld"
10617 version_type
=darwin
10620 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10621 soname_spec
='${libname}${release}${major}$shared_ext'
10622 shlibpath_overrides_runpath
=yes
10623 shlibpath_var
=DYLD_LIBRARY_PATH
10624 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10626 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10627 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10635 soname_spec
='${libname}${release}${shared_ext}$major'
10636 shlibpath_var
=LD_LIBRARY_PATH
10639 freebsd
* | dragonfly
*)
10640 # DragonFly does not have aout. When/if they implement a new
10641 # versioning mechanism, adjust this.
10642 if test -x /usr
/bin
/objformat
; then
10643 objformat
=`/usr/bin/objformat`
10646 freebsd
[23].
*) objformat
=aout
;;
10647 *) objformat
=elf
;;
10650 version_type
=freebsd-
$objformat
10651 case $version_type in
10653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10658 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10662 shlibpath_var
=LD_LIBRARY_PATH
10665 shlibpath_overrides_runpath
=yes
10667 freebsd3.
[01]* | freebsdelf3.
[01]*)
10668 shlibpath_overrides_runpath
=yes
10669 hardcode_into_libs
=yes
10671 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10672 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10673 shlibpath_overrides_runpath
=no
10674 hardcode_into_libs
=yes
10676 *) # from 4.6 on, and DragonFly
10677 shlibpath_overrides_runpath
=yes
10678 hardcode_into_libs
=yes
10687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10688 soname_spec
='${libname}${release}${shared_ext}$major'
10689 shlibpath_var
=LD_LIBRARY_PATH
10690 hardcode_into_libs
=yes
10697 dynamic_linker
="$host_os runtime_loader"
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
=LIBRARY_PATH
10701 shlibpath_overrides_runpath
=yes
10702 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10703 hardcode_into_libs
=yes
10706 hpux9
* | hpux10
* | hpux11
*)
10707 # Give a soname corresponding to the major version so that dld.sl refuses to
10708 # link against other versions.
10715 hardcode_into_libs
=yes
10716 dynamic_linker
="$host_os dld.so"
10717 shlibpath_var
=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec
='${libname}${release}${shared_ext}$major'
10721 if test "X$HPUX_IA64_MODE" = X32
; then
10722 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10724 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10726 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10730 hardcode_into_libs
=yes
10731 dynamic_linker
="$host_os dld.sl"
10732 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10733 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735 soname_spec
='${libname}${release}${shared_ext}$major'
10736 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10737 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10741 dynamic_linker
="$host_os dld.sl"
10742 shlibpath_var
=SHLIB_PATH
10743 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec
='${libname}${release}${shared_ext}$major'
10748 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10749 postinstall_cmds
='chmod 555 $lib'
10750 # or fails outright, so override atomically:
10751 install_override_mode
=555
10758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10759 soname_spec
='${libname}${release}${shared_ext}$major'
10760 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10761 shlibpath_var
=LD_LIBRARY_PATH
10762 shlibpath_overrides_runpath
=no
10763 hardcode_into_libs
=yes
10766 irix5
* | irix6
* | nonstopux
*)
10768 nonstopux
*) version_type
=nonstopux
;;
10770 if test "$lt_cv_prog_gnu_ld" = yes; then
10778 soname_spec
='${libname}${release}${shared_ext}$major'
10779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10781 irix5
* | nonstopux
*)
10782 libsuff
= shlibsuff
=
10785 case $LD in # libtool.m4 will add one of these switches to LD
10786 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10787 libsuff
= shlibsuff
= libmagic
=32-bit;;
10788 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10789 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10790 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10791 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10792 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10796 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10797 shlibpath_overrides_runpath
=no
10798 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10799 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10800 hardcode_into_libs
=yes
10803 # No shared lib support for Linux oldld, aout, or coff.
10804 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10808 # This must be Linux ELF.
10809 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec
='${libname}${release}${shared_ext}$major'
10815 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10816 shlibpath_var
=LD_LIBRARY_PATH
10817 shlibpath_overrides_runpath
=no
10819 # Some binutils ld are patched to set DT_RUNPATH
10820 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10821 $as_echo_n "(cached) " >&6
10823 lt_cv_shlibpath_overrides_runpath
=no
10824 save_LDFLAGS
=$LDFLAGS
10825 save_libdir
=$libdir
10826 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10827 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10829 /* end confdefs.h. */
10839 if ac_fn_c_try_link
"$LINENO"; then :
10840 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10841 lt_cv_shlibpath_overrides_runpath
=yes
10844 rm -f core conftest.err conftest.
$ac_objext \
10845 conftest
$ac_exeext conftest.
$ac_ext
10846 LDFLAGS
=$save_LDFLAGS
10847 libdir
=$save_libdir
10851 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10853 # This implies no fast_install, which is unacceptable.
10854 # Some rework will be needed to allow for fast_install
10855 # before this can be enabled.
10856 hardcode_into_libs
=yes
10858 # Append ld.so.conf contents to the search path
10859 if test -f /etc
/ld.so.conf
; then
10860 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' ' '`
10861 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10864 # We used to test for /lib/ld.so.1 and disable shared libraries on
10865 # powerpc, because MkLinux only supported shared libraries with the
10866 # GNU dynamic linker. Since this was broken with cross compilers,
10867 # most powerpc-linux boxes support dynamic linking these days and
10868 # people can always --disable-shared, the test was removed, and we
10869 # assume the GNU/Linux dynamic linker is in use.
10870 dynamic_linker
='GNU/Linux ld.so'
10877 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10879 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10880 dynamic_linker
='NetBSD (a.out) ld.so'
10882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10883 soname_spec
='${libname}${release}${shared_ext}$major'
10884 dynamic_linker
='NetBSD ld.elf_so'
10886 shlibpath_var
=LD_LIBRARY_PATH
10887 shlibpath_overrides_runpath
=yes
10888 hardcode_into_libs
=yes
10893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10894 shlibpath_var
=LD_LIBRARY_PATH
10895 shlibpath_overrides_runpath
=yes
10902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10903 soname_spec
='${libname}${release}${shared_ext}$major'
10904 shlibpath_var
=LD_LIBRARY_PATH
10905 shlibpath_overrides_runpath
=no
10906 hardcode_into_libs
=yes
10907 dynamic_linker
='ldqnx.so'
10912 sys_lib_dlsearch_path_spec
="/usr/lib"
10914 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10916 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10917 *) need_version
=no
;;
10919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10920 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10921 shlibpath_var
=LD_LIBRARY_PATH
10922 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10924 openbsd2.
[89] | openbsd2.
[89].
*)
10925 shlibpath_overrides_runpath
=no
10928 shlibpath_overrides_runpath
=yes
10932 shlibpath_overrides_runpath
=yes
10937 libname_spec
='$name'
10940 library_names_spec
='$libname${shared_ext} $libname.a'
10941 dynamic_linker
='OS/2 ld.exe'
10942 shlibpath_var
=LIBPATH
10945 osf3
* | osf4
* | osf5
*)
10949 soname_spec
='${libname}${release}${shared_ext}$major'
10950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10951 shlibpath_var
=LD_LIBRARY_PATH
10952 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10953 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10965 soname_spec
='${libname}${release}${shared_ext}$major'
10966 shlibpath_var
=LD_LIBRARY_PATH
10967 shlibpath_overrides_runpath
=yes
10968 hardcode_into_libs
=yes
10969 # ldd complains unless libraries are executable
10970 postinstall_cmds
='chmod +x $lib'
10975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10976 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10977 shlibpath_var
=LD_LIBRARY_PATH
10978 shlibpath_overrides_runpath
=yes
10979 if test "$with_gnu_ld" = yes; then
10987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10988 soname_spec
='${libname}${release}${shared_ext}$major'
10989 shlibpath_var
=LD_LIBRARY_PATH
10990 case $host_vendor in
10992 shlibpath_overrides_runpath
=no
10994 runpath_var
=LD_RUN_PATH
11002 shlibpath_overrides_runpath
=no
11003 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11009 if test -d /usr
/nec
;then
11011 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11012 soname_spec
='$libname${shared_ext}.$major'
11013 shlibpath_var
=LD_LIBRARY_PATH
11017 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11018 version_type
=freebsd-elf
11021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11022 soname_spec
='${libname}${release}${shared_ext}$major'
11023 shlibpath_var
=LD_LIBRARY_PATH
11024 shlibpath_overrides_runpath
=yes
11025 hardcode_into_libs
=yes
11026 if test "$with_gnu_ld" = yes; then
11027 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11029 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11032 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11036 sys_lib_dlsearch_path_spec
='/usr/lib'
11040 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11045 shlibpath_var
=LD_LIBRARY_PATH
11046 shlibpath_overrides_runpath
=no
11047 hardcode_into_libs
=yes
11052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11053 soname_spec
='${libname}${release}${shared_ext}$major'
11054 shlibpath_var
=LD_LIBRARY_PATH
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11062 $as_echo "$dynamic_linker" >&6; }
11063 test "$dynamic_linker" = no
&& can_build_shared
=no
11065 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11066 if test "$GCC" = yes; then
11067 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11070 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11071 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11073 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11074 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11169 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11171 if test -n "$hardcode_libdir_flag_spec" ||
11172 test -n "$runpath_var" ||
11173 test "X$hardcode_automatic" = "Xyes" ; then
11175 # We can hardcode non-existent directories.
11176 if test "$hardcode_direct" != no
&&
11177 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11178 # have to relink, otherwise we might link with an installed library
11179 # when we should be linking with a yet-to-be-installed one
11180 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11181 test "$hardcode_minus_L" != no
; then
11182 # Linking always hardcodes the temporary library directory.
11183 hardcode_action
=relink
11185 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11186 hardcode_action
=immediate
11189 # We cannot hardcode anything, or else we can only hardcode existing
11191 hardcode_action
=unsupported
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11194 $as_echo "$hardcode_action" >&6; }
11196 if test "$hardcode_action" = relink ||
11197 test "$inherit_rpath" = yes; then
11198 # Fast installation is not supported
11199 enable_fast_install
=no
11200 elif test "$shlibpath_overrides_runpath" = yes ||
11201 test "$enable_shared" = no
; then
11202 # Fast installation is not necessary
11203 enable_fast_install
=needless
11211 if test "x$enable_dlopen" != xyes
; then
11212 enable_dlopen
=unknown
11213 enable_dlopen_self
=unknown
11214 enable_dlopen_self_static
=unknown
11221 lt_cv_dlopen
="load_add_on"
11223 lt_cv_dlopen_self
=yes
11226 mingw
* | pw32
* | cegcc
*)
11227 lt_cv_dlopen
="LoadLibrary"
11232 lt_cv_dlopen
="dlopen"
11237 # if libdl is installed we need to link against it
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11239 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11240 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11241 $as_echo_n "(cached) " >&6
11243 ac_check_lib_save_LIBS
=$LIBS
11245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11248 /* Override any GCC internal prototype to avoid an error.
11249 Use char because int might match the return type of a GCC
11250 builtin and then its argument prototype would still apply. */
11263 if ac_fn_c_try_link
"$LINENO"; then :
11264 ac_cv_lib_dl_dlopen
=yes
11266 ac_cv_lib_dl_dlopen
=no
11268 rm -f core conftest.err conftest.
$ac_objext \
11269 conftest
$ac_exeext conftest.
$ac_ext
11270 LIBS
=$ac_check_lib_save_LIBS
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11273 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11274 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11275 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11278 lt_cv_dlopen
="dyld"
11280 lt_cv_dlopen_self
=yes
11287 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11288 if test "x$ac_cv_func_shl_load" = xyes
; then :
11289 lt_cv_dlopen
="shl_load"
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11292 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11293 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11294 $as_echo_n "(cached) " >&6
11296 ac_check_lib_save_LIBS
=$LIBS
11298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11311 return shl_load ();
11316 if ac_fn_c_try_link
"$LINENO"; then :
11317 ac_cv_lib_dld_shl_load
=yes
11319 ac_cv_lib_dld_shl_load
=no
11321 rm -f core conftest.err conftest.
$ac_objext \
11322 conftest
$ac_exeext conftest.
$ac_ext
11323 LIBS
=$ac_check_lib_save_LIBS
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11326 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11327 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11328 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11330 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11331 if test "x$ac_cv_func_dlopen" = xyes
; then :
11332 lt_cv_dlopen
="dlopen"
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11335 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11336 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11337 $as_echo_n "(cached) " >&6
11339 ac_check_lib_save_LIBS
=$LIBS
11341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11359 if ac_fn_c_try_link
"$LINENO"; then :
11360 ac_cv_lib_dl_dlopen
=yes
11362 ac_cv_lib_dl_dlopen
=no
11364 rm -f core conftest.err conftest.
$ac_objext \
11365 conftest
$ac_exeext conftest.
$ac_ext
11366 LIBS
=$ac_check_lib_save_LIBS
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11369 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11370 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11371 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11374 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11375 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11376 $as_echo_n "(cached) " >&6
11378 ac_check_lib_save_LIBS
=$LIBS
11379 LIBS
="-lsvld $LIBS"
11380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11383 /* Override any GCC internal prototype to avoid an error.
11384 Use char because int might match the return type of a GCC
11385 builtin and then its argument prototype would still apply. */
11398 if ac_fn_c_try_link
"$LINENO"; then :
11399 ac_cv_lib_svld_dlopen
=yes
11401 ac_cv_lib_svld_dlopen
=no
11403 rm -f core conftest.err conftest.
$ac_objext \
11404 conftest
$ac_exeext conftest.
$ac_ext
11405 LIBS
=$ac_check_lib_save_LIBS
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11408 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11409 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11410 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11413 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11414 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11415 $as_echo_n "(cached) " >&6
11417 ac_check_lib_save_LIBS
=$LIBS
11419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11422 /* Override any GCC internal prototype to avoid an error.
11423 Use char because int might match the return type of a GCC
11424 builtin and then its argument prototype would still apply. */
11432 return dld_link ();
11437 if ac_fn_c_try_link
"$LINENO"; then :
11438 ac_cv_lib_dld_dld_link
=yes
11440 ac_cv_lib_dld_dld_link
=no
11442 rm -f core conftest.err conftest.
$ac_objext \
11443 conftest
$ac_exeext conftest.
$ac_ext
11444 LIBS
=$ac_check_lib_save_LIBS
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11447 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11448 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11449 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11470 if test "x$lt_cv_dlopen" != xno
; then
11476 case $lt_cv_dlopen in
11478 save_CPPFLAGS
="$CPPFLAGS"
11479 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11481 save_LDFLAGS
="$LDFLAGS"
11482 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11485 LIBS
="$lt_cv_dlopen_libs $LIBS"
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11488 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11489 if ${lt_cv_dlopen_self+:} false
; then :
11490 $as_echo_n "(cached) " >&6
11492 if test "$cross_compiling" = yes; then :
11493 lt_cv_dlopen_self
=cross
11495 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11496 lt_status
=$lt_dlunknown
11497 cat > conftest.
$ac_ext <<_LT_EOF
11498 #line 11498 "configure"
11499 #include "confdefs.h"
11508 # define LT_DLGLOBAL RTLD_GLOBAL
11511 # define LT_DLGLOBAL DL_GLOBAL
11513 # define LT_DLGLOBAL 0
11517 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11518 find out it does not work in some platform. */
11519 #ifndef LT_DLLAZY_OR_NOW
11521 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11524 # define LT_DLLAZY_OR_NOW DL_LAZY
11527 # define LT_DLLAZY_OR_NOW RTLD_NOW
11530 # define LT_DLLAZY_OR_NOW DL_NOW
11532 # define LT_DLLAZY_OR_NOW 0
11539 /* When -fvisbility=hidden is used, assume the code has been annotated
11540 correspondingly for the symbols needed. */
11541 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11542 void fnord () __attribute__((visibility("default")));
11545 void fnord () { int i=42; }
11548 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11549 int status = $lt_dlunknown;
11553 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11556 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11557 else puts (dlerror ());
11559 /* dlclose (self); */
11567 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11568 (eval $ac_link) 2>&5
11570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11571 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11572 (.
/conftest
; exit; ) >&5 2>/dev
/null
11574 case x
$lt_status in
11575 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11576 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11577 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11580 # compilation failed
11581 lt_cv_dlopen_self
=no
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11589 $as_echo "$lt_cv_dlopen_self" >&6; }
11591 if test "x$lt_cv_dlopen_self" = xyes
; then
11592 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11594 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11595 if ${lt_cv_dlopen_self_static+:} false
; then :
11596 $as_echo_n "(cached) " >&6
11598 if test "$cross_compiling" = yes; then :
11599 lt_cv_dlopen_self_static
=cross
11601 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11602 lt_status
=$lt_dlunknown
11603 cat > conftest.
$ac_ext <<_LT_EOF
11604 #line 11604 "configure"
11605 #include "confdefs.h"
11614 # define LT_DLGLOBAL RTLD_GLOBAL
11617 # define LT_DLGLOBAL DL_GLOBAL
11619 # define LT_DLGLOBAL 0
11623 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11624 find out it does not work in some platform. */
11625 #ifndef LT_DLLAZY_OR_NOW
11627 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11630 # define LT_DLLAZY_OR_NOW DL_LAZY
11633 # define LT_DLLAZY_OR_NOW RTLD_NOW
11636 # define LT_DLLAZY_OR_NOW DL_NOW
11638 # define LT_DLLAZY_OR_NOW 0
11645 /* When -fvisbility=hidden is used, assume the code has been annotated
11646 correspondingly for the symbols needed. */
11647 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11648 void fnord () __attribute__((visibility("default")));
11651 void fnord () { int i=42; }
11654 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11655 int status = $lt_dlunknown;
11659 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11662 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11663 else puts (dlerror ());
11665 /* dlclose (self); */
11673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11674 (eval $ac_link) 2>&5
11676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11677 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11678 (.
/conftest
; exit; ) >&5 2>/dev
/null
11680 case x
$lt_status in
11681 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11682 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11683 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11686 # compilation failed
11687 lt_cv_dlopen_self_static
=no
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11695 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11698 CPPFLAGS
="$save_CPPFLAGS"
11699 LDFLAGS
="$save_LDFLAGS"
11704 case $lt_cv_dlopen_self in
11705 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11706 *) enable_dlopen_self
=unknown
;;
11709 case $lt_cv_dlopen_self_static in
11710 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11711 *) enable_dlopen_self_static
=unknown
;;
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11734 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11735 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11736 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11737 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11739 $as_echo "yes" >&6; }
11741 # FIXME - insert some real tests, host_os isn't really good enough
11744 if test -n "$STRIP" ; then
11745 striplib
="$STRIP -x"
11746 old_striplib
="$STRIP -S"
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11748 $as_echo "yes" >&6; }
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11751 $as_echo "no" >&6; }
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11756 $as_echo "no" >&6; }
11772 # Report which library types will actually be built
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11774 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11776 $as_echo "$can_build_shared" >&6; }
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11779 $as_echo_n "checking whether to build shared libraries... " >&6; }
11780 test "$can_build_shared" = "no" && enable_shared
=no
11782 # On AIX, shared libraries and static libraries use the same namespace, and
11783 # are all built from PIC.
11786 test "$enable_shared" = yes && enable_static
=no
11787 if test -n "$RANLIB"; then
11788 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11789 postinstall_cmds
='$RANLIB $lib'
11794 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11795 test "$enable_shared" = yes && enable_static
=no
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11800 $as_echo "$enable_shared" >&6; }
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11803 $as_echo_n "checking whether to build static libraries... " >&6; }
11804 # Make sure either enable_shared or enable_static is yes.
11805 test "$enable_shared" = yes || enable_static
=yes
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11807 $as_echo "$enable_static" >&6; }
11814 ac_cpp
='$CPP $CPPFLAGS'
11815 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11816 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11817 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11833 ac_config_commands
="$ac_config_commands libtool"
11838 # Only expand once:
11844 gdc_save_DFLAGS
=$GDCFLAGS
11845 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime $GDCFLAGS"
11848 # Source file extension for D test sources.
11851 # Object file extension for compiled D test sources.
11855 # Code to be used in simple compile tests
11856 lt_simple_compile_test_code
="module mod; extern(C) int main() { return 0; }"
11858 # Code to be used in simple link tests
11859 lt_simple_link_test_code
='module mod; extern(C) int main() { return 0; }'
11861 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11868 # If no C compiler was specified, use CC.
11871 # If no C compiler flags were specified, use CFLAGS.
11872 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11874 # Allow CC to be a program name with arguments.
11878 # save warnings/boilerplate of simple test code
11879 ac_outfile
=conftest.
$ac_objext
11880 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11881 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11882 _lt_compiler_boilerplate
=`cat conftest.err`
11885 ac_outfile
=conftest.
$ac_objext
11886 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11887 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11888 _lt_linker_boilerplate
=`cat conftest.err`
11892 # Allow CC to be a program name with arguments.
11894 lt_save_CFLAGS
=$CFLAGS
11895 lt_save_DFLAGS
=$GDCFLAGS
11899 # Need to specify location for object.d
11900 GDCFLAGS
="-nophoboslib $GDCFLAGS"
11905 for cc_temp
in $compiler""; do
11907 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11908 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11913 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11916 # GDC did not exist at the time GCC didn't implicitly link libc in.
11917 archive_cmds_need_lc_D
=no
11919 old_archive_cmds_D
=$old_archive_cmds
11920 reload_flag_D
=$reload_flag
11921 reload_cmds_D
=$reload_cmds
11924 ## There is no encapsulation within the following macros, do not change
11925 ## the running order or otherwise move them around unless you know exactly
11926 ## what you are doing...
11927 if test -n "$compiler"; then
11929 lt_prog_compiler_no_builtin_flag_D
=
11931 if test "$GCC" = yes; then
11932 case $cc_basename in
11934 lt_prog_compiler_no_builtin_flag_D
=' -Xcompiler -fno-builtin' ;;
11936 lt_prog_compiler_no_builtin_flag_D
=' -fno-builtin' ;;
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11940 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11941 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
11942 $as_echo_n "(cached) " >&6
11944 lt_cv_prog_compiler_rtti_exceptions
=no
11945 ac_outfile
=conftest.
$ac_objext
11946 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11947 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11948 # Insert the option either (1) after the last *FLAGS variable, or
11949 # (2) before a word containing "conftest.", or (3) at the end.
11950 # Note that $ac_compile itself does not contain backslashes and begins
11951 # with a dollar sign (not a hyphen), so the echo should work correctly.
11952 # The option is referenced via a variable to avoid confusing sed.
11953 lt_compile
=`echo "$ac_compile" | $SED \
11954 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11955 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11956 -e 's:$: $lt_compiler_flag:'`
11957 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11958 (eval "$lt_compile" 2>conftest.err
)
11960 cat conftest.err
>&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 if (exit $ac_status) && test -s "$ac_outfile"; then
11963 # The compiler can only warn and ignore the option if not recognized
11964 # So say no if there are warnings other than the usual output.
11965 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11966 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11967 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11968 lt_cv_prog_compiler_rtti_exceptions
=yes
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11975 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11977 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11978 lt_prog_compiler_no_builtin_flag_D
="$lt_prog_compiler_no_builtin_flag_D -fno-rtti -fno-exceptions"
11987 lt_prog_compiler_wl_D
=
11988 lt_prog_compiler_pic_D
=
11989 lt_prog_compiler_static_D
=
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11992 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11994 if test "$GCC" = yes; then
11995 lt_prog_compiler_wl_D
='-Wl,'
11996 lt_prog_compiler_static_D
='-static'
12000 # All AIX code is PIC.
12001 if test "$host_cpu" = ia64
; then
12002 # AIX 5 now supports IA64 processor
12003 lt_prog_compiler_static_D
='-Bstatic'
12005 lt_prog_compiler_pic_D
='-fPIC'
12011 # see comment about AmigaOS4 .so support
12012 lt_prog_compiler_pic_D
='-fPIC'
12015 # FIXME: we need at least 68020 code to build shared libraries, but
12016 # adding the `-m68020' flag to GCC prevents building anything better,
12018 lt_prog_compiler_pic_D
='-m68020 -resident32 -malways-restore-a4'
12023 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12024 # PIC is the default for these OSes.
12027 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12028 # This hack is so that the source file can tell whether it is being
12029 # built for inclusion in a dll (and should export symbols for example).
12030 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12031 # (--disable-auto-import) libraries
12032 lt_prog_compiler_pic_D
='-DDLL_EXPORT'
12035 darwin
* | rhapsody
*)
12036 # PIC is the default on this platform
12037 # Common symbols not allowed in MH_DYLIB files
12038 lt_prog_compiler_pic_D
='-fno-common'
12042 # PIC is the default for Haiku.
12043 # The "-static" flag exists, but is broken.
12044 lt_prog_compiler_static_D
=
12048 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12049 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12050 # sets the default TLS model and affects inlining.
12056 lt_prog_compiler_pic_D
='-fPIC'
12062 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12063 # Instead, we relocate shared libraries at runtime.
12067 # Just because we use GCC doesn't mean we suddenly get shared libraries
12068 # on systems that don't support them.
12069 lt_prog_compiler_can_build_shared_D
=no
12074 # QNX uses GNU C++, but need to define -shared option too, otherwise
12075 # it will coredump.
12076 lt_prog_compiler_pic_D
='-fPIC -shared'
12080 if test -d /usr
/nec
; then
12081 lt_prog_compiler_pic_D
=-Kconform_pic
12086 lt_prog_compiler_pic_D
='-fPIC'
12090 case $cc_basename in
12091 nvcc
*) # Cuda Compiler Driver 2.2
12092 lt_prog_compiler_wl_D
='-Xlinker '
12093 lt_prog_compiler_pic_D
='-Xcompiler -fPIC'
12097 # PORTME Check for flag to pass linker flags through the system compiler.
12100 lt_prog_compiler_wl_D
='-Wl,'
12101 if test "$host_cpu" = ia64
; then
12102 # AIX 5 now supports IA64 processor
12103 lt_prog_compiler_static_D
='-Bstatic'
12105 lt_prog_compiler_static_D
='-bnso -bI:/lib/syscalls.exp'
12109 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12110 # This hack is so that the source file can tell whether it is being
12111 # built for inclusion in a dll (and should export symbols for example).
12112 lt_prog_compiler_pic_D
='-DDLL_EXPORT'
12115 hpux9
* | hpux10
* | hpux11
*)
12116 lt_prog_compiler_wl_D
='-Wl,'
12117 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12118 # not for PA HP-UX.
12124 lt_prog_compiler_pic_D
='+Z'
12127 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12128 lt_prog_compiler_static_D
='${wl}-a ${wl}archive'
12131 irix5
* | irix6
* | nonstopux
*)
12132 lt_prog_compiler_wl_D
='-Wl,'
12133 # PIC (with -KPIC) is the default.
12134 lt_prog_compiler_static_D
='-non_shared'
12137 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12138 case $cc_basename in
12139 # old Intel for x86_64 which still supported -KPIC.
12141 lt_prog_compiler_wl_D
='-Wl,'
12142 lt_prog_compiler_pic_D
='-KPIC'
12143 lt_prog_compiler_static_D
='-static'
12145 # icc used to be incompatible with GCC.
12146 # ICC 10 doesn't accept -KPIC any more.
12148 lt_prog_compiler_wl_D
='-Wl,'
12149 lt_prog_compiler_pic_D
='-fPIC'
12150 lt_prog_compiler_static_D
='-static'
12152 # Lahey Fortran 8.1.
12154 lt_prog_compiler_wl_D
='-Wl,'
12155 lt_prog_compiler_pic_D
='--shared'
12156 lt_prog_compiler_static_D
='--static'
12158 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12159 # Portland Group compilers (*not* the Pentium gcc compiler,
12160 # which looks to be a dead project)
12161 lt_prog_compiler_wl_D
='-Wl,'
12162 lt_prog_compiler_pic_D
='-fpic'
12163 lt_prog_compiler_static_D
='-Bstatic'
12166 lt_prog_compiler_wl_D
='-Wl,'
12167 # All Alpha code is PIC.
12168 lt_prog_compiler_static_D
='-non_shared'
12170 xl
* | bgxl
* | bgf
* | mpixl
*)
12171 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12172 lt_prog_compiler_wl_D
='-Wl,'
12173 lt_prog_compiler_pic_D
='-qpic'
12174 lt_prog_compiler_static_D
='-qstaticlink'
12177 case `$CC -V 2>&1 | sed 5q` in
12178 *Sun\ F
* |
*Sun
*Fortran
*)
12179 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12180 lt_prog_compiler_pic_D
='-KPIC'
12181 lt_prog_compiler_static_D
='-Bstatic'
12182 lt_prog_compiler_wl_D
=''
12186 lt_prog_compiler_pic_D
='-KPIC'
12187 lt_prog_compiler_static_D
='-Bstatic'
12188 lt_prog_compiler_wl_D
='-Wl,'
12196 lt_prog_compiler_pic_D
='-KPIC'
12197 lt_prog_compiler_static_D
='-Bstatic'
12201 # QNX uses GNU C++, but need to define -shared option too, otherwise
12202 # it will coredump.
12203 lt_prog_compiler_pic_D
='-fPIC -shared'
12206 osf3
* | osf4
* | osf5
*)
12207 lt_prog_compiler_wl_D
='-Wl,'
12208 # All OSF/1 code is PIC.
12209 lt_prog_compiler_static_D
='-non_shared'
12213 lt_prog_compiler_static_D
='-non_shared'
12217 lt_prog_compiler_pic_D
='-KPIC'
12218 lt_prog_compiler_static_D
='-Bstatic'
12219 case $cc_basename in
12220 f77
* | f90
* | f95
*)
12221 lt_prog_compiler_wl_D
='-Qoption ld ';;
12223 lt_prog_compiler_wl_D
='-Wl,';;
12228 lt_prog_compiler_wl_D
='-Qoption ld '
12229 lt_prog_compiler_pic_D
='-PIC'
12230 lt_prog_compiler_static_D
='-Bstatic'
12233 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12234 lt_prog_compiler_wl_D
='-Wl,'
12235 lt_prog_compiler_pic_D
='-KPIC'
12236 lt_prog_compiler_static_D
='-Bstatic'
12240 if test -d /usr
/nec
;then
12241 lt_prog_compiler_pic_D
='-Kconform_pic'
12242 lt_prog_compiler_static_D
='-Bstatic'
12246 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12247 lt_prog_compiler_wl_D
='-Wl,'
12248 lt_prog_compiler_pic_D
='-KPIC'
12249 lt_prog_compiler_static_D
='-Bstatic'
12253 lt_prog_compiler_wl_D
='-Wl,'
12254 lt_prog_compiler_can_build_shared_D
=no
12258 lt_prog_compiler_pic_D
='-pic'
12259 lt_prog_compiler_static_D
='-Bstatic'
12263 lt_prog_compiler_can_build_shared_D
=no
12269 # For platforms which do not support PIC, -DPIC is meaningless:
12271 lt_prog_compiler_pic_D
=
12274 lt_prog_compiler_pic_D
="$lt_prog_compiler_pic_D"
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_D" >&5
12278 $as_echo "$lt_prog_compiler_pic_D" >&6; }
12283 # Check to make sure the PIC flag actually works.
12285 if test -n "$lt_prog_compiler_pic_D"; then
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_D works" >&5
12287 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_D works... " >&6; }
12288 if ${lt_cv_prog_compiler_pic_works_D+:} false
; then :
12289 $as_echo_n "(cached) " >&6
12291 lt_cv_prog_compiler_pic_works_D
=no
12292 ac_outfile
=conftest.
$ac_objext
12293 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12294 lt_compiler_flag
="$lt_prog_compiler_pic_D"
12295 # Insert the option either (1) after the last *FLAGS variable, or
12296 # (2) before a word containing "conftest.", or (3) at the end.
12297 # Note that $ac_compile itself does not contain backslashes and begins
12298 # with a dollar sign (not a hyphen), so the echo should work correctly.
12299 # The option is referenced via a variable to avoid confusing sed.
12300 lt_compile
=`echo "$ac_compile" | $SED \
12301 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12302 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12303 -e 's:$: $lt_compiler_flag:'`
12304 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12305 (eval "$lt_compile" 2>conftest.err
)
12307 cat conftest.err
>&5
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 if (exit $ac_status) && test -s "$ac_outfile"; then
12310 # The compiler can only warn and ignore the option if not recognized
12311 # So say no if there are warnings other than the usual output.
12312 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12313 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12314 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12315 lt_cv_prog_compiler_pic_works_D
=yes
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_D" >&5
12322 $as_echo "$lt_cv_prog_compiler_pic_works_D" >&6; }
12324 if test x
"$lt_cv_prog_compiler_pic_works_D" = xyes
; then
12325 case $lt_prog_compiler_pic_D in
12327 *) lt_prog_compiler_pic_D
=" $lt_prog_compiler_pic_D" ;;
12330 lt_prog_compiler_pic_D
=
12331 lt_prog_compiler_can_build_shared_D
=no
12339 # Check to make sure the static flag actually works.
12341 wl
=$lt_prog_compiler_wl_D eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_D\"
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12343 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12344 if ${lt_cv_prog_compiler_static_works_D+:} false
; then :
12345 $as_echo_n "(cached) " >&6
12347 lt_cv_prog_compiler_static_works_D
=no
12348 save_LDFLAGS
="$LDFLAGS"
12349 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12350 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12351 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12352 # The linker can only warn and ignore the option if not recognized
12353 # So say no if there are warnings
12354 if test -s conftest.err
; then
12355 # Append any errors to the config.log.
12356 cat conftest.err
1>&5
12357 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12358 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12359 if diff conftest.exp conftest.er2
>/dev
/null
; then
12360 lt_cv_prog_compiler_static_works_D
=yes
12363 lt_cv_prog_compiler_static_works_D
=yes
12367 LDFLAGS
="$save_LDFLAGS"
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_D" >&5
12371 $as_echo "$lt_cv_prog_compiler_static_works_D" >&6; }
12373 if test x
"$lt_cv_prog_compiler_static_works_D" = xyes
; then
12376 lt_prog_compiler_static_D
=
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12383 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12384 if ${lt_cv_prog_compiler_c_o_D+:} false
; then :
12385 $as_echo_n "(cached) " >&6
12387 lt_cv_prog_compiler_c_o_D
=no
12388 $RM -r conftest
2>/dev
/null
12392 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12394 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12395 # Insert the option either (1) after the last *FLAGS variable, or
12396 # (2) before a word containing "conftest.", or (3) at the end.
12397 # Note that $ac_compile itself does not contain backslashes and begins
12398 # with a dollar sign (not a hyphen), so the echo should work correctly.
12399 lt_compile
=`echo "$ac_compile" | $SED \
12400 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12401 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12402 -e 's:$: $lt_compiler_flag:'`
12403 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12404 (eval "$lt_compile" 2>out
/conftest.err
)
12406 cat out
/conftest.err
>&5
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12410 # The compiler can only warn and ignore the option if not recognized
12411 # So say no if there are warnings
12412 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12413 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12414 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12415 lt_cv_prog_compiler_c_o_D
=yes
12420 # SGI C++ compiler will create directory out/ii_files/ for
12421 # template instantiation
12422 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12423 $RM out
/* && rmdir out
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_D" >&5
12430 $as_echo "$lt_cv_prog_compiler_c_o_D" >&6; }
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12435 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12436 if ${lt_cv_prog_compiler_c_o_D+:} false
; then :
12437 $as_echo_n "(cached) " >&6
12439 lt_cv_prog_compiler_c_o_D
=no
12440 $RM -r conftest
2>/dev
/null
12444 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12446 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12447 # Insert the option either (1) after the last *FLAGS variable, or
12448 # (2) before a word containing "conftest.", or (3) at the end.
12449 # Note that $ac_compile itself does not contain backslashes and begins
12450 # with a dollar sign (not a hyphen), so the echo should work correctly.
12451 lt_compile
=`echo "$ac_compile" | $SED \
12452 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12453 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12454 -e 's:$: $lt_compiler_flag:'`
12455 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12456 (eval "$lt_compile" 2>out
/conftest.err
)
12458 cat out
/conftest.err
>&5
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12462 # The compiler can only warn and ignore the option if not recognized
12463 # So say no if there are warnings
12464 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12465 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12466 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12467 lt_cv_prog_compiler_c_o_D
=yes
12472 # SGI C++ compiler will create directory out/ii_files/ for
12473 # template instantiation
12474 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12475 $RM out
/* && rmdir out
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_D" >&5
12482 $as_echo "$lt_cv_prog_compiler_c_o_D" >&6; }
12487 hard_links
="nottested"
12488 if test "$lt_cv_prog_compiler_c_o_D" = no
&& test "$need_locks" != no
; then
12489 # do not overwrite the value of need_locks provided by the user
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12491 $as_echo_n "checking if we can lock with hard links... " >&6; }
12494 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12496 ln conftest.a conftest.b
2>&5 || hard_links
=no
12497 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12499 $as_echo "$hard_links" >&6; }
12500 if test "$hard_links" = no
; then
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12502 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12512 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12515 allow_undefined_flag_D
=
12516 always_export_symbols_D
=no
12518 archive_expsym_cmds_D
=
12519 compiler_needs_object_D
=no
12520 enable_shared_with_static_runtimes_D
=no
12521 export_dynamic_flag_spec_D
=
12522 export_symbols_cmds_D
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12523 hardcode_automatic_D
=no
12524 hardcode_direct_D
=no
12525 hardcode_direct_absolute_D
=no
12526 hardcode_libdir_flag_spec_D
=
12527 hardcode_libdir_flag_spec_ld_D
=
12528 hardcode_libdir_separator_D
=
12529 hardcode_minus_L_D
=no
12530 hardcode_shlibpath_var_D
=unsupported
12532 link_all_deplibs_D
=unknown
12534 module_expsym_cmds_D
=
12535 old_archive_from_new_cmds_D
=
12536 old_archive_from_expsyms_cmds_D
=
12537 thread_safe_flag_spec_D
=
12538 whole_archive_flag_spec_D
=
12539 # include_expsyms should be a list of space-separated symbols to be *always*
12540 # included in the symbol list
12542 # exclude_expsyms can be an extended regexp of symbols to exclude
12543 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12544 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12545 # as well as any symbol that contains `d'.
12546 exclude_expsyms_D
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12547 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12548 # platforms (ab)use it in PIC code, but their linkers get confused if
12549 # the symbol is explicitly referenced. Since portable code cannot
12550 # rely on this symbol name, it's probably fine to never include it in
12551 # preloaded symbol tables.
12552 # Exclude shared library initialization/finalization symbols.
12553 extract_expsyms_cmds
=
12556 cygwin
* | mingw
* | pw32
* | cegcc
*)
12557 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12558 # When not using gcc, we currently assume that we are using
12559 # Microsoft Visual C++.
12560 if test "$GCC" != yes; then
12565 # we just hope/assume this is gcc and not c89 (= MSVC++)
12575 # On some targets, GNU ld is compatible enough with the native linker
12576 # that we're better off using the native interface for both.
12577 lt_use_gnu_ld_interface
=no
12578 if test "$with_gnu_ld" = yes; then
12581 # The AIX port of GNU ld has always aspired to compatibility
12582 # with the native linker. However, as the warning in the GNU ld
12583 # block says, versions before 2.19.5* couldn't really create working
12584 # shared libraries, regardless of the interface used.
12585 case `$LD -v 2>&1` in
12586 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12587 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12588 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12590 lt_use_gnu_ld_interface
=yes
12595 lt_use_gnu_ld_interface
=yes
12600 if test "$lt_use_gnu_ld_interface" = yes; then
12601 # If archive_cmds runs LD, not CC, wlarc should be empty
12604 # Set some defaults for GNU ld with shared library support. These
12605 # are reset later if shared libraries are not supported. Putting them
12606 # here allows them to be overridden if necessary.
12607 runpath_var
=LD_RUN_PATH
12608 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
12609 export_dynamic_flag_spec_D
='${wl}--export-dynamic'
12610 # ancient GNU ld didn't support --whole-archive et. al.
12611 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12612 whole_archive_flag_spec_D
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12614 whole_archive_flag_spec_D
=
12616 supports_anon_versioning
=no
12617 case `$LD -v 2>&1` in
12618 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12619 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12620 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12621 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12622 *\
2.11.
*) ;; # other 2.11 versions
12623 *) supports_anon_versioning
=yes ;;
12626 # See if GNU ld supports shared libraries.
12629 # On AIX/PPC, the GNU linker is very broken
12630 if test "$host_cpu" != ia64
; then
12634 *** Warning: the GNU linker, at least up to release 2.19, is reported
12635 *** to be unable to reliably create shared libraries on AIX.
12636 *** Therefore, libtool is disabling shared libraries support. If you
12637 *** really care for shared libraries, you may want to install binutils
12638 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12639 *** You will then need to restart the configuration process.
12648 # see comment about AmigaOS4 .so support
12649 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12650 archive_expsym_cmds_D
=''
12653 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)'
12654 hardcode_libdir_flag_spec_D
='-L$libdir'
12655 hardcode_minus_L_D
=yes
12661 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12662 allow_undefined_flag_D
=unsupported
12663 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12664 # support --undefined. This deserves some investigation. FIXME
12665 archive_cmds_D
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12671 cygwin
* | mingw
* | pw32
* | cegcc
*)
12672 # _LT_TAGVAR(hardcode_libdir_flag_spec, D) is actually meaningless,
12673 # as there is no search path for DLLs.
12674 hardcode_libdir_flag_spec_D
='-L$libdir'
12675 export_dynamic_flag_spec_D
='${wl}--export-all-symbols'
12676 allow_undefined_flag_D
=unsupported
12677 always_export_symbols_D
=no
12678 enable_shared_with_static_runtimes_D
=yes
12679 export_symbols_cmds_D
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12681 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12682 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12683 # If the export-symbols file already is a .def file (1st line
12684 # is EXPORTS), use it as is; otherwise, prepend...
12685 archive_expsym_cmds_D
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12686 cp $export_symbols $output_objdir/$soname.def;
12688 echo EXPORTS > $output_objdir/$soname.def;
12689 cat $export_symbols >> $output_objdir/$soname.def;
12691 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12698 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12699 link_all_deplibs_D
=yes
12703 hardcode_direct_D
=no
12704 hardcode_shlibpath_var_D
=no
12705 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
12706 export_dynamic_flag_spec_D
='${wl}-E'
12707 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12708 # Instead, shared libraries are loaded at an image base (0x10000000 by
12709 # default) and relocated if they conflict, which is a slow very memory
12710 # consuming and fragmenting process. To avoid this, we pick a random,
12711 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12712 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12713 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'
12714 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'
12717 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12719 if test "$host_os" = linux-dietlibc
; then
12720 case $cc_basename in
12721 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12724 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12725 && test "$tmp_diet" = no
12727 tmp_addflag
=' $pic_flag'
12728 tmp_sharedflag
='-shared'
12729 case $cc_basename,$host_cpu in
12730 pgcc
*) # Portland Group C compiler
12731 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'
12732 tmp_addflag
=' $pic_flag'
12734 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12735 # Portland Group f77 and f90 compilers
12736 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'
12737 tmp_addflag
=' $pic_flag -Mnomain' ;;
12738 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12739 tmp_addflag
=' -i_dynamic' ;;
12740 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12741 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12742 ifc
* | ifort
*) # Intel Fortran compiler
12743 tmp_addflag
=' -nofor_main' ;;
12744 lf95
*) # Lahey Fortran 8.1
12745 whole_archive_flag_spec_D
=
12746 tmp_sharedflag
='--shared' ;;
12747 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12748 tmp_sharedflag
='-qmkshrobj'
12750 nvcc
*) # Cuda Compiler Driver 2.2
12751 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'
12752 compiler_needs_object_D
=yes
12755 case `$CC -V 2>&1 | sed 5q` in
12756 *Sun\ C
*) # Sun C 5.9
12757 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'
12758 compiler_needs_object_D
=yes
12759 tmp_sharedflag
='-G' ;;
12760 *Sun\ F
*) # Sun Fortran 8.3
12761 tmp_sharedflag
='-G' ;;
12763 archive_cmds_D
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12765 if test "x$supports_anon_versioning" = xyes
; then
12766 archive_expsym_cmds_D
='echo "{ global:" > $output_objdir/$libname.ver~
12767 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12768 echo "local: *; };" >> $output_objdir/$libname.ver~
12769 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12772 case $cc_basename in
12773 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12774 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12775 whole_archive_flag_spec_D
='--whole-archive$convenience --no-whole-archive'
12776 hardcode_libdir_flag_spec_D
=
12777 hardcode_libdir_flag_spec_ld_D
='-rpath $libdir'
12778 archive_cmds_D
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12779 if test "x$supports_anon_versioning" = xyes
; then
12780 archive_expsym_cmds_D
='echo "{ global:" > $output_objdir/$libname.ver~
12781 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12782 echo "local: *; };" >> $output_objdir/$libname.ver~
12783 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12793 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12794 archive_cmds_D
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12797 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12798 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12803 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12807 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12808 *** create shared libraries on Solaris systems. Therefore, libtool
12809 *** is disabling shared libraries support. We urge you to upgrade GNU
12810 *** binutils to release 2.9.1 or newer. Another option is to modify
12811 *** your PATH or compiler configuration so that the native linker is
12812 *** used, and then restart.
12815 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12816 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12817 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12823 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12824 case `$LD -v 2>&1` in
12825 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12829 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12830 *** reliably create shared libraries on SCO systems. Therefore, libtool
12831 *** is disabling shared libraries support. We urge you to upgrade GNU
12832 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12833 *** your PATH or compiler configuration so that the native linker is
12834 *** used, and then restart.
12839 # For security reasons, it is highly recommended that you always
12840 # use absolute paths for naming shared libraries, and exclude the
12841 # DT_RUNPATH tag from executables and libraries. But doing so
12842 # requires that you compile everything twice, which is a pain.
12843 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12844 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
12845 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12846 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12855 archive_cmds_D
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12857 hardcode_direct_D
=yes
12858 hardcode_shlibpath_var_D
=no
12862 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12863 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12864 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12871 if test "$ld_shlibs_D" = no
; then
12873 hardcode_libdir_flag_spec_D
=
12874 export_dynamic_flag_spec_D
=
12875 whole_archive_flag_spec_D
=
12878 # PORTME fill in a description of your system's linker (not GNU ld)
12881 allow_undefined_flag_D
=unsupported
12882 always_export_symbols_D
=yes
12883 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'
12884 # Note: this linker hardcodes the directories in LIBPATH if there
12885 # are no directories specified by -L.
12886 hardcode_minus_L_D
=yes
12887 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12888 # Neither direct hardcoding nor static linking is supported with a
12890 hardcode_direct_D
=unsupported
12895 if test "$host_cpu" = ia64
; then
12896 # On IA64, the linker does run time linking by default, so we don't
12897 # have to do anything special.
12898 aix_use_runtimelinking
=no
12899 exp_sym_flag
='-Bexport'
12902 # If we're using GNU nm, then we don't want the "-C" option.
12903 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12904 # Also, AIX nm treats weak defined symbols like other global
12905 # defined symbols, whereas GNU nm marks them as "W".
12906 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12907 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'
12909 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'
12911 aix_use_runtimelinking
=no
12913 # Test if we are trying to use run time linking or normal
12914 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12915 # need to do runtime linking.
12916 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12917 for ld_flag
in $LDFLAGS; do
12918 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12919 aix_use_runtimelinking
=yes
12926 exp_sym_flag
='-bexport'
12927 no_entry_flag
='-bnoentry'
12930 # When large executables or shared objects are built, AIX ld can
12931 # have problems creating the table of contents. If linking a library
12932 # or program results in "error TOC overflow" add -mminimal-toc to
12933 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12934 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12937 hardcode_direct_D
=yes
12938 hardcode_direct_absolute_D
=yes
12939 hardcode_libdir_separator_D
=':'
12940 link_all_deplibs_D
=yes
12941 file_list_spec_D
='${wl}-f,'
12943 if test "$GCC" = yes; then
12944 case $host_os in aix4.
[012]|aix4.
[012].
*)
12945 # We only want to do this on AIX 4.2 and lower, the check
12946 # below for broken collect2 doesn't work under 4.3+
12947 collect2name
=`${CC} -print-prog-name=collect2`
12948 if test -f "$collect2name" &&
12949 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12951 # We have reworked collect2
12954 # We have old collect2
12955 hardcode_direct_D
=unsupported
12956 # It fails to find uninstalled libraries when the uninstalled
12957 # path is not listed in the libpath. Setting hardcode_minus_L
12958 # to unsupported forces relinking
12959 hardcode_minus_L_D
=yes
12960 hardcode_libdir_flag_spec_D
='-L$libdir'
12961 hardcode_libdir_separator_D
=
12965 shared_flag
='-shared'
12966 if test "$aix_use_runtimelinking" = yes; then
12967 shared_flag
="$shared_flag "'${wl}-G'
12971 if test "$host_cpu" = ia64
; then
12972 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12973 # chokes on -Wl,-G. The following line is correct:
12976 if test "$aix_use_runtimelinking" = yes; then
12977 shared_flag
='${wl}-G'
12979 shared_flag
='${wl}-bM:SRE'
12984 export_dynamic_flag_spec_D
='${wl}-bexpall'
12985 # It seems that -bexpall does not export symbols beginning with
12986 # underscore (_), so it is better to generate a list of symbols to export.
12987 always_export_symbols_D
=yes
12988 if test "$aix_use_runtimelinking" = yes; then
12989 # Warning - without using the other runtime loading flags (-brtl),
12990 # -berok will link without error, but may produce a broken library.
12991 allow_undefined_flag_D
='-berok'
12992 # Determine the default libpath from the value encoded in an
12993 # empty executable.
12994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12995 /* end confdefs.h. */
13005 if ac_fn_c_try_link
"$LINENO"; then :
13007 lt_aix_libpath_sed
='
13008 /Import File Strings/,/^$/ {
13014 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13015 # Check for a 64-bit object if we didn't find anything.
13016 if test -z "$aix_libpath"; then
13017 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13020 rm -f core conftest.err conftest.
$ac_objext \
13021 conftest
$ac_exeext conftest.
$ac_ext
13022 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13024 hardcode_libdir_flag_spec_D
='${wl}-blibpath:$libdir:'"$aix_libpath"
13025 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"
13027 if test "$host_cpu" = ia64
; then
13028 hardcode_libdir_flag_spec_D
='${wl}-R $libdir:/usr/lib:/lib'
13029 allow_undefined_flag_D
="-z nodefs"
13030 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"
13032 # Determine the default libpath from the value encoded in an
13033 # empty executable.
13034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13045 if ac_fn_c_try_link
"$LINENO"; then :
13047 lt_aix_libpath_sed
='
13048 /Import File Strings/,/^$/ {
13054 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13055 # Check for a 64-bit object if we didn't find anything.
13056 if test -z "$aix_libpath"; then
13057 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13060 rm -f core conftest.err conftest.
$ac_objext \
13061 conftest
$ac_exeext conftest.
$ac_ext
13062 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13064 hardcode_libdir_flag_spec_D
='${wl}-blibpath:$libdir:'"$aix_libpath"
13065 # Warning - without using the other run time loading flags,
13066 # -berok will link without error, but may produce a broken library.
13067 no_undefined_flag_D
=' ${wl}-bernotok'
13068 allow_undefined_flag_D
=' ${wl}-berok'
13069 if test "$with_gnu_ld" = yes; then
13070 # We only use this code for GNU lds that support --whole-archive.
13071 whole_archive_flag_spec_D
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13073 # Exported symbols can be pulled into shared objects from archives
13074 whole_archive_flag_spec_D
='$convenience'
13076 archive_cmds_need_lc_D
=yes
13077 # This is similar to how AIX traditionally builds its shared libraries.
13078 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'
13086 # see comment about AmigaOS4 .so support
13087 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13088 archive_expsym_cmds_D
=''
13091 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)'
13092 hardcode_libdir_flag_spec_D
='-L$libdir'
13093 hardcode_minus_L_D
=yes
13099 export_dynamic_flag_spec_D
=-rdynamic
13102 cygwin
* | mingw
* | pw32
* | cegcc
*)
13103 # When not using gcc, we currently assume that we are using
13104 # Microsoft Visual C++.
13105 # hardcode_libdir_flag_spec is actually meaningless, as there is
13106 # no search path for DLLs.
13107 hardcode_libdir_flag_spec_D
=' '
13108 allow_undefined_flag_D
=unsupported
13109 # Tell ltmain to make .lib files, not .a files.
13111 # Tell ltmain to make .dll files, not .so files.
13113 # FIXME: Setting linknames here is a bad hack.
13114 archive_cmds_D
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13115 # The linker will automatically build a .lib file if we build a DLL.
13116 old_archive_from_new_cmds_D
='true'
13117 # FIXME: Should let the user specify the lib program.
13118 old_archive_cmds_D
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13119 fix_srcfile_path_D
='`cygpath -w "$srcfile"`'
13120 enable_shared_with_static_runtimes_D
=yes
13123 darwin
* | rhapsody
*)
13126 archive_cmds_need_lc_D
=no
13127 hardcode_direct_D
=no
13128 hardcode_automatic_D
=yes
13129 hardcode_shlibpath_var_D
=unsupported
13130 if test "$lt_cv_ld_force_load" = "yes"; then
13131 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\"`'
13133 whole_archive_flag_spec_D
=''
13135 link_all_deplibs_D
=yes
13136 allow_undefined_flag_D
="$_lt_dar_allow_undefined"
13137 case $cc_basename in
13138 ifort
*) _lt_dar_can_shared
=yes ;;
13139 *) _lt_dar_can_shared
=$GCC ;;
13141 if test "$_lt_dar_can_shared" = "yes"; then
13142 output_verbose_link_cmd
=func_echo_all
13143 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}"
13144 module_cmds_D
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13145 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}"
13146 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}"
13155 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13156 hardcode_libdir_flag_spec_D
='-L$libdir'
13157 hardcode_shlibpath_var_D
=no
13160 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13161 # support. Future versions do this automatically, but an explicit c++rt0.o
13162 # does not break anything, and helps significantly (at the cost of a little
13165 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13166 hardcode_libdir_flag_spec_D
='-R$libdir'
13167 hardcode_direct_D
=yes
13168 hardcode_shlibpath_var_D
=no
13171 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13173 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13174 hardcode_direct_D
=yes
13175 hardcode_minus_L_D
=yes
13176 hardcode_shlibpath_var_D
=no
13179 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13180 freebsd
* | dragonfly
*)
13181 archive_cmds_D
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13182 hardcode_libdir_flag_spec_D
='-R$libdir'
13183 hardcode_direct_D
=yes
13184 hardcode_shlibpath_var_D
=no
13188 if test "$GCC" = yes; then
13189 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'
13191 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'
13193 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13194 hardcode_libdir_separator_D
=:
13195 hardcode_direct_D
=yes
13197 # hardcode_minus_L: Not really in the search PATH,
13198 # but as the default location of the library.
13199 hardcode_minus_L_D
=yes
13200 export_dynamic_flag_spec_D
='${wl}-E'
13204 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13205 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13207 archive_cmds_D
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13209 if test "$with_gnu_ld" = no
; then
13210 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13211 hardcode_libdir_flag_spec_ld_D
='+b $libdir'
13212 hardcode_libdir_separator_D
=:
13213 hardcode_direct_D
=yes
13214 hardcode_direct_absolute_D
=yes
13215 export_dynamic_flag_spec_D
='${wl}-E'
13216 # hardcode_minus_L: Not really in the search PATH,
13217 # but as the default location of the library.
13218 hardcode_minus_L_D
=yes
13223 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13226 archive_cmds_D
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13229 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13232 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13238 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13241 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13244 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13248 if test "$with_gnu_ld" = no
; then
13249 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13250 hardcode_libdir_separator_D
=:
13254 hardcode_direct_D
=no
13255 hardcode_shlibpath_var_D
=no
13258 hardcode_direct_D
=yes
13259 hardcode_direct_absolute_D
=yes
13260 export_dynamic_flag_spec_D
='${wl}-E'
13262 # hardcode_minus_L: Not really in the search PATH,
13263 # but as the default location of the library.
13264 hardcode_minus_L_D
=yes
13270 irix5
* | irix6
* | nonstopux
*)
13271 if test "$GCC" = yes; then
13272 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'
13273 # Try to use the -exported_symbol ld option, if it does not
13274 # work, assume that -exports_file does not work either and
13275 # implicitly export all symbols.
13276 save_LDFLAGS
="$LDFLAGS"
13277 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13279 /* end confdefs.h. */
13282 if ac_fn_c_try_link
"$LINENO"; then :
13283 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'
13286 rm -f core conftest.err conftest.
$ac_objext \
13287 conftest
$ac_exeext conftest.
$ac_ext
13288 LDFLAGS
="$save_LDFLAGS"
13290 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'
13291 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'
13293 archive_cmds_need_lc_D
='no'
13294 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13295 hardcode_libdir_separator_D
=:
13296 inherit_rpath_D
=yes
13297 link_all_deplibs_D
=yes
13301 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13302 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13304 archive_cmds_D
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13306 hardcode_libdir_flag_spec_D
='-R$libdir'
13307 hardcode_direct_D
=yes
13308 hardcode_shlibpath_var_D
=no
13312 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13313 hardcode_direct_D
=yes
13314 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13315 hardcode_libdir_separator_D
=:
13316 hardcode_shlibpath_var_D
=no
13323 if test -f /usr
/libexec
/ld.so
; then
13324 hardcode_direct_D
=yes
13325 hardcode_shlibpath_var_D
=no
13326 hardcode_direct_absolute_D
=yes
13327 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13328 archive_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13329 archive_expsym_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13330 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
13331 export_dynamic_flag_spec_D
='${wl}-E'
13334 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13335 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13336 hardcode_libdir_flag_spec_D
='-R$libdir'
13339 archive_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13340 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
13350 hardcode_libdir_flag_spec_D
='-L$libdir'
13351 hardcode_minus_L_D
=yes
13352 allow_undefined_flag_D
=unsupported
13353 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'
13354 old_archive_from_new_cmds_D
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13358 if test "$GCC" = yes; then
13359 allow_undefined_flag_D
=' ${wl}-expect_unresolved ${wl}\*'
13360 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'
13362 allow_undefined_flag_D
=' -expect_unresolved \*'
13363 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'
13365 archive_cmds_need_lc_D
='no'
13366 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13367 hardcode_libdir_separator_D
=:
13370 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13371 if test "$GCC" = yes; then
13372 allow_undefined_flag_D
=' ${wl}-expect_unresolved ${wl}\*'
13373 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'
13374 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13376 allow_undefined_flag_D
=' -expect_unresolved \*'
13377 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'
13378 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~
13379 $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'
13381 # Both c and cxx compiler support -rpath directly
13382 hardcode_libdir_flag_spec_D
='-rpath $libdir'
13384 archive_cmds_need_lc_D
='no'
13385 hardcode_libdir_separator_D
=:
13389 no_undefined_flag_D
=' -z defs'
13390 if test "$GCC" = yes; then
13392 archive_cmds_D
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13393 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13394 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13396 case `$CC -V 2>&1` in
13399 archive_cmds_D
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13400 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13401 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13405 archive_cmds_D
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13406 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13407 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13411 hardcode_libdir_flag_spec_D
='-R$libdir'
13412 hardcode_shlibpath_var_D
=no
13414 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13416 # The compiler driver will combine and reorder linker options,
13417 # but understands `-z linker_flag'. GCC discards it without `$wl',
13418 # but is careful enough not to reorder.
13419 # Supported since Solaris 2.6 (maybe 2.5.1?)
13420 if test "$GCC" = yes; then
13421 whole_archive_flag_spec_D
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13423 whole_archive_flag_spec_D
='-z allextract$convenience -z defaultextract'
13427 link_all_deplibs_D
=yes
13431 if test "x$host_vendor" = xsequent
; then
13432 # Use $CC to link under sequent, because it throws in some extra .o
13433 # files that make .init and .fini sections work.
13434 archive_cmds_D
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13436 archive_cmds_D
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13438 hardcode_libdir_flag_spec_D
='-L$libdir'
13439 hardcode_direct_D
=yes
13440 hardcode_minus_L_D
=yes
13441 hardcode_shlibpath_var_D
=no
13445 case $host_vendor in
13447 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13448 hardcode_direct_D
=yes # is this really true???
13451 ## LD is ld it makes a PLAMLIB
13452 ## CC just makes a GrossModule.
13453 archive_cmds_D
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13454 reload_cmds_D
='$CC -r -o $output$reload_objs'
13455 hardcode_direct_D
=no
13458 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13459 hardcode_direct_D
=no
#Motorola manual says yes, but my tests say they lie
13462 runpath_var
='LD_RUN_PATH'
13463 hardcode_shlibpath_var_D
=no
13467 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13468 hardcode_shlibpath_var_D
=no
13469 export_dynamic_flag_spec_D
='-Bexport'
13473 if test -d /usr
/nec
; then
13474 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13475 hardcode_shlibpath_var_D
=no
13476 runpath_var
=LD_RUN_PATH
13477 hardcode_runpath_var
=yes
13482 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13483 no_undefined_flag_D
='${wl}-z,text'
13484 archive_cmds_need_lc_D
=no
13485 hardcode_shlibpath_var_D
=no
13486 runpath_var
='LD_RUN_PATH'
13488 if test "$GCC" = yes; then
13489 archive_cmds_D
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13490 archive_expsym_cmds_D
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13492 archive_cmds_D
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13493 archive_expsym_cmds_D
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13497 sysv5
* | sco3.2v5
* | sco5v6
*)
13498 # Note: We can NOT use -z defs as we might desire, because we do not
13499 # link with -lc, and that would cause any symbols used from libc to
13500 # always be unresolved, which means just about no library would
13501 # ever link correctly. If we're not using GNU ld we use -z text
13502 # though, which does catch some bad symbols but isn't as heavy-handed
13504 no_undefined_flag_D
='${wl}-z,text'
13505 allow_undefined_flag_D
='${wl}-z,nodefs'
13506 archive_cmds_need_lc_D
=no
13507 hardcode_shlibpath_var_D
=no
13508 hardcode_libdir_flag_spec_D
='${wl}-R,$libdir'
13509 hardcode_libdir_separator_D
=':'
13510 link_all_deplibs_D
=yes
13511 export_dynamic_flag_spec_D
='${wl}-Bexport'
13512 runpath_var
='LD_RUN_PATH'
13514 if test "$GCC" = yes; then
13515 archive_cmds_D
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13516 archive_expsym_cmds_D
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13518 archive_cmds_D
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13519 archive_expsym_cmds_D
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13524 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13525 hardcode_libdir_flag_spec_D
='-L$libdir'
13526 hardcode_shlibpath_var_D
=no
13534 if test x
$host_vendor = xsni
; then
13536 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13537 export_dynamic_flag_spec_D
='${wl}-Blargedynsym'
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_D" >&5
13544 $as_echo "$ld_shlibs_D" >&6; }
13545 test "$ld_shlibs_D" = no
&& can_build_shared
=no
13547 with_gnu_ld_D
=$with_gnu_ld
13555 # Do we need to explicitly link libc?
13557 case "x$archive_cmds_need_lc_D" in
13559 # Assume -lc should be added
13560 archive_cmds_need_lc_D
=yes
13562 if test "$enable_shared" = yes && test "$GCC" = yes; then
13563 case $archive_cmds_D in
13565 # FIXME: we may have to deal with multi-command sequences.
13568 # Test whether the compiler implicitly links with -lc since on some
13569 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13570 # to ld, don't add -lc before -lgcc.
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13572 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13573 if ${lt_cv_archive_cmds_need_lc_D+:} false
; then :
13574 $as_echo_n "(cached) " >&6
13577 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13579 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13580 (eval $ac_compile) 2>&5
13582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13583 test $ac_status = 0; } 2>conftest.err
; then
13586 libobjs
=conftest.
$ac_objext
13588 wl
=$lt_prog_compiler_wl_D
13589 pic_flag
=$lt_prog_compiler_pic_D
13595 lt_save_allow_undefined_flag
=$allow_undefined_flag_D
13596 allow_undefined_flag_D
=
13597 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_D 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13598 (eval $archive_cmds_D 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13601 test $ac_status = 0; }
13603 lt_cv_archive_cmds_need_lc_D
=no
13605 lt_cv_archive_cmds_need_lc_D
=yes
13607 allow_undefined_flag_D
=$lt_save_allow_undefined_flag
13609 cat conftest.err
1>&5
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_D" >&5
13615 $as_echo "$lt_cv_archive_cmds_need_lc_D" >&6; }
13616 archive_cmds_need_lc_D
=$lt_cv_archive_cmds_need_lc_D
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13687 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13689 if test -n "$hardcode_libdir_flag_spec_D" ||
13690 test -n "$runpath_var_D" ||
13691 test "X$hardcode_automatic_D" = "Xyes" ; then
13693 # We can hardcode non-existent directories.
13694 if test "$hardcode_direct_D" != no
&&
13695 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13696 # have to relink, otherwise we might link with an installed library
13697 # when we should be linking with a yet-to-be-installed one
13698 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, D)" != no &&
13699 test "$hardcode_minus_L_D" != no
; then
13700 # Linking always hardcodes the temporary library directory.
13701 hardcode_action_D
=relink
13703 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13704 hardcode_action_D
=immediate
13707 # We cannot hardcode anything, or else we can only hardcode existing
13709 hardcode_action_D
=unsupported
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_D" >&5
13712 $as_echo "$hardcode_action_D" >&6; }
13714 if test "$hardcode_action_D" = relink ||
13715 test "$inherit_rpath_D" = yes; then
13716 # Fast installation is not supported
13717 enable_fast_install
=no
13718 elif test "$shlibpath_overrides_runpath" = yes ||
13719 test "$enable_shared" = no
; then
13720 # Fast installation is not necessary
13721 enable_fast_install
=needless
13733 ac_cpp
='$CPP $CPPFLAGS'
13734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13741 CFLAGS
=$lt_save_CFLAGS
13742 GDCFLAGS
=$lt_save_DFLAGS
13744 GDCFLAGS
=$gdc_save_DFLAGS
13747 # libtool variables for Phobos shared and position-independent compiles.
13749 # Use phobos_compiler_shared_flag to designate the compile-time flags for
13750 # creating shared objects. Default: -fversion=Shared.
13752 # Use phobos_compiler_pic_flag to designate the compile-time flags for
13753 # creating position-independent objects. This varies with the target
13754 # hardware and operating system, but is often: -fPIC.
13756 # The distinction between pic and shared compilation flags is not present in
13757 # libtool, and so we make it here. How it is handled is that in shared
13758 # compilations the `lt_prog_compiler_pic_D' variable is used to instead
13759 # ensure that conditional compilation of shared runtime code is compiled in.
13760 # The original PIC flags are then used in the compilation of every object.
13762 # Why are objects destined for libgphobos.a compiled with -fPIC?
13763 # Because -fPIC is not harmful to use for objects destined for static
13764 # libraries. In addition, using -fPIC will allow the use of static
13765 # libgphobos.a in the creation of other D shared libraries.
13766 if test "$enable_shared" = yes; then
13767 phobos_compiler_pic_flag
="$lt_prog_compiler_pic_D"
13768 phobos_compiler_shared_flag
="-fversion=Shared"
13770 phobos_compiler_pic_flag
=
13771 phobos_compiler_shared_flag
=
13776 # Override the libtool's pic_flag and pic_mode.
13777 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
13778 # NB: this impacts --with-pic and --without-pic.
13779 lt_prog_compiler_pic_D
="$phobos_compiler_shared_flag"
13782 # Determine what GCC version number to use in filesystem paths.
13784 get_gcc_base_ver
="cat"
13786 # Check whether --with-gcc-major-version-only was given.
13787 if test "${with_gcc_major_version_only+set}" = set; then :
13788 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
13789 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
13797 # libphobos/libdruntime specific options and feature detection
13799 # These need to be absolute paths, yet at the same time need to
13800 # canonicalize only relative paths, because then amd will not unmount
13801 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
13802 libphobos_builddir
=`${PWDCMD-pwd}`
13804 \\/$
* | ?
:\\/*) libphobos_srcdir
=${srcdir} ;;
13805 *) libphobos_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
13811 if test ${multilib} = yes; then
13812 multilib_arg
="--enable-multilib"
13818 # Check whether --enable-werror was given.
13819 if test "${enable_werror+set}" = set; then :
13820 enableval
=$enable_werror;
13824 if test "x$enable_werror" = "xyes"; then
13825 WERROR_FLAG
="-Werror"
13829 # Check whether --enable-druntime-gc was given.
13830 if test "${enable_druntime_gc+set}" = set; then :
13831 enableval
=$enable_druntime_gc; enable_druntime_gc
=no
13833 enable_druntime_gc
=yes
13837 if test "$enable_druntime_gc" = "yes"; then
13838 DRUNTIME_GC_ENABLE_TRUE
=
13839 DRUNTIME_GC_ENABLE_FALSE
='#'
13841 DRUNTIME_GC_ENABLE_TRUE
='#'
13842 DRUNTIME_GC_ENABLE_FALSE
=
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target OS" >&5
13848 $as_echo_n "checking for target OS... " >&6; }
13849 if ${druntime_cv_target_os+:} false
; then :
13850 $as_echo_n "(cached) " >&6
13852 druntime_cv_target_os
=`echo $target_os | sed 's/^\([A-Za-z_]+\)/\1/'`
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_target_os" >&5
13855 $as_echo "$druntime_cv_target_os" >&6; }
13856 if test -z "$druntime_cv_target_os"; then :
13857 as_fn_error $?
"can't detect target OS" "$LINENO" 5
13862 # Check whether --enable-unix was given.
13863 if test "${enable_unix+set}" = set; then :
13864 enableval
=$enable_unix; :
13870 case "$druntime_cv_target_os" in
13871 aix
*|
*bsd
*|cygwin
*|darwin
*|gnu
*|linux
*|skyos
*|
*solaris
*|sysv
*) d_have_unix
=1 ;;
13873 if test -n "$d_have_unix" && test "$enable_unix" = auto
; then
13876 if test "$enable_unix" = "yes"; then
13877 DRUNTIME_OS_UNIX_TRUE
=
13878 DRUNTIME_OS_UNIX_FALSE
='#'
13880 DRUNTIME_OS_UNIX_TRUE
='#'
13881 DRUNTIME_OS_UNIX_FALSE
=
13888 druntime_target_os_parsed
=""
13889 case "$druntime_cv_target_os" in
13890 aix
*) druntime_target_os_parsed
="aix"
13893 druntime_target_os_parsed
="android"
13895 darwin
*) druntime_target_os_parsed
="darwin"
13898 druntime_target_os_parsed
="dragonflybsd"
13900 freebsd
*|k
*bsd
*-gnu)
13901 druntime_target_os_parsed
="freebsd"
13904 druntime_target_os_parsed
="openbsd"
13907 druntime_target_os_parsed
="netbsd"
13909 linux
*) druntime_target_os_parsed
="linux"
13911 mingw
*) druntime_target_os_parsed
="mingw"
13913 *solaris
*) druntime_target_os_parsed
="solaris"
13915 if test "$druntime_target_os_parsed" = "aix"; then
13916 DRUNTIME_OS_AIX_TRUE
=
13917 DRUNTIME_OS_AIX_FALSE
='#'
13919 DRUNTIME_OS_AIX_TRUE
='#'
13920 DRUNTIME_OS_AIX_FALSE
=
13923 if test "$druntime_target_os_parsed" = "android"; then
13924 DRUNTIME_OS_ANDROID_TRUE
=
13925 DRUNTIME_OS_ANDROID_FALSE
='#'
13927 DRUNTIME_OS_ANDROID_TRUE
='#'
13928 DRUNTIME_OS_ANDROID_FALSE
=
13931 if test "$druntime_target_os_parsed" = "darwin"; then
13932 DRUNTIME_OS_DARWIN_TRUE
=
13933 DRUNTIME_OS_DARWIN_FALSE
='#'
13935 DRUNTIME_OS_DARWIN_TRUE
='#'
13936 DRUNTIME_OS_DARWIN_FALSE
=
13939 if test "$druntime_target_os_parsed" = "dragonflybsd"; then
13940 DRUNTIME_OS_DRAGONFLYBSD_TRUE
=
13941 DRUNTIME_OS_DRAGONFLYBSD_FALSE
='#'
13943 DRUNTIME_OS_DRAGONFLYBSD_TRUE
='#'
13944 DRUNTIME_OS_DRAGONFLYBSD_FALSE
=
13947 if test "$druntime_target_os_parsed" = "freebsd"; then
13948 DRUNTIME_OS_FREEBSD_TRUE
=
13949 DRUNTIME_OS_FREEBSD_FALSE
='#'
13951 DRUNTIME_OS_FREEBSD_TRUE
='#'
13952 DRUNTIME_OS_FREEBSD_FALSE
=
13955 if test "$druntime_target_os_parsed" = "netbsd"; then
13956 DRUNTIME_OS_NETBSD_TRUE
=
13957 DRUNTIME_OS_NETBSD_FALSE
='#'
13959 DRUNTIME_OS_NETBSD_TRUE
='#'
13960 DRUNTIME_OS_NETBSD_FALSE
=
13963 if test "$druntime_target_os_parsed" = "openbsd"; then
13964 DRUNTIME_OS_OPENBSD_TRUE
=
13965 DRUNTIME_OS_OPENBSD_FALSE
='#'
13967 DRUNTIME_OS_OPENBSD_TRUE
='#'
13968 DRUNTIME_OS_OPENBSD_FALSE
=
13971 if test "$druntime_target_os_parsed" = "linux"; then
13972 DRUNTIME_OS_LINUX_TRUE
=
13973 DRUNTIME_OS_LINUX_FALSE
='#'
13975 DRUNTIME_OS_LINUX_TRUE
='#'
13976 DRUNTIME_OS_LINUX_FALSE
=
13979 if test "$druntime_target_os_parsed" = "mingw"; then
13980 DRUNTIME_OS_MINGW_TRUE
=
13981 DRUNTIME_OS_MINGW_FALSE
='#'
13983 DRUNTIME_OS_MINGW_TRUE
='#'
13984 DRUNTIME_OS_MINGW_FALSE
=
13987 if test "$druntime_target_os_parsed" = "solaris"; then
13988 DRUNTIME_OS_SOLARIS_TRUE
=
13989 DRUNTIME_OS_SOLARIS_FALSE
='#'
13991 DRUNTIME_OS_SOLARIS_TRUE
='#'
13992 DRUNTIME_OS_SOLARIS_FALSE
=
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GDC" >&5
13999 $as_echo_n "checking for thread model used by GDC... " >&6; }
14000 d_thread_model
=`$GDC -v 2>&1 | sed -n 's/^Thread model: //p'`
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $d_thread_model" >&5
14002 $as_echo "$d_thread_model" >&6; }
14004 # Map from thread model to thread interface.
14006 case $d_thread_model in
14007 aix
) DCFG_THREAD_MODEL
="Posix" ;;
14008 lynx
) DCFG_THREAD_MODEL
="Posix" ;;
14009 posix
) DCFG_THREAD_MODEL
="Posix" ;;
14010 single
) DCFG_THREAD_MODEL
="Single" ;;
14011 win32
) DCFG_THREAD_MODEL
="Win32" ;;
14012 # TODO: These targets need porting.
14013 dce|mipssde|rtems|tpf|vxworks
)
14014 DCFG_THREAD_MODEL
="Single" ;;
14015 *) as_fn_error
"Thread implementation '$d_thread_model' not recognised" "$LINENO" 5 ;;
14022 ac_cpp
='$CPP $CPPFLAGS'
14023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARM unwinder" >&5
14028 $as_echo_n "checking for ARM unwinder... " >&6; }
14029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14031 #include <unwind.h>
14036 #if __ARM_EABI_UNWINDER__
14044 if ac_fn_c_try_compile
"$LINENO"; then :
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14046 $as_echo "no" >&6; }
14047 DCFG_ARM_EABI_UNWINDER
=false
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14050 $as_echo "yes" >&6; }
14051 DCFG_ARM_EABI_UNWINDER
=true
14053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14055 if test "$DCFG_ARM_EABI_UNWINDER" = "true"; then
14056 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
=
14057 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
='#'
14059 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
='#'
14060 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
=
14064 ac_cpp
='$CPP $CPPFLAGS'
14065 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14066 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14067 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14072 ac_cpp
='$CPP $CPPFLAGS'
14073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minfo section bracketing" >&5
14078 $as_echo_n "checking for minfo section bracketing... " >&6; }
14079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14082 void* module_info_ptr __attribute__((section ("minfo")));
14083 extern void* __start_minfo __attribute__((visibility ("hidden")));
14084 extern void* __stop_minfo __attribute__((visibility ("hidden")));
14088 // Never run, just to prevent compiler from optimizing access
14089 return &__start_minfo == &__stop_minfo;
14093 if ac_fn_c_try_link
"$LINENO"; then :
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14095 $as_echo "yes" >&6; }
14096 DCFG_MINFO_BRACKETING
=true
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14099 $as_echo "no" >&6; }
14100 DCFG_MINFO_BRACKETING
=false
14102 rm -f core conftest.err conftest.
$ac_objext \
14103 conftest
$ac_exeext conftest.
$ac_ext
14105 if test "$DCFG_MINFO_BRACKETING" = "true"; then
14106 DRUNTIME_OS_MINFO_BRACKETING_TRUE
=
14107 DRUNTIME_OS_MINFO_BRACKETING_FALSE
='#'
14109 DRUNTIME_OS_MINFO_BRACKETING_TRUE
='#'
14110 DRUNTIME_OS_MINFO_BRACKETING_FALSE
=
14114 ac_cpp
='$CPP $CPPFLAGS'
14115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14122 ac_cpp
='$CPP $CPPFLAGS'
14123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14127 DCFG_HAVE_QSORT_R
=false
14128 ac_fn_c_check_func
"$LINENO" "qsort_r" "ac_cv_func_qsort_r"
14129 if test "x$ac_cv_func_qsort_r" = xyes
; then :
14130 DCFG_HAVE_QSORT_R
=true
14135 ac_cpp
='$CPP $CPPFLAGS'
14136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14144 gdc_save_DFLAGS
=$GDCFLAGS
14145 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime -nophoboslib $GDCFLAGS"
14148 ac_compile
='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
14149 ac_link
='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14150 ac_compiler_gnu
=yes
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing malloc" >&5
14153 $as_echo_n "checking for library containing malloc... " >&6; }
14154 if ${ac_cv_search_malloc+:} false
; then :
14155 $as_echo_n "(cached) " >&6
14157 ac_func_search_save_LIBS
=$LIBS
14158 cat > conftest.
$ac_ext <<_ACEOF
14160 extern(C) int malloc();
14162 extern(C) int main() {
14163 malloc(); return 0;
14166 for ac_lib
in '' c
; do
14167 if test -z "$ac_lib"; then
14168 ac_res
="none required"
14171 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14173 if ac_fn_d_try_link
"$LINENO"; then :
14174 ac_cv_search_malloc
=$ac_res
14176 rm -f core conftest.err conftest.
$ac_objext \
14178 if ${ac_cv_search_malloc+:} false
; then :
14182 if ${ac_cv_search_malloc+:} false
; then :
14185 ac_cv_search_malloc
=no
14187 rm conftest.
$ac_ext
14188 LIBS
=$ac_func_search_save_LIBS
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_malloc" >&5
14191 $as_echo "$ac_cv_search_malloc" >&6; }
14192 ac_res
=$ac_cv_search_malloc
14193 if test "$ac_res" != no
; then :
14194 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14199 enable_thread_lib
=yes
14200 # Check whether --enable-thread-lib was given.
14201 if test "${enable_thread_lib+set}" = set; then :
14202 enableval
=$enable_thread_lib;
14206 if test "x$enable_thread_lib" = "xyes"; then :
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
14209 $as_echo_n "checking for library containing pthread_create... " >&6; }
14210 if ${ac_cv_search_pthread_create+:} false
; then :
14211 $as_echo_n "(cached) " >&6
14213 ac_func_search_save_LIBS
=$LIBS
14214 cat > conftest.
$ac_ext <<_ACEOF
14216 extern(C) int pthread_create();
14218 extern(C) int main() {
14219 pthread_create(); return 0;
14222 for ac_lib
in '' pthread
; do
14223 if test -z "$ac_lib"; then
14224 ac_res
="none required"
14227 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14229 if ac_fn_d_try_link
"$LINENO"; then :
14230 ac_cv_search_pthread_create
=$ac_res
14232 rm -f core conftest.err conftest.
$ac_objext \
14234 if ${ac_cv_search_pthread_create+:} false
; then :
14238 if ${ac_cv_search_pthread_create+:} false
; then :
14241 ac_cv_search_pthread_create
=no
14243 rm conftest.
$ac_ext
14244 LIBS
=$ac_func_search_save_LIBS
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
14247 $as_echo "$ac_cv_search_pthread_create" >&6; }
14248 ac_res
=$ac_cv_search_pthread_create
14249 if test "$ac_res" != no
; then :
14250 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14257 if test "x$enable_thread_lib" = "xno"; then :
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread library" >&5
14260 $as_echo_n "checking for thread library... " >&6; }
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14262 $as_echo "disabled" >&6; }
14266 as_ac_Lib
=`$as_echo "ac_cv_lib_$enable_thread_lib''_pthread_create" | $as_tr_sh`
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -l$enable_thread_lib" >&5
14268 $as_echo_n "checking for pthread_create in -l$enable_thread_lib... " >&6; }
14269 if eval \
${$as_ac_Lib+:} false
; then :
14270 $as_echo_n "(cached) " >&6
14272 ac_check_lib_save_LIBS
=$LIBS
14273 LIBS
="-l$enable_thread_lib $LIBS"
14274 cat > conftest.
$ac_ext <<_ACEOF
14276 extern(C) int pthread_create();
14278 extern(C) int main() {
14279 pthread_create(); return 0;
14282 if ac_fn_d_try_link
"$LINENO"; then :
14283 eval "$as_ac_Lib=yes"
14285 eval "$as_ac_Lib=no"
14287 rm -f core conftest.err conftest.
$ac_objext \
14288 conftest
$ac_exeext conftest.
$ac_ext
14289 LIBS
=$ac_check_lib_save_LIBS
14291 eval ac_res
=\$
$as_ac_Lib
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14293 $as_echo "$ac_res" >&6; }
14294 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
14295 cat >>confdefs.h
<<_ACEOF
14296 #define `$as_echo "HAVE_LIB$enable_thread_lib" | $as_tr_cpp` 1
14299 LIBS
="-l$enable_thread_lib $LIBS"
14303 as_fn_error $?
"Thread library not found" "$LINENO" 5
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cosf" >&5
14313 $as_echo_n "checking for library containing cosf... " >&6; }
14314 if ${ac_cv_search_cosf+:} false
; then :
14315 $as_echo_n "(cached) " >&6
14317 ac_func_search_save_LIBS
=$LIBS
14318 cat > conftest.
$ac_ext <<_ACEOF
14320 extern(C) int cosf();
14322 extern(C) int main() {
14326 for ac_lib
in '' m
; do
14327 if test -z "$ac_lib"; then
14328 ac_res
="none required"
14331 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14333 if ac_fn_d_try_link
"$LINENO"; then :
14334 ac_cv_search_cosf
=$ac_res
14336 rm -f core conftest.err conftest.
$ac_objext \
14338 if ${ac_cv_search_cosf+:} false
; then :
14342 if ${ac_cv_search_cosf+:} false
; then :
14345 ac_cv_search_cosf
=no
14347 rm conftest.
$ac_ext
14348 LIBS
=$ac_func_search_save_LIBS
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cosf" >&5
14351 $as_echo "$ac_cv_search_cosf" >&6; }
14352 ac_res
=$ac_cv_search_cosf
14353 if test "$ac_res" != no
; then :
14354 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14359 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14360 if ${ac_cv_search_clock_gettime+:} false
; then :
14361 $as_echo_n "(cached) " >&6
14363 ac_func_search_save_LIBS
=$LIBS
14364 cat > conftest.
$ac_ext <<_ACEOF
14366 extern(C) int clock_gettime();
14368 extern(C) int main() {
14369 clock_gettime(); return 0;
14372 for ac_lib
in '' rt
; do
14373 if test -z "$ac_lib"; then
14374 ac_res
="none required"
14377 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14379 if ac_fn_d_try_link
"$LINENO"; then :
14380 ac_cv_search_clock_gettime
=$ac_res
14382 rm -f core conftest.err conftest.
$ac_objext \
14384 if ${ac_cv_search_clock_gettime+:} false
; then :
14388 if ${ac_cv_search_clock_gettime+:} false
; then :
14391 ac_cv_search_clock_gettime
=no
14393 rm conftest.
$ac_ext
14394 LIBS
=$ac_func_search_save_LIBS
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14397 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14398 ac_res
=$ac_cv_search_clock_gettime
14399 if test "$ac_res" != no
; then :
14400 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14405 # This checks to see if the host supports the compiler-generated builtins
14406 # for atomic operations for various integral sizes. Note, this is intended
14407 # to be an all-or-nothing switch, so all the atomic operations that are
14408 # used should be checked.
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for byte" >&5
14410 $as_echo_n "checking for atomic builtins for byte... " >&6; }
14411 if ${druntime_cv_atomic_byte+:} false
; then :
14412 $as_echo_n "(cached) " >&6
14415 cat > conftest.
$ac_ext <<_ACEOF
14417 import gcc.builtins;
14419 extern(C) int main() {
14423 __atomic_compare_exchange_1(&c1, &c2, c3, false, 5, 5);
14424 __atomic_load_1(&c1, 5);
14425 __atomic_store_1(&c1, c2, 5);
14430 if ac_fn_d_try_link
"$LINENO"; then :
14431 druntime_cv_atomic_byte
=yes
14433 druntime_cv_atomic_byte
=no
14435 rm -f core conftest.err conftest.
$ac_objext \
14436 conftest
$ac_exeext conftest.
$ac_ext
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_byte" >&5
14441 $as_echo "$druntime_cv_atomic_byte" >&6; }
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
14444 $as_echo_n "checking for atomic builtins for short... " >&6; }
14445 if ${druntime_cv_atomic_short+:} false
; then :
14446 $as_echo_n "(cached) " >&6
14449 cat > conftest.
$ac_ext <<_ACEOF
14451 import gcc.builtins;
14453 extern(C) int main() {
14457 __atomic_compare_exchange_2(&c1, &c2, c3, false, 5, 5);
14458 __atomic_load_2(&c1, 5);
14459 __atomic_store_2(&c1, c2, 5);
14464 if ac_fn_d_try_link
"$LINENO"; then :
14465 druntime_cv_atomic_short
=yes
14467 druntime_cv_atomic_short
=no
14469 rm -f core conftest.err conftest.
$ac_objext \
14470 conftest
$ac_exeext conftest.
$ac_ext
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_short" >&5
14475 $as_echo "$druntime_cv_atomic_short" >&6; }
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
14478 $as_echo_n "checking for atomic builtins for int... " >&6; }
14479 if ${druntime_cv_atomic_int+:} false
; then :
14480 $as_echo_n "(cached) " >&6
14483 cat > conftest.
$ac_ext <<_ACEOF
14485 import gcc.builtins;
14487 extern(C) int main() {
14491 __atomic_compare_exchange_4(&c1, &c2, c3, false, 5, 5);
14492 __atomic_load_4(&c1, 5);
14493 __atomic_store_4(&c1, c2, 5);
14498 if ac_fn_d_try_link
"$LINENO"; then :
14499 druntime_cv_atomic_int
=yes
14501 druntime_cv_atomic_int
=no
14503 rm -f core conftest.err conftest.
$ac_objext \
14504 conftest
$ac_exeext conftest.
$ac_ext
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_int" >&5
14509 $as_echo "$druntime_cv_atomic_int" >&6; }
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long" >&5
14512 $as_echo_n "checking for atomic builtins for long... " >&6; }
14513 if ${druntime_cv_atomic_long+:} false
; then :
14514 $as_echo_n "(cached) " >&6
14517 cat > conftest.
$ac_ext <<_ACEOF
14519 import gcc.builtins;
14521 extern(C) int main() {
14525 __atomic_compare_exchange_8(&c1, &c2, c3, false, 5, 5);
14526 __atomic_load_8(&c1, 5);
14527 __atomic_store_8(&c1, c2, 5);
14532 if ac_fn_d_try_link
"$LINENO"; then :
14533 druntime_cv_atomic_long
=yes
14535 druntime_cv_atomic_long
=no
14537 rm -f core conftest.err conftest.
$ac_objext \
14538 conftest
$ac_exeext conftest.
$ac_ext
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_long" >&5
14543 $as_echo "$druntime_cv_atomic_long" >&6; }
14545 # Have atomic builtin support if all but the long test above passes.
14546 DCFG_HAVE_ATOMIC_BUILTINS
=false
14547 if test "$druntime_cv_atomic_byte" = yes \
14548 && test "$druntime_cv_atomic_short" = yes \
14549 && test "$druntime_cv_atomic_int" = yes; then \
14550 DCFG_HAVE_ATOMIC_BUILTINS
=true
14553 # Have 64-bit atomic support if the long test above passes.
14554 DCFG_HAVE_64BIT_ATOMICS
=false
14555 if test "$druntime_cv_atomic_long" = yes; then
14556 DCFG_HAVE_64BIT_ATOMICS
=true
14563 ac_cpp
='$CPP $CPPFLAGS'
14564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14569 GDCFLAGS
=$gdc_save_DFLAGS
14574 # Check whether --with-libatomic was given.
14575 if test "${with_libatomic+set}" = set; then :
14576 withval
=$with_libatomic;
14580 DCFG_HAVE_LIBATOMIC
=false
14582 if test "x$with_libatomic" != "xno"; then :
14584 DCFG_HAVE_LIBATOMIC
=true
14585 LIBATOMIC
=..
/..
/libatomic
/libatomic_convenience.la
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic" >&5
14590 $as_echo_n "checking for libatomic... " >&6; }
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14592 $as_echo "disabled" >&6; }
14601 ac_cpp
='$CPP $CPPFLAGS'
14602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14606 BACKTRACE_SUPPORTED
=false
14607 BACKTRACE_USES_MALLOC
=false
14608 BACKTRACE_SUPPORTS_THREADS
=false
14612 # Check whether --with-libbacktrace was given.
14613 if test "${with_libbacktrace+set}" = set; then :
14614 withval
=$with_libbacktrace;
14618 if test "x$with_libbacktrace" != "xno"; then :
14620 LIBBACKTRACE
=..
/..
/libbacktrace
/libbacktrace.la
14622 gdc_save_CPPFLAGS
=$CPPFLAGS
14623 CPPFLAGS
+=" -I../libbacktrace "
14625 ac_fn_c_check_header_mongrel
"$LINENO" "backtrace-supported.h" "ac_cv_header_backtrace_supported_h" "$ac_includes_default"
14626 if test "x$ac_cv_header_backtrace_supported_h" = xyes
; then :
14627 have_libbacktrace_h
=true
14629 have_libbacktrace_h
=false
14634 if $have_libbacktrace_h; then
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_SUPPORTED" >&5
14636 $as_echo_n "checking libbacktrace: BACKTRACE_SUPPORTED... " >&6; }
14637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14640 #include <backtrace-supported.h>
14641 #if BACKTRACE_SUPPORTED
14642 FOUND_LIBBACKTRACE_RESULT_GDC
14646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14647 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14648 BACKTRACE_SUPPORTED
=true
14650 BACKTRACE_SUPPORTED
=false
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_SUPPORTED" >&5
14655 $as_echo "$BACKTRACE_SUPPORTED" >&6; }
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_USES_MALLOC" >&5
14658 $as_echo_n "checking libbacktrace: BACKTRACE_USES_MALLOC... " >&6; }
14659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14660 /* end confdefs.h. */
14662 #include <backtrace-supported.h>
14663 #if BACKTRACE_USES_MALLOC
14664 FOUND_LIBBACKTRACE_RESULT_GDC
14668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14669 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14670 BACKTRACE_USES_MALLOC
=true
14672 BACKTRACE_USES_MALLOC
=false
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_USES_MALLOC" >&5
14677 $as_echo "$BACKTRACE_USES_MALLOC" >&6; }
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_SUPPORTS_THREADS" >&5
14680 $as_echo_n "checking libbacktrace: BACKTRACE_SUPPORTS_THREADS... " >&6; }
14681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14682 /* end confdefs.h. */
14684 #include <backtrace-supported.h>
14685 #if BACKTRACE_SUPPORTS_THREADS
14686 FOUND_LIBBACKTRACE_RESULT_GDC
14690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14691 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14692 BACKTRACE_SUPPORTS_THREADS
=true
14694 BACKTRACE_SUPPORTS_THREADS
=false
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_SUPPORTS_THREADS" >&5
14699 $as_echo "$BACKTRACE_SUPPORTS_THREADS" >&6; }
14701 CPPFLAGS
=$gdc_save_CPPFLAGS
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbacktrace" >&5
14706 $as_echo_n "checking for libbacktrace... " >&6; }
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14708 $as_echo "disabled" >&6; }
14717 ac_cpp
='$CPP $CPPFLAGS'
14718 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14719 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14720 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14724 # Libtool has already checked this, so re-use the inferred dlopen lib.
14725 if test "x$enable_dlopen" = "xyes" && test -n "$lt_cv_dlopen_libs"; then :
14727 LIBS
="$LIBS $lt_cv_dlopen_libs"
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14733 $as_echo_n "checking for socket libraries... " >&6; }
14734 if ${druntime_cv_lib_sockets+:} false
; then :
14735 $as_echo_n "(cached) " >&6
14737 druntime_cv_lib_sockets
=
14738 druntime_check_both
=no
14739 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14740 if test "x$ac_cv_func_connect" = xyes
; then :
14741 druntime_check_socket
=no
14743 druntime_check_socket
=yes
14746 if test "$druntime_check_socket" = "yes"; then
14747 unset ac_cv_func_connect
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14749 $as_echo_n "checking for main in -lsocket... " >&6; }
14750 if ${ac_cv_lib_socket_main+:} false
; then :
14751 $as_echo_n "(cached) " >&6
14753 ac_check_lib_save_LIBS
=$LIBS
14754 LIBS
="-lsocket $LIBS"
14755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14756 /* end confdefs.h. */
14767 if ac_fn_c_try_link
"$LINENO"; then :
14768 ac_cv_lib_socket_main
=yes
14770 ac_cv_lib_socket_main
=no
14772 rm -f core conftest.err conftest.
$ac_objext \
14773 conftest
$ac_exeext conftest.
$ac_ext
14774 LIBS
=$ac_check_lib_save_LIBS
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14777 $as_echo "$ac_cv_lib_socket_main" >&6; }
14778 if test "x$ac_cv_lib_socket_main" = xyes
; then :
14779 druntime_cv_lib_sockets
="-lsocket"
14781 druntime_check_both
=yes
14785 if test "$druntime_check_both" = "yes"; then
14786 druntime_old_libs
=$LIBS
14787 LIBS
="$LIBS -lsocket -lnsl"
14788 unset ac_cv_func_accept
14789 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14790 if test "x$ac_cv_func_accept" = xyes
; then :
14791 druntime_check_nsl
=no
14792 druntime_cv_lib_sockets
="-lsocket -lnsl"
14795 unset ac_cv_func_accept
14796 LIBS
=$druntime_old_libs
14798 unset ac_cv_func_gethostbyname
14799 druntime_old_libs
="$LIBS"
14800 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14801 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14805 $as_echo_n "checking for main in -lnsl... " >&6; }
14806 if ${ac_cv_lib_nsl_main+:} false
; then :
14807 $as_echo_n "(cached) " >&6
14809 ac_check_lib_save_LIBS
=$LIBS
14811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14823 if ac_fn_c_try_link
"$LINENO"; then :
14824 ac_cv_lib_nsl_main
=yes
14826 ac_cv_lib_nsl_main
=no
14828 rm -f core conftest.err conftest.
$ac_objext \
14829 conftest
$ac_exeext conftest.
$ac_ext
14830 LIBS
=$ac_check_lib_save_LIBS
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14833 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14834 if test "x$ac_cv_lib_nsl_main" = xyes
; then :
14835 druntime_cv_lib_sockets
="$druntime_cv_lib_sockets -lnsl"
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_lib_sockets" >&5
14843 $as_echo "$druntime_cv_lib_sockets" >&6; }
14844 LIBS
="$LIBS $druntime_cv_lib_sockets"
14848 ac_cpp
='$CPP $CPPFLAGS'
14849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14856 # Check whether --with-target-system-zlib was given.
14857 if test "${with_target_system_zlib+set}" = set; then :
14858 withval
=$with_target_system_zlib;
14860 with_target_system_zlib
=no
14864 case "$with_target_system_zlib" in
14866 *) as_fn_error $?
"Invalid argument for --with-target-system-zlib" "$LINENO" 5 ;;
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for system zlib" >&5
14870 $as_echo_n "checking for system zlib... " >&6; }
14873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14879 gzopen("none", "rb")
14884 if ac_fn_c_try_link
"$LINENO"; then :
14886 if test "$cross_compiling" = yes; then :
14887 system_zlib_found
=no
14890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14895 gzFile file = gzopen("none", "rb");
14900 if ac_fn_c_try_run
"$LINENO"; then :
14901 system_zlib_found
=yes
14903 system_zlib_found
=no
14905 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14906 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14911 system_zlib_found
=no
14913 rm -f core conftest.err conftest.
$ac_objext \
14914 conftest
$ac_exeext conftest.
$ac_ext
14917 if test x
$system_zlib_found = xyes
&& test x
$with_target_system_zlib != xno
; then
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14919 $as_echo "found" >&6; }
14921 elif test x
$system_zlib_found = xno
&& test x
$with_target_system_zlib = xyes
; then
14922 as_fn_error $?
"system zlib required but not found" "$LINENO" 5
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14925 $as_echo "just compiled" >&6; }
14926 LIBZ
=..
/..
/zlib
/libz_convenience.la
14931 ac_cpp
='$CPP $CPPFLAGS'
14932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking D GCC version" >&5
14941 $as_echo_n "checking D GCC version... " >&6; }
14942 gcc_version
=`eval $get_gcc_base_ver $srcdir/../gcc/BASE-VER`
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_version" >&5
14944 $as_echo "$gcc_version" >&6; }
14948 # Check whether --with-cross-host was given.
14949 if test "${with_cross_host+set}" = set; then :
14950 withval
=$with_cross_host;
14954 libphobos_toolexecdir
=no
14955 libphobos_toolexeclibdir
=no
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
14958 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
14959 # Check whether --enable-version-specific-runtime-libs was given.
14960 if test "${enable_version_specific_runtime_libs+set}" = set; then :
14961 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
14962 yes) version_specific_libs
=yes ;;
14963 no
) version_specific_libs
=no
;;
14964 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
14967 version_specific_libs
=no
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
14971 $as_echo "$version_specific_libs" >&6; }
14973 # Version-specific runtime libs processing.
14974 if test $version_specific_libs = yes; then
14975 libphobos_toolexecdir
='${libdir}/gcc/${host_alias}'
14976 libphobos_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
14978 # Calculate libphobos_toolexecdir, libphobos_toolexeclibdir
14979 # Install a library built with a cross compiler in tooldir, not libdir.
14980 if test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
14981 libphobos_toolexecdir
='${exec_prefix}/${host_alias}'
14982 libphobos_toolexeclibdir
='${toolexecdir}/lib'
14984 libphobos_toolexecdir
='${libdir}/gcc/${host_alias}'
14985 libphobos_toolexeclibdir
='${libdir}'
14987 multi_os_directory
=`$GDC -print-multi-os-directory`
14988 case $multi_os_directory in
14989 .
) ;; # Avoid trailing /.
14990 *) libphobos_toolexeclibdir
=${libphobos_toolexeclibdir}/${multi_os_directory} ;;
14996 # Default case for install directory for D sources files.
14997 gdc_include_dir
='$(libdir)/gcc/${target_alias}/${gcc_version}/include/d'
15001 # Add drtbegin.o/drtend.o to startfile/endfile specs in libgphobos.spec
15002 if test "$DCFG_MINFO_BRACKETING" = "false"; then
15003 DRTSTUFF_SPEC
=$srcdir/src
/drtstuff.spec
15005 DRTSTUFF_SPEC
=/dev
/null
15009 # Add dependencies for libgphobos.spec file
15010 SPEC_PHOBOS_DEPS
="$LIBS"
15013 # Libdruntime / phobos soname version
15014 libtool_VERSION
=76:3:0
15017 # Set default flags (after DRUNTIME_WERROR!)
15018 if test -z "$GDCFLAGS"; then
15019 GDCFLAGS
="-Wall $WERROR_FLAG -g -frelease -O2"
15023 if test -z "$GDCFLAGSX"; then
15024 GDCFLAGSX
="-Wall $WERROR_FLAG -g -fno-release -funittest"
15028 # Sanity check for the cross-compilation case:
15029 ac_fn_c_check_header_mongrel
"$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
15030 if test "x$ac_cv_header_stdio_h" = xyes
; then :
15033 as_fn_error $?
"cannot find stdio.h." "$LINENO" 5
15038 ac_config_files
="$ac_config_files Makefile"
15041 ac_config_files
="$ac_config_files libdruntime/gcc/config.d libdruntime/gcc/libbacktrace.d"
15043 ac_config_files
="$ac_config_files src/libgphobos.spec"
15045 ac_config_files
="$ac_config_files testsuite/testsuite_flags"
15048 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
15049 # that multilib installs will end up installed in the correct place.
15050 # The testsuite needs it for multilib-aware ABI baseline files.
15051 # To work around this not being passed down from config-ml.in ->
15052 # srcdir/Makefile.am -> srcdir/{src,libdruntime,...}/Makefile.am, manually
15053 # append it here. Only modify Makefiles that have just been created.
15055 # Also, get rid of this simulated-VPATH thing that automake does.
15056 ac_config_files
="$ac_config_files libdruntime/Makefile src/Makefile testsuite/Makefile"
15059 cat >confcache
<<\_ACEOF
15060 # This file is a shell script that caches the results of configure
15061 # tests run on this system so they can be shared between configure
15062 # scripts and configure runs, see configure's option --config-cache.
15063 # It is not useful on other systems. If it contains results you don't
15064 # want to keep, you may remove or edit it.
15066 # config.status only pays attention to the cache file if you give it
15067 # the --recheck option to rerun configure.
15069 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15070 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15071 # following values.
15075 # The following way of writing the cache mishandles newlines in values,
15076 # but we know of no workaround that is simple, portable, and efficient.
15077 # So, we kill variables containing newlines.
15078 # Ultrix sh set writes to stderr and can't be redirected directly,
15079 # and sets the high bit in the cache file unless we assign to the vars.
15081 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15082 eval ac_val
=\$
$ac_var
15086 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15087 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15090 _ | IFS | as_nl
) ;; #(
15091 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15092 *) { eval $ac_var=; unset $ac_var;} ;;
15098 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15099 *${as_nl}ac_space
=\
*)
15100 # `set' does not quote correctly, so add quotes: double-quote
15101 # substitution turns \\\\ into \\, and sed turns \\ into \.
15104 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15107 # `set' quotes correctly as required by POSIX, so do not add quotes.
15108 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15117 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15119 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15121 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15122 if test -w "$cache_file"; then
15123 if test "x$cache_file" != "x/dev/null"; then
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15125 $as_echo "$as_me: updating cache $cache_file" >&6;}
15126 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15127 cat confcache
>"$cache_file"
15129 case $cache_file in #(
15131 mv -f confcache
"$cache_file"$$
&&
15132 mv -f "$cache_file"$$
"$cache_file" ;; #(
15134 mv -f confcache
"$cache_file" ;;
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15140 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15145 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15146 # Let make expand exec_prefix.
15147 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15149 DEFS
=-DHAVE_CONFIG_H
15154 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15155 # 1. Remove the extension, and $U if already installed.
15156 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15157 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15158 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15159 # will be set to the directory where LIBOBJS objects are built.
15160 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15161 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15163 LIBOBJS
=$ac_libobjs
15165 LTLIBOBJS
=$ac_ltlibobjs
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15169 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15170 if test -n "$am_sleep_pid"; then
15171 # Hide warnings about reused PIDs.
15172 wait $am_sleep_pid 2>/dev
/null
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15175 $as_echo "done" >&6; }
15176 if test -n "$EXEEXT"; then
15178 am__EXEEXT_FALSE
='#'
15180 am__EXEEXT_TRUE
='#'
15184 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15185 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15188 if test -z "${DRUNTIME_GC_ENABLE_TRUE}" && test -z "${DRUNTIME_GC_ENABLE_FALSE}"; then
15189 as_fn_error $?
"conditional \"DRUNTIME_GC_ENABLE\" was never defined.
15190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15192 if test -z "${DRUNTIME_OS_UNIX_TRUE}" && test -z "${DRUNTIME_OS_UNIX_FALSE}"; then
15193 as_fn_error $?
"conditional \"DRUNTIME_OS_UNIX\" was never defined.
15194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15196 if test -z "${DRUNTIME_OS_AIX_TRUE}" && test -z "${DRUNTIME_OS_AIX_FALSE}"; then
15197 as_fn_error $?
"conditional \"DRUNTIME_OS_AIX\" was never defined.
15198 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15200 if test -z "${DRUNTIME_OS_ANDROID_TRUE}" && test -z "${DRUNTIME_OS_ANDROID_FALSE}"; then
15201 as_fn_error $?
"conditional \"DRUNTIME_OS_ANDROID\" was never defined.
15202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15204 if test -z "${DRUNTIME_OS_DARWIN_TRUE}" && test -z "${DRUNTIME_OS_DARWIN_FALSE}"; then
15205 as_fn_error $?
"conditional \"DRUNTIME_OS_DARWIN\" was never defined.
15206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15208 if test -z "${DRUNTIME_OS_DRAGONFLYBSD_TRUE}" && test -z "${DRUNTIME_OS_DRAGONFLYBSD_FALSE}"; then
15209 as_fn_error $?
"conditional \"DRUNTIME_OS_DRAGONFLYBSD\" was never defined.
15210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15212 if test -z "${DRUNTIME_OS_FREEBSD_TRUE}" && test -z "${DRUNTIME_OS_FREEBSD_FALSE}"; then
15213 as_fn_error $?
"conditional \"DRUNTIME_OS_FREEBSD\" was never defined.
15214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15216 if test -z "${DRUNTIME_OS_NETBSD_TRUE}" && test -z "${DRUNTIME_OS_NETBSD_FALSE}"; then
15217 as_fn_error $?
"conditional \"DRUNTIME_OS_NETBSD\" was never defined.
15218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15220 if test -z "${DRUNTIME_OS_OPENBSD_TRUE}" && test -z "${DRUNTIME_OS_OPENBSD_FALSE}"; then
15221 as_fn_error $?
"conditional \"DRUNTIME_OS_OPENBSD\" was never defined.
15222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15224 if test -z "${DRUNTIME_OS_LINUX_TRUE}" && test -z "${DRUNTIME_OS_LINUX_FALSE}"; then
15225 as_fn_error $?
"conditional \"DRUNTIME_OS_LINUX\" was never defined.
15226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15228 if test -z "${DRUNTIME_OS_MINGW_TRUE}" && test -z "${DRUNTIME_OS_MINGW_FALSE}"; then
15229 as_fn_error $?
"conditional \"DRUNTIME_OS_MINGW\" was never defined.
15230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15232 if test -z "${DRUNTIME_OS_SOLARIS_TRUE}" && test -z "${DRUNTIME_OS_SOLARIS_FALSE}"; then
15233 as_fn_error $?
"conditional \"DRUNTIME_OS_SOLARIS\" was never defined.
15234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15236 if test -z "${DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE}" && test -z "${DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE}"; then
15237 as_fn_error $?
"conditional \"DRUNTIME_OS_ARM_EABI_UNWINDER\" was never defined.
15238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15240 if test -z "${DRUNTIME_OS_MINFO_BRACKETING_TRUE}" && test -z "${DRUNTIME_OS_MINFO_BRACKETING_FALSE}"; then
15241 as_fn_error $?
"conditional \"DRUNTIME_OS_MINFO_BRACKETING\" was never defined.
15242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15245 : "${CONFIG_STATUS=./config.status}"
15247 ac_clean_files_save
=$ac_clean_files
15248 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15250 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15252 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15254 # Generated by $as_me.
15255 # Run this file to recreate the current configuration.
15256 # Compiler output produced by configure, useful for debugging
15257 # configure, is in config.log if it exists.
15260 ac_cs_recheck=false
15263 SHELL=\${CONFIG_SHELL-$SHELL}
15266 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15267 ## -------------------- ##
15268 ## M4sh Initialization. ##
15269 ## -------------------- ##
15271 # Be more Bourne compatible
15272 DUALCASE
=1; export DUALCASE
# for MKS sh
15273 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15276 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15277 # is contrary to our usage. Disable this feature.
15278 alias -g '${1+"$@"}'='"$@"'
15279 setopt NO_GLOB_SUBST
15281 case `(set -o) 2>/dev/null` in #(
15293 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15294 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15295 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15296 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15297 # Prefer a ksh shell builtin over an external printf program on Solaris,
15298 # but without wasting forks for bash or zsh.
15299 if test -z "$BASH_VERSION$ZSH_VERSION" \
15300 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15301 as_echo='print
-r --'
15302 as_echo_n='print
-rn --'
15303 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15304 as_echo='printf %s
\n'
15305 as_echo_n='printf %s
'
15307 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15308 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15309 as_echo_n='/usr
/ucb
/echo -n'
15311 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15312 as_echo_n_body='eval
15316 expr "X$arg" : "X\\(.*\\)$as_nl";
15317 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15319 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15321 export as_echo_n_body
15322 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15324 export as_echo_body
15325 as_echo='sh
-c $as_echo_body as_echo
'
15328 # The user is always right.
15329 if test "${PATH_SEPARATOR+set}" != set; then
15331 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15332 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15339 # We need space, tab and new line, in precisely that order. Quoting is
15340 # there to prevent editors from complaining about space-tab.
15341 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15342 # splitting by setting IFS to empty value.)
15345 # Find who we are. Look in the path if we contain no directory separator.
15348 *[\\/]* ) as_myself=$0 ;;
15349 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15350 for as_dir in $PATH
15353 test -z "$as_dir" && as_dir=.
15354 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15360 # We did not find ourselves, most probably we were run as `sh COMMAND'
15361 # in which case we are not to be found in the path.
15362 if test "x$as_myself" = x
; then
15365 if test ! -f "$as_myself"; then
15366 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15370 # Unset variables that we do not need and which cause bugs (e.g. in
15371 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15372 # suppresses any "Segmentation fault" message there. '((' could
15373 # trigger a bug in pdksh 5.2.14.
15374 for as_var
in BASH_ENV ENV MAIL MAILPATH
15375 do eval test x\
${$as_var+set} = xset \
15376 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15389 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15392 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15393 # ----------------------------------------
15394 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15395 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15396 # script with STATUS, using 1 if that was 0.
15399 as_status
=$1; test $as_status -eq 0 && as_status
=1
15401 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15402 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15404 $as_echo "$as_me: error: $2" >&2
15405 as_fn_exit
$as_status
15409 # as_fn_set_status STATUS
15410 # -----------------------
15411 # Set $? to STATUS, without forking.
15412 as_fn_set_status
()
15415 } # as_fn_set_status
15417 # as_fn_exit STATUS
15418 # -----------------
15419 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15423 as_fn_set_status
$1
15429 # Portably unset VAR.
15432 { eval $1=; unset $1;}
15434 as_unset
=as_fn_unset
15435 # as_fn_append VAR VALUE
15436 # ----------------------
15437 # Append the text in VALUE to the end of the definition contained in VAR. Take
15438 # advantage of any shell optimizations that allow amortized linear growth over
15439 # repeated appends, instead of the typical quadratic growth present in naive
15441 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15442 eval 'as_fn_append ()
15453 # as_fn_arith ARG...
15454 # ------------------
15455 # Perform arithmetic evaluation on the ARGs, and store the result in the
15456 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15457 # must be portable across $(()) and expr.
15458 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15459 eval 'as_fn_arith ()
15466 as_val
=`expr "$@" || test $? -eq 1`
15471 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15472 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15478 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15479 as_basename
=basename
15484 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15490 as_me
=`$as_basename -- "$0" ||
15491 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15492 X"$0" : 'X\(//\)$' \| \
15493 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15495 sed '/^.*\/\([^/][^/]*\)\/*$/{
15509 # Avoid depending upon Character Ranges.
15510 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15511 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15512 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15513 as_cr_digits
='0123456789'
15514 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15516 ECHO_C
= ECHO_N
= ECHO_T
=
15517 case `echo -n x` in #(((((
15519 case `echo 'xy\c'` in
15520 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15522 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15529 rm -f conf$$ conf$$.exe conf$$.
file
15530 if test -d conf$$.dir
; then
15531 rm -f conf$$.dir
/conf$$.
file
15534 mkdir conf$$.dir
2>/dev
/null
15536 if (echo >conf$$.
file) 2>/dev
/null
; then
15537 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15539 # ... but there are two gotchas:
15540 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15541 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15542 # In both cases, we have to default to `cp -pR'.
15543 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15545 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15553 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15554 rmdir conf$$.dir
2>/dev
/null
15559 # Create "$as_dir" as a directory, including parents if necessary.
15564 -*) as_dir
=.
/$as_dir;;
15566 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15570 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15571 *) as_qdir
=$as_dir;;
15573 as_dirs
="'$as_qdir' $as_dirs"
15574 as_dir
=`$as_dirname -- "$as_dir" ||
15575 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15576 X"$as_dir" : 'X\(//\)[^/]' \| \
15577 X"$as_dir" : 'X\(//\)$' \| \
15578 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15579 $as_echo X"$as_dir" |
15580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15584 /^X\(\/\/\)[^/].*/{
15597 test -d "$as_dir" && break
15599 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15600 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15604 if mkdir
-p .
2>/dev
/null
; then
15605 as_mkdir_p
='mkdir -p "$as_dir"'
15607 test -d .
/-p && rmdir .
/-p
15612 # as_fn_executable_p FILE
15613 # -----------------------
15614 # Test if FILE is an executable regular file.
15615 as_fn_executable_p
()
15617 test -f "$1" && test -x "$1"
15618 } # as_fn_executable_p
15619 as_test_x
='test -x'
15620 as_executable_p
=as_fn_executable_p
15622 # Sed expression to map a string onto a valid CPP name.
15623 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15625 # Sed expression to map a string onto a valid variable name.
15626 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15630 ## ----------------------------------- ##
15631 ## Main body of $CONFIG_STATUS script. ##
15632 ## ----------------------------------- ##
15634 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15637 # Save the log message, to keep $0 and so on meaningful, and to
15638 # report actual input values of CONFIG_FILES etc. instead of their
15639 # values after options handling.
15641 This file was extended by package-unused $as_me version-unused, which was
15642 generated by GNU Autoconf 2.69. Invocation command line was
15644 CONFIG_FILES = $CONFIG_FILES
15645 CONFIG_HEADERS = $CONFIG_HEADERS
15646 CONFIG_LINKS = $CONFIG_LINKS
15647 CONFIG_COMMANDS = $CONFIG_COMMANDS
15650 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15655 case $ac_config_files in *"
15656 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15659 case $ac_config_headers in *"
15660 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15665 # Files that config.status was made for.
15666 config_files="$ac_config_files"
15667 config_headers="$ac_config_headers"
15668 config_commands="$ac_config_commands"
15672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15674 \`$as_me' instantiates files and other configuration actions
15675 from templates according to the current configuration. Unless the files
15676 and actions are specified as TAGs, all are instantiated by default.
15678 Usage: $0 [OPTION]... [TAG]...
15680 -h, --help print this help, then exit
15681 -V, --version print version number and configuration settings, then exit
15682 --config print configuration, then exit
15683 -q, --quiet, --silent
15684 do not print progress messages
15685 -d, --debug don't remove temporary files
15686 --recheck update $as_me by reconfiguring in the same conditions
15687 --file=FILE[:TEMPLATE]
15688 instantiate the configuration file FILE
15689 --header=FILE[:TEMPLATE]
15690 instantiate the configuration header FILE
15692 Configuration files:
15695 Configuration headers:
15698 Configuration commands:
15701 Report bugs to the package provider."
15704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15705 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15707 package-unused config.status version-unused
15708 configured by $0, generated by GNU Autoconf 2.69,
15709 with options \\"\$ac_cs_config\\"
15711 Copyright (C) 2012 Free Software Foundation, Inc.
15712 This config.status script is free software; the Free Software Foundation
15713 gives unlimited permission to copy, distribute and modify it."
15720 test -n "\$AWK" || AWK=awk
15723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15724 # The default lists apply if the user does not specify any file.
15730 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15731 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15735 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15747 # Handling of the options.
15748 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15750 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15751 $as_echo "$ac_cs_version"; exit ;;
15752 --config |
--confi |
--conf |
--con |
--co |
--c )
15753 $as_echo "$ac_cs_config"; exit ;;
15754 --debug |
--debu |
--deb |
--de |
--d |
-d )
15756 --file |
--fil |
--fi |
--f )
15759 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15760 '') as_fn_error $?
"missing file argument" ;;
15762 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15763 ac_need_defaults
=false
;;
15764 --header |
--heade |
--head |
--hea )
15767 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15769 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15770 ac_need_defaults
=false
;;
15772 # Conflict between --help and --header
15773 as_fn_error $?
"ambiguous option: \`$1'
15774 Try \`$0 --help' for more information.";;
15775 --help |
--hel |
-h )
15776 $as_echo "$ac_cs_usage"; exit ;;
15777 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15778 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15781 # This is an error.
15782 -*) as_fn_error $?
"unrecognized option: \`$1'
15783 Try \`$0 --help' for more information." ;;
15785 *) as_fn_append ac_config_targets
" $1"
15786 ac_need_defaults
=false
;;
15792 ac_configure_extra_args
=
15794 if $ac_cs_silent; then
15796 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15801 if \$ac_cs_recheck; then
15802 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15804 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15805 CONFIG_SHELL='$SHELL'
15806 export CONFIG_SHELL
15811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15815 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15816 ## Running $as_me. ##
15822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15830 with_multisubdir="$with_multisubdir"
15831 with_multisrctop="$with_multisrctop"
15832 with_target_subdir="$with_target_subdir"
15833 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15834 multi_basedir="$multi_basedir"
15835 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15838 GFORTRAN="$GFORTRAN"
15842 # The HP-UX ksh and POSIX shell print the target directory to stdout
15843 # if CDPATH is set.
15844 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15846 sed_quote_subst='$sed_quote_subst'
15847 double_quote_subst='$double_quote_subst'
15848 delay_variable_subst='$delay_variable_subst'
15849 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15850 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15851 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15852 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15853 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15854 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15855 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15856 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15857 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15858 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15859 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15860 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15861 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15862 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15863 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15864 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15865 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15866 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15867 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15868 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15869 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15870 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15871 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15872 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15873 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15874 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15875 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15876 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15877 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15878 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15879 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15880 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15881 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15882 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15883 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15884 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15885 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15886 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15887 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15888 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15889 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15890 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15891 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15892 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15893 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15894 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15895 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15896 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15897 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"`'
15898 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15899 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15900 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15901 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15902 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15903 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15904 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15905 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15906 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15907 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15908 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15909 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15910 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15911 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15912 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15913 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15914 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15915 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15916 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15917 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15918 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15919 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15920 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15921 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15922 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15923 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15924 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15925 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15926 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15927 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15928 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15929 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15930 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15931 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15932 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15933 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15934 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15935 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15936 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15937 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15938 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15939 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15940 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15941 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15942 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15943 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15944 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15945 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15946 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15947 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15948 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15949 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15950 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15951 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15952 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15953 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15954 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15955 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15956 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15957 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15958 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15959 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15960 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15961 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15962 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15963 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15964 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15965 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15966 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15967 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15968 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15969 LD_D='`$ECHO "$LD_D" | $SED "$delay_single_quote_subst"`'
15970 reload_flag_D='`$ECHO "$reload_flag_D" | $SED "$delay_single_quote_subst"`'
15971 reload_cmds_D='`$ECHO "$reload_cmds_D" | $SED "$delay_single_quote_subst"`'
15972 old_archive_cmds_D='`$ECHO "$old_archive_cmds_D" | $SED "$delay_single_quote_subst"`'
15973 compiler_D='`$ECHO "$compiler_D" | $SED "$delay_single_quote_subst"`'
15974 GCC_D='`$ECHO "$GCC_D" | $SED "$delay_single_quote_subst"`'
15975 lt_prog_compiler_no_builtin_flag_D='`$ECHO "$lt_prog_compiler_no_builtin_flag_D" | $SED "$delay_single_quote_subst"`'
15976 lt_prog_compiler_wl_D='`$ECHO "$lt_prog_compiler_wl_D" | $SED "$delay_single_quote_subst"`'
15977 lt_prog_compiler_pic_D='`$ECHO "$lt_prog_compiler_pic_D" | $SED "$delay_single_quote_subst"`'
15978 lt_prog_compiler_static_D='`$ECHO "$lt_prog_compiler_static_D" | $SED "$delay_single_quote_subst"`'
15979 lt_cv_prog_compiler_c_o_D='`$ECHO "$lt_cv_prog_compiler_c_o_D" | $SED "$delay_single_quote_subst"`'
15980 archive_cmds_need_lc_D='`$ECHO "$archive_cmds_need_lc_D" | $SED "$delay_single_quote_subst"`'
15981 enable_shared_with_static_runtimes_D='`$ECHO "$enable_shared_with_static_runtimes_D" | $SED "$delay_single_quote_subst"`'
15982 export_dynamic_flag_spec_D='`$ECHO "$export_dynamic_flag_spec_D" | $SED "$delay_single_quote_subst"`'
15983 whole_archive_flag_spec_D='`$ECHO "$whole_archive_flag_spec_D" | $SED "$delay_single_quote_subst"`'
15984 compiler_needs_object_D='`$ECHO "$compiler_needs_object_D" | $SED "$delay_single_quote_subst"`'
15985 old_archive_from_new_cmds_D='`$ECHO "$old_archive_from_new_cmds_D" | $SED "$delay_single_quote_subst"`'
15986 old_archive_from_expsyms_cmds_D='`$ECHO "$old_archive_from_expsyms_cmds_D" | $SED "$delay_single_quote_subst"`'
15987 archive_cmds_D='`$ECHO "$archive_cmds_D" | $SED "$delay_single_quote_subst"`'
15988 archive_expsym_cmds_D='`$ECHO "$archive_expsym_cmds_D" | $SED "$delay_single_quote_subst"`'
15989 module_cmds_D='`$ECHO "$module_cmds_D" | $SED "$delay_single_quote_subst"`'
15990 module_expsym_cmds_D='`$ECHO "$module_expsym_cmds_D" | $SED "$delay_single_quote_subst"`'
15991 with_gnu_ld_D='`$ECHO "$with_gnu_ld_D" | $SED "$delay_single_quote_subst"`'
15992 allow_undefined_flag_D='`$ECHO "$allow_undefined_flag_D" | $SED "$delay_single_quote_subst"`'
15993 no_undefined_flag_D='`$ECHO "$no_undefined_flag_D" | $SED "$delay_single_quote_subst"`'
15994 hardcode_libdir_flag_spec_D='`$ECHO "$hardcode_libdir_flag_spec_D" | $SED "$delay_single_quote_subst"`'
15995 hardcode_libdir_flag_spec_ld_D='`$ECHO "$hardcode_libdir_flag_spec_ld_D" | $SED "$delay_single_quote_subst"`'
15996 hardcode_libdir_separator_D='`$ECHO "$hardcode_libdir_separator_D" | $SED "$delay_single_quote_subst"`'
15997 hardcode_direct_D='`$ECHO "$hardcode_direct_D" | $SED "$delay_single_quote_subst"`'
15998 hardcode_direct_absolute_D='`$ECHO "$hardcode_direct_absolute_D" | $SED "$delay_single_quote_subst"`'
15999 hardcode_minus_L_D='`$ECHO "$hardcode_minus_L_D" | $SED "$delay_single_quote_subst"`'
16000 hardcode_shlibpath_var_D='`$ECHO "$hardcode_shlibpath_var_D" | $SED "$delay_single_quote_subst"`'
16001 hardcode_automatic_D='`$ECHO "$hardcode_automatic_D" | $SED "$delay_single_quote_subst"`'
16002 inherit_rpath_D='`$ECHO "$inherit_rpath_D" | $SED "$delay_single_quote_subst"`'
16003 link_all_deplibs_D='`$ECHO "$link_all_deplibs_D" | $SED "$delay_single_quote_subst"`'
16004 fix_srcfile_path_D='`$ECHO "$fix_srcfile_path_D" | $SED "$delay_single_quote_subst"`'
16005 always_export_symbols_D='`$ECHO "$always_export_symbols_D" | $SED "$delay_single_quote_subst"`'
16006 export_symbols_cmds_D='`$ECHO "$export_symbols_cmds_D" | $SED "$delay_single_quote_subst"`'
16007 exclude_expsyms_D='`$ECHO "$exclude_expsyms_D" | $SED "$delay_single_quote_subst"`'
16008 include_expsyms_D='`$ECHO "$include_expsyms_D" | $SED "$delay_single_quote_subst"`'
16009 prelink_cmds_D='`$ECHO "$prelink_cmds_D" | $SED "$delay_single_quote_subst"`'
16010 file_list_spec_D='`$ECHO "$file_list_spec_D" | $SED "$delay_single_quote_subst"`'
16011 hardcode_action_D='`$ECHO "$hardcode_action_D" | $SED "$delay_single_quote_subst"`'
16014 LTCFLAGS='$LTCFLAGS'
16015 compiler='$compiler_DEFAULT'
16017 # A function that is used when there is no print builtin or printf.
16018 func_fallback_echo ()
16020 eval 'cat <<_LTECHO_EOF
16025 # Quote evaled strings.
16039 deplibs_check_method \
16048 lt_cv_sys_global_symbol_pipe \
16049 lt_cv_sys_global_symbol_to_cdecl \
16050 lt_cv_sys_global_symbol_to_c_name_address \
16051 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16052 lt_prog_compiler_no_builtin_flag \
16053 lt_prog_compiler_wl \
16054 lt_prog_compiler_pic \
16055 lt_prog_compiler_static \
16056 lt_cv_prog_compiler_c_o \
16064 export_dynamic_flag_spec \
16065 whole_archive_flag_spec \
16066 compiler_needs_object \
16068 allow_undefined_flag \
16069 no_undefined_flag \
16070 hardcode_libdir_flag_spec \
16071 hardcode_libdir_flag_spec_ld \
16072 hardcode_libdir_separator \
16077 variables_saved_for_relink \
16079 library_names_spec \
16081 install_override_mode \
16088 lt_prog_compiler_no_builtin_flag_D \
16089 lt_prog_compiler_wl_D \
16090 lt_prog_compiler_pic_D \
16091 lt_prog_compiler_static_D \
16092 lt_cv_prog_compiler_c_o_D \
16093 export_dynamic_flag_spec_D \
16094 whole_archive_flag_spec_D \
16095 compiler_needs_object_D \
16097 allow_undefined_flag_D \
16098 no_undefined_flag_D \
16099 hardcode_libdir_flag_spec_D \
16100 hardcode_libdir_flag_spec_ld_D \
16101 hardcode_libdir_separator_D \
16102 fix_srcfile_path_D \
16103 exclude_expsyms_D \
16104 include_expsyms_D \
16105 file_list_spec_D; do
16106 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16107 *[\\\\\\\`\\"\\\$]*)
16108 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16111 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16116 # Double-quote double-evaled strings.
16117 for var in reload_cmds \
16118 old_postinstall_cmds \
16119 old_postuninstall_cmds \
16121 extract_expsyms_cmds \
16122 old_archive_from_new_cmds \
16123 old_archive_from_expsyms_cmds \
16125 archive_expsym_cmds \
16127 module_expsym_cmds \
16128 export_symbols_cmds \
16131 postuninstall_cmds \
16133 sys_lib_search_path_spec \
16134 sys_lib_dlsearch_path_spec \
16136 old_archive_cmds_D \
16137 old_archive_from_new_cmds_D \
16138 old_archive_from_expsyms_cmds_D \
16140 archive_expsym_cmds_D \
16142 module_expsym_cmds_D \
16143 export_symbols_cmds_D \
16145 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16146 *[\\\\\\\`\\"\\\$]*)
16147 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16150 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16155 ac_aux_dir='$ac_aux_dir'
16156 xsi_shell='$xsi_shell'
16157 lt_shell_append='$lt_shell_append'
16159 # See if we are running on zsh, and set the options which allow our
16160 # commands through without removal of \ escapes INIT.
16161 if test -n "\${ZSH_VERSION+set}" ; then
16162 setopt NO_GLOB_SUBST
16168 TIMESTAMP='$TIMESTAMP'
16179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16181 # Handling of arguments.
16182 for ac_config_target
in $ac_config_targets
16184 case $ac_config_target in
16185 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16186 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16187 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16188 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16189 "libdruntime/gcc/config.d") CONFIG_FILES
="$CONFIG_FILES libdruntime/gcc/config.d" ;;
16190 "libdruntime/gcc/libbacktrace.d") CONFIG_FILES
="$CONFIG_FILES libdruntime/gcc/libbacktrace.d" ;;
16191 "src/libgphobos.spec") CONFIG_FILES
="$CONFIG_FILES src/libgphobos.spec" ;;
16192 "testsuite/testsuite_flags") CONFIG_FILES
="$CONFIG_FILES testsuite/testsuite_flags" ;;
16193 "libdruntime/Makefile") CONFIG_FILES
="$CONFIG_FILES libdruntime/Makefile" ;;
16194 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
16195 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16197 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16202 # If the user did not use the arguments to specify the items to instantiate,
16203 # then the envvar interface is used. Set only those that are not.
16204 # We use the long form for the default assignment because of an extremely
16205 # bizarre bug on SunOS 4.1.3.
16206 if $ac_need_defaults; then
16207 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16208 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16209 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16212 # Have a temporary directory for convenience. Make it in the build tree
16213 # simply because there is no reason against having it here, and in addition,
16214 # creating and moving files from /tmp can sometimes cause problems.
16215 # Hook for its removal unless debugging.
16216 # Note that there is a small window in which the directory will not be cleaned:
16217 # after its creation but before its name has been assigned to `$tmp'.
16221 trap 'exit_status=$?
16222 : "${ac_tmp:=$tmp}"
16223 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16225 trap 'as_fn_exit 1' 1 2 13 15
16227 # Create a (secure) tmp directory for tmp files.
16230 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16234 tmp
=.
/conf$$
-$RANDOM
16235 (umask 077 && mkdir
"$tmp")
16236 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16239 # Set up the scripts for CONFIG_FILES section.
16240 # No need to generate them if there are no CONFIG_FILES.
16241 # This happens for instance with `./config.status config.h'.
16242 if test -n "$CONFIG_FILES"; then
16244 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16245 ac_cs_awk_getline
=:
16246 ac_cs_awk_pipe_init
=
16247 ac_cs_awk_read_file
='
16248 while ((getline aline < (F[key])) > 0)
16251 ac_cs_awk_pipe_fini
=
16253 ac_cs_awk_getline
=false
16254 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16255 ac_cs_awk_read_file
='
16257 print "cat " F[key] " &&"
16258 '$ac_cs_awk_pipe_init
16259 # The final `:' finishes the AND list.
16260 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16262 ac_cr
=`echo X | tr X '\015'`
16263 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16264 # But we know of no other shell where ac_cr would be empty at this
16265 # point, so we can use a bashism as a fallback.
16266 if test "x$ac_cr" = x
; then
16267 eval ac_cr
=\$
\'\\r
\'
16269 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16270 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16273 ac_cs_awk_cr
=$ac_cr
16276 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16279 # Create commands to substitute file output variables.
16281 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16282 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16283 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16286 } >conf$
$files.sh
&&
16287 . .
/conf$
$files.sh ||
16288 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16289 rm -f conf$
$files.sh
16292 echo "cat >conf$$subs.awk <<_ACEOF" &&
16293 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16295 } >conf$$subs.sh ||
16296 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16297 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16299 for ac_last_try in false false false false false :; do
16300 . ./conf$$subs.sh ||
16301 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16303 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16304 if test $ac_delim_n = $ac_delim_num; then
16306 elif $ac_last_try; then
16307 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16309 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16312 rm -f conf$$subs.sh
16314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16315 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16319 s/^/S["/; s
/!.
*/"]=/
16329 s/\(.\{148\}\)..*/\1/
16331 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16336 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16343 s/\(.\{148\}\)..*/\1/
16345 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16349 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16354 ' <conf$$subs.awk | sed '
16359 ' >>$CONFIG_STATUS || ac_write_fail=1
16360 rm -f conf$$subs.awk
16361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16363 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16364 for (key in S) S_is_set[key] = 1
16366 \$ac_cs_awk_pipe_init
16370 nfields = split(line, field, "@
")
16372 len = length(field[1])
16373 for (i = 2; i < nfields; i++) {
16375 keylen = length(key)
16376 if (S_is_set[key]) {
16378 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16379 len += length(value) + length(field[++i])
16384 if (nfields == 3 && !substed) {
16386 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16387 \$ac_cs_awk_read_file
16393 \$ac_cs_awk_pipe_fini
16396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16397 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16398 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16401 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16402 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16405 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16406 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16407 # trailing colons and then remove the whole line if VPATH becomes empty
16408 # (actually we leave an empty line to preserve line numbers).
16409 if test "x
$srcdir" = x.; then
16410 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16429 fi # test -n "$CONFIG_FILES"
16431 # Set up the scripts for CONFIG_HEADERS section.
16432 # No need to generate them if there are no CONFIG_HEADERS.
16433 # This happens for instance with `./config.status Makefile'.
16434 if test -n "$CONFIG_HEADERS"; then
16435 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16439 # Transform confdefs.h into an awk script `defines.awk', embedded as
16440 # here-document in config.status, that substitutes the proper values into
16441 # config.h.in to produce config.h.
16443 # Create a delimiter string that does not exist in confdefs.h, to ease
16444 # handling of long lines.
16446 for ac_last_try in false false :; do
16447 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16448 if test -z "$ac_tt"; then
16450 elif $ac_last_try; then
16451 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16453 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16457 # For the awk script, D is an array of macro values keyed by name,
16458 # likewise P contains macro parameters if any. Preserve backslash
16459 # newline sequences.
16461 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16463 s/.\{148\}/&'"$ac_delim"'/g
16466 s/^[ ]*#[ ]*define[ ][ ]*/ /
16473 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16475 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16479 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16480 D["\
1"]=" \
3\\\\\\n
"\\/p
16482 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16487 s/.\{148\}/&'"$ac_delim"'/g
16492 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16495 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16497 ' <confdefs.h | sed '
16498 s/'"$ac_delim"'/"\\\
16499 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16502 for (key in D) D_is_set[key] = 1
16505 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16507 split(line, arg, " ")
16508 if (arg[1] == "#") {
16512 defundef
= substr
(arg
[1], 2)
16515 split(mac1
, mac2
, "(") #)
16517 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16518 if (D_is_set
[macro
]) {
16519 # Preserve the white space surrounding the "#".
16520 print prefix
"define", macro P
[macro
] D
[macro
]
16523 # Replace #undef with comments. This is necessary, for example,
16524 # in the case of _POSIX_SOURCE, which is predefined and required
16525 # on some systems where configure will not decide to define it.
16526 if (defundef
== "undef") {
16527 print
"/*", prefix defundef
, macro
, "*/"
16535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16536 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16537 fi # test -n "$CONFIG_HEADERS"
16540 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16545 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16547 case $ac_mode$ac_tag in
16549 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16550 :[FH
]-) ac_tag
=-:-;;
16551 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16568 -) ac_f
="$ac_tmp/stdin";;
16569 *) # Look for the file first in the build tree, then in the source tree
16570 # (if the path is not absolute). The absolute path cannot be DOS-style,
16571 # because $ac_f cannot contain `:'.
16575 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16577 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16579 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16580 as_fn_append ac_file_inputs
" '$ac_f'"
16583 # Let's still pretend it is `configure' which instantiates (i.e., don't
16584 # use $as_me), people would be surprised to read:
16585 # /* config.h. Generated by config.status. */
16586 configure_input
='Generated from '`
16587 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16589 if test x
"$ac_file" != x-
; then
16590 configure_input
="$ac_file. $configure_input"
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16592 $as_echo "$as_me: creating $ac_file" >&6;}
16594 # Neutralize special characters interpreted by sed in replacement strings.
16595 case $configure_input in #(
16596 *\
&* |
*\|
* |
*\\* )
16597 ac_sed_conf_input
=`$as_echo "$configure_input" |
16598 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16599 *) ac_sed_conf_input
=$configure_input;;
16603 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16604 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16609 ac_dir
=`$as_dirname -- "$ac_file" ||
16610 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16611 X"$ac_file" : 'X\(//\)[^/]' \| \
16612 X"$ac_file" : 'X\(//\)$' \| \
16613 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16614 $as_echo X"$ac_file" |
16615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16619 /^X\(\/\/\)[^/].*/{
16632 as_dir
="$ac_dir"; as_fn_mkdir_p
16636 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16638 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16639 # A ".." for each directory in $ac_dir_suffix.
16640 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16641 case $ac_top_builddir_sub in
16642 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16643 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16646 ac_abs_top_builddir
=$ac_pwd
16647 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16648 # for backward compatibility:
16649 ac_top_builddir
=$ac_top_build_prefix
16652 .
) # We are building in place.
16654 ac_top_srcdir
=$ac_top_builddir_sub
16655 ac_abs_top_srcdir
=$ac_pwd ;;
16656 [\\/]* | ?
:[\\/]* ) # Absolute name.
16657 ac_srcdir
=$srcdir$ac_dir_suffix;
16658 ac_top_srcdir
=$srcdir
16659 ac_abs_top_srcdir
=$srcdir ;;
16660 *) # Relative name.
16661 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16662 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16663 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16665 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16675 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16676 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16678 ac_MKDIR_P
=$MKDIR_P
16680 [\\/$
]* | ?
:[\\/]* ) ;;
16681 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16686 # If the template does not know about datarootdir, expand it.
16687 # FIXME: This hack should be removed a few years after 2.60.
16688 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16699 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16700 *datarootdir
*) ac_datarootdir_seen
=yes;;
16701 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16703 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16706 ac_datarootdir_hack='
16707 s&@datadir@&$datadir&g
16708 s&@docdir@&$docdir&g
16709 s&@infodir@&$infodir&g
16710 s&@localedir@&$localedir&g
16711 s&@mandir@&$mandir&g
16712 s&\\\${datarootdir}&$datarootdir&g' ;;
16716 # Neutralize VPATH when `$srcdir' = `.'.
16717 # Shell code in configure.ac might set extrasub.
16718 # FIXME: do we really want to maintain this feature?
16719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16720 ac_sed_extra="$ac_vpsub
16723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16725 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16726 s|@configure_input@|
$ac_sed_conf_input|
;t t
16727 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16728 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16729 s
&@srcdir@
&$ac_srcdir&;t t
16730 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16731 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16732 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16733 s
&@builddir@
&$ac_builddir&;t t
16734 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16735 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16736 s
&@INSTALL@
&$ac_INSTALL&;t t
16737 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16738 $ac_datarootdir_hack
16740 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16741 if $ac_cs_awk_getline; then
16742 $AWK -f "$ac_tmp/subs.
awk"
16744 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16746 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16748 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16749 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16750 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16751 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16753 which seems to be undefined. Please make sure it is defined" >&5
16754 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16755 which seems to be undefined. Please make sure it is defined" >&2;}
16757 rm -f "$ac_tmp/stdin"
16759 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16760 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16762 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16768 if test x"$ac_file" != x-; then
16770 $as_echo "/* $configure_input */" \
16771 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16772 } >"$ac_tmp/config.h" \
16773 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16774 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16776 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16779 mv "$ac_tmp/config.h" "$ac_file" \
16780 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16783 $as_echo "/* $configure_input */" \
16784 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16785 || as_fn_error $? "could not create -" "$LINENO" 5
16787 # Compute "$ac_file"'s index
in $config_headers.
16790 for _am_header
in $config_headers :; do
16791 case $_am_header in
16792 $_am_arg |
$_am_arg:* )
16795 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16798 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16799 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16800 X"$_am_arg" : 'X\(//\)[^/]' \| \
16801 X"$_am_arg" : 'X\(//\)$' \| \
16802 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16803 $as_echo X"$_am_arg" |
16804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16808 /^X\(\/\/\)[^/].*/{
16820 s/.*/./; q'`/stamp-h
$_am_stamp_count
16823 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16824 $as_echo "$as_me: executing $ac_file commands" >&6;}
16829 case $ac_file$ac_mode in
16831 # Only add multilib support code if we just rebuilt the top-level
16833 case " $CONFIG_FILES " in
16835 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16840 # See if we are running on zsh, and set the options which allow our
16841 # commands through without removal of \ escapes.
16842 if test -n "${ZSH_VERSION+set}" ; then
16843 setopt NO_GLOB_SUBST
16846 cfgfile
="${ofile}T"
16847 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16850 cat <<_LT_EOF >> "$cfgfile"
16853 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16854 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16855 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16856 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16858 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16859 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16860 # Written by Gordon Matzigkeit, 1996
16862 # This file is part of GNU Libtool.
16864 # GNU Libtool is free software; you can redistribute it and/or
16865 # modify it under the terms of the GNU General Public License as
16866 # published by the Free Software Foundation; either version 2 of
16867 # the License, or (at your option) any later version.
16869 # As a special exception to the GNU General Public License,
16870 # if you distribute this file as part of a program or library that
16871 # is built using GNU Libtool, you may include this file under the
16872 # same distribution terms that you use for the rest of that program.
16874 # GNU Libtool is distributed in the hope that it will be useful,
16875 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16876 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16877 # GNU General Public License for more details.
16879 # You should have received a copy of the GNU General Public License
16880 # along with GNU Libtool; see the file COPYING. If not, a copy
16881 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16882 # obtained by writing to the Free Software Foundation, Inc.,
16883 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16886 # The names of the tagged configurations supported by this script.
16887 available_tags="D "
16889 # ### BEGIN LIBTOOL CONFIG
16891 # Which release of libtool.m4 was used?
16892 macro_version=$macro_version
16893 macro_revision=$macro_revision
16895 # Whether or not to build shared libraries.
16896 build_libtool_libs=$enable_shared
16898 # Whether or not to build static libraries.
16899 build_old_libs=$enable_static
16901 # What type of objects to build.
16904 # Whether or not to optimize for fast installation.
16905 fast_install=$enable_fast_install
16907 # Shell to use when invoking shell scripts.
16910 # An echo program that protects backslashes.
16914 host_alias=$host_alias
16918 # The build system.
16919 build_alias=$build_alias
16923 # A sed program that does not truncate output.
16926 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16927 Xsed="\$SED -e 1s/^X//"
16929 # A grep program that handles long lines.
16935 # A literal string matcher.
16938 # A BSD- or MS-compatible name lister.
16941 # Whether we need soft or hard links.
16944 # What is the maximum length of a command?
16945 max_cmd_len=$max_cmd_len
16947 # Object file suffix (normally "o").
16950 # Executable file suffix (normally "").
16953 # whether the shell understands "unset".
16956 # turn spaces into newlines.
16959 # turn newlines into spaces.
16962 # An object symbol dumper.
16963 OBJDUMP=$lt_OBJDUMP
16965 # Method to check whether dependent libraries are shared objects.
16966 deplibs_check_method=$lt_deplibs_check_method
16968 # Command to use when deplibs_check_method == "file_magic".
16969 file_magic_cmd=$lt_file_magic_cmd
16973 AR_FLAGS=$lt_AR_FLAGS
16975 # A symbol stripping program.
16978 # Commands used to install an old-style archive.
16980 old_postinstall_cmds=$lt_old_postinstall_cmds
16981 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16983 # Whether to use a lock for old archive extraction.
16984 lock_old_archive_extraction=$lock_old_archive_extraction
16989 # LTCC compiler flags.
16990 LTCFLAGS=$lt_CFLAGS
16992 # Take the output of nm and produce a listing of raw symbols and C names.
16993 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16995 # Transform the output of nm in a proper C declaration.
16996 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16998 # Transform the output of nm in a C name address pair.
16999 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17001 # Transform the output of nm in a C name address pair when lib prefix is needed.
17002 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17004 # The name of the directory that contains temporary libtool files.
17007 # Used to examine libraries when file_magic_cmd begins with "file".
17008 MAGIC_CMD=$MAGIC_CMD
17010 # Must we lock files when doing compilation?
17011 need_locks=$lt_need_locks
17013 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17014 DSYMUTIL=$lt_DSYMUTIL
17016 # Tool to change global to local symbols on Mac OS X.
17019 # Tool to manipulate fat objects and archives on Mac OS X.
17022 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17025 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17026 OTOOL64=$lt_OTOOL64
17028 # Old archive suffix (normally "a").
17031 # Shared library suffix (normally ".so").
17032 shrext_cmds=$lt_shrext_cmds
17034 # The commands to extract the exported symbol list from a shared archive.
17035 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17037 # Variables whose values should be saved in libtool wrapper scripts and
17038 # restored at link time.
17039 variables_saved_for_relink=$lt_variables_saved_for_relink
17041 # Do we need the "lib" prefix for modules?
17042 need_lib_prefix=$need_lib_prefix
17044 # Do we need a version for libraries?
17045 need_version=$need_version
17047 # Library versioning type.
17048 version_type=$version_type
17050 # Shared library runtime path variable.
17051 runpath_var=$runpath_var
17053 # Shared library path variable.
17054 shlibpath_var=$shlibpath_var
17056 # Is shlibpath searched before the hard-coded library search path?
17057 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17059 # Format of library name prefix.
17060 libname_spec=$lt_libname_spec
17062 # List of archive names. First name is the real one, the rest are links.
17063 # The last name is the one that the linker finds with -lNAME
17064 library_names_spec=$lt_library_names_spec
17066 # The coded name of the library, if different from the real name.
17067 soname_spec=$lt_soname_spec
17069 # Permission mode override for installation of shared libraries.
17070 install_override_mode=$lt_install_override_mode
17072 # Command to use after installation of a shared archive.
17073 postinstall_cmds=$lt_postinstall_cmds
17075 # Command to use after uninstallation of a shared archive.
17076 postuninstall_cmds=$lt_postuninstall_cmds
17078 # Commands used to finish a libtool library installation in a directory.
17079 finish_cmds=$lt_finish_cmds
17081 # As "finish_cmds", except a single script fragment to be evaled but
17083 finish_eval=$lt_finish_eval
17085 # Whether we should hardcode library paths into libraries.
17086 hardcode_into_libs=$hardcode_into_libs
17088 # Compile-time system search path for libraries.
17089 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17091 # Run-time system search path for libraries.
17092 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17094 # Whether dlopen is supported.
17095 dlopen_support=$enable_dlopen
17097 # Whether dlopen of programs is supported.
17098 dlopen_self=$enable_dlopen_self
17100 # Whether dlopen of statically linked programs is supported.
17101 dlopen_self_static=$enable_dlopen_self_static
17103 # Commands to strip libraries.
17104 old_striplib=$lt_old_striplib
17105 striplib=$lt_striplib
17108 # The linker used to build libraries.
17111 # How to create reloadable object files.
17112 reload_flag=$lt_reload_flag
17113 reload_cmds=$lt_reload_cmds
17115 # Commands used to build an old-style archive.
17116 old_archive_cmds=$lt_old_archive_cmds
17118 # A language specific compiler.
17121 # Is the compiler the GNU compiler?
17124 # Compiler flag to turn off builtin functions.
17125 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17127 # How to pass a linker flag through the compiler.
17128 wl=$lt_lt_prog_compiler_wl
17130 # Additional compiler flags for building library objects.
17131 pic_flag=$lt_lt_prog_compiler_pic
17133 # Compiler flag to prevent dynamic linking.
17134 link_static_flag=$lt_lt_prog_compiler_static
17136 # Does compiler simultaneously support -c and -o options?
17137 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17139 # Whether or not to add -lc for building shared libraries.
17140 build_libtool_need_lc=$archive_cmds_need_lc
17142 # Whether or not to disallow shared libs when runtime libs are static.
17143 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17145 # Compiler flag to allow reflexive dlopens.
17146 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17148 # Compiler flag to generate shared objects directly from archives.
17149 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17151 # Whether the compiler copes with passing no objects directly.
17152 compiler_needs_object=$lt_compiler_needs_object
17154 # Create an old-style archive from a shared archive.
17155 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17157 # Create a temporary old-style archive to link instead of a shared archive.
17158 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17160 # Commands used to build a shared archive.
17161 archive_cmds=$lt_archive_cmds
17162 archive_expsym_cmds=$lt_archive_expsym_cmds
17164 # Commands used to build a loadable module if different from building
17165 # a shared archive.
17166 module_cmds=$lt_module_cmds
17167 module_expsym_cmds=$lt_module_expsym_cmds
17169 # Whether we are building with GNU ld or not.
17170 with_gnu_ld=$lt_with_gnu_ld
17172 # Flag that allows shared libraries with undefined symbols to be built.
17173 allow_undefined_flag=$lt_allow_undefined_flag
17175 # Flag that enforces no undefined symbols.
17176 no_undefined_flag=$lt_no_undefined_flag
17178 # Flag to hardcode \$libdir into a binary during linking.
17179 # This must work even if \$libdir does not exist
17180 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17182 # If ld is used when linking, flag to hardcode \$libdir into a binary
17183 # during linking. This must work even if \$libdir does not exist.
17184 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17186 # Whether we need a single "-rpath" flag with a separated argument.
17187 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17189 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17190 # DIR into the resulting binary.
17191 hardcode_direct=$hardcode_direct
17193 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17194 # DIR into the resulting binary and the resulting library dependency is
17195 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17196 # library is relocated.
17197 hardcode_direct_absolute=$hardcode_direct_absolute
17199 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17200 # into the resulting binary.
17201 hardcode_minus_L=$hardcode_minus_L
17203 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17204 # into the resulting binary.
17205 hardcode_shlibpath_var=$hardcode_shlibpath_var
17207 # Set to "yes" if building a shared library automatically hardcodes DIR
17208 # into the library and all subsequent libraries and executables linked
17210 hardcode_automatic=$hardcode_automatic
17212 # Set to yes if linker adds runtime paths of dependent libraries
17213 # to runtime path list.
17214 inherit_rpath=$inherit_rpath
17216 # Whether libtool must link a program against all its dependency libraries.
17217 link_all_deplibs=$link_all_deplibs
17219 # Fix the shell variable \$srcfile for the compiler.
17220 fix_srcfile_path=$lt_fix_srcfile_path
17222 # Set to "yes" if exported symbols are required.
17223 always_export_symbols=$always_export_symbols
17225 # The commands to list exported symbols.
17226 export_symbols_cmds=$lt_export_symbols_cmds
17228 # Symbols that should not be listed in the preloaded symbols.
17229 exclude_expsyms=$lt_exclude_expsyms
17231 # Symbols that must always be exported.
17232 include_expsyms=$lt_include_expsyms
17234 # Commands necessary for linking programs (against libraries) with templates.
17235 prelink_cmds=$lt_prelink_cmds
17237 # Specify filename containing input files.
17238 file_list_spec=$lt_file_list_spec
17240 # How to hardcode a shared library path into an executable.
17241 hardcode_action=$hardcode_action
17243 # ### END LIBTOOL CONFIG
17249 cat <<\_LT_EOF
>> "$cfgfile"
17250 # AIX sometimes has problems with the GCC collect2 program. For some
17251 # reason, if we set the COLLECT_NAMES environment variable, the problems
17252 # vanish in a puff of smoke.
17253 if test "X${COLLECT_NAMES+set}" != Xset
; then
17255 export COLLECT_NAMES
17262 ltmain
="$ac_aux_dir/ltmain.sh"
17265 # We use sed instead of cat because bash on DJGPP gets confused if
17266 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17267 # text mode, it properly converts lines to CR/LF. This bash problem
17268 # is reportedly fixed, but why not run on old versions too?
17269 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17270 ||
(rm -f "$cfgfile"; exit 1)
17274 cat << \_LT_EOF
>> "$cfgfile"
17276 # func_dirname file append nondir_replacement
17277 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17278 # otherwise set result to NONDIR_REPLACEMENT.
17282 */*) func_dirname_result
="${1%/*}${2}" ;;
17283 * ) func_dirname_result
="${3}" ;;
17287 # func_basename file
17290 func_basename_result
="${1##*/}"
17293 # func_dirname_and_basename file append nondir_replacement
17294 # perform func_basename and func_dirname in a single function
17296 # dirname: Compute the dirname of FILE. If nonempty,
17297 # add APPEND to the result, otherwise set result
17298 # to NONDIR_REPLACEMENT.
17299 # value returned in "$func_dirname_result"
17300 # basename: Compute filename of FILE.
17301 # value retuned in "$func_basename_result"
17302 # Implementation must be kept synchronized with func_dirname
17303 # and func_basename. For efficiency, we do not delegate to
17304 # those functions but instead duplicate the functionality here.
17305 func_dirname_and_basename
()
17308 */*) func_dirname_result
="${1%/*}${2}" ;;
17309 * ) func_dirname_result
="${3}" ;;
17311 func_basename_result
="${1##*/}"
17314 # func_stripname prefix suffix name
17315 # strip PREFIX and SUFFIX off of NAME.
17316 # PREFIX and SUFFIX must not contain globbing or regex special
17317 # characters, hashes, percent signs, but SUFFIX may contain a leading
17318 # dot (in which case that matches only a dot).
17321 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17322 # positional parameters, so assign one to ordinary parameter first.
17323 func_stripname_result
=${3}
17324 func_stripname_result
=${func_stripname_result#"${1}"}
17325 func_stripname_result
=${func_stripname_result%"${2}"}
17331 func_opt_split_opt
=${1%%=*}
17332 func_opt_split_arg
=${1#*=}
17339 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17340 *) func_lo2o_result
=${1} ;;
17344 # func_xform libobj-or-source
17347 func_xform_result
=${1%.*}.lo
17350 # func_arith arithmetic-term...
17353 func_arith_result
=$
(( $
* ))
17357 # STRING may not start with a hyphen.
17360 func_len_result
=${#1}
17365 *) # Bourne compatible functions.
17366 cat << \_LT_EOF
>> "$cfgfile"
17368 # func_dirname file append nondir_replacement
17369 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17370 # otherwise set result to NONDIR_REPLACEMENT.
17373 # Extract subdirectory from the argument.
17374 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17375 if test "X$func_dirname_result" = "X${1}"; then
17376 func_dirname_result
="${3}"
17378 func_dirname_result
="$func_dirname_result${2}"
17382 # func_basename file
17385 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17389 # func_stripname prefix suffix name
17390 # strip PREFIX and SUFFIX off of NAME.
17391 # PREFIX and SUFFIX must not contain globbing or regex special
17392 # characters, hashes, percent signs, but SUFFIX may contain a leading
17393 # dot (in which case that matches only a dot).
17394 # func_strip_suffix prefix name
17398 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17399 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17404 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17405 my_sed_long_arg
='1s/^-[^=]*=//'
17410 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17411 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17417 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17420 # func_xform libobj-or-source
17423 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17426 # func_arith arithmetic-term...
17429 func_arith_result
=`expr "$@"`
17433 # STRING may not start with a hyphen.
17436 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17442 case $lt_shell_append in
17444 cat << \_LT_EOF
>> "$cfgfile"
17446 # func_append var value
17447 # Append VALUE to the end of shell variable VAR.
17455 cat << \_LT_EOF
>> "$cfgfile"
17457 # func_append var value
17458 # Append VALUE to the end of shell variable VAR.
17469 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17470 ||
(rm -f "$cfgfile"; exit 1)
17472 mv -f "$cfgfile" "$ofile" ||
17473 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17477 cat <<_LT_EOF >> "$ofile"
17479 # ### BEGIN LIBTOOL TAG CONFIG: D
17481 # The linker used to build libraries.
17484 # How to create reloadable object files.
17485 reload_flag=$lt_reload_flag_D
17486 reload_cmds=$lt_reload_cmds_D
17488 # Commands used to build an old-style archive.
17489 old_archive_cmds=$lt_old_archive_cmds_D
17491 # A language specific compiler.
17494 # Is the compiler the GNU compiler?
17497 # Compiler flag to turn off builtin functions.
17498 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_D
17500 # How to pass a linker flag through the compiler.
17501 wl=$lt_lt_prog_compiler_wl_D
17503 # Additional compiler flags for building library objects.
17504 pic_flag=$lt_lt_prog_compiler_pic_D
17506 # Compiler flag to prevent dynamic linking.
17507 link_static_flag=$lt_lt_prog_compiler_static_D
17509 # Does compiler simultaneously support -c and -o options?
17510 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_D
17512 # Whether or not to add -lc for building shared libraries.
17513 build_libtool_need_lc=$archive_cmds_need_lc_D
17515 # Whether or not to disallow shared libs when runtime libs are static.
17516 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_D
17518 # Compiler flag to allow reflexive dlopens.
17519 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_D
17521 # Compiler flag to generate shared objects directly from archives.
17522 whole_archive_flag_spec=$lt_whole_archive_flag_spec_D
17524 # Whether the compiler copes with passing no objects directly.
17525 compiler_needs_object=$lt_compiler_needs_object_D
17527 # Create an old-style archive from a shared archive.
17528 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_D
17530 # Create a temporary old-style archive to link instead of a shared archive.
17531 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_D
17533 # Commands used to build a shared archive.
17534 archive_cmds=$lt_archive_cmds_D
17535 archive_expsym_cmds=$lt_archive_expsym_cmds_D
17537 # Commands used to build a loadable module if different from building
17538 # a shared archive.
17539 module_cmds=$lt_module_cmds_D
17540 module_expsym_cmds=$lt_module_expsym_cmds_D
17542 # Whether we are building with GNU ld or not.
17543 with_gnu_ld=$lt_with_gnu_ld_D
17545 # Flag that allows shared libraries with undefined symbols to be built.
17546 allow_undefined_flag=$lt_allow_undefined_flag_D
17548 # Flag that enforces no undefined symbols.
17549 no_undefined_flag=$lt_no_undefined_flag_D
17551 # Flag to hardcode \$libdir into a binary during linking.
17552 # This must work even if \$libdir does not exist
17553 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_D
17555 # If ld is used when linking, flag to hardcode \$libdir into a binary
17556 # during linking. This must work even if \$libdir does not exist.
17557 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_D
17559 # Whether we need a single "-rpath" flag with a separated argument.
17560 hardcode_libdir_separator=$lt_hardcode_libdir_separator_D
17562 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17563 # DIR into the resulting binary.
17564 hardcode_direct=$hardcode_direct_D
17566 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17567 # DIR into the resulting binary and the resulting library dependency is
17568 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17569 # library is relocated.
17570 hardcode_direct_absolute=$hardcode_direct_absolute_D
17572 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17573 # into the resulting binary.
17574 hardcode_minus_L=$hardcode_minus_L_D
17576 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17577 # into the resulting binary.
17578 hardcode_shlibpath_var=$hardcode_shlibpath_var_D
17580 # Set to "yes" if building a shared library automatically hardcodes DIR
17581 # into the library and all subsequent libraries and executables linked
17583 hardcode_automatic=$hardcode_automatic_D
17585 # Set to yes if linker adds runtime paths of dependent libraries
17586 # to runtime path list.
17587 inherit_rpath=$inherit_rpath_D
17589 # Whether libtool must link a program against all its dependency libraries.
17590 link_all_deplibs=$link_all_deplibs_D
17592 # Fix the shell variable \$srcfile for the compiler.
17593 fix_srcfile_path=$lt_fix_srcfile_path_D
17595 # Set to "yes" if exported symbols are required.
17596 always_export_symbols=$always_export_symbols_D
17598 # The commands to list exported symbols.
17599 export_symbols_cmds=$lt_export_symbols_cmds_D
17601 # Symbols that should not be listed in the preloaded symbols.
17602 exclude_expsyms=$lt_exclude_expsyms_D
17604 # Symbols that must always be exported.
17605 include_expsyms=$lt_include_expsyms_D
17607 # Commands necessary for linking programs (against libraries) with templates.
17608 prelink_cmds=$lt_prelink_cmds_D
17610 # Specify filename containing input files.
17611 file_list_spec=$lt_file_list_spec_D
17613 # How to hardcode a shared library path into an executable.
17614 hardcode_action=$hardcode_action_D
17616 # ### END LIBTOOL TAG CONFIG: D
17620 "testsuite/testsuite_flags":F
) chmod +x testsuite
/testsuite_flags
;;
17621 "libdruntime/Makefile":F
) cat > vpsed$$
<< \_EOF
17622 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17624 sed -f vpsed$$
$ac_file > tmp$$
17627 echo 'MULTISUBDIR =' >> $ac_file
17629 .
${multi_basedir}/config-ml.
in
17630 { ml_norecursion
=; unset ml_norecursion
;}
17632 "src/Makefile":F
) cat > vpsed$$
<< \_EOF
17633 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17635 sed -f vpsed$$
$ac_file > tmp$$
17638 echo 'MULTISUBDIR =' >> $ac_file
17640 .
${multi_basedir}/config-ml.
in
17641 { ml_norecursion
=; unset ml_norecursion
;}
17643 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
17644 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17646 sed -f vpsed$$
$ac_file > tmp$$
17649 echo 'MULTISUBDIR =' >> $ac_file
17651 .
${multi_basedir}/config-ml.
in
17652 { ml_norecursion
=; unset ml_norecursion
;}
17661 ac_clean_files
=$ac_clean_files_save
17663 test $ac_write_fail = 0 ||
17664 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17667 # configure is writing to config.log, and then calls config.status.
17668 # config.status does its own redirection, appending to config.log.
17669 # Unfortunately, on DOS this fails, as config.log is still kept open
17670 # by configure, so config.status won't be able to write to it; its
17671 # output is simply discarded. So we exec the FD to /dev/null,
17672 # effectively closing config.log, so it can be properly (re)opened and
17673 # appended to by config.status. When coming back to configure, we
17674 # need to make the FD available again.
17675 if test "$no_create" != yes; then
17677 ac_config_status_args
=
17678 test "$silent" = yes &&
17679 ac_config_status_args
="$ac_config_status_args --quiet"
17681 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17683 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17684 # would make configure fail if this is the last instruction.
17685 $ac_cs_success || as_fn_exit
1
17687 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17689 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}