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
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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 ENABLE_LIBDRUNTIME_ONLY_FALSE
641 ENABLE_LIBDRUNTIME_ONLY_TRUE
642 ENABLE_LIBPHOBOS_FALSE
643 ENABLE_LIBPHOBOS_TRUE
645 libphobos_toolexeclibdir
646 libphobos_toolexecdir
649 BACKTRACE_SUPPORTS_THREADS
650 BACKTRACE_USES_MALLOC
655 DCFG_HAVE_64BIT_ATOMICS
656 DCFG_HAVE_ATOMIC_BUILTINS
660 DRUNTIME_OS_MINFO_BRACKETING_FALSE
661 DRUNTIME_OS_MINFO_BRACKETING_TRUE
662 DCFG_MINFO_BRACKETING
663 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
664 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
665 DCFG_ARM_EABI_UNWINDER
667 DRUNTIME_OS_POSIX_FALSE
668 DRUNTIME_OS_POSIX_TRUE
669 DRUNTIME_OS_SOLARIS_FALSE
670 DRUNTIME_OS_SOLARIS_TRUE
671 DRUNTIME_OS_MINGW_FALSE
672 DRUNTIME_OS_MINGW_TRUE
673 DRUNTIME_OS_LINUX_FALSE
674 DRUNTIME_OS_LINUX_TRUE
675 DRUNTIME_OS_OPENBSD_FALSE
676 DRUNTIME_OS_OPENBSD_TRUE
677 DRUNTIME_OS_NETBSD_FALSE
678 DRUNTIME_OS_NETBSD_TRUE
679 DRUNTIME_OS_FREEBSD_FALSE
680 DRUNTIME_OS_FREEBSD_TRUE
681 DRUNTIME_OS_DRAGONFLYBSD_FALSE
682 DRUNTIME_OS_DRAGONFLYBSD_TRUE
683 DRUNTIME_OS_DARWIN_FALSE
684 DRUNTIME_OS_DARWIN_TRUE
685 DRUNTIME_OS_ANDROID_FALSE
686 DRUNTIME_OS_ANDROID_TRUE
687 DRUNTIME_OS_AIX_FALSE
689 DRUNTIME_CPU_S390_FALSE
690 DRUNTIME_CPU_S390_TRUE
691 DRUNTIME_CPU_SYSTEMZ_FALSE
692 DRUNTIME_CPU_SYSTEMZ_TRUE
693 DRUNTIME_CPU_X86_FALSE
694 DRUNTIME_CPU_X86_TRUE
695 DRUNTIME_CPU_POWERPC_FALSE
696 DRUNTIME_CPU_POWERPC_TRUE
697 DRUNTIME_CPU_MIPS_FALSE
698 DRUNTIME_CPU_MIPS_TRUE
699 DRUNTIME_CPU_ARM_FALSE
700 DRUNTIME_CPU_ARM_TRUE
701 DRUNTIME_CPU_AARCH64_FALSE
702 DRUNTIME_CPU_AARCH64_TRUE
706 phobos_compiler_shared_flag
707 phobos_compiler_pic_flag
729 MAINTAINER_MODE_FALSE
747 INSTALL_STRIP_PROGRAM
812 program_transform_name
823 ac_subst_files
='DRTSTUFF_SPEC'
825 enable_option_checking
828 enable_maintainer_mode
836 with_gcc_major_version_only
840 with_target_system_zlib
842 enable_version_specific_runtime_libs
845 with_libphobos_druntime_only
846 enable_libphobos_checking
848 ac_precious_vars
='build_alias
859 # Initialize some variables set by options.
861 ac_init_version
=false
862 ac_unrecognized_opts
=
864 # The variables have the same names as the options, with
865 # dashes changed to underlines.
873 program_transform_name
=s
,x
,x
,
881 # Installation directory options.
882 # These are left unexpanded so users can "make install exec_prefix=/foo"
883 # and all the variables that are supposed to be based on exec_prefix
884 # by default will actually change.
885 # Use braces instead of parens because sh, perl, etc. also accept them.
886 # (The list follows the same order as the GNU Coding Standards.)
887 bindir
='${exec_prefix}/bin'
888 sbindir
='${exec_prefix}/sbin'
889 libexecdir
='${exec_prefix}/libexec'
890 datarootdir
='${prefix}/share'
891 datadir
='${datarootdir}'
892 sysconfdir
='${prefix}/etc'
893 sharedstatedir
='${prefix}/com'
894 localstatedir
='${prefix}/var'
895 includedir
='${prefix}/include'
896 oldincludedir
='/usr/include'
897 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
898 infodir
='${datarootdir}/info'
903 libdir
='${exec_prefix}/lib'
904 localedir
='${datarootdir}/locale'
905 mandir
='${datarootdir}/man'
911 # If the previous option needs an argument, assign it.
912 if test -n "$ac_prev"; then
913 eval $ac_prev=\
$ac_option
919 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
924 # Accept the important Cygnus configure options, so we can diagnose typos.
926 case $ac_dashdash$ac_option in
930 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
932 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
935 -build |
--build |
--buil |
--bui |
--bu)
936 ac_prev
=build_alias
;;
937 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
938 build_alias
=$ac_optarg ;;
940 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
941 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
942 ac_prev
=cache_file
;;
943 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
944 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
945 cache_file
=$ac_optarg ;;
948 cache_file
=config.cache
;;
950 -datadir |
--datadir |
--datadi |
--datad)
952 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
953 datadir
=$ac_optarg ;;
955 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
956 |
--dataroo |
--dataro |
--datar)
957 ac_prev
=datarootdir
;;
958 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
959 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
960 datarootdir
=$ac_optarg ;;
962 -disable-* |
--disable-*)
963 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
966 as_fn_error $?
"invalid feature name: $ac_useropt"
967 ac_useropt_orig
=$ac_useropt
968 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
973 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
974 ac_unrecognized_sep
=', ';;
976 eval enable_
$ac_useropt=no
;;
978 -docdir |
--docdir |
--docdi |
--doc |
--do)
980 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
983 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
985 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
988 -enable-* |
--enable-*)
989 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
992 as_fn_error $?
"invalid feature name: $ac_useropt"
993 ac_useropt_orig
=$ac_useropt
994 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
999 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1000 ac_unrecognized_sep
=', ';;
1002 eval enable_
$ac_useropt=\
$ac_optarg ;;
1004 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1005 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1006 |
--exec |
--exe |
--ex)
1007 ac_prev
=exec_prefix
;;
1008 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1009 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1010 |
--exec=* |
--exe=* |
--ex=*)
1011 exec_prefix
=$ac_optarg ;;
1013 -gas |
--gas |
--ga |
--g)
1014 # Obsolete; use --with-gas.
1017 -help |
--help |
--hel |
--he |
-h)
1018 ac_init_help
=long
;;
1019 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1020 ac_init_help
=recursive
;;
1021 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1022 ac_init_help
=short
;;
1024 -host |
--host |
--hos |
--ho)
1025 ac_prev
=host_alias
;;
1026 -host=* |
--host=* |
--hos=* |
--ho=*)
1027 host_alias
=$ac_optarg ;;
1029 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1031 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1033 htmldir
=$ac_optarg ;;
1035 -includedir |
--includedir |
--includedi |
--included |
--include \
1036 |
--includ |
--inclu |
--incl |
--inc)
1037 ac_prev
=includedir
;;
1038 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1039 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1040 includedir
=$ac_optarg ;;
1042 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1044 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1045 infodir
=$ac_optarg ;;
1047 -libdir |
--libdir |
--libdi |
--libd)
1049 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1050 libdir
=$ac_optarg ;;
1052 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1053 |
--libexe |
--libex |
--libe)
1054 ac_prev
=libexecdir
;;
1055 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1056 |
--libexe=* |
--libex=* |
--libe=*)
1057 libexecdir
=$ac_optarg ;;
1059 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1060 ac_prev
=localedir
;;
1061 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1062 localedir
=$ac_optarg ;;
1064 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1065 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1066 ac_prev
=localstatedir
;;
1067 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1068 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1069 localstatedir
=$ac_optarg ;;
1071 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1073 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1074 mandir
=$ac_optarg ;;
1076 -nfp |
--nfp |
--nf)
1077 # Obsolete; use --without-fp.
1080 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1081 |
--no-cr |
--no-c |
-n)
1084 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1085 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1088 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1089 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1090 |
--oldin |
--oldi |
--old |
--ol |
--o)
1091 ac_prev
=oldincludedir
;;
1092 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1093 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1094 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1095 oldincludedir
=$ac_optarg ;;
1097 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1099 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1100 prefix
=$ac_optarg ;;
1102 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1103 |
--program-pre |
--program-pr |
--program-p)
1104 ac_prev
=program_prefix
;;
1105 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1106 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1107 program_prefix
=$ac_optarg ;;
1109 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1110 |
--program-suf |
--program-su |
--program-s)
1111 ac_prev
=program_suffix
;;
1112 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1113 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1114 program_suffix
=$ac_optarg ;;
1116 -program-transform-name |
--program-transform-name \
1117 |
--program-transform-nam |
--program-transform-na \
1118 |
--program-transform-n |
--program-transform- \
1119 |
--program-transform |
--program-transfor \
1120 |
--program-transfo |
--program-transf \
1121 |
--program-trans |
--program-tran \
1122 |
--progr-tra |
--program-tr |
--program-t)
1123 ac_prev
=program_transform_name
;;
1124 -program-transform-name=* |
--program-transform-name=* \
1125 |
--program-transform-nam=* |
--program-transform-na=* \
1126 |
--program-transform-n=* |
--program-transform-=* \
1127 |
--program-transform=* |
--program-transfor=* \
1128 |
--program-transfo=* |
--program-transf=* \
1129 |
--program-trans=* |
--program-tran=* \
1130 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1131 program_transform_name
=$ac_optarg ;;
1133 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1135 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1136 pdfdir
=$ac_optarg ;;
1138 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1140 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1143 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1144 |
-silent |
--silent |
--silen |
--sile |
--sil)
1147 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1149 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1151 sbindir
=$ac_optarg ;;
1153 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1154 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1155 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1157 ac_prev
=sharedstatedir
;;
1158 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1159 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1160 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1162 sharedstatedir
=$ac_optarg ;;
1164 -site |
--site |
--sit)
1166 -site=* |
--site=* |
--sit=*)
1169 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1171 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1172 srcdir
=$ac_optarg ;;
1174 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1175 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1176 ac_prev
=sysconfdir
;;
1177 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1178 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1179 sysconfdir
=$ac_optarg ;;
1181 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1182 ac_prev
=target_alias
;;
1183 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1184 target_alias
=$ac_optarg ;;
1186 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1189 -version |
--version |
--versio |
--versi |
--vers |
-V)
1190 ac_init_version
=: ;;
1193 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1196 as_fn_error $?
"invalid package name: $ac_useropt"
1197 ac_useropt_orig
=$ac_useropt
1198 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1204 ac_unrecognized_sep
=', ';;
1206 eval with_
$ac_useropt=\
$ac_optarg ;;
1208 -without-* |
--without-*)
1209 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1210 # Reject names that are not valid shell variable names.
1211 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1212 as_fn_error $?
"invalid package name: $ac_useropt"
1213 ac_useropt_orig
=$ac_useropt
1214 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1215 case $ac_user_opts in
1219 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1220 ac_unrecognized_sep
=', ';;
1222 eval with_
$ac_useropt=no
;;
1225 # Obsolete; use --with-x.
1228 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1229 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1230 ac_prev
=x_includes
;;
1231 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1232 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1233 x_includes
=$ac_optarg ;;
1235 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1236 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1237 ac_prev
=x_libraries
;;
1238 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1239 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1240 x_libraries
=$ac_optarg ;;
1242 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1243 Try \`$0 --help' for more information"
1247 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1248 # Reject names that are not valid shell variable names.
1249 case $ac_envvar in #(
1250 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1251 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1253 eval $ac_envvar=\
$ac_optarg
1254 export $ac_envvar ;;
1257 # FIXME: should be removed in autoconf 3.0.
1258 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1259 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1260 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1261 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1267 if test -n "$ac_prev"; then
1268 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1269 as_fn_error $?
"missing argument to $ac_option"
1272 if test -n "$ac_unrecognized_opts"; then
1273 case $enable_option_checking in
1275 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1276 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1280 # Check all directory arguments for consistency.
1281 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1282 datadir sysconfdir sharedstatedir localstatedir includedir \
1283 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1284 libdir localedir mandir
1286 eval ac_val
=\$
$ac_var
1287 # Remove trailing slashes.
1290 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1291 eval $ac_var=\
$ac_val;;
1293 # Be sure to have absolute directory names.
1295 [\\/$
]* | ?
:[\\/]* ) continue;;
1296 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1298 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1301 # There might be people who depend on the old broken behavior: `$host'
1302 # used to hold the argument of --host etc.
1303 # FIXME: To remove some day.
1306 target
=$target_alias
1308 # FIXME: To remove some day.
1309 if test "x$host_alias" != x
; then
1310 if test "x$build_alias" = x
; then
1311 cross_compiling
=maybe
1312 elif test "x$build_alias" != "x$host_alias"; then
1318 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1320 test "$silent" = yes && exec 6>/dev
/null
1323 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di
=`ls -di .` &&
1325 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1326 as_fn_error $?
"working directory cannot be determined"
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328 as_fn_error $?
"pwd does not report name of working directory"
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333 ac_srcdir_defaulted
=yes
1334 # Try the directory containing this script, then the parent directory.
1335 ac_confdir
=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337 X"$as_myself" : 'X\(//\)[^/]' \| \
1338 X"$as_myself" : 'X\(//\)$' \| \
1339 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1363 ac_srcdir_defaulted
=no
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1367 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1369 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1381 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1383 for ac_var
in $ac_precious_vars; do
1384 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1385 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1386 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1387 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1391 # Report the --help message.
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1397 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1404 Defaults for the options are specified in brackets.
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking ...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1428 For better control, use the options below.
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/libphobos]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1455 --program-prefix=PREFIX prepend PREFIX to installed program names
1456 --program-suffix=SUFFIX append SUFFIX to installed program names
1457 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1460 --build=BUILD configure
for building on BUILD
[guessed
]
1461 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1462 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1466 if test -n "$ac_init_help"; then
1467 case $ac_init_help in
1468 short | recursive
) echo "Configuration of package-unused version-unused:";;
1473 --disable-option-checking ignore unrecognized
--enable/--with options
1474 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1475 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1476 --enable-multilib build many library versions
(default
)
1477 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1478 --disable-silent-rules verbose build output
(undo
: "make V=0")
1479 --enable-maintainer-mode
1480 enable make rules and dependencies not useful
(and
1481 sometimes confusing
) to the casual installer
1482 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1483 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1484 --enable-static[=PKGS
] build static libraries
[default
=yes]
1485 --enable-fast-install[=PKGS
]
1486 optimize
for fast installation
[default
=yes]
1487 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1488 --enable-werror turns on
-Werror [default
=no
]
1489 --enable-version-specific-runtime-libs
1490 Specify that runtime libraries should be installed
1491 in a compiler-specific directory
1492 --enable-libphobos Enable libphobos
1493 --enable-libphobos-checking[=LIST
]
1494 enable expensive run-time checks. With LIST
, enable
1495 only specific categories of checks. Categories are
:
1496 yes,no
,all
,none
,release. Flags are
: assert or other
1500 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1501 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1502 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1504 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1505 --with-gcc-major-version-only
1506 use only GCC major number
in filesystem paths
1507 --without-libatomic Do not use libatomic
in core.atomic
(default
: auto
)
1508 --without-libbacktrace Do not use libbacktrace
in core.runtime
(default
:
1510 --with-target-system-zlib={yes,no
,auto
}
1511 use installed libz
(default
: no
)
1512 --with-cross-host=HOST configuring with a cross compiler
1513 --with-toolexeclibdir=DIR
1514 install libraries built with a cross compiler within
1516 --with-libphobos-druntime-only={yes,no
,auto
}
1517 build only the druntime library
(default
: auto
)
1519 Some influential environment variables
:
1520 CC C compiler
command
1521 CFLAGS C compiler flags
1522 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1523 nonstandard directory
<lib dir
>
1524 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1525 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1526 you have headers
in a nonstandard directory
<include dir
>
1528 CCAS assembler compiler
command (defaults to CC
)
1529 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1530 GDC D compiler
command
1531 GDCFLAGS D compiler flags
1533 Use these variables to override the choices made by
`configure' or to help
1534 it to find libraries and programs with nonstandard names/locations.
1536 Report bugs to the package provider.
1541 if test "$ac_init_help" = "recursive"; then
1542 # If there are subdirs, report their specific --help.
1543 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1544 test -d "$ac_dir" ||
1545 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1550 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1552 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1553 # A ".." for each directory in $ac_dir_suffix.
1554 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1555 case $ac_top_builddir_sub in
1556 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1560 ac_abs_top_builddir=$ac_pwd
1561 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1562 # for backward compatibility:
1563 ac_top_builddir=$ac_top_build_prefix
1566 .) # We are building in place.
1568 ac_top_srcdir=$ac_top_builddir_sub
1569 ac_abs_top_srcdir=$ac_pwd ;;
1570 [\\/]* | ?:[\\/]* ) # Absolute name.
1571 ac_srcdir=$srcdir$ac_dir_suffix;
1572 ac_top_srcdir=$srcdir
1573 ac_abs_top_srcdir=$srcdir ;;
1575 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1576 ac_top_srcdir=$ac_top_build_prefix$srcdir
1577 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1579 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1581 cd "$ac_dir" || { ac_status=$?; continue; }
1582 # Check for guested configure.
1583 if test -f "$ac_srcdir/configure.gnu"; then
1585 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1586 elif test -f "$ac_srcdir/configure"; then
1588 $SHELL "$ac_srcdir/configure" --help=recursive
1590 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1592 cd "$ac_pwd" || { ac_status=$?; break; }
1596 test -n "$ac_init_help" && exit $ac_status
1597 if $ac_init_version; then
1599 package-unused configure version-unused
1600 generated by GNU Autoconf 2.69
1602 Copyright (C) 2012 Free Software Foundation, Inc.
1603 This configure script is free software; the Free Software Foundation
1604 gives unlimited permission to copy, distribute and modify it.
1609 ## ------------------------ ##
1610 ## Autoconf initialization. ##
1611 ## ------------------------ ##
1613 # ac_fn_c_try_compile LINENO
1614 # --------------------------
1615 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1616 ac_fn_c_try_compile ()
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 rm -f conftest.$ac_objext
1620 if { { ac_try="$ac_compile"
1622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1623 *) ac_try_echo
=$ac_try;;
1625 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627 (eval "$ac_compile") 2>conftest.err
1629 if test -s conftest.err
; then
1630 grep -v '^ *+' conftest.err
>conftest.er1
1631 cat conftest.er1
>&5
1632 mv -f conftest.er1 conftest.err
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; } && {
1636 test -z "$ac_c_werror_flag" ||
1637 test ! -s conftest.err
1638 } && test -s conftest.
$ac_objext; then :
1641 $as_echo "$as_me: failed program was:" >&5
1642 sed 's/^/| /' conftest.
$ac_ext >&5
1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1647 as_fn_set_status
$ac_retval
1649 } # ac_fn_c_try_compile
1651 # ac_fn_c_try_cpp LINENO
1652 # ----------------------
1653 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1656 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1657 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1666 if test -s conftest.err; then
1667 grep -v '^ *+' conftest.err >conftest.er1
1668 cat conftest.er1 >&5
1669 mv -f conftest.er1 conftest.err
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } > conftest.i && {
1673 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1674 test ! -s conftest.err
1678 $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.$ac_ext >&5
1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684 as_fn_set_status $ac_retval
1688 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1689 # -------------------------------------------------------
1690 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1691 # the include files in INCLUDES and setting the cache variable VAR
1693 ac_fn_c_check_header_mongrel ()
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 if eval \${$3+:} false; then :
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698 $as_echo_n "checking for $2... " >&6; }
1699 if eval \${$3+:} false; then :
1700 $as_echo_n "(cached) " >&6
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1704 $as_echo "$ac_res" >&6; }
1706 # Is the header compilable?
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1708 $as_echo_n "checking $2 usability... " >&6; }
1709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1714 if ac_fn_c_try_compile "$LINENO"; then :
1715 ac_header_compiler=yes
1717 ac_header_compiler=no
1719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1721 $as_echo "$ac_header_compiler" >&6; }
1723 # Is the header present?
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1725 $as_echo_n "checking $2 presence... " >&6; }
1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1730 if ac_fn_c_try_cpp "$LINENO"; then :
1731 ac_header_preproc=yes
1733 ac_header_preproc=no
1735 rm -f conftest.err conftest.i conftest.$ac_ext
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1737 $as_echo "$ac_header_preproc" >&6; }
1739 # So? What about this header?
1740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1743 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1745 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1749 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1751 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1753 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1755 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1757 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761 $as_echo_n "checking for $2... " >&6; }
1762 if eval \${$3+:} false; then :
1763 $as_echo_n "(cached) " >&6
1765 eval "$3=\$ac_header_compiler"
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769 $as_echo "$ac_res" >&6; }
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773 } # ac_fn_c_check_header_mongrel
1775 # ac_fn_c_try_run LINENO
1776 # ----------------------
1777 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1778 # that executables *can* be run.
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 if { { ac_try="$ac_link"
1784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1785 *) ac_try_echo
=$ac_try;;
1787 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_link") 2>&5
1791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1793 { { case "(($ac_try" in
1794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1795 *) ac_try_echo=$ac_try;;
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_try") 2>&5
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; }; }; then :
1805 $as_echo "$as_me: program exited with status $ac_status" >&5
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1809 ac_retval=$ac_status
1811 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813 as_fn_set_status $ac_retval
1817 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1818 # -------------------------------------------------------
1819 # Tests whether HEADER exists and can be compiled using the include files in
1820 # INCLUDES, setting the cache variable VAR accordingly.
1821 ac_fn_c_check_header_compile ()
1823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1825 $as_echo_n "checking for $2... " >&6; }
1826 if eval \${$3+:} false; then :
1827 $as_echo_n "(cached) " >&6
1829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1830 /* end confdefs.h. */
1834 if ac_fn_c_try_compile "$LINENO"; then :
1839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846 } # ac_fn_c_check_header_compile
1848 # ac_fn_d_try_compile LINENO
1849 # --------------------------
1850 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1851 ac_fn_d_try_compile ()
1853 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1854 rm -f conftest.$ac_objext
1855 if { { ac_try="$ac_compile"
1857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1858 *) ac_try_echo
=$ac_try;;
1860 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1861 $as_echo "$ac_try_echo"; } >&5
1862 (eval "$ac_compile") 2>conftest.err
1864 if test -s conftest.err
; then
1865 grep -v '^ *+' conftest.err
>conftest.er1
1866 cat conftest.er1
>&5
1867 mv -f conftest.er1 conftest.err
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; } && {
1871 test -z "$ac_d_werror_flag" ||
1872 test ! -s conftest.err
1873 } && test -s conftest.
$ac_objext; then :
1876 $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.
$ac_ext >&5
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 as_fn_set_status
$ac_retval
1884 } # ac_fn_d_try_compile
1886 # ac_fn_c_try_link LINENO
1887 # -----------------------
1888 # Try to link conftest.$ac_ext, and return whether this succeeded.
1891 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1892 rm -f conftest.
$ac_objext conftest
$ac_exeext
1893 if { { ac_try
="$ac_link"
1895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1896 *) ac_try_echo=$ac_try;;
1898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899 $as_echo "$ac_try_echo"; } >&5
1900 (eval "$ac_link") 2>conftest.err
1902 if test -s conftest.err; then
1903 grep -v '^ *+' conftest.err >conftest.er1
1904 cat conftest.er1 >&5
1905 mv -f conftest.er1 conftest.err
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; } && {
1909 test -z "$ac_c_werror_flag" ||
1910 test ! -s conftest.err
1911 } && test -s conftest$ac_exeext && {
1912 test "$cross_compiling" = yes ||
1913 test -x conftest$ac_exeext
1917 $as_echo "$as_me: failed program was:" >&5
1918 sed 's/^/| /' conftest.$ac_ext >&5
1922 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1923 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1924 # interfere with the next link command; also delete a directory that is
1925 # left behind by Apple's compiler. We do this before executing the actions.
1926 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1928 as_fn_set_status $ac_retval
1930 } # ac_fn_c_try_link
1932 # ac_fn_c_check_func LINENO FUNC VAR
1933 # ----------------------------------
1934 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1935 ac_fn_c_check_func ()
1937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1939 $as_echo_n "checking for $2... " >&6; }
1940 if eval \${$3+:} false; then :
1941 $as_echo_n "(cached) " >&6
1943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1944 /* end confdefs.h. */
1945 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1947 #define $2 innocuous_$2
1949 /* System header to define __stub macros and hopefully few prototypes,
1950 which can conflict with char $2 (); below.
1951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1952 <limits.h> exists even on freestanding compilers. */
1955 # include <limits.h>
1957 # include <assert.h>
1962 /* Override any GCC internal prototype to avoid an error.
1963 Use char because int might match the return type of a GCC
1964 builtin and then its argument prototype would still apply. */
1969 /* The GNU C library defines this for functions which it implements
1970 to always fail with ENOSYS. Some functions are actually named
1971 something starting with __ and the normal name is an alias. */
1972 #if defined __stub_$2 || defined __stub___$2
1984 if ac_fn_c_try_link "$LINENO"; then :
1989 rm -f core conftest.err conftest.$ac_objext \
1990 conftest$ac_exeext conftest.$ac_ext
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994 $as_echo "$ac_res" >&6; }
1995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1997 } # ac_fn_c_check_func
1999 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2000 # ----------------------------------------------------
2001 # Tries to find if the field MEMBER exists in type AGGR, after including
2002 # INCLUDES, setting cache variable VAR accordingly.
2003 ac_fn_c_check_member ()
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2007 $as_echo_n "checking for $2.$3... " >&6; }
2008 if eval \${$4+:} false; then :
2009 $as_echo_n "(cached) " >&6
2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h. */
2024 if ac_fn_c_try_compile "$LINENO"; then :
2027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h. */
2034 if (sizeof ac_aggr.$3)
2040 if ac_fn_c_try_compile "$LINENO"; then :
2045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051 $as_echo "$ac_res" >&6; }
2052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2054 } # ac_fn_c_check_member
2056 # ac_fn_d_try_link LINENO
2057 # -----------------------
2058 # Try to link conftest.$ac_ext, and return whether this succeeded.
2061 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2062 rm -f conftest.$ac_objext conftest$ac_exeext
2063 if { { ac_try="$ac_link"
2065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2066 *) ac_try_echo
=$ac_try;;
2068 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2069 $as_echo "$ac_try_echo"; } >&5
2070 (eval "$ac_link") 2>conftest.err
2072 if test -s conftest.err
; then
2073 grep -v '^ *+' conftest.err
>conftest.er1
2074 cat conftest.er1
>&5
2075 mv -f conftest.er1 conftest.err
2077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2078 test $ac_status = 0; } && {
2079 test -z "$ac_d_werror_flag" ||
2080 test ! -s conftest.err
2081 } && test -s conftest
$ac_exeext && {
2082 test "$cross_compiling" = yes ||
2083 test -x conftest
$ac_exeext
2087 $as_echo "$as_me: failed program was:" >&5
2088 sed 's/^/| /' conftest.
$ac_ext >&5
2092 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2093 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2094 # interfere with the next link command; also delete a directory that is
2095 # left behind by Apple's compiler. We do this before executing the actions.
2096 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2097 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2098 as_fn_set_status
$ac_retval
2100 } # ac_fn_d_try_link
2101 cat >config.log
<<_ACEOF
2102 This file contains any messages produced by compilers while
2103 running configure, to aid debugging if configure makes a mistake.
2105 It was created by package-unused $as_me version-unused, which was
2106 generated by GNU Autoconf 2.69. Invocation command line was
2118 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2119 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2120 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2121 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2122 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2124 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2125 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2127 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2128 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2129 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2130 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2131 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2132 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2133 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir
=.
2142 $as_echo "PATH: $as_dir"
2158 # Keep a trace of the command line.
2159 # Strip out --no-create and --no-recursion so they do not pile up.
2160 # Strip out --silent because we don't want to record it for future runs.
2161 # Also quote any args containing shell meta-characters.
2162 # Make two passes to allow for proper duplicate-argument suppression.
2166 ac_must_keep_next
=false
2172 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2173 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2174 |
-silent |
--silent |
--silen |
--sile |
--sil)
2177 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2180 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2182 as_fn_append ac_configure_args1
" '$ac_arg'"
2183 if test $ac_must_keep_next = true
; then
2184 ac_must_keep_next
=false
# Got value, back to normal.
2187 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2188 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2189 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2190 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2191 case "$ac_configure_args0 " in
2192 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2195 -* ) ac_must_keep_next
=true
;;
2198 as_fn_append ac_configure_args
" '$ac_arg'"
2203 { ac_configure_args0
=; unset ac_configure_args0
;}
2204 { ac_configure_args1
=; unset ac_configure_args1
;}
2206 # When interrupted or exit'd, cleanup temporary files, and complete
2207 # config.log. We remove comments because anyway the quotes in there
2208 # would cause problems or look ugly.
2209 # WARNING: Use '\'' to represent an apostrophe within the trap.
2210 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2211 trap 'exit_status=$?
2212 # Save into config.log some information that might help in debugging.
2216 $as_echo "## ---------------- ##
2217 ## Cache variables. ##
2218 ## ---------------- ##"
2220 # The following way of writing the cache mishandles newlines in values,
2222 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2223 eval ac_val=\$$ac_var
2227 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2228 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2231 _ | IFS | as_nl) ;; #(
2232 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2233 *) { eval $ac_var=; unset $ac_var;} ;;
2238 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2239 *${as_nl}ac_space=\ *)
2241 "s/'\''/'\''\\\\'\'''\''/g;
2242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2245 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2252 $as_echo "## ----------------- ##
2253 ## Output variables. ##
2254 ## ----------------- ##"
2256 for ac_var in $ac_subst_vars
2258 eval ac_val=\$$ac_var
2260 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2262 $as_echo "$ac_var='\''$ac_val'\''"
2266 if test -n "$ac_subst_files"; then
2267 $as_echo "## ------------------- ##
2268 ## File substitutions. ##
2269 ## ------------------- ##"
2271 for ac_var
in $ac_subst_files
2273 eval ac_val
=\$
$ac_var
2275 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2277 $as_echo "$ac_var='\''$ac_val'\''"
2282 if test -s confdefs.h; then
2283 $as_echo "## ----------- ##
2290 test "$ac_signal" != 0 &&
2291 $as_echo "$as_me: caught signal $ac_signal"
2292 $as_echo "$as_me: exit $exit_status"
2294 rm -f core *.core core.conftest.* &&
2295 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2298 for ac_signal
in 1 2 13 15; do
2299 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2303 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2304 rm -f -r conftest
* confdefs.h
2306 $as_echo "/* confdefs.h */" > confdefs.h
2308 # Predefined preprocessor variables.
2310 cat >>confdefs.h
<<_ACEOF
2311 #define PACKAGE_NAME "$PACKAGE_NAME"
2314 cat >>confdefs.h
<<_ACEOF
2315 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2318 cat >>confdefs.h
<<_ACEOF
2319 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2322 cat >>confdefs.h
<<_ACEOF
2323 #define PACKAGE_STRING "$PACKAGE_STRING"
2326 cat >>confdefs.h
<<_ACEOF
2327 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2330 cat >>confdefs.h
<<_ACEOF
2331 #define PACKAGE_URL "$PACKAGE_URL"
2335 # Let the site file select an alternate cache file if it wants to.
2336 # Prefer an explicitly selected file to automatically selected ones.
2339 if test -n "$CONFIG_SITE"; then
2340 # We do not want a PATH search for config.site.
2341 case $CONFIG_SITE in #((
2342 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2343 */*) ac_site_file1
=$CONFIG_SITE;;
2344 *) ac_site_file1
=.
/$CONFIG_SITE;;
2346 elif test "x$prefix" != xNONE
; then
2347 ac_site_file1
=$prefix/share
/config.site
2348 ac_site_file2
=$prefix/etc
/config.site
2350 ac_site_file1
=$ac_default_prefix/share
/config.site
2351 ac_site_file2
=$ac_default_prefix/etc
/config.site
2353 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2355 test "x$ac_site_file" = xNONE
&& continue
2356 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2358 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2359 sed 's/^/| /' "$ac_site_file" >&5
2361 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2363 as_fn_error $?
"failed to load site script $ac_site_file
2364 See \`config.log' for more details" "$LINENO" 5; }
2368 if test -r "$cache_file"; then
2369 # Some versions of bash will fail to source /dev/null (special files
2370 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2371 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2373 $as_echo "$as_me: loading cache $cache_file" >&6;}
2375 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2376 *) .
"./$cache_file";;
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2381 $as_echo "$as_me: creating cache $cache_file" >&6;}
2385 # Check that the precious variables saved in the cache have kept the same
2387 ac_cache_corrupted
=false
2388 for ac_var
in $ac_precious_vars; do
2389 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2390 eval ac_new_set
=\
$ac_env_${ac_var}_set
2391 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2392 eval ac_new_val
=\
$ac_env_${ac_var}_value
2393 case $ac_old_set,$ac_new_set in
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2396 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2397 ac_cache_corrupted
=: ;;
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2400 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2401 ac_cache_corrupted
=: ;;
2404 if test "x$ac_old_val" != "x$ac_new_val"; then
2405 # differences in whitespace do not lead to failure.
2406 ac_old_val_w
=`echo x $ac_old_val`
2407 ac_new_val_w
=`echo x $ac_new_val`
2408 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2410 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2411 ac_cache_corrupted
=:
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2414 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2415 eval $ac_var=\
$ac_old_val
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2418 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2420 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2423 # Pass precious variables to config.status.
2424 if test "$ac_new_set" = set; then
2426 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2427 *) ac_arg
=$ac_var=$ac_new_val ;;
2429 case " $ac_configure_args " in
2430 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2431 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2435 if $ac_cache_corrupted; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2439 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2440 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2442 ## -------------------- ##
2443 ## Main body of script. ##
2444 ## -------------------- ##
2447 ac_cpp
='$CPP $CPPFLAGS'
2448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2457 ac_config_headers
="$ac_config_headers config.h"
2460 # Default to --enable-multilib
2461 # Check whether --enable-multilib was given.
2462 if test "${enable_multilib+set}" = set; then :
2463 enableval
=$enable_multilib; case "$enableval" in
2464 yes) multilib
=yes ;;
2466 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2473 # We may get other options which we leave undocumented:
2474 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2475 # See config-ml.in if you want the gory details.
2477 if test "$srcdir" = "."; then
2478 if test "$with_target_subdir" != "."; then
2479 multi_basedir
="$srcdir/$with_multisrctop../.."
2481 multi_basedir
="$srcdir/$with_multisrctop.."
2484 multi_basedir
="$srcdir/.."
2488 # Even if the default multilib is not a cross compilation,
2489 # it may be that some of the other multilibs are.
2490 if test $cross_compiling = no
&& test $multilib = yes \
2491 && test "x${with_multisubdir}" != x
; then
2492 cross_compiling
=maybe
2495 ac_config_commands
="$ac_config_commands default-1"
2498 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2499 if test -f "$ac_dir/install-sh"; then
2501 ac_install_sh
="$ac_aux_dir/install-sh -c"
2503 elif test -f "$ac_dir/install.sh"; then
2505 ac_install_sh
="$ac_aux_dir/install.sh -c"
2507 elif test -f "$ac_dir/shtool"; then
2509 ac_install_sh
="$ac_aux_dir/shtool install -c"
2513 if test -z "$ac_aux_dir"; then
2514 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2517 # These three variables are undocumented and unsupported,
2518 # and are intended to be withdrawn in a future Autoconf release.
2519 # They can cause serious problems if a builder's source tree is in a directory
2520 # whose full name contains unusual characters.
2521 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2522 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2523 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2526 # Make sure we can run config.sub.
2527 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2528 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2531 $as_echo_n "checking build system type... " >&6; }
2532 if ${ac_cv_build+:} false
; then :
2533 $as_echo_n "(cached) " >&6
2535 ac_build_alias
=$build_alias
2536 test "x$ac_build_alias" = x
&&
2537 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2538 test "x$ac_build_alias" = x
&&
2539 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2540 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2541 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2545 $as_echo "$ac_cv_build" >&6; }
2546 case $ac_cv_build in
2548 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2551 ac_save_IFS
=$IFS; IFS
='-'
2557 # Remember, the first character of IFS is used to create $*,
2558 # except with old shells:
2561 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2565 $as_echo_n "checking host system type... " >&6; }
2566 if ${ac_cv_host+:} false
; then :
2567 $as_echo_n "(cached) " >&6
2569 if test "x$host_alias" = x
; then
2570 ac_cv_host
=$ac_cv_build
2572 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2573 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2578 $as_echo "$ac_cv_host" >&6; }
2581 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2584 ac_save_IFS
=$IFS; IFS
='-'
2590 # Remember, the first character of IFS is used to create $*,
2591 # except with old shells:
2594 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2598 $as_echo_n "checking target system type... " >&6; }
2599 if ${ac_cv_target+:} false
; then :
2600 $as_echo_n "(cached) " >&6
2602 if test "x$target_alias" = x
; then
2603 ac_cv_target
=$ac_cv_host
2605 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2606 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2611 $as_echo "$ac_cv_target" >&6; }
2612 case $ac_cv_target in
2614 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2616 target
=$ac_cv_target
2617 ac_save_IFS
=$IFS; IFS
='-'
2623 # Remember, the first character of IFS is used to create $*,
2624 # except with old shells:
2627 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2630 # The aliases save the names the user supplied, while $host etc.
2631 # will get canonicalized.
2632 test -n "$target_alias" &&
2633 test "$program_prefix$program_suffix$program_transform_name" = \
2635 program_prefix
=${target_alias}-
2637 # Expand $ac_aux_dir to an absolute path.
2638 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2641 ac_cpp
='$CPP $CPPFLAGS'
2642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2645 if test -n "$ac_tool_prefix"; then
2646 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2647 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649 $as_echo_n "checking for $ac_word... " >&6; }
2650 if ${ac_cv_prog_CC+:} false
; then :
2651 $as_echo_n "(cached) " >&6
2653 if test -n "$CC"; then
2654 ac_cv_prog_CC
="$CC" # Let the user override the test.
2656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir
=.
2661 for ac_exec_ext
in '' $ac_executable_extensions; do
2662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2663 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2674 if test -n "$CC"; then
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2676 $as_echo "$CC" >&6; }
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 $as_echo "no" >&6; }
2684 if test -z "$ac_cv_prog_CC"; then
2686 # Extract the first word of "gcc", so it can be a program name with args.
2687 set dummy gcc
; ac_word
=$2
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2691 $as_echo_n "(cached) " >&6
2693 if test -n "$ac_ct_CC"; then
2694 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir
=.
2701 for ac_exec_ext
in '' $ac_executable_extensions; do
2702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2703 ac_cv_prog_ac_ct_CC
="gcc"
2704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2714 if test -n "$ac_ct_CC"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2716 $as_echo "$ac_ct_CC" >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2722 if test "x$ac_ct_CC" = x
; then
2725 case $cross_compiling:$ac_tool_warned in
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2729 ac_tool_warned
=yes ;;
2737 if test -z "$CC"; then
2738 if test -n "$ac_tool_prefix"; then
2739 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2740 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742 $as_echo_n "checking for $ac_word... " >&6; }
2743 if ${ac_cv_prog_CC+:} false
; then :
2744 $as_echo_n "(cached) " >&6
2746 if test -n "$CC"; then
2747 ac_cv_prog_CC
="$CC" # Let the user override the test.
2749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir
=.
2754 for ac_exec_ext
in '' $ac_executable_extensions; do
2755 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2756 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2767 if test -n "$CC"; then
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2769 $as_echo "$CC" >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772 $as_echo "no" >&6; }
2778 if test -z "$CC"; then
2779 # Extract the first word of "cc", so it can be a program name with args.
2780 set dummy cc
; ac_word
=$2
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if ${ac_cv_prog_CC+:} false
; then :
2784 $as_echo_n "(cached) " >&6
2786 if test -n "$CC"; then
2787 ac_cv_prog_CC
="$CC" # Let the user override the test.
2790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir
=.
2795 for ac_exec_ext
in '' $ac_executable_extensions; do
2796 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2797 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2798 ac_prog_rejected
=yes
2802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 if test $ac_prog_rejected = yes; then
2810 # We found a bogon in the path, so make sure we never use it.
2811 set dummy
$ac_cv_prog_CC
2813 if test $# != 0; then
2814 # We chose a different compiler from the bogus one.
2815 # However, it has the same basename, so the bogon will be chosen
2816 # first if we set CC to just the basename; use the full file name.
2818 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2824 if test -n "$CC"; then
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2826 $as_echo "$CC" >&6; }
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2829 $as_echo "no" >&6; }
2834 if test -z "$CC"; then
2835 if test -n "$ac_tool_prefix"; then
2836 for ac_prog
in cl.exe
2838 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2839 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2841 $as_echo_n "checking for $ac_word... " >&6; }
2842 if ${ac_cv_prog_CC+:} false
; then :
2843 $as_echo_n "(cached) " >&6
2845 if test -n "$CC"; then
2846 ac_cv_prog_CC
="$CC" # Let the user override the test.
2848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2852 test -z "$as_dir" && as_dir
=.
2853 for ac_exec_ext
in '' $ac_executable_extensions; do
2854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2855 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 if test -n "$CC"; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2868 $as_echo "$CC" >&6; }
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2871 $as_echo "no" >&6; }
2875 test -n "$CC" && break
2878 if test -z "$CC"; then
2880 for ac_prog
in cl.exe
2882 # Extract the first word of "$ac_prog", so it can be a program name with args.
2883 set dummy
$ac_prog; ac_word
=$2
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2885 $as_echo_n "checking for $ac_word... " >&6; }
2886 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2887 $as_echo_n "(cached) " >&6
2889 if test -n "$ac_ct_CC"; then
2890 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2896 test -z "$as_dir" && as_dir
=.
2897 for ac_exec_ext
in '' $ac_executable_extensions; do
2898 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2899 ac_cv_prog_ac_ct_CC
="$ac_prog"
2900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2909 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2910 if test -n "$ac_ct_CC"; then
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2912 $as_echo "$ac_ct_CC" >&6; }
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2915 $as_echo "no" >&6; }
2919 test -n "$ac_ct_CC" && break
2922 if test "x$ac_ct_CC" = x
; then
2925 case $cross_compiling:$ac_tool_warned in
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2929 ac_tool_warned
=yes ;;
2938 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2940 as_fn_error $?
"no acceptable C compiler found in \$PATH
2941 See \`config.log' for more details" "$LINENO" 5; }
2943 # Provide some information about the compiler.
2944 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2947 for ac_option
in --version -v -V -qversion; do
2948 { { ac_try
="$ac_compiler $ac_option >&5"
2950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2951 *) ac_try_echo=$ac_try;;
2953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2954 $as_echo "$ac_try_echo"; } >&5
2955 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2957 if test -s conftest.err; then
2959 ... rest of stderr output deleted ...
2960 10q' conftest.err >conftest.er1
2961 cat conftest.er1 >&5
2963 rm -f conftest.er1 conftest.err
2964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2965 test $ac_status = 0; }
2968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2969 /* end confdefs.h. */
2979 ac_clean_files_save=$ac_clean_files
2980 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2981 # Try to create an executable without -o first, disregard a.out.
2982 # It will help us diagnose broken compilers, and finding out an intuition
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2985 $as_echo_n "checking whether the C compiler works... " >&6; }
2986 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2988 # The possible output files:
2989 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2992 for ac_file in $ac_files
2995 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2996 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3001 if { { ac_try="$ac_link_default"
3003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3004 *) ac_try_echo
=$ac_try;;
3006 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3007 $as_echo "$ac_try_echo"; } >&5
3008 (eval "$ac_link_default") 2>&5
3010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3011 test $ac_status = 0; }; then :
3012 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3013 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3014 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3015 # so that the user can short-circuit this test for compilers unknown to
3017 for ac_file
in $ac_files ''
3019 test -f "$ac_file" ||
continue
3021 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3024 # We found the default executable, but exeext='' is most
3028 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3030 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3032 # We set ac_cv_exeext here because the later test for it is not
3033 # safe: cross compilers may not add the suffix if given an `-o'
3034 # argument, so we may need to know it at that point already.
3035 # Even if this section looks crufty: it has the advantage of
3042 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3047 if test -z "$ac_file"; then :
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3049 $as_echo "no" >&6; }
3050 $as_echo "$as_me: failed program was:" >&5
3051 sed 's/^/| /' conftest.
$ac_ext >&5
3053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3055 as_fn_error
77 "C compiler cannot create executables
3056 See \`config.log' for more details" "$LINENO" 5; }
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3059 $as_echo "yes" >&6; }
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3062 $as_echo_n "checking for C compiler default output file name... " >&6; }
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3064 $as_echo "$ac_file" >&6; }
3065 ac_exeext
=$ac_cv_exeext
3067 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3068 ac_clean_files
=$ac_clean_files_save
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3070 $as_echo_n "checking for suffix of executables... " >&6; }
3071 if { { ac_try
="$ac_link"
3073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3074 *) ac_try_echo=$ac_try;;
3076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3077 $as_echo "$ac_try_echo"; } >&5
3078 (eval "$ac_link") 2>&5
3080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3081 test $ac_status = 0; }; then :
3082 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3083 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3084 # work properly (i.e., refer to `conftest.exe'), while it won't with
3086 for ac_file
in conftest.exe conftest conftest.
*; do
3087 test -f "$ac_file" ||
continue
3089 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3090 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3098 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3099 See \`config.log' for more details" "$LINENO" 5; }
3101 rm -f conftest conftest
$ac_cv_exeext
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3103 $as_echo "$ac_cv_exeext" >&6; }
3105 rm -f conftest.
$ac_ext
3106 EXEEXT
=$ac_cv_exeext
3108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3114 FILE *f = fopen ("conftest.out", "w");
3115 return ferror (f) || fclose (f) != 0;
3121 ac_clean_files
="$ac_clean_files conftest.out"
3122 # Check that the compiler produces executables we can run. If not, either
3123 # the compiler is broken, or we cross compile.
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3125 $as_echo_n "checking whether we are cross compiling... " >&6; }
3126 if test "$cross_compiling" != yes; then
3127 { { ac_try
="$ac_link"
3129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133 $as_echo "$ac_try_echo"; } >&5
3134 (eval "$ac_link") 2>&5
3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; }
3138 if { ac_try='./conftest$ac_cv_exeext'
3139 { { case "(($ac_try" in
3140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3141 *) ac_try_echo
=$ac_try;;
3143 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3144 $as_echo "$ac_try_echo"; } >&5
3145 (eval "$ac_try") 2>&5
3147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3148 test $ac_status = 0; }; }; then
3151 if test "$cross_compiling" = maybe
; then
3154 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3155 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3156 as_fn_error $?
"cannot run C compiled programs.
3157 If you meant to cross compile, use \`--host'.
3158 See \`config.log' for more details" "$LINENO" 5; }
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3163 $as_echo "$cross_compiling" >&6; }
3165 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3166 ac_clean_files
=$ac_clean_files_save
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3168 $as_echo_n "checking for suffix of object files... " >&6; }
3169 if ${ac_cv_objext+:} false
; then :
3170 $as_echo_n "(cached) " >&6
3172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3183 rm -f conftest.o conftest.obj
3184 if { { ac_try
="$ac_compile"
3186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3187 *) ac_try_echo=$ac_try;;
3189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3190 $as_echo "$ac_try_echo"; } >&5
3191 (eval "$ac_compile") 2>&5
3193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3194 test $ac_status = 0; }; then :
3195 for ac_file in conftest.o conftest.obj conftest.*; do
3196 test -f "$ac_file" || continue;
3198 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3199 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3204 $as_echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3209 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3210 See \
`config.log' for more details" "$LINENO" 5; }
3212 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3215 $as_echo "$ac_cv_objext" >&6; }
3216 OBJEXT=$ac_cv_objext
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3219 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3220 if ${ac_cv_c_compiler_gnu+:} false; then :
3221 $as_echo_n "(cached) " >&6
3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3224 /* end confdefs.h. */
3237 if ac_fn_c_try_compile "$LINENO"; then :
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3247 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3248 if test $ac_compiler_gnu = yes; then
3253 ac_test_CFLAGS=${CFLAGS+set}
3254 ac_save_CFLAGS=$CFLAGS
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3256 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3257 if ${ac_cv_prog_cc_g+:} false; then :
3258 $as_echo_n "(cached) " >&6
3260 ac_save_c_werror_flag=$ac_c_werror_flag
3261 ac_c_werror_flag=yes
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3275 if ac_fn_c_try_compile "$LINENO"; then :
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3290 if ac_fn_c_try_compile "$LINENO"; then :
3293 ac_c_werror_flag=$ac_save_c_werror_flag
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3306 if ac_fn_c_try_compile "$LINENO"; then :
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314 ac_c_werror_flag=$ac_save_c_werror_flag
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3317 $as_echo "$ac_cv_prog_cc_g" >&6; }
3318 if test "$ac_test_CFLAGS" = set; then
3319 CFLAGS=$ac_save_CFLAGS
3320 elif test $ac_cv_prog_cc_g = yes; then
3321 if test "$GCC" = yes; then
3327 if test "$GCC" = yes; then
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3334 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3335 if ${ac_cv_prog_cc_c89+:} false; then :
3336 $as_echo_n "(cached) " >&6
3338 ac_cv_prog_cc_c89=no
3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3345 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3346 struct buf { int x; };
3347 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3348 static char *e (p, i)
3354 static char *f (char * (*g) (char **, int), char **p, ...)
3359 s = g (p, va_arg (v,int));
3364 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3365 function prototypes and stuff, but not '\xHH' hex character constants.
3366 These don't provoke an error unfortunately, instead are silently treated
3367 as 'x'. The following induces an error, until -std is added to get
3368 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3369 array size at least. It's necessary to write '\x00'==0 to get something
3370 that's true only with -std. */
3371 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3373 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3374 inside strings and character constants. */
3376 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3378 int test (int i, double x);
3379 struct s1 {int (*f) (int a);};
3380 struct s2 {int (*f) (double a);};
3381 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3387 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3392 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3393 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3395 CC="$ac_save_CC $ac_arg"
3396 if ac_fn_c_try_compile "$LINENO"; then :
3397 ac_cv_prog_cc_c89=$ac_arg
3399 rm -f core conftest.err conftest.$ac_objext
3400 test "x$ac_cv_prog_cc_c89" != "xno" && break
3402 rm -f conftest.$ac_ext
3407 case "x$ac_cv_prog_cc_c89" in
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3410 $as_echo "none needed" >&6; } ;;
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3413 $as_echo "unsupported" >&6; } ;;
3415 CC="$CC $ac_cv_prog_cc_c89"
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3417 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3419 if test "x$ac_cv_prog_cc_c89" != xno; then :
3424 ac_cpp='$CPP $CPPFLAGS'
3425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3430 ac_cpp='$CPP $CPPFLAGS'
3431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3435 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3436 if ${am_cv_prog_cc_c_o+:} false; then :
3437 $as_echo_n "(cached) " >&6
3439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h. */
3450 # Make sure it works both with $CC and with simple cc.
3451 # Following AC_PROG_CC_C_O, we do the test twice because some
3452 # compilers refuse to overwrite an existing .o file with -o,
3453 # though they will create one.
3454 am_cv_prog_cc_c_o=yes
3456 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3457 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460 (exit $ac_status); } \
3461 && test -f conftest2.$ac_objext; then
3464 am_cv_prog_cc_c_o=no
3468 rm -f core conftest*
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3472 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3473 if test "$am_cv_prog_cc_c_o" != yes; then
3474 # Losing compiler, so override with the script.
3475 # FIXME: It is wrong to rewrite CC.
3476 # But if we don't then we get into trouble of one sort or another.
3477 # A longer-term fix would be to have automake use am__CC in this case,
3478 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3479 CC="$am_aux_dir/compile $CC"
3482 ac_cpp='$CPP $CPPFLAGS'
3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3490 ac_cpp='$CPP $CPPFLAGS'
3491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3495 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3496 # On Suns, sometimes $CPP names a directory.
3497 if test -n "$CPP" && test -d "$CPP"; then
3500 if test -z "$CPP"; then
3501 if ${ac_cv_prog_CPP+:} false; then :
3502 $as_echo_n "(cached) " >&6
3504 # Double quotes because CPP needs to be expanded
3505 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3508 for ac_c_preproc_warn_flag in '' yes
3510 # Use a header file that comes with gcc, so configuring glibc
3511 # with a fresh cross-compiler works.
3512 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3513 # <limits.h> exists even on freestanding compilers.
3514 # On the NeXT, cc -E runs the code through the compiler's parser,
3515 # not just through cpp. "Syntax error" is here to catch this case.
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3519 # include <limits.h>
3521 # include <assert.h>
3525 if ac_fn_c_try_cpp "$LINENO"; then :
3528 # Broken: fails on valid input.
3531 rm -f conftest.err conftest.i conftest.$ac_ext
3533 # OK, works on sane cases. Now check whether nonexistent headers
3534 # can be detected and how.
3535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3536 /* end confdefs.h. */
3537 #include <ac_nonexistent.h>
3539 if ac_fn_c_try_cpp "$LINENO"; then :
3540 # Broken: success on invalid input.
3543 # Passes both tests.
3547 rm -f conftest.err conftest.i conftest.$ac_ext
3550 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3551 rm -f conftest.i conftest.err conftest.
$ac_ext
3552 if $ac_preproc_ok; then :
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3565 $as_echo "$CPP" >&6; }
3567 for ac_c_preproc_warn_flag
in '' yes
3569 # Use a header file that comes with gcc, so configuring glibc
3570 # with a fresh cross-compiler works.
3571 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3572 # <limits.h> exists even on freestanding compilers.
3573 # On the NeXT, cc -E runs the code through the compiler's parser,
3574 # not just through cpp. "Syntax error" is here to catch this case.
3575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3578 # include <limits.h>
3580 # include <assert.h>
3584 if ac_fn_c_try_cpp
"$LINENO"; then :
3587 # Broken: fails on valid input.
3590 rm -f conftest.err conftest.i conftest.
$ac_ext
3592 # OK, works on sane cases. Now check whether nonexistent headers
3593 # can be detected and how.
3594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3596 #include <ac_nonexistent.h>
3598 if ac_fn_c_try_cpp
"$LINENO"; then :
3599 # Broken: success on invalid input.
3602 # Passes both tests.
3606 rm -f conftest.err conftest.i conftest.
$ac_ext
3609 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3610 rm -f conftest.i conftest.err conftest.
$ac_ext
3611 if $ac_preproc_ok; then :
3614 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3616 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3617 See \`config.log' for more details" "$LINENO" 5; }
3621 ac_cpp
='$CPP $CPPFLAGS'
3622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3628 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3629 if ${ac_cv_path_GREP+:} false
; then :
3630 $as_echo_n "(cached) " >&6
3632 if test -z "$GREP"; then
3633 ac_path_GREP_found
=false
3634 # Loop through the user's path and test for each of PROGNAME-LIST
3635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3636 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3639 test -z "$as_dir" && as_dir
=.
3640 for ac_prog
in grep ggrep
; do
3641 for ac_exec_ext
in '' $ac_executable_extensions; do
3642 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3643 as_fn_executable_p
"$ac_path_GREP" ||
continue
3644 # Check for GNU ac_path_GREP and select it if it is found.
3645 # Check for GNU $ac_path_GREP
3646 case `"$ac_path_GREP" --version 2>&1` in
3648 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3651 $as_echo_n 0123456789 >"conftest.in"
3654 cat "conftest.in" "conftest.in" >"conftest.tmp"
3655 mv "conftest.tmp" "conftest.in"
3656 cp "conftest.in" "conftest.nl"
3657 $as_echo 'GREP' >> "conftest.nl"
3658 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3659 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3660 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3661 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3662 # Best one so far, save it but keep looking for a better one
3663 ac_cv_path_GREP
="$ac_path_GREP"
3664 ac_path_GREP_max
=$ac_count
3666 # 10*(2^10) chars as input seems more than enough
3667 test $ac_count -gt 10 && break
3669 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3672 $ac_path_GREP_found && break 3
3677 if test -z "$ac_cv_path_GREP"; then
3678 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3681 ac_cv_path_GREP
=$GREP
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3686 $as_echo "$ac_cv_path_GREP" >&6; }
3687 GREP
="$ac_cv_path_GREP"
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3691 $as_echo_n "checking for egrep... " >&6; }
3692 if ${ac_cv_path_EGREP+:} false
; then :
3693 $as_echo_n "(cached) " >&6
3695 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3696 then ac_cv_path_EGREP
="$GREP -E"
3698 if test -z "$EGREP"; then
3699 ac_path_EGREP_found
=false
3700 # Loop through the user's path and test for each of PROGNAME-LIST
3701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3702 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3705 test -z "$as_dir" && as_dir
=.
3706 for ac_prog
in egrep; do
3707 for ac_exec_ext
in '' $ac_executable_extensions; do
3708 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3709 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3710 # Check for GNU ac_path_EGREP and select it if it is found.
3711 # Check for GNU $ac_path_EGREP
3712 case `"$ac_path_EGREP" --version 2>&1` in
3714 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3717 $as_echo_n 0123456789 >"conftest.in"
3720 cat "conftest.in" "conftest.in" >"conftest.tmp"
3721 mv "conftest.tmp" "conftest.in"
3722 cp "conftest.in" "conftest.nl"
3723 $as_echo 'EGREP' >> "conftest.nl"
3724 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3725 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3726 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3727 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3728 # Best one so far, save it but keep looking for a better one
3729 ac_cv_path_EGREP
="$ac_path_EGREP"
3730 ac_path_EGREP_max
=$ac_count
3732 # 10*(2^10) chars as input seems more than enough
3733 test $ac_count -gt 10 && break
3735 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3738 $ac_path_EGREP_found && break 3
3743 if test -z "$ac_cv_path_EGREP"; then
3744 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3747 ac_cv_path_EGREP
=$EGREP
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3753 $as_echo "$ac_cv_path_EGREP" >&6; }
3754 EGREP
="$ac_cv_path_EGREP"
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3758 $as_echo_n "checking for ANSI C header files... " >&6; }
3759 if ${ac_cv_header_stdc+:} false
; then :
3760 $as_echo_n "(cached) " >&6
3762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h. */
3777 if ac_fn_c_try_compile
"$LINENO"; then :
3778 ac_cv_header_stdc
=yes
3780 ac_cv_header_stdc
=no
3782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3784 if test $ac_cv_header_stdc = yes; then
3785 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3791 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3792 $EGREP "memchr" >/dev
/null
2>&1; then :
3795 ac_cv_header_stdc
=no
3801 if test $ac_cv_header_stdc = yes; then
3802 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3804 /* end confdefs.h. */
3808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3809 $EGREP "free" >/dev
/null
2>&1; then :
3812 ac_cv_header_stdc
=no
3818 if test $ac_cv_header_stdc = yes; then
3819 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3820 if test "$cross_compiling" = yes; then :
3823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3824 /* end confdefs.h. */
3827 #if ((' ' & 0x0FF) == 0x020)
3828 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3829 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3831 # define ISLOWER(c) \
3832 (('a' <= (c) && (c) <= 'i') \
3833 || ('j' <= (c) && (c) <= 'r') \
3834 || ('s' <= (c) && (c) <= 'z'))
3835 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3838 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3843 for (i = 0; i < 256; i++)
3844 if (XOR (islower (i), ISLOWER (i))
3845 || toupper (i) != TOUPPER (i))
3850 if ac_fn_c_try_run
"$LINENO"; then :
3853 ac_cv_header_stdc
=no
3855 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3856 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3862 $as_echo "$ac_cv_header_stdc" >&6; }
3863 if test $ac_cv_header_stdc = yes; then
3865 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3869 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3870 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3871 inttypes.h stdint.h unistd.h
3873 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3874 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3876 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3877 cat >>confdefs.h
<<_ACEOF
3878 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3887 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3888 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3895 if test "$MINIX" = yes; then
3897 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3900 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3903 $as_echo "#define _MINIX 1" >>confdefs.h
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3909 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3910 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3911 $as_echo_n "(cached) " >&6
3913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3916 # define __EXTENSIONS__ 1
3917 $ac_includes_default
3926 if ac_fn_c_try_compile
"$LINENO"; then :
3927 ac_cv_safe_to_define___extensions__
=yes
3929 ac_cv_safe_to_define___extensions__
=no
3931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3934 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3935 test $ac_cv_safe_to_define___extensions__ = yes &&
3936 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3938 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3940 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3942 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3944 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3948 target_alias
=${target_alias-$target}
3951 # 1.11.1: Require that version of automake.
3952 # foreign: Don't require README, INSTALL, NEWS, etc.
3953 # no-define: Don't define PACKAGE and VERSION.
3954 # no-dependencies: Don't generate automatic dependencies.
3955 # (because it breaks when using bootstrap-lean, since some of the
3956 # headers are gone at "make install" time).
3957 # subdir-objects: Build objects in sub-directories.
3958 # -Wall: Issue all automake warnings.
3959 # -Wno-portability: Don't warn about constructs supported by GNU make.
3960 # (because GCC requires GNU make anyhow).
3961 # -Wno-override: Overrides used in testsuite.
3962 am__api_version
='1.15'
3964 # Find a good install program. We prefer a C program (faster),
3965 # so one script is as good as another. But avoid the broken or
3966 # incompatible versions:
3967 # SysV /etc/install, /usr/sbin/install
3968 # SunOS /usr/etc/install
3969 # IRIX /sbin/install
3971 # AmigaOS /C/install, which installs bootblocks on floppy discs
3972 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3973 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3974 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3975 # OS/2's system install, which has a completely different semantic
3976 # ./install, which can be erroneously created by make from ./install.sh.
3977 # Reject install programs that cannot install multiple files.
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3979 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3980 if test -z "$INSTALL"; then
3981 if ${ac_cv_path_install+:} false
; then :
3982 $as_echo_n "(cached) " >&6
3984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3988 test -z "$as_dir" && as_dir
=.
3989 # Account for people who put trailing slashes in PATH elements.
3990 case $as_dir/ in #((
3991 .
/ | .
// |
/[cC
]/* | \
3992 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3993 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3996 # OSF1 and SCO ODT 3.0 have their own names for install.
3997 # Don't use installbsd from OSF since it installs stuff as root
3999 for ac_prog
in ginstall scoinst
install; do
4000 for ac_exec_ext
in '' $ac_executable_extensions; do
4001 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4002 if test $ac_prog = install &&
4003 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4004 # AIX install. It has an incompatible calling convention.
4006 elif test $ac_prog = install &&
4007 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4008 # program-specific install script used by HP pwplus--don't use.
4011 rm -rf conftest.one conftest.two conftest.dir
4012 echo one
> conftest.one
4013 echo two
> conftest.two
4015 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4016 test -s conftest.one
&& test -s conftest.two
&&
4017 test -s conftest.dir
/conftest.one
&&
4018 test -s conftest.dir
/conftest.two
4020 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4033 rm -rf conftest.one conftest.two conftest.dir
4036 if test "${ac_cv_path_install+set}" = set; then
4037 INSTALL
=$ac_cv_path_install
4039 # As a last resort, use the slow shell script. Don't cache a
4040 # value for INSTALL within a source directory, because that will
4041 # break other packages using the cache if that directory is
4042 # removed, or if the value is a relative name.
4043 INSTALL
=$ac_install_sh
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4047 $as_echo "$INSTALL" >&6; }
4049 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4050 # It thinks the first close brace ends the variable substitution.
4051 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4053 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4055 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4058 $as_echo_n "checking whether build environment is sane... " >&6; }
4059 # Reject unsafe characters in $srcdir or the absolute working directory
4060 # name. Accept space and tab only in the latter.
4064 *[\\\"\
#\$\&\'\`$am_lf]*)
4065 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4068 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4069 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4072 # Do 'set' in a subshell so we don't clobber the current shell's
4073 # arguments. Must try -L first in case configure is actually a
4074 # symlink; some systems play weird games with the mod time of symlinks
4075 # (eg FreeBSD returns the mod time of the symlink's containing
4079 for am_try
in 1 2; do
4080 echo "timestamp, slept: $am_has_slept" > conftest.
file
4081 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4082 if test "$*" = "X"; then
4084 set X
`ls -t "$srcdir/configure" conftest.file`
4086 if test "$*" != "X $srcdir/configure conftest.file" \
4087 && test "$*" != "X conftest.file $srcdir/configure"; then
4089 # If neither matched, then we have a broken ls. This can happen
4090 # if, for instance, CONFIG_SHELL is bash and it inherits a
4091 # broken ls alias from the environment. This has actually
4092 # happened. Such a system could not be considered "sane".
4093 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4094 alias in your environment" "$LINENO" 5
4096 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4103 test "$2" = conftest.
file
4109 as_fn_error $?
"newly created file is older than distributed files!
4110 Check your system clock" "$LINENO" 5
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4113 $as_echo "yes" >&6; }
4114 # If we didn't sleep, we still need to ensure time stamps of config.status and
4115 # generated files are strictly newer.
4117 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4124 test "$program_prefix" != NONE
&&
4125 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4126 # Use a double $ so make ignores it.
4127 test "$program_suffix" != NONE
&&
4128 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4129 # Double any \ or $.
4130 # By default was `s,x,x', remove it if useless.
4131 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4132 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4134 if test x
"${MISSING+set}" != xset
; then
4137 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4139 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4142 # Use eval to expand $SHELL
4143 if eval "$MISSING --is-lightweight"; then
4144 am_missing_run
="$MISSING "
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4148 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4151 if test x
"${install_sh+set}" != xset
; then
4154 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4156 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4160 # Installed binaries are usually stripped using 'strip' when the user
4161 # run "make install-strip". However 'strip' might not be the right
4162 # tool to use in cross-compilation environments, therefore Automake
4163 # will honor the 'STRIP' environment variable to overrule this program.
4164 if test "$cross_compiling" != no
; then
4165 if test -n "$ac_tool_prefix"; then
4166 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4167 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4169 $as_echo_n "checking for $ac_word... " >&6; }
4170 if ${ac_cv_prog_STRIP+:} false
; then :
4171 $as_echo_n "(cached) " >&6
4173 if test -n "$STRIP"; then
4174 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4180 test -z "$as_dir" && as_dir
=.
4181 for ac_exec_ext
in '' $ac_executable_extensions; do
4182 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4183 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4193 STRIP
=$ac_cv_prog_STRIP
4194 if test -n "$STRIP"; then
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4196 $as_echo "$STRIP" >&6; }
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4199 $as_echo "no" >&6; }
4204 if test -z "$ac_cv_prog_STRIP"; then
4206 # Extract the first word of "strip", so it can be a program name with args.
4207 set dummy strip
; ac_word
=$2
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4209 $as_echo_n "checking for $ac_word... " >&6; }
4210 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4211 $as_echo_n "(cached) " >&6
4213 if test -n "$ac_ct_STRIP"; then
4214 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4220 test -z "$as_dir" && as_dir
=.
4221 for ac_exec_ext
in '' $ac_executable_extensions; do
4222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4223 ac_cv_prog_ac_ct_STRIP
="strip"
4224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4233 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4234 if test -n "$ac_ct_STRIP"; then
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4236 $as_echo "$ac_ct_STRIP" >&6; }
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239 $as_echo "no" >&6; }
4242 if test "x$ac_ct_STRIP" = x
; then
4245 case $cross_compiling:$ac_tool_warned in
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4249 ac_tool_warned
=yes ;;
4254 STRIP
="$ac_cv_prog_STRIP"
4258 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4261 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4262 if test -z "$MKDIR_P"; then
4263 if ${ac_cv_path_mkdir+:} false
; then :
4264 $as_echo_n "(cached) " >&6
4266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4267 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4270 test -z "$as_dir" && as_dir
=.
4271 for ac_prog
in mkdir gmkdir
; do
4272 for ac_exec_ext
in '' $ac_executable_extensions; do
4273 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4274 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4275 'mkdir (GNU coreutils) '* | \
4276 'mkdir (coreutils) '* | \
4277 'mkdir (fileutils) '4.1*)
4278 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4288 test -d .
/--version && rmdir .
/--version
4289 if test "${ac_cv_path_mkdir+set}" = set; then
4290 MKDIR_P
="$ac_cv_path_mkdir -p"
4292 # As a last resort, use the slow shell script. Don't cache a
4293 # value for MKDIR_P within a source directory, because that will
4294 # break other packages using the cache if that directory is
4295 # removed, or if the value is a relative name.
4296 MKDIR_P
="$ac_install_sh -d"
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4300 $as_echo "$MKDIR_P" >&6; }
4302 for ac_prog
in gawk mawk nawk
awk
4304 # Extract the first word of "$ac_prog", so it can be a program name with args.
4305 set dummy
$ac_prog; ac_word
=$2
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4307 $as_echo_n "checking for $ac_word... " >&6; }
4308 if ${ac_cv_prog_AWK+:} false
; then :
4309 $as_echo_n "(cached) " >&6
4311 if test -n "$AWK"; then
4312 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4318 test -z "$as_dir" && as_dir
=.
4319 for ac_exec_ext
in '' $ac_executable_extensions; do
4320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4321 ac_cv_prog_AWK
="$ac_prog"
4322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4332 if test -n "$AWK"; then
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4334 $as_echo "$AWK" >&6; }
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4337 $as_echo "no" >&6; }
4341 test -n "$AWK" && break
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4345 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4347 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4348 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4349 $as_echo_n "(cached) " >&6
4351 cat >conftest.
make <<\_ACEOF
4354 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4356 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4357 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4359 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4361 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4365 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4367 $as_echo "yes" >&6; }
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371 $as_echo "no" >&6; }
4372 SET_MAKE
="MAKE=${MAKE-make}"
4375 rm -rf .tst
2>/dev
/null
4376 mkdir .tst
2>/dev
/null
4377 if test -d .tst
; then
4382 rmdir .tst
2>/dev
/null
4384 # Check whether --enable-silent-rules was given.
4385 if test "${enable_silent_rules+set}" = set; then :
4386 enableval
=$enable_silent_rules;
4389 case $enable_silent_rules in # (((
4390 yes) AM_DEFAULT_VERBOSITY
=0;;
4391 no
) AM_DEFAULT_VERBOSITY
=1;;
4392 *) AM_DEFAULT_VERBOSITY
=1;;
4394 am_make
=${MAKE-make}
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4396 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4397 if ${am_cv_make_support_nested_variables+:} false
; then :
4398 $as_echo_n "(cached) " >&6
4400 if $as_echo 'TRUE=$(BAR$(V))
4406 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4407 am_cv_make_support_nested_variables
=yes
4409 am_cv_make_support_nested_variables
=no
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4413 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4414 if test $am_cv_make_support_nested_variables = yes; then
4416 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4418 AM_V
=$AM_DEFAULT_VERBOSITY
4419 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4423 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4424 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4425 # is not polluted with repeated "-I."
4426 am__isrc
=' -I$(srcdir)'
4427 # test to see if srcdir already configured
4428 if test -f $srcdir/config.status
; then
4429 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4433 # test whether we have cygpath
4434 if test -z "$CYGPATH_W"; then
4435 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4436 CYGPATH_W
='cygpath -w'
4443 # Define the identity of the package.
4445 VERSION
='version-unused'
4448 # Some tools Automake needs.
4450 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4453 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4456 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4459 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4462 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4464 # For better backward compatibility. To be removed once Automake 1.9.x
4465 # dies out for good. For more background, see:
4466 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4467 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4468 mkdir_p
='$(MKDIR_P)'
4470 # We need awk for the "check" target (and possibly the TAP driver). The
4471 # system "awk" is bad on some platforms.
4472 # Always define AMTAR for backward compatibility. Yes, it's still used
4473 # in the wild :-( We should find a proper way to deprecate it ...
4477 # We'll loop over all known methods to create a tar archive until one works.
4478 _am_tools
='gnutar pax cpio none'
4480 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4487 # POSIX will say in a future version that running "rm -f" with no argument
4488 # is OK; and we want to be able to make that assumption in our Makefile
4489 # recipes. So use an aggressive probe to check that the usage we want is
4490 # actually supported "in the wild" to an acceptable degree.
4491 # See automake bug#10828.
4492 # To make any issue more visible, cause the running configure to be aborted
4493 # by default if the 'rm' program in use doesn't match our expectations; the
4494 # user can still override this though.
4495 if rm -f && rm -fr && rm -rf; then : OK
; else
4499 Your 'rm' program seems unable to run without file operands specified
4500 on the command line, even when the '-f' option is present. This is contrary
4501 to the behaviour of most rm programs out there, and not conforming with
4502 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4504 Please tell bug-automake@gnu.org about your system, including the value
4505 of your $PATH and any error possibly output before this message. This
4506 can help us improve future automake versions.
4509 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4510 echo 'Configuration will proceed anyway, since you have set the' >&2
4511 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4515 Aborting the configuration process, to ensure you take notice of the issue.
4517 You can download and install GNU coreutils to get an 'rm' implementation
4518 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4520 If you want to complete the configuration process using your problematic
4521 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4522 to "yes", and re-run configure.
4525 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4532 # By default we simply use the C compiler to build assembly code.
4534 test "${CCAS+set}" = set || CCAS
=$CC
4535 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4540 ac_cpp
='$CPP $CPPFLAGS'
4541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4544 if test -n "$ac_tool_prefix"; then
4545 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4546 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548 $as_echo_n "checking for $ac_word... " >&6; }
4549 if ${ac_cv_prog_CC+:} false
; then :
4550 $as_echo_n "(cached) " >&6
4552 if test -n "$CC"; then
4553 ac_cv_prog_CC
="$CC" # Let the user override the test.
4555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4559 test -z "$as_dir" && as_dir
=.
4560 for ac_exec_ext
in '' $ac_executable_extensions; do
4561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4562 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 if test -n "$CC"; then
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4575 $as_echo "$CC" >&6; }
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578 $as_echo "no" >&6; }
4583 if test -z "$ac_cv_prog_CC"; then
4585 # Extract the first word of "gcc", so it can be a program name with args.
4586 set dummy gcc
; ac_word
=$2
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4588 $as_echo_n "checking for $ac_word... " >&6; }
4589 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4590 $as_echo_n "(cached) " >&6
4592 if test -n "$ac_ct_CC"; then
4593 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4599 test -z "$as_dir" && as_dir
=.
4600 for ac_exec_ext
in '' $ac_executable_extensions; do
4601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4602 ac_cv_prog_ac_ct_CC
="gcc"
4603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4612 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4613 if test -n "$ac_ct_CC"; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4615 $as_echo "$ac_ct_CC" >&6; }
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4621 if test "x$ac_ct_CC" = x
; then
4624 case $cross_compiling:$ac_tool_warned in
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4628 ac_tool_warned
=yes ;;
4636 if test -z "$CC"; then
4637 if test -n "$ac_tool_prefix"; then
4638 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4639 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if ${ac_cv_prog_CC+:} false
; then :
4643 $as_echo_n "(cached) " >&6
4645 if test -n "$CC"; then
4646 ac_cv_prog_CC
="$CC" # Let the user override the test.
4648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir
=.
4653 for ac_exec_ext
in '' $ac_executable_extensions; do
4654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4655 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4666 if test -n "$CC"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4668 $as_echo "$CC" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4677 if test -z "$CC"; then
4678 # Extract the first word of "cc", so it can be a program name with args.
4679 set dummy cc
; ac_word
=$2
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681 $as_echo_n "checking for $ac_word... " >&6; }
4682 if ${ac_cv_prog_CC+:} false
; then :
4683 $as_echo_n "(cached) " >&6
4685 if test -n "$CC"; then
4686 ac_cv_prog_CC
="$CC" # Let the user override the test.
4689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4693 test -z "$as_dir" && as_dir
=.
4694 for ac_exec_ext
in '' $ac_executable_extensions; do
4695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4696 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4697 ac_prog_rejected
=yes
4701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4708 if test $ac_prog_rejected = yes; then
4709 # We found a bogon in the path, so make sure we never use it.
4710 set dummy
$ac_cv_prog_CC
4712 if test $# != 0; then
4713 # We chose a different compiler from the bogus one.
4714 # However, it has the same basename, so the bogon will be chosen
4715 # first if we set CC to just the basename; use the full file name.
4717 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4723 if test -n "$CC"; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4725 $as_echo "$CC" >&6; }
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4733 if test -z "$CC"; then
4734 if test -n "$ac_tool_prefix"; then
4735 for ac_prog
in cl.exe
4737 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4738 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4740 $as_echo_n "checking for $ac_word... " >&6; }
4741 if ${ac_cv_prog_CC+:} false
; then :
4742 $as_echo_n "(cached) " >&6
4744 if test -n "$CC"; then
4745 ac_cv_prog_CC
="$CC" # Let the user override the test.
4747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4751 test -z "$as_dir" && as_dir
=.
4752 for ac_exec_ext
in '' $ac_executable_extensions; do
4753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4754 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4765 if test -n "$CC"; then
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4767 $as_echo "$CC" >&6; }
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4770 $as_echo "no" >&6; }
4774 test -n "$CC" && break
4777 if test -z "$CC"; then
4779 for ac_prog
in cl.exe
4781 # Extract the first word of "$ac_prog", so it can be a program name with args.
4782 set dummy
$ac_prog; ac_word
=$2
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4784 $as_echo_n "checking for $ac_word... " >&6; }
4785 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4786 $as_echo_n "(cached) " >&6
4788 if test -n "$ac_ct_CC"; then
4789 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4795 test -z "$as_dir" && as_dir
=.
4796 for ac_exec_ext
in '' $ac_executable_extensions; do
4797 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4798 ac_cv_prog_ac_ct_CC
="$ac_prog"
4799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4808 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4809 if test -n "$ac_ct_CC"; then
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4811 $as_echo "$ac_ct_CC" >&6; }
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4814 $as_echo "no" >&6; }
4818 test -n "$ac_ct_CC" && break
4821 if test "x$ac_ct_CC" = x
; then
4824 case $cross_compiling:$ac_tool_warned in
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4828 ac_tool_warned
=yes ;;
4837 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4839 as_fn_error $?
"no acceptable C compiler found in \$PATH
4840 See \`config.log' for more details" "$LINENO" 5; }
4842 # Provide some information about the compiler.
4843 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4846 for ac_option
in --version -v -V -qversion; do
4847 { { ac_try
="$ac_compiler $ac_option >&5"
4849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4850 *) ac_try_echo=$ac_try;;
4852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4853 $as_echo "$ac_try_echo"; } >&5
4854 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4856 if test -s conftest.err; then
4858 ... rest of stderr output deleted ...
4859 10q' conftest.err >conftest.er1
4860 cat conftest.er1 >&5
4862 rm -f conftest.er1 conftest.err
4863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4864 test $ac_status = 0; }
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4868 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4869 if ${ac_cv_c_compiler_gnu+:} false; then :
4870 $as_echo_n "(cached) " >&6
4872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4873 /* end confdefs.h. */
4886 if ac_fn_c_try_compile "$LINENO"; then :
4891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4892 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4896 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4897 if test $ac_compiler_gnu = yes; then
4902 ac_test_CFLAGS=${CFLAGS+set}
4903 ac_save_CFLAGS=$CFLAGS
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4905 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4906 if ${ac_cv_prog_cc_g+:} false; then :
4907 $as_echo_n "(cached) " >&6
4909 ac_save_c_werror_flag=$ac_c_werror_flag
4910 ac_c_werror_flag=yes
4913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4924 if ac_fn_c_try_compile "$LINENO"; then :
4928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4939 if ac_fn_c_try_compile "$LINENO"; then :
4942 ac_c_werror_flag=$ac_save_c_werror_flag
4944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4955 if ac_fn_c_try_compile "$LINENO"; then :
4958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4963 ac_c_werror_flag=$ac_save_c_werror_flag
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4966 $as_echo "$ac_cv_prog_cc_g" >&6; }
4967 if test "$ac_test_CFLAGS" = set; then
4968 CFLAGS=$ac_save_CFLAGS
4969 elif test $ac_cv_prog_cc_g = yes; then
4970 if test "$GCC" = yes; then
4976 if test "$GCC" = yes; then
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4983 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4984 if ${ac_cv_prog_cc_c89+:} false; then :
4985 $as_echo_n "(cached) " >&6
4987 ac_cv_prog_cc_c89=no
4989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4990 /* end confdefs.h. */
4994 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4995 struct buf { int x; };
4996 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4997 static char *e (p, i)
5003 static char *f (char * (*g) (char **, int), char **p, ...)
5008 s = g (p, va_arg (v,int));
5013 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5014 function prototypes and stuff, but not '\xHH' hex character constants.
5015 These don't provoke an error unfortunately, instead are silently treated
5016 as 'x'. The following induces an error, until -std is added to get
5017 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5018 array size at least. It's necessary to write '\x00'==0 to get something
5019 that's true only with -std. */
5020 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5022 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5023 inside strings and character constants. */
5025 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5027 int test (int i, double x);
5028 struct s1 {int (*f) (int a);};
5029 struct s2 {int (*f) (double a);};
5030 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5036 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5041 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5042 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5044 CC="$ac_save_CC $ac_arg"
5045 if ac_fn_c_try_compile "$LINENO"; then :
5046 ac_cv_prog_cc_c89=$ac_arg
5048 rm -f core conftest.err conftest.$ac_objext
5049 test "x$ac_cv_prog_cc_c89" != "xno" && break
5051 rm -f conftest.$ac_ext
5056 case "x$ac_cv_prog_cc_c89" in
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5059 $as_echo "none needed" >&6; } ;;
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5062 $as_echo "unsupported" >&6; } ;;
5064 CC="$CC $ac_cv_prog_cc_c89"
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5066 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5068 if test "x$ac_cv_prog_cc_c89" != xno; then :
5073 ac_cpp='$CPP $CPPFLAGS'
5074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5079 ac_cpp='$CPP $CPPFLAGS'
5080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5084 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5085 if ${am_cv_prog_cc_c_o+:} false; then :
5086 $as_echo_n "(cached) " >&6
5088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5089 /* end confdefs.h. */
5099 # Make sure it works both with $CC and with simple cc.
5100 # Following AC_PROG_CC_C_O, we do the test twice because some
5101 # compilers refuse to overwrite an existing .o file with -o,
5102 # though they will create one.
5103 am_cv_prog_cc_c_o=yes
5105 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5106 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); } \
5110 && test -f conftest2.$ac_objext; then
5113 am_cv_prog_cc_c_o=no
5117 rm -f core conftest*
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5121 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5122 if test "$am_cv_prog_cc_c_o" != yes; then
5123 # Losing compiler, so override with the script.
5124 # FIXME: It is wrong to rewrite CC.
5125 # But if we don't then we get into trouble of one sort or another.
5126 # A longer-term fix would be to have automake use am__CC in this case,
5127 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5128 CC="$am_aux_dir/compile $CC"
5131 ac_cpp='$CPP $CPPFLAGS'
5132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5138 ac_compile='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
5139 ac_link='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5141 if test -n "$ac_tool_prefix"; then
5142 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
5143 set dummy ${ac_tool_prefix}gdc; ac_word=$2
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5145 $as_echo_n "checking for $ac_word... " >&6; }
5146 if ${ac_cv_prog_GDC+:} false; then :
5147 $as_echo_n "(cached) " >&6
5149 if test -n "$GDC"; then
5150 ac_cv_prog_GDC="$GDC" # Let the user override the test.
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5159 ac_cv_prog_GDC="${ac_tool_prefix}gdc"
5160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5170 if test -n "$GDC"; then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5172 $as_echo "$GDC" >&6; }
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5180 if test -z "$ac_cv_prog_GDC"; then
5182 # Extract the first word of "gdc", so it can be a program name with args.
5183 set dummy gdc; ac_word=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if ${ac_cv_prog_ac_ct_GDC+:} false; then :
5187 $as_echo_n "(cached) " >&6
5189 if test -n "$ac_ct_GDC"; then
5190 ac_cv_prog_ac_ct_GDC="$ac_ct_GDC" # Let the user override the test.
5192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 test -z "$as_dir" && as_dir=.
5197 for ac_exec_ext in '' $ac_executable_extensions; do
5198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5199 ac_cv_prog_ac_ct_GDC="gdc"
5200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 ac_ct_GDC=$ac_cv_prog_ac_ct_GDC
5210 if test -n "$ac_ct_GDC"; then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GDC" >&5
5212 $as_echo "$ac_ct_GDC" >&6; }
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5218 if test "x$ac_ct_GDC" = x; then
5221 case $cross_compiling:$ac_tool_warned in
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5225 ac_tool_warned=yes ;;
5230 GDC="$ac_cv_prog_GDC"
5233 if test -z "$GDC"; then
5234 if test -n "$ac_tool_prefix"; then
5235 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
5236 set dummy ${ac_tool_prefix}gdc; ac_word=$2
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 $as_echo_n "checking for $ac_word... " >&6; }
5239 if ${ac_cv_prog_GDC+:} false; then :
5240 $as_echo_n "(cached) " >&6
5242 if test -n "$GDC"; then
5243 ac_cv_prog_GDC="$GDC" # Let the user override the test.
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 test -z "$as_dir" && as_dir=.
5250 for ac_exec_ext in '' $ac_executable_extensions; do
5251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5252 ac_cv_prog_GDC="$ac_tool_prefix}gdc"
5253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 if test -n "$GDC"; then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5265 $as_echo "$GDC" >&6; }
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5268 $as_echo "no" >&6; }
5274 if test -z "$GDC"; then
5275 # Extract the first word of "gdc", so it can be a program name with args.
5276 set dummy gdc; ac_word=$2
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5278 $as_echo_n "checking for $ac_word... " >&6; }
5279 if ${ac_cv_prog_GDC+:} false; then :
5280 $as_echo_n "(cached) " >&6
5282 if test -n "$GDC"; then
5283 ac_cv_prog_GDC="$GDC" # Let the user override the test.
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 test -z "$as_dir" && as_dir=.
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5293 if test "$as_dir/$ac_word$ac_exec_ext" = "false"; then
5294 ac_prog_rejected=yes
5297 ac_cv_prog_GDC="gdc"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 if test $ac_prog_rejected = yes; then
5306 # We found a bogon in the path, so make sure we never use it.
5307 set dummy $ac_cv_prog_GDC
5309 if test $# != 0; then
5310 # We chose a different compiler from the bogus one.
5311 # However, it has the same basename, so the bogon will be chosen
5312 # first if we set GDC to just the basename; use the full file name.
5314 ac_cv_prog_GDC="$as_dir/$ac_word${1+' '}$@"
5320 if test -n "$GDC"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5322 $as_echo "$GDC" >&6; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5332 # Provide some information about the compiler.
5333 $as_echo "$as_me:${as_lineno-$LINENO}: checking for D compiler version" >&5
5336 { { ac_try="$ac_compiler --version >&5"
5338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5339 *) ac_try_echo
=$ac_try;;
5341 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5342 $as_echo "$ac_try_echo"; } >&5
5343 (eval "$ac_compiler --version >&5") 2>conftest.err
5345 if test -s conftest.err
; then
5347 ... rest of stderr output deleted ...
5348 10q' conftest.err
>conftest.er1
5349 cat conftest.er1
>&5
5351 rm -f conftest.er1 conftest.err
5352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5353 test $ac_status = 0; }
5355 ac_cpp
='$CPP $CPPFLAGS'
5356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for absolute libphobos source path" >&5
5362 $as_echo_n "checking for absolute libphobos source path... " >&6; }
5363 if ${phobos_cv_abs_srcdir+:} false
; then :
5364 $as_echo_n "(cached) " >&6
5366 phobos_cv_abs_srcdir
=`cd $srcdir && pwd`
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $phobos_cv_abs_srcdir" >&5
5369 $as_echo "$phobos_cv_abs_srcdir" >&6; }
5370 if test -d "$phobos_cv_abs_srcdir"; then :
5373 as_fn_error $?
"can't find absolute libphobos source path" "$LINENO" 5
5379 gdc_save_DFLAGS
=$GDCFLAGS
5380 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime $GDCFLAGS"
5383 ac_compile
='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
5384 ac_link
='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If $GDC can compile D sources" >&5
5388 $as_echo_n "checking If $GDC can compile D sources... " >&6; }
5389 cat > conftest.
$ac_ext <<_ACEOF
5393 extern(C) int main() {
5397 if ac_fn_d_try_compile
"$LINENO"; then :
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5399 $as_echo "yes" >&6; }
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5402 $as_echo "no" >&6; }
5403 as_fn_error $?
"can't compile D sources!" "$LINENO" 5
5405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5407 ac_cpp
='$CPP $CPPFLAGS'
5408 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5409 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5410 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5413 GDCFLAGS
=$gdc_save_DFLAGS
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5421 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5422 # Check whether --enable-maintainer-mode was given.
5423 if test "${enable_maintainer_mode+set}" = set; then :
5424 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5426 USE_MAINTAINER_MODE
=no
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5430 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5431 if test $USE_MAINTAINER_MODE = yes; then
5432 MAINTAINER_MODE_TRUE
=
5433 MAINTAINER_MODE_FALSE
='#'
5435 MAINTAINER_MODE_TRUE
='#'
5436 MAINTAINER_MODE_FALSE
=
5439 MAINT
=$MAINTAINER_MODE_TRUE
5442 if test -n "$ac_tool_prefix"; then
5443 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5444 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5446 $as_echo_n "checking for $ac_word... " >&6; }
5447 if ${ac_cv_prog_RANLIB+:} false
; then :
5448 $as_echo_n "(cached) " >&6
5450 if test -n "$RANLIB"; then
5451 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5457 test -z "$as_dir" && as_dir
=.
5458 for ac_exec_ext
in '' $ac_executable_extensions; do
5459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5460 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470 RANLIB
=$ac_cv_prog_RANLIB
5471 if test -n "$RANLIB"; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5473 $as_echo "$RANLIB" >&6; }
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5476 $as_echo "no" >&6; }
5481 if test -z "$ac_cv_prog_RANLIB"; then
5482 ac_ct_RANLIB
=$RANLIB
5483 # Extract the first word of "ranlib", so it can be a program name with args.
5484 set dummy ranlib
; ac_word
=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5488 $as_echo_n "(cached) " >&6
5490 if test -n "$ac_ct_RANLIB"; then
5491 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5497 test -z "$as_dir" && as_dir
=.
5498 for ac_exec_ext
in '' $ac_executable_extensions; do
5499 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5500 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5511 if test -n "$ac_ct_RANLIB"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5513 $as_echo "$ac_ct_RANLIB" >&6; }
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5519 if test "x$ac_ct_RANLIB" = x
; then
5522 case $cross_compiling:$ac_tool_warned in
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5526 ac_tool_warned
=yes ;;
5528 RANLIB
=$ac_ct_RANLIB
5531 RANLIB
="$ac_cv_prog_RANLIB"
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5536 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5538 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5539 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5540 $as_echo_n "(cached) " >&6
5542 cat >conftest.
make <<\_ACEOF
5545 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5547 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5548 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5550 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5552 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5556 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5558 $as_echo "yes" >&6; }
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5562 $as_echo "no" >&6; }
5563 SET_MAKE
="MAKE=${MAKE-make}"
5567 # Add CET specific flags if CET is enabled
5568 # Check whether --enable-cet was given.
5569 if test "${enable_cet+set}" = set; then :
5570 enableval
=$enable_cet;
5571 case "$enableval" in
5573 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
5582 $as_echo_n "checking for CET support... " >&6; }
5584 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
5586 i
[34567]86-*-linux* | x86_64-
*-linux*)
5587 case "$enable_cet" in
5589 # Check if target supports multi-byte NOPs
5590 # and if compiler and assembler support CET insn.
5591 cet_save_CFLAGS
="$CFLAGS"
5592 CFLAGS
="$CFLAGS -fcf-protection"
5593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5594 /* end confdefs.h. */
5600 #if !defined(__SSE2__)
5601 #error target does not support multi-byte NOPs
5610 if ac_fn_c_try_compile
"$LINENO"; then :
5615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5616 CFLAGS
="$cet_save_CFLAGS"
5619 # Check if assembler supports CET.
5620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5631 if ac_fn_c_try_compile
"$LINENO"; then :
5634 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
5636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5644 if test x
$enable_cet = xyes
; then
5645 CET_FLAGS
="-fcf-protection -mshstk"
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5647 $as_echo "yes" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5654 # To ensure that runtime code for CET is compiled in, add in D version flags.
5655 if test "$enable_cet" = yes; then
5656 CET_DFLAGS
="$CET_FLAGS -fversion=CET"
5660 # This should be inherited in the recursive make, but ensure it is defined.
5664 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5672 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5677 macro_version
='2.2.7a'
5678 macro_revision
='1.3134'
5692 ltmain
="$ac_aux_dir/ltmain.sh"
5694 # Backslashify metacharacters that are still active within
5695 # double-quoted strings.
5696 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5698 # Same as above, but do not quote variable references.
5699 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5701 # Sed substitution to delay expansion of an escaped shell variable in a
5702 # double_quote_subst'ed string.
5703 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5705 # Sed substitution to delay expansion of an escaped single quote.
5706 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5708 # Sed substitution to avoid accidental globbing in evaled expressions
5709 no_glob_subst
='s/\*/\\\*/g'
5711 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5712 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5713 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5716 $as_echo_n "checking how to print strings... " >&6; }
5717 # Test print first, because it will be a builtin if present.
5718 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5719 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5721 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5724 # Use this function as a fallback that always works.
5725 func_fallback_echo ()
5727 eval 'cat <<_LTECHO_EOF
5731 ECHO='func_fallback_echo
'
5734 # func_echo_all arg...
5735 # Invoke $ECHO with all args, space-separated.
5742 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5743 $as_echo "printf" >&6; } ;;
5744 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5745 $as_echo "print -r" >&6; } ;;
5746 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5747 $as_echo "cat" >&6; } ;;
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5764 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5765 if ${ac_cv_path_SED+:} false; then :
5766 $as_echo_n "(cached) " >&6
5768 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5769 for ac_i in 1 2 3 4 5 6 7; do
5770 ac_script="$ac_script$as_nl$ac_script"
5772 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5773 { ac_script=; unset ac_script;}
5774 if test -z "$SED"; then
5775 ac_path_SED_found=false
5776 # Loop through the user's path and
test for each of PROGNAME-LIST
5777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5781 test -z "$as_dir" && as_dir
=.
5782 for ac_prog
in sed gsed
; do
5783 for ac_exec_ext
in '' $ac_executable_extensions; do
5784 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5785 as_fn_executable_p
"$ac_path_SED" ||
continue
5786 # Check for GNU ac_path_SED and select it if it is found.
5787 # Check for GNU $ac_path_SED
5788 case `"$ac_path_SED" --version 2>&1` in
5790 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5793 $as_echo_n 0123456789 >"conftest.in"
5796 cat "conftest.in" "conftest.in" >"conftest.tmp"
5797 mv "conftest.tmp" "conftest.in"
5798 cp "conftest.in" "conftest.nl"
5799 $as_echo '' >> "conftest.nl"
5800 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5801 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5802 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5803 if test $ac_count -gt ${ac_path_SED_max-0}; then
5804 # Best one so far, save it but keep looking for a better one
5805 ac_cv_path_SED
="$ac_path_SED"
5806 ac_path_SED_max
=$ac_count
5808 # 10*(2^10) chars as input seems more than enough
5809 test $ac_count -gt 10 && break
5811 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5814 $ac_path_SED_found && break 3
5819 if test -z "$ac_cv_path_SED"; then
5820 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5828 $as_echo "$ac_cv_path_SED" >&6; }
5829 SED
="$ac_cv_path_SED"
5832 test -z "$SED" && SED
=sed
5833 Xsed
="$SED -e 1s/^X//"
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5846 $as_echo_n "checking for fgrep... " >&6; }
5847 if ${ac_cv_path_FGREP+:} false
; then :
5848 $as_echo_n "(cached) " >&6
5850 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5851 then ac_cv_path_FGREP
="$GREP -F"
5853 if test -z "$FGREP"; then
5854 ac_path_FGREP_found
=false
5855 # Loop through the user's path and test for each of PROGNAME-LIST
5856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5857 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5860 test -z "$as_dir" && as_dir
=.
5861 for ac_prog
in fgrep
; do
5862 for ac_exec_ext
in '' $ac_executable_extensions; do
5863 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5864 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5865 # Check for GNU ac_path_FGREP and select it if it is found.
5866 # Check for GNU $ac_path_FGREP
5867 case `"$ac_path_FGREP" --version 2>&1` in
5869 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5872 $as_echo_n 0123456789 >"conftest.in"
5875 cat "conftest.in" "conftest.in" >"conftest.tmp"
5876 mv "conftest.tmp" "conftest.in"
5877 cp "conftest.in" "conftest.nl"
5878 $as_echo 'FGREP' >> "conftest.nl"
5879 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5880 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5881 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5882 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5883 # Best one so far, save it but keep looking for a better one
5884 ac_cv_path_FGREP
="$ac_path_FGREP"
5885 ac_path_FGREP_max
=$ac_count
5887 # 10*(2^10) chars as input seems more than enough
5888 test $ac_count -gt 10 && break
5890 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5893 $ac_path_FGREP_found && break 3
5898 if test -z "$ac_cv_path_FGREP"; then
5899 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5902 ac_cv_path_FGREP
=$FGREP
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5908 $as_echo "$ac_cv_path_FGREP" >&6; }
5909 FGREP
="$ac_cv_path_FGREP"
5912 test -z "$GREP" && GREP
=grep
5932 # Check whether --with-gnu-ld was given.
5933 if test "${with_gnu_ld+set}" = set; then :
5934 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5940 if test "$GCC" = yes; then
5941 # Check if gcc -print-prog-name=ld gives a path.
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5943 $as_echo_n "checking for ld used by $CC... " >&6; }
5946 # gcc leaves a trailing carriage return which upsets mingw
5947 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5949 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5952 # Accept absolute paths.
5954 re_direlt
='/[^/][^/]*/\.\./'
5955 # Canonicalize the pathname of ld
5956 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5957 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5958 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5960 test -z "$LD" && LD
="$ac_prog"
5963 # If it fails, then pretend we aren't using GCC.
5967 # If it is relative, then search for the first ld in PATH.
5971 elif test "$with_gnu_ld" = yes; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5973 $as_echo_n "checking for GNU ld... " >&6; }
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5976 $as_echo_n "checking for non-GNU ld... " >&6; }
5978 if ${lt_cv_path_LD+:} false
; then :
5979 $as_echo_n "(cached) " >&6
5981 if test -z "$LD"; then
5982 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5983 for ac_dir
in $PATH; do
5985 test -z "$ac_dir" && ac_dir
=.
5986 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5987 lt_cv_path_LD
="$ac_dir/$ac_prog"
5988 # Check to see if the program is GNU ld. I'd rather use --version,
5989 # but apparently some variants of GNU ld only accept -v.
5990 # Break only if it was the GNU/non-GNU ld that we prefer.
5991 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5992 *GNU
* |
*'with BFD'*)
5993 test "$with_gnu_ld" != no
&& break
5996 test "$with_gnu_ld" != yes && break
6003 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6008 if test -n "$LD"; then
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6010 $as_echo "$LD" >&6; }
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 $as_echo "no" >&6; }
6015 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6017 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6018 if ${lt_cv_prog_gnu_ld+:} false
; then :
6019 $as_echo_n "(cached) " >&6
6021 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6022 case `$LD -v 2>&1 </dev/null` in
6023 *GNU
* |
*'with BFD'*)
6024 lt_cv_prog_gnu_ld
=yes
6027 lt_cv_prog_gnu_ld
=no
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6032 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6033 with_gnu_ld
=$lt_cv_prog_gnu_ld
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6044 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6045 if ${lt_cv_path_NM+:} false
; then :
6046 $as_echo_n "(cached) " >&6
6048 if test -n "$NM"; then
6049 # Let the user override the test.
6052 lt_nm_to_check
="${ac_tool_prefix}nm"
6053 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6054 lt_nm_to_check
="$lt_nm_to_check nm"
6056 for lt_tmp_nm
in $lt_nm_to_check; do
6057 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6058 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6060 test -z "$ac_dir" && ac_dir
=.
6061 tmp_nm
="$ac_dir/$lt_tmp_nm"
6062 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6063 # Check to see if the nm accepts a BSD-compat flag.
6064 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6065 # nm: unknown option "B" ignored
6066 # Tru64's nm complains that /dev/null is an invalid object file
6067 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6068 */dev
/null
* |
*'Invalid file or object type'*)
6069 lt_cv_path_NM
="$tmp_nm -B"
6073 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6075 lt_cv_path_NM
="$tmp_nm -p"
6079 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6080 continue # so that we can try to find one that supports BSD flags
6089 : ${lt_cv_path_NM=no}
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6093 $as_echo "$lt_cv_path_NM" >&6; }
6094 if test "$lt_cv_path_NM" != "no"; then
6097 # Didn't find any BSD compatible name lister, look for dumpbin.
6098 if test -n "$DUMPBIN"; then :
6099 # Let the user override the test.
6101 if test -n "$ac_tool_prefix"; then
6102 for ac_prog
in dumpbin
"link -dump"
6104 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6105 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107 $as_echo_n "checking for $ac_word... " >&6; }
6108 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6109 $as_echo_n "(cached) " >&6
6111 if test -n "$DUMPBIN"; then
6112 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6118 test -z "$as_dir" && as_dir
=.
6119 for ac_exec_ext
in '' $ac_executable_extensions; do
6120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6121 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 DUMPBIN
=$ac_cv_prog_DUMPBIN
6132 if test -n "$DUMPBIN"; then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6134 $as_echo "$DUMPBIN" >&6; }
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6137 $as_echo "no" >&6; }
6141 test -n "$DUMPBIN" && break
6144 if test -z "$DUMPBIN"; then
6145 ac_ct_DUMPBIN
=$DUMPBIN
6146 for ac_prog
in dumpbin
"link -dump"
6148 # Extract the first word of "$ac_prog", so it can be a program name with args.
6149 set dummy
$ac_prog; ac_word
=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6153 $as_echo_n "(cached) " >&6
6155 if test -n "$ac_ct_DUMPBIN"; then
6156 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6162 test -z "$as_dir" && as_dir
=.
6163 for ac_exec_ext
in '' $ac_executable_extensions; do
6164 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6165 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6175 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6176 if test -n "$ac_ct_DUMPBIN"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6178 $as_echo "$ac_ct_DUMPBIN" >&6; }
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6185 test -n "$ac_ct_DUMPBIN" && break
6188 if test "x$ac_ct_DUMPBIN" = x
; then
6191 case $cross_compiling:$ac_tool_warned in
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned
=yes ;;
6197 DUMPBIN
=$ac_ct_DUMPBIN
6201 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6203 DUMPBIN
="$DUMPBIN -symbols"
6211 if test "$DUMPBIN" != ":"; then
6215 test -z "$NM" && NM
=nm
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6223 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6224 if ${lt_cv_nm_interface+:} false
; then :
6225 $as_echo_n "(cached) " >&6
6227 lt_cv_nm_interface
="BSD nm"
6228 echo "int some_variable = 0;" > conftest.
$ac_ext
6229 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6230 (eval "$ac_compile" 2>conftest.err
)
6231 cat conftest.err
>&5
6232 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6233 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6234 cat conftest.err
>&5
6235 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6236 cat conftest.out
>&5
6237 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6238 lt_cv_nm_interface
="MS dumpbin"
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6243 $as_echo "$lt_cv_nm_interface" >&6; }
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6246 $as_echo_n "checking whether ln -s works... " >&6; }
6248 if test "$LN_S" = "ln -s"; then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6250 $as_echo "yes" >&6; }
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6253 $as_echo "no, using $LN_S" >&6; }
6256 # find the maximum length of command line arguments
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6258 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6259 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6260 $as_echo_n "(cached) " >&6
6267 # On DJGPP, this test can blow up pretty badly due to problems in libc
6268 # (any single argument exceeding 2000 bytes causes a buffer overrun
6269 # during glob expansion). Even if it were fixed, the result of this
6270 # check would be larger than it should be.
6271 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6275 # Under GNU Hurd, this test is not required because there is
6276 # no limit to the length of command line arguments.
6277 # Libtool will interpret -1 as no limit whatsoever
6278 lt_cv_sys_max_cmd_len
=-1;
6281 cygwin
* | mingw
* | cegcc
*)
6282 # On Win9x/ME, this test blows up -- it succeeds, but takes
6283 # about 5 minutes as the teststring grows exponentially.
6284 # Worse, since 9x/ME are not pre-emptively multitasking,
6285 # you end up with a "frozen" computer, even though with patience
6286 # the test eventually succeeds (with a max line length of 256k).
6287 # Instead, let's just punt: use the minimum linelength reported by
6288 # all of the supported platforms: 8192 (on NT/2K/XP).
6289 lt_cv_sys_max_cmd_len
=8192;
6293 # On MiNT this can take a long time and run out of memory.
6294 lt_cv_sys_max_cmd_len
=8192;
6298 # On AmigaOS with pdksh, this test takes hours, literally.
6299 # So we just punt and use a minimum line length of 8192.
6300 lt_cv_sys_max_cmd_len
=8192;
6303 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6304 # This has been around since 386BSD, at least. Likely further.
6305 if test -x /sbin
/sysctl
; then
6306 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6307 elif test -x /usr
/sbin
/sysctl
; then
6308 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6310 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6312 # And add a safety zone
6313 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6314 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6318 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6319 lt_cv_sys_max_cmd_len
=196608
6323 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6324 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6325 # nice to cause kernel panics so lets avoid the loop below.
6326 # First set a reasonable default.
6327 lt_cv_sys_max_cmd_len
=16384
6329 if test -x /sbin
/sysconfig
; then
6330 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6331 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6336 lt_cv_sys_max_cmd_len
=102400
6338 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6339 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6340 if test -n "$kargmax"; then
6341 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6343 lt_cv_sys_max_cmd_len
=32768
6347 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6348 if test -n "$lt_cv_sys_max_cmd_len"; then
6349 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6350 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6352 # Make teststring a little bigger before we do anything with it.
6353 # a 1K string should be a reasonable start.
6354 for i
in 1 2 3 4 5 6 7 8 ; do
6355 teststring
=$teststring$teststring
6357 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6358 # If test is not a shell built-in, we'll probably end up computing a
6359 # maximum length that is only half of the actual maximum length, but
6361 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6362 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6363 test $i != 17 # 1/2 MB should be enough
6366 teststring
=$teststring$teststring
6368 # Only check the string length outside the loop.
6369 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6371 # Add a significant safety factor because C++ compilers can tack on
6372 # massive amounts of additional arguments before passing them to the
6373 # linker. It appears as though 1/2 is a usable value.
6374 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6381 if test -n $lt_cv_sys_max_cmd_len ; then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6383 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6386 $as_echo "none" >&6; }
6388 max_cmd_len
=$lt_cv_sys_max_cmd_len
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6400 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6401 # Try some XSI features
6404 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6406 && eval 'test $(( 1 + 1 )) -eq 2 \
6407 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6410 $as_echo "$xsi_shell" >&6; }
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6414 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6416 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6418 && lt_shell_append=yes
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6420 $as_echo "$lt_shell_append" >&6; }
6423 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6433 # test EBCDIC or ASCII
6434 case `echo X|tr X '\101'` in
6435 A) # ASCII based system
6436 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6437 lt_SP2NL='tr \040 \012'
6438 lt_NL2SP='tr \015\012 \040\040'
6440 *) # EBCDIC based system
6441 lt_SP2NL='tr \100 \n'
6442 lt_NL2SP='tr \r\n \100\100'
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6455 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6456 if ${lt_cv_ld_reload_flag+:} false; then :
6457 $as_echo_n "(cached
) " >&6
6459 lt_cv_ld_reload_flag='-r'
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6462 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6463 reload_flag=$lt_cv_ld_reload_flag
6464 case $reload_flag in
6466 *) reload_flag=" $reload_flag" ;;
6468 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6471 if test "$GCC" = yes; then
6472 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6474 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6487 if test -n "$ac_tool_prefix"; then
6488 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6489 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6491 $as_echo_n "checking
for $ac_word...
" >&6; }
6492 if ${ac_cv_prog_OBJDUMP+:} false; then :
6493 $as_echo_n "(cached
) " >&6
6495 if test -n "$OBJDUMP"; then
6496 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6502 test -z "$as_dir" && as_dir=.
6503 for ac_exec_ext in '' $ac_executable_extensions; do
6504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6505 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6506 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6515 OBJDUMP=$ac_cv_prog_OBJDUMP
6516 if test -n "$OBJDUMP"; then
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6518 $as_echo "$OBJDUMP" >&6; }
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6521 $as_echo "no
" >&6; }
6526 if test -z "$ac_cv_prog_OBJDUMP"; then
6527 ac_ct_OBJDUMP=$OBJDUMP
6528 # Extract the first word of "objdump
", so it can be a program name with args.
6529 set dummy objdump; ac_word=$2
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6531 $as_echo_n "checking
for $ac_word...
" >&6; }
6532 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6533 $as_echo_n "(cached
) " >&6
6535 if test -n "$ac_ct_OBJDUMP"; then
6536 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6542 test -z "$as_dir" && as_dir=.
6543 for ac_exec_ext in '' $ac_executable_extensions; do
6544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6545 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6546 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6555 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6556 if test -n "$ac_ct_OBJDUMP"; then
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6558 $as_echo "$ac_ct_OBJDUMP" >&6; }
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6561 $as_echo "no
" >&6; }
6564 if test "x
$ac_ct_OBJDUMP" = x; then
6567 case $cross_compiling:$ac_tool_warned in
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6570 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6571 ac_tool_warned=yes ;;
6573 OBJDUMP=$ac_ct_OBJDUMP
6576 OBJDUMP="$ac_cv_prog_OBJDUMP"
6579 test -z "$OBJDUMP" && OBJDUMP=objdump
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6590 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6591 if ${lt_cv_deplibs_check_method+:} false; then :
6592 $as_echo_n "(cached
) " >&6
6594 lt_cv_file_magic_cmd='$MAGIC_CMD'
6595 lt_cv_file_magic_test_file=
6596 lt_cv_deplibs_check_method='unknown'
6597 # Need to set the preceding variable on all platforms that support
6598 # interlibrary dependencies.
6599 # 'none' -- dependencies not supported.
6600 # `unknown' -- same as none, but documents that we really don't know.
6601 # 'pass_all' -- all dependencies passed with no checks.
6602 # 'test_compile' -- check by making test program.
6603 # 'file_magic [[regex]]' -- check by looking for files in library path
6604 # which responds to the $file_magic_cmd with a given extended regex.
6605 # If you have `file' or equivalent on your system and you're not sure
6606 # whether `pass_all' will *always* work, you probably want this one.
6610 lt_cv_deplibs_check_method=pass_all
6614 lt_cv_deplibs_check_method=pass_all
6618 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6619 lt_cv_file_magic_cmd='/usr/bin/file -L'
6620 lt_cv_file_magic_test_file=/shlib/libc.so
6624 # func_win32_libid is a shell function defined in ltmain.sh
6625 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6626 lt_cv_file_magic_cmd='func_win32_libid'
6630 # Base MSYS/MinGW do not provide the 'file' command needed by
6631 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6632 # unless we find 'file', for example because we are cross-compiling.
6633 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6634 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6635 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6636 lt_cv_file_magic_cmd='func_win32_libid'
6638 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6639 lt_cv_file_magic_cmd='$OBJDUMP -f'
6644 # use the weaker test based on 'objdump'. See mingw*.
6645 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6646 lt_cv_file_magic_cmd='$OBJDUMP -f'
6649 darwin* | rhapsody*)
6650 lt_cv_deplibs_check_method=pass_all
6653 freebsd* | dragonfly*)
6654 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6657 # Not sure whether the presence of OpenBSD here was a mistake.
6658 # Let's accept both of them until this is cleared up.
6659 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6660 lt_cv_file_magic_cmd=/usr/bin/file
6661 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6665 lt_cv_deplibs_check_method=pass_all
6670 lt_cv_deplibs_check_method=pass_all
6674 lt_cv_deplibs_check_method=pass_all
6677 hpux10.20* | hpux11*)
6678 lt_cv_file_magic_cmd=/usr/bin/file
6681 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6682 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6685 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]'
6686 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6689 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6690 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6696 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6697 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6700 irix5* | irix6* | nonstopux*)
6702 *-32|*"-32 ") libmagic=32-bit;;
6703 *-n32|*"-n32 ") libmagic=N32;;
6704 *-64|*"-64 ") libmagic=64-bit;;
6705 *) libmagic=never-match;;
6707 lt_cv_deplibs_check_method=pass_all
6710 # This must be Linux ELF.
6711 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6712 lt_cv_deplibs_check_method=pass_all
6716 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6717 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6719 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6724 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6725 lt_cv_file_magic_cmd=/usr/bin/file
6726 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6730 lt_cv_deplibs_check_method=pass_all
6734 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6735 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6737 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6741 osf3* | osf4* | osf5*)
6742 lt_cv_deplibs_check_method=pass_all
6746 lt_cv_deplibs_check_method=pass_all
6750 lt_cv_deplibs_check_method=pass_all
6753 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6754 lt_cv_deplibs_check_method=pass_all
6758 case $host_vendor in
6760 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]'
6761 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6764 lt_cv_deplibs_check_method=pass_all
6767 lt_cv_file_magic_cmd='/bin/file'
6768 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6771 lt_cv_file_magic_cmd='/bin/file'
6772 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6773 lt_cv_file_magic_test_file=/lib/libc.so
6776 lt_cv_deplibs_check_method=pass_all
6779 lt_cv_deplibs_check_method=pass_all
6785 lt_cv_deplibs_check_method=pass_all
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6791 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6792 file_magic_cmd=$lt_cv_file_magic_cmd
6793 deplibs_check_method=$lt_cv_deplibs_check_method
6794 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6807 if test -n "$ac_tool_prefix"; then
6808 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6809 set dummy ${ac_tool_prefix}ar; ac_word=$2
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6811 $as_echo_n "checking
for $ac_word...
" >&6; }
6812 if ${ac_cv_prog_AR+:} false; then :
6813 $as_echo_n "(cached
) " >&6
6815 if test -n "$AR"; then
6816 ac_cv_prog_AR="$AR" # Let the user override the test.
6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6822 test -z "$as_dir" && as_dir=.
6823 for ac_exec_ext in '' $ac_executable_extensions; do
6824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6825 ac_cv_prog_AR="${ac_tool_prefix}ar"
6826 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6836 if test -n "$AR"; then
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6838 $as_echo "$AR" >&6; }
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6841 $as_echo "no
" >&6; }
6846 if test -z "$ac_cv_prog_AR"; then
6848 # Extract the first word of "ar", so it can be a program name with args.
6849 set dummy ar; ac_word=$2
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6851 $as_echo_n "checking
for $ac_word...
" >&6; }
6852 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6853 $as_echo_n "(cached
) " >&6
6855 if test -n "$ac_ct_AR"; then
6856 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6862 test -z "$as_dir" && as_dir=.
6863 for ac_exec_ext in '' $ac_executable_extensions; do
6864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6865 ac_cv_prog_ac_ct_AR="ar"
6866 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6875 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6876 if test -n "$ac_ct_AR"; then
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6878 $as_echo "$ac_ct_AR" >&6; }
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6881 $as_echo "no
" >&6; }
6884 if test "x
$ac_ct_AR" = x; then
6887 case $cross_compiling:$ac_tool_warned in
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6890 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6891 ac_tool_warned=yes ;;
6899 test -z "$AR" && AR=ar
6900 test -z "$AR_FLAGS" && AR_FLAGS=cru
6912 if test -n "$ac_tool_prefix"; then
6913 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6914 set dummy ${ac_tool_prefix}strip; ac_word=$2
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6916 $as_echo_n "checking
for $ac_word...
" >&6; }
6917 if ${ac_cv_prog_STRIP+:} false; then :
6918 $as_echo_n "(cached
) " >&6
6920 if test -n "$STRIP"; then
6921 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6927 test -z "$as_dir" && as_dir=.
6928 for ac_exec_ext in '' $ac_executable_extensions; do
6929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6930 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6940 STRIP=$ac_cv_prog_STRIP
6941 if test -n "$STRIP"; then
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6943 $as_echo "$STRIP" >&6; }
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6946 $as_echo "no
" >&6; }
6951 if test -z "$ac_cv_prog_STRIP"; then
6953 # Extract the first word of "strip
", so it can be a program name with args.
6954 set dummy strip; ac_word=$2
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6956 $as_echo_n "checking
for $ac_word...
" >&6; }
6957 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6958 $as_echo_n "(cached
) " >&6
6960 if test -n "$ac_ct_STRIP"; then
6961 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 test -z "$as_dir" && as_dir=.
6968 for ac_exec_ext in '' $ac_executable_extensions; do
6969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6970 ac_cv_prog_ac_ct_STRIP="strip
"
6971 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6980 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6981 if test -n "$ac_ct_STRIP"; then
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6983 $as_echo "$ac_ct_STRIP" >&6; }
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6986 $as_echo "no
" >&6; }
6989 if test "x
$ac_ct_STRIP" = x; then
6992 case $cross_compiling:$ac_tool_warned in
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6995 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6996 ac_tool_warned=yes ;;
7001 STRIP="$ac_cv_prog_STRIP"
7004 test -z "$STRIP" && STRIP=:
7011 if test -n "$ac_tool_prefix"; then
7012 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7013 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7015 $as_echo_n "checking
for $ac_word...
" >&6; }
7016 if ${ac_cv_prog_RANLIB+:} false; then :
7017 $as_echo_n "(cached
) " >&6
7019 if test -n "$RANLIB"; then
7020 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7026 test -z "$as_dir" && as_dir=.
7027 for ac_exec_ext in '' $ac_executable_extensions; do
7028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7029 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7030 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7039 RANLIB=$ac_cv_prog_RANLIB
7040 if test -n "$RANLIB"; then
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7042 $as_echo "$RANLIB" >&6; }
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7045 $as_echo "no
" >&6; }
7050 if test -z "$ac_cv_prog_RANLIB"; then
7051 ac_ct_RANLIB=$RANLIB
7052 # Extract the first word of "ranlib
", so it can be a program name with args.
7053 set dummy ranlib; ac_word=$2
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7055 $as_echo_n "checking
for $ac_word...
" >&6; }
7056 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7057 $as_echo_n "(cached
) " >&6
7059 if test -n "$ac_ct_RANLIB"; then
7060 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7066 test -z "$as_dir" && as_dir=.
7067 for ac_exec_ext in '' $ac_executable_extensions; do
7068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7069 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7070 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7079 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7080 if test -n "$ac_ct_RANLIB"; then
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7082 $as_echo "$ac_ct_RANLIB" >&6; }
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7085 $as_echo "no
" >&6; }
7088 if test "x
$ac_ct_RANLIB" = x; then
7091 case $cross_compiling:$ac_tool_warned in
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7094 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7095 ac_tool_warned=yes ;;
7097 RANLIB=$ac_ct_RANLIB
7100 RANLIB="$ac_cv_prog_RANLIB"
7103 test -z "$RANLIB" && RANLIB=:
7110 # Determine commands to create old-style static archives.
7111 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7112 old_postinstall_cmds='chmod 644 $oldlib'
7113 old_postuninstall_cmds=
7115 if test -n "$RANLIB"; then
7118 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7121 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7124 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7129 lock_old_archive_extraction=yes ;;
7131 lock_old_archive_extraction=no ;;
7172 # If no C compiler was specified, use CC.
7175 # If no C compiler flags were specified, use CFLAGS.
7176 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7178 # Allow CC to be a program name with arguments.
7182 # Check for command to grab the raw symbol name followed by C symbol from nm.
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7184 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7185 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7186 $as_echo_n "(cached
) " >&6
7189 # These are sane defaults that work on at least a few old systems.
7190 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7192 # Character class describing NM global symbol codes.
7193 symcode='[BCDEGRST]'
7195 # Regexp to match symbols that can be accessed directly from C.
7196 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7198 # Define system-specific variables.
7203 cygwin* | mingw* | pw32* | cegcc*)
7204 symcode='[ABCDGISTW]'
7207 if test "$host_cpu" = ia64; then
7208 symcode='[ABCDEGRST]'
7212 symcode='[BCDEGRST]'
7215 symcode='[BCDEGQRST]'
7226 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7234 # If we're using GNU nm, then use its standard symbol codes.
7235 case `$NM -V 2>&1` in
7236 *GNU* | *'with BFD'*)
7237 symcode='[ABCDGIRSTW]' ;;
7240 # Transform an extracted symbol line into a proper C declaration.
7241 # Some systems (esp. on ia64) link data and code symbols differently,
7242 # so use this general approach.
7243 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7245 # Transform an extracted symbol line into symbol name and symbol address
7246 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7247 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'"
7249 # Handle CRLF in mingw tool chain
7253 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7257 # Try without a prefix underscore, then with it.
7258 for ac_symprfx in "" "_
"; do
7260 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7261 symxfrm="\\1 $ac_symprfx\\2 \\2"
7263 # Write the raw and C identifiers.
7264 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7265 # Fake it for dumpbin and say T for any non-static function
7266 # and D for any global variable.
7267 # Also find C++ and __fastcall symbols from MSVC++,
7268 # which start with @ or ?.
7269 lt_cv_sys_global_symbol_pipe="$AWK '"\
7270 " {last_section=section; section=\$ 3};"\
7271 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7272 " \$ 0!~/External *\|/{next};"\
7273 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7274 " {if(hide[section]) next};"\
7275 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7276 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7277 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7278 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7279 " ' prfx
=^
$ac_symprfx"
7281 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7284 # Check to see that the pipe works correctly.
7288 cat > conftest.$ac_ext <<_LT_EOF
7293 void nm_test_func(void);
7294 void nm_test_func(void){}
7298 int main(){nm_test_var='a';nm_test_func();return(0);}
7301 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7302 (eval $ac_compile) 2>&5
7304 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7305 test $ac_status = 0; }; then
7306 # Now try to grab the symbols.
7308 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7309 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7311 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7312 test $ac_status = 0; } && test -s "$nlist"; then
7313 # Try sorting and uniquifying the output.
7314 if sort "$nlist" | uniq > "$nlist"T; then
7315 mv -f "$nlist"T "$nlist"
7320 # Make sure that we snagged all the symbols we need.
7321 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7322 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7323 cat <<_LT_EOF > conftest.$ac_ext
7329 # Now generate the symbol file.
7330 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7332 cat <<_LT_EOF >> conftest.$ac_ext
7334 /* The mapping between symbol names and symbols. */
7339 lt__PROGRAM__LTX_preloaded_symbols[] =
7341 { "@PROGRAM@
", (void *) 0 },
7343 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7344 cat <<\_LT_EOF >> conftest.$ac_ext
7348 /* This works around a problem in FreeBSD linker */
7349 #ifdef FREEBSD_WORKAROUND
7350 static const void *lt_preloaded_setup() {
7351 return lt__PROGRAM__LTX_preloaded_symbols;
7359 # Now try linking the two files.
7360 mv conftest.$ac_objext conftstm.$ac_objext
7361 lt_save_LIBS="$LIBS"
7362 lt_save_CFLAGS="$CFLAGS"
7363 LIBS="conftstm.
$ac_objext"
7364 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7365 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7366 (eval $ac_link) 2>&5
7368 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7369 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7372 LIBS="$lt_save_LIBS"
7373 CFLAGS="$lt_save_CFLAGS"
7375 echo "cannot
find nm_test_func
in $nlist" >&5
7378 echo "cannot
find nm_test_var
in $nlist" >&5
7381 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7384 echo "$progname: failed program was
:" >&5
7385 cat conftest.$ac_ext >&5
7387 rm -rf conftest* conftst*
7389 # Do not use the global_symbol_pipe unless it works.
7390 if test "$pipe_works" = yes; then
7393 lt_cv_sys_global_symbol_pipe=
7399 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7400 lt_cv_sys_global_symbol_to_cdecl=
7402 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7404 $as_echo "failed
" >&6; }
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7407 $as_echo "ok
" >&6; }
7431 # Check whether --enable-libtool-lock was given.
7432 if test "${enable_libtool_lock+set}" = set; then :
7433 enableval=$enable_libtool_lock;
7436 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7438 # Some flags need to be propagated to the compiler or linker for good
7442 # Find out which ABI we are using.
7443 echo 'int i;' > conftest.$ac_ext
7444 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7445 (eval $ac_compile) 2>&5
7447 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7448 test $ac_status = 0; }; then
7449 case `/usr/bin/file conftest.$ac_objext` in
7461 # Find out which ABI we are using.
7462 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7463 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7464 (eval $ac_compile) 2>&5
7466 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7467 test $ac_status = 0; }; then
7468 if test "$lt_cv_prog_gnu_ld" = yes; then
7469 case `/usr/bin/file conftest.$ac_objext` in
7471 LD="${LD-ld} -melf32bsmip"
7474 LD="${LD-ld} -melf32bmipn32"
7477 LD="${LD-ld} -melf64bmip"
7481 case `/usr/bin/file conftest.$ac_objext` in
7497 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7498 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7499 # Find out which ABI we are using.
7500 echo 'int i;' > conftest.$ac_ext
7501 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7502 (eval $ac_compile) 2>&5
7504 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7505 test $ac_status = 0; }; then
7506 case `/usr/bin/file conftest.o` in
7509 x86_64-*kfreebsd*-gnu)
7510 LD="${LD-ld} -m elf_i386_fbsd
"
7513 case `/usr/bin/file conftest.o` in
7515 LD="${LD-ld} -m elf32_x86_64
"
7518 LD="${LD-ld} -m elf_i386
"
7522 powerpc64le-*linux*)
7523 LD="${LD-ld} -m elf32lppclinux
"
7526 LD="${LD-ld} -m elf32ppclinux
"
7529 LD="${LD-ld} -m elf_s390
"
7532 LD="${LD-ld} -m elf32_sparc
"
7538 x86_64-*kfreebsd*-gnu)
7539 LD="${LD-ld} -m elf_x86_64_fbsd
"
7542 LD="${LD-ld} -m elf_x86_64
"
7545 LD="${LD-ld} -m elf64lppc
"
7548 LD="${LD-ld} -m elf64ppc
"
7550 s390*-*linux*|s390*-*tpf*)
7551 LD="${LD-ld} -m elf64_s390
"
7554 LD="${LD-ld} -m elf64_sparc
"
7564 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7565 SAVE_CFLAGS="$CFLAGS"
7566 CFLAGS="$CFLAGS -belf"
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7568 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7569 if ${lt_cv_cc_needs_belf+:} false; then :
7570 $as_echo_n "(cached
) " >&6
7573 ac_cpp='$CPP $CPPFLAGS'
7574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7579 /* end confdefs.h. */
7589 if ac_fn_c_try_link "$LINENO"; then :
7590 lt_cv_cc_needs_belf=yes
7592 lt_cv_cc_needs_belf=no
7594 rm -f core conftest.err conftest.$ac_objext \
7595 conftest$ac_exeext conftest.$ac_ext
7597 ac_cpp='$CPP $CPPFLAGS'
7598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7604 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7605 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7606 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7607 CFLAGS="$SAVE_CFLAGS"
7611 # Find out which ABI we are using.
7612 echo 'int i;' > conftest.$ac_ext
7613 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7614 (eval $ac_compile) 2>&5
7616 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7617 test $ac_status = 0; }; then
7618 case `/usr/bin/file conftest.o` in
7620 case $lt_cv_prog_gnu_ld in
7621 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7623 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7635 need_locks="$enable_libtool_lock"
7639 rhapsody* | darwin*)
7640 if test -n "$ac_tool_prefix"; then
7641 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7642 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7644 $as_echo_n "checking
for $ac_word...
" >&6; }
7645 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7646 $as_echo_n "(cached
) " >&6
7648 if test -n "$DSYMUTIL"; then
7649 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7655 test -z "$as_dir" && as_dir=.
7656 for ac_exec_ext in '' $ac_executable_extensions; do
7657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7658 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7659 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7668 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7669 if test -n "$DSYMUTIL"; then
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7671 $as_echo "$DSYMUTIL" >&6; }
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7674 $as_echo "no
" >&6; }
7679 if test -z "$ac_cv_prog_DSYMUTIL"; then
7680 ac_ct_DSYMUTIL=$DSYMUTIL
7681 # Extract the first word of "dsymutil
", so it can be a program name with args.
7682 set dummy dsymutil; ac_word=$2
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7684 $as_echo_n "checking
for $ac_word...
" >&6; }
7685 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7686 $as_echo_n "(cached
) " >&6
7688 if test -n "$ac_ct_DSYMUTIL"; then
7689 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7695 test -z "$as_dir" && as_dir=.
7696 for ac_exec_ext in '' $ac_executable_extensions; do
7697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7698 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7699 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7708 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7709 if test -n "$ac_ct_DSYMUTIL"; then
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7711 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7714 $as_echo "no
" >&6; }
7717 if test "x
$ac_ct_DSYMUTIL" = x; then
7720 case $cross_compiling:$ac_tool_warned in
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7723 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7724 ac_tool_warned=yes ;;
7726 DSYMUTIL=$ac_ct_DSYMUTIL
7729 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7732 if test -n "$ac_tool_prefix"; then
7733 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7734 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7736 $as_echo_n "checking
for $ac_word...
" >&6; }
7737 if ${ac_cv_prog_NMEDIT+:} false; then :
7738 $as_echo_n "(cached
) " >&6
7740 if test -n "$NMEDIT"; then
7741 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7747 test -z "$as_dir" && as_dir=.
7748 for ac_exec_ext in '' $ac_executable_extensions; do
7749 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7750 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7751 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7760 NMEDIT=$ac_cv_prog_NMEDIT
7761 if test -n "$NMEDIT"; then
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7763 $as_echo "$NMEDIT" >&6; }
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7766 $as_echo "no
" >&6; }
7771 if test -z "$ac_cv_prog_NMEDIT"; then
7772 ac_ct_NMEDIT=$NMEDIT
7773 # Extract the first word of "nmedit
", so it can be a program name with args.
7774 set dummy nmedit; ac_word=$2
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7776 $as_echo_n "checking
for $ac_word...
" >&6; }
7777 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7778 $as_echo_n "(cached
) " >&6
7780 if test -n "$ac_ct_NMEDIT"; then
7781 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7787 test -z "$as_dir" && as_dir=.
7788 for ac_exec_ext in '' $ac_executable_extensions; do
7789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7790 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7791 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7800 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7801 if test -n "$ac_ct_NMEDIT"; then
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7803 $as_echo "$ac_ct_NMEDIT" >&6; }
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7806 $as_echo "no
" >&6; }
7809 if test "x
$ac_ct_NMEDIT" = x; then
7812 case $cross_compiling:$ac_tool_warned in
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7815 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7816 ac_tool_warned=yes ;;
7818 NMEDIT=$ac_ct_NMEDIT
7821 NMEDIT="$ac_cv_prog_NMEDIT"
7824 if test -n "$ac_tool_prefix"; then
7825 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7826 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7828 $as_echo_n "checking
for $ac_word...
" >&6; }
7829 if ${ac_cv_prog_LIPO+:} false; then :
7830 $as_echo_n "(cached
) " >&6
7832 if test -n "$LIPO"; then
7833 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7839 test -z "$as_dir" && as_dir=.
7840 for ac_exec_ext in '' $ac_executable_extensions; do
7841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7842 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7843 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7852 LIPO=$ac_cv_prog_LIPO
7853 if test -n "$LIPO"; then
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7855 $as_echo "$LIPO" >&6; }
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7858 $as_echo "no
" >&6; }
7863 if test -z "$ac_cv_prog_LIPO"; then
7865 # Extract the first word of "lipo
", so it can be a program name with args.
7866 set dummy lipo; ac_word=$2
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7868 $as_echo_n "checking
for $ac_word...
" >&6; }
7869 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7870 $as_echo_n "(cached
) " >&6
7872 if test -n "$ac_ct_LIPO"; then
7873 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7879 test -z "$as_dir" && as_dir=.
7880 for ac_exec_ext in '' $ac_executable_extensions; do
7881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7882 ac_cv_prog_ac_ct_LIPO="lipo
"
7883 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7892 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7893 if test -n "$ac_ct_LIPO"; then
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7895 $as_echo "$ac_ct_LIPO" >&6; }
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7898 $as_echo "no
" >&6; }
7901 if test "x
$ac_ct_LIPO" = x; then
7904 case $cross_compiling:$ac_tool_warned in
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7907 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7908 ac_tool_warned=yes ;;
7913 LIPO="$ac_cv_prog_LIPO"
7916 if test -n "$ac_tool_prefix"; then
7917 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7918 set dummy ${ac_tool_prefix}otool; ac_word=$2
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7920 $as_echo_n "checking
for $ac_word...
" >&6; }
7921 if ${ac_cv_prog_OTOOL+:} false; then :
7922 $as_echo_n "(cached
) " >&6
7924 if test -n "$OTOOL"; then
7925 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7931 test -z "$as_dir" && as_dir=.
7932 for ac_exec_ext in '' $ac_executable_extensions; do
7933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7944 OTOOL=$ac_cv_prog_OTOOL
7945 if test -n "$OTOOL"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7947 $as_echo "$OTOOL" >&6; }
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7950 $as_echo "no
" >&6; }
7955 if test -z "$ac_cv_prog_OTOOL"; then
7957 # Extract the first word of "otool
", so it can be a program name with args.
7958 set dummy otool; ac_word=$2
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7960 $as_echo_n "checking
for $ac_word...
" >&6; }
7961 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7962 $as_echo_n "(cached
) " >&6
7964 if test -n "$ac_ct_OTOOL"; then
7965 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7971 test -z "$as_dir" && as_dir=.
7972 for ac_exec_ext in '' $ac_executable_extensions; do
7973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7974 ac_cv_prog_ac_ct_OTOOL="otool
"
7975 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7984 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7985 if test -n "$ac_ct_OTOOL"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7987 $as_echo "$ac_ct_OTOOL" >&6; }
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7990 $as_echo "no
" >&6; }
7993 if test "x
$ac_ct_OTOOL" = x; then
7996 case $cross_compiling:$ac_tool_warned in
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7999 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8000 ac_tool_warned=yes ;;
8005 OTOOL="$ac_cv_prog_OTOOL"
8008 if test -n "$ac_tool_prefix"; then
8009 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8010 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8012 $as_echo_n "checking
for $ac_word...
" >&6; }
8013 if ${ac_cv_prog_OTOOL64+:} false; then :
8014 $as_echo_n "(cached
) " >&6
8016 if test -n "$OTOOL64"; then
8017 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 test -z "$as_dir" && as_dir=.
8024 for ac_exec_ext in '' $ac_executable_extensions; do
8025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8026 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8027 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8036 OTOOL64=$ac_cv_prog_OTOOL64
8037 if test -n "$OTOOL64"; then
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8039 $as_echo "$OTOOL64" >&6; }
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8042 $as_echo "no
" >&6; }
8047 if test -z "$ac_cv_prog_OTOOL64"; then
8048 ac_ct_OTOOL64=$OTOOL64
8049 # Extract the first word of "otool64
", so it can be a program name with args.
8050 set dummy otool64; ac_word=$2
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8052 $as_echo_n "checking
for $ac_word...
" >&6; }
8053 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8054 $as_echo_n "(cached
) " >&6
8056 if test -n "$ac_ct_OTOOL64"; then
8057 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8063 test -z "$as_dir" && as_dir=.
8064 for ac_exec_ext in '' $ac_executable_extensions; do
8065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8066 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8067 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8076 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8077 if test -n "$ac_ct_OTOOL64"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8079 $as_echo "$ac_ct_OTOOL64" >&6; }
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8082 $as_echo "no
" >&6; }
8085 if test "x
$ac_ct_OTOOL64" = x; then
8088 case $cross_compiling:$ac_tool_warned in
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8091 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8092 ac_tool_warned=yes ;;
8094 OTOOL64=$ac_ct_OTOOL64
8097 OTOOL64="$ac_cv_prog_OTOOL64"
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8127 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8128 if ${lt_cv_apple_cc_single_mod+:} false; then :
8129 $as_echo_n "(cached
) " >&6
8131 lt_cv_apple_cc_single_mod=no
8132 if test -z "${LT_MULTI_MODULE}"; then
8133 # By default we will add the -single_module flag. You can override
8134 # by either setting the environment variable LT_MULTI_MODULE
8135 # non-empty at configure time, or by adding -multi_module to the
8137 rm -rf libconftest.dylib*
8138 echo "int foo
(void
){return 1;}" > conftest.c
8139 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8140 -dynamiclib -Wl,-single_module conftest.c
" >&5
8141 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8142 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8144 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8145 lt_cv_apple_cc_single_mod=yes
8147 cat conftest.err >&5
8149 rm -rf libconftest.dylib*
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8154 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8156 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8157 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8158 $as_echo_n "(cached
) " >&6
8160 lt_cv_ld_exported_symbols_list=no
8161 save_LDFLAGS=$LDFLAGS
8162 echo "_main
" > conftest.sym
8163 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8165 /* end confdefs.h. */
8175 if ac_fn_c_try_link "$LINENO"; then :
8176 lt_cv_ld_exported_symbols_list=yes
8178 lt_cv_ld_exported_symbols_list=no
8180 rm -f core conftest.err conftest.$ac_objext \
8181 conftest$ac_exeext conftest.$ac_ext
8182 LDFLAGS="$save_LDFLAGS"
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8186 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8188 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8189 if ${lt_cv_ld_force_load+:} false; then :
8190 $as_echo_n "(cached
) " >&6
8192 lt_cv_ld_force_load=no
8193 cat > conftest.c << _LT_EOF
8194 int forced_loaded() { return 2;}
8196 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8197 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8198 echo "$AR cru libconftest.a conftest.o
" >&5
8199 $AR cru libconftest.a conftest.o 2>&5
8200 cat > conftest.c << _LT_EOF
8201 int main() { return 0;}
8203 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8204 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8206 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8207 lt_cv_ld_force_load=yes
8209 cat conftest.err >&5
8211 rm -f conftest.err libconftest.a conftest conftest.c
8212 rm -rf conftest.dSYM
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8216 $as_echo "$lt_cv_ld_force_load" >&6; }
8218 rhapsody* | darwin1.[012])
8219 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8221 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8222 darwin*) # darwin 5.x on
8223 # if running on 10.5 or later, the deployment target defaults
8224 # to the OS version, if on x86, and 10.4, the deployment
8225 # target defaults to 10.4. Don't you love it?
8226 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8227 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8228 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8230 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8232 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8236 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8237 _lt_dar_single_mod='$single_module'
8239 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8240 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8242 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8244 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8245 _lt_dsymutil='~$DSYMUTIL $lib || :'
8252 for ac_header in dlfcn.h
8254 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8256 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8257 cat >>confdefs.h <<_ACEOF
8258 #define HAVE_DLFCN_H 1
8278 # Check whether --enable-shared was given.
8279 if test "${enable_shared+set}" = set; then :
8280 enableval=$enable_shared; p=${PACKAGE-default}
8282 yes) enable_shared=yes ;;
8283 no) enable_shared=no ;;
8286 # Look at the argument we got. We use all the common list separators.
8287 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8288 for pkg in $enableval; do
8290 if test "X
$pkg" = "X
$p"; then
8309 # Check whether --enable-static was given.
8310 if test "${enable_static+set}" = set; then :
8311 enableval=$enable_static; p=${PACKAGE-default}
8313 yes) enable_static=yes ;;
8314 no) enable_static=no ;;
8317 # Look at the argument we got. We use all the common list separators.
8318 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8319 for pkg in $enableval; do
8321 if test "X
$pkg" = "X
$p"; then
8341 # Check whether --with-pic was given.
8342 if test "${with_pic+set}" = set; then :
8343 withval=$with_pic; pic_mode="$withval"
8349 test -z "$pic_mode" && pic_mode=default
8357 # Check whether --enable-fast-install was given.
8358 if test "${enable_fast_install+set}" = set; then :
8359 enableval=$enable_fast_install; p=${PACKAGE-default}
8361 yes) enable_fast_install=yes ;;
8362 no) enable_fast_install=no ;;
8364 enable_fast_install=no
8365 # Look at the argument we got. We use all the common list separators.
8366 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8367 for pkg in $enableval; do
8369 if test "X
$pkg" = "X
$p"; then
8370 enable_fast_install=yes
8377 enable_fast_install=yes
8390 # This can be used to rebuild libtool when needed
8391 LIBTOOL_DEPS="$ltmain"
8393 # Always use our own libtool.
8394 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8421 test -z "$LN_S" && LN_S="ln -s"
8436 if test -n "${ZSH_VERSION+set}" ; then
8437 setopt NO_GLOB_SUBST
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8441 $as_echo_n "checking
for objdir...
" >&6; }
8442 if ${lt_cv_objdir+:} false; then :
8443 $as_echo_n "(cached
) " >&6
8445 rm -f .libs 2>/dev/null
8446 mkdir .libs 2>/dev/null
8447 if test -d .libs; then
8450 # MS-DOS does not allow filenames that begin with a dot.
8453 rmdir .libs 2>/dev/null
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8456 $as_echo "$lt_cv_objdir" >&6; }
8457 objdir=$lt_cv_objdir
8463 cat >>confdefs.h <<_ACEOF
8464 #define LT_OBJDIR "$lt_cv_objdir/"
8472 # AIX sometimes has problems with the GCC collect2 program. For some
8473 # reason, if we set the COLLECT_NAMES environment variable, the problems
8474 # vanish in a puff of smoke.
8475 if test "X
${COLLECT_NAMES+set}" != Xset; then
8477 export COLLECT_NAMES
8484 can_build_shared=yes
8486 # All known linkers require a `.a' archive for static linking (except MSVC,
8487 # which needs '.lib').
8490 with_gnu_ld="$lt_cv_prog_gnu_ld"
8493 old_CFLAGS="$CFLAGS"
8495 # Set sane defaults for various variables
8496 test -z "$CC" && CC=cc
8497 test -z "$LTCC" && LTCC=$CC
8498 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8499 test -z "$LD" && LD=ld
8500 test -z "$ac_objext" && ac_objext=o
8502 for cc_temp in $compiler""; do
8504 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8505 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8510 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8513 # Only perform the check for file, if the check method requires it
8514 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8515 case $deplibs_check_method in
8517 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8519 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8520 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8521 $as_echo_n "(cached
) " >&6
8525 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8528 lt_save_MAGIC_CMD="$MAGIC_CMD"
8529 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8530 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8531 for ac_dir in $ac_dummy; do
8533 test -z "$ac_dir" && ac_dir=.
8534 if test -f $ac_dir/${ac_tool_prefix}file; then
8535 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8536 if test -n "$file_magic_test_file"; then
8537 case $deplibs_check_method in
8539 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8540 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8541 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8542 $EGREP "$file_magic_regex" > /dev/null; then
8547 *** Warning: the command libtool uses to detect shared libraries,
8548 *** $file_magic_cmd, produces output that libtool cannot recognize.
8549 *** The result is that libtool may fail to recognize shared libraries
8550 *** as such. This will affect the creation of libtool libraries that
8551 *** depend on shared libraries, but programs linked with such libtool
8552 *** libraries will work regardless of this problem. Nevertheless, you
8553 *** may want to report the problem to your system manager and/or to
8554 *** bug-libtool@gnu.org
8564 MAGIC_CMD="$lt_save_MAGIC_CMD"
8569 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8570 if test -n "$MAGIC_CMD"; then
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8572 $as_echo "$MAGIC_CMD" >&6; }
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8575 $as_echo "no
" >&6; }
8582 if test -z "$lt_cv_path_MAGIC_CMD"; then
8583 if test -n "$ac_tool_prefix"; then
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8585 $as_echo_n "checking
for file...
" >&6; }
8586 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8587 $as_echo_n "(cached
) " >&6
8591 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8594 lt_save_MAGIC_CMD="$MAGIC_CMD"
8595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8596 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8597 for ac_dir in $ac_dummy; do
8599 test -z "$ac_dir" && ac_dir=.
8600 if test -f $ac_dir/file; then
8601 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8602 if test -n "$file_magic_test_file"; then
8603 case $deplibs_check_method in
8605 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8606 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8607 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8608 $EGREP "$file_magic_regex" > /dev/null; then
8613 *** Warning: the command libtool uses to detect shared libraries,
8614 *** $file_magic_cmd, produces output that libtool cannot recognize.
8615 *** The result is that libtool may fail to recognize shared libraries
8616 *** as such. This will affect the creation of libtool libraries that
8617 *** depend on shared libraries, but programs linked with such libtool
8618 *** libraries will work regardless of this problem. Nevertheless, you
8619 *** may want to report the problem to your system manager and/or to
8620 *** bug-libtool@gnu.org
8630 MAGIC_CMD="$lt_save_MAGIC_CMD"
8635 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8636 if test -n "$MAGIC_CMD"; then
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8638 $as_echo "$MAGIC_CMD" >&6; }
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8641 $as_echo "no
" >&6; }
8654 # Use C for the default configuration in the libtool script
8658 ac_cpp='$CPP $CPPFLAGS'
8659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8664 # Source file extension for C test sources.
8667 # Object file extension for compiled C test sources.
8671 # Code to be used in simple compile tests
8672 lt_simple_compile_test_code="int some_variable
= 0;"
8674 # Code to be used in simple link tests
8675 lt_simple_link_test_code='int main(){return(0);}'
8683 # If no C compiler was specified, use CC.
8686 # If no C compiler flags were specified, use CFLAGS.
8687 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8689 # Allow CC to be a program name with arguments.
8692 # Save the default compiler, since it gets overwritten when the other
8693 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8694 compiler_DEFAULT=$CC
8696 # save warnings/boilerplate of simple test code
8697 ac_outfile=conftest.$ac_objext
8698 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8699 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8700 _lt_compiler_boilerplate=`cat conftest.err`
8703 ac_outfile=conftest.$ac_objext
8704 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8705 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8706 _lt_linker_boilerplate=`cat conftest.err`
8711 ## There is no encapsulation within the following macros, do not change
8712 ## the running order or otherwise move them around unless you know exactly
8713 ## what you are doing...
8714 if test -n "$compiler"; then
8716 lt_prog_compiler_no_builtin_flag=
8718 if test "$GCC" = yes; then
8719 case $cc_basename in
8721 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8723 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8727 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8728 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8729 $as_echo_n "(cached
) " >&6
8731 lt_cv_prog_compiler_rtti_exceptions=no
8732 ac_outfile=conftest.$ac_objext
8733 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8734 lt_compiler_flag="-fno-rtti -fno-exceptions"
8735 # Insert the option either (1) after the last *FLAGS variable, or
8736 # (2) before a word containing "conftest.
", or (3) at the end.
8737 # Note that $ac_compile itself does not contain backslashes and begins
8738 # with a dollar sign (not a hyphen), so the echo should work correctly.
8739 # The option is referenced via a variable to avoid confusing sed.
8740 lt_compile=`echo "$ac_compile" | $SED \
8741 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8742 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8743 -e 's:$: $lt_compiler_flag:'`
8744 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8745 (eval "$lt_compile" 2>conftest.err)
8747 cat conftest.err >&5
8748 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8749 if (exit $ac_status) && test -s "$ac_outfile"; then
8750 # The compiler can only warn and ignore the option if not recognized
8751 # So say no if there are warnings other than the usual output.
8752 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8753 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8754 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8755 lt_cv_prog_compiler_rtti_exceptions=yes
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8762 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8764 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8765 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8777 lt_prog_compiler_wl=
8778 lt_prog_compiler_pic=
8779 lt_prog_compiler_static=
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8782 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8784 if test "$GCC" = yes; then
8785 lt_prog_compiler_wl='-Wl,'
8786 lt_prog_compiler_static='-static'
8790 # All AIX code is PIC.
8791 if test "$host_cpu" = ia64; then
8792 # AIX 5 now supports IA64 processor
8793 lt_prog_compiler_static='-Bstatic'
8795 lt_prog_compiler_pic='-fPIC'
8801 # see comment about AmigaOS4 .so support
8802 lt_prog_compiler_pic='-fPIC'
8805 # FIXME: we need at least 68020 code to build shared libraries, but
8806 # adding the `-m68020' flag to GCC prevents building anything better,
8808 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8813 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8814 # PIC is the default for these OSes.
8817 mingw* | cygwin* | pw32* | os2* | cegcc*)
8818 # This hack is so that the source file can tell whether it is being
8819 # built for inclusion in a dll (and should export symbols for example).
8820 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8821 # (--disable-auto-import) libraries
8822 lt_prog_compiler_pic='-DDLL_EXPORT'
8825 darwin* | rhapsody*)
8826 # PIC is the default on this platform
8827 # Common symbols not allowed in MH_DYLIB files
8828 lt_prog_compiler_pic='-fno-common'
8832 # PIC is the default for Haiku.
8833 # The "-static" flag exists, but is broken.
8834 lt_prog_compiler_static=
8838 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8839 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8840 # sets the default TLS model and affects inlining.
8846 lt_prog_compiler_pic='-fPIC'
8852 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8853 # Instead, we relocate shared libraries at runtime.
8857 # Just because we use GCC doesn't mean we suddenly get shared libraries
8858 # on systems that don't support them.
8859 lt_prog_compiler_can_build_shared=no
8864 # QNX uses GNU C++, but need to define -shared option too, otherwise
8866 lt_prog_compiler_pic='-fPIC -shared'
8870 if test -d /usr/nec; then
8871 lt_prog_compiler_pic=-Kconform_pic
8876 lt_prog_compiler_pic='-fPIC'
8880 case $cc_basename in
8881 nvcc*) # Cuda Compiler Driver 2.2
8882 lt_prog_compiler_wl='-Xlinker '
8883 lt_prog_compiler_pic='-Xcompiler -fPIC'
8887 # PORTME Check for flag to pass linker flags through the system compiler.
8890 lt_prog_compiler_wl='-Wl,'
8891 if test "$host_cpu" = ia64; then
8892 # AIX 5 now supports IA64 processor
8893 lt_prog_compiler_static='-Bstatic'
8895 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8899 mingw* | cygwin* | pw32* | os2* | cegcc*)
8900 # This hack is so that the source file can tell whether it is being
8901 # built for inclusion in a dll (and should export symbols for example).
8902 lt_prog_compiler_pic='-DDLL_EXPORT'
8905 hpux9* | hpux10* | hpux11*)
8906 lt_prog_compiler_wl='-Wl,'
8907 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8914 lt_prog_compiler_pic='+Z'
8917 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8918 lt_prog_compiler_static='${wl}-a ${wl}archive'
8921 irix5* | irix6* | nonstopux*)
8922 lt_prog_compiler_wl='-Wl,'
8923 # PIC (with -KPIC) is the default.
8924 lt_prog_compiler_static='-non_shared'
8927 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8928 case $cc_basename in
8929 # old Intel for x86_64 which still supported -KPIC.
8931 lt_prog_compiler_wl='-Wl,'
8932 lt_prog_compiler_pic='-KPIC'
8933 lt_prog_compiler_static='-static'
8935 # icc used to be incompatible with GCC.
8936 # ICC 10 doesn't accept -KPIC any more.
8938 lt_prog_compiler_wl='-Wl,'
8939 lt_prog_compiler_pic='-fPIC'
8940 lt_prog_compiler_static='-static'
8942 # Lahey Fortran 8.1.
8944 lt_prog_compiler_wl='-Wl,'
8945 lt_prog_compiler_pic='--shared'
8946 lt_prog_compiler_static='--static'
8948 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8949 # Portland Group compilers (*not* the Pentium gcc compiler,
8950 # which looks to be a dead project)
8951 lt_prog_compiler_wl='-Wl,'
8952 lt_prog_compiler_pic='-fpic'
8953 lt_prog_compiler_static='-Bstatic'
8956 lt_prog_compiler_wl='-Wl,'
8957 # All Alpha code is PIC.
8958 lt_prog_compiler_static='-non_shared'
8960 xl* | bgxl* | bgf* | mpixl*)
8961 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8962 lt_prog_compiler_wl='-Wl,'
8963 lt_prog_compiler_pic='-qpic'
8964 lt_prog_compiler_static='-qstaticlink'
8967 case `$CC -V 2>&1 | sed 5q` in
8968 *Sun\ F* | *Sun*Fortran*)
8969 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8970 lt_prog_compiler_pic='-KPIC'
8971 lt_prog_compiler_static='-Bstatic'
8972 lt_prog_compiler_wl=''
8976 lt_prog_compiler_pic='-KPIC'
8977 lt_prog_compiler_static='-Bstatic'
8978 lt_prog_compiler_wl='-Wl,'
8986 lt_prog_compiler_pic='-KPIC'
8987 lt_prog_compiler_static='-Bstatic'
8991 # QNX uses GNU C++, but need to define -shared option too, otherwise
8993 lt_prog_compiler_pic='-fPIC -shared'
8996 osf3* | osf4* | osf5*)
8997 lt_prog_compiler_wl='-Wl,'
8998 # All OSF/1 code is PIC.
8999 lt_prog_compiler_static='-non_shared'
9003 lt_prog_compiler_static='-non_shared'
9007 lt_prog_compiler_pic='-KPIC'
9008 lt_prog_compiler_static='-Bstatic'
9009 case $cc_basename in
9011 lt_prog_compiler_wl='-Qoption ld ';;
9013 lt_prog_compiler_wl='-Wl,';;
9018 lt_prog_compiler_wl='-Qoption ld '
9019 lt_prog_compiler_pic='-PIC'
9020 lt_prog_compiler_static='-Bstatic'
9023 sysv4 | sysv4.2uw2* | sysv4.3*)
9024 lt_prog_compiler_wl='-Wl,'
9025 lt_prog_compiler_pic='-KPIC'
9026 lt_prog_compiler_static='-Bstatic'
9030 if test -d /usr/nec ;then
9031 lt_prog_compiler_pic='-Kconform_pic'
9032 lt_prog_compiler_static='-Bstatic'
9036 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9037 lt_prog_compiler_wl='-Wl,'
9038 lt_prog_compiler_pic='-KPIC'
9039 lt_prog_compiler_static='-Bstatic'
9043 lt_prog_compiler_wl='-Wl,'
9044 lt_prog_compiler_can_build_shared=no
9048 lt_prog_compiler_pic='-pic'
9049 lt_prog_compiler_static='-Bstatic'
9053 lt_prog_compiler_can_build_shared=no
9059 # For platforms which do not support PIC, -DPIC is meaningless:
9061 lt_prog_compiler_pic=
9064 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
9068 $as_echo "$lt_prog_compiler_pic" >&6; }
9076 # Check to make sure the PIC flag actually works.
9078 if test -n "$lt_prog_compiler_pic"; then
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
9080 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
9081 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9082 $as_echo_n "(cached
) " >&6
9084 lt_cv_prog_compiler_pic_works=no
9085 ac_outfile=conftest.$ac_objext
9086 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9087 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9088 # Insert the option either (1) after the last *FLAGS variable, or
9089 # (2) before a word containing "conftest.
", or (3) at the end.
9090 # Note that $ac_compile itself does not contain backslashes and begins
9091 # with a dollar sign (not a hyphen), so the echo should work correctly.
9092 # The option is referenced via a variable to avoid confusing sed.
9093 lt_compile=`echo "$ac_compile" | $SED \
9094 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9096 -e 's:$: $lt_compiler_flag:'`
9097 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9098 (eval "$lt_compile" 2>conftest.err)
9100 cat conftest.err >&5
9101 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9102 if (exit $ac_status) && test -s "$ac_outfile"; then
9103 # The compiler can only warn and ignore the option if not recognized
9104 # So say no if there are warnings other than the usual output.
9105 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9106 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9107 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9108 lt_cv_prog_compiler_pic_works=yes
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9115 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9117 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9118 case $lt_prog_compiler_pic in
9120 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9123 lt_prog_compiler_pic=
9124 lt_prog_compiler_can_build_shared=no
9135 # Check to make sure the static flag actually works.
9137 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9139 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9140 if ${lt_cv_prog_compiler_static_works+:} false; then :
9141 $as_echo_n "(cached
) " >&6
9143 lt_cv_prog_compiler_static_works=no
9144 save_LDFLAGS="$LDFLAGS"
9145 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9146 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9147 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9148 # The linker can only warn and ignore the option if not recognized
9149 # So say no if there are warnings
9150 if test -s conftest.err; then
9151 # Append any errors to the config.log.
9152 cat conftest.err 1>&5
9153 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9154 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9155 if diff conftest.exp conftest.er2 >/dev/null; then
9156 lt_cv_prog_compiler_static_works=yes
9159 lt_cv_prog_compiler_static_works=yes
9163 LDFLAGS="$save_LDFLAGS"
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9167 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9169 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9172 lt_prog_compiler_static=
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9182 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9183 if ${lt_cv_prog_compiler_c_o+:} false; then :
9184 $as_echo_n "(cached
) " >&6
9186 lt_cv_prog_compiler_c_o=no
9187 $RM -r conftest 2>/dev/null
9191 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9193 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9194 # Insert the option either (1) after the last *FLAGS variable, or
9195 # (2) before a word containing "conftest.
", or (3) at the end.
9196 # Note that $ac_compile itself does not contain backslashes and begins
9197 # with a dollar sign (not a hyphen), so the echo should work correctly.
9198 lt_compile=`echo "$ac_compile" | $SED \
9199 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9200 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9201 -e 's:$: $lt_compiler_flag:'`
9202 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9203 (eval "$lt_compile" 2>out/conftest.err)
9205 cat out/conftest.err >&5
9206 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9207 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9209 # The compiler can only warn and ignore the option if not recognized
9210 # So say no if there are warnings
9211 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9212 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9213 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9214 lt_cv_prog_compiler_c_o=yes
9219 # SGI C++ compiler will create directory out/ii_files/ for
9220 # template instantiation
9221 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9222 $RM out/* && rmdir out
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9229 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9237 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9238 if ${lt_cv_prog_compiler_c_o+:} false; then :
9239 $as_echo_n "(cached
) " >&6
9241 lt_cv_prog_compiler_c_o=no
9242 $RM -r conftest 2>/dev/null
9246 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9248 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9249 # Insert the option either (1) after the last *FLAGS variable, or
9250 # (2) before a word containing "conftest.
", or (3) at the end.
9251 # Note that $ac_compile itself does not contain backslashes and begins
9252 # with a dollar sign (not a hyphen), so the echo should work correctly.
9253 lt_compile=`echo "$ac_compile" | $SED \
9254 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9255 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9256 -e 's:$: $lt_compiler_flag:'`
9257 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9258 (eval "$lt_compile" 2>out/conftest.err)
9260 cat out/conftest.err >&5
9261 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9262 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9264 # The compiler can only warn and ignore the option if not recognized
9265 # So say no if there are warnings
9266 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9267 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9268 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9269 lt_cv_prog_compiler_c_o=yes
9274 # SGI C++ compiler will create directory out/ii_files/ for
9275 # template instantiation
9276 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9277 $RM out/* && rmdir out
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9284 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9289 hard_links="nottested
"
9290 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9291 # do not overwrite the value of need_locks provided by the user
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9293 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9296 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9298 ln conftest.a conftest.b 2>&5 || hard_links=no
9299 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9301 $as_echo "$hard_links" >&6; }
9302 if test "$hard_links" = no; then
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9304 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9317 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9320 allow_undefined_flag=
9321 always_export_symbols=no
9323 archive_expsym_cmds=
9324 compiler_needs_object=no
9325 enable_shared_with_static_runtimes=no
9326 export_dynamic_flag_spec=
9327 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9328 hardcode_automatic=no
9330 hardcode_direct_absolute=no
9331 hardcode_libdir_flag_spec=
9332 hardcode_libdir_flag_spec_ld=
9333 hardcode_libdir_separator=
9335 hardcode_shlibpath_var=unsupported
9337 link_all_deplibs=unknown
9340 old_archive_from_new_cmds=
9341 old_archive_from_expsyms_cmds=
9342 thread_safe_flag_spec=
9343 whole_archive_flag_spec=
9344 # include_expsyms should be a list of space-separated symbols to be *always*
9345 # included in the symbol list
9347 # exclude_expsyms can be an extended regexp of symbols to exclude
9348 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9349 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9350 # as well as any symbol that contains `d'.
9351 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9352 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9353 # platforms (ab)use it in PIC code, but their linkers get confused if
9354 # the symbol is explicitly referenced. Since portable code cannot
9355 # rely on this symbol name, it's probably fine to never include it in
9356 # preloaded symbol tables.
9357 # Exclude shared library initialization/finalization symbols.
9358 extract_expsyms_cmds=
9361 cygwin* | mingw* | pw32* | cegcc*)
9362 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9363 # When not using gcc, we currently assume that we are using
9364 # Microsoft Visual C++.
9365 if test "$GCC" != yes; then
9370 # we just hope/assume this is gcc and not c89 (= MSVC++)
9380 # On some targets, GNU ld is compatible enough with the native linker
9381 # that we're better off using the native interface for both.
9382 lt_use_gnu_ld_interface=no
9383 if test "$with_gnu_ld" = yes; then
9386 # The AIX port of GNU ld has always aspired to compatibility
9387 # with the native linker. However, as the warning in the GNU ld
9388 # block says, versions before 2.19.5* couldn't really create working
9389 # shared libraries, regardless of the interface used.
9390 case `$LD -v 2>&1` in
9391 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9392 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9393 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9395 lt_use_gnu_ld_interface=yes
9400 lt_use_gnu_ld_interface=yes
9405 if test "$lt_use_gnu_ld_interface" = yes; then
9406 # If archive_cmds runs LD, not CC, wlarc should be empty
9409 # Set some defaults for GNU ld with shared library support. These
9410 # are reset later if shared libraries are not supported. Putting them
9411 # here allows them to be overridden if necessary.
9412 runpath_var=LD_RUN_PATH
9413 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9414 export_dynamic_flag_spec='${wl}--export-dynamic'
9415 # ancient GNU ld didn't support --whole-archive et. al.
9416 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9417 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9419 whole_archive_flag_spec=
9421 supports_anon_versioning=no
9422 case `$LD -v 2>&1` in
9423 *GNU\ gold*) supports_anon_versioning=yes ;;
9424 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9425 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9426 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9427 *\ 2.11.*) ;; # other 2.11 versions
9428 *) supports_anon_versioning=yes ;;
9431 # See if GNU ld supports shared libraries.
9434 # On AIX/PPC, the GNU linker is very broken
9435 if test "$host_cpu" != ia64; then
9439 *** Warning: the GNU linker, at least up to release 2.19, is reported
9440 *** to be unable to reliably create shared libraries on AIX.
9441 *** Therefore, libtool is disabling shared libraries support. If you
9442 *** really care for shared libraries, you may want to install binutils
9443 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9444 *** You will then need to restart the configuration process.
9453 # see comment about AmigaOS4 .so support
9454 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9455 archive_expsym_cmds=''
9458 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)'
9459 hardcode_libdir_flag_spec
='-L$libdir'
9460 hardcode_minus_L
=yes
9466 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9467 allow_undefined_flag
=unsupported
9468 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9469 # support --undefined. This deserves some investigation. FIXME
9470 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9476 cygwin
* | mingw
* | pw32
* | cegcc
*)
9477 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9478 # as there is no search path for DLLs.
9479 hardcode_libdir_flag_spec
='-L$libdir'
9480 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9481 allow_undefined_flag
=unsupported
9482 always_export_symbols
=no
9483 enable_shared_with_static_runtimes
=yes
9484 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9486 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9487 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9488 # If the export-symbols file already is a .def file (1st line
9489 # is EXPORTS), use it as is; otherwise, prepend...
9490 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9491 cp $export_symbols $output_objdir/$soname.def;
9493 echo EXPORTS > $output_objdir/$soname.def;
9494 cat $export_symbols >> $output_objdir/$soname.def;
9496 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9503 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9504 link_all_deplibs
=yes
9509 hardcode_shlibpath_var
=no
9510 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9511 export_dynamic_flag_spec
='${wl}-E'
9512 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9513 # Instead, shared libraries are loaded at an image base (0x10000000 by
9514 # default) and relocated if they conflict, which is a slow very memory
9515 # consuming and fragmenting process. To avoid this, we pick a random,
9516 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9517 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9518 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9519 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'
9522 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9524 if test "$host_os" = linux-dietlibc
; then
9525 case $cc_basename in
9526 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9529 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9530 && test "$tmp_diet" = no
9532 tmp_addflag
=' $pic_flag'
9533 tmp_sharedflag
='-shared'
9534 case $cc_basename,$host_cpu in
9535 pgcc
*) # Portland Group C compiler
9536 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'
9537 tmp_addflag
=' $pic_flag'
9539 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9540 # Portland Group f77 and f90 compilers
9541 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'
9542 tmp_addflag
=' $pic_flag -Mnomain' ;;
9543 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9544 tmp_addflag
=' -i_dynamic' ;;
9545 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9546 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9547 ifc
* | ifort
*) # Intel Fortran compiler
9548 tmp_addflag
=' -nofor_main' ;;
9549 lf95
*) # Lahey Fortran 8.1
9550 whole_archive_flag_spec
=
9551 tmp_sharedflag
='--shared' ;;
9552 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9553 tmp_sharedflag
='-qmkshrobj'
9555 nvcc
*) # Cuda Compiler Driver 2.2
9556 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'
9557 compiler_needs_object
=yes
9560 case `$CC -V 2>&1 | sed 5q` in
9561 *Sun\ C
*) # Sun C 5.9
9562 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'
9563 compiler_needs_object
=yes
9564 tmp_sharedflag
='-G' ;;
9565 *Sun\ F
*) # Sun Fortran 8.3
9566 tmp_sharedflag
='-G' ;;
9568 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9570 if test "x$supports_anon_versioning" = xyes
; then
9571 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9572 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9573 echo "local: *; };" >> $output_objdir/$libname.ver~
9574 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9577 case $cc_basename in
9578 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9579 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9580 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9581 hardcode_libdir_flag_spec
=
9582 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9583 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9584 if test "x$supports_anon_versioning" = xyes
; then
9585 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9586 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9587 echo "local: *; };" >> $output_objdir/$libname.ver~
9588 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9598 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9599 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9602 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9603 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9608 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9612 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9613 *** create shared libraries on Solaris systems. Therefore, libtool
9614 *** is disabling shared libraries support. We urge you to upgrade GNU
9615 *** binutils to release 2.9.1 or newer. Another option is to modify
9616 *** your PATH or compiler configuration so that the native linker is
9617 *** used, and then restart.
9620 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9621 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9622 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9628 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9629 case `$LD -v 2>&1` in
9630 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9634 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9635 *** reliably create shared libraries on SCO systems. Therefore, libtool
9636 *** is disabling shared libraries support. We urge you to upgrade GNU
9637 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9638 *** your PATH or compiler configuration so that the native linker is
9639 *** used, and then restart.
9644 # For security reasons, it is highly recommended that you always
9645 # use absolute paths for naming shared libraries, and exclude the
9646 # DT_RUNPATH tag from executables and libraries. But doing so
9647 # requires that you compile everything twice, which is a pain.
9648 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9649 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9650 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9651 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9660 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9663 hardcode_shlibpath_var
=no
9667 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9668 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9669 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9676 if test "$ld_shlibs" = no
; then
9678 hardcode_libdir_flag_spec
=
9679 export_dynamic_flag_spec
=
9680 whole_archive_flag_spec
=
9683 # PORTME fill in a description of your system's linker (not GNU ld)
9686 allow_undefined_flag
=unsupported
9687 always_export_symbols
=yes
9688 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'
9689 # Note: this linker hardcodes the directories in LIBPATH if there
9690 # are no directories specified by -L.
9691 hardcode_minus_L
=yes
9692 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9693 # Neither direct hardcoding nor static linking is supported with a
9695 hardcode_direct
=unsupported
9700 if test "$host_cpu" = ia64
; then
9701 # On IA64, the linker does run time linking by default, so we don't
9702 # have to do anything special.
9703 aix_use_runtimelinking
=no
9704 exp_sym_flag
='-Bexport'
9707 # If we're using GNU nm, then we don't want the "-C" option.
9708 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9709 # Also, AIX nm treats weak defined symbols like other global
9710 # defined symbols, whereas GNU nm marks them as "W".
9711 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9712 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'
9714 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'
9716 aix_use_runtimelinking
=no
9718 # Test if we are trying to use run time linking or normal
9719 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9720 # need to do runtime linking.
9721 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9722 for ld_flag
in $LDFLAGS; do
9723 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9724 aix_use_runtimelinking
=yes
9731 exp_sym_flag
='-bexport'
9732 no_entry_flag
='-bnoentry'
9735 # When large executables or shared objects are built, AIX ld can
9736 # have problems creating the table of contents. If linking a library
9737 # or program results in "error TOC overflow" add -mminimal-toc to
9738 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9739 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9743 hardcode_direct_absolute
=yes
9744 hardcode_libdir_separator
=':'
9745 link_all_deplibs
=yes
9746 file_list_spec
='${wl}-f,'
9748 if test "$GCC" = yes; then
9749 case $host_os in aix4.
[012]|aix4.
[012].
*)
9750 # We only want to do this on AIX 4.2 and lower, the check
9751 # below for broken collect2 doesn't work under 4.3+
9752 collect2name
=`${CC} -print-prog-name=collect2`
9753 if test -f "$collect2name" &&
9754 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9756 # We have reworked collect2
9759 # We have old collect2
9760 hardcode_direct
=unsupported
9761 # It fails to find uninstalled libraries when the uninstalled
9762 # path is not listed in the libpath. Setting hardcode_minus_L
9763 # to unsupported forces relinking
9764 hardcode_minus_L
=yes
9765 hardcode_libdir_flag_spec
='-L$libdir'
9766 hardcode_libdir_separator
=
9770 shared_flag
='-shared'
9771 if test "$aix_use_runtimelinking" = yes; then
9772 shared_flag
="$shared_flag "'${wl}-G'
9776 if test "$host_cpu" = ia64
; then
9777 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9778 # chokes on -Wl,-G. The following line is correct:
9781 if test "$aix_use_runtimelinking" = yes; then
9782 shared_flag
='${wl}-G'
9784 shared_flag
='${wl}-bM:SRE'
9789 export_dynamic_flag_spec
='${wl}-bexpall'
9790 # It seems that -bexpall does not export symbols beginning with
9791 # underscore (_), so it is better to generate a list of symbols to export.
9792 always_export_symbols
=yes
9793 if test "$aix_use_runtimelinking" = yes; then
9794 # Warning - without using the other runtime loading flags (-brtl),
9795 # -berok will link without error, but may produce a broken library.
9796 allow_undefined_flag
='-berok'
9797 # Determine the default libpath from the value encoded in an
9799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9800 /* end confdefs.h. */
9810 if ac_fn_c_try_link
"$LINENO"; then :
9812 lt_aix_libpath_sed
='
9813 /Import File Strings/,/^$/ {
9819 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9820 # Check for a 64-bit object if we didn't find anything.
9821 if test -z "$aix_libpath"; then
9822 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9825 rm -f core conftest.err conftest.
$ac_objext \
9826 conftest
$ac_exeext conftest.
$ac_ext
9827 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9829 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9830 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"
9832 if test "$host_cpu" = ia64
; then
9833 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9834 allow_undefined_flag
="-z nodefs"
9835 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"
9837 # Determine the default libpath from the value encoded in an
9839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9840 /* end confdefs.h. */
9850 if ac_fn_c_try_link
"$LINENO"; then :
9852 lt_aix_libpath_sed
='
9853 /Import File Strings/,/^$/ {
9859 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9860 # Check for a 64-bit object if we didn't find anything.
9861 if test -z "$aix_libpath"; then
9862 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9865 rm -f core conftest.err conftest.
$ac_objext \
9866 conftest
$ac_exeext conftest.
$ac_ext
9867 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9869 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9870 # Warning - without using the other run time loading flags,
9871 # -berok will link without error, but may produce a broken library.
9872 no_undefined_flag
=' ${wl}-bernotok'
9873 allow_undefined_flag
=' ${wl}-berok'
9874 if test "$with_gnu_ld" = yes; then
9875 # We only use this code for GNU lds that support --whole-archive.
9876 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9878 # Exported symbols can be pulled into shared objects from archives
9879 whole_archive_flag_spec
='$convenience'
9881 archive_cmds_need_lc
=yes
9882 # This is similar to how AIX traditionally builds its shared libraries.
9883 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'
9891 # see comment about AmigaOS4 .so support
9892 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9893 archive_expsym_cmds
=''
9896 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)'
9897 hardcode_libdir_flag_spec
='-L$libdir'
9898 hardcode_minus_L
=yes
9904 export_dynamic_flag_spec
=-rdynamic
9907 cygwin
* | mingw
* | pw32
* | cegcc
*)
9908 # When not using gcc, we currently assume that we are using
9909 # Microsoft Visual C++.
9910 # hardcode_libdir_flag_spec is actually meaningless, as there is
9911 # no search path for DLLs.
9912 hardcode_libdir_flag_spec
=' '
9913 allow_undefined_flag
=unsupported
9914 # Tell ltmain to make .lib files, not .a files.
9916 # Tell ltmain to make .dll files, not .so files.
9918 # FIXME: Setting linknames here is a bad hack.
9919 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9920 # The linker will automatically build a .lib file if we build a DLL.
9921 old_archive_from_new_cmds
='true'
9922 # FIXME: Should let the user specify the lib program.
9923 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9924 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9925 enable_shared_with_static_runtimes
=yes
9928 darwin
* | rhapsody
*)
9931 archive_cmds_need_lc
=no
9933 hardcode_automatic
=yes
9934 hardcode_shlibpath_var
=unsupported
9935 if test "$lt_cv_ld_force_load" = "yes"; then
9936 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\"`'
9938 whole_archive_flag_spec
=''
9940 link_all_deplibs
=yes
9941 allow_undefined_flag
="$_lt_dar_allow_undefined"
9942 case $cc_basename in
9943 ifort
*) _lt_dar_can_shared
=yes ;;
9944 *) _lt_dar_can_shared
=$GCC ;;
9946 if test "$_lt_dar_can_shared" = "yes"; then
9947 output_verbose_link_cmd
=func_echo_all
9948 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9949 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9950 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}"
9951 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}"
9960 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9961 hardcode_libdir_flag_spec
='-L$libdir'
9962 hardcode_shlibpath_var
=no
9965 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9966 # support. Future versions do this automatically, but an explicit c++rt0.o
9967 # does not break anything, and helps significantly (at the cost of a little
9970 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9971 hardcode_libdir_flag_spec
='-R$libdir'
9973 hardcode_shlibpath_var
=no
9976 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9978 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9980 hardcode_minus_L
=yes
9981 hardcode_shlibpath_var
=no
9984 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9985 freebsd
* | dragonfly
*)
9986 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9987 hardcode_libdir_flag_spec
='-R$libdir'
9989 hardcode_shlibpath_var
=no
9993 if test "$GCC" = yes; then
9994 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'
9996 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'
9998 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9999 hardcode_libdir_separator
=:
10000 hardcode_direct
=yes
10002 # hardcode_minus_L: Not really in the search PATH,
10003 # but as the default location of the library.
10004 hardcode_minus_L
=yes
10005 export_dynamic_flag_spec
='${wl}-E'
10009 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10010 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10012 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10014 if test "$with_gnu_ld" = no
; then
10015 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10016 hardcode_libdir_flag_spec_ld
='+b $libdir'
10017 hardcode_libdir_separator
=:
10018 hardcode_direct
=yes
10019 hardcode_direct_absolute
=yes
10020 export_dynamic_flag_spec
='${wl}-E'
10021 # hardcode_minus_L: Not really in the search PATH,
10022 # but as the default location of the library.
10023 hardcode_minus_L
=yes
10028 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10031 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10034 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10037 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10043 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10046 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10050 # Older versions of the 11.00 compiler do not understand -b yet
10051 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10053 $as_echo_n "checking if $CC understands -b... " >&6; }
10054 if ${lt_cv_prog_compiler__b+:} false
; then :
10055 $as_echo_n "(cached) " >&6
10057 lt_cv_prog_compiler__b
=no
10058 save_LDFLAGS
="$LDFLAGS"
10059 LDFLAGS
="$LDFLAGS -b"
10060 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10061 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10062 # The linker can only warn and ignore the option if not recognized
10063 # So say no if there are warnings
10064 if test -s conftest.err
; then
10065 # Append any errors to the config.log.
10066 cat conftest.err
1>&5
10067 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10068 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10069 if diff conftest.exp conftest.er2
>/dev
/null
; then
10070 lt_cv_prog_compiler__b
=yes
10073 lt_cv_prog_compiler__b
=yes
10077 LDFLAGS
="$save_LDFLAGS"
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10081 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10083 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10084 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10086 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10092 if test "$with_gnu_ld" = no
; then
10093 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10094 hardcode_libdir_separator
=:
10099 hardcode_shlibpath_var
=no
10102 hardcode_direct
=yes
10103 hardcode_direct_absolute
=yes
10104 export_dynamic_flag_spec
='${wl}-E'
10106 # hardcode_minus_L: Not really in the search PATH,
10107 # but as the default location of the library.
10108 hardcode_minus_L
=yes
10114 irix5
* | irix6
* | nonstopux
*)
10115 if test "$GCC" = yes; then
10116 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'
10117 # Try to use the -exported_symbol ld option, if it does not
10118 # work, assume that -exports_file does not work either and
10119 # implicitly export all symbols.
10120 save_LDFLAGS
="$LDFLAGS"
10121 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10126 if ac_fn_c_try_link
"$LINENO"; then :
10127 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'
10130 rm -f core conftest.err conftest.
$ac_objext \
10131 conftest
$ac_exeext conftest.
$ac_ext
10132 LDFLAGS
="$save_LDFLAGS"
10134 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'
10135 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'
10137 archive_cmds_need_lc
='no'
10138 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10139 hardcode_libdir_separator
=:
10141 link_all_deplibs
=yes
10145 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10146 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10148 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10150 hardcode_libdir_flag_spec
='-R$libdir'
10151 hardcode_direct
=yes
10152 hardcode_shlibpath_var
=no
10156 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10157 hardcode_direct
=yes
10158 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10159 hardcode_libdir_separator
=:
10160 hardcode_shlibpath_var
=no
10167 if test -f /usr
/libexec
/ld.so
; then
10168 hardcode_direct
=yes
10169 hardcode_shlibpath_var
=no
10170 hardcode_direct_absolute
=yes
10171 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10172 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10173 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10174 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10175 export_dynamic_flag_spec
='${wl}-E'
10178 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10179 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10180 hardcode_libdir_flag_spec
='-R$libdir'
10183 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10184 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10194 hardcode_libdir_flag_spec
='-L$libdir'
10195 hardcode_minus_L
=yes
10196 allow_undefined_flag
=unsupported
10197 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'
10198 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10202 if test "$GCC" = yes; then
10203 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10204 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'
10206 allow_undefined_flag
=' -expect_unresolved \*'
10207 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'
10209 archive_cmds_need_lc
='no'
10210 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10211 hardcode_libdir_separator
=:
10214 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10215 if test "$GCC" = yes; then
10216 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10217 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'
10218 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10220 allow_undefined_flag
=' -expect_unresolved \*'
10221 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'
10222 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~
10223 $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'
10225 # Both c and cxx compiler support -rpath directly
10226 hardcode_libdir_flag_spec
='-rpath $libdir'
10228 archive_cmds_need_lc
='no'
10229 hardcode_libdir_separator
=:
10233 no_undefined_flag
=' -z defs'
10234 if test "$GCC" = yes; then
10236 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10237 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10238 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10240 case `$CC -V 2>&1` in
10243 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10244 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10245 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10249 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10250 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10251 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10255 hardcode_libdir_flag_spec
='-R$libdir'
10256 hardcode_shlibpath_var
=no
10258 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10260 # The compiler driver will combine and reorder linker options,
10261 # but understands `-z linker_flag'. GCC discards it without `$wl',
10262 # but is careful enough not to reorder.
10263 # Supported since Solaris 2.6 (maybe 2.5.1?)
10264 if test "$GCC" = yes; then
10265 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10267 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10271 link_all_deplibs
=yes
10275 if test "x$host_vendor" = xsequent
; then
10276 # Use $CC to link under sequent, because it throws in some extra .o
10277 # files that make .init and .fini sections work.
10278 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10280 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10282 hardcode_libdir_flag_spec
='-L$libdir'
10283 hardcode_direct
=yes
10284 hardcode_minus_L
=yes
10285 hardcode_shlibpath_var
=no
10289 case $host_vendor in
10291 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10292 hardcode_direct
=yes # is this really true???
10295 ## LD is ld it makes a PLAMLIB
10296 ## CC just makes a GrossModule.
10297 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10298 reload_cmds
='$CC -r -o $output$reload_objs'
10302 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10303 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10306 runpath_var
='LD_RUN_PATH'
10307 hardcode_shlibpath_var
=no
10311 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10312 hardcode_shlibpath_var
=no
10313 export_dynamic_flag_spec
='-Bexport'
10317 if test -d /usr
/nec
; then
10318 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10319 hardcode_shlibpath_var
=no
10320 runpath_var
=LD_RUN_PATH
10321 hardcode_runpath_var
=yes
10326 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10327 no_undefined_flag
='${wl}-z,text'
10328 archive_cmds_need_lc
=no
10329 hardcode_shlibpath_var
=no
10330 runpath_var
='LD_RUN_PATH'
10332 if test "$GCC" = yes; then
10333 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10334 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10336 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10337 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10341 sysv5
* | sco3.2v5
* | sco5v6
*)
10342 # Note: We can NOT use -z defs as we might desire, because we do not
10343 # link with -lc, and that would cause any symbols used from libc to
10344 # always be unresolved, which means just about no library would
10345 # ever link correctly. If we're not using GNU ld we use -z text
10346 # though, which does catch some bad symbols but isn't as heavy-handed
10348 no_undefined_flag
='${wl}-z,text'
10349 allow_undefined_flag
='${wl}-z,nodefs'
10350 archive_cmds_need_lc
=no
10351 hardcode_shlibpath_var
=no
10352 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10353 hardcode_libdir_separator
=':'
10354 link_all_deplibs
=yes
10355 export_dynamic_flag_spec
='${wl}-Bexport'
10356 runpath_var
='LD_RUN_PATH'
10358 if test "$GCC" = yes; then
10359 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10360 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10362 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10363 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10368 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10369 hardcode_libdir_flag_spec
='-L$libdir'
10370 hardcode_shlibpath_var
=no
10378 if test x
$host_vendor = xsni
; then
10380 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10381 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10388 $as_echo "$ld_shlibs" >&6; }
10389 test "$ld_shlibs" = no
&& can_build_shared
=no
10391 with_gnu_ld
=$with_gnu_ld
10408 # Do we need to explicitly link libc?
10410 case "x$archive_cmds_need_lc" in
10412 # Assume -lc should be added
10413 archive_cmds_need_lc
=yes
10415 if test "$enable_shared" = yes && test "$GCC" = yes; then
10416 case $archive_cmds in
10418 # FIXME: we may have to deal with multi-command sequences.
10421 # Test whether the compiler implicitly links with -lc since on some
10422 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10423 # to ld, don't add -lc before -lgcc.
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10425 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10426 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10427 $as_echo_n "(cached) " >&6
10430 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10432 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10433 (eval $ac_compile) 2>&5
10435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10436 test $ac_status = 0; } 2>conftest.err
; then
10439 libobjs
=conftest.
$ac_objext
10441 wl
=$lt_prog_compiler_wl
10442 pic_flag
=$lt_prog_compiler_pic
10448 lt_save_allow_undefined_flag
=$allow_undefined_flag
10449 allow_undefined_flag
=
10450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10451 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10454 test $ac_status = 0; }
10456 lt_cv_archive_cmds_need_lc
=no
10458 lt_cv_archive_cmds_need_lc
=yes
10460 allow_undefined_flag
=$lt_save_allow_undefined_flag
10462 cat conftest.err
1>&5
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10468 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10469 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10633 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10635 if test "$GCC" = yes; then
10637 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10638 *) lt_awk_arg
="/^libraries:/" ;;
10641 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10642 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10644 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10645 case $lt_search_path_spec in
10647 # if the path contains ";" then we assume it to be the separator
10648 # otherwise default to the standard path separator (i.e. ":") - it is
10649 # assumed that no part of a normal pathname contains ";" but that should
10650 # okay in the real world where ";" in dirpaths is itself problematic.
10651 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10654 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10657 # Ok, now we have the path, separated by spaces, we can step through it
10658 # and add multilib dir if necessary.
10659 lt_tmp_lt_search_path_spec
=
10660 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10661 for lt_sys_path
in $lt_search_path_spec; do
10662 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10663 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10665 test -d "$lt_sys_path" && \
10666 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10669 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10670 BEGIN {RS=" "; FS="/|\n";} {
10673 for (lt_i = NF; lt_i > 0; lt_i--) {
10674 if ($lt_i != "" && $lt_i != ".") {
10675 if ($lt_i == "..") {
10678 if (lt_count == 0) {
10679 lt_foo="/" $lt_i lt_foo;
10686 if (lt_foo != "") { lt_freq[lt_foo]++; }
10687 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10689 # AWK program above erroneously prepends '/' to C:/dos/paths
10692 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10693 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10695 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10697 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10699 library_names_spec
=
10700 libname_spec
='lib$name'
10704 postuninstall_cmds
=
10708 shlibpath_overrides_runpath
=unknown
10710 dynamic_linker
="$host_os ld.so"
10711 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10712 need_lib_prefix
=unknown
10713 hardcode_into_libs
=no
10715 # when you set need_version to no, make sure it does not cause -set_version
10716 # flags to be left without arguments
10717 need_version
=unknown
10722 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10723 shlibpath_var
=LIBPATH
10725 # AIX 3 has no versioning support, so we append a major version to the name.
10726 soname_spec
='${libname}${release}${shared_ext}$major'
10733 hardcode_into_libs
=yes
10734 if test "$host_cpu" = ia64
; then
10735 # AIX 5 supports IA64
10736 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10737 shlibpath_var
=LD_LIBRARY_PATH
10739 # With GCC up to 2.95.x, collect2 would create an import file
10740 # for dependence libraries. The import file would start with
10741 # the line `#! .'. This would cause the generated library to
10742 # depend on `.', always an invalid library. This was fixed in
10743 # development snapshots of GCC prior to 3.0.
10745 aix4 | aix4.
[01] | aix4.
[01].
*)
10746 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10748 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10751 can_build_shared
=no
10755 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10756 # soname into executable. Probably we can add versioning support to
10757 # collect2, so additional links can be useful in future.
10758 if test "$aix_use_runtimelinking" = yes; then
10759 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10760 # instead of lib<name>.a to let people know that these are not
10761 # typical AIX shared libraries.
10762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10764 # We preserve .a as extension for shared libraries through AIX4.2
10765 # and later when we are not doing run time linking.
10766 library_names_spec
='${libname}${release}.a $libname.a'
10767 soname_spec
='${libname}${release}${shared_ext}$major'
10769 shlibpath_var
=LIBPATH
10776 # Since July 2007 AmigaOS4 officially supports .so libraries.
10777 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10781 library_names_spec
='$libname.ixlibrary $libname.a'
10782 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10783 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'
10789 library_names_spec
='${libname}${shared_ext}'
10790 dynamic_linker
="$host_os ld.so"
10791 shlibpath_var
=LIBRARY_PATH
10797 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10798 soname_spec
='${libname}${release}${shared_ext}$major'
10799 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10800 shlibpath_var
=LD_LIBRARY_PATH
10801 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10802 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10803 # the default ld.so.conf also contains /usr/contrib/lib and
10804 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10805 # libtool to hard-code these into programs
10808 cygwin
* | mingw
* | pw32
* | cegcc
*)
10809 version_type
=windows
10814 case $GCC,$host_os in
10815 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10816 library_names_spec
='$libname.dll.a'
10817 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10818 postinstall_cmds
='base_file=`basename \${file}`~
10819 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10820 dldir=$destdir/`dirname \$dlpath`~
10821 test -d \$dldir || mkdir -p \$dldir~
10822 $install_prog $dir/$dlname \$dldir/$dlname~
10823 chmod a+x \$dldir/$dlname~
10824 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10825 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10827 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10828 dlpath=$dir/\$dldll~
10830 shlibpath_overrides_runpath
=yes
10834 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10835 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10837 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10840 # MinGW DLLs use traditional 'lib' prefix
10841 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10844 # pw32 DLLs use 'pw' prefix rather than 'lib'
10845 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10851 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10854 dynamic_linker
='Win32 ld.exe'
10855 # FIXME: first we should search . and the directory the executable is in
10859 darwin
* | rhapsody
*)
10860 dynamic_linker
="$host_os dyld"
10861 version_type
=darwin
10864 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10865 soname_spec
='${libname}${release}${major}$shared_ext'
10866 shlibpath_overrides_runpath
=yes
10867 shlibpath_var
=DYLD_LIBRARY_PATH
10868 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10870 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10871 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10879 soname_spec
='${libname}${release}${shared_ext}$major'
10880 shlibpath_var
=LD_LIBRARY_PATH
10883 freebsd
* | dragonfly
*)
10884 # DragonFly does not have aout. When/if they implement a new
10885 # versioning mechanism, adjust this.
10886 if test -x /usr
/bin
/objformat
; then
10887 objformat
=`/usr/bin/objformat`
10890 freebsd
[23].
*) objformat
=aout
;;
10891 *) objformat
=elf
;;
10894 version_type
=freebsd-
$objformat
10895 case $version_type in
10897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10902 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10906 shlibpath_var
=LD_LIBRARY_PATH
10909 shlibpath_overrides_runpath
=yes
10911 freebsd3.
[01]* | freebsdelf3.
[01]*)
10912 shlibpath_overrides_runpath
=yes
10913 hardcode_into_libs
=yes
10915 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10916 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10917 shlibpath_overrides_runpath
=no
10918 hardcode_into_libs
=yes
10920 *) # from 4.6 on, and DragonFly
10921 shlibpath_overrides_runpath
=yes
10922 hardcode_into_libs
=yes
10931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10932 soname_spec
='${libname}${release}${shared_ext}$major'
10933 shlibpath_var
=LD_LIBRARY_PATH
10934 hardcode_into_libs
=yes
10941 dynamic_linker
="$host_os runtime_loader"
10942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10943 soname_spec
='${libname}${release}${shared_ext}$major'
10944 shlibpath_var
=LIBRARY_PATH
10945 shlibpath_overrides_runpath
=yes
10946 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10947 hardcode_into_libs
=yes
10950 hpux9
* | hpux10
* | hpux11
*)
10951 # Give a soname corresponding to the major version so that dld.sl refuses to
10952 # link against other versions.
10959 hardcode_into_libs
=yes
10960 dynamic_linker
="$host_os dld.so"
10961 shlibpath_var
=LD_LIBRARY_PATH
10962 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10964 soname_spec
='${libname}${release}${shared_ext}$major'
10965 if test "X$HPUX_IA64_MODE" = X32
; then
10966 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10968 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10970 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10974 hardcode_into_libs
=yes
10975 dynamic_linker
="$host_os dld.sl"
10976 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10977 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10979 soname_spec
='${libname}${release}${shared_ext}$major'
10980 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10981 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10985 dynamic_linker
="$host_os dld.sl"
10986 shlibpath_var
=SHLIB_PATH
10987 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 soname_spec
='${libname}${release}${shared_ext}$major'
10992 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10993 postinstall_cmds
='chmod 555 $lib'
10994 # or fails outright, so override atomically:
10995 install_override_mode
=555
11002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11003 soname_spec
='${libname}${release}${shared_ext}$major'
11004 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11005 shlibpath_var
=LD_LIBRARY_PATH
11006 shlibpath_overrides_runpath
=no
11007 hardcode_into_libs
=yes
11010 irix5
* | irix6
* | nonstopux
*)
11012 nonstopux
*) version_type
=nonstopux
;;
11014 if test "$lt_cv_prog_gnu_ld" = yes; then
11022 soname_spec
='${libname}${release}${shared_ext}$major'
11023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11025 irix5
* | nonstopux
*)
11026 libsuff
= shlibsuff
=
11029 case $LD in # libtool.m4 will add one of these switches to LD
11030 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11031 libsuff
= shlibsuff
= libmagic
=32-bit;;
11032 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11033 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11034 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11035 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11036 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11040 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11041 shlibpath_overrides_runpath
=no
11042 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11043 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11044 hardcode_into_libs
=yes
11047 # No shared lib support for Linux oldld, aout, or coff.
11048 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11052 # This must be Linux ELF.
11054 # uclinux* changes (here and below) have been submitted to the libtool
11055 # project, but have not yet been accepted: they are GCC-local changes
11056 # for the time being. (See
11057 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11058 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
11062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063 soname_spec
='${libname}${release}${shared_ext}$major'
11064 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11065 shlibpath_var
=LD_LIBRARY_PATH
11066 shlibpath_overrides_runpath
=no
11068 # Some binutils ld are patched to set DT_RUNPATH
11069 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11070 $as_echo_n "(cached) " >&6
11072 lt_cv_shlibpath_overrides_runpath
=no
11073 save_LDFLAGS
=$LDFLAGS
11074 save_libdir
=$libdir
11075 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11076 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11078 /* end confdefs.h. */
11088 if ac_fn_c_try_link
"$LINENO"; then :
11089 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11090 lt_cv_shlibpath_overrides_runpath
=yes
11093 rm -f core conftest.err conftest.
$ac_objext \
11094 conftest
$ac_exeext conftest.
$ac_ext
11095 LDFLAGS
=$save_LDFLAGS
11096 libdir
=$save_libdir
11100 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11102 # This implies no fast_install, which is unacceptable.
11103 # Some rework will be needed to allow for fast_install
11104 # before this can be enabled.
11105 hardcode_into_libs
=yes
11107 # Append ld.so.conf contents to the search path
11108 if test -f /etc
/ld.so.conf
; then
11109 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' ' '`
11110 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11113 # We used to test for /lib/ld.so.1 and disable shared libraries on
11114 # powerpc, because MkLinux only supported shared libraries with the
11115 # GNU dynamic linker. Since this was broken with cross compilers,
11116 # most powerpc-linux boxes support dynamic linking these days and
11117 # people can always --disable-shared, the test was removed, and we
11118 # assume the GNU/Linux dynamic linker is in use.
11119 dynamic_linker
='GNU/Linux ld.so'
11126 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11128 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11129 dynamic_linker
='NetBSD (a.out) ld.so'
11131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11132 soname_spec
='${libname}${release}${shared_ext}$major'
11133 dynamic_linker
='NetBSD ld.elf_so'
11135 shlibpath_var
=LD_LIBRARY_PATH
11136 shlibpath_overrides_runpath
=yes
11137 hardcode_into_libs
=yes
11142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11143 shlibpath_var
=LD_LIBRARY_PATH
11144 shlibpath_overrides_runpath
=yes
11151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11152 soname_spec
='${libname}${release}${shared_ext}$major'
11153 shlibpath_var
=LD_LIBRARY_PATH
11154 shlibpath_overrides_runpath
=no
11155 hardcode_into_libs
=yes
11156 dynamic_linker
='ldqnx.so'
11161 sys_lib_dlsearch_path_spec
="/usr/lib"
11163 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11165 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11166 *) need_version
=no
;;
11168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11169 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11170 shlibpath_var
=LD_LIBRARY_PATH
11171 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11173 openbsd2.
[89] | openbsd2.
[89].
*)
11174 shlibpath_overrides_runpath
=no
11177 shlibpath_overrides_runpath
=yes
11181 shlibpath_overrides_runpath
=yes
11186 libname_spec
='$name'
11189 library_names_spec
='$libname${shared_ext} $libname.a'
11190 dynamic_linker
='OS/2 ld.exe'
11191 shlibpath_var
=LIBPATH
11194 osf3
* | osf4
* | osf5
*)
11198 soname_spec
='${libname}${release}${shared_ext}$major'
11199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11200 shlibpath_var
=LD_LIBRARY_PATH
11201 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11202 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11214 soname_spec
='${libname}${release}${shared_ext}$major'
11215 shlibpath_var
=LD_LIBRARY_PATH
11216 shlibpath_overrides_runpath
=yes
11217 hardcode_into_libs
=yes
11218 # ldd complains unless libraries are executable
11219 postinstall_cmds
='chmod +x $lib'
11224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11225 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11226 shlibpath_var
=LD_LIBRARY_PATH
11227 shlibpath_overrides_runpath
=yes
11228 if test "$with_gnu_ld" = yes; then
11236 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11237 soname_spec
='${libname}${release}${shared_ext}$major'
11238 shlibpath_var
=LD_LIBRARY_PATH
11239 case $host_vendor in
11241 shlibpath_overrides_runpath
=no
11243 runpath_var
=LD_RUN_PATH
11251 shlibpath_overrides_runpath
=no
11252 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11258 if test -d /usr
/nec
;then
11260 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11261 soname_spec
='$libname${shared_ext}.$major'
11262 shlibpath_var
=LD_LIBRARY_PATH
11266 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11267 version_type
=freebsd-elf
11270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11271 soname_spec
='${libname}${release}${shared_ext}$major'
11272 shlibpath_var
=LD_LIBRARY_PATH
11273 shlibpath_overrides_runpath
=yes
11274 hardcode_into_libs
=yes
11275 if test "$with_gnu_ld" = yes; then
11276 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11278 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11281 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11285 sys_lib_dlsearch_path_spec
='/usr/lib'
11289 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11294 shlibpath_var
=LD_LIBRARY_PATH
11295 shlibpath_overrides_runpath
=no
11296 hardcode_into_libs
=yes
11301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11302 soname_spec
='${libname}${release}${shared_ext}$major'
11303 shlibpath_var
=LD_LIBRARY_PATH
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11311 $as_echo "$dynamic_linker" >&6; }
11312 test "$dynamic_linker" = no
&& can_build_shared
=no
11314 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11315 if test "$GCC" = yes; then
11316 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11319 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11320 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11322 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11323 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11418 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11420 if test -n "$hardcode_libdir_flag_spec" ||
11421 test -n "$runpath_var" ||
11422 test "X$hardcode_automatic" = "Xyes" ; then
11424 # We can hardcode non-existent directories.
11425 if test "$hardcode_direct" != no
&&
11426 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11427 # have to relink, otherwise we might link with an installed library
11428 # when we should be linking with a yet-to-be-installed one
11429 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11430 test "$hardcode_minus_L" != no
; then
11431 # Linking always hardcodes the temporary library directory.
11432 hardcode_action
=relink
11434 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11435 hardcode_action
=immediate
11438 # We cannot hardcode anything, or else we can only hardcode existing
11440 hardcode_action
=unsupported
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11443 $as_echo "$hardcode_action" >&6; }
11445 if test "$hardcode_action" = relink ||
11446 test "$inherit_rpath" = yes; then
11447 # Fast installation is not supported
11448 enable_fast_install
=no
11449 elif test "$shlibpath_overrides_runpath" = yes ||
11450 test "$enable_shared" = no
; then
11451 # Fast installation is not necessary
11452 enable_fast_install
=needless
11460 if test "x$enable_dlopen" != xyes
; then
11461 enable_dlopen
=unknown
11462 enable_dlopen_self
=unknown
11463 enable_dlopen_self_static
=unknown
11470 lt_cv_dlopen
="load_add_on"
11472 lt_cv_dlopen_self
=yes
11475 mingw
* | pw32
* | cegcc
*)
11476 lt_cv_dlopen
="LoadLibrary"
11481 lt_cv_dlopen
="dlopen"
11486 # if libdl is installed we need to link against it
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11488 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11489 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11490 $as_echo_n "(cached) " >&6
11492 ac_check_lib_save_LIBS
=$LIBS
11494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11497 /* Override any GCC internal prototype to avoid an error.
11498 Use char because int might match the return type of a GCC
11499 builtin and then its argument prototype would still apply. */
11512 if ac_fn_c_try_link
"$LINENO"; then :
11513 ac_cv_lib_dl_dlopen
=yes
11515 ac_cv_lib_dl_dlopen
=no
11517 rm -f core conftest.err conftest.
$ac_objext \
11518 conftest
$ac_exeext conftest.
$ac_ext
11519 LIBS
=$ac_check_lib_save_LIBS
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11522 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11523 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11524 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11527 lt_cv_dlopen
="dyld"
11529 lt_cv_dlopen_self
=yes
11536 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11537 if test "x$ac_cv_func_shl_load" = xyes
; then :
11538 lt_cv_dlopen
="shl_load"
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11541 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11542 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11543 $as_echo_n "(cached) " >&6
11545 ac_check_lib_save_LIBS
=$LIBS
11547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11550 /* Override any GCC internal prototype to avoid an error.
11551 Use char because int might match the return type of a GCC
11552 builtin and then its argument prototype would still apply. */
11560 return shl_load ();
11565 if ac_fn_c_try_link
"$LINENO"; then :
11566 ac_cv_lib_dld_shl_load
=yes
11568 ac_cv_lib_dld_shl_load
=no
11570 rm -f core conftest.err conftest.
$ac_objext \
11571 conftest
$ac_exeext conftest.
$ac_ext
11572 LIBS
=$ac_check_lib_save_LIBS
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11575 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11576 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11577 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11579 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11580 if test "x$ac_cv_func_dlopen" = xyes
; then :
11581 lt_cv_dlopen
="dlopen"
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11584 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11585 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11586 $as_echo_n "(cached) " >&6
11588 ac_check_lib_save_LIBS
=$LIBS
11590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11591 /* end confdefs.h. */
11593 /* Override any GCC internal prototype to avoid an error.
11594 Use char because int might match the return type of a GCC
11595 builtin and then its argument prototype would still apply. */
11608 if ac_fn_c_try_link
"$LINENO"; then :
11609 ac_cv_lib_dl_dlopen
=yes
11611 ac_cv_lib_dl_dlopen
=no
11613 rm -f core conftest.err conftest.
$ac_objext \
11614 conftest
$ac_exeext conftest.
$ac_ext
11615 LIBS
=$ac_check_lib_save_LIBS
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11618 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11619 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11620 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11623 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11624 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11625 $as_echo_n "(cached) " >&6
11627 ac_check_lib_save_LIBS
=$LIBS
11628 LIBS
="-lsvld $LIBS"
11629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11630 /* end confdefs.h. */
11632 /* Override any GCC internal prototype to avoid an error.
11633 Use char because int might match the return type of a GCC
11634 builtin and then its argument prototype would still apply. */
11647 if ac_fn_c_try_link
"$LINENO"; then :
11648 ac_cv_lib_svld_dlopen
=yes
11650 ac_cv_lib_svld_dlopen
=no
11652 rm -f core conftest.err conftest.
$ac_objext \
11653 conftest
$ac_exeext conftest.
$ac_ext
11654 LIBS
=$ac_check_lib_save_LIBS
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11657 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11658 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11659 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11662 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11663 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11664 $as_echo_n "(cached) " >&6
11666 ac_check_lib_save_LIBS
=$LIBS
11668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11671 /* Override any GCC internal prototype to avoid an error.
11672 Use char because int might match the return type of a GCC
11673 builtin and then its argument prototype would still apply. */
11681 return dld_link ();
11686 if ac_fn_c_try_link
"$LINENO"; then :
11687 ac_cv_lib_dld_dld_link
=yes
11689 ac_cv_lib_dld_dld_link
=no
11691 rm -f core conftest.err conftest.
$ac_objext \
11692 conftest
$ac_exeext conftest.
$ac_ext
11693 LIBS
=$ac_check_lib_save_LIBS
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11696 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11697 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11698 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11719 if test "x$lt_cv_dlopen" != xno
; then
11725 case $lt_cv_dlopen in
11727 save_CPPFLAGS
="$CPPFLAGS"
11728 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11730 save_LDFLAGS
="$LDFLAGS"
11731 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11734 LIBS
="$lt_cv_dlopen_libs $LIBS"
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11737 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11738 if ${lt_cv_dlopen_self+:} false
; then :
11739 $as_echo_n "(cached) " >&6
11741 if test "$cross_compiling" = yes; then :
11742 lt_cv_dlopen_self
=cross
11744 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11745 lt_status
=$lt_dlunknown
11746 cat > conftest.
$ac_ext <<_LT_EOF
11747 #line 11747 "configure"
11748 #include "confdefs.h"
11757 # define LT_DLGLOBAL RTLD_GLOBAL
11760 # define LT_DLGLOBAL DL_GLOBAL
11762 # define LT_DLGLOBAL 0
11766 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11767 find out it does not work in some platform. */
11768 #ifndef LT_DLLAZY_OR_NOW
11770 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11773 # define LT_DLLAZY_OR_NOW DL_LAZY
11776 # define LT_DLLAZY_OR_NOW RTLD_NOW
11779 # define LT_DLLAZY_OR_NOW DL_NOW
11781 # define LT_DLLAZY_OR_NOW 0
11788 /* When -fvisbility=hidden is used, assume the code has been annotated
11789 correspondingly for the symbols needed. */
11790 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11791 void fnord () __attribute__((visibility("default")));
11794 void fnord () { int i=42; }
11797 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11798 int status = $lt_dlunknown;
11802 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11805 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11806 else puts (dlerror ());
11808 /* dlclose (self); */
11816 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11817 (eval $ac_link) 2>&5
11819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11820 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11821 (.
/conftest
; exit; ) >&5 2>/dev
/null
11823 case x
$lt_status in
11824 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11825 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11826 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11829 # compilation failed
11830 lt_cv_dlopen_self
=no
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11838 $as_echo "$lt_cv_dlopen_self" >&6; }
11840 if test "x$lt_cv_dlopen_self" = xyes
; then
11841 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11843 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11844 if ${lt_cv_dlopen_self_static+:} false
; then :
11845 $as_echo_n "(cached) " >&6
11847 if test "$cross_compiling" = yes; then :
11848 lt_cv_dlopen_self_static
=cross
11850 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11851 lt_status
=$lt_dlunknown
11852 cat > conftest.
$ac_ext <<_LT_EOF
11853 #line 11853 "configure"
11854 #include "confdefs.h"
11863 # define LT_DLGLOBAL RTLD_GLOBAL
11866 # define LT_DLGLOBAL DL_GLOBAL
11868 # define LT_DLGLOBAL 0
11872 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11873 find out it does not work in some platform. */
11874 #ifndef LT_DLLAZY_OR_NOW
11876 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11879 # define LT_DLLAZY_OR_NOW DL_LAZY
11882 # define LT_DLLAZY_OR_NOW RTLD_NOW
11885 # define LT_DLLAZY_OR_NOW DL_NOW
11887 # define LT_DLLAZY_OR_NOW 0
11894 /* When -fvisbility=hidden is used, assume the code has been annotated
11895 correspondingly for the symbols needed. */
11896 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11897 void fnord () __attribute__((visibility("default")));
11900 void fnord () { int i=42; }
11903 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11904 int status = $lt_dlunknown;
11908 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11911 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11912 else puts (dlerror ());
11914 /* dlclose (self); */
11922 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11923 (eval $ac_link) 2>&5
11925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11926 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11927 (.
/conftest
; exit; ) >&5 2>/dev
/null
11929 case x
$lt_status in
11930 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11931 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11932 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11935 # compilation failed
11936 lt_cv_dlopen_self_static
=no
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11944 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11947 CPPFLAGS
="$save_CPPFLAGS"
11948 LDFLAGS
="$save_LDFLAGS"
11953 case $lt_cv_dlopen_self in
11954 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11955 *) enable_dlopen_self
=unknown
;;
11958 case $lt_cv_dlopen_self_static in
11959 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11960 *) enable_dlopen_self_static
=unknown
;;
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11983 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11984 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11985 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11986 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11988 $as_echo "yes" >&6; }
11990 # FIXME - insert some real tests, host_os isn't really good enough
11993 if test -n "$STRIP" ; then
11994 striplib
="$STRIP -x"
11995 old_striplib
="$STRIP -S"
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11997 $as_echo "yes" >&6; }
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12000 $as_echo "no" >&6; }
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12005 $as_echo "no" >&6; }
12021 # Report which library types will actually be built
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12023 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12025 $as_echo "$can_build_shared" >&6; }
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12028 $as_echo_n "checking whether to build shared libraries... " >&6; }
12029 test "$can_build_shared" = "no" && enable_shared
=no
12031 # On AIX, shared libraries and static libraries use the same namespace, and
12032 # are all built from PIC.
12035 test "$enable_shared" = yes && enable_static
=no
12036 if test -n "$RANLIB"; then
12037 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12038 postinstall_cmds
='$RANLIB $lib'
12043 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12044 test "$enable_shared" = yes && enable_static
=no
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12049 $as_echo "$enable_shared" >&6; }
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12052 $as_echo_n "checking whether to build static libraries... " >&6; }
12053 # Make sure either enable_shared or enable_static is yes.
12054 test "$enable_shared" = yes || enable_static
=yes
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12056 $as_echo "$enable_static" >&6; }
12063 ac_cpp
='$CPP $CPPFLAGS'
12064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12082 ac_config_commands
="$ac_config_commands libtool"
12087 # Only expand once:
12093 gdc_save_DFLAGS
=$GDCFLAGS
12094 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime $GDCFLAGS"
12097 # Source file extension for D test sources.
12100 # Object file extension for compiled D test sources.
12104 # Code to be used in simple compile tests
12105 lt_simple_compile_test_code
="\
12107 shared int some_variable = 0;
12110 # Code to be used in simple link tests
12111 lt_simple_link_test_code
="\
12113 extern(C) int main() { return 0; }
12116 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12123 # If no C compiler was specified, use CC.
12126 # If no C compiler flags were specified, use CFLAGS.
12127 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12129 # Allow CC to be a program name with arguments.
12133 # save warnings/boilerplate of simple test code
12134 ac_outfile
=conftest.
$ac_objext
12135 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12136 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12137 _lt_compiler_boilerplate
=`cat conftest.err`
12140 ac_outfile
=conftest.
$ac_objext
12141 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12142 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12143 _lt_linker_boilerplate
=`cat conftest.err`
12147 # Allow CC to be a program name with arguments.
12149 lt_save_CFLAGS
=$CFLAGS
12157 for cc_temp
in $compiler""; do
12159 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12160 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12165 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12168 # GDC did not exist at the time GCC didn't implicitly link libc in.
12169 archive_cmds_need_lc_D
=no
12171 old_archive_cmds_D
=$old_archive_cmds
12172 reload_flag_D
=$reload_flag
12173 reload_cmds_D
=$reload_cmds
12176 ## There is no encapsulation within the following macros, do not change
12177 ## the running order or otherwise move them around unless you know exactly
12178 ## what you are doing...
12179 if test -n "$compiler"; then
12181 lt_prog_compiler_no_builtin_flag_D
=
12183 if test "$GCC" = yes; then
12184 case $cc_basename in
12186 lt_prog_compiler_no_builtin_flag_D
=' -Xcompiler -fno-builtin' ;;
12188 lt_prog_compiler_no_builtin_flag_D
=' -fno-builtin' ;;
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12192 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
12193 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
12194 $as_echo_n "(cached) " >&6
12196 lt_cv_prog_compiler_rtti_exceptions
=no
12197 ac_outfile
=conftest.
$ac_objext
12198 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12199 lt_compiler_flag
="-fno-rtti -fno-exceptions"
12200 # Insert the option either (1) after the last *FLAGS variable, or
12201 # (2) before a word containing "conftest.", or (3) at the end.
12202 # Note that $ac_compile itself does not contain backslashes and begins
12203 # with a dollar sign (not a hyphen), so the echo should work correctly.
12204 # The option is referenced via a variable to avoid confusing sed.
12205 lt_compile
=`echo "$ac_compile" | $SED \
12206 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12207 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12208 -e 's:$: $lt_compiler_flag:'`
12209 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12210 (eval "$lt_compile" 2>conftest.err
)
12212 cat conftest.err
>&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 if (exit $ac_status) && test -s "$ac_outfile"; then
12215 # The compiler can only warn and ignore the option if not recognized
12216 # So say no if there are warnings other than the usual output.
12217 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12218 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12219 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12220 lt_cv_prog_compiler_rtti_exceptions
=yes
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12227 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12229 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
12230 lt_prog_compiler_no_builtin_flag_D
="$lt_prog_compiler_no_builtin_flag_D -fno-rtti -fno-exceptions"
12239 lt_prog_compiler_wl_D
=
12240 lt_prog_compiler_pic_D
=
12241 lt_prog_compiler_static_D
=
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12244 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12246 if test "$GCC" = yes; then
12247 lt_prog_compiler_wl_D
='-Wl,'
12248 lt_prog_compiler_static_D
='-static'
12252 # All AIX code is PIC.
12253 if test "$host_cpu" = ia64
; then
12254 # AIX 5 now supports IA64 processor
12255 lt_prog_compiler_static_D
='-Bstatic'
12257 lt_prog_compiler_pic_D
='-fPIC'
12263 # see comment about AmigaOS4 .so support
12264 lt_prog_compiler_pic_D
='-fPIC'
12267 # FIXME: we need at least 68020 code to build shared libraries, but
12268 # adding the `-m68020' flag to GCC prevents building anything better,
12270 lt_prog_compiler_pic_D
='-m68020 -resident32 -malways-restore-a4'
12275 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12276 # PIC is the default for these OSes.
12279 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12280 # This hack is so that the source file can tell whether it is being
12281 # built for inclusion in a dll (and should export symbols for example).
12282 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12283 # (--disable-auto-import) libraries
12284 lt_prog_compiler_pic_D
='-DDLL_EXPORT'
12287 darwin
* | rhapsody
*)
12288 # PIC is the default on this platform
12289 # Common symbols not allowed in MH_DYLIB files
12290 lt_prog_compiler_pic_D
='-fno-common'
12294 # PIC is the default for Haiku.
12295 # The "-static" flag exists, but is broken.
12296 lt_prog_compiler_static_D
=
12300 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12301 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12302 # sets the default TLS model and affects inlining.
12308 lt_prog_compiler_pic_D
='-fPIC'
12314 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12315 # Instead, we relocate shared libraries at runtime.
12319 # Just because we use GCC doesn't mean we suddenly get shared libraries
12320 # on systems that don't support them.
12321 lt_prog_compiler_can_build_shared_D
=no
12326 # QNX uses GNU C++, but need to define -shared option too, otherwise
12327 # it will coredump.
12328 lt_prog_compiler_pic_D
='-fPIC -shared'
12332 if test -d /usr
/nec
; then
12333 lt_prog_compiler_pic_D
=-Kconform_pic
12338 lt_prog_compiler_pic_D
='-fPIC'
12342 case $cc_basename in
12343 nvcc
*) # Cuda Compiler Driver 2.2
12344 lt_prog_compiler_wl_D
='-Xlinker '
12345 lt_prog_compiler_pic_D
='-Xcompiler -fPIC'
12349 # PORTME Check for flag to pass linker flags through the system compiler.
12352 lt_prog_compiler_wl_D
='-Wl,'
12353 if test "$host_cpu" = ia64
; then
12354 # AIX 5 now supports IA64 processor
12355 lt_prog_compiler_static_D
='-Bstatic'
12357 lt_prog_compiler_static_D
='-bnso -bI:/lib/syscalls.exp'
12361 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12362 # This hack is so that the source file can tell whether it is being
12363 # built for inclusion in a dll (and should export symbols for example).
12364 lt_prog_compiler_pic_D
='-DDLL_EXPORT'
12367 hpux9
* | hpux10
* | hpux11
*)
12368 lt_prog_compiler_wl_D
='-Wl,'
12369 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12370 # not for PA HP-UX.
12376 lt_prog_compiler_pic_D
='+Z'
12379 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12380 lt_prog_compiler_static_D
='${wl}-a ${wl}archive'
12383 irix5
* | irix6
* | nonstopux
*)
12384 lt_prog_compiler_wl_D
='-Wl,'
12385 # PIC (with -KPIC) is the default.
12386 lt_prog_compiler_static_D
='-non_shared'
12389 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12390 case $cc_basename in
12391 # old Intel for x86_64 which still supported -KPIC.
12393 lt_prog_compiler_wl_D
='-Wl,'
12394 lt_prog_compiler_pic_D
='-KPIC'
12395 lt_prog_compiler_static_D
='-static'
12397 # icc used to be incompatible with GCC.
12398 # ICC 10 doesn't accept -KPIC any more.
12400 lt_prog_compiler_wl_D
='-Wl,'
12401 lt_prog_compiler_pic_D
='-fPIC'
12402 lt_prog_compiler_static_D
='-static'
12404 # Lahey Fortran 8.1.
12406 lt_prog_compiler_wl_D
='-Wl,'
12407 lt_prog_compiler_pic_D
='--shared'
12408 lt_prog_compiler_static_D
='--static'
12410 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12411 # Portland Group compilers (*not* the Pentium gcc compiler,
12412 # which looks to be a dead project)
12413 lt_prog_compiler_wl_D
='-Wl,'
12414 lt_prog_compiler_pic_D
='-fpic'
12415 lt_prog_compiler_static_D
='-Bstatic'
12418 lt_prog_compiler_wl_D
='-Wl,'
12419 # All Alpha code is PIC.
12420 lt_prog_compiler_static_D
='-non_shared'
12422 xl
* | bgxl
* | bgf
* | mpixl
*)
12423 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12424 lt_prog_compiler_wl_D
='-Wl,'
12425 lt_prog_compiler_pic_D
='-qpic'
12426 lt_prog_compiler_static_D
='-qstaticlink'
12429 case `$CC -V 2>&1 | sed 5q` in
12430 *Sun\ F
* |
*Sun
*Fortran
*)
12431 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12432 lt_prog_compiler_pic_D
='-KPIC'
12433 lt_prog_compiler_static_D
='-Bstatic'
12434 lt_prog_compiler_wl_D
=''
12438 lt_prog_compiler_pic_D
='-KPIC'
12439 lt_prog_compiler_static_D
='-Bstatic'
12440 lt_prog_compiler_wl_D
='-Wl,'
12448 lt_prog_compiler_pic_D
='-KPIC'
12449 lt_prog_compiler_static_D
='-Bstatic'
12453 # QNX uses GNU C++, but need to define -shared option too, otherwise
12454 # it will coredump.
12455 lt_prog_compiler_pic_D
='-fPIC -shared'
12458 osf3
* | osf4
* | osf5
*)
12459 lt_prog_compiler_wl_D
='-Wl,'
12460 # All OSF/1 code is PIC.
12461 lt_prog_compiler_static_D
='-non_shared'
12465 lt_prog_compiler_static_D
='-non_shared'
12469 lt_prog_compiler_pic_D
='-KPIC'
12470 lt_prog_compiler_static_D
='-Bstatic'
12471 case $cc_basename in
12472 f77
* | f90
* | f95
*)
12473 lt_prog_compiler_wl_D
='-Qoption ld ';;
12475 lt_prog_compiler_wl_D
='-Wl,';;
12480 lt_prog_compiler_wl_D
='-Qoption ld '
12481 lt_prog_compiler_pic_D
='-PIC'
12482 lt_prog_compiler_static_D
='-Bstatic'
12485 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12486 lt_prog_compiler_wl_D
='-Wl,'
12487 lt_prog_compiler_pic_D
='-KPIC'
12488 lt_prog_compiler_static_D
='-Bstatic'
12492 if test -d /usr
/nec
;then
12493 lt_prog_compiler_pic_D
='-Kconform_pic'
12494 lt_prog_compiler_static_D
='-Bstatic'
12498 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12499 lt_prog_compiler_wl_D
='-Wl,'
12500 lt_prog_compiler_pic_D
='-KPIC'
12501 lt_prog_compiler_static_D
='-Bstatic'
12505 lt_prog_compiler_wl_D
='-Wl,'
12506 lt_prog_compiler_can_build_shared_D
=no
12510 lt_prog_compiler_pic_D
='-pic'
12511 lt_prog_compiler_static_D
='-Bstatic'
12515 lt_prog_compiler_can_build_shared_D
=no
12521 # For platforms which do not support PIC, -DPIC is meaningless:
12523 lt_prog_compiler_pic_D
=
12526 lt_prog_compiler_pic_D
="$lt_prog_compiler_pic_D"
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_D" >&5
12530 $as_echo "$lt_prog_compiler_pic_D" >&6; }
12535 # Check to make sure the PIC flag actually works.
12537 if test -n "$lt_prog_compiler_pic_D"; then
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_D works" >&5
12539 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_D works... " >&6; }
12540 if ${lt_cv_prog_compiler_pic_works_D+:} false
; then :
12541 $as_echo_n "(cached) " >&6
12543 lt_cv_prog_compiler_pic_works_D
=no
12544 ac_outfile
=conftest.
$ac_objext
12545 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12546 lt_compiler_flag
="$lt_prog_compiler_pic_D"
12547 # Insert the option either (1) after the last *FLAGS variable, or
12548 # (2) before a word containing "conftest.", or (3) at the end.
12549 # Note that $ac_compile itself does not contain backslashes and begins
12550 # with a dollar sign (not a hyphen), so the echo should work correctly.
12551 # The option is referenced via a variable to avoid confusing sed.
12552 lt_compile
=`echo "$ac_compile" | $SED \
12553 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12554 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12555 -e 's:$: $lt_compiler_flag:'`
12556 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12557 (eval "$lt_compile" 2>conftest.err
)
12559 cat conftest.err
>&5
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 if (exit $ac_status) && test -s "$ac_outfile"; then
12562 # The compiler can only warn and ignore the option if not recognized
12563 # So say no if there are warnings other than the usual output.
12564 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12565 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12566 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12567 lt_cv_prog_compiler_pic_works_D
=yes
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_D" >&5
12574 $as_echo "$lt_cv_prog_compiler_pic_works_D" >&6; }
12576 if test x
"$lt_cv_prog_compiler_pic_works_D" = xyes
; then
12577 case $lt_prog_compiler_pic_D in
12579 *) lt_prog_compiler_pic_D
=" $lt_prog_compiler_pic_D" ;;
12582 lt_prog_compiler_pic_D
=
12583 lt_prog_compiler_can_build_shared_D
=no
12591 # Check to make sure the static flag actually works.
12593 wl
=$lt_prog_compiler_wl_D eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_D\"
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12595 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12596 if ${lt_cv_prog_compiler_static_works_D+:} false
; then :
12597 $as_echo_n "(cached) " >&6
12599 lt_cv_prog_compiler_static_works_D
=no
12600 save_LDFLAGS
="$LDFLAGS"
12601 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12602 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12603 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12604 # The linker can only warn and ignore the option if not recognized
12605 # So say no if there are warnings
12606 if test -s conftest.err
; then
12607 # Append any errors to the config.log.
12608 cat conftest.err
1>&5
12609 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12610 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12611 if diff conftest.exp conftest.er2
>/dev
/null
; then
12612 lt_cv_prog_compiler_static_works_D
=yes
12615 lt_cv_prog_compiler_static_works_D
=yes
12619 LDFLAGS
="$save_LDFLAGS"
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_D" >&5
12623 $as_echo "$lt_cv_prog_compiler_static_works_D" >&6; }
12625 if test x
"$lt_cv_prog_compiler_static_works_D" = xyes
; then
12628 lt_prog_compiler_static_D
=
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12635 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12636 if ${lt_cv_prog_compiler_c_o_D+:} false
; then :
12637 $as_echo_n "(cached) " >&6
12639 lt_cv_prog_compiler_c_o_D
=no
12640 $RM -r conftest
2>/dev
/null
12644 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12646 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12647 # Insert the option either (1) after the last *FLAGS variable, or
12648 # (2) before a word containing "conftest.", or (3) at the end.
12649 # Note that $ac_compile itself does not contain backslashes and begins
12650 # with a dollar sign (not a hyphen), so the echo should work correctly.
12651 lt_compile
=`echo "$ac_compile" | $SED \
12652 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12653 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12654 -e 's:$: $lt_compiler_flag:'`
12655 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12656 (eval "$lt_compile" 2>out
/conftest.err
)
12658 cat out
/conftest.err
>&5
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12662 # The compiler can only warn and ignore the option if not recognized
12663 # So say no if there are warnings
12664 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12665 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12666 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12667 lt_cv_prog_compiler_c_o_D
=yes
12672 # SGI C++ compiler will create directory out/ii_files/ for
12673 # template instantiation
12674 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12675 $RM out
/* && rmdir out
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_D" >&5
12682 $as_echo "$lt_cv_prog_compiler_c_o_D" >&6; }
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12687 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12688 if ${lt_cv_prog_compiler_c_o_D+:} false
; then :
12689 $as_echo_n "(cached) " >&6
12691 lt_cv_prog_compiler_c_o_D
=no
12692 $RM -r conftest
2>/dev
/null
12696 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12698 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12699 # Insert the option either (1) after the last *FLAGS variable, or
12700 # (2) before a word containing "conftest.", or (3) at the end.
12701 # Note that $ac_compile itself does not contain backslashes and begins
12702 # with a dollar sign (not a hyphen), so the echo should work correctly.
12703 lt_compile
=`echo "$ac_compile" | $SED \
12704 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12705 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12706 -e 's:$: $lt_compiler_flag:'`
12707 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12708 (eval "$lt_compile" 2>out
/conftest.err
)
12710 cat out
/conftest.err
>&5
12711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12714 # The compiler can only warn and ignore the option if not recognized
12715 # So say no if there are warnings
12716 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12717 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12718 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12719 lt_cv_prog_compiler_c_o_D
=yes
12724 # SGI C++ compiler will create directory out/ii_files/ for
12725 # template instantiation
12726 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12727 $RM out
/* && rmdir out
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_D" >&5
12734 $as_echo "$lt_cv_prog_compiler_c_o_D" >&6; }
12739 hard_links
="nottested"
12740 if test "$lt_cv_prog_compiler_c_o_D" = no
&& test "$need_locks" != no
; then
12741 # do not overwrite the value of need_locks provided by the user
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12743 $as_echo_n "checking if we can lock with hard links... " >&6; }
12746 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12748 ln conftest.a conftest.b
2>&5 || hard_links
=no
12749 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12751 $as_echo "$hard_links" >&6; }
12752 if test "$hard_links" = no
; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12754 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12764 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12767 allow_undefined_flag_D
=
12768 always_export_symbols_D
=no
12770 archive_expsym_cmds_D
=
12771 compiler_needs_object_D
=no
12772 enable_shared_with_static_runtimes_D
=no
12773 export_dynamic_flag_spec_D
=
12774 export_symbols_cmds_D
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12775 hardcode_automatic_D
=no
12776 hardcode_direct_D
=no
12777 hardcode_direct_absolute_D
=no
12778 hardcode_libdir_flag_spec_D
=
12779 hardcode_libdir_flag_spec_ld_D
=
12780 hardcode_libdir_separator_D
=
12781 hardcode_minus_L_D
=no
12782 hardcode_shlibpath_var_D
=unsupported
12784 link_all_deplibs_D
=unknown
12786 module_expsym_cmds_D
=
12787 old_archive_from_new_cmds_D
=
12788 old_archive_from_expsyms_cmds_D
=
12789 thread_safe_flag_spec_D
=
12790 whole_archive_flag_spec_D
=
12791 # include_expsyms should be a list of space-separated symbols to be *always*
12792 # included in the symbol list
12794 # exclude_expsyms can be an extended regexp of symbols to exclude
12795 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12796 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12797 # as well as any symbol that contains `d'.
12798 exclude_expsyms_D
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12799 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12800 # platforms (ab)use it in PIC code, but their linkers get confused if
12801 # the symbol is explicitly referenced. Since portable code cannot
12802 # rely on this symbol name, it's probably fine to never include it in
12803 # preloaded symbol tables.
12804 # Exclude shared library initialization/finalization symbols.
12805 extract_expsyms_cmds
=
12808 cygwin
* | mingw
* | pw32
* | cegcc
*)
12809 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12810 # When not using gcc, we currently assume that we are using
12811 # Microsoft Visual C++.
12812 if test "$GCC" != yes; then
12817 # we just hope/assume this is gcc and not c89 (= MSVC++)
12827 # On some targets, GNU ld is compatible enough with the native linker
12828 # that we're better off using the native interface for both.
12829 lt_use_gnu_ld_interface
=no
12830 if test "$with_gnu_ld" = yes; then
12833 # The AIX port of GNU ld has always aspired to compatibility
12834 # with the native linker. However, as the warning in the GNU ld
12835 # block says, versions before 2.19.5* couldn't really create working
12836 # shared libraries, regardless of the interface used.
12837 case `$LD -v 2>&1` in
12838 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12839 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12840 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12842 lt_use_gnu_ld_interface
=yes
12847 lt_use_gnu_ld_interface
=yes
12852 if test "$lt_use_gnu_ld_interface" = yes; then
12853 # If archive_cmds runs LD, not CC, wlarc should be empty
12856 # Set some defaults for GNU ld with shared library support. These
12857 # are reset later if shared libraries are not supported. Putting them
12858 # here allows them to be overridden if necessary.
12859 runpath_var
=LD_RUN_PATH
12860 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
12861 export_dynamic_flag_spec_D
='${wl}--export-dynamic'
12862 # ancient GNU ld didn't support --whole-archive et. al.
12863 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12864 whole_archive_flag_spec_D
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12866 whole_archive_flag_spec_D
=
12868 supports_anon_versioning
=no
12869 case `$LD -v 2>&1` in
12870 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12871 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12872 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12873 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12874 *\
2.11.
*) ;; # other 2.11 versions
12875 *) supports_anon_versioning
=yes ;;
12878 # See if GNU ld supports shared libraries.
12881 # On AIX/PPC, the GNU linker is very broken
12882 if test "$host_cpu" != ia64
; then
12886 *** Warning: the GNU linker, at least up to release 2.19, is reported
12887 *** to be unable to reliably create shared libraries on AIX.
12888 *** Therefore, libtool is disabling shared libraries support. If you
12889 *** really care for shared libraries, you may want to install binutils
12890 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12891 *** You will then need to restart the configuration process.
12900 # see comment about AmigaOS4 .so support
12901 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12902 archive_expsym_cmds_D
=''
12905 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)'
12906 hardcode_libdir_flag_spec_D
='-L$libdir'
12907 hardcode_minus_L_D
=yes
12913 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12914 allow_undefined_flag_D
=unsupported
12915 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12916 # support --undefined. This deserves some investigation. FIXME
12917 archive_cmds_D
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12923 cygwin
* | mingw
* | pw32
* | cegcc
*)
12924 # _LT_TAGVAR(hardcode_libdir_flag_spec, D) is actually meaningless,
12925 # as there is no search path for DLLs.
12926 hardcode_libdir_flag_spec_D
='-L$libdir'
12927 export_dynamic_flag_spec_D
='${wl}--export-all-symbols'
12928 allow_undefined_flag_D
=unsupported
12929 always_export_symbols_D
=no
12930 enable_shared_with_static_runtimes_D
=yes
12931 export_symbols_cmds_D
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12933 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12934 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12935 # If the export-symbols file already is a .def file (1st line
12936 # is EXPORTS), use it as is; otherwise, prepend...
12937 archive_expsym_cmds_D
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12938 cp $export_symbols $output_objdir/$soname.def;
12940 echo EXPORTS > $output_objdir/$soname.def;
12941 cat $export_symbols >> $output_objdir/$soname.def;
12943 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12950 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12951 link_all_deplibs_D
=yes
12955 hardcode_direct_D
=no
12956 hardcode_shlibpath_var_D
=no
12957 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
12958 export_dynamic_flag_spec_D
='${wl}-E'
12959 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12960 # Instead, shared libraries are loaded at an image base (0x10000000 by
12961 # default) and relocated if they conflict, which is a slow very memory
12962 # consuming and fragmenting process. To avoid this, we pick a random,
12963 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12964 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12965 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'
12966 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'
12969 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
12971 if test "$host_os" = linux-dietlibc
; then
12972 case $cc_basename in
12973 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12976 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12977 && test "$tmp_diet" = no
12979 tmp_addflag
=' $pic_flag'
12980 tmp_sharedflag
='-shared'
12981 case $cc_basename,$host_cpu in
12982 pgcc
*) # Portland Group C compiler
12983 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'
12984 tmp_addflag
=' $pic_flag'
12986 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12987 # Portland Group f77 and f90 compilers
12988 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'
12989 tmp_addflag
=' $pic_flag -Mnomain' ;;
12990 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12991 tmp_addflag
=' -i_dynamic' ;;
12992 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12993 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12994 ifc
* | ifort
*) # Intel Fortran compiler
12995 tmp_addflag
=' -nofor_main' ;;
12996 lf95
*) # Lahey Fortran 8.1
12997 whole_archive_flag_spec_D
=
12998 tmp_sharedflag
='--shared' ;;
12999 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13000 tmp_sharedflag
='-qmkshrobj'
13002 nvcc
*) # Cuda Compiler Driver 2.2
13003 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'
13004 compiler_needs_object_D
=yes
13007 case `$CC -V 2>&1 | sed 5q` in
13008 *Sun\ C
*) # Sun C 5.9
13009 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'
13010 compiler_needs_object_D
=yes
13011 tmp_sharedflag
='-G' ;;
13012 *Sun\ F
*) # Sun Fortran 8.3
13013 tmp_sharedflag
='-G' ;;
13015 archive_cmds_D
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13017 if test "x$supports_anon_versioning" = xyes
; then
13018 archive_expsym_cmds_D
='echo "{ global:" > $output_objdir/$libname.ver~
13019 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13020 echo "local: *; };" >> $output_objdir/$libname.ver~
13021 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13024 case $cc_basename in
13025 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
13026 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13027 whole_archive_flag_spec_D
='--whole-archive$convenience --no-whole-archive'
13028 hardcode_libdir_flag_spec_D
=
13029 hardcode_libdir_flag_spec_ld_D
='-rpath $libdir'
13030 archive_cmds_D
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13031 if test "x$supports_anon_versioning" = xyes
; then
13032 archive_expsym_cmds_D
='echo "{ global:" > $output_objdir/$libname.ver~
13033 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13034 echo "local: *; };" >> $output_objdir/$libname.ver~
13035 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13045 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13046 archive_cmds_D
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13049 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13050 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13055 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
13059 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13060 *** create shared libraries on Solaris systems. Therefore, libtool
13061 *** is disabling shared libraries support. We urge you to upgrade GNU
13062 *** binutils to release 2.9.1 or newer. Another option is to modify
13063 *** your PATH or compiler configuration so that the native linker is
13064 *** used, and then restart.
13067 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13068 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13069 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13075 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
13076 case `$LD -v 2>&1` in
13077 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
13081 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13082 *** reliably create shared libraries on SCO systems. Therefore, libtool
13083 *** is disabling shared libraries support. We urge you to upgrade GNU
13084 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
13085 *** your PATH or compiler configuration so that the native linker is
13086 *** used, and then restart.
13091 # For security reasons, it is highly recommended that you always
13092 # use absolute paths for naming shared libraries, and exclude the
13093 # DT_RUNPATH tag from executables and libraries. But doing so
13094 # requires that you compile everything twice, which is a pain.
13095 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13096 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13097 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13098 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13107 archive_cmds_D
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13109 hardcode_direct_D
=yes
13110 hardcode_shlibpath_var_D
=no
13114 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13115 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13116 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13123 if test "$ld_shlibs_D" = no
; then
13125 hardcode_libdir_flag_spec_D
=
13126 export_dynamic_flag_spec_D
=
13127 whole_archive_flag_spec_D
=
13130 # PORTME fill in a description of your system's linker (not GNU ld)
13133 allow_undefined_flag_D
=unsupported
13134 always_export_symbols_D
=yes
13135 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'
13136 # Note: this linker hardcodes the directories in LIBPATH if there
13137 # are no directories specified by -L.
13138 hardcode_minus_L_D
=yes
13139 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13140 # Neither direct hardcoding nor static linking is supported with a
13142 hardcode_direct_D
=unsupported
13147 if test "$host_cpu" = ia64
; then
13148 # On IA64, the linker does run time linking by default, so we don't
13149 # have to do anything special.
13150 aix_use_runtimelinking
=no
13151 exp_sym_flag
='-Bexport'
13154 # If we're using GNU nm, then we don't want the "-C" option.
13155 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13156 # Also, AIX nm treats weak defined symbols like other global
13157 # defined symbols, whereas GNU nm marks them as "W".
13158 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13159 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'
13161 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'
13163 aix_use_runtimelinking
=no
13165 # Test if we are trying to use run time linking or normal
13166 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13167 # need to do runtime linking.
13168 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13169 for ld_flag
in $LDFLAGS; do
13170 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13171 aix_use_runtimelinking
=yes
13178 exp_sym_flag
='-bexport'
13179 no_entry_flag
='-bnoentry'
13182 # When large executables or shared objects are built, AIX ld can
13183 # have problems creating the table of contents. If linking a library
13184 # or program results in "error TOC overflow" add -mminimal-toc to
13185 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13186 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13189 hardcode_direct_D
=yes
13190 hardcode_direct_absolute_D
=yes
13191 hardcode_libdir_separator_D
=':'
13192 link_all_deplibs_D
=yes
13193 file_list_spec_D
='${wl}-f,'
13195 if test "$GCC" = yes; then
13196 case $host_os in aix4.
[012]|aix4.
[012].
*)
13197 # We only want to do this on AIX 4.2 and lower, the check
13198 # below for broken collect2 doesn't work under 4.3+
13199 collect2name
=`${CC} -print-prog-name=collect2`
13200 if test -f "$collect2name" &&
13201 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13203 # We have reworked collect2
13206 # We have old collect2
13207 hardcode_direct_D
=unsupported
13208 # It fails to find uninstalled libraries when the uninstalled
13209 # path is not listed in the libpath. Setting hardcode_minus_L
13210 # to unsupported forces relinking
13211 hardcode_minus_L_D
=yes
13212 hardcode_libdir_flag_spec_D
='-L$libdir'
13213 hardcode_libdir_separator_D
=
13217 shared_flag
='-shared'
13218 if test "$aix_use_runtimelinking" = yes; then
13219 shared_flag
="$shared_flag "'${wl}-G'
13223 if test "$host_cpu" = ia64
; then
13224 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13225 # chokes on -Wl,-G. The following line is correct:
13228 if test "$aix_use_runtimelinking" = yes; then
13229 shared_flag
='${wl}-G'
13231 shared_flag
='${wl}-bM:SRE'
13236 export_dynamic_flag_spec_D
='${wl}-bexpall'
13237 # It seems that -bexpall does not export symbols beginning with
13238 # underscore (_), so it is better to generate a list of symbols to export.
13239 always_export_symbols_D
=yes
13240 if test "$aix_use_runtimelinking" = yes; then
13241 # Warning - without using the other runtime loading flags (-brtl),
13242 # -berok will link without error, but may produce a broken library.
13243 allow_undefined_flag_D
='-berok'
13244 # Determine the default libpath from the value encoded in an
13245 # empty executable.
13246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13247 /* end confdefs.h. */
13257 if ac_fn_c_try_link
"$LINENO"; then :
13259 lt_aix_libpath_sed
='
13260 /Import File Strings/,/^$/ {
13266 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13267 # Check for a 64-bit object if we didn't find anything.
13268 if test -z "$aix_libpath"; then
13269 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13272 rm -f core conftest.err conftest.
$ac_objext \
13273 conftest
$ac_exeext conftest.
$ac_ext
13274 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13276 hardcode_libdir_flag_spec_D
='${wl}-blibpath:$libdir:'"$aix_libpath"
13277 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"
13279 if test "$host_cpu" = ia64
; then
13280 hardcode_libdir_flag_spec_D
='${wl}-R $libdir:/usr/lib:/lib'
13281 allow_undefined_flag_D
="-z nodefs"
13282 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"
13284 # Determine the default libpath from the value encoded in an
13285 # empty executable.
13286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13287 /* end confdefs.h. */
13297 if ac_fn_c_try_link
"$LINENO"; then :
13299 lt_aix_libpath_sed
='
13300 /Import File Strings/,/^$/ {
13306 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13307 # Check for a 64-bit object if we didn't find anything.
13308 if test -z "$aix_libpath"; then
13309 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13312 rm -f core conftest.err conftest.
$ac_objext \
13313 conftest
$ac_exeext conftest.
$ac_ext
13314 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13316 hardcode_libdir_flag_spec_D
='${wl}-blibpath:$libdir:'"$aix_libpath"
13317 # Warning - without using the other run time loading flags,
13318 # -berok will link without error, but may produce a broken library.
13319 no_undefined_flag_D
=' ${wl}-bernotok'
13320 allow_undefined_flag_D
=' ${wl}-berok'
13321 if test "$with_gnu_ld" = yes; then
13322 # We only use this code for GNU lds that support --whole-archive.
13323 whole_archive_flag_spec_D
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13325 # Exported symbols can be pulled into shared objects from archives
13326 whole_archive_flag_spec_D
='$convenience'
13328 archive_cmds_need_lc_D
=yes
13329 # This is similar to how AIX traditionally builds its shared libraries.
13330 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'
13338 # see comment about AmigaOS4 .so support
13339 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13340 archive_expsym_cmds_D
=''
13343 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)'
13344 hardcode_libdir_flag_spec_D
='-L$libdir'
13345 hardcode_minus_L_D
=yes
13351 export_dynamic_flag_spec_D
=-rdynamic
13354 cygwin
* | mingw
* | pw32
* | cegcc
*)
13355 # When not using gcc, we currently assume that we are using
13356 # Microsoft Visual C++.
13357 # hardcode_libdir_flag_spec is actually meaningless, as there is
13358 # no search path for DLLs.
13359 hardcode_libdir_flag_spec_D
=' '
13360 allow_undefined_flag_D
=unsupported
13361 # Tell ltmain to make .lib files, not .a files.
13363 # Tell ltmain to make .dll files, not .so files.
13365 # FIXME: Setting linknames here is a bad hack.
13366 archive_cmds_D
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13367 # The linker will automatically build a .lib file if we build a DLL.
13368 old_archive_from_new_cmds_D
='true'
13369 # FIXME: Should let the user specify the lib program.
13370 old_archive_cmds_D
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13371 fix_srcfile_path_D
='`cygpath -w "$srcfile"`'
13372 enable_shared_with_static_runtimes_D
=yes
13375 darwin
* | rhapsody
*)
13378 archive_cmds_need_lc_D
=no
13379 hardcode_direct_D
=no
13380 hardcode_automatic_D
=yes
13381 hardcode_shlibpath_var_D
=unsupported
13382 if test "$lt_cv_ld_force_load" = "yes"; then
13383 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\"`'
13385 whole_archive_flag_spec_D
=''
13387 link_all_deplibs_D
=yes
13388 allow_undefined_flag_D
="$_lt_dar_allow_undefined"
13389 case $cc_basename in
13390 ifort
*) _lt_dar_can_shared
=yes ;;
13391 *) _lt_dar_can_shared
=$GCC ;;
13393 if test "$_lt_dar_can_shared" = "yes"; then
13394 output_verbose_link_cmd
=func_echo_all
13395 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}"
13396 module_cmds_D
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13397 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}"
13398 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}"
13407 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13408 hardcode_libdir_flag_spec_D
='-L$libdir'
13409 hardcode_shlibpath_var_D
=no
13412 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13413 # support. Future versions do this automatically, but an explicit c++rt0.o
13414 # does not break anything, and helps significantly (at the cost of a little
13417 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13418 hardcode_libdir_flag_spec_D
='-R$libdir'
13419 hardcode_direct_D
=yes
13420 hardcode_shlibpath_var_D
=no
13423 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13425 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13426 hardcode_direct_D
=yes
13427 hardcode_minus_L_D
=yes
13428 hardcode_shlibpath_var_D
=no
13431 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13432 freebsd
* | dragonfly
*)
13433 archive_cmds_D
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13434 hardcode_libdir_flag_spec_D
='-R$libdir'
13435 hardcode_direct_D
=yes
13436 hardcode_shlibpath_var_D
=no
13440 if test "$GCC" = yes; then
13441 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'
13443 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'
13445 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13446 hardcode_libdir_separator_D
=:
13447 hardcode_direct_D
=yes
13449 # hardcode_minus_L: Not really in the search PATH,
13450 # but as the default location of the library.
13451 hardcode_minus_L_D
=yes
13452 export_dynamic_flag_spec_D
='${wl}-E'
13456 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13457 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13459 archive_cmds_D
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13461 if test "$with_gnu_ld" = no
; then
13462 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13463 hardcode_libdir_flag_spec_ld_D
='+b $libdir'
13464 hardcode_libdir_separator_D
=:
13465 hardcode_direct_D
=yes
13466 hardcode_direct_absolute_D
=yes
13467 export_dynamic_flag_spec_D
='${wl}-E'
13468 # hardcode_minus_L: Not really in the search PATH,
13469 # but as the default location of the library.
13470 hardcode_minus_L_D
=yes
13475 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13478 archive_cmds_D
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13481 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13484 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13490 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13493 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13496 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13500 if test "$with_gnu_ld" = no
; then
13501 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13502 hardcode_libdir_separator_D
=:
13506 hardcode_direct_D
=no
13507 hardcode_shlibpath_var_D
=no
13510 hardcode_direct_D
=yes
13511 hardcode_direct_absolute_D
=yes
13512 export_dynamic_flag_spec_D
='${wl}-E'
13514 # hardcode_minus_L: Not really in the search PATH,
13515 # but as the default location of the library.
13516 hardcode_minus_L_D
=yes
13522 irix5
* | irix6
* | nonstopux
*)
13523 if test "$GCC" = yes; then
13524 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'
13525 # Try to use the -exported_symbol ld option, if it does not
13526 # work, assume that -exports_file does not work either and
13527 # implicitly export all symbols.
13528 save_LDFLAGS
="$LDFLAGS"
13529 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13534 if ac_fn_c_try_link
"$LINENO"; then :
13535 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'
13538 rm -f core conftest.err conftest.
$ac_objext \
13539 conftest
$ac_exeext conftest.
$ac_ext
13540 LDFLAGS
="$save_LDFLAGS"
13542 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'
13543 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'
13545 archive_cmds_need_lc_D
='no'
13546 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13547 hardcode_libdir_separator_D
=:
13548 inherit_rpath_D
=yes
13549 link_all_deplibs_D
=yes
13553 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13554 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13556 archive_cmds_D
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13558 hardcode_libdir_flag_spec_D
='-R$libdir'
13559 hardcode_direct_D
=yes
13560 hardcode_shlibpath_var_D
=no
13564 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13565 hardcode_direct_D
=yes
13566 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13567 hardcode_libdir_separator_D
=:
13568 hardcode_shlibpath_var_D
=no
13575 if test -f /usr
/libexec
/ld.so
; then
13576 hardcode_direct_D
=yes
13577 hardcode_shlibpath_var_D
=no
13578 hardcode_direct_absolute_D
=yes
13579 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13580 archive_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13581 archive_expsym_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13582 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
13583 export_dynamic_flag_spec_D
='${wl}-E'
13586 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13587 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13588 hardcode_libdir_flag_spec_D
='-R$libdir'
13591 archive_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13592 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
13602 hardcode_libdir_flag_spec_D
='-L$libdir'
13603 hardcode_minus_L_D
=yes
13604 allow_undefined_flag_D
=unsupported
13605 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'
13606 old_archive_from_new_cmds_D
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13610 if test "$GCC" = yes; then
13611 allow_undefined_flag_D
=' ${wl}-expect_unresolved ${wl}\*'
13612 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'
13614 allow_undefined_flag_D
=' -expect_unresolved \*'
13615 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'
13617 archive_cmds_need_lc_D
='no'
13618 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13619 hardcode_libdir_separator_D
=:
13622 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13623 if test "$GCC" = yes; then
13624 allow_undefined_flag_D
=' ${wl}-expect_unresolved ${wl}\*'
13625 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'
13626 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13628 allow_undefined_flag_D
=' -expect_unresolved \*'
13629 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'
13630 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~
13631 $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'
13633 # Both c and cxx compiler support -rpath directly
13634 hardcode_libdir_flag_spec_D
='-rpath $libdir'
13636 archive_cmds_need_lc_D
='no'
13637 hardcode_libdir_separator_D
=:
13641 no_undefined_flag_D
=' -z defs'
13642 if test "$GCC" = yes; then
13644 archive_cmds_D
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13645 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13646 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13648 case `$CC -V 2>&1` in
13651 archive_cmds_D
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13652 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13653 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13657 archive_cmds_D
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13658 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13659 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13663 hardcode_libdir_flag_spec_D
='-R$libdir'
13664 hardcode_shlibpath_var_D
=no
13666 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13668 # The compiler driver will combine and reorder linker options,
13669 # but understands `-z linker_flag'. GCC discards it without `$wl',
13670 # but is careful enough not to reorder.
13671 # Supported since Solaris 2.6 (maybe 2.5.1?)
13672 if test "$GCC" = yes; then
13673 whole_archive_flag_spec_D
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13675 whole_archive_flag_spec_D
='-z allextract$convenience -z defaultextract'
13679 link_all_deplibs_D
=yes
13683 if test "x$host_vendor" = xsequent
; then
13684 # Use $CC to link under sequent, because it throws in some extra .o
13685 # files that make .init and .fini sections work.
13686 archive_cmds_D
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13688 archive_cmds_D
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13690 hardcode_libdir_flag_spec_D
='-L$libdir'
13691 hardcode_direct_D
=yes
13692 hardcode_minus_L_D
=yes
13693 hardcode_shlibpath_var_D
=no
13697 case $host_vendor in
13699 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13700 hardcode_direct_D
=yes # is this really true???
13703 ## LD is ld it makes a PLAMLIB
13704 ## CC just makes a GrossModule.
13705 archive_cmds_D
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13706 reload_cmds_D
='$CC -r -o $output$reload_objs'
13707 hardcode_direct_D
=no
13710 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13711 hardcode_direct_D
=no
#Motorola manual says yes, but my tests say they lie
13714 runpath_var
='LD_RUN_PATH'
13715 hardcode_shlibpath_var_D
=no
13719 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13720 hardcode_shlibpath_var_D
=no
13721 export_dynamic_flag_spec_D
='-Bexport'
13725 if test -d /usr
/nec
; then
13726 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13727 hardcode_shlibpath_var_D
=no
13728 runpath_var
=LD_RUN_PATH
13729 hardcode_runpath_var
=yes
13734 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13735 no_undefined_flag_D
='${wl}-z,text'
13736 archive_cmds_need_lc_D
=no
13737 hardcode_shlibpath_var_D
=no
13738 runpath_var
='LD_RUN_PATH'
13740 if test "$GCC" = yes; then
13741 archive_cmds_D
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13742 archive_expsym_cmds_D
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13744 archive_cmds_D
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13745 archive_expsym_cmds_D
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13749 sysv5
* | sco3.2v5
* | sco5v6
*)
13750 # Note: We can NOT use -z defs as we might desire, because we do not
13751 # link with -lc, and that would cause any symbols used from libc to
13752 # always be unresolved, which means just about no library would
13753 # ever link correctly. If we're not using GNU ld we use -z text
13754 # though, which does catch some bad symbols but isn't as heavy-handed
13756 no_undefined_flag_D
='${wl}-z,text'
13757 allow_undefined_flag_D
='${wl}-z,nodefs'
13758 archive_cmds_need_lc_D
=no
13759 hardcode_shlibpath_var_D
=no
13760 hardcode_libdir_flag_spec_D
='${wl}-R,$libdir'
13761 hardcode_libdir_separator_D
=':'
13762 link_all_deplibs_D
=yes
13763 export_dynamic_flag_spec_D
='${wl}-Bexport'
13764 runpath_var
='LD_RUN_PATH'
13766 if test "$GCC" = yes; then
13767 archive_cmds_D
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13768 archive_expsym_cmds_D
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13770 archive_cmds_D
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13771 archive_expsym_cmds_D
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13776 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13777 hardcode_libdir_flag_spec_D
='-L$libdir'
13778 hardcode_shlibpath_var_D
=no
13786 if test x
$host_vendor = xsni
; then
13788 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13789 export_dynamic_flag_spec_D
='${wl}-Blargedynsym'
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_D" >&5
13796 $as_echo "$ld_shlibs_D" >&6; }
13797 test "$ld_shlibs_D" = no
&& can_build_shared
=no
13799 with_gnu_ld_D
=$with_gnu_ld
13807 # Do we need to explicitly link libc?
13809 case "x$archive_cmds_need_lc_D" in
13811 # Assume -lc should be added
13812 archive_cmds_need_lc_D
=yes
13814 if test "$enable_shared" = yes && test "$GCC" = yes; then
13815 case $archive_cmds_D in
13817 # FIXME: we may have to deal with multi-command sequences.
13820 # Test whether the compiler implicitly links with -lc since on some
13821 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13822 # to ld, don't add -lc before -lgcc.
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13824 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13825 if ${lt_cv_archive_cmds_need_lc_D+:} false
; then :
13826 $as_echo_n "(cached) " >&6
13829 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13832 (eval $ac_compile) 2>&5
13834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13835 test $ac_status = 0; } 2>conftest.err
; then
13838 libobjs
=conftest.
$ac_objext
13840 wl
=$lt_prog_compiler_wl_D
13841 pic_flag
=$lt_prog_compiler_pic_D
13847 lt_save_allow_undefined_flag
=$allow_undefined_flag_D
13848 allow_undefined_flag_D
=
13849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_D 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13850 (eval $archive_cmds_D 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13853 test $ac_status = 0; }
13855 lt_cv_archive_cmds_need_lc_D
=no
13857 lt_cv_archive_cmds_need_lc_D
=yes
13859 allow_undefined_flag_D
=$lt_save_allow_undefined_flag
13861 cat conftest.err
1>&5
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_D" >&5
13867 $as_echo "$lt_cv_archive_cmds_need_lc_D" >&6; }
13868 archive_cmds_need_lc_D
=$lt_cv_archive_cmds_need_lc_D
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13939 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13941 if test -n "$hardcode_libdir_flag_spec_D" ||
13942 test -n "$runpath_var_D" ||
13943 test "X$hardcode_automatic_D" = "Xyes" ; then
13945 # We can hardcode non-existent directories.
13946 if test "$hardcode_direct_D" != no
&&
13947 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13948 # have to relink, otherwise we might link with an installed library
13949 # when we should be linking with a yet-to-be-installed one
13950 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, D)" != no &&
13951 test "$hardcode_minus_L_D" != no
; then
13952 # Linking always hardcodes the temporary library directory.
13953 hardcode_action_D
=relink
13955 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13956 hardcode_action_D
=immediate
13959 # We cannot hardcode anything, or else we can only hardcode existing
13961 hardcode_action_D
=unsupported
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_D" >&5
13964 $as_echo "$hardcode_action_D" >&6; }
13966 if test "$hardcode_action_D" = relink ||
13967 test "$inherit_rpath_D" = yes; then
13968 # Fast installation is not supported
13969 enable_fast_install
=no
13970 elif test "$shlibpath_overrides_runpath" = yes ||
13971 test "$enable_shared" = no
; then
13972 # Fast installation is not necessary
13973 enable_fast_install
=needless
13985 ac_cpp
='$CPP $CPPFLAGS'
13986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13993 CFLAGS
=$lt_save_CFLAGS
13995 GDCFLAGS
=$gdc_save_DFLAGS
13998 # libtool variables for Phobos shared and position-independent compiles.
14000 # Use phobos_compiler_shared_flag to designate the compile-time flags for
14001 # creating shared objects. Default: -fversion=Shared.
14003 # Use phobos_compiler_pic_flag to designate the compile-time flags for
14004 # creating position-independent objects. This varies with the target
14005 # hardware and operating system, but is often: -fPIC.
14007 # The distinction between pic and shared compilation flags is not present in
14008 # libtool, and so we make it here. How it is handled is that in shared
14009 # compilations the `lt_prog_compiler_pic_D' variable is used to instead
14010 # ensure that conditional compilation of shared runtime code is compiled in.
14011 # The original PIC flags are then used in the compilation of every object.
14013 # Why are objects destined for libgphobos.a compiled with -fPIC?
14014 # Because -fPIC is not harmful to use for objects destined for static
14015 # libraries. In addition, using -fPIC will allow the use of static
14016 # libgphobos.a in the creation of other D shared libraries.
14017 if test "$enable_shared" = yes; then
14018 phobos_compiler_pic_flag
="$lt_prog_compiler_pic_D"
14019 phobos_compiler_shared_flag
="-fversion=Shared"
14021 phobos_compiler_pic_flag
=
14022 phobos_compiler_shared_flag
=
14027 # Override the libtool's pic_flag and pic_mode.
14028 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14029 # NB: this impacts --with-pic and --without-pic.
14030 lt_prog_compiler_pic_D
="$phobos_compiler_shared_flag"
14033 # Determine what GCC version number to use in filesystem paths.
14035 get_gcc_base_ver
="cat"
14037 # Check whether --with-gcc-major-version-only was given.
14038 if test "${with_gcc_major_version_only+set}" = set; then :
14039 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
14040 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
14048 # libphobos/libdruntime specific options and feature detection
14050 # These need to be absolute paths, yet at the same time need to
14051 # canonicalize only relative paths, because then amd will not unmount
14052 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
14053 libphobos_builddir
=`${PWDCMD-pwd}`
14055 \\/$
* | ?
:\\/*) libphobos_srcdir
=${srcdir} ;;
14056 *) libphobos_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
14062 if test ${multilib} = yes; then
14063 multilib_arg
="--enable-multilib"
14069 # Check whether --enable-werror was given.
14070 if test "${enable_werror+set}" = set; then :
14071 enableval
=$enable_werror;
14075 if test "x$enable_werror" = "xyes"; then
14076 WERROR_FLAG
="-Werror"
14080 druntime_target_cpu_parsed
=""
14081 case "$target_cpu" in
14083 druntime_target_cpu_parsed
="aarch64"
14085 arm
*) druntime_target_cpu_parsed
="arm"
14087 mips
*) druntime_target_cpu_parsed
="mips"
14090 druntime_target_cpu_parsed
="powerpc"
14093 druntime_target_cpu_parsed
="x86"
14096 druntime_target_cpu_parsed
="s390x"
14099 druntime_target_cpu_parsed
="s390"
14102 if test "$druntime_target_cpu_parsed" = "aarch64"; then
14103 DRUNTIME_CPU_AARCH64_TRUE
=
14104 DRUNTIME_CPU_AARCH64_FALSE
='#'
14106 DRUNTIME_CPU_AARCH64_TRUE
='#'
14107 DRUNTIME_CPU_AARCH64_FALSE
=
14110 if test "$druntime_target_cpu_parsed" = "arm"; then
14111 DRUNTIME_CPU_ARM_TRUE
=
14112 DRUNTIME_CPU_ARM_FALSE
='#'
14114 DRUNTIME_CPU_ARM_TRUE
='#'
14115 DRUNTIME_CPU_ARM_FALSE
=
14118 if test "$druntime_target_cpu_parsed" = "mips"; then
14119 DRUNTIME_CPU_MIPS_TRUE
=
14120 DRUNTIME_CPU_MIPS_FALSE
='#'
14122 DRUNTIME_CPU_MIPS_TRUE
='#'
14123 DRUNTIME_CPU_MIPS_FALSE
=
14126 if test "$druntime_target_cpu_parsed" = "powerpc"; then
14127 DRUNTIME_CPU_POWERPC_TRUE
=
14128 DRUNTIME_CPU_POWERPC_FALSE
='#'
14130 DRUNTIME_CPU_POWERPC_TRUE
='#'
14131 DRUNTIME_CPU_POWERPC_FALSE
=
14134 if test "$druntime_target_cpu_parsed" = "x86"; then
14135 DRUNTIME_CPU_X86_TRUE
=
14136 DRUNTIME_CPU_X86_FALSE
='#'
14138 DRUNTIME_CPU_X86_TRUE
='#'
14139 DRUNTIME_CPU_X86_FALSE
=
14142 if test "$druntime_target_cpu_parsed" = "s390x"; then
14143 DRUNTIME_CPU_SYSTEMZ_TRUE
=
14144 DRUNTIME_CPU_SYSTEMZ_FALSE
='#'
14146 DRUNTIME_CPU_SYSTEMZ_TRUE
='#'
14147 DRUNTIME_CPU_SYSTEMZ_FALSE
=
14150 if test "$druntime_target_cpu_parsed" = "s390"; then
14151 DRUNTIME_CPU_S390_TRUE
=
14152 DRUNTIME_CPU_S390_FALSE
='#'
14154 DRUNTIME_CPU_S390_TRUE
='#'
14155 DRUNTIME_CPU_S390_FALSE
=
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target OS" >&5
14161 $as_echo_n "checking for target OS... " >&6; }
14162 if ${druntime_cv_target_os+:} false
; then :
14163 $as_echo_n "(cached) " >&6
14165 druntime_cv_target_os
=`echo $target_os | sed 's/^\([A-Za-z_]+\)/\1/'`
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_target_os" >&5
14168 $as_echo "$druntime_cv_target_os" >&6; }
14169 if test -z "$druntime_cv_target_os"; then :
14170 as_fn_error $?
"can't detect target OS" "$LINENO" 5
14176 druntime_target_os_parsed
=""
14177 case "$druntime_cv_target_os" in
14178 aix
*) druntime_target_os_parsed
="aix"
14181 druntime_target_os_parsed
="android"
14183 darwin
*) druntime_target_os_parsed
="darwin"
14186 druntime_target_os_parsed
="dragonflybsd"
14188 freebsd
*|k
*bsd
*-gnu)
14189 druntime_target_os_parsed
="freebsd"
14192 druntime_target_os_parsed
="openbsd"
14195 druntime_target_os_parsed
="netbsd"
14197 linux
*) druntime_target_os_parsed
="linux"
14199 mingw
*) druntime_target_os_parsed
="mingw"
14201 *solaris
*) druntime_target_os_parsed
="solaris"
14203 if test "$druntime_target_os_parsed" = "aix"; then
14204 DRUNTIME_OS_AIX_TRUE
=
14205 DRUNTIME_OS_AIX_FALSE
='#'
14207 DRUNTIME_OS_AIX_TRUE
='#'
14208 DRUNTIME_OS_AIX_FALSE
=
14211 if test "$druntime_target_os_parsed" = "android"; then
14212 DRUNTIME_OS_ANDROID_TRUE
=
14213 DRUNTIME_OS_ANDROID_FALSE
='#'
14215 DRUNTIME_OS_ANDROID_TRUE
='#'
14216 DRUNTIME_OS_ANDROID_FALSE
=
14219 if test "$druntime_target_os_parsed" = "darwin"; then
14220 DRUNTIME_OS_DARWIN_TRUE
=
14221 DRUNTIME_OS_DARWIN_FALSE
='#'
14223 DRUNTIME_OS_DARWIN_TRUE
='#'
14224 DRUNTIME_OS_DARWIN_FALSE
=
14227 if test "$druntime_target_os_parsed" = "dragonflybsd"; then
14228 DRUNTIME_OS_DRAGONFLYBSD_TRUE
=
14229 DRUNTIME_OS_DRAGONFLYBSD_FALSE
='#'
14231 DRUNTIME_OS_DRAGONFLYBSD_TRUE
='#'
14232 DRUNTIME_OS_DRAGONFLYBSD_FALSE
=
14235 if test "$druntime_target_os_parsed" = "freebsd"; then
14236 DRUNTIME_OS_FREEBSD_TRUE
=
14237 DRUNTIME_OS_FREEBSD_FALSE
='#'
14239 DRUNTIME_OS_FREEBSD_TRUE
='#'
14240 DRUNTIME_OS_FREEBSD_FALSE
=
14243 if test "$druntime_target_os_parsed" = "netbsd"; then
14244 DRUNTIME_OS_NETBSD_TRUE
=
14245 DRUNTIME_OS_NETBSD_FALSE
='#'
14247 DRUNTIME_OS_NETBSD_TRUE
='#'
14248 DRUNTIME_OS_NETBSD_FALSE
=
14251 if test "$druntime_target_os_parsed" = "openbsd"; then
14252 DRUNTIME_OS_OPENBSD_TRUE
=
14253 DRUNTIME_OS_OPENBSD_FALSE
='#'
14255 DRUNTIME_OS_OPENBSD_TRUE
='#'
14256 DRUNTIME_OS_OPENBSD_FALSE
=
14259 if test "$druntime_target_os_parsed" = "linux"; then
14260 DRUNTIME_OS_LINUX_TRUE
=
14261 DRUNTIME_OS_LINUX_FALSE
='#'
14263 DRUNTIME_OS_LINUX_TRUE
='#'
14264 DRUNTIME_OS_LINUX_FALSE
=
14267 if test "$druntime_target_os_parsed" = "mingw"; then
14268 DRUNTIME_OS_MINGW_TRUE
=
14269 DRUNTIME_OS_MINGW_FALSE
='#'
14271 DRUNTIME_OS_MINGW_TRUE
='#'
14272 DRUNTIME_OS_MINGW_FALSE
=
14275 if test "$druntime_target_os_parsed" = "solaris"; then
14276 DRUNTIME_OS_SOLARIS_TRUE
=
14277 DRUNTIME_OS_SOLARIS_FALSE
='#'
14279 DRUNTIME_OS_SOLARIS_TRUE
='#'
14280 DRUNTIME_OS_SOLARIS_FALSE
=
14284 druntime_target_posix
="no"
14285 case "$druntime_cv_target_os" in
14286 aix
*|
*bsd
*|cygwin
*|darwin
*|gnu
*|linux
*|skyos
*|
*solaris
*|sysv
*)
14287 druntime_target_posix
="yes"
14290 if test "$druntime_target_posix" = "yes"; then
14291 DRUNTIME_OS_POSIX_TRUE
=
14292 DRUNTIME_OS_POSIX_FALSE
='#'
14294 DRUNTIME_OS_POSIX_TRUE
='#'
14295 DRUNTIME_OS_POSIX_FALSE
=
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GDC" >&5
14302 $as_echo_n "checking for thread model used by GDC... " >&6; }
14303 d_thread_model
=`$GDC -v 2>&1 | sed -n 's/^Thread model: //p'`
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $d_thread_model" >&5
14305 $as_echo "$d_thread_model" >&6; }
14307 # Map from thread model to thread interface.
14309 case $d_thread_model in
14310 aix
) DCFG_THREAD_MODEL
="Posix" ;;
14311 lynx
) DCFG_THREAD_MODEL
="Posix" ;;
14312 posix
) DCFG_THREAD_MODEL
="Posix" ;;
14313 single
) DCFG_THREAD_MODEL
="Single" ;;
14314 win32
) DCFG_THREAD_MODEL
="Win32" ;;
14315 # TODO: These targets need porting.
14316 dce|mipssde|rtems|tpf|vxworks
)
14317 DCFG_THREAD_MODEL
="Single" ;;
14318 *) as_fn_error
"Thread implementation '$d_thread_model' not recognised" "$LINENO" 5 ;;
14325 ac_cpp
='$CPP $CPPFLAGS'
14326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARM unwinder" >&5
14331 $as_echo_n "checking for ARM unwinder... " >&6; }
14332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14333 /* end confdefs.h. */
14334 #include <unwind.h>
14339 #if __ARM_EABI_UNWINDER__
14347 if ac_fn_c_try_compile
"$LINENO"; then :
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14349 $as_echo "no" >&6; }
14350 DCFG_ARM_EABI_UNWINDER
=false
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14353 $as_echo "yes" >&6; }
14354 DCFG_ARM_EABI_UNWINDER
=true
14356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14358 if test "$DCFG_ARM_EABI_UNWINDER" = "true"; then
14359 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
=
14360 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
='#'
14362 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
='#'
14363 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
=
14367 ac_cpp
='$CPP $CPPFLAGS'
14368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14375 ac_cpp
='$CPP $CPPFLAGS'
14376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minfo section bracketing" >&5
14381 $as_echo_n "checking for minfo section bracketing... " >&6; }
14382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14383 /* end confdefs.h. */
14385 void* module_info_ptr __attribute__((section ("minfo")));
14386 extern void* __start_minfo __attribute__((visibility ("hidden")));
14387 extern void* __stop_minfo __attribute__((visibility ("hidden")));
14391 // Never run, just to prevent compiler from optimizing access
14392 return &__start_minfo == &__stop_minfo;
14396 if ac_fn_c_try_link
"$LINENO"; then :
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14398 $as_echo "yes" >&6; }
14399 DCFG_MINFO_BRACKETING
=true
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14402 $as_echo "no" >&6; }
14403 DCFG_MINFO_BRACKETING
=false
14405 rm -f core conftest.err conftest.
$ac_objext \
14406 conftest
$ac_exeext conftest.
$ac_ext
14408 if test "$DCFG_MINFO_BRACKETING" = "true"; then
14409 DRUNTIME_OS_MINFO_BRACKETING_TRUE
=
14410 DRUNTIME_OS_MINFO_BRACKETING_FALSE
='#'
14412 DRUNTIME_OS_MINFO_BRACKETING_TRUE
='#'
14413 DRUNTIME_OS_MINFO_BRACKETING_FALSE
=
14417 ac_cpp
='$CPP $CPPFLAGS'
14418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14425 ac_cpp
='$CPP $CPPFLAGS'
14426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14430 ac_fn_c_check_member
"$LINENO" "struct dl_phdr_info" "dlpi_tls_modid" "ac_cv_member_struct_dl_phdr_info_dlpi_tls_modid" "#include <link.h>
14432 if test "x$ac_cv_member_struct_dl_phdr_info_dlpi_tls_modid" = xyes
; then :
14433 DCFG_DLPI_TLS_MODID
=true
14435 DCFG_DLPI_TLS_MODID
=false
14440 ac_cpp
='$CPP $CPPFLAGS'
14441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14448 i?
86-*-solaris2.
* | x86_64-
*-solaris2.
*)
14449 # 64-bit Solaris/x86 ld breaks calls to __tls_get_addr with non-TLS
14450 # relocs. Work around by disabling TLS transitions. Not necessary
14451 # on 32-bit x86, but cannot be distinguished reliably in specs.
14452 druntime_ld_prog
=`$CC -print-prog-name=ld`
14454 druntime_ld_relax_transtls
=no
14455 if test -n "$druntime_ld_prog" \
14456 && $druntime_ld_prog -v 2>&1 |
grep GNU
> /dev
/null
2>&1; then
14457 druntime_ld_gld
=yes
14459 echo 'int main (void) { return 0; }' > conftest.c
14460 save_LDFLAGS
="$LDFLAGS"
14461 LDFLAGS
="$LDFLAGS -Wl,-z,relax=transtls"
14462 if $CC $CFLAGS $LDFLAGS -o conftest conftest.c
> /dev
/null
2>&1; then
14463 druntime_ld_relax_transtls
=yes
14465 LDFLAGS
="$save_LDFLAGS"
14466 rm -f conftest.c conftest
14468 if test "$druntime_ld_relax_transtls" = "yes"; then
14469 OS_LINK_SPEC
='-z relax=transtls'
14477 ac_cpp
='$CPP $CPPFLAGS'
14478 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14479 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14480 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14482 DCFG_HAVE_QSORT_R
=false
14483 ac_fn_c_check_func
"$LINENO" "qsort_r" "ac_cv_func_qsort_r"
14484 if test "x$ac_cv_func_qsort_r" = xyes
; then :
14485 DCFG_HAVE_QSORT_R
=true
14490 ac_cpp
='$CPP $CPPFLAGS'
14491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14499 gdc_save_DFLAGS
=$GDCFLAGS
14500 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime -nophoboslib $GDCFLAGS"
14503 ac_compile
='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
14504 ac_link
='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14505 ac_compiler_gnu
=yes
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing malloc" >&5
14508 $as_echo_n "checking for library containing malloc... " >&6; }
14509 if ${ac_cv_search_malloc+:} false
; then :
14510 $as_echo_n "(cached) " >&6
14512 ac_func_search_save_LIBS
=$LIBS
14513 cat > conftest.
$ac_ext <<_ACEOF
14515 extern(C) int malloc();
14517 extern(C) int main() {
14518 malloc(); return 0;
14521 for ac_lib
in '' c
; do
14522 if test -z "$ac_lib"; then
14523 ac_res
="none required"
14526 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14528 if ac_fn_d_try_link
"$LINENO"; then :
14529 ac_cv_search_malloc
=$ac_res
14531 rm -f core conftest.err conftest.
$ac_objext \
14533 if ${ac_cv_search_malloc+:} false
; then :
14537 if ${ac_cv_search_malloc+:} false
; then :
14540 ac_cv_search_malloc
=no
14542 rm conftest.
$ac_ext
14543 LIBS
=$ac_func_search_save_LIBS
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_malloc" >&5
14546 $as_echo "$ac_cv_search_malloc" >&6; }
14547 ac_res
=$ac_cv_search_malloc
14548 if test "$ac_res" != no
; then :
14549 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
14554 $as_echo_n "checking for library containing pthread_create... " >&6; }
14555 if ${ac_cv_search_pthread_create+:} false
; then :
14556 $as_echo_n "(cached) " >&6
14558 ac_func_search_save_LIBS
=$LIBS
14559 cat > conftest.
$ac_ext <<_ACEOF
14561 extern(C) int pthread_create();
14563 extern(C) int main() {
14564 pthread_create(); return 0;
14567 for ac_lib
in '' pthread
; do
14568 if test -z "$ac_lib"; then
14569 ac_res
="none required"
14572 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14574 if ac_fn_d_try_link
"$LINENO"; then :
14575 ac_cv_search_pthread_create
=$ac_res
14577 rm -f core conftest.err conftest.
$ac_objext \
14579 if ${ac_cv_search_pthread_create+:} false
; then :
14583 if ${ac_cv_search_pthread_create+:} false
; then :
14586 ac_cv_search_pthread_create
=no
14588 rm conftest.
$ac_ext
14589 LIBS
=$ac_func_search_save_LIBS
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
14592 $as_echo "$ac_cv_search_pthread_create" >&6; }
14593 ac_res
=$ac_cv_search_pthread_create
14594 if test "$ac_res" != no
; then :
14595 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cosf" >&5
14600 $as_echo_n "checking for library containing cosf... " >&6; }
14601 if ${ac_cv_search_cosf+:} false
; then :
14602 $as_echo_n "(cached) " >&6
14604 ac_func_search_save_LIBS
=$LIBS
14605 cat > conftest.
$ac_ext <<_ACEOF
14607 extern(C) int cosf();
14609 extern(C) int main() {
14613 for ac_lib
in '' m
; do
14614 if test -z "$ac_lib"; then
14615 ac_res
="none required"
14618 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14620 if ac_fn_d_try_link
"$LINENO"; then :
14621 ac_cv_search_cosf
=$ac_res
14623 rm -f core conftest.err conftest.
$ac_objext \
14625 if ${ac_cv_search_cosf+:} false
; then :
14629 if ${ac_cv_search_cosf+:} false
; then :
14632 ac_cv_search_cosf
=no
14634 rm conftest.
$ac_ext
14635 LIBS
=$ac_func_search_save_LIBS
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cosf" >&5
14638 $as_echo "$ac_cv_search_cosf" >&6; }
14639 ac_res
=$ac_cv_search_cosf
14640 if test "$ac_res" != no
; then :
14641 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14646 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14647 if ${ac_cv_search_clock_gettime+:} false
; then :
14648 $as_echo_n "(cached) " >&6
14650 ac_func_search_save_LIBS
=$LIBS
14651 cat > conftest.
$ac_ext <<_ACEOF
14653 extern(C) int clock_gettime();
14655 extern(C) int main() {
14656 clock_gettime(); return 0;
14659 for ac_lib
in '' rt
; do
14660 if test -z "$ac_lib"; then
14661 ac_res
="none required"
14664 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14666 if ac_fn_d_try_link
"$LINENO"; then :
14667 ac_cv_search_clock_gettime
=$ac_res
14669 rm -f core conftest.err conftest.
$ac_objext \
14671 if ${ac_cv_search_clock_gettime+:} false
; then :
14675 if ${ac_cv_search_clock_gettime+:} false
; then :
14678 ac_cv_search_clock_gettime
=no
14680 rm conftest.
$ac_ext
14681 LIBS
=$ac_func_search_save_LIBS
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14684 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14685 ac_res
=$ac_cv_search_clock_gettime
14686 if test "$ac_res" != no
; then :
14687 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14692 # This checks to see if the host supports the compiler-generated builtins
14693 # for atomic operations for various integral sizes. Note, this is intended
14694 # to be an all-or-nothing switch, so all the atomic operations that are
14695 # used should be checked.
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for byte" >&5
14697 $as_echo_n "checking for atomic builtins for byte... " >&6; }
14698 if ${druntime_cv_atomic_byte+:} false
; then :
14699 $as_echo_n "(cached) " >&6
14702 cat > conftest.
$ac_ext <<_ACEOF
14704 import gcc.builtins;
14706 extern(C) int main() {
14710 __atomic_compare_exchange_1(&c1, &c2, c3, false, 5, 5);
14711 __atomic_load_1(&c1, 5);
14712 __atomic_store_1(&c1, c2, 5);
14717 if ac_fn_d_try_link
"$LINENO"; then :
14718 druntime_cv_atomic_byte
=yes
14720 druntime_cv_atomic_byte
=no
14722 rm -f core conftest.err conftest.
$ac_objext \
14723 conftest
$ac_exeext conftest.
$ac_ext
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_byte" >&5
14728 $as_echo "$druntime_cv_atomic_byte" >&6; }
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
14731 $as_echo_n "checking for atomic builtins for short... " >&6; }
14732 if ${druntime_cv_atomic_short+:} false
; then :
14733 $as_echo_n "(cached) " >&6
14736 cat > conftest.
$ac_ext <<_ACEOF
14738 import gcc.builtins;
14740 extern(C) int main() {
14744 __atomic_compare_exchange_2(&c1, &c2, c3, false, 5, 5);
14745 __atomic_load_2(&c1, 5);
14746 __atomic_store_2(&c1, c2, 5);
14751 if ac_fn_d_try_link
"$LINENO"; then :
14752 druntime_cv_atomic_short
=yes
14754 druntime_cv_atomic_short
=no
14756 rm -f core conftest.err conftest.
$ac_objext \
14757 conftest
$ac_exeext conftest.
$ac_ext
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_short" >&5
14762 $as_echo "$druntime_cv_atomic_short" >&6; }
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
14765 $as_echo_n "checking for atomic builtins for int... " >&6; }
14766 if ${druntime_cv_atomic_int+:} false
; then :
14767 $as_echo_n "(cached) " >&6
14770 cat > conftest.
$ac_ext <<_ACEOF
14772 import gcc.builtins;
14774 extern(C) int main() {
14778 __atomic_compare_exchange_4(&c1, &c2, c3, false, 5, 5);
14779 __atomic_load_4(&c1, 5);
14780 __atomic_store_4(&c1, c2, 5);
14785 if ac_fn_d_try_link
"$LINENO"; then :
14786 druntime_cv_atomic_int
=yes
14788 druntime_cv_atomic_int
=no
14790 rm -f core conftest.err conftest.
$ac_objext \
14791 conftest
$ac_exeext conftest.
$ac_ext
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_int" >&5
14796 $as_echo "$druntime_cv_atomic_int" >&6; }
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long" >&5
14799 $as_echo_n "checking for atomic builtins for long... " >&6; }
14800 if ${druntime_cv_atomic_long+:} false
; then :
14801 $as_echo_n "(cached) " >&6
14804 cat > conftest.
$ac_ext <<_ACEOF
14806 import gcc.builtins;
14808 extern(C) int main() {
14812 __atomic_compare_exchange_8(&c1, &c2, c3, false, 5, 5);
14813 __atomic_load_8(&c1, 5);
14814 __atomic_store_8(&c1, c2, 5);
14819 if ac_fn_d_try_link
"$LINENO"; then :
14820 druntime_cv_atomic_long
=yes
14822 druntime_cv_atomic_long
=no
14824 rm -f core conftest.err conftest.
$ac_objext \
14825 conftest
$ac_exeext conftest.
$ac_ext
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_long" >&5
14830 $as_echo "$druntime_cv_atomic_long" >&6; }
14832 # Have atomic builtin support if all but the long test above passes.
14833 DCFG_HAVE_ATOMIC_BUILTINS
=false
14834 if test "$druntime_cv_atomic_byte" = yes \
14835 && test "$druntime_cv_atomic_short" = yes \
14836 && test "$druntime_cv_atomic_int" = yes; then \
14837 DCFG_HAVE_ATOMIC_BUILTINS
=true
14840 # Have 64-bit atomic support if the long test above passes.
14841 DCFG_HAVE_64BIT_ATOMICS
=false
14842 if test "$druntime_cv_atomic_long" = yes; then
14843 DCFG_HAVE_64BIT_ATOMICS
=true
14850 ac_cpp
='$CPP $CPPFLAGS'
14851 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14852 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14853 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14856 GDCFLAGS
=$gdc_save_DFLAGS
14861 # Check whether --with-libatomic was given.
14862 if test "${with_libatomic+set}" = set; then :
14863 withval
=$with_libatomic;
14867 DCFG_HAVE_LIBATOMIC
=false
14869 if test "x$with_libatomic" != "xno"; then :
14871 DCFG_HAVE_LIBATOMIC
=true
14872 LIBATOMIC
=..
/..
/libatomic
/libatomic_convenience.la
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic" >&5
14877 $as_echo_n "checking for libatomic... " >&6; }
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14879 $as_echo "disabled" >&6; }
14888 ac_cpp
='$CPP $CPPFLAGS'
14889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14893 BACKTRACE_SUPPORTED
=false
14894 BACKTRACE_USES_MALLOC
=false
14895 BACKTRACE_SUPPORTS_THREADS
=false
14899 # Check whether --with-libbacktrace was given.
14900 if test "${with_libbacktrace+set}" = set; then :
14901 withval
=$with_libbacktrace;
14905 if test "x$with_libbacktrace" != "xno"; then :
14907 LIBBACKTRACE
=..
/..
/libbacktrace
/libbacktrace.la
14909 gdc_save_CPPFLAGS
=$CPPFLAGS
14910 CPPFLAGS
="$CPPFLAGS -I../libbacktrace "
14912 ac_fn_c_check_header_mongrel
"$LINENO" "backtrace-supported.h" "ac_cv_header_backtrace_supported_h" "$ac_includes_default"
14913 if test "x$ac_cv_header_backtrace_supported_h" = xyes
; then :
14914 have_libbacktrace_h
=true
14916 have_libbacktrace_h
=false
14921 if $have_libbacktrace_h; then
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_SUPPORTED" >&5
14923 $as_echo_n "checking libbacktrace: BACKTRACE_SUPPORTED... " >&6; }
14924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h. */
14927 #include <backtrace-supported.h>
14928 #if BACKTRACE_SUPPORTED
14929 FOUND_LIBBACKTRACE_RESULT_GDC
14933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14934 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14935 BACKTRACE_SUPPORTED
=true
14937 BACKTRACE_SUPPORTED
=false
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_SUPPORTED" >&5
14942 $as_echo "$BACKTRACE_SUPPORTED" >&6; }
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_USES_MALLOC" >&5
14945 $as_echo_n "checking libbacktrace: BACKTRACE_USES_MALLOC... " >&6; }
14946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14949 #include <backtrace-supported.h>
14950 #if BACKTRACE_USES_MALLOC
14951 FOUND_LIBBACKTRACE_RESULT_GDC
14955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14956 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14957 BACKTRACE_USES_MALLOC
=true
14959 BACKTRACE_USES_MALLOC
=false
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_USES_MALLOC" >&5
14964 $as_echo "$BACKTRACE_USES_MALLOC" >&6; }
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_SUPPORTS_THREADS" >&5
14967 $as_echo_n "checking libbacktrace: BACKTRACE_SUPPORTS_THREADS... " >&6; }
14968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14969 /* end confdefs.h. */
14971 #include <backtrace-supported.h>
14972 #if BACKTRACE_SUPPORTS_THREADS
14973 FOUND_LIBBACKTRACE_RESULT_GDC
14977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14978 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14979 BACKTRACE_SUPPORTS_THREADS
=true
14981 BACKTRACE_SUPPORTS_THREADS
=false
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_SUPPORTS_THREADS" >&5
14986 $as_echo "$BACKTRACE_SUPPORTS_THREADS" >&6; }
14988 CPPFLAGS
=$gdc_save_CPPFLAGS
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbacktrace" >&5
14993 $as_echo_n "checking for libbacktrace... " >&6; }
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14995 $as_echo "disabled" >&6; }
15004 ac_cpp
='$CPP $CPPFLAGS'
15005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15011 # Libtool has already checked this, so re-use the inferred dlopen lib.
15012 if test "x$enable_dlopen" = "xyes" && test -n "$lt_cv_dlopen_libs"; then :
15014 LIBS
="$LIBS $lt_cv_dlopen_libs"
15019 druntime_check_both
=no
15020 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
15021 if test "x$ac_cv_func_connect" = xyes
; then :
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
15025 $as_echo_n "checking for connect in -lsocket... " >&6; }
15026 if ${ac_cv_lib_socket_connect+:} false
; then :
15027 $as_echo_n "(cached) " >&6
15029 ac_check_lib_save_LIBS
=$LIBS
15030 LIBS
="-lsocket $LIBS"
15031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15034 /* Override any GCC internal prototype to avoid an error.
15035 Use char because int might match the return type of a GCC
15036 builtin and then its argument prototype would still apply. */
15049 if ac_fn_c_try_link
"$LINENO"; then :
15050 ac_cv_lib_socket_connect
=yes
15052 ac_cv_lib_socket_connect
=no
15054 rm -f core conftest.err conftest.
$ac_objext \
15055 conftest
$ac_exeext conftest.
$ac_ext
15056 LIBS
=$ac_check_lib_save_LIBS
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
15059 $as_echo "$ac_cv_lib_socket_connect" >&6; }
15060 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
15061 LIBS
="$LIBS -lsocket"
15063 druntime_check_both
=yes
15068 if test "$druntime_check_both" = "yes"; then
15069 druntime_old_libs
=$LIBS
15070 LIBS
="$LIBS -lsocket -lnsl"
15071 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
15072 if test "x$ac_cv_func_accept" = xyes
; then :
15075 LIBS
=$druntime_old_libs
15079 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
15080 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
15084 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
15085 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
15086 $as_echo_n "(cached) " >&6
15088 ac_check_lib_save_LIBS
=$LIBS
15090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15093 /* Override any GCC internal prototype to avoid an error.
15094 Use char because int might match the return type of a GCC
15095 builtin and then its argument prototype would still apply. */
15099 char gethostbyname ();
15103 return gethostbyname ();
15108 if ac_fn_c_try_link
"$LINENO"; then :
15109 ac_cv_lib_nsl_gethostbyname
=yes
15111 ac_cv_lib_nsl_gethostbyname
=no
15113 rm -f core conftest.err conftest.
$ac_objext \
15114 conftest
$ac_exeext conftest.
$ac_ext
15115 LIBS
=$ac_check_lib_save_LIBS
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
15118 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
15119 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
15127 # Keep this in sync with core/thread.d, set druntime_fiber_asm_external to
15128 # "yes" for targets that have 'version = AsmExternal'.
15129 druntime_fiber_asm_external
=no
15130 case "$target_cpu" in
15133 i
[34567]86|x86_64 | \
15135 druntime_fiber_asm_external
=yes
15138 if test "$druntime_fiber_asm_external" = no
; then
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing swapcontext" >&5
15140 $as_echo_n "checking for library containing swapcontext... " >&6; }
15141 if ${ac_cv_search_swapcontext+:} false
; then :
15142 $as_echo_n "(cached) " >&6
15144 ac_func_search_save_LIBS
=$LIBS
15145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15146 /* end confdefs.h. */
15148 /* Override any GCC internal prototype to avoid an error.
15149 Use char because int might match the return type of a GCC
15150 builtin and then its argument prototype would still apply. */
15154 char swapcontext ();
15158 return swapcontext ();
15163 for ac_lib
in '' c ucontext
; do
15164 if test -z "$ac_lib"; then
15165 ac_res
="none required"
15168 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15170 if ac_fn_c_try_link
"$LINENO"; then :
15171 ac_cv_search_swapcontext
=$ac_res
15173 rm -f core conftest.err conftest.
$ac_objext \
15175 if ${ac_cv_search_swapcontext+:} false
; then :
15179 if ${ac_cv_search_swapcontext+:} false
; then :
15182 ac_cv_search_swapcontext
=no
15184 rm conftest.
$ac_ext
15185 LIBS
=$ac_func_search_save_LIBS
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_swapcontext" >&5
15188 $as_echo "$ac_cv_search_swapcontext" >&6; }
15189 ac_res
=$ac_cv_search_swapcontext
15190 if test "$ac_res" != no
; then :
15191 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15194 as_fn_error $?
"swapcontext required but not found" "$LINENO" 5
15201 ac_cpp
='$CPP $CPPFLAGS'
15202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15209 # Check whether --with-target-system-zlib was given.
15210 if test "${with_target_system_zlib+set}" = set; then :
15211 withval
=$with_target_system_zlib;
15213 with_target_system_zlib
=no
15217 case "$with_target_system_zlib" in
15219 *) as_fn_error $?
"Invalid argument for --with-target-system-zlib" "$LINENO" 5 ;;
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for system zlib" >&5
15223 $as_echo_n "checking for system zlib... " >&6; }
15226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h. */
15232 gzopen("none", "rb")
15237 if ac_fn_c_try_link
"$LINENO"; then :
15239 if test "$cross_compiling" = yes; then :
15240 system_zlib_found
=no
15243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15248 gzFile file = gzopen("none", "rb");
15253 if ac_fn_c_try_run
"$LINENO"; then :
15254 system_zlib_found
=yes
15256 system_zlib_found
=no
15258 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15259 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15264 system_zlib_found
=no
15266 rm -f core conftest.err conftest.
$ac_objext \
15267 conftest
$ac_exeext conftest.
$ac_ext
15270 if test x
$system_zlib_found = xyes
&& test x
$with_target_system_zlib != xno
; then
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15272 $as_echo "found" >&6; }
15274 elif test x
$system_zlib_found = xno
&& test x
$with_target_system_zlib = xyes
; then
15275 as_fn_error $?
"system zlib required but not found" "$LINENO" 5
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
15278 $as_echo "just compiled" >&6; }
15279 LIBZ
=..
/..
/zlib
/libz_convenience.la
15284 ac_cpp
='$CPP $CPPFLAGS'
15285 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15286 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15287 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking D GCC version" >&5
15294 $as_echo_n "checking D GCC version... " >&6; }
15295 gcc_version
=`eval $get_gcc_base_ver $srcdir/../gcc/BASE-VER`
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_version" >&5
15297 $as_echo "$gcc_version" >&6; }
15301 # Check whether --with-cross-host was given.
15302 if test "${with_cross_host+set}" = set; then :
15303 withval
=$with_cross_host;
15307 libphobos_toolexecdir
=no
15308 libphobos_toolexeclibdir
=no
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
15311 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
15312 # Check whether --enable-version-specific-runtime-libs was given.
15313 if test "${enable_version_specific_runtime_libs+set}" = set; then :
15314 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
15315 yes) version_specific_libs
=yes ;;
15316 no
) version_specific_libs
=no
;;
15317 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
15320 version_specific_libs
=no
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
15324 $as_echo "$version_specific_libs" >&6; }
15327 # Check whether --with-toolexeclibdir was given.
15328 if test "${with_toolexeclibdir+set}" = set; then :
15329 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
15333 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
15337 with_toolexeclibdir
=no
15342 # Version-specific runtime libs processing.
15343 if test $version_specific_libs = yes; then
15344 libphobos_toolexecdir
='${libdir}/gcc/${host_alias}'
15345 libphobos_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
15347 # Calculate libphobos_toolexecdir, libphobos_toolexeclibdir
15348 # Install a library built with a cross compiler in tooldir, not libdir.
15349 if test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
15350 libphobos_toolexecdir
='${exec_prefix}/${host_alias}'
15351 case ${with_toolexeclibdir} in
15353 libphobos_toolexeclibdir
='${toolexecdir}/lib'
15356 libphobos_toolexeclibdir
=${with_toolexeclibdir}
15360 libphobos_toolexecdir
='${libdir}/gcc/${host_alias}'
15361 libphobos_toolexeclibdir
='${libdir}'
15363 multi_os_directory
=`$GDC -print-multi-os-directory`
15364 case $multi_os_directory in
15365 .
) ;; # Avoid trailing /.
15366 *) libphobos_toolexeclibdir
=${libphobos_toolexeclibdir}/${multi_os_directory} ;;
15372 # Default case for install directory for D sources files.
15373 gdc_include_dir
='$(libdir)/gcc/${target_alias}/${gcc_version}/include/d'
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-libphobos" >&5
15378 $as_echo_n "checking for --enable-libphobos... " >&6; }
15379 # Check whether --enable-libphobos was given.
15380 if test "${enable_libphobos+set}" = set; then :
15381 enableval
=$enable_libphobos;
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libphobos" >&5
15385 $as_echo "$enable_libphobos" >&6; }
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libphobos-druntime-only" >&5
15388 $as_echo_n "checking for --with-libphobos-druntime-only... " >&6; }
15390 # Check whether --with-libphobos-druntime-only was given.
15391 if test "${with_libphobos_druntime_only+set}" = set; then :
15392 withval
=$with_libphobos_druntime_only;
15394 with_libphobos_druntime_only
=auto
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_libphobos_druntime_only" >&5
15398 $as_echo "$with_libphobos_druntime_only" >&6; }
15400 case "$with_libphobos_druntime_only" in
15402 *) as_fn_error $?
"Invalid argument for --with-libphobos-druntime-only" "$LINENO" 5 ;;
15405 # See if supported.
15406 unset LIBPHOBOS_SUPPORTED
15407 unset LIBDRUNTIME_ONLY
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for libphobos" >&5
15409 $as_echo_n "checking for host support for libphobos... " >&6; }
15410 .
${srcdir}/configure.tgt
15412 x86_64-
*-solaris2.
* | i?
86-*-solaris2.
*)
15413 # libphobos doesn't compile with the Solaris/x86 assembler due to a
15414 # relatively low linelength limit.
15415 as_prog
=`$CC -print-prog-name=as`
15416 if test -n "$as_prog" && $as_prog -v /dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
15417 druntime_cv_use_gas
=yes;
15419 druntime_cv_use_gas
=no
;
15422 if test x
$druntime_cv_use_gas = xno
; then
15423 LIBPHOBOS_SUPPORTED
=no
15425 # 64-bit D execution fails with Solaris ld without -z relax=transtls support.
15426 if test "$druntime_ld_gld" = "no" && test "$druntime_ld_relax_transtls" = "no"; then
15427 LIBPHOBOS_SUPPORTED
=no
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPHOBOS_SUPPORTED" >&5
15432 $as_echo "$LIBPHOBOS_SUPPORTED" >&6; }
15434 # Decide if it's usable.
15435 case $LIBPHOBOS_SUPPORTED:$enable_libphobos in
15436 *:no
) use_libphobos
=no
;;
15437 *:yes) use_libphobos
=yes ;;
15438 yes:*) use_libphobos
=yes ;;
15439 *:*) use_libphobos
=no
;;
15441 if test x
$use_libphobos = xyes
; then
15442 ENABLE_LIBPHOBOS_TRUE
=
15443 ENABLE_LIBPHOBOS_FALSE
='#'
15445 ENABLE_LIBPHOBOS_TRUE
='#'
15446 ENABLE_LIBPHOBOS_FALSE
=
15450 # Decide if only libdruntime should be built.
15451 case $LIBDRUNTIME_ONLY:$with_libphobos_druntime_only in
15452 *:no
) only_libdruntime
=no
;;
15453 *:yes) only_libdruntime
=yes ;;
15454 yes:*) only_libdruntime
=yes ;;
15455 *:*) only_libdruntime
=no
;;
15457 if test x
$only_libdruntime = xyes
; then
15458 ENABLE_LIBDRUNTIME_ONLY_TRUE
=
15459 ENABLE_LIBDRUNTIME_ONLY_FALSE
='#'
15461 ENABLE_LIBDRUNTIME_ONLY_TRUE
='#'
15462 ENABLE_LIBDRUNTIME_ONLY_FALSE
=
15466 # Enable expensive internal checks
15467 # Check whether --enable-libphobos-checking was given.
15468 if test "${enable_libphobos_checking+set}" = set; then :
15469 enableval
=$enable_libphobos_checking; ac_checking_flags
="${enableval}"
15471 ac_checking_flags
=release
15474 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="$IFS,"
15475 for check
in release
$ac_checking_flags
15478 # These set all the flags to specific states
15479 yes|all
) RELEASE_FLAG
="-fno-release" ; ASSERT_FLAG
= ;;
15480 no|none|release
) RELEASE_FLAG
="-frelease" ; ASSERT_FLAG
= ;;
15481 # These enable particular checks
15482 assert
) ASSERT_FLAG
="-fassert" ;;
15488 CHECKING_DFLAGS
="$RELEASE_FLAG $ASSERT_FLAG"
15491 # Add drtbegin.o/drtend.o to startfile/endfile specs in libgphobos.spec
15492 if test "$DCFG_MINFO_BRACKETING" = "false"; then
15493 DRTSTUFF_SPEC
=$srcdir/src
/drtstuff.spec
15495 DRTSTUFF_SPEC
=/dev
/null
15499 # Add dependencies for libgphobos.spec file
15500 SPEC_PHOBOS_DEPS
="$LIBS"
15503 # Libdruntime / phobos soname version
15504 libtool_VERSION
=1:0:0
15507 # Set default flags (after DRUNTIME_WERROR!)
15508 if test -z "$GDCFLAGS"; then
15513 WARN_DFLAGS
="-Wall $WERROR_FLAG"
15516 # Sanity check for the cross-compilation case:
15517 ac_fn_c_check_header_mongrel
"$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
15518 if test "x$ac_cv_header_stdio_h" = xyes
; then :
15521 as_fn_error $?
"cannot find stdio.h." "$LINENO" 5
15526 ac_config_files
="$ac_config_files Makefile"
15529 ac_config_files
="$ac_config_files libdruntime/gcc/config.d libdruntime/gcc/libbacktrace.d"
15531 ac_config_files
="$ac_config_files src/libgphobos.spec"
15533 ac_config_files
="$ac_config_files testsuite/testsuite_flags"
15536 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
15537 # that multilib installs will end up installed in the correct place.
15538 # The testsuite needs it for multilib-aware ABI baseline files.
15539 # To work around this not being passed down from config-ml.in ->
15540 # srcdir/Makefile.am -> srcdir/{src,libdruntime,...}/Makefile.am, manually
15541 # append it here. Only modify Makefiles that have just been created.
15543 # Also, get rid of this simulated-VPATH thing that automake does.
15544 ac_config_files
="$ac_config_files libdruntime/Makefile src/Makefile testsuite/Makefile"
15547 cat >confcache
<<\_ACEOF
15548 # This file is a shell script that caches the results of configure
15549 # tests run on this system so they can be shared between configure
15550 # scripts and configure runs, see configure's option --config-cache.
15551 # It is not useful on other systems. If it contains results you don't
15552 # want to keep, you may remove or edit it.
15554 # config.status only pays attention to the cache file if you give it
15555 # the --recheck option to rerun configure.
15557 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15558 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15559 # following values.
15563 # The following way of writing the cache mishandles newlines in values,
15564 # but we know of no workaround that is simple, portable, and efficient.
15565 # So, we kill variables containing newlines.
15566 # Ultrix sh set writes to stderr and can't be redirected directly,
15567 # and sets the high bit in the cache file unless we assign to the vars.
15569 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15570 eval ac_val
=\$
$ac_var
15574 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15575 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15578 _ | IFS | as_nl
) ;; #(
15579 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15580 *) { eval $ac_var=; unset $ac_var;} ;;
15586 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15587 *${as_nl}ac_space
=\
*)
15588 # `set' does not quote correctly, so add quotes: double-quote
15589 # substitution turns \\\\ into \\, and sed turns \\ into \.
15592 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15595 # `set' quotes correctly as required by POSIX, so do not add quotes.
15596 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15605 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15607 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15609 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15610 if test -w "$cache_file"; then
15611 if test "x$cache_file" != "x/dev/null"; then
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15613 $as_echo "$as_me: updating cache $cache_file" >&6;}
15614 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15615 cat confcache
>"$cache_file"
15617 case $cache_file in #(
15619 mv -f confcache
"$cache_file"$$
&&
15620 mv -f "$cache_file"$$
"$cache_file" ;; #(
15622 mv -f confcache
"$cache_file" ;;
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15628 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15633 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15634 # Let make expand exec_prefix.
15635 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15637 DEFS
=-DHAVE_CONFIG_H
15642 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15643 # 1. Remove the extension, and $U if already installed.
15644 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15645 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15646 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15647 # will be set to the directory where LIBOBJS objects are built.
15648 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15649 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15651 LIBOBJS
=$ac_libobjs
15653 LTLIBOBJS
=$ac_ltlibobjs
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15657 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15658 if test -n "$am_sleep_pid"; then
15659 # Hide warnings about reused PIDs.
15660 wait $am_sleep_pid 2>/dev
/null
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15663 $as_echo "done" >&6; }
15664 if test -n "$EXEEXT"; then
15666 am__EXEEXT_FALSE
='#'
15668 am__EXEEXT_TRUE
='#'
15672 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15673 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15676 if test -z "${DRUNTIME_CPU_AARCH64_TRUE}" && test -z "${DRUNTIME_CPU_AARCH64_FALSE}"; then
15677 as_fn_error $?
"conditional \"DRUNTIME_CPU_AARCH64\" was never defined.
15678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15680 if test -z "${DRUNTIME_CPU_ARM_TRUE}" && test -z "${DRUNTIME_CPU_ARM_FALSE}"; then
15681 as_fn_error $?
"conditional \"DRUNTIME_CPU_ARM\" was never defined.
15682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15684 if test -z "${DRUNTIME_CPU_MIPS_TRUE}" && test -z "${DRUNTIME_CPU_MIPS_FALSE}"; then
15685 as_fn_error $?
"conditional \"DRUNTIME_CPU_MIPS\" was never defined.
15686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15688 if test -z "${DRUNTIME_CPU_POWERPC_TRUE}" && test -z "${DRUNTIME_CPU_POWERPC_FALSE}"; then
15689 as_fn_error $?
"conditional \"DRUNTIME_CPU_POWERPC\" was never defined.
15690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15692 if test -z "${DRUNTIME_CPU_X86_TRUE}" && test -z "${DRUNTIME_CPU_X86_FALSE}"; then
15693 as_fn_error $?
"conditional \"DRUNTIME_CPU_X86\" was never defined.
15694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15696 if test -z "${DRUNTIME_CPU_SYSTEMZ_TRUE}" && test -z "${DRUNTIME_CPU_SYSTEMZ_FALSE}"; then
15697 as_fn_error $?
"conditional \"DRUNTIME_CPU_SYSTEMZ\" was never defined.
15698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15700 if test -z "${DRUNTIME_CPU_S390_TRUE}" && test -z "${DRUNTIME_CPU_S390_FALSE}"; then
15701 as_fn_error $?
"conditional \"DRUNTIME_CPU_S390\" was never defined.
15702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15704 if test -z "${DRUNTIME_OS_AIX_TRUE}" && test -z "${DRUNTIME_OS_AIX_FALSE}"; then
15705 as_fn_error $?
"conditional \"DRUNTIME_OS_AIX\" was never defined.
15706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15708 if test -z "${DRUNTIME_OS_ANDROID_TRUE}" && test -z "${DRUNTIME_OS_ANDROID_FALSE}"; then
15709 as_fn_error $?
"conditional \"DRUNTIME_OS_ANDROID\" was never defined.
15710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15712 if test -z "${DRUNTIME_OS_DARWIN_TRUE}" && test -z "${DRUNTIME_OS_DARWIN_FALSE}"; then
15713 as_fn_error $?
"conditional \"DRUNTIME_OS_DARWIN\" was never defined.
15714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15716 if test -z "${DRUNTIME_OS_DRAGONFLYBSD_TRUE}" && test -z "${DRUNTIME_OS_DRAGONFLYBSD_FALSE}"; then
15717 as_fn_error $?
"conditional \"DRUNTIME_OS_DRAGONFLYBSD\" was never defined.
15718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15720 if test -z "${DRUNTIME_OS_FREEBSD_TRUE}" && test -z "${DRUNTIME_OS_FREEBSD_FALSE}"; then
15721 as_fn_error $?
"conditional \"DRUNTIME_OS_FREEBSD\" was never defined.
15722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15724 if test -z "${DRUNTIME_OS_NETBSD_TRUE}" && test -z "${DRUNTIME_OS_NETBSD_FALSE}"; then
15725 as_fn_error $?
"conditional \"DRUNTIME_OS_NETBSD\" was never defined.
15726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15728 if test -z "${DRUNTIME_OS_OPENBSD_TRUE}" && test -z "${DRUNTIME_OS_OPENBSD_FALSE}"; then
15729 as_fn_error $?
"conditional \"DRUNTIME_OS_OPENBSD\" was never defined.
15730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15732 if test -z "${DRUNTIME_OS_LINUX_TRUE}" && test -z "${DRUNTIME_OS_LINUX_FALSE}"; then
15733 as_fn_error $?
"conditional \"DRUNTIME_OS_LINUX\" was never defined.
15734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15736 if test -z "${DRUNTIME_OS_MINGW_TRUE}" && test -z "${DRUNTIME_OS_MINGW_FALSE}"; then
15737 as_fn_error $?
"conditional \"DRUNTIME_OS_MINGW\" was never defined.
15738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15740 if test -z "${DRUNTIME_OS_SOLARIS_TRUE}" && test -z "${DRUNTIME_OS_SOLARIS_FALSE}"; then
15741 as_fn_error $?
"conditional \"DRUNTIME_OS_SOLARIS\" was never defined.
15742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15744 if test -z "${DRUNTIME_OS_POSIX_TRUE}" && test -z "${DRUNTIME_OS_POSIX_FALSE}"; then
15745 as_fn_error $?
"conditional \"DRUNTIME_OS_POSIX\" was never defined.
15746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15748 if test -z "${DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE}" && test -z "${DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE}"; then
15749 as_fn_error $?
"conditional \"DRUNTIME_OS_ARM_EABI_UNWINDER\" was never defined.
15750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15752 if test -z "${DRUNTIME_OS_MINFO_BRACKETING_TRUE}" && test -z "${DRUNTIME_OS_MINFO_BRACKETING_FALSE}"; then
15753 as_fn_error $?
"conditional \"DRUNTIME_OS_MINFO_BRACKETING\" was never defined.
15754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15756 if test -z "${ENABLE_LIBPHOBOS_TRUE}" && test -z "${ENABLE_LIBPHOBOS_FALSE}"; then
15757 as_fn_error $?
"conditional \"ENABLE_LIBPHOBOS\" was never defined.
15758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15760 if test -z "${ENABLE_LIBDRUNTIME_ONLY_TRUE}" && test -z "${ENABLE_LIBDRUNTIME_ONLY_FALSE}"; then
15761 as_fn_error $?
"conditional \"ENABLE_LIBDRUNTIME_ONLY\" was never defined.
15762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15765 : "${CONFIG_STATUS=./config.status}"
15767 ac_clean_files_save
=$ac_clean_files
15768 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15770 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15772 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15774 # Generated by $as_me.
15775 # Run this file to recreate the current configuration.
15776 # Compiler output produced by configure, useful for debugging
15777 # configure, is in config.log if it exists.
15780 ac_cs_recheck=false
15783 SHELL=\${CONFIG_SHELL-$SHELL}
15786 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15787 ## -------------------- ##
15788 ## M4sh Initialization. ##
15789 ## -------------------- ##
15791 # Be more Bourne compatible
15792 DUALCASE
=1; export DUALCASE
# for MKS sh
15793 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15796 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15797 # is contrary to our usage. Disable this feature.
15798 alias -g '${1+"$@"}'='"$@"'
15799 setopt NO_GLOB_SUBST
15801 case `(set -o) 2>/dev/null` in #(
15813 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15814 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15815 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15816 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15817 # Prefer a ksh shell builtin over an external printf program on Solaris,
15818 # but without wasting forks for bash or zsh.
15819 if test -z "$BASH_VERSION$ZSH_VERSION" \
15820 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15821 as_echo='print
-r --'
15822 as_echo_n='print
-rn --'
15823 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15824 as_echo='printf %s
\n'
15825 as_echo_n='printf %s
'
15827 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15828 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15829 as_echo_n='/usr
/ucb
/echo -n'
15831 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15832 as_echo_n_body='eval
15836 expr "X$arg" : "X\\(.*\\)$as_nl";
15837 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15839 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15841 export as_echo_n_body
15842 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15844 export as_echo_body
15845 as_echo='sh
-c $as_echo_body as_echo
'
15848 # The user is always right.
15849 if test "${PATH_SEPARATOR+set}" != set; then
15851 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15852 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15859 # We need space, tab and new line, in precisely that order. Quoting is
15860 # there to prevent editors from complaining about space-tab.
15861 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15862 # splitting by setting IFS to empty value.)
15865 # Find who we are. Look in the path if we contain no directory separator.
15868 *[\\/]* ) as_myself=$0 ;;
15869 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15870 for as_dir in $PATH
15873 test -z "$as_dir" && as_dir=.
15874 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15880 # We did not find ourselves, most probably we were run as `sh COMMAND'
15881 # in which case we are not to be found in the path.
15882 if test "x$as_myself" = x
; then
15885 if test ! -f "$as_myself"; then
15886 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15890 # Unset variables that we do not need and which cause bugs (e.g. in
15891 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15892 # suppresses any "Segmentation fault" message there. '((' could
15893 # trigger a bug in pdksh 5.2.14.
15894 for as_var
in BASH_ENV ENV MAIL MAILPATH
15895 do eval test x\
${$as_var+set} = xset \
15896 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15909 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15912 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15913 # ----------------------------------------
15914 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15915 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15916 # script with STATUS, using 1 if that was 0.
15919 as_status
=$1; test $as_status -eq 0 && as_status
=1
15921 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15922 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15924 $as_echo "$as_me: error: $2" >&2
15925 as_fn_exit
$as_status
15929 # as_fn_set_status STATUS
15930 # -----------------------
15931 # Set $? to STATUS, without forking.
15932 as_fn_set_status
()
15935 } # as_fn_set_status
15937 # as_fn_exit STATUS
15938 # -----------------
15939 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15943 as_fn_set_status
$1
15949 # Portably unset VAR.
15952 { eval $1=; unset $1;}
15954 as_unset
=as_fn_unset
15955 # as_fn_append VAR VALUE
15956 # ----------------------
15957 # Append the text in VALUE to the end of the definition contained in VAR. Take
15958 # advantage of any shell optimizations that allow amortized linear growth over
15959 # repeated appends, instead of the typical quadratic growth present in naive
15961 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15962 eval 'as_fn_append ()
15973 # as_fn_arith ARG...
15974 # ------------------
15975 # Perform arithmetic evaluation on the ARGs, and store the result in the
15976 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15977 # must be portable across $(()) and expr.
15978 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15979 eval 'as_fn_arith ()
15986 as_val
=`expr "$@" || test $? -eq 1`
15991 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15992 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15998 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15999 as_basename
=basename
16004 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16010 as_me
=`$as_basename -- "$0" ||
16011 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16012 X"$0" : 'X\(//\)$' \| \
16013 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16015 sed '/^.*\/\([^/][^/]*\)\/*$/{
16029 # Avoid depending upon Character Ranges.
16030 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16031 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16032 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16033 as_cr_digits
='0123456789'
16034 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16036 ECHO_C
= ECHO_N
= ECHO_T
=
16037 case `echo -n x` in #(((((
16039 case `echo 'xy\c'` in
16040 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16042 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16049 rm -f conf$$ conf$$.exe conf$$.
file
16050 if test -d conf$$.dir
; then
16051 rm -f conf$$.dir
/conf$$.
file
16054 mkdir conf$$.dir
2>/dev
/null
16056 if (echo >conf$$.
file) 2>/dev
/null
; then
16057 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16059 # ... but there are two gotchas:
16060 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16061 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16062 # In both cases, we have to default to `cp -pR'.
16063 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16065 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16073 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16074 rmdir conf$$.dir
2>/dev
/null
16079 # Create "$as_dir" as a directory, including parents if necessary.
16084 -*) as_dir
=.
/$as_dir;;
16086 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16090 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16091 *) as_qdir
=$as_dir;;
16093 as_dirs
="'$as_qdir' $as_dirs"
16094 as_dir
=`$as_dirname -- "$as_dir" ||
16095 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16096 X"$as_dir" : 'X\(//\)[^/]' \| \
16097 X"$as_dir" : 'X\(//\)$' \| \
16098 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16099 $as_echo X"$as_dir" |
16100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16104 /^X\(\/\/\)[^/].*/{
16117 test -d "$as_dir" && break
16119 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16120 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16124 if mkdir
-p .
2>/dev
/null
; then
16125 as_mkdir_p
='mkdir -p "$as_dir"'
16127 test -d .
/-p && rmdir .
/-p
16132 # as_fn_executable_p FILE
16133 # -----------------------
16134 # Test if FILE is an executable regular file.
16135 as_fn_executable_p
()
16137 test -f "$1" && test -x "$1"
16138 } # as_fn_executable_p
16139 as_test_x
='test -x'
16140 as_executable_p
=as_fn_executable_p
16142 # Sed expression to map a string onto a valid CPP name.
16143 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16145 # Sed expression to map a string onto a valid variable name.
16146 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16150 ## ----------------------------------- ##
16151 ## Main body of $CONFIG_STATUS script. ##
16152 ## ----------------------------------- ##
16154 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16157 # Save the log message, to keep $0 and so on meaningful, and to
16158 # report actual input values of CONFIG_FILES etc. instead of their
16159 # values after options handling.
16161 This file was extended by package-unused $as_me version-unused, which was
16162 generated by GNU Autoconf 2.69. Invocation command line was
16164 CONFIG_FILES = $CONFIG_FILES
16165 CONFIG_HEADERS = $CONFIG_HEADERS
16166 CONFIG_LINKS = $CONFIG_LINKS
16167 CONFIG_COMMANDS = $CONFIG_COMMANDS
16170 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16175 case $ac_config_files in *"
16176 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16179 case $ac_config_headers in *"
16180 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16185 # Files that config.status was made for.
16186 config_files="$ac_config_files"
16187 config_headers="$ac_config_headers"
16188 config_commands="$ac_config_commands"
16192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16194 \`$as_me' instantiates files and other configuration actions
16195 from templates according to the current configuration. Unless the files
16196 and actions are specified as TAGs, all are instantiated by default.
16198 Usage: $0 [OPTION]... [TAG]...
16200 -h, --help print this help, then exit
16201 -V, --version print version number and configuration settings, then exit
16202 --config print configuration, then exit
16203 -q, --quiet, --silent
16204 do not print progress messages
16205 -d, --debug don't remove temporary files
16206 --recheck update $as_me by reconfiguring in the same conditions
16207 --file=FILE[:TEMPLATE]
16208 instantiate the configuration file FILE
16209 --header=FILE[:TEMPLATE]
16210 instantiate the configuration header FILE
16212 Configuration files:
16215 Configuration headers:
16218 Configuration commands:
16221 Report bugs to the package provider."
16224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16225 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16227 package-unused config.status version-unused
16228 configured by $0, generated by GNU Autoconf 2.69,
16229 with options \\"\$ac_cs_config\\"
16231 Copyright (C) 2012 Free Software Foundation, Inc.
16232 This config.status script is free software; the Free Software Foundation
16233 gives unlimited permission to copy, distribute and modify it."
16240 test -n "\$AWK" || AWK=awk
16243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16244 # The default lists apply if the user does not specify any file.
16250 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16251 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16255 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16267 # Handling of the options.
16268 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16270 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16271 $as_echo "$ac_cs_version"; exit ;;
16272 --config |
--confi |
--conf |
--con |
--co |
--c )
16273 $as_echo "$ac_cs_config"; exit ;;
16274 --debug |
--debu |
--deb |
--de |
--d |
-d )
16276 --file |
--fil |
--fi |
--f )
16279 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16280 '') as_fn_error $?
"missing file argument" ;;
16282 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16283 ac_need_defaults
=false
;;
16284 --header |
--heade |
--head |
--hea )
16287 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16289 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16290 ac_need_defaults
=false
;;
16292 # Conflict between --help and --header
16293 as_fn_error $?
"ambiguous option: \`$1'
16294 Try \`$0 --help' for more information.";;
16295 --help |
--hel |
-h )
16296 $as_echo "$ac_cs_usage"; exit ;;
16297 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16298 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16301 # This is an error.
16302 -*) as_fn_error $?
"unrecognized option: \`$1'
16303 Try \`$0 --help' for more information." ;;
16305 *) as_fn_append ac_config_targets
" $1"
16306 ac_need_defaults
=false
;;
16312 ac_configure_extra_args
=
16314 if $ac_cs_silent; then
16316 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16321 if \$ac_cs_recheck; then
16322 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16324 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16325 CONFIG_SHELL='$SHELL'
16326 export CONFIG_SHELL
16331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16335 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16336 ## Running $as_me. ##
16342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16350 with_multisubdir="$with_multisubdir"
16351 with_multisrctop="$with_multisrctop"
16352 with_target_subdir="$with_target_subdir"
16353 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16354 multi_basedir="$multi_basedir"
16355 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16358 GFORTRAN="$GFORTRAN"
16362 # The HP-UX ksh and POSIX shell print the target directory to stdout
16363 # if CDPATH is set.
16364 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16366 sed_quote_subst='$sed_quote_subst'
16367 double_quote_subst='$double_quote_subst'
16368 delay_variable_subst='$delay_variable_subst'
16369 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16370 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16371 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16372 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16373 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16374 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16375 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16376 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16377 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16378 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16379 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16380 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16381 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16382 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16383 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16384 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16385 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16386 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16387 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16388 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16389 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16390 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16391 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16392 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16393 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16394 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16395 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16396 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16397 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16398 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16399 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16400 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16401 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16402 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16403 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16404 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16405 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16406 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16407 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16408 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16409 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16410 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16411 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16412 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16413 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16414 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16415 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16416 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16417 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"`'
16418 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16419 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16420 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16421 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16422 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16423 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16424 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16425 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16426 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16427 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16428 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16429 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16430 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16431 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16432 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16433 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16434 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16435 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16436 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16437 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16438 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16439 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16440 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16441 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16442 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16443 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16444 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16445 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16446 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16447 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16448 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16449 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16450 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16451 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16452 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16453 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16454 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16455 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16456 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16457 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16458 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16459 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16460 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16461 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16462 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16463 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16464 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16465 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16466 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16467 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16468 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16469 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16470 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16471 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16472 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16473 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16474 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16475 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16476 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16477 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16478 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16479 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16480 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16481 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16482 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16483 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16484 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16485 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16486 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16487 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16488 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16489 LD_D='`$ECHO "$LD_D" | $SED "$delay_single_quote_subst"`'
16490 reload_flag_D='`$ECHO "$reload_flag_D" | $SED "$delay_single_quote_subst"`'
16491 reload_cmds_D='`$ECHO "$reload_cmds_D" | $SED "$delay_single_quote_subst"`'
16492 old_archive_cmds_D='`$ECHO "$old_archive_cmds_D" | $SED "$delay_single_quote_subst"`'
16493 compiler_D='`$ECHO "$compiler_D" | $SED "$delay_single_quote_subst"`'
16494 GCC_D='`$ECHO "$GCC_D" | $SED "$delay_single_quote_subst"`'
16495 lt_prog_compiler_no_builtin_flag_D='`$ECHO "$lt_prog_compiler_no_builtin_flag_D" | $SED "$delay_single_quote_subst"`'
16496 lt_prog_compiler_wl_D='`$ECHO "$lt_prog_compiler_wl_D" | $SED "$delay_single_quote_subst"`'
16497 lt_prog_compiler_pic_D='`$ECHO "$lt_prog_compiler_pic_D" | $SED "$delay_single_quote_subst"`'
16498 lt_prog_compiler_static_D='`$ECHO "$lt_prog_compiler_static_D" | $SED "$delay_single_quote_subst"`'
16499 lt_cv_prog_compiler_c_o_D='`$ECHO "$lt_cv_prog_compiler_c_o_D" | $SED "$delay_single_quote_subst"`'
16500 archive_cmds_need_lc_D='`$ECHO "$archive_cmds_need_lc_D" | $SED "$delay_single_quote_subst"`'
16501 enable_shared_with_static_runtimes_D='`$ECHO "$enable_shared_with_static_runtimes_D" | $SED "$delay_single_quote_subst"`'
16502 export_dynamic_flag_spec_D='`$ECHO "$export_dynamic_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16503 whole_archive_flag_spec_D='`$ECHO "$whole_archive_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16504 compiler_needs_object_D='`$ECHO "$compiler_needs_object_D" | $SED "$delay_single_quote_subst"`'
16505 old_archive_from_new_cmds_D='`$ECHO "$old_archive_from_new_cmds_D" | $SED "$delay_single_quote_subst"`'
16506 old_archive_from_expsyms_cmds_D='`$ECHO "$old_archive_from_expsyms_cmds_D" | $SED "$delay_single_quote_subst"`'
16507 archive_cmds_D='`$ECHO "$archive_cmds_D" | $SED "$delay_single_quote_subst"`'
16508 archive_expsym_cmds_D='`$ECHO "$archive_expsym_cmds_D" | $SED "$delay_single_quote_subst"`'
16509 module_cmds_D='`$ECHO "$module_cmds_D" | $SED "$delay_single_quote_subst"`'
16510 module_expsym_cmds_D='`$ECHO "$module_expsym_cmds_D" | $SED "$delay_single_quote_subst"`'
16511 with_gnu_ld_D='`$ECHO "$with_gnu_ld_D" | $SED "$delay_single_quote_subst"`'
16512 allow_undefined_flag_D='`$ECHO "$allow_undefined_flag_D" | $SED "$delay_single_quote_subst"`'
16513 no_undefined_flag_D='`$ECHO "$no_undefined_flag_D" | $SED "$delay_single_quote_subst"`'
16514 hardcode_libdir_flag_spec_D='`$ECHO "$hardcode_libdir_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16515 hardcode_libdir_flag_spec_ld_D='`$ECHO "$hardcode_libdir_flag_spec_ld_D" | $SED "$delay_single_quote_subst"`'
16516 hardcode_libdir_separator_D='`$ECHO "$hardcode_libdir_separator_D" | $SED "$delay_single_quote_subst"`'
16517 hardcode_direct_D='`$ECHO "$hardcode_direct_D" | $SED "$delay_single_quote_subst"`'
16518 hardcode_direct_absolute_D='`$ECHO "$hardcode_direct_absolute_D" | $SED "$delay_single_quote_subst"`'
16519 hardcode_minus_L_D='`$ECHO "$hardcode_minus_L_D" | $SED "$delay_single_quote_subst"`'
16520 hardcode_shlibpath_var_D='`$ECHO "$hardcode_shlibpath_var_D" | $SED "$delay_single_quote_subst"`'
16521 hardcode_automatic_D='`$ECHO "$hardcode_automatic_D" | $SED "$delay_single_quote_subst"`'
16522 inherit_rpath_D='`$ECHO "$inherit_rpath_D" | $SED "$delay_single_quote_subst"`'
16523 link_all_deplibs_D='`$ECHO "$link_all_deplibs_D" | $SED "$delay_single_quote_subst"`'
16524 fix_srcfile_path_D='`$ECHO "$fix_srcfile_path_D" | $SED "$delay_single_quote_subst"`'
16525 always_export_symbols_D='`$ECHO "$always_export_symbols_D" | $SED "$delay_single_quote_subst"`'
16526 export_symbols_cmds_D='`$ECHO "$export_symbols_cmds_D" | $SED "$delay_single_quote_subst"`'
16527 exclude_expsyms_D='`$ECHO "$exclude_expsyms_D" | $SED "$delay_single_quote_subst"`'
16528 include_expsyms_D='`$ECHO "$include_expsyms_D" | $SED "$delay_single_quote_subst"`'
16529 prelink_cmds_D='`$ECHO "$prelink_cmds_D" | $SED "$delay_single_quote_subst"`'
16530 file_list_spec_D='`$ECHO "$file_list_spec_D" | $SED "$delay_single_quote_subst"`'
16531 hardcode_action_D='`$ECHO "$hardcode_action_D" | $SED "$delay_single_quote_subst"`'
16534 LTCFLAGS='$LTCFLAGS'
16535 compiler='$compiler_DEFAULT'
16537 # A function that is used when there is no print builtin or printf.
16538 func_fallback_echo ()
16540 eval 'cat <<_LTECHO_EOF
16545 # Quote evaled strings.
16559 deplibs_check_method \
16568 lt_cv_sys_global_symbol_pipe \
16569 lt_cv_sys_global_symbol_to_cdecl \
16570 lt_cv_sys_global_symbol_to_c_name_address \
16571 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16572 lt_prog_compiler_no_builtin_flag \
16573 lt_prog_compiler_wl \
16574 lt_prog_compiler_pic \
16575 lt_prog_compiler_static \
16576 lt_cv_prog_compiler_c_o \
16584 export_dynamic_flag_spec \
16585 whole_archive_flag_spec \
16586 compiler_needs_object \
16588 allow_undefined_flag \
16589 no_undefined_flag \
16590 hardcode_libdir_flag_spec \
16591 hardcode_libdir_flag_spec_ld \
16592 hardcode_libdir_separator \
16597 variables_saved_for_relink \
16599 library_names_spec \
16601 install_override_mode \
16608 lt_prog_compiler_no_builtin_flag_D \
16609 lt_prog_compiler_wl_D \
16610 lt_prog_compiler_pic_D \
16611 lt_prog_compiler_static_D \
16612 lt_cv_prog_compiler_c_o_D \
16613 export_dynamic_flag_spec_D \
16614 whole_archive_flag_spec_D \
16615 compiler_needs_object_D \
16617 allow_undefined_flag_D \
16618 no_undefined_flag_D \
16619 hardcode_libdir_flag_spec_D \
16620 hardcode_libdir_flag_spec_ld_D \
16621 hardcode_libdir_separator_D \
16622 fix_srcfile_path_D \
16623 exclude_expsyms_D \
16624 include_expsyms_D \
16625 file_list_spec_D; do
16626 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16627 *[\\\\\\\`\\"\\\$]*)
16628 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16631 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16636 # Double-quote double-evaled strings.
16637 for var in reload_cmds \
16638 old_postinstall_cmds \
16639 old_postuninstall_cmds \
16641 extract_expsyms_cmds \
16642 old_archive_from_new_cmds \
16643 old_archive_from_expsyms_cmds \
16645 archive_expsym_cmds \
16647 module_expsym_cmds \
16648 export_symbols_cmds \
16651 postuninstall_cmds \
16653 sys_lib_search_path_spec \
16654 sys_lib_dlsearch_path_spec \
16656 old_archive_cmds_D \
16657 old_archive_from_new_cmds_D \
16658 old_archive_from_expsyms_cmds_D \
16660 archive_expsym_cmds_D \
16662 module_expsym_cmds_D \
16663 export_symbols_cmds_D \
16665 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16666 *[\\\\\\\`\\"\\\$]*)
16667 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16670 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16675 ac_aux_dir='$ac_aux_dir'
16676 xsi_shell='$xsi_shell'
16677 lt_shell_append='$lt_shell_append'
16679 # See if we are running on zsh, and set the options which allow our
16680 # commands through without removal of \ escapes INIT.
16681 if test -n "\${ZSH_VERSION+set}" ; then
16682 setopt NO_GLOB_SUBST
16688 TIMESTAMP='$TIMESTAMP'
16699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16701 # Handling of arguments.
16702 for ac_config_target
in $ac_config_targets
16704 case $ac_config_target in
16705 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16706 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16707 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16708 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16709 "libdruntime/gcc/config.d") CONFIG_FILES
="$CONFIG_FILES libdruntime/gcc/config.d" ;;
16710 "libdruntime/gcc/libbacktrace.d") CONFIG_FILES
="$CONFIG_FILES libdruntime/gcc/libbacktrace.d" ;;
16711 "src/libgphobos.spec") CONFIG_FILES
="$CONFIG_FILES src/libgphobos.spec" ;;
16712 "testsuite/testsuite_flags") CONFIG_FILES
="$CONFIG_FILES testsuite/testsuite_flags" ;;
16713 "libdruntime/Makefile") CONFIG_FILES
="$CONFIG_FILES libdruntime/Makefile" ;;
16714 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
16715 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16717 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16722 # If the user did not use the arguments to specify the items to instantiate,
16723 # then the envvar interface is used. Set only those that are not.
16724 # We use the long form for the default assignment because of an extremely
16725 # bizarre bug on SunOS 4.1.3.
16726 if $ac_need_defaults; then
16727 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16728 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16729 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16732 # Have a temporary directory for convenience. Make it in the build tree
16733 # simply because there is no reason against having it here, and in addition,
16734 # creating and moving files from /tmp can sometimes cause problems.
16735 # Hook for its removal unless debugging.
16736 # Note that there is a small window in which the directory will not be cleaned:
16737 # after its creation but before its name has been assigned to `$tmp'.
16741 trap 'exit_status=$?
16742 : "${ac_tmp:=$tmp}"
16743 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16745 trap 'as_fn_exit 1' 1 2 13 15
16747 # Create a (secure) tmp directory for tmp files.
16750 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16754 tmp
=.
/conf$$
-$RANDOM
16755 (umask 077 && mkdir
"$tmp")
16756 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16759 # Set up the scripts for CONFIG_FILES section.
16760 # No need to generate them if there are no CONFIG_FILES.
16761 # This happens for instance with `./config.status config.h'.
16762 if test -n "$CONFIG_FILES"; then
16764 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16765 ac_cs_awk_getline
=:
16766 ac_cs_awk_pipe_init
=
16767 ac_cs_awk_read_file
='
16768 while ((getline aline < (F[key])) > 0)
16771 ac_cs_awk_pipe_fini
=
16773 ac_cs_awk_getline
=false
16774 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16775 ac_cs_awk_read_file
='
16777 print "cat " F[key] " &&"
16778 '$ac_cs_awk_pipe_init
16779 # The final `:' finishes the AND list.
16780 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16782 ac_cr
=`echo X | tr X '\015'`
16783 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16784 # But we know of no other shell where ac_cr would be empty at this
16785 # point, so we can use a bashism as a fallback.
16786 if test "x$ac_cr" = x
; then
16787 eval ac_cr
=\$
\'\\r
\'
16789 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16790 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16793 ac_cs_awk_cr
=$ac_cr
16796 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16799 # Create commands to substitute file output variables.
16801 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16802 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16803 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16806 } >conf$
$files.sh
&&
16807 . .
/conf$
$files.sh ||
16808 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16809 rm -f conf$
$files.sh
16812 echo "cat >conf$$subs.awk <<_ACEOF" &&
16813 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16815 } >conf$$subs.sh ||
16816 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16817 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16819 for ac_last_try in false false false false false :; do
16820 . ./conf$$subs.sh ||
16821 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16823 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16824 if test $ac_delim_n = $ac_delim_num; then
16826 elif $ac_last_try; then
16827 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16829 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16832 rm -f conf$$subs.sh
16834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16835 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16839 s/^/S["/; s
/!.
*/"]=/
16849 s/\(.\{148\}\)..*/\1/
16851 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16856 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16863 s/\(.\{148\}\)..*/\1/
16865 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16869 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16874 ' <conf$$subs.awk | sed '
16879 ' >>$CONFIG_STATUS || ac_write_fail=1
16880 rm -f conf$$subs.awk
16881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16883 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16884 for (key in S) S_is_set[key] = 1
16886 \$ac_cs_awk_pipe_init
16890 nfields = split(line, field, "@
")
16892 len = length(field[1])
16893 for (i = 2; i < nfields; i++) {
16895 keylen = length(key)
16896 if (S_is_set[key]) {
16898 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16899 len += length(value) + length(field[++i])
16904 if (nfields == 3 && !substed) {
16906 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16907 \$ac_cs_awk_read_file
16913 \$ac_cs_awk_pipe_fini
16916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16917 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16918 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16921 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16922 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16925 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16926 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16927 # trailing colons and then remove the whole line if VPATH becomes empty
16928 # (actually we leave an empty line to preserve line numbers).
16929 if test "x
$srcdir" = x.; then
16930 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16949 fi # test -n "$CONFIG_FILES"
16951 # Set up the scripts for CONFIG_HEADERS section.
16952 # No need to generate them if there are no CONFIG_HEADERS.
16953 # This happens for instance with `./config.status Makefile'.
16954 if test -n "$CONFIG_HEADERS"; then
16955 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16959 # Transform confdefs.h into an awk script `defines.awk', embedded as
16960 # here-document in config.status, that substitutes the proper values into
16961 # config.h.in to produce config.h.
16963 # Create a delimiter string that does not exist in confdefs.h, to ease
16964 # handling of long lines.
16966 for ac_last_try in false false :; do
16967 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16968 if test -z "$ac_tt"; then
16970 elif $ac_last_try; then
16971 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16973 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16977 # For the awk script, D is an array of macro values keyed by name,
16978 # likewise P contains macro parameters if any. Preserve backslash
16979 # newline sequences.
16981 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16983 s/.\{148\}/&'"$ac_delim"'/g
16986 s/^[ ]*#[ ]*define[ ][ ]*/ /
16993 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16995 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16999 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17000 D["\
1"]=" \
3\\\\\\n
"\\/p
17002 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17007 s/.\{148\}/&'"$ac_delim"'/g
17012 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17015 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17017 ' <confdefs.h | sed '
17018 s/'"$ac_delim"'/"\\\
17019 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17022 for (key in D) D_is_set[key] = 1
17025 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17027 split(line, arg, " ")
17028 if (arg[1] == "#") {
17032 defundef
= substr
(arg
[1], 2)
17035 split(mac1
, mac2
, "(") #)
17037 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17038 if (D_is_set
[macro
]) {
17039 # Preserve the white space surrounding the "#".
17040 print prefix
"define", macro P
[macro
] D
[macro
]
17043 # Replace #undef with comments. This is necessary, for example,
17044 # in the case of _POSIX_SOURCE, which is predefined and required
17045 # on some systems where configure will not decide to define it.
17046 if (defundef
== "undef") {
17047 print
"/*", prefix defundef
, macro
, "*/"
17055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17056 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17057 fi # test -n "$CONFIG_HEADERS"
17060 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17065 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17067 case $ac_mode$ac_tag in
17069 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17070 :[FH
]-) ac_tag
=-:-;;
17071 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17088 -) ac_f
="$ac_tmp/stdin";;
17089 *) # Look for the file first in the build tree, then in the source tree
17090 # (if the path is not absolute). The absolute path cannot be DOS-style,
17091 # because $ac_f cannot contain `:'.
17095 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17097 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17099 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17100 as_fn_append ac_file_inputs
" '$ac_f'"
17103 # Let's still pretend it is `configure' which instantiates (i.e., don't
17104 # use $as_me), people would be surprised to read:
17105 # /* config.h. Generated by config.status. */
17106 configure_input
='Generated from '`
17107 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17109 if test x
"$ac_file" != x-
; then
17110 configure_input
="$ac_file. $configure_input"
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17112 $as_echo "$as_me: creating $ac_file" >&6;}
17114 # Neutralize special characters interpreted by sed in replacement strings.
17115 case $configure_input in #(
17116 *\
&* |
*\|
* |
*\\* )
17117 ac_sed_conf_input
=`$as_echo "$configure_input" |
17118 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17119 *) ac_sed_conf_input
=$configure_input;;
17123 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17124 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17129 ac_dir
=`$as_dirname -- "$ac_file" ||
17130 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17131 X"$ac_file" : 'X\(//\)[^/]' \| \
17132 X"$ac_file" : 'X\(//\)$' \| \
17133 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17134 $as_echo X"$ac_file" |
17135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17139 /^X\(\/\/\)[^/].*/{
17152 as_dir
="$ac_dir"; as_fn_mkdir_p
17156 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17158 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17159 # A ".." for each directory in $ac_dir_suffix.
17160 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17161 case $ac_top_builddir_sub in
17162 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17163 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17166 ac_abs_top_builddir
=$ac_pwd
17167 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17168 # for backward compatibility:
17169 ac_top_builddir
=$ac_top_build_prefix
17172 .
) # We are building in place.
17174 ac_top_srcdir
=$ac_top_builddir_sub
17175 ac_abs_top_srcdir
=$ac_pwd ;;
17176 [\\/]* | ?
:[\\/]* ) # Absolute name.
17177 ac_srcdir
=$srcdir$ac_dir_suffix;
17178 ac_top_srcdir
=$srcdir
17179 ac_abs_top_srcdir
=$srcdir ;;
17180 *) # Relative name.
17181 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17182 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17183 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17185 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17195 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17196 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17198 ac_MKDIR_P
=$MKDIR_P
17200 [\\/$
]* | ?
:[\\/]* ) ;;
17201 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17206 # If the template does not know about datarootdir, expand it.
17207 # FIXME: This hack should be removed a few years after 2.60.
17208 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17219 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17220 *datarootdir
*) ac_datarootdir_seen
=yes;;
17221 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17223 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17226 ac_datarootdir_hack='
17227 s&@datadir@&$datadir&g
17228 s&@docdir@&$docdir&g
17229 s&@infodir@&$infodir&g
17230 s&@localedir@&$localedir&g
17231 s&@mandir@&$mandir&g
17232 s&\\\${datarootdir}&$datarootdir&g' ;;
17236 # Neutralize VPATH when `$srcdir' = `.'.
17237 # Shell code in configure.ac might set extrasub.
17238 # FIXME: do we really want to maintain this feature?
17239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17240 ac_sed_extra="$ac_vpsub
17243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17245 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17246 s|@configure_input@|
$ac_sed_conf_input|
;t t
17247 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17248 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17249 s
&@srcdir@
&$ac_srcdir&;t t
17250 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17251 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17252 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17253 s
&@builddir@
&$ac_builddir&;t t
17254 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17255 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17256 s
&@INSTALL@
&$ac_INSTALL&;t t
17257 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17258 $ac_datarootdir_hack
17260 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17261 if $ac_cs_awk_getline; then
17262 $AWK -f "$ac_tmp/subs.
awk"
17264 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17266 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17268 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17269 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17270 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17271 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17273 which seems to be undefined. Please make sure it is defined" >&5
17274 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17275 which seems to be undefined. Please make sure it is defined" >&2;}
17277 rm -f "$ac_tmp/stdin"
17279 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17280 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17282 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17288 if test x"$ac_file" != x-; then
17290 $as_echo "/* $configure_input */" \
17291 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17292 } >"$ac_tmp/config.h" \
17293 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17294 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17296 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17299 mv "$ac_tmp/config.h" "$ac_file" \
17300 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17303 $as_echo "/* $configure_input */" \
17304 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17305 || as_fn_error $? "could not create -" "$LINENO" 5
17307 # Compute "$ac_file"'s index
in $config_headers.
17310 for _am_header
in $config_headers :; do
17311 case $_am_header in
17312 $_am_arg |
$_am_arg:* )
17315 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17318 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17319 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17320 X"$_am_arg" : 'X\(//\)[^/]' \| \
17321 X"$_am_arg" : 'X\(//\)$' \| \
17322 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17323 $as_echo X"$_am_arg" |
17324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17328 /^X\(\/\/\)[^/].*/{
17340 s/.*/./; q'`/stamp-h
$_am_stamp_count
17343 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17344 $as_echo "$as_me: executing $ac_file commands" >&6;}
17349 case $ac_file$ac_mode in
17351 # Only add multilib support code if we just rebuilt the top-level
17353 case " $CONFIG_FILES " in
17355 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17360 # See if we are running on zsh, and set the options which allow our
17361 # commands through without removal of \ escapes.
17362 if test -n "${ZSH_VERSION+set}" ; then
17363 setopt NO_GLOB_SUBST
17366 cfgfile
="${ofile}T"
17367 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17370 cat <<_LT_EOF >> "$cfgfile"
17373 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17374 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17375 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17376 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17378 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17379 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17380 # Written by Gordon Matzigkeit, 1996
17382 # This file is part of GNU Libtool.
17384 # GNU Libtool is free software; you can redistribute it and/or
17385 # modify it under the terms of the GNU General Public License as
17386 # published by the Free Software Foundation; either version 2 of
17387 # the License, or (at your option) any later version.
17389 # As a special exception to the GNU General Public License,
17390 # if you distribute this file as part of a program or library that
17391 # is built using GNU Libtool, you may include this file under the
17392 # same distribution terms that you use for the rest of that program.
17394 # GNU Libtool is distributed in the hope that it will be useful,
17395 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17396 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17397 # GNU General Public License for more details.
17399 # You should have received a copy of the GNU General Public License
17400 # along with GNU Libtool; see the file COPYING. If not, a copy
17401 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17402 # obtained by writing to the Free Software Foundation, Inc.,
17403 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17406 # The names of the tagged configurations supported by this script.
17407 available_tags="D "
17409 # ### BEGIN LIBTOOL CONFIG
17411 # Which release of libtool.m4 was used?
17412 macro_version=$macro_version
17413 macro_revision=$macro_revision
17415 # Whether or not to build shared libraries.
17416 build_libtool_libs=$enable_shared
17418 # Whether or not to build static libraries.
17419 build_old_libs=$enable_static
17421 # What type of objects to build.
17424 # Whether or not to optimize for fast installation.
17425 fast_install=$enable_fast_install
17427 # Shell to use when invoking shell scripts.
17430 # An echo program that protects backslashes.
17434 host_alias=$host_alias
17438 # The build system.
17439 build_alias=$build_alias
17443 # A sed program that does not truncate output.
17446 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17447 Xsed="\$SED -e 1s/^X//"
17449 # A grep program that handles long lines.
17455 # A literal string matcher.
17458 # A BSD- or MS-compatible name lister.
17461 # Whether we need soft or hard links.
17464 # What is the maximum length of a command?
17465 max_cmd_len=$max_cmd_len
17467 # Object file suffix (normally "o").
17470 # Executable file suffix (normally "").
17473 # whether the shell understands "unset".
17476 # turn spaces into newlines.
17479 # turn newlines into spaces.
17482 # An object symbol dumper.
17483 OBJDUMP=$lt_OBJDUMP
17485 # Method to check whether dependent libraries are shared objects.
17486 deplibs_check_method=$lt_deplibs_check_method
17488 # Command to use when deplibs_check_method == "file_magic".
17489 file_magic_cmd=$lt_file_magic_cmd
17493 AR_FLAGS=$lt_AR_FLAGS
17495 # A symbol stripping program.
17498 # Commands used to install an old-style archive.
17500 old_postinstall_cmds=$lt_old_postinstall_cmds
17501 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17503 # Whether to use a lock for old archive extraction.
17504 lock_old_archive_extraction=$lock_old_archive_extraction
17509 # LTCC compiler flags.
17510 LTCFLAGS=$lt_CFLAGS
17512 # Take the output of nm and produce a listing of raw symbols and C names.
17513 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17515 # Transform the output of nm in a proper C declaration.
17516 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17518 # Transform the output of nm in a C name address pair.
17519 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17521 # Transform the output of nm in a C name address pair when lib prefix is needed.
17522 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17524 # The name of the directory that contains temporary libtool files.
17527 # Used to examine libraries when file_magic_cmd begins with "file".
17528 MAGIC_CMD=$MAGIC_CMD
17530 # Must we lock files when doing compilation?
17531 need_locks=$lt_need_locks
17533 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17534 DSYMUTIL=$lt_DSYMUTIL
17536 # Tool to change global to local symbols on Mac OS X.
17539 # Tool to manipulate fat objects and archives on Mac OS X.
17542 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17545 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17546 OTOOL64=$lt_OTOOL64
17548 # Old archive suffix (normally "a").
17551 # Shared library suffix (normally ".so").
17552 shrext_cmds=$lt_shrext_cmds
17554 # The commands to extract the exported symbol list from a shared archive.
17555 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17557 # Variables whose values should be saved in libtool wrapper scripts and
17558 # restored at link time.
17559 variables_saved_for_relink=$lt_variables_saved_for_relink
17561 # Do we need the "lib" prefix for modules?
17562 need_lib_prefix=$need_lib_prefix
17564 # Do we need a version for libraries?
17565 need_version=$need_version
17567 # Library versioning type.
17568 version_type=$version_type
17570 # Shared library runtime path variable.
17571 runpath_var=$runpath_var
17573 # Shared library path variable.
17574 shlibpath_var=$shlibpath_var
17576 # Is shlibpath searched before the hard-coded library search path?
17577 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17579 # Format of library name prefix.
17580 libname_spec=$lt_libname_spec
17582 # List of archive names. First name is the real one, the rest are links.
17583 # The last name is the one that the linker finds with -lNAME
17584 library_names_spec=$lt_library_names_spec
17586 # The coded name of the library, if different from the real name.
17587 soname_spec=$lt_soname_spec
17589 # Permission mode override for installation of shared libraries.
17590 install_override_mode=$lt_install_override_mode
17592 # Command to use after installation of a shared archive.
17593 postinstall_cmds=$lt_postinstall_cmds
17595 # Command to use after uninstallation of a shared archive.
17596 postuninstall_cmds=$lt_postuninstall_cmds
17598 # Commands used to finish a libtool library installation in a directory.
17599 finish_cmds=$lt_finish_cmds
17601 # As "finish_cmds", except a single script fragment to be evaled but
17603 finish_eval=$lt_finish_eval
17605 # Whether we should hardcode library paths into libraries.
17606 hardcode_into_libs=$hardcode_into_libs
17608 # Compile-time system search path for libraries.
17609 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17611 # Run-time system search path for libraries.
17612 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17614 # Whether dlopen is supported.
17615 dlopen_support=$enable_dlopen
17617 # Whether dlopen of programs is supported.
17618 dlopen_self=$enable_dlopen_self
17620 # Whether dlopen of statically linked programs is supported.
17621 dlopen_self_static=$enable_dlopen_self_static
17623 # Commands to strip libraries.
17624 old_striplib=$lt_old_striplib
17625 striplib=$lt_striplib
17628 # The linker used to build libraries.
17631 # How to create reloadable object files.
17632 reload_flag=$lt_reload_flag
17633 reload_cmds=$lt_reload_cmds
17635 # Commands used to build an old-style archive.
17636 old_archive_cmds=$lt_old_archive_cmds
17638 # A language specific compiler.
17641 # Is the compiler the GNU compiler?
17644 # Compiler flag to turn off builtin functions.
17645 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17647 # How to pass a linker flag through the compiler.
17648 wl=$lt_lt_prog_compiler_wl
17650 # Additional compiler flags for building library objects.
17651 pic_flag=$lt_lt_prog_compiler_pic
17653 # Compiler flag to prevent dynamic linking.
17654 link_static_flag=$lt_lt_prog_compiler_static
17656 # Does compiler simultaneously support -c and -o options?
17657 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17659 # Whether or not to add -lc for building shared libraries.
17660 build_libtool_need_lc=$archive_cmds_need_lc
17662 # Whether or not to disallow shared libs when runtime libs are static.
17663 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17665 # Compiler flag to allow reflexive dlopens.
17666 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17668 # Compiler flag to generate shared objects directly from archives.
17669 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17671 # Whether the compiler copes with passing no objects directly.
17672 compiler_needs_object=$lt_compiler_needs_object
17674 # Create an old-style archive from a shared archive.
17675 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17677 # Create a temporary old-style archive to link instead of a shared archive.
17678 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17680 # Commands used to build a shared archive.
17681 archive_cmds=$lt_archive_cmds
17682 archive_expsym_cmds=$lt_archive_expsym_cmds
17684 # Commands used to build a loadable module if different from building
17685 # a shared archive.
17686 module_cmds=$lt_module_cmds
17687 module_expsym_cmds=$lt_module_expsym_cmds
17689 # Whether we are building with GNU ld or not.
17690 with_gnu_ld=$lt_with_gnu_ld
17692 # Flag that allows shared libraries with undefined symbols to be built.
17693 allow_undefined_flag=$lt_allow_undefined_flag
17695 # Flag that enforces no undefined symbols.
17696 no_undefined_flag=$lt_no_undefined_flag
17698 # Flag to hardcode \$libdir into a binary during linking.
17699 # This must work even if \$libdir does not exist
17700 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17702 # If ld is used when linking, flag to hardcode \$libdir into a binary
17703 # during linking. This must work even if \$libdir does not exist.
17704 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17706 # Whether we need a single "-rpath" flag with a separated argument.
17707 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17709 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17710 # DIR into the resulting binary.
17711 hardcode_direct=$hardcode_direct
17713 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17714 # DIR into the resulting binary and the resulting library dependency is
17715 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17716 # library is relocated.
17717 hardcode_direct_absolute=$hardcode_direct_absolute
17719 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17720 # into the resulting binary.
17721 hardcode_minus_L=$hardcode_minus_L
17723 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17724 # into the resulting binary.
17725 hardcode_shlibpath_var=$hardcode_shlibpath_var
17727 # Set to "yes" if building a shared library automatically hardcodes DIR
17728 # into the library and all subsequent libraries and executables linked
17730 hardcode_automatic=$hardcode_automatic
17732 # Set to yes if linker adds runtime paths of dependent libraries
17733 # to runtime path list.
17734 inherit_rpath=$inherit_rpath
17736 # Whether libtool must link a program against all its dependency libraries.
17737 link_all_deplibs=$link_all_deplibs
17739 # Fix the shell variable \$srcfile for the compiler.
17740 fix_srcfile_path=$lt_fix_srcfile_path
17742 # Set to "yes" if exported symbols are required.
17743 always_export_symbols=$always_export_symbols
17745 # The commands to list exported symbols.
17746 export_symbols_cmds=$lt_export_symbols_cmds
17748 # Symbols that should not be listed in the preloaded symbols.
17749 exclude_expsyms=$lt_exclude_expsyms
17751 # Symbols that must always be exported.
17752 include_expsyms=$lt_include_expsyms
17754 # Commands necessary for linking programs (against libraries) with templates.
17755 prelink_cmds=$lt_prelink_cmds
17757 # Specify filename containing input files.
17758 file_list_spec=$lt_file_list_spec
17760 # How to hardcode a shared library path into an executable.
17761 hardcode_action=$hardcode_action
17763 # ### END LIBTOOL CONFIG
17769 cat <<\_LT_EOF
>> "$cfgfile"
17770 # AIX sometimes has problems with the GCC collect2 program. For some
17771 # reason, if we set the COLLECT_NAMES environment variable, the problems
17772 # vanish in a puff of smoke.
17773 if test "X${COLLECT_NAMES+set}" != Xset
; then
17775 export COLLECT_NAMES
17782 ltmain
="$ac_aux_dir/ltmain.sh"
17785 # We use sed instead of cat because bash on DJGPP gets confused if
17786 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17787 # text mode, it properly converts lines to CR/LF. This bash problem
17788 # is reportedly fixed, but why not run on old versions too?
17789 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17790 ||
(rm -f "$cfgfile"; exit 1)
17794 cat << \_LT_EOF
>> "$cfgfile"
17796 # func_dirname file append nondir_replacement
17797 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17798 # otherwise set result to NONDIR_REPLACEMENT.
17802 */*) func_dirname_result
="${1%/*}${2}" ;;
17803 * ) func_dirname_result
="${3}" ;;
17807 # func_basename file
17810 func_basename_result
="${1##*/}"
17813 # func_dirname_and_basename file append nondir_replacement
17814 # perform func_basename and func_dirname in a single function
17816 # dirname: Compute the dirname of FILE. If nonempty,
17817 # add APPEND to the result, otherwise set result
17818 # to NONDIR_REPLACEMENT.
17819 # value returned in "$func_dirname_result"
17820 # basename: Compute filename of FILE.
17821 # value retuned in "$func_basename_result"
17822 # Implementation must be kept synchronized with func_dirname
17823 # and func_basename. For efficiency, we do not delegate to
17824 # those functions but instead duplicate the functionality here.
17825 func_dirname_and_basename
()
17828 */*) func_dirname_result
="${1%/*}${2}" ;;
17829 * ) func_dirname_result
="${3}" ;;
17831 func_basename_result
="${1##*/}"
17834 # func_stripname prefix suffix name
17835 # strip PREFIX and SUFFIX off of NAME.
17836 # PREFIX and SUFFIX must not contain globbing or regex special
17837 # characters, hashes, percent signs, but SUFFIX may contain a leading
17838 # dot (in which case that matches only a dot).
17841 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17842 # positional parameters, so assign one to ordinary parameter first.
17843 func_stripname_result
=${3}
17844 func_stripname_result
=${func_stripname_result#"${1}"}
17845 func_stripname_result
=${func_stripname_result%"${2}"}
17851 func_opt_split_opt
=${1%%=*}
17852 func_opt_split_arg
=${1#*=}
17859 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17860 *) func_lo2o_result
=${1} ;;
17864 # func_xform libobj-or-source
17867 func_xform_result
=${1%.*}.lo
17870 # func_arith arithmetic-term...
17873 func_arith_result
=$
(( $
* ))
17877 # STRING may not start with a hyphen.
17880 func_len_result
=${#1}
17885 *) # Bourne compatible functions.
17886 cat << \_LT_EOF
>> "$cfgfile"
17888 # func_dirname file append nondir_replacement
17889 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17890 # otherwise set result to NONDIR_REPLACEMENT.
17893 # Extract subdirectory from the argument.
17894 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17895 if test "X$func_dirname_result" = "X${1}"; then
17896 func_dirname_result
="${3}"
17898 func_dirname_result
="$func_dirname_result${2}"
17902 # func_basename file
17905 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17909 # func_stripname prefix suffix name
17910 # strip PREFIX and SUFFIX off of NAME.
17911 # PREFIX and SUFFIX must not contain globbing or regex special
17912 # characters, hashes, percent signs, but SUFFIX may contain a leading
17913 # dot (in which case that matches only a dot).
17914 # func_strip_suffix prefix name
17918 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17919 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17924 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17925 my_sed_long_arg
='1s/^-[^=]*=//'
17930 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17931 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17937 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17940 # func_xform libobj-or-source
17943 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17946 # func_arith arithmetic-term...
17949 func_arith_result
=`expr "$@"`
17953 # STRING may not start with a hyphen.
17956 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17962 case $lt_shell_append in
17964 cat << \_LT_EOF
>> "$cfgfile"
17966 # func_append var value
17967 # Append VALUE to the end of shell variable VAR.
17975 cat << \_LT_EOF
>> "$cfgfile"
17977 # func_append var value
17978 # Append VALUE to the end of shell variable VAR.
17989 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17990 ||
(rm -f "$cfgfile"; exit 1)
17992 mv -f "$cfgfile" "$ofile" ||
17993 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17997 cat <<_LT_EOF >> "$ofile"
17999 # ### BEGIN LIBTOOL TAG CONFIG: D
18001 # The linker used to build libraries.
18004 # How to create reloadable object files.
18005 reload_flag=$lt_reload_flag_D
18006 reload_cmds=$lt_reload_cmds_D
18008 # Commands used to build an old-style archive.
18009 old_archive_cmds=$lt_old_archive_cmds_D
18011 # A language specific compiler.
18014 # Is the compiler the GNU compiler?
18017 # Compiler flag to turn off builtin functions.
18018 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_D
18020 # How to pass a linker flag through the compiler.
18021 wl=$lt_lt_prog_compiler_wl_D
18023 # Additional compiler flags for building library objects.
18024 pic_flag=$lt_lt_prog_compiler_pic_D
18026 # Compiler flag to prevent dynamic linking.
18027 link_static_flag=$lt_lt_prog_compiler_static_D
18029 # Does compiler simultaneously support -c and -o options?
18030 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_D
18032 # Whether or not to add -lc for building shared libraries.
18033 build_libtool_need_lc=$archive_cmds_need_lc_D
18035 # Whether or not to disallow shared libs when runtime libs are static.
18036 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_D
18038 # Compiler flag to allow reflexive dlopens.
18039 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_D
18041 # Compiler flag to generate shared objects directly from archives.
18042 whole_archive_flag_spec=$lt_whole_archive_flag_spec_D
18044 # Whether the compiler copes with passing no objects directly.
18045 compiler_needs_object=$lt_compiler_needs_object_D
18047 # Create an old-style archive from a shared archive.
18048 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_D
18050 # Create a temporary old-style archive to link instead of a shared archive.
18051 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_D
18053 # Commands used to build a shared archive.
18054 archive_cmds=$lt_archive_cmds_D
18055 archive_expsym_cmds=$lt_archive_expsym_cmds_D
18057 # Commands used to build a loadable module if different from building
18058 # a shared archive.
18059 module_cmds=$lt_module_cmds_D
18060 module_expsym_cmds=$lt_module_expsym_cmds_D
18062 # Whether we are building with GNU ld or not.
18063 with_gnu_ld=$lt_with_gnu_ld_D
18065 # Flag that allows shared libraries with undefined symbols to be built.
18066 allow_undefined_flag=$lt_allow_undefined_flag_D
18068 # Flag that enforces no undefined symbols.
18069 no_undefined_flag=$lt_no_undefined_flag_D
18071 # Flag to hardcode \$libdir into a binary during linking.
18072 # This must work even if \$libdir does not exist
18073 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_D
18075 # If ld is used when linking, flag to hardcode \$libdir into a binary
18076 # during linking. This must work even if \$libdir does not exist.
18077 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_D
18079 # Whether we need a single "-rpath" flag with a separated argument.
18080 hardcode_libdir_separator=$lt_hardcode_libdir_separator_D
18082 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18083 # DIR into the resulting binary.
18084 hardcode_direct=$hardcode_direct_D
18086 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18087 # DIR into the resulting binary and the resulting library dependency is
18088 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18089 # library is relocated.
18090 hardcode_direct_absolute=$hardcode_direct_absolute_D
18092 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18093 # into the resulting binary.
18094 hardcode_minus_L=$hardcode_minus_L_D
18096 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18097 # into the resulting binary.
18098 hardcode_shlibpath_var=$hardcode_shlibpath_var_D
18100 # Set to "yes" if building a shared library automatically hardcodes DIR
18101 # into the library and all subsequent libraries and executables linked
18103 hardcode_automatic=$hardcode_automatic_D
18105 # Set to yes if linker adds runtime paths of dependent libraries
18106 # to runtime path list.
18107 inherit_rpath=$inherit_rpath_D
18109 # Whether libtool must link a program against all its dependency libraries.
18110 link_all_deplibs=$link_all_deplibs_D
18112 # Fix the shell variable \$srcfile for the compiler.
18113 fix_srcfile_path=$lt_fix_srcfile_path_D
18115 # Set to "yes" if exported symbols are required.
18116 always_export_symbols=$always_export_symbols_D
18118 # The commands to list exported symbols.
18119 export_symbols_cmds=$lt_export_symbols_cmds_D
18121 # Symbols that should not be listed in the preloaded symbols.
18122 exclude_expsyms=$lt_exclude_expsyms_D
18124 # Symbols that must always be exported.
18125 include_expsyms=$lt_include_expsyms_D
18127 # Commands necessary for linking programs (against libraries) with templates.
18128 prelink_cmds=$lt_prelink_cmds_D
18130 # Specify filename containing input files.
18131 file_list_spec=$lt_file_list_spec_D
18133 # How to hardcode a shared library path into an executable.
18134 hardcode_action=$hardcode_action_D
18136 # ### END LIBTOOL TAG CONFIG: D
18140 "testsuite/testsuite_flags":F
) chmod +x testsuite
/testsuite_flags
;;
18141 "libdruntime/Makefile":F
) cat > vpsed$$
<< \_EOF
18142 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18144 sed -f vpsed$$
$ac_file > tmp$$
18147 echo 'MULTISUBDIR =' >> $ac_file
18149 .
${multi_basedir}/config-ml.
in
18150 { ml_norecursion
=; unset ml_norecursion
;}
18152 "src/Makefile":F
) cat > vpsed$$
<< \_EOF
18153 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18155 sed -f vpsed$$
$ac_file > tmp$$
18158 echo 'MULTISUBDIR =' >> $ac_file
18160 .
${multi_basedir}/config-ml.
in
18161 { ml_norecursion
=; unset ml_norecursion
;}
18163 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
18164 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18166 sed -f vpsed$$
$ac_file > tmp$$
18169 echo 'MULTISUBDIR =' >> $ac_file
18171 .
${multi_basedir}/config-ml.
in
18172 { ml_norecursion
=; unset ml_norecursion
;}
18181 ac_clean_files
=$ac_clean_files_save
18183 test $ac_write_fail = 0 ||
18184 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18187 # configure is writing to config.log, and then calls config.status.
18188 # config.status does its own redirection, appending to config.log.
18189 # Unfortunately, on DOS this fails, as config.log is still kept open
18190 # by configure, so config.status won't be able to write to it; its
18191 # output is simply discarded. So we exec the FD to /dev/null,
18192 # effectively closing config.log, so it can be properly (re)opened and
18193 # appended to by config.status. When coming back to configure, we
18194 # need to make the FD available again.
18195 if test "$no_create" != yes; then
18197 ac_config_status_args
=
18198 test "$silent" = yes &&
18199 ac_config_status_args
="$ac_config_status_args --quiet"
18201 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18203 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18204 # would make configure fail if this is the last instruction.
18205 $ac_cs_success || as_fn_exit
1
18207 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18209 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}