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_POWERPC64_FALSE
696 DRUNTIME_CPU_POWERPC64_TRUE
697 DRUNTIME_CPU_POWERPC_FALSE
698 DRUNTIME_CPU_POWERPC_TRUE
699 DRUNTIME_CPU_MIPS_FALSE
700 DRUNTIME_CPU_MIPS_TRUE
701 DRUNTIME_CPU_ARM_FALSE
702 DRUNTIME_CPU_ARM_TRUE
703 DRUNTIME_CPU_AARCH64_FALSE
704 DRUNTIME_CPU_AARCH64_TRUE
708 phobos_compiler_shared_flag
709 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
835 with_gcc_major_version_only
839 with_target_system_zlib
841 enable_version_specific_runtime_libs
844 with_libphobos_druntime_only
845 enable_libphobos_checking
847 ac_precious_vars
='build_alias
858 # Initialize some variables set by options.
860 ac_init_version
=false
861 ac_unrecognized_opts
=
863 # The variables have the same names as the options, with
864 # dashes changed to underlines.
872 program_transform_name
=s
,x
,x
,
880 # Installation directory options.
881 # These are left unexpanded so users can "make install exec_prefix=/foo"
882 # and all the variables that are supposed to be based on exec_prefix
883 # by default will actually change.
884 # Use braces instead of parens because sh, perl, etc. also accept them.
885 # (The list follows the same order as the GNU Coding Standards.)
886 bindir
='${exec_prefix}/bin'
887 sbindir
='${exec_prefix}/sbin'
888 libexecdir
='${exec_prefix}/libexec'
889 datarootdir
='${prefix}/share'
890 datadir
='${datarootdir}'
891 sysconfdir
='${prefix}/etc'
892 sharedstatedir
='${prefix}/com'
893 localstatedir
='${prefix}/var'
894 includedir
='${prefix}/include'
895 oldincludedir
='/usr/include'
896 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
897 infodir
='${datarootdir}/info'
902 libdir
='${exec_prefix}/lib'
903 localedir
='${datarootdir}/locale'
904 mandir
='${datarootdir}/man'
910 # If the previous option needs an argument, assign it.
911 if test -n "$ac_prev"; then
912 eval $ac_prev=\
$ac_option
918 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
923 # Accept the important Cygnus configure options, so we can diagnose typos.
925 case $ac_dashdash$ac_option in
929 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
931 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
934 -build |
--build |
--buil |
--bui |
--bu)
935 ac_prev
=build_alias
;;
936 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
937 build_alias
=$ac_optarg ;;
939 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
940 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
941 ac_prev
=cache_file
;;
942 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
943 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
944 cache_file
=$ac_optarg ;;
947 cache_file
=config.cache
;;
949 -datadir |
--datadir |
--datadi |
--datad)
951 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
952 datadir
=$ac_optarg ;;
954 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
955 |
--dataroo |
--dataro |
--datar)
956 ac_prev
=datarootdir
;;
957 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
958 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
959 datarootdir
=$ac_optarg ;;
961 -disable-* |
--disable-*)
962 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
965 as_fn_error $?
"invalid feature name: $ac_useropt"
966 ac_useropt_orig
=$ac_useropt
967 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968 case $ac_user_opts in
972 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
973 ac_unrecognized_sep
=', ';;
975 eval enable_
$ac_useropt=no
;;
977 -docdir |
--docdir |
--docdi |
--doc |
--do)
979 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
982 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
984 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
987 -enable-* |
--enable-*)
988 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
991 as_fn_error $?
"invalid feature name: $ac_useropt"
992 ac_useropt_orig
=$ac_useropt
993 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994 case $ac_user_opts in
998 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
999 ac_unrecognized_sep
=', ';;
1001 eval enable_
$ac_useropt=\
$ac_optarg ;;
1003 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1004 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1005 |
--exec |
--exe |
--ex)
1006 ac_prev
=exec_prefix
;;
1007 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1008 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1009 |
--exec=* |
--exe=* |
--ex=*)
1010 exec_prefix
=$ac_optarg ;;
1012 -gas |
--gas |
--ga |
--g)
1013 # Obsolete; use --with-gas.
1016 -help |
--help |
--hel |
--he |
-h)
1017 ac_init_help
=long
;;
1018 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1019 ac_init_help
=recursive
;;
1020 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1021 ac_init_help
=short
;;
1023 -host |
--host |
--hos |
--ho)
1024 ac_prev
=host_alias
;;
1025 -host=* |
--host=* |
--hos=* |
--ho=*)
1026 host_alias
=$ac_optarg ;;
1028 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1030 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1032 htmldir
=$ac_optarg ;;
1034 -includedir |
--includedir |
--includedi |
--included |
--include \
1035 |
--includ |
--inclu |
--incl |
--inc)
1036 ac_prev
=includedir
;;
1037 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1038 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1039 includedir
=$ac_optarg ;;
1041 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1043 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1044 infodir
=$ac_optarg ;;
1046 -libdir |
--libdir |
--libdi |
--libd)
1048 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1049 libdir
=$ac_optarg ;;
1051 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1052 |
--libexe |
--libex |
--libe)
1053 ac_prev
=libexecdir
;;
1054 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1055 |
--libexe=* |
--libex=* |
--libe=*)
1056 libexecdir
=$ac_optarg ;;
1058 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1059 ac_prev
=localedir
;;
1060 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1061 localedir
=$ac_optarg ;;
1063 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1064 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1065 ac_prev
=localstatedir
;;
1066 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1067 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1068 localstatedir
=$ac_optarg ;;
1070 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1072 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1073 mandir
=$ac_optarg ;;
1075 -nfp |
--nfp |
--nf)
1076 # Obsolete; use --without-fp.
1079 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1080 |
--no-cr |
--no-c |
-n)
1083 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1084 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1087 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1088 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1089 |
--oldin |
--oldi |
--old |
--ol |
--o)
1090 ac_prev
=oldincludedir
;;
1091 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1092 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1093 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1094 oldincludedir
=$ac_optarg ;;
1096 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1098 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1099 prefix
=$ac_optarg ;;
1101 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1102 |
--program-pre |
--program-pr |
--program-p)
1103 ac_prev
=program_prefix
;;
1104 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1105 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1106 program_prefix
=$ac_optarg ;;
1108 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1109 |
--program-suf |
--program-su |
--program-s)
1110 ac_prev
=program_suffix
;;
1111 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1112 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1113 program_suffix
=$ac_optarg ;;
1115 -program-transform-name |
--program-transform-name \
1116 |
--program-transform-nam |
--program-transform-na \
1117 |
--program-transform-n |
--program-transform- \
1118 |
--program-transform |
--program-transfor \
1119 |
--program-transfo |
--program-transf \
1120 |
--program-trans |
--program-tran \
1121 |
--progr-tra |
--program-tr |
--program-t)
1122 ac_prev
=program_transform_name
;;
1123 -program-transform-name=* |
--program-transform-name=* \
1124 |
--program-transform-nam=* |
--program-transform-na=* \
1125 |
--program-transform-n=* |
--program-transform-=* \
1126 |
--program-transform=* |
--program-transfor=* \
1127 |
--program-transfo=* |
--program-transf=* \
1128 |
--program-trans=* |
--program-tran=* \
1129 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1130 program_transform_name
=$ac_optarg ;;
1132 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1134 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1135 pdfdir
=$ac_optarg ;;
1137 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1139 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1142 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1143 |
-silent |
--silent |
--silen |
--sile |
--sil)
1146 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1148 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1150 sbindir
=$ac_optarg ;;
1152 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1153 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1154 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1156 ac_prev
=sharedstatedir
;;
1157 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1158 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1159 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1161 sharedstatedir
=$ac_optarg ;;
1163 -site |
--site |
--sit)
1165 -site=* |
--site=* |
--sit=*)
1168 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1170 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1171 srcdir
=$ac_optarg ;;
1173 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1174 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1175 ac_prev
=sysconfdir
;;
1176 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1177 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1178 sysconfdir
=$ac_optarg ;;
1180 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1181 ac_prev
=target_alias
;;
1182 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1183 target_alias
=$ac_optarg ;;
1185 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1188 -version |
--version |
--versio |
--versi |
--vers |
-V)
1189 ac_init_version
=: ;;
1192 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1195 as_fn_error $?
"invalid package name: $ac_useropt"
1196 ac_useropt_orig
=$ac_useropt
1197 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1202 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1203 ac_unrecognized_sep
=', ';;
1205 eval with_
$ac_useropt=\
$ac_optarg ;;
1207 -without-* |
--without-*)
1208 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1209 # Reject names that are not valid shell variable names.
1210 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1211 as_fn_error $?
"invalid package name: $ac_useropt"
1212 ac_useropt_orig
=$ac_useropt
1213 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1214 case $ac_user_opts in
1218 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1219 ac_unrecognized_sep
=', ';;
1221 eval with_
$ac_useropt=no
;;
1224 # Obsolete; use --with-x.
1227 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1228 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1229 ac_prev
=x_includes
;;
1230 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1231 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1232 x_includes
=$ac_optarg ;;
1234 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1235 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1236 ac_prev
=x_libraries
;;
1237 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1238 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1239 x_libraries
=$ac_optarg ;;
1241 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1242 Try \`$0 --help' for more information"
1246 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1247 # Reject names that are not valid shell variable names.
1248 case $ac_envvar in #(
1249 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1250 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1252 eval $ac_envvar=\
$ac_optarg
1253 export $ac_envvar ;;
1256 # FIXME: should be removed in autoconf 3.0.
1257 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1258 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1259 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1260 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1266 if test -n "$ac_prev"; then
1267 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1268 as_fn_error $?
"missing argument to $ac_option"
1271 if test -n "$ac_unrecognized_opts"; then
1272 case $enable_option_checking in
1274 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1275 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1279 # Check all directory arguments for consistency.
1280 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1281 datadir sysconfdir sharedstatedir localstatedir includedir \
1282 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1283 libdir localedir mandir
1285 eval ac_val
=\$
$ac_var
1286 # Remove trailing slashes.
1289 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1290 eval $ac_var=\
$ac_val;;
1292 # Be sure to have absolute directory names.
1294 [\\/$
]* | ?
:[\\/]* ) continue;;
1295 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1297 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1300 # There might be people who depend on the old broken behavior: `$host'
1301 # used to hold the argument of --host etc.
1302 # FIXME: To remove some day.
1305 target
=$target_alias
1307 # FIXME: To remove some day.
1308 if test "x$host_alias" != x
; then
1309 if test "x$build_alias" = x
; then
1310 cross_compiling
=maybe
1311 elif test "x$build_alias" != "x$host_alias"; then
1317 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1319 test "$silent" = yes && exec 6>/dev
/null
1322 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1323 ac_ls_di
=`ls -di .` &&
1324 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1325 as_fn_error $?
"working directory cannot be determined"
1326 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1327 as_fn_error $?
"pwd does not report name of working directory"
1330 # Find the source files, if location was not specified.
1331 if test -z "$srcdir"; then
1332 ac_srcdir_defaulted
=yes
1333 # Try the directory containing this script, then the parent directory.
1334 ac_confdir
=`$as_dirname -- "$as_myself" ||
1335 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1336 X"$as_myself" : 'X\(//\)[^/]' \| \
1337 X"$as_myself" : 'X\(//\)$' \| \
1338 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1339 $as_echo X"$as_myself" |
1340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1362 ac_srcdir_defaulted
=no
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1365 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1366 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1368 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1370 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1372 # When building in place, set srcdir=.
1373 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376 # Remove unnecessary trailing slashes from srcdir.
1377 # Double slashes in file names in object file debugging info
1378 # mess up M-x gdb in Emacs.
1380 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 for ac_var
in $ac_precious_vars; do
1383 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1384 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1385 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1386 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1390 # Report the --help message.
1392 if test "$ac_init_help" = "long"; then
1393 # Omit some internal or obsolete options to make the list less imposing.
1394 # This message is too long to be a string in the A/UX 3.1 sh.
1396 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1398 Usage: $0 [OPTION]... [VAR=VALUE]...
1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking ...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416 Installation directories:
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1418 [$ac_default_prefix]
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 By default, \`make install' will install all the files in
1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1429 Fine tuning of the installation directories:
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/libphobos]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1454 --program-prefix=PREFIX prepend PREFIX to installed program names
1455 --program-suffix=SUFFIX append SUFFIX to installed program names
1456 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1459 --build=BUILD configure
for building on BUILD
[guessed
]
1460 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1461 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1465 if test -n "$ac_init_help"; then
1466 case $ac_init_help in
1467 short | recursive
) echo "Configuration of package-unused version-unused:";;
1472 --disable-option-checking ignore unrecognized
--enable/--with options
1473 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1474 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1475 --enable-multilib build many library versions
(default
)
1476 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1477 --disable-silent-rules verbose build output
(undo
: "make V=0")
1478 --enable-maintainer-mode
1479 enable make rules and dependencies not useful
(and
1480 sometimes confusing
) to the casual installer
1481 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1482 --enable-static[=PKGS
] build static libraries
[default
=yes]
1483 --enable-fast-install[=PKGS
]
1484 optimize
for fast installation
[default
=yes]
1485 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1486 --enable-werror turns on
-Werror [default
=no
]
1487 --enable-version-specific-runtime-libs
1488 Specify that runtime libraries should be installed
1489 in a compiler-specific directory
1490 --enable-libphobos Enable libphobos
1491 --enable-libphobos-checking[=LIST
]
1492 enable expensive run-time checks. With LIST
, enable
1493 only specific categories of checks. Categories are
:
1494 yes,no
,all
,none
,release. Flags are
: assert or other
1498 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1499 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1500 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1502 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1503 --with-gcc-major-version-only
1504 use only GCC major number
in filesystem paths
1505 --without-libatomic Do not use libatomic
in core.atomic
(default
: auto
)
1506 --without-libbacktrace Do not use libbacktrace
in core.runtime
(default
:
1508 --with-target-system-zlib={yes,no
,auto
}
1509 use installed libz
(default
: no
)
1510 --with-cross-host=HOST configuring with a cross compiler
1511 --with-toolexeclibdir=DIR
1512 install libraries built with a cross compiler within
1514 --with-libphobos-druntime-only={yes,no
,auto
}
1515 build only the druntime library
(default
: auto
)
1517 Some influential environment variables
:
1518 CC C compiler
command
1519 CFLAGS C compiler flags
1520 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1521 nonstandard directory
<lib dir
>
1522 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1523 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1524 you have headers
in a nonstandard directory
<include dir
>
1526 CCAS assembler compiler
command (defaults to CC
)
1527 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1528 GDC D compiler
command
1529 GDCFLAGS D compiler flags
1531 Use these variables to override the choices made by
`configure' or to help
1532 it to find libraries and programs with nonstandard names/locations.
1534 Report bugs to the package provider.
1539 if test "$ac_init_help" = "recursive"; then
1540 # If there are subdirs, report their specific --help.
1541 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1542 test -d "$ac_dir" ||
1543 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1551 # A ".." for each directory in $ac_dir_suffix.
1552 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1553 case $ac_top_builddir_sub in
1554 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1558 ac_abs_top_builddir=$ac_pwd
1559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1560 # for backward compatibility:
1561 ac_top_builddir=$ac_top_build_prefix
1564 .) # We are building in place.
1566 ac_top_srcdir=$ac_top_builddir_sub
1567 ac_abs_top_srcdir=$ac_pwd ;;
1568 [\\/]* | ?:[\\/]* ) # Absolute name.
1569 ac_srcdir=$srcdir$ac_dir_suffix;
1570 ac_top_srcdir=$srcdir
1571 ac_abs_top_srcdir=$srcdir ;;
1573 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1574 ac_top_srcdir=$ac_top_build_prefix$srcdir
1575 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1579 cd "$ac_dir" || { ac_status=$?; continue; }
1580 # Check for guested configure.
1581 if test -f "$ac_srcdir/configure.gnu"; then
1583 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1584 elif test -f "$ac_srcdir/configure"; then
1586 $SHELL "$ac_srcdir/configure" --help=recursive
1588 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1590 cd "$ac_pwd" || { ac_status=$?; break; }
1594 test -n "$ac_init_help" && exit $ac_status
1595 if $ac_init_version; then
1597 package-unused configure version-unused
1598 generated by GNU Autoconf 2.69
1600 Copyright (C) 2012 Free Software Foundation, Inc.
1601 This configure script is free software; the Free Software Foundation
1602 gives unlimited permission to copy, distribute and modify it.
1607 ## ------------------------ ##
1608 ## Autoconf initialization. ##
1609 ## ------------------------ ##
1611 # ac_fn_c_try_compile LINENO
1612 # --------------------------
1613 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1614 ac_fn_c_try_compile ()
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 rm -f conftest.$ac_objext
1618 if { { ac_try="$ac_compile"
1620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1621 *) ac_try_echo
=$ac_try;;
1623 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_compile") 2>conftest.err
1627 if test -s conftest.err
; then
1628 grep -v '^ *+' conftest.err
>conftest.er1
1629 cat conftest.er1
>&5
1630 mv -f conftest.er1 conftest.err
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } && {
1634 test -z "$ac_c_werror_flag" ||
1635 test ! -s conftest.err
1636 } && test -s conftest.
$ac_objext; then :
1639 $as_echo "$as_me: failed program was:" >&5
1640 sed 's/^/| /' conftest.
$ac_ext >&5
1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645 as_fn_set_status
$ac_retval
1647 } # ac_fn_c_try_compile
1649 # ac_fn_c_try_cpp LINENO
1650 # ----------------------
1651 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1654 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1655 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1658 *) ac_try_echo=$ac_try;;
1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1664 if test -s conftest.err; then
1665 grep -v '^ *+' conftest.err >conftest.er1
1666 cat conftest.er1 >&5
1667 mv -f conftest.er1 conftest.err
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } > conftest.i && {
1671 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1672 test ! -s conftest.err
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.$ac_ext >&5
1681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682 as_fn_set_status $ac_retval
1686 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1687 # -------------------------------------------------------
1688 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1689 # the include files in INCLUDES and setting the cache variable VAR
1691 ac_fn_c_check_header_mongrel ()
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 if eval \${$3+:} false; then :
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; }
1697 if eval \${$3+:} false; then :
1698 $as_echo_n "(cached) " >&6
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1702 $as_echo "$ac_res" >&6; }
1704 # Is the header compilable?
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1706 $as_echo_n "checking $2 usability... " >&6; }
1707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1708 /* end confdefs.h. */
1712 if ac_fn_c_try_compile "$LINENO"; then :
1713 ac_header_compiler=yes
1715 ac_header_compiler=no
1717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1719 $as_echo "$ac_header_compiler" >&6; }
1721 # Is the header present?
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1723 $as_echo_n "checking $2 presence... " >&6; }
1724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1725 /* end confdefs.h. */
1728 if ac_fn_c_try_cpp "$LINENO"; then :
1729 ac_header_preproc=yes
1731 ac_header_preproc=no
1733 rm -f conftest.err conftest.i conftest.$ac_ext
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1735 $as_echo "$ac_header_preproc" >&6; }
1737 # So? What about this header?
1738 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1741 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1743 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1747 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1749 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1751 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1753 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1755 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759 $as_echo_n "checking for $2... " >&6; }
1760 if eval \${$3+:} false; then :
1761 $as_echo_n "(cached) " >&6
1763 eval "$3=\$ac_header_compiler"
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1767 $as_echo "$ac_res" >&6; }
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 } # ac_fn_c_check_header_mongrel
1773 # ac_fn_c_try_run LINENO
1774 # ----------------------
1775 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1776 # that executables *can* be run.
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 if { { ac_try="$ac_link"
1782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1783 *) ac_try_echo
=$ac_try;;
1785 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_link") 2>&5
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1791 { { case "(($ac_try" in
1792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_try") 2>&5
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; }; }; then :
1803 $as_echo "$as_me: program exited with status $ac_status" >&5
1804 $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1807 ac_retval=$ac_status
1809 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1811 as_fn_set_status $ac_retval
1815 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1816 # -------------------------------------------------------
1817 # Tests whether HEADER exists and can be compiled using the include files in
1818 # INCLUDES, setting the cache variable VAR accordingly.
1819 ac_fn_c_check_header_compile ()
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823 $as_echo_n "checking for $2... " >&6; }
1824 if eval \${$3+:} false; then :
1825 $as_echo_n "(cached) " >&6
1827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h. */
1832 if ac_fn_c_try_compile "$LINENO"; then :
1837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841 $as_echo "$ac_res" >&6; }
1842 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1844 } # ac_fn_c_check_header_compile
1846 # ac_fn_d_try_compile LINENO
1847 # --------------------------
1848 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1849 ac_fn_d_try_compile ()
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 rm -f conftest.$ac_objext
1853 if { { ac_try="$ac_compile"
1855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1856 *) ac_try_echo
=$ac_try;;
1858 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859 $as_echo "$ac_try_echo"; } >&5
1860 (eval "$ac_compile") 2>conftest.err
1862 if test -s conftest.err
; then
1863 grep -v '^ *+' conftest.err
>conftest.er1
1864 cat conftest.er1
>&5
1865 mv -f conftest.er1 conftest.err
1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1868 test $ac_status = 0; } && {
1869 test -z "$ac_d_werror_flag" ||
1870 test ! -s conftest.err
1871 } && test -s conftest.
$ac_objext; then :
1874 $as_echo "$as_me: failed program was:" >&5
1875 sed 's/^/| /' conftest.
$ac_ext >&5
1879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1880 as_fn_set_status
$ac_retval
1882 } # ac_fn_d_try_compile
1884 # ac_fn_c_try_link LINENO
1885 # -----------------------
1886 # Try to link conftest.$ac_ext, and return whether this succeeded.
1889 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1890 rm -f conftest.
$ac_objext conftest
$ac_exeext
1891 if { { ac_try
="$ac_link"
1893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1894 *) ac_try_echo=$ac_try;;
1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898 (eval "$ac_link") 2>conftest.err
1900 if test -s conftest.err; then
1901 grep -v '^ *+' conftest.err >conftest.er1
1902 cat conftest.er1 >&5
1903 mv -f conftest.er1 conftest.err
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 test $ac_status = 0; } && {
1907 test -z "$ac_c_werror_flag" ||
1908 test ! -s conftest.err
1909 } && test -s conftest$ac_exeext && {
1910 test "$cross_compiling" = yes ||
1911 test -x conftest$ac_exeext
1915 $as_echo "$as_me: failed program was:" >&5
1916 sed 's/^/| /' conftest.$ac_ext >&5
1920 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1921 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1922 # interfere with the next link command; also delete a directory that is
1923 # left behind by Apple's compiler. We do this before executing the actions.
1924 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 as_fn_set_status $ac_retval
1928 } # ac_fn_c_try_link
1930 # ac_fn_c_check_func LINENO FUNC VAR
1931 # ----------------------------------
1932 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1933 ac_fn_c_check_func ()
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937 $as_echo_n "checking for $2... " >&6; }
1938 if eval \${$3+:} false; then :
1939 $as_echo_n "(cached) " >&6
1941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942 /* end confdefs.h. */
1943 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1945 #define $2 innocuous_$2
1947 /* System header to define __stub macros and hopefully few prototypes,
1948 which can conflict with char $2 (); below.
1949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1950 <limits.h> exists even on freestanding compilers. */
1953 # include <limits.h>
1955 # include <assert.h>
1960 /* Override any GCC internal prototype to avoid an error.
1961 Use char because int might match the return type of a GCC
1962 builtin and then its argument prototype would still apply. */
1967 /* The GNU C library defines this for functions which it implements
1968 to always fail with ENOSYS. Some functions are actually named
1969 something starting with __ and the normal name is an alias. */
1970 #if defined __stub_$2 || defined __stub___$2
1982 if ac_fn_c_try_link "$LINENO"; then :
1987 rm -f core conftest.err conftest.$ac_objext \
1988 conftest$ac_exeext conftest.$ac_ext
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1992 $as_echo "$ac_res" >&6; }
1993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1995 } # ac_fn_c_check_func
1997 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1998 # ----------------------------------------------------
1999 # Tries to find if the field MEMBER exists in type AGGR, after including
2000 # INCLUDES, setting cache variable VAR accordingly.
2001 ac_fn_c_check_member ()
2003 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2005 $as_echo_n "checking for $2.$3... " >&6; }
2006 if eval \${$4+:} false; then :
2007 $as_echo_n "(cached) " >&6
2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2022 if ac_fn_c_try_compile "$LINENO"; then :
2025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2026 /* end confdefs.h. */
2032 if (sizeof ac_aggr.$3)
2038 if ac_fn_c_try_compile "$LINENO"; then :
2043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2049 $as_echo "$ac_res" >&6; }
2050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2052 } # ac_fn_c_check_member
2054 # ac_fn_d_try_link LINENO
2055 # -----------------------
2056 # Try to link conftest.$ac_ext, and return whether this succeeded.
2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060 rm -f conftest.$ac_objext conftest$ac_exeext
2061 if { { ac_try="$ac_link"
2063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2064 *) ac_try_echo
=$ac_try;;
2066 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2067 $as_echo "$ac_try_echo"; } >&5
2068 (eval "$ac_link") 2>conftest.err
2070 if test -s conftest.err
; then
2071 grep -v '^ *+' conftest.err
>conftest.er1
2072 cat conftest.er1
>&5
2073 mv -f conftest.er1 conftest.err
2075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2076 test $ac_status = 0; } && {
2077 test -z "$ac_d_werror_flag" ||
2078 test ! -s conftest.err
2079 } && test -s conftest
$ac_exeext && {
2080 test "$cross_compiling" = yes ||
2081 test -x conftest
$ac_exeext
2085 $as_echo "$as_me: failed program was:" >&5
2086 sed 's/^/| /' conftest.
$ac_ext >&5
2090 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2091 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2092 # interfere with the next link command; also delete a directory that is
2093 # left behind by Apple's compiler. We do this before executing the actions.
2094 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2095 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2096 as_fn_set_status
$ac_retval
2098 } # ac_fn_d_try_link
2099 cat >config.log
<<_ACEOF
2100 This file contains any messages produced by compilers while
2101 running configure, to aid debugging if configure makes a mistake.
2103 It was created by package-unused $as_me version-unused, which was
2104 generated by GNU Autoconf 2.69. Invocation command line was
2116 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2117 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2118 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2119 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2120 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2122 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2123 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2125 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2126 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2127 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2128 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2129 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2130 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2131 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2139 test -z "$as_dir" && as_dir
=.
2140 $as_echo "PATH: $as_dir"
2156 # Keep a trace of the command line.
2157 # Strip out --no-create and --no-recursion so they do not pile up.
2158 # Strip out --silent because we don't want to record it for future runs.
2159 # Also quote any args containing shell meta-characters.
2160 # Make two passes to allow for proper duplicate-argument suppression.
2164 ac_must_keep_next
=false
2170 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2171 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2172 |
-silent |
--silent |
--silen |
--sile |
--sil)
2175 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2178 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2180 as_fn_append ac_configure_args1
" '$ac_arg'"
2181 if test $ac_must_keep_next = true
; then
2182 ac_must_keep_next
=false
# Got value, back to normal.
2185 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2186 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2187 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2188 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2189 case "$ac_configure_args0 " in
2190 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2193 -* ) ac_must_keep_next
=true
;;
2196 as_fn_append ac_configure_args
" '$ac_arg'"
2201 { ac_configure_args0
=; unset ac_configure_args0
;}
2202 { ac_configure_args1
=; unset ac_configure_args1
;}
2204 # When interrupted or exit'd, cleanup temporary files, and complete
2205 # config.log. We remove comments because anyway the quotes in there
2206 # would cause problems or look ugly.
2207 # WARNING: Use '\'' to represent an apostrophe within the trap.
2208 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2209 trap 'exit_status=$?
2210 # Save into config.log some information that might help in debugging.
2214 $as_echo "## ---------------- ##
2215 ## Cache variables. ##
2216 ## ---------------- ##"
2218 # The following way of writing the cache mishandles newlines in values,
2220 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2221 eval ac_val=\$$ac_var
2225 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2229 _ | IFS | as_nl) ;; #(
2230 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2231 *) { eval $ac_var=; unset $ac_var;} ;;
2236 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2237 *${as_nl}ac_space=\ *)
2239 "s/'\''/'\''\\\\'\'''\''/g;
2240 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2243 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2250 $as_echo "## ----------------- ##
2251 ## Output variables. ##
2252 ## ----------------- ##"
2254 for ac_var in $ac_subst_vars
2256 eval ac_val=\$$ac_var
2258 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2260 $as_echo "$ac_var='\''$ac_val'\''"
2264 if test -n "$ac_subst_files"; then
2265 $as_echo "## ------------------- ##
2266 ## File substitutions. ##
2267 ## ------------------- ##"
2269 for ac_var
in $ac_subst_files
2271 eval ac_val
=\$
$ac_var
2273 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2275 $as_echo "$ac_var='\''$ac_val'\''"
2280 if test -s confdefs.h; then
2281 $as_echo "## ----------- ##
2288 test "$ac_signal" != 0 &&
2289 $as_echo "$as_me: caught signal $ac_signal"
2290 $as_echo "$as_me: exit $exit_status"
2292 rm -f core *.core core.conftest.* &&
2293 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2296 for ac_signal
in 1 2 13 15; do
2297 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2301 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2302 rm -f -r conftest
* confdefs.h
2304 $as_echo "/* confdefs.h */" > confdefs.h
2306 # Predefined preprocessor variables.
2308 cat >>confdefs.h
<<_ACEOF
2309 #define PACKAGE_NAME "$PACKAGE_NAME"
2312 cat >>confdefs.h
<<_ACEOF
2313 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2316 cat >>confdefs.h
<<_ACEOF
2317 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2320 cat >>confdefs.h
<<_ACEOF
2321 #define PACKAGE_STRING "$PACKAGE_STRING"
2324 cat >>confdefs.h
<<_ACEOF
2325 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2328 cat >>confdefs.h
<<_ACEOF
2329 #define PACKAGE_URL "$PACKAGE_URL"
2333 # Let the site file select an alternate cache file if it wants to.
2334 # Prefer an explicitly selected file to automatically selected ones.
2337 if test -n "$CONFIG_SITE"; then
2338 # We do not want a PATH search for config.site.
2339 case $CONFIG_SITE in #((
2340 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2341 */*) ac_site_file1
=$CONFIG_SITE;;
2342 *) ac_site_file1
=.
/$CONFIG_SITE;;
2344 elif test "x$prefix" != xNONE
; then
2345 ac_site_file1
=$prefix/share
/config.site
2346 ac_site_file2
=$prefix/etc
/config.site
2348 ac_site_file1
=$ac_default_prefix/share
/config.site
2349 ac_site_file2
=$ac_default_prefix/etc
/config.site
2351 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2353 test "x$ac_site_file" = xNONE
&& continue
2354 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2356 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2357 sed 's/^/| /' "$ac_site_file" >&5
2359 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2361 as_fn_error $?
"failed to load site script $ac_site_file
2362 See \`config.log' for more details" "$LINENO" 5; }
2366 if test -r "$cache_file"; then
2367 # Some versions of bash will fail to source /dev/null (special files
2368 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2369 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2371 $as_echo "$as_me: loading cache $cache_file" >&6;}
2373 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2374 *) .
"./$cache_file";;
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2379 $as_echo "$as_me: creating cache $cache_file" >&6;}
2383 # Check that the precious variables saved in the cache have kept the same
2385 ac_cache_corrupted
=false
2386 for ac_var
in $ac_precious_vars; do
2387 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2388 eval ac_new_set
=\
$ac_env_${ac_var}_set
2389 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2390 eval ac_new_val
=\
$ac_env_${ac_var}_value
2391 case $ac_old_set,$ac_new_set in
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2394 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2395 ac_cache_corrupted
=: ;;
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2398 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2399 ac_cache_corrupted
=: ;;
2402 if test "x$ac_old_val" != "x$ac_new_val"; then
2403 # differences in whitespace do not lead to failure.
2404 ac_old_val_w
=`echo x $ac_old_val`
2405 ac_new_val_w
=`echo x $ac_new_val`
2406 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2408 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2409 ac_cache_corrupted
=:
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2412 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2413 eval $ac_var=\
$ac_old_val
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2416 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2418 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2421 # Pass precious variables to config.status.
2422 if test "$ac_new_set" = set; then
2424 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2425 *) ac_arg
=$ac_var=$ac_new_val ;;
2427 case " $ac_configure_args " in
2428 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2429 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2433 if $ac_cache_corrupted; then
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2437 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2438 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2440 ## -------------------- ##
2441 ## Main body of script. ##
2442 ## -------------------- ##
2445 ac_cpp
='$CPP $CPPFLAGS'
2446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2455 ac_config_headers
="$ac_config_headers config.h"
2458 # Default to --enable-multilib
2459 # Check whether --enable-multilib was given.
2460 if test "${enable_multilib+set}" = set; then :
2461 enableval
=$enable_multilib; case "$enableval" in
2462 yes) multilib
=yes ;;
2464 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2471 # We may get other options which we leave undocumented:
2472 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2473 # See config-ml.in if you want the gory details.
2475 if test "$srcdir" = "."; then
2476 if test "$with_target_subdir" != "."; then
2477 multi_basedir
="$srcdir/$with_multisrctop../.."
2479 multi_basedir
="$srcdir/$with_multisrctop.."
2482 multi_basedir
="$srcdir/.."
2486 # Even if the default multilib is not a cross compilation,
2487 # it may be that some of the other multilibs are.
2488 if test $cross_compiling = no
&& test $multilib = yes \
2489 && test "x${with_multisubdir}" != x
; then
2490 cross_compiling
=maybe
2493 ac_config_commands
="$ac_config_commands default-1"
2496 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2497 if test -f "$ac_dir/install-sh"; then
2499 ac_install_sh
="$ac_aux_dir/install-sh -c"
2501 elif test -f "$ac_dir/install.sh"; then
2503 ac_install_sh
="$ac_aux_dir/install.sh -c"
2505 elif test -f "$ac_dir/shtool"; then
2507 ac_install_sh
="$ac_aux_dir/shtool install -c"
2511 if test -z "$ac_aux_dir"; then
2512 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2515 # These three variables are undocumented and unsupported,
2516 # and are intended to be withdrawn in a future Autoconf release.
2517 # They can cause serious problems if a builder's source tree is in a directory
2518 # whose full name contains unusual characters.
2519 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2520 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2521 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2524 # Make sure we can run config.sub.
2525 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2526 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2529 $as_echo_n "checking build system type... " >&6; }
2530 if ${ac_cv_build+:} false
; then :
2531 $as_echo_n "(cached) " >&6
2533 ac_build_alias
=$build_alias
2534 test "x$ac_build_alias" = x
&&
2535 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2536 test "x$ac_build_alias" = x
&&
2537 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2538 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2539 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2543 $as_echo "$ac_cv_build" >&6; }
2544 case $ac_cv_build in
2546 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2549 ac_save_IFS
=$IFS; IFS
='-'
2555 # Remember, the first character of IFS is used to create $*,
2556 # except with old shells:
2559 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2563 $as_echo_n "checking host system type... " >&6; }
2564 if ${ac_cv_host+:} false
; then :
2565 $as_echo_n "(cached) " >&6
2567 if test "x$host_alias" = x
; then
2568 ac_cv_host
=$ac_cv_build
2570 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2571 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2576 $as_echo "$ac_cv_host" >&6; }
2579 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2582 ac_save_IFS
=$IFS; IFS
='-'
2588 # Remember, the first character of IFS is used to create $*,
2589 # except with old shells:
2592 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2596 $as_echo_n "checking target system type... " >&6; }
2597 if ${ac_cv_target+:} false
; then :
2598 $as_echo_n "(cached) " >&6
2600 if test "x$target_alias" = x
; then
2601 ac_cv_target
=$ac_cv_host
2603 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2604 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2609 $as_echo "$ac_cv_target" >&6; }
2610 case $ac_cv_target in
2612 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2614 target
=$ac_cv_target
2615 ac_save_IFS
=$IFS; IFS
='-'
2621 # Remember, the first character of IFS is used to create $*,
2622 # except with old shells:
2625 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2628 # The aliases save the names the user supplied, while $host etc.
2629 # will get canonicalized.
2630 test -n "$target_alias" &&
2631 test "$program_prefix$program_suffix$program_transform_name" = \
2633 program_prefix
=${target_alias}-
2635 # Expand $ac_aux_dir to an absolute path.
2636 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2639 ac_cpp
='$CPP $CPPFLAGS'
2640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2643 if test -n "$ac_tool_prefix"; then
2644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2645 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647 $as_echo_n "checking for $ac_word... " >&6; }
2648 if ${ac_cv_prog_CC+:} false
; then :
2649 $as_echo_n "(cached) " >&6
2651 if test -n "$CC"; then
2652 ac_cv_prog_CC
="$CC" # Let the user override the test.
2654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir
=.
2659 for ac_exec_ext
in '' $ac_executable_extensions; do
2660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2661 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 if test -n "$CC"; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2674 $as_echo "$CC" >&6; }
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677 $as_echo "no" >&6; }
2682 if test -z "$ac_cv_prog_CC"; then
2684 # Extract the first word of "gcc", so it can be a program name with args.
2685 set dummy gcc
; ac_word
=$2
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687 $as_echo_n "checking for $ac_word... " >&6; }
2688 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2689 $as_echo_n "(cached) " >&6
2691 if test -n "$ac_ct_CC"; then
2692 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2698 test -z "$as_dir" && as_dir
=.
2699 for ac_exec_ext
in '' $ac_executable_extensions; do
2700 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2701 ac_cv_prog_ac_ct_CC
="gcc"
2702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2712 if test -n "$ac_ct_CC"; then
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2714 $as_echo "$ac_ct_CC" >&6; }
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2717 $as_echo "no" >&6; }
2720 if test "x$ac_ct_CC" = x
; then
2723 case $cross_compiling:$ac_tool_warned in
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2727 ac_tool_warned
=yes ;;
2735 if test -z "$CC"; then
2736 if test -n "$ac_tool_prefix"; then
2737 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2738 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2740 $as_echo_n "checking for $ac_word... " >&6; }
2741 if ${ac_cv_prog_CC+:} false
; then :
2742 $as_echo_n "(cached) " >&6
2744 if test -n "$CC"; then
2745 ac_cv_prog_CC
="$CC" # Let the user override the test.
2747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2751 test -z "$as_dir" && as_dir
=.
2752 for ac_exec_ext
in '' $ac_executable_extensions; do
2753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2754 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 if test -n "$CC"; then
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2767 $as_echo "$CC" >&6; }
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2770 $as_echo "no" >&6; }
2776 if test -z "$CC"; then
2777 # Extract the first word of "cc", so it can be a program name with args.
2778 set dummy cc
; ac_word
=$2
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2780 $as_echo_n "checking for $ac_word... " >&6; }
2781 if ${ac_cv_prog_CC+:} false
; then :
2782 $as_echo_n "(cached) " >&6
2784 if test -n "$CC"; then
2785 ac_cv_prog_CC
="$CC" # Let the user override the test.
2788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir
=.
2793 for ac_exec_ext
in '' $ac_executable_extensions; do
2794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2796 ac_prog_rejected
=yes
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 if test $ac_prog_rejected = yes; then
2808 # We found a bogon in the path, so make sure we never use it.
2809 set dummy
$ac_cv_prog_CC
2811 if test $# != 0; then
2812 # We chose a different compiler from the bogus one.
2813 # However, it has the same basename, so the bogon will be chosen
2814 # first if we set CC to just the basename; use the full file name.
2816 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2822 if test -n "$CC"; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2824 $as_echo "$CC" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2832 if test -z "$CC"; then
2833 if test -n "$ac_tool_prefix"; then
2834 for ac_prog
in cl.exe
2836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2837 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2839 $as_echo_n "checking for $ac_word... " >&6; }
2840 if ${ac_cv_prog_CC+:} false
; then :
2841 $as_echo_n "(cached) " >&6
2843 if test -n "$CC"; then
2844 ac_cv_prog_CC
="$CC" # Let the user override the test.
2846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2850 test -z "$as_dir" && as_dir
=.
2851 for ac_exec_ext
in '' $ac_executable_extensions; do
2852 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2853 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 if test -n "$CC"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2866 $as_echo "$CC" >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869 $as_echo "no" >&6; }
2873 test -n "$CC" && break
2876 if test -z "$CC"; then
2878 for ac_prog
in cl.exe
2880 # Extract the first word of "$ac_prog", so it can be a program name with args.
2881 set dummy
$ac_prog; ac_word
=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$ac_ct_CC"; then
2888 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir
=.
2895 for ac_exec_ext
in '' $ac_executable_extensions; do
2896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2897 ac_cv_prog_ac_ct_CC
="$ac_prog"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2908 if test -n "$ac_ct_CC"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2910 $as_echo "$ac_ct_CC" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2917 test -n "$ac_ct_CC" && break
2920 if test "x$ac_ct_CC" = x
; then
2923 case $cross_compiling:$ac_tool_warned in
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2927 ac_tool_warned
=yes ;;
2936 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2938 as_fn_error $?
"no acceptable C compiler found in \$PATH
2939 See \`config.log' for more details" "$LINENO" 5; }
2941 # Provide some information about the compiler.
2942 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2945 for ac_option
in --version -v -V -qversion; do
2946 { { ac_try
="$ac_compiler $ac_option >&5"
2948 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2952 $as_echo "$ac_try_echo"; } >&5
2953 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2955 if test -s conftest.err; then
2957 ... rest of stderr output deleted ...
2958 10q' conftest.err >conftest.er1
2959 cat conftest.er1 >&5
2961 rm -f conftest.er1 conftest.err
2962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2963 test $ac_status = 0; }
2966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967 /* end confdefs.h. */
2977 ac_clean_files_save=$ac_clean_files
2978 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2979 # Try to create an executable without -o first, disregard a.out.
2980 # It will help us diagnose broken compilers, and finding out an intuition
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2983 $as_echo_n "checking whether the C compiler works... " >&6; }
2984 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2986 # The possible output files:
2987 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2990 for ac_file in $ac_files
2993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2994 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2999 if { { ac_try="$ac_link_default"
3001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3002 *) ac_try_echo
=$ac_try;;
3004 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3005 $as_echo "$ac_try_echo"; } >&5
3006 (eval "$ac_link_default") 2>&5
3008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3009 test $ac_status = 0; }; then :
3010 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3011 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3012 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3013 # so that the user can short-circuit this test for compilers unknown to
3015 for ac_file
in $ac_files ''
3017 test -f "$ac_file" ||
continue
3019 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3022 # We found the default executable, but exeext='' is most
3026 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3028 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3030 # We set ac_cv_exeext here because the later test for it is not
3031 # safe: cross compilers may not add the suffix if given an `-o'
3032 # argument, so we may need to know it at that point already.
3033 # Even if this section looks crufty: it has the advantage of
3040 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3045 if test -z "$ac_file"; then :
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047 $as_echo "no" >&6; }
3048 $as_echo "$as_me: failed program was:" >&5
3049 sed 's/^/| /' conftest.
$ac_ext >&5
3051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3053 as_fn_error
77 "C compiler cannot create executables
3054 See \`config.log' for more details" "$LINENO" 5; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3057 $as_echo "yes" >&6; }
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3060 $as_echo_n "checking for C compiler default output file name... " >&6; }
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3062 $as_echo "$ac_file" >&6; }
3063 ac_exeext
=$ac_cv_exeext
3065 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3066 ac_clean_files
=$ac_clean_files_save
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3068 $as_echo_n "checking for suffix of executables... " >&6; }
3069 if { { ac_try
="$ac_link"
3071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_link") 2>&5
3078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079 test $ac_status = 0; }; then :
3080 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3081 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3082 # work properly (i.e., refer to `conftest.exe'), while it won't with
3084 for ac_file
in conftest.exe conftest conftest.
*; do
3085 test -f "$ac_file" ||
continue
3087 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3088 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3096 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3097 See \`config.log' for more details" "$LINENO" 5; }
3099 rm -f conftest conftest
$ac_cv_exeext
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3101 $as_echo "$ac_cv_exeext" >&6; }
3103 rm -f conftest.
$ac_ext
3104 EXEEXT
=$ac_cv_exeext
3106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3112 FILE *f = fopen ("conftest.out", "w");
3113 return ferror (f) || fclose (f) != 0;
3119 ac_clean_files
="$ac_clean_files conftest.out"
3120 # Check that the compiler produces executables we can run. If not, either
3121 # the compiler is broken, or we cross compile.
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3123 $as_echo_n "checking whether we are cross compiling... " >&6; }
3124 if test "$cross_compiling" != yes; then
3125 { { ac_try
="$ac_link"
3127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3131 $as_echo "$ac_try_echo"; } >&5
3132 (eval "$ac_link") 2>&5
3134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3135 test $ac_status = 0; }
3136 if { ac_try='./conftest$ac_cv_exeext'
3137 { { case "(($ac_try" in
3138 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3139 *) ac_try_echo
=$ac_try;;
3141 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3142 $as_echo "$ac_try_echo"; } >&5
3143 (eval "$ac_try") 2>&5
3145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3146 test $ac_status = 0; }; }; then
3149 if test "$cross_compiling" = maybe
; then
3152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3154 as_fn_error $?
"cannot run C compiled programs.
3155 If you meant to cross compile, use \`--host'.
3156 See \`config.log' for more details" "$LINENO" 5; }
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3161 $as_echo "$cross_compiling" >&6; }
3163 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3164 ac_clean_files
=$ac_clean_files_save
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3166 $as_echo_n "checking for suffix of object files... " >&6; }
3167 if ${ac_cv_objext+:} false
; then :
3168 $as_echo_n "(cached) " >&6
3170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3171 /* end confdefs.h. */
3181 rm -f conftest.o conftest.obj
3182 if { { ac_try
="$ac_compile"
3184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3188 $as_echo "$ac_try_echo"; } >&5
3189 (eval "$ac_compile") 2>&5
3191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3192 test $ac_status = 0; }; then :
3193 for ac_file in conftest.o conftest.obj conftest.*; do
3194 test -f "$ac_file" || continue;
3196 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3197 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3202 $as_echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3207 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3208 See \
`config.log' for more details" "$LINENO" 5; }
3210 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3213 $as_echo "$ac_cv_objext" >&6; }
3214 OBJEXT=$ac_cv_objext
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3217 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3218 if ${ac_cv_c_compiler_gnu+:} false; then :
3219 $as_echo_n "(cached) " >&6
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3235 if ac_fn_c_try_compile "$LINENO"; then :
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3245 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3246 if test $ac_compiler_gnu = yes; then
3251 ac_test_CFLAGS=${CFLAGS+set}
3252 ac_save_CFLAGS=$CFLAGS
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3254 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3255 if ${ac_cv_prog_cc_g+:} false; then :
3256 $as_echo_n "(cached) " >&6
3258 ac_save_c_werror_flag=$ac_c_werror_flag
3259 ac_c_werror_flag=yes
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3273 if ac_fn_c_try_compile "$LINENO"; then :
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3288 if ac_fn_c_try_compile "$LINENO"; then :
3291 ac_c_werror_flag=$ac_save_c_werror_flag
3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3294 /* end confdefs.h. */
3304 if ac_fn_c_try_compile "$LINENO"; then :
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 ac_c_werror_flag=$ac_save_c_werror_flag
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3315 $as_echo "$ac_cv_prog_cc_g" >&6; }
3316 if test "$ac_test_CFLAGS" = set; then
3317 CFLAGS=$ac_save_CFLAGS
3318 elif test $ac_cv_prog_cc_g = yes; then
3319 if test "$GCC" = yes; then
3325 if test "$GCC" = yes; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3332 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3333 if ${ac_cv_prog_cc_c89+:} false; then :
3334 $as_echo_n "(cached) " >&6
3336 ac_cv_prog_cc_c89=no
3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339 /* end confdefs.h. */
3343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3344 struct buf { int x; };
3345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3346 static char *e (p, i)
3352 static char *f (char * (*g) (char **, int), char **p, ...)
3357 s = g (p, va_arg (v,int));
3362 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3363 function prototypes and stuff, but not '\xHH' hex character constants.
3364 These don't provoke an error unfortunately, instead are silently treated
3365 as 'x'. The following induces an error, until -std is added to get
3366 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3367 array size at least. It's necessary to write '\x00'==0 to get something
3368 that's true only with -std. */
3369 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3371 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3372 inside strings and character constants. */
3374 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3376 int test (int i, double x);
3377 struct s1 {int (*f) (int a);};
3378 struct s2 {int (*f) (double a);};
3379 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3385 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3390 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3391 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3393 CC="$ac_save_CC $ac_arg"
3394 if ac_fn_c_try_compile "$LINENO"; then :
3395 ac_cv_prog_cc_c89=$ac_arg
3397 rm -f core conftest.err conftest.$ac_objext
3398 test "x$ac_cv_prog_cc_c89" != "xno" && break
3400 rm -f conftest.$ac_ext
3405 case "x$ac_cv_prog_cc_c89" in
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3408 $as_echo "none needed" >&6; } ;;
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3411 $as_echo "unsupported" >&6; } ;;
3413 CC="$CC $ac_cv_prog_cc_c89"
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3415 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3417 if test "x$ac_cv_prog_cc_c89" != xno; then :
3422 ac_cpp='$CPP $CPPFLAGS'
3423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3428 ac_cpp='$CPP $CPPFLAGS'
3429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3433 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3434 if ${am_cv_prog_cc_c_o+:} false; then :
3435 $as_echo_n "(cached) " >&6
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3448 # Make sure it works both with $CC and with simple cc.
3449 # Following AC_PROG_CC_C_O, we do the test twice because some
3450 # compilers refuse to overwrite an existing .o file with -o,
3451 # though they will create one.
3452 am_cv_prog_cc_c_o=yes
3454 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3455 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); } \
3459 && test -f conftest2.$ac_objext; then
3462 am_cv_prog_cc_c_o=no
3466 rm -f core conftest*
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3470 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3471 if test "$am_cv_prog_cc_c_o" != yes; then
3472 # Losing compiler, so override with the script.
3473 # FIXME: It is wrong to rewrite CC.
3474 # But if we don't then we get into trouble of one sort or another.
3475 # A longer-term fix would be to have automake use am__CC in this case,
3476 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3477 CC="$am_aux_dir/compile $CC"
3480 ac_cpp='$CPP $CPPFLAGS'
3481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3488 ac_cpp='$CPP $CPPFLAGS'
3489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3493 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3494 # On Suns, sometimes $CPP names a directory.
3495 if test -n "$CPP" && test -d "$CPP"; then
3498 if test -z "$CPP"; then
3499 if ${ac_cv_prog_CPP+:} false; then :
3500 $as_echo_n "(cached) " >&6
3502 # Double quotes because CPP needs to be expanded
3503 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3506 for ac_c_preproc_warn_flag in '' yes
3508 # Use a header file that comes with gcc, so configuring glibc
3509 # with a fresh cross-compiler works.
3510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3511 # <limits.h> exists even on freestanding compilers.
3512 # On the NeXT, cc -E runs the code through the compiler's parser,
3513 # not just through cpp. "Syntax error" is here to catch this case.
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3517 # include <limits.h>
3519 # include <assert.h>
3523 if ac_fn_c_try_cpp "$LINENO"; then :
3526 # Broken: fails on valid input.
3529 rm -f conftest.err conftest.i conftest.$ac_ext
3531 # OK, works on sane cases. Now check whether nonexistent headers
3532 # can be detected and how.
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3535 #include <ac_nonexistent.h>
3537 if ac_fn_c_try_cpp "$LINENO"; then :
3538 # Broken: success on invalid input.
3541 # Passes both tests.
3545 rm -f conftest.err conftest.i conftest.$ac_ext
3548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3549 rm -f conftest.i conftest.err conftest.
$ac_ext
3550 if $ac_preproc_ok; then :
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3563 $as_echo "$CPP" >&6; }
3565 for ac_c_preproc_warn_flag
in '' yes
3567 # Use a header file that comes with gcc, so configuring glibc
3568 # with a fresh cross-compiler works.
3569 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3570 # <limits.h> exists even on freestanding compilers.
3571 # On the NeXT, cc -E runs the code through the compiler's parser,
3572 # not just through cpp. "Syntax error" is here to catch this case.
3573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3576 # include <limits.h>
3578 # include <assert.h>
3582 if ac_fn_c_try_cpp
"$LINENO"; then :
3585 # Broken: fails on valid input.
3588 rm -f conftest.err conftest.i conftest.
$ac_ext
3590 # OK, works on sane cases. Now check whether nonexistent headers
3591 # can be detected and how.
3592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3594 #include <ac_nonexistent.h>
3596 if ac_fn_c_try_cpp
"$LINENO"; then :
3597 # Broken: success on invalid input.
3600 # Passes both tests.
3604 rm -f conftest.err conftest.i conftest.
$ac_ext
3607 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3608 rm -f conftest.i conftest.err conftest.
$ac_ext
3609 if $ac_preproc_ok; then :
3612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3614 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3615 See \`config.log' for more details" "$LINENO" 5; }
3619 ac_cpp
='$CPP $CPPFLAGS'
3620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3626 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3627 if ${ac_cv_path_GREP+:} false
; then :
3628 $as_echo_n "(cached) " >&6
3630 if test -z "$GREP"; then
3631 ac_path_GREP_found
=false
3632 # Loop through the user's path and test for each of PROGNAME-LIST
3633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3634 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3637 test -z "$as_dir" && as_dir
=.
3638 for ac_prog
in grep ggrep
; do
3639 for ac_exec_ext
in '' $ac_executable_extensions; do
3640 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3641 as_fn_executable_p
"$ac_path_GREP" ||
continue
3642 # Check for GNU ac_path_GREP and select it if it is found.
3643 # Check for GNU $ac_path_GREP
3644 case `"$ac_path_GREP" --version 2>&1` in
3646 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3649 $as_echo_n 0123456789 >"conftest.in"
3652 cat "conftest.in" "conftest.in" >"conftest.tmp"
3653 mv "conftest.tmp" "conftest.in"
3654 cp "conftest.in" "conftest.nl"
3655 $as_echo 'GREP' >> "conftest.nl"
3656 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3657 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3658 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3659 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3660 # Best one so far, save it but keep looking for a better one
3661 ac_cv_path_GREP
="$ac_path_GREP"
3662 ac_path_GREP_max
=$ac_count
3664 # 10*(2^10) chars as input seems more than enough
3665 test $ac_count -gt 10 && break
3667 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3670 $ac_path_GREP_found && break 3
3675 if test -z "$ac_cv_path_GREP"; then
3676 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3679 ac_cv_path_GREP
=$GREP
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3684 $as_echo "$ac_cv_path_GREP" >&6; }
3685 GREP
="$ac_cv_path_GREP"
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3689 $as_echo_n "checking for egrep... " >&6; }
3690 if ${ac_cv_path_EGREP+:} false
; then :
3691 $as_echo_n "(cached) " >&6
3693 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3694 then ac_cv_path_EGREP
="$GREP -E"
3696 if test -z "$EGREP"; then
3697 ac_path_EGREP_found
=false
3698 # Loop through the user's path and test for each of PROGNAME-LIST
3699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3700 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3703 test -z "$as_dir" && as_dir
=.
3704 for ac_prog
in egrep; do
3705 for ac_exec_ext
in '' $ac_executable_extensions; do
3706 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3707 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3708 # Check for GNU ac_path_EGREP and select it if it is found.
3709 # Check for GNU $ac_path_EGREP
3710 case `"$ac_path_EGREP" --version 2>&1` in
3712 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3715 $as_echo_n 0123456789 >"conftest.in"
3718 cat "conftest.in" "conftest.in" >"conftest.tmp"
3719 mv "conftest.tmp" "conftest.in"
3720 cp "conftest.in" "conftest.nl"
3721 $as_echo 'EGREP' >> "conftest.nl"
3722 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3723 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3724 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3725 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3726 # Best one so far, save it but keep looking for a better one
3727 ac_cv_path_EGREP
="$ac_path_EGREP"
3728 ac_path_EGREP_max
=$ac_count
3730 # 10*(2^10) chars as input seems more than enough
3731 test $ac_count -gt 10 && break
3733 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3736 $ac_path_EGREP_found && break 3
3741 if test -z "$ac_cv_path_EGREP"; then
3742 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3745 ac_cv_path_EGREP
=$EGREP
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3751 $as_echo "$ac_cv_path_EGREP" >&6; }
3752 EGREP
="$ac_cv_path_EGREP"
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3756 $as_echo_n "checking for ANSI C header files... " >&6; }
3757 if ${ac_cv_header_stdc+:} false
; then :
3758 $as_echo_n "(cached) " >&6
3760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3761 /* end confdefs.h. */
3775 if ac_fn_c_try_compile
"$LINENO"; then :
3776 ac_cv_header_stdc
=yes
3778 ac_cv_header_stdc
=no
3780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3782 if test $ac_cv_header_stdc = yes; then
3783 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3785 /* end confdefs.h. */
3789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3790 $EGREP "memchr" >/dev
/null
2>&1; then :
3793 ac_cv_header_stdc
=no
3799 if test $ac_cv_header_stdc = yes; then
3800 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h. */
3806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3807 $EGREP "free" >/dev
/null
2>&1; then :
3810 ac_cv_header_stdc
=no
3816 if test $ac_cv_header_stdc = yes; then
3817 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3818 if test "$cross_compiling" = yes; then :
3821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3825 #if ((' ' & 0x0FF) == 0x020)
3826 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3827 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3829 # define ISLOWER(c) \
3830 (('a' <= (c) && (c) <= 'i') \
3831 || ('j' <= (c) && (c) <= 'r') \
3832 || ('s' <= (c) && (c) <= 'z'))
3833 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3836 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3841 for (i = 0; i < 256; i++)
3842 if (XOR (islower (i), ISLOWER (i))
3843 || toupper (i) != TOUPPER (i))
3848 if ac_fn_c_try_run
"$LINENO"; then :
3851 ac_cv_header_stdc
=no
3853 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3854 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3860 $as_echo "$ac_cv_header_stdc" >&6; }
3861 if test $ac_cv_header_stdc = yes; then
3863 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3867 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3868 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3869 inttypes.h stdint.h unistd.h
3871 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3872 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3874 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3875 cat >>confdefs.h
<<_ACEOF
3876 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3885 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3886 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3893 if test "$MINIX" = yes; then
3895 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3898 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3901 $as_echo "#define _MINIX 1" >>confdefs.h
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3907 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3908 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3909 $as_echo_n "(cached) " >&6
3911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3914 # define __EXTENSIONS__ 1
3915 $ac_includes_default
3924 if ac_fn_c_try_compile
"$LINENO"; then :
3925 ac_cv_safe_to_define___extensions__
=yes
3927 ac_cv_safe_to_define___extensions__
=no
3929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3932 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3933 test $ac_cv_safe_to_define___extensions__ = yes &&
3934 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3936 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3938 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3940 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3942 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3946 target_alias
=${target_alias-$target}
3949 # 1.11.1: Require that version of automake.
3950 # foreign: Don't require README, INSTALL, NEWS, etc.
3951 # no-define: Don't define PACKAGE and VERSION.
3952 # no-dependencies: Don't generate automatic dependencies.
3953 # (because it breaks when using bootstrap-lean, since some of the
3954 # headers are gone at "make install" time).
3955 # subdir-objects: Build objects in sub-directories.
3956 # -Wall: Issue all automake warnings.
3957 # -Wno-portability: Don't warn about constructs supported by GNU make.
3958 # (because GCC requires GNU make anyhow).
3959 # -Wno-override: Overrides used in testsuite.
3960 am__api_version
='1.15'
3962 # Find a good install program. We prefer a C program (faster),
3963 # so one script is as good as another. But avoid the broken or
3964 # incompatible versions:
3965 # SysV /etc/install, /usr/sbin/install
3966 # SunOS /usr/etc/install
3967 # IRIX /sbin/install
3969 # AmigaOS /C/install, which installs bootblocks on floppy discs
3970 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3971 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3972 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3973 # OS/2's system install, which has a completely different semantic
3974 # ./install, which can be erroneously created by make from ./install.sh.
3975 # Reject install programs that cannot install multiple files.
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3977 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3978 if test -z "$INSTALL"; then
3979 if ${ac_cv_path_install+:} false
; then :
3980 $as_echo_n "(cached) " >&6
3982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3986 test -z "$as_dir" && as_dir
=.
3987 # Account for people who put trailing slashes in PATH elements.
3988 case $as_dir/ in #((
3989 .
/ | .
// |
/[cC
]/* | \
3990 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3991 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3994 # OSF1 and SCO ODT 3.0 have their own names for install.
3995 # Don't use installbsd from OSF since it installs stuff as root
3997 for ac_prog
in ginstall scoinst
install; do
3998 for ac_exec_ext
in '' $ac_executable_extensions; do
3999 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4000 if test $ac_prog = install &&
4001 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4002 # AIX install. It has an incompatible calling convention.
4004 elif test $ac_prog = install &&
4005 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4006 # program-specific install script used by HP pwplus--don't use.
4009 rm -rf conftest.one conftest.two conftest.dir
4010 echo one
> conftest.one
4011 echo two
> conftest.two
4013 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4014 test -s conftest.one
&& test -s conftest.two
&&
4015 test -s conftest.dir
/conftest.one
&&
4016 test -s conftest.dir
/conftest.two
4018 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4031 rm -rf conftest.one conftest.two conftest.dir
4034 if test "${ac_cv_path_install+set}" = set; then
4035 INSTALL
=$ac_cv_path_install
4037 # As a last resort, use the slow shell script. Don't cache a
4038 # value for INSTALL within a source directory, because that will
4039 # break other packages using the cache if that directory is
4040 # removed, or if the value is a relative name.
4041 INSTALL
=$ac_install_sh
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4045 $as_echo "$INSTALL" >&6; }
4047 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4048 # It thinks the first close brace ends the variable substitution.
4049 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4051 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4053 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4056 $as_echo_n "checking whether build environment is sane... " >&6; }
4057 # Reject unsafe characters in $srcdir or the absolute working directory
4058 # name. Accept space and tab only in the latter.
4062 *[\\\"\
#\$\&\'\`$am_lf]*)
4063 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4066 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4067 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4070 # Do 'set' in a subshell so we don't clobber the current shell's
4071 # arguments. Must try -L first in case configure is actually a
4072 # symlink; some systems play weird games with the mod time of symlinks
4073 # (eg FreeBSD returns the mod time of the symlink's containing
4077 for am_try
in 1 2; do
4078 echo "timestamp, slept: $am_has_slept" > conftest.
file
4079 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4080 if test "$*" = "X"; then
4082 set X
`ls -t "$srcdir/configure" conftest.file`
4084 if test "$*" != "X $srcdir/configure conftest.file" \
4085 && test "$*" != "X conftest.file $srcdir/configure"; then
4087 # If neither matched, then we have a broken ls. This can happen
4088 # if, for instance, CONFIG_SHELL is bash and it inherits a
4089 # broken ls alias from the environment. This has actually
4090 # happened. Such a system could not be considered "sane".
4091 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4092 alias in your environment" "$LINENO" 5
4094 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4101 test "$2" = conftest.
file
4107 as_fn_error $?
"newly created file is older than distributed files!
4108 Check your system clock" "$LINENO" 5
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4111 $as_echo "yes" >&6; }
4112 # If we didn't sleep, we still need to ensure time stamps of config.status and
4113 # generated files are strictly newer.
4115 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4122 test "$program_prefix" != NONE
&&
4123 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4124 # Use a double $ so make ignores it.
4125 test "$program_suffix" != NONE
&&
4126 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4127 # Double any \ or $.
4128 # By default was `s,x,x', remove it if useless.
4129 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4130 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4132 if test x
"${MISSING+set}" != xset
; then
4135 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4137 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4140 # Use eval to expand $SHELL
4141 if eval "$MISSING --is-lightweight"; then
4142 am_missing_run
="$MISSING "
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4146 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4149 if test x
"${install_sh+set}" != xset
; then
4152 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4154 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4158 # Installed binaries are usually stripped using 'strip' when the user
4159 # run "make install-strip". However 'strip' might not be the right
4160 # tool to use in cross-compilation environments, therefore Automake
4161 # will honor the 'STRIP' environment variable to overrule this program.
4162 if test "$cross_compiling" != no
; then
4163 if test -n "$ac_tool_prefix"; then
4164 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4165 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4167 $as_echo_n "checking for $ac_word... " >&6; }
4168 if ${ac_cv_prog_STRIP+:} false
; then :
4169 $as_echo_n "(cached) " >&6
4171 if test -n "$STRIP"; then
4172 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4178 test -z "$as_dir" && as_dir
=.
4179 for ac_exec_ext
in '' $ac_executable_extensions; do
4180 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4181 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4191 STRIP
=$ac_cv_prog_STRIP
4192 if test -n "$STRIP"; then
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4194 $as_echo "$STRIP" >&6; }
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4197 $as_echo "no" >&6; }
4202 if test -z "$ac_cv_prog_STRIP"; then
4204 # Extract the first word of "strip", so it can be a program name with args.
4205 set dummy strip
; ac_word
=$2
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4207 $as_echo_n "checking for $ac_word... " >&6; }
4208 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4209 $as_echo_n "(cached) " >&6
4211 if test -n "$ac_ct_STRIP"; then
4212 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4218 test -z "$as_dir" && as_dir
=.
4219 for ac_exec_ext
in '' $ac_executable_extensions; do
4220 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4221 ac_cv_prog_ac_ct_STRIP
="strip"
4222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4231 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4232 if test -n "$ac_ct_STRIP"; then
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4234 $as_echo "$ac_ct_STRIP" >&6; }
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4237 $as_echo "no" >&6; }
4240 if test "x$ac_ct_STRIP" = x
; then
4243 case $cross_compiling:$ac_tool_warned in
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4247 ac_tool_warned
=yes ;;
4252 STRIP
="$ac_cv_prog_STRIP"
4256 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4259 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4260 if test -z "$MKDIR_P"; then
4261 if ${ac_cv_path_mkdir+:} false
; then :
4262 $as_echo_n "(cached) " >&6
4264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4265 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4268 test -z "$as_dir" && as_dir
=.
4269 for ac_prog
in mkdir gmkdir
; do
4270 for ac_exec_ext
in '' $ac_executable_extensions; do
4271 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4272 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4273 'mkdir (GNU coreutils) '* | \
4274 'mkdir (coreutils) '* | \
4275 'mkdir (fileutils) '4.1*)
4276 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4286 test -d .
/--version && rmdir .
/--version
4287 if test "${ac_cv_path_mkdir+set}" = set; then
4288 MKDIR_P
="$ac_cv_path_mkdir -p"
4290 # As a last resort, use the slow shell script. Don't cache a
4291 # value for MKDIR_P within a source directory, because that will
4292 # break other packages using the cache if that directory is
4293 # removed, or if the value is a relative name.
4294 MKDIR_P
="$ac_install_sh -d"
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4298 $as_echo "$MKDIR_P" >&6; }
4300 for ac_prog
in gawk mawk nawk
awk
4302 # Extract the first word of "$ac_prog", so it can be a program name with args.
4303 set dummy
$ac_prog; ac_word
=$2
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4305 $as_echo_n "checking for $ac_word... " >&6; }
4306 if ${ac_cv_prog_AWK+:} false
; then :
4307 $as_echo_n "(cached) " >&6
4309 if test -n "$AWK"; then
4310 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4316 test -z "$as_dir" && as_dir
=.
4317 for ac_exec_ext
in '' $ac_executable_extensions; do
4318 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4319 ac_cv_prog_AWK
="$ac_prog"
4320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4330 if test -n "$AWK"; then
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4332 $as_echo "$AWK" >&6; }
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4335 $as_echo "no" >&6; }
4339 test -n "$AWK" && break
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4343 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4345 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4346 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4347 $as_echo_n "(cached) " >&6
4349 cat >conftest.
make <<\_ACEOF
4352 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4354 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4355 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4357 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4359 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4363 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4365 $as_echo "yes" >&6; }
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4369 $as_echo "no" >&6; }
4370 SET_MAKE
="MAKE=${MAKE-make}"
4373 rm -rf .tst
2>/dev
/null
4374 mkdir .tst
2>/dev
/null
4375 if test -d .tst
; then
4380 rmdir .tst
2>/dev
/null
4382 # Check whether --enable-silent-rules was given.
4383 if test "${enable_silent_rules+set}" = set; then :
4384 enableval
=$enable_silent_rules;
4387 case $enable_silent_rules in # (((
4388 yes) AM_DEFAULT_VERBOSITY
=0;;
4389 no
) AM_DEFAULT_VERBOSITY
=1;;
4390 *) AM_DEFAULT_VERBOSITY
=1;;
4392 am_make
=${MAKE-make}
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4394 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4395 if ${am_cv_make_support_nested_variables+:} false
; then :
4396 $as_echo_n "(cached) " >&6
4398 if $as_echo 'TRUE=$(BAR$(V))
4404 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4405 am_cv_make_support_nested_variables
=yes
4407 am_cv_make_support_nested_variables
=no
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4411 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4412 if test $am_cv_make_support_nested_variables = yes; then
4414 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4416 AM_V
=$AM_DEFAULT_VERBOSITY
4417 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4421 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4422 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4423 # is not polluted with repeated "-I."
4424 am__isrc
=' -I$(srcdir)'
4425 # test to see if srcdir already configured
4426 if test -f $srcdir/config.status
; then
4427 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4431 # test whether we have cygpath
4432 if test -z "$CYGPATH_W"; then
4433 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4434 CYGPATH_W
='cygpath -w'
4441 # Define the identity of the package.
4443 VERSION
='version-unused'
4446 # Some tools Automake needs.
4448 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4451 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4454 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4457 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4460 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4462 # For better backward compatibility. To be removed once Automake 1.9.x
4463 # dies out for good. For more background, see:
4464 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4465 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4466 mkdir_p
='$(MKDIR_P)'
4468 # We need awk for the "check" target (and possibly the TAP driver). The
4469 # system "awk" is bad on some platforms.
4470 # Always define AMTAR for backward compatibility. Yes, it's still used
4471 # in the wild :-( We should find a proper way to deprecate it ...
4475 # We'll loop over all known methods to create a tar archive until one works.
4476 _am_tools
='gnutar pax cpio none'
4478 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4485 # POSIX will say in a future version that running "rm -f" with no argument
4486 # is OK; and we want to be able to make that assumption in our Makefile
4487 # recipes. So use an aggressive probe to check that the usage we want is
4488 # actually supported "in the wild" to an acceptable degree.
4489 # See automake bug#10828.
4490 # To make any issue more visible, cause the running configure to be aborted
4491 # by default if the 'rm' program in use doesn't match our expectations; the
4492 # user can still override this though.
4493 if rm -f && rm -fr && rm -rf; then : OK
; else
4497 Your 'rm' program seems unable to run without file operands specified
4498 on the command line, even when the '-f' option is present. This is contrary
4499 to the behaviour of most rm programs out there, and not conforming with
4500 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4502 Please tell bug-automake@gnu.org about your system, including the value
4503 of your $PATH and any error possibly output before this message. This
4504 can help us improve future automake versions.
4507 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4508 echo 'Configuration will proceed anyway, since you have set the' >&2
4509 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4513 Aborting the configuration process, to ensure you take notice of the issue.
4515 You can download and install GNU coreutils to get an 'rm' implementation
4516 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4518 If you want to complete the configuration process using your problematic
4519 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4520 to "yes", and re-run configure.
4523 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4530 # By default we simply use the C compiler to build assembly code.
4532 test "${CCAS+set}" = set || CCAS
=$CC
4533 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4538 ac_cpp
='$CPP $CPPFLAGS'
4539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4542 if test -n "$ac_tool_prefix"; then
4543 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4544 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4546 $as_echo_n "checking for $ac_word... " >&6; }
4547 if ${ac_cv_prog_CC+:} false
; then :
4548 $as_echo_n "(cached) " >&6
4550 if test -n "$CC"; then
4551 ac_cv_prog_CC
="$CC" # Let the user override the test.
4553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4557 test -z "$as_dir" && as_dir
=.
4558 for ac_exec_ext
in '' $ac_executable_extensions; do
4559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4560 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 if test -n "$CC"; then
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4573 $as_echo "$CC" >&6; }
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4576 $as_echo "no" >&6; }
4581 if test -z "$ac_cv_prog_CC"; then
4583 # Extract the first word of "gcc", so it can be a program name with args.
4584 set dummy gcc
; ac_word
=$2
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4586 $as_echo_n "checking for $ac_word... " >&6; }
4587 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4588 $as_echo_n "(cached) " >&6
4590 if test -n "$ac_ct_CC"; then
4591 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4597 test -z "$as_dir" && as_dir
=.
4598 for ac_exec_ext
in '' $ac_executable_extensions; do
4599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4600 ac_cv_prog_ac_ct_CC
="gcc"
4601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4610 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4611 if test -n "$ac_ct_CC"; then
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4613 $as_echo "$ac_ct_CC" >&6; }
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4616 $as_echo "no" >&6; }
4619 if test "x$ac_ct_CC" = x
; then
4622 case $cross_compiling:$ac_tool_warned in
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4626 ac_tool_warned
=yes ;;
4634 if test -z "$CC"; then
4635 if test -n "$ac_tool_prefix"; then
4636 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4637 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4639 $as_echo_n "checking for $ac_word... " >&6; }
4640 if ${ac_cv_prog_CC+:} false
; then :
4641 $as_echo_n "(cached) " >&6
4643 if test -n "$CC"; then
4644 ac_cv_prog_CC
="$CC" # Let the user override the test.
4646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4650 test -z "$as_dir" && as_dir
=.
4651 for ac_exec_ext
in '' $ac_executable_extensions; do
4652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4653 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 if test -n "$CC"; then
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4666 $as_echo "$CC" >&6; }
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4669 $as_echo "no" >&6; }
4675 if test -z "$CC"; then
4676 # Extract the first word of "cc", so it can be a program name with args.
4677 set dummy cc
; ac_word
=$2
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4679 $as_echo_n "checking for $ac_word... " >&6; }
4680 if ${ac_cv_prog_CC+:} false
; then :
4681 $as_echo_n "(cached) " >&6
4683 if test -n "$CC"; then
4684 ac_cv_prog_CC
="$CC" # Let the user override the test.
4687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4691 test -z "$as_dir" && as_dir
=.
4692 for ac_exec_ext
in '' $ac_executable_extensions; do
4693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4695 ac_prog_rejected
=yes
4699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 if test $ac_prog_rejected = yes; then
4707 # We found a bogon in the path, so make sure we never use it.
4708 set dummy
$ac_cv_prog_CC
4710 if test $# != 0; then
4711 # We chose a different compiler from the bogus one.
4712 # However, it has the same basename, so the bogon will be chosen
4713 # first if we set CC to just the basename; use the full file name.
4715 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4721 if test -n "$CC"; then
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4723 $as_echo "$CC" >&6; }
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4726 $as_echo "no" >&6; }
4731 if test -z "$CC"; then
4732 if test -n "$ac_tool_prefix"; then
4733 for ac_prog
in cl.exe
4735 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4736 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if ${ac_cv_prog_CC+:} false
; then :
4740 $as_echo_n "(cached) " >&6
4742 if test -n "$CC"; then
4743 ac_cv_prog_CC
="$CC" # Let the user override the test.
4745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4749 test -z "$as_dir" && as_dir
=.
4750 for ac_exec_ext
in '' $ac_executable_extensions; do
4751 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4752 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 if test -n "$CC"; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4765 $as_echo "$CC" >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4772 test -n "$CC" && break
4775 if test -z "$CC"; then
4777 for ac_prog
in cl.exe
4779 # Extract the first word of "$ac_prog", so it can be a program name with args.
4780 set dummy
$ac_prog; ac_word
=$2
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4782 $as_echo_n "checking for $ac_word... " >&6; }
4783 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4784 $as_echo_n "(cached) " >&6
4786 if test -n "$ac_ct_CC"; then
4787 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4793 test -z "$as_dir" && as_dir
=.
4794 for ac_exec_ext
in '' $ac_executable_extensions; do
4795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4796 ac_cv_prog_ac_ct_CC
="$ac_prog"
4797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4806 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4807 if test -n "$ac_ct_CC"; then
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4809 $as_echo "$ac_ct_CC" >&6; }
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812 $as_echo "no" >&6; }
4816 test -n "$ac_ct_CC" && break
4819 if test "x$ac_ct_CC" = x
; then
4822 case $cross_compiling:$ac_tool_warned in
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4826 ac_tool_warned
=yes ;;
4835 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4837 as_fn_error $?
"no acceptable C compiler found in \$PATH
4838 See \`config.log' for more details" "$LINENO" 5; }
4840 # Provide some information about the compiler.
4841 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4844 for ac_option
in --version -v -V -qversion; do
4845 { { ac_try
="$ac_compiler $ac_option >&5"
4847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4848 *) ac_try_echo=$ac_try;;
4850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4851 $as_echo "$ac_try_echo"; } >&5
4852 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4854 if test -s conftest.err; then
4856 ... rest of stderr output deleted ...
4857 10q' conftest.err >conftest.er1
4858 cat conftest.er1 >&5
4860 rm -f conftest.er1 conftest.err
4861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4862 test $ac_status = 0; }
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4866 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4867 if ${ac_cv_c_compiler_gnu+:} false; then :
4868 $as_echo_n "(cached) " >&6
4870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4871 /* end confdefs.h. */
4884 if ac_fn_c_try_compile "$LINENO"; then :
4889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4890 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4894 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4895 if test $ac_compiler_gnu = yes; then
4900 ac_test_CFLAGS=${CFLAGS+set}
4901 ac_save_CFLAGS=$CFLAGS
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4903 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4904 if ${ac_cv_prog_cc_g+:} false; then :
4905 $as_echo_n "(cached) " >&6
4907 ac_save_c_werror_flag=$ac_c_werror_flag
4908 ac_c_werror_flag=yes
4911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h. */
4922 if ac_fn_c_try_compile "$LINENO"; then :
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4937 if ac_fn_c_try_compile "$LINENO"; then :
4940 ac_c_werror_flag=$ac_save_c_werror_flag
4942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4943 /* end confdefs.h. */
4953 if ac_fn_c_try_compile "$LINENO"; then :
4956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4961 ac_c_werror_flag=$ac_save_c_werror_flag
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4964 $as_echo "$ac_cv_prog_cc_g" >&6; }
4965 if test "$ac_test_CFLAGS" = set; then
4966 CFLAGS=$ac_save_CFLAGS
4967 elif test $ac_cv_prog_cc_g = yes; then
4968 if test "$GCC" = yes; then
4974 if test "$GCC" = yes; then
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4981 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4982 if ${ac_cv_prog_cc_c89+:} false; then :
4983 $as_echo_n "(cached) " >&6
4985 ac_cv_prog_cc_c89=no
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4992 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4993 struct buf { int x; };
4994 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4995 static char *e (p, i)
5001 static char *f (char * (*g) (char **, int), char **p, ...)
5006 s = g (p, va_arg (v,int));
5011 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5012 function prototypes and stuff, but not '\xHH' hex character constants.
5013 These don't provoke an error unfortunately, instead are silently treated
5014 as 'x'. The following induces an error, until -std is added to get
5015 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5016 array size at least. It's necessary to write '\x00'==0 to get something
5017 that's true only with -std. */
5018 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5020 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5021 inside strings and character constants. */
5023 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5025 int test (int i, double x);
5026 struct s1 {int (*f) (int a);};
5027 struct s2 {int (*f) (double a);};
5028 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5034 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5039 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5040 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5042 CC="$ac_save_CC $ac_arg"
5043 if ac_fn_c_try_compile "$LINENO"; then :
5044 ac_cv_prog_cc_c89=$ac_arg
5046 rm -f core conftest.err conftest.$ac_objext
5047 test "x$ac_cv_prog_cc_c89" != "xno" && break
5049 rm -f conftest.$ac_ext
5054 case "x$ac_cv_prog_cc_c89" in
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5057 $as_echo "none needed" >&6; } ;;
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5060 $as_echo "unsupported" >&6; } ;;
5062 CC="$CC $ac_cv_prog_cc_c89"
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5064 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5066 if test "x$ac_cv_prog_cc_c89" != xno; then :
5071 ac_cpp='$CPP $CPPFLAGS'
5072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5077 ac_cpp='$CPP $CPPFLAGS'
5078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5082 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5083 if ${am_cv_prog_cc_c_o+:} false; then :
5084 $as_echo_n "(cached) " >&6
5086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5087 /* end confdefs.h. */
5097 # Make sure it works both with $CC and with simple cc.
5098 # Following AC_PROG_CC_C_O, we do the test twice because some
5099 # compilers refuse to overwrite an existing .o file with -o,
5100 # though they will create one.
5101 am_cv_prog_cc_c_o=yes
5103 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5104 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); } \
5108 && test -f conftest2.$ac_objext; then
5111 am_cv_prog_cc_c_o=no
5115 rm -f core conftest*
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5119 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5120 if test "$am_cv_prog_cc_c_o" != yes; then
5121 # Losing compiler, so override with the script.
5122 # FIXME: It is wrong to rewrite CC.
5123 # But if we don't then we get into trouble of one sort or another.
5124 # A longer-term fix would be to have automake use am__CC in this case,
5125 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5126 CC="$am_aux_dir/compile $CC"
5129 ac_cpp='$CPP $CPPFLAGS'
5130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5136 ac_compile='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
5137 ac_link='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5139 if test -n "$ac_tool_prefix"; then
5140 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
5141 set dummy ${ac_tool_prefix}gdc; ac_word=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_prog_GDC+:} false; then :
5145 $as_echo_n "(cached) " >&6
5147 if test -n "$GDC"; then
5148 ac_cv_prog_GDC="$GDC" # Let the user override the test.
5150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 test -z "$as_dir" && as_dir=.
5155 for ac_exec_ext in '' $ac_executable_extensions; do
5156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_GDC="${ac_tool_prefix}gdc"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5168 if test -n "$GDC"; then
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5170 $as_echo "$GDC" >&6; }
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5178 if test -z "$ac_cv_prog_GDC"; then
5180 # Extract the first word of "gdc", so it can be a program name with args.
5181 set dummy gdc; ac_word=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if ${ac_cv_prog_ac_ct_GDC+:} false; then :
5185 $as_echo_n "(cached) " >&6
5187 if test -n "$ac_ct_GDC"; then
5188 ac_cv_prog_ac_ct_GDC="$ac_ct_GDC" # Let the user override the test.
5190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5194 test -z "$as_dir" && as_dir=.
5195 for ac_exec_ext in '' $ac_executable_extensions; do
5196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5197 ac_cv_prog_ac_ct_GDC="gdc"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 ac_ct_GDC=$ac_cv_prog_ac_ct_GDC
5208 if test -n "$ac_ct_GDC"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GDC" >&5
5210 $as_echo "$ac_ct_GDC" >&6; }
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5216 if test "x$ac_ct_GDC" = x; then
5219 case $cross_compiling:$ac_tool_warned in
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5223 ac_tool_warned=yes ;;
5228 GDC="$ac_cv_prog_GDC"
5231 if test -z "$GDC"; then
5232 if test -n "$ac_tool_prefix"; then
5233 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
5234 set dummy ${ac_tool_prefix}gdc; ac_word=$2
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236 $as_echo_n "checking for $ac_word... " >&6; }
5237 if ${ac_cv_prog_GDC+:} false; then :
5238 $as_echo_n "(cached) " >&6
5240 if test -n "$GDC"; then
5241 ac_cv_prog_GDC="$GDC" # Let the user override the test.
5243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 test -z "$as_dir" && as_dir=.
5248 for ac_exec_ext in '' $ac_executable_extensions; do
5249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5250 ac_cv_prog_GDC="$ac_tool_prefix}gdc"
5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 if test -n "$GDC"; then
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5263 $as_echo "$GDC" >&6; }
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5272 if test -z "$GDC"; then
5273 # Extract the first word of "gdc", so it can be a program name with args.
5274 set dummy gdc; ac_word=$2
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5276 $as_echo_n "checking for $ac_word... " >&6; }
5277 if ${ac_cv_prog_GDC+:} false; then :
5278 $as_echo_n "(cached) " >&6
5280 if test -n "$GDC"; then
5281 ac_cv_prog_GDC="$GDC" # Let the user override the test.
5284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5288 test -z "$as_dir" && as_dir=.
5289 for ac_exec_ext in '' $ac_executable_extensions; do
5290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5291 if test "$as_dir/$ac_word$ac_exec_ext" = "false"; then
5292 ac_prog_rejected=yes
5295 ac_cv_prog_GDC="gdc"
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5303 if test $ac_prog_rejected = yes; then
5304 # We found a bogon in the path, so make sure we never use it.
5305 set dummy $ac_cv_prog_GDC
5307 if test $# != 0; then
5308 # We chose a different compiler from the bogus one.
5309 # However, it has the same basename, so the bogon will be chosen
5310 # first if we set GDC to just the basename; use the full file name.
5312 ac_cv_prog_GDC="$as_dir/$ac_word${1+' '}$@"
5318 if test -n "$GDC"; then
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5320 $as_echo "$GDC" >&6; }
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5323 $as_echo "no" >&6; }
5330 # Provide some information about the compiler.
5331 $as_echo "$as_me:${as_lineno-$LINENO}: checking for D compiler version" >&5
5334 { { ac_try="$ac_compiler --version >&5"
5336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5337 *) ac_try_echo
=$ac_try;;
5339 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5340 $as_echo "$ac_try_echo"; } >&5
5341 (eval "$ac_compiler --version >&5") 2>conftest.err
5343 if test -s conftest.err
; then
5345 ... rest of stderr output deleted ...
5346 10q' conftest.err
>conftest.er1
5347 cat conftest.er1
>&5
5349 rm -f conftest.er1 conftest.err
5350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5351 test $ac_status = 0; }
5353 ac_cpp
='$CPP $CPPFLAGS'
5354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for absolute libphobos source path" >&5
5360 $as_echo_n "checking for absolute libphobos source path... " >&6; }
5361 if ${phobos_cv_abs_srcdir+:} false
; then :
5362 $as_echo_n "(cached) " >&6
5364 phobos_cv_abs_srcdir
=`cd $srcdir && pwd`
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $phobos_cv_abs_srcdir" >&5
5367 $as_echo "$phobos_cv_abs_srcdir" >&6; }
5368 if test -d "$phobos_cv_abs_srcdir"; then :
5371 as_fn_error $?
"can't find absolute libphobos source path" "$LINENO" 5
5377 gdc_save_DFLAGS
=$GDCFLAGS
5378 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime $GDCFLAGS"
5381 ac_compile
='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
5382 ac_link
='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If $GDC can compile D sources" >&5
5386 $as_echo_n "checking If $GDC can compile D sources... " >&6; }
5387 cat > conftest.
$ac_ext <<_ACEOF
5391 extern(C) int main() {
5395 if ac_fn_d_try_compile
"$LINENO"; then :
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5397 $as_echo "yes" >&6; }
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5400 $as_echo "no" >&6; }
5401 as_fn_error $?
"can't compile D sources!" "$LINENO" 5
5403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5405 ac_cpp
='$CPP $CPPFLAGS'
5406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5411 GDCFLAGS
=$gdc_save_DFLAGS
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5419 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5420 # Check whether --enable-maintainer-mode was given.
5421 if test "${enable_maintainer_mode+set}" = set; then :
5422 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5424 USE_MAINTAINER_MODE
=no
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5428 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5429 if test $USE_MAINTAINER_MODE = yes; then
5430 MAINTAINER_MODE_TRUE
=
5431 MAINTAINER_MODE_FALSE
='#'
5433 MAINTAINER_MODE_TRUE
='#'
5434 MAINTAINER_MODE_FALSE
=
5437 MAINT
=$MAINTAINER_MODE_TRUE
5440 if test -n "$ac_tool_prefix"; then
5441 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5442 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5444 $as_echo_n "checking for $ac_word... " >&6; }
5445 if ${ac_cv_prog_RANLIB+:} false
; then :
5446 $as_echo_n "(cached) " >&6
5448 if test -n "$RANLIB"; then
5449 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5455 test -z "$as_dir" && as_dir
=.
5456 for ac_exec_ext
in '' $ac_executable_extensions; do
5457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5458 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 RANLIB
=$ac_cv_prog_RANLIB
5469 if test -n "$RANLIB"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5471 $as_echo "$RANLIB" >&6; }
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5479 if test -z "$ac_cv_prog_RANLIB"; then
5480 ac_ct_RANLIB
=$RANLIB
5481 # Extract the first word of "ranlib", so it can be a program name with args.
5482 set dummy ranlib
; ac_word
=$2
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5484 $as_echo_n "checking for $ac_word... " >&6; }
5485 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5486 $as_echo_n "(cached) " >&6
5488 if test -n "$ac_ct_RANLIB"; then
5489 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5495 test -z "$as_dir" && as_dir
=.
5496 for ac_exec_ext
in '' $ac_executable_extensions; do
5497 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5498 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5509 if test -n "$ac_ct_RANLIB"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5511 $as_echo "$ac_ct_RANLIB" >&6; }
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5514 $as_echo "no" >&6; }
5517 if test "x$ac_ct_RANLIB" = x
; then
5520 case $cross_compiling:$ac_tool_warned in
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5524 ac_tool_warned
=yes ;;
5526 RANLIB
=$ac_ct_RANLIB
5529 RANLIB
="$ac_cv_prog_RANLIB"
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5534 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5536 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5537 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5538 $as_echo_n "(cached) " >&6
5540 cat >conftest.
make <<\_ACEOF
5543 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5545 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5546 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5548 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5550 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5554 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5556 $as_echo "yes" >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5561 SET_MAKE
="MAKE=${MAKE-make}"
5565 # This should be inherited in the recursive make, but ensure it is defined.
5569 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5577 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5582 macro_version
='2.2.7a'
5583 macro_revision
='1.3134'
5597 ltmain
="$ac_aux_dir/ltmain.sh"
5599 # Backslashify metacharacters that are still active within
5600 # double-quoted strings.
5601 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5603 # Same as above, but do not quote variable references.
5604 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5606 # Sed substitution to delay expansion of an escaped shell variable in a
5607 # double_quote_subst'ed string.
5608 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5610 # Sed substitution to delay expansion of an escaped single quote.
5611 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5613 # Sed substitution to avoid accidental globbing in evaled expressions
5614 no_glob_subst
='s/\*/\\\*/g'
5616 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5617 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5618 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5621 $as_echo_n "checking how to print strings... " >&6; }
5622 # Test print first, because it will be a builtin if present.
5623 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5624 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5626 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5629 # Use this function as a fallback that always works.
5630 func_fallback_echo ()
5632 eval 'cat <<_LTECHO_EOF
5636 ECHO='func_fallback_echo
'
5639 # func_echo_all arg...
5640 # Invoke $ECHO with all args, space-separated.
5647 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5648 $as_echo "printf" >&6; } ;;
5649 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5650 $as_echo "print -r" >&6; } ;;
5651 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5652 $as_echo "cat" >&6; } ;;
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5669 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5670 if ${ac_cv_path_SED+:} false; then :
5671 $as_echo_n "(cached) " >&6
5673 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5674 for ac_i in 1 2 3 4 5 6 7; do
5675 ac_script="$ac_script$as_nl$ac_script"
5677 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5678 { ac_script=; unset ac_script;}
5679 if test -z "$SED"; then
5680 ac_path_SED_found=false
5681 # Loop through the user's path and
test for each of PROGNAME-LIST
5682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5686 test -z "$as_dir" && as_dir
=.
5687 for ac_prog
in sed gsed
; do
5688 for ac_exec_ext
in '' $ac_executable_extensions; do
5689 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5690 as_fn_executable_p
"$ac_path_SED" ||
continue
5691 # Check for GNU ac_path_SED and select it if it is found.
5692 # Check for GNU $ac_path_SED
5693 case `"$ac_path_SED" --version 2>&1` in
5695 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5698 $as_echo_n 0123456789 >"conftest.in"
5701 cat "conftest.in" "conftest.in" >"conftest.tmp"
5702 mv "conftest.tmp" "conftest.in"
5703 cp "conftest.in" "conftest.nl"
5704 $as_echo '' >> "conftest.nl"
5705 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5706 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5707 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5708 if test $ac_count -gt ${ac_path_SED_max-0}; then
5709 # Best one so far, save it but keep looking for a better one
5710 ac_cv_path_SED
="$ac_path_SED"
5711 ac_path_SED_max
=$ac_count
5713 # 10*(2^10) chars as input seems more than enough
5714 test $ac_count -gt 10 && break
5716 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5719 $ac_path_SED_found && break 3
5724 if test -z "$ac_cv_path_SED"; then
5725 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5733 $as_echo "$ac_cv_path_SED" >&6; }
5734 SED
="$ac_cv_path_SED"
5737 test -z "$SED" && SED
=sed
5738 Xsed
="$SED -e 1s/^X//"
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5751 $as_echo_n "checking for fgrep... " >&6; }
5752 if ${ac_cv_path_FGREP+:} false
; then :
5753 $as_echo_n "(cached) " >&6
5755 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5756 then ac_cv_path_FGREP
="$GREP -F"
5758 if test -z "$FGREP"; then
5759 ac_path_FGREP_found
=false
5760 # Loop through the user's path and test for each of PROGNAME-LIST
5761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5762 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5765 test -z "$as_dir" && as_dir
=.
5766 for ac_prog
in fgrep
; do
5767 for ac_exec_ext
in '' $ac_executable_extensions; do
5768 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5769 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5770 # Check for GNU ac_path_FGREP and select it if it is found.
5771 # Check for GNU $ac_path_FGREP
5772 case `"$ac_path_FGREP" --version 2>&1` in
5774 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5777 $as_echo_n 0123456789 >"conftest.in"
5780 cat "conftest.in" "conftest.in" >"conftest.tmp"
5781 mv "conftest.tmp" "conftest.in"
5782 cp "conftest.in" "conftest.nl"
5783 $as_echo 'FGREP' >> "conftest.nl"
5784 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5785 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5786 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5787 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5788 # Best one so far, save it but keep looking for a better one
5789 ac_cv_path_FGREP
="$ac_path_FGREP"
5790 ac_path_FGREP_max
=$ac_count
5792 # 10*(2^10) chars as input seems more than enough
5793 test $ac_count -gt 10 && break
5795 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5798 $ac_path_FGREP_found && break 3
5803 if test -z "$ac_cv_path_FGREP"; then
5804 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5807 ac_cv_path_FGREP
=$FGREP
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5813 $as_echo "$ac_cv_path_FGREP" >&6; }
5814 FGREP
="$ac_cv_path_FGREP"
5817 test -z "$GREP" && GREP
=grep
5837 # Check whether --with-gnu-ld was given.
5838 if test "${with_gnu_ld+set}" = set; then :
5839 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5845 if test "$GCC" = yes; then
5846 # Check if gcc -print-prog-name=ld gives a path.
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5848 $as_echo_n "checking for ld used by $CC... " >&6; }
5851 # gcc leaves a trailing carriage return which upsets mingw
5852 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5854 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5857 # Accept absolute paths.
5859 re_direlt
='/[^/][^/]*/\.\./'
5860 # Canonicalize the pathname of ld
5861 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5862 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5863 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5865 test -z "$LD" && LD
="$ac_prog"
5868 # If it fails, then pretend we aren't using GCC.
5872 # If it is relative, then search for the first ld in PATH.
5876 elif test "$with_gnu_ld" = yes; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5878 $as_echo_n "checking for GNU ld... " >&6; }
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5881 $as_echo_n "checking for non-GNU ld... " >&6; }
5883 if ${lt_cv_path_LD+:} false
; then :
5884 $as_echo_n "(cached) " >&6
5886 if test -z "$LD"; then
5887 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5888 for ac_dir
in $PATH; do
5890 test -z "$ac_dir" && ac_dir
=.
5891 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5892 lt_cv_path_LD
="$ac_dir/$ac_prog"
5893 # Check to see if the program is GNU ld. I'd rather use --version,
5894 # but apparently some variants of GNU ld only accept -v.
5895 # Break only if it was the GNU/non-GNU ld that we prefer.
5896 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5897 *GNU
* |
*'with BFD'*)
5898 test "$with_gnu_ld" != no
&& break
5901 test "$with_gnu_ld" != yes && break
5908 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5913 if test -n "$LD"; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5915 $as_echo "$LD" >&6; }
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5920 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5922 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5923 if ${lt_cv_prog_gnu_ld+:} false
; then :
5924 $as_echo_n "(cached) " >&6
5926 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5927 case `$LD -v 2>&1 </dev/null` in
5928 *GNU
* |
*'with BFD'*)
5929 lt_cv_prog_gnu_ld
=yes
5932 lt_cv_prog_gnu_ld
=no
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5937 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5938 with_gnu_ld
=$lt_cv_prog_gnu_ld
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5949 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5950 if ${lt_cv_path_NM+:} false
; then :
5951 $as_echo_n "(cached) " >&6
5953 if test -n "$NM"; then
5954 # Let the user override the test.
5957 lt_nm_to_check
="${ac_tool_prefix}nm"
5958 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5959 lt_nm_to_check
="$lt_nm_to_check nm"
5961 for lt_tmp_nm
in $lt_nm_to_check; do
5962 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5963 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5965 test -z "$ac_dir" && ac_dir
=.
5966 tmp_nm
="$ac_dir/$lt_tmp_nm"
5967 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5968 # Check to see if the nm accepts a BSD-compat flag.
5969 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5970 # nm: unknown option "B" ignored
5971 # Tru64's nm complains that /dev/null is an invalid object file
5972 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5973 */dev
/null
* |
*'Invalid file or object type'*)
5974 lt_cv_path_NM
="$tmp_nm -B"
5978 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5980 lt_cv_path_NM
="$tmp_nm -p"
5984 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5985 continue # so that we can try to find one that supports BSD flags
5994 : ${lt_cv_path_NM=no}
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5998 $as_echo "$lt_cv_path_NM" >&6; }
5999 if test "$lt_cv_path_NM" != "no"; then
6002 # Didn't find any BSD compatible name lister, look for dumpbin.
6003 if test -n "$DUMPBIN"; then :
6004 # Let the user override the test.
6006 if test -n "$ac_tool_prefix"; then
6007 for ac_prog
in dumpbin
"link -dump"
6009 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6010 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012 $as_echo_n "checking for $ac_word... " >&6; }
6013 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6014 $as_echo_n "(cached) " >&6
6016 if test -n "$DUMPBIN"; then
6017 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6023 test -z "$as_dir" && as_dir
=.
6024 for ac_exec_ext
in '' $ac_executable_extensions; do
6025 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6026 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 DUMPBIN
=$ac_cv_prog_DUMPBIN
6037 if test -n "$DUMPBIN"; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6039 $as_echo "$DUMPBIN" >&6; }
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042 $as_echo "no" >&6; }
6046 test -n "$DUMPBIN" && break
6049 if test -z "$DUMPBIN"; then
6050 ac_ct_DUMPBIN
=$DUMPBIN
6051 for ac_prog
in dumpbin
"link -dump"
6053 # Extract the first word of "$ac_prog", so it can be a program name with args.
6054 set dummy
$ac_prog; ac_word
=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6058 $as_echo_n "(cached) " >&6
6060 if test -n "$ac_ct_DUMPBIN"; then
6061 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6067 test -z "$as_dir" && as_dir
=.
6068 for ac_exec_ext
in '' $ac_executable_extensions; do
6069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6070 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6080 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6081 if test -n "$ac_ct_DUMPBIN"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6083 $as_echo "$ac_ct_DUMPBIN" >&6; }
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6090 test -n "$ac_ct_DUMPBIN" && break
6093 if test "x$ac_ct_DUMPBIN" = x
; then
6096 case $cross_compiling:$ac_tool_warned in
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6100 ac_tool_warned
=yes ;;
6102 DUMPBIN
=$ac_ct_DUMPBIN
6106 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6108 DUMPBIN
="$DUMPBIN -symbols"
6116 if test "$DUMPBIN" != ":"; then
6120 test -z "$NM" && NM
=nm
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6128 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6129 if ${lt_cv_nm_interface+:} false
; then :
6130 $as_echo_n "(cached) " >&6
6132 lt_cv_nm_interface
="BSD nm"
6133 echo "int some_variable = 0;" > conftest.
$ac_ext
6134 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6135 (eval "$ac_compile" 2>conftest.err
)
6136 cat conftest.err
>&5
6137 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6138 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6139 cat conftest.err
>&5
6140 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6141 cat conftest.out
>&5
6142 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6143 lt_cv_nm_interface
="MS dumpbin"
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6148 $as_echo "$lt_cv_nm_interface" >&6; }
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6151 $as_echo_n "checking whether ln -s works... " >&6; }
6153 if test "$LN_S" = "ln -s"; then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6155 $as_echo "yes" >&6; }
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6158 $as_echo "no, using $LN_S" >&6; }
6161 # find the maximum length of command line arguments
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6163 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6164 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6165 $as_echo_n "(cached) " >&6
6172 # On DJGPP, this test can blow up pretty badly due to problems in libc
6173 # (any single argument exceeding 2000 bytes causes a buffer overrun
6174 # during glob expansion). Even if it were fixed, the result of this
6175 # check would be larger than it should be.
6176 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6180 # Under GNU Hurd, this test is not required because there is
6181 # no limit to the length of command line arguments.
6182 # Libtool will interpret -1 as no limit whatsoever
6183 lt_cv_sys_max_cmd_len
=-1;
6186 cygwin
* | mingw
* | cegcc
*)
6187 # On Win9x/ME, this test blows up -- it succeeds, but takes
6188 # about 5 minutes as the teststring grows exponentially.
6189 # Worse, since 9x/ME are not pre-emptively multitasking,
6190 # you end up with a "frozen" computer, even though with patience
6191 # the test eventually succeeds (with a max line length of 256k).
6192 # Instead, let's just punt: use the minimum linelength reported by
6193 # all of the supported platforms: 8192 (on NT/2K/XP).
6194 lt_cv_sys_max_cmd_len
=8192;
6198 # On MiNT this can take a long time and run out of memory.
6199 lt_cv_sys_max_cmd_len
=8192;
6203 # On AmigaOS with pdksh, this test takes hours, literally.
6204 # So we just punt and use a minimum line length of 8192.
6205 lt_cv_sys_max_cmd_len
=8192;
6208 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6209 # This has been around since 386BSD, at least. Likely further.
6210 if test -x /sbin
/sysctl
; then
6211 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6212 elif test -x /usr
/sbin
/sysctl
; then
6213 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6215 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6217 # And add a safety zone
6218 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6219 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6223 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6224 lt_cv_sys_max_cmd_len
=196608
6228 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6229 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6230 # nice to cause kernel panics so lets avoid the loop below.
6231 # First set a reasonable default.
6232 lt_cv_sys_max_cmd_len
=16384
6234 if test -x /sbin
/sysconfig
; then
6235 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6236 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6241 lt_cv_sys_max_cmd_len
=102400
6243 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6244 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6245 if test -n "$kargmax"; then
6246 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6248 lt_cv_sys_max_cmd_len
=32768
6252 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6253 if test -n "$lt_cv_sys_max_cmd_len"; then
6254 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6255 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6257 # Make teststring a little bigger before we do anything with it.
6258 # a 1K string should be a reasonable start.
6259 for i
in 1 2 3 4 5 6 7 8 ; do
6260 teststring
=$teststring$teststring
6262 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6263 # If test is not a shell built-in, we'll probably end up computing a
6264 # maximum length that is only half of the actual maximum length, but
6266 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6267 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6268 test $i != 17 # 1/2 MB should be enough
6271 teststring
=$teststring$teststring
6273 # Only check the string length outside the loop.
6274 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6276 # Add a significant safety factor because C++ compilers can tack on
6277 # massive amounts of additional arguments before passing them to the
6278 # linker. It appears as though 1/2 is a usable value.
6279 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6286 if test -n $lt_cv_sys_max_cmd_len ; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6288 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6291 $as_echo "none" >&6; }
6293 max_cmd_len
=$lt_cv_sys_max_cmd_len
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6305 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6306 # Try some XSI features
6309 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6311 && eval 'test $(( 1 + 1 )) -eq 2 \
6312 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6315 $as_echo "$xsi_shell" >&6; }
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6319 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6321 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6323 && lt_shell_append=yes
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6325 $as_echo "$lt_shell_append" >&6; }
6328 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6338 # test EBCDIC or ASCII
6339 case `echo X|tr X '\101'` in
6340 A) # ASCII based system
6341 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6342 lt_SP2NL='tr \040 \012'
6343 lt_NL2SP='tr \015\012 \040\040'
6345 *) # EBCDIC based system
6346 lt_SP2NL='tr \100 \n'
6347 lt_NL2SP='tr \r\n \100\100'
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6360 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6361 if ${lt_cv_ld_reload_flag+:} false; then :
6362 $as_echo_n "(cached
) " >&6
6364 lt_cv_ld_reload_flag='-r'
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6367 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6368 reload_flag=$lt_cv_ld_reload_flag
6369 case $reload_flag in
6371 *) reload_flag=" $reload_flag" ;;
6373 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6376 if test "$GCC" = yes; then
6377 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6379 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6392 if test -n "$ac_tool_prefix"; then
6393 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6394 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6396 $as_echo_n "checking
for $ac_word...
" >&6; }
6397 if ${ac_cv_prog_OBJDUMP+:} false; then :
6398 $as_echo_n "(cached
) " >&6
6400 if test -n "$OBJDUMP"; then
6401 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6407 test -z "$as_dir" && as_dir=.
6408 for ac_exec_ext in '' $ac_executable_extensions; do
6409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6410 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6411 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6420 OBJDUMP=$ac_cv_prog_OBJDUMP
6421 if test -n "$OBJDUMP"; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6423 $as_echo "$OBJDUMP" >&6; }
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6426 $as_echo "no
" >&6; }
6431 if test -z "$ac_cv_prog_OBJDUMP"; then
6432 ac_ct_OBJDUMP=$OBJDUMP
6433 # Extract the first word of "objdump
", so it can be a program name with args.
6434 set dummy objdump; ac_word=$2
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6436 $as_echo_n "checking
for $ac_word...
" >&6; }
6437 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6438 $as_echo_n "(cached
) " >&6
6440 if test -n "$ac_ct_OBJDUMP"; then
6441 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6447 test -z "$as_dir" && as_dir=.
6448 for ac_exec_ext in '' $ac_executable_extensions; do
6449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6450 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6451 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6460 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6461 if test -n "$ac_ct_OBJDUMP"; then
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6463 $as_echo "$ac_ct_OBJDUMP" >&6; }
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6466 $as_echo "no
" >&6; }
6469 if test "x
$ac_ct_OBJDUMP" = x; then
6472 case $cross_compiling:$ac_tool_warned in
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6475 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6476 ac_tool_warned=yes ;;
6478 OBJDUMP=$ac_ct_OBJDUMP
6481 OBJDUMP="$ac_cv_prog_OBJDUMP"
6484 test -z "$OBJDUMP" && OBJDUMP=objdump
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6495 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6496 if ${lt_cv_deplibs_check_method+:} false; then :
6497 $as_echo_n "(cached
) " >&6
6499 lt_cv_file_magic_cmd='$MAGIC_CMD'
6500 lt_cv_file_magic_test_file=
6501 lt_cv_deplibs_check_method='unknown'
6502 # Need to set the preceding variable on all platforms that support
6503 # interlibrary dependencies.
6504 # 'none' -- dependencies not supported.
6505 # `unknown' -- same as none, but documents that we really don't know.
6506 # 'pass_all' -- all dependencies passed with no checks.
6507 # 'test_compile' -- check by making test program.
6508 # 'file_magic [[regex]]' -- check by looking for files in library path
6509 # which responds to the $file_magic_cmd with a given extended regex.
6510 # If you have `file' or equivalent on your system and you're not sure
6511 # whether `pass_all' will *always* work, you probably want this one.
6515 lt_cv_deplibs_check_method=pass_all
6519 lt_cv_deplibs_check_method=pass_all
6523 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6524 lt_cv_file_magic_cmd='/usr/bin/file -L'
6525 lt_cv_file_magic_test_file=/shlib/libc.so
6529 # func_win32_libid is a shell function defined in ltmain.sh
6530 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6531 lt_cv_file_magic_cmd='func_win32_libid'
6535 # Base MSYS/MinGW do not provide the 'file' command needed by
6536 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6537 # unless we find 'file', for example because we are cross-compiling.
6538 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6539 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6540 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6541 lt_cv_file_magic_cmd='func_win32_libid'
6543 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6544 lt_cv_file_magic_cmd='$OBJDUMP -f'
6549 # use the weaker test based on 'objdump'. See mingw*.
6550 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6551 lt_cv_file_magic_cmd='$OBJDUMP -f'
6554 darwin* | rhapsody*)
6555 lt_cv_deplibs_check_method=pass_all
6558 freebsd* | dragonfly*)
6559 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6562 # Not sure whether the presence of OpenBSD here was a mistake.
6563 # Let's accept both of them until this is cleared up.
6564 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6565 lt_cv_file_magic_cmd=/usr/bin/file
6566 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6570 lt_cv_deplibs_check_method=pass_all
6575 lt_cv_deplibs_check_method=pass_all
6579 lt_cv_deplibs_check_method=pass_all
6582 hpux10.20* | hpux11*)
6583 lt_cv_file_magic_cmd=/usr/bin/file
6586 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6587 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6590 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]'
6591 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6594 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6595 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6601 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6602 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6605 irix5* | irix6* | nonstopux*)
6607 *-32|*"-32 ") libmagic=32-bit;;
6608 *-n32|*"-n32 ") libmagic=N32;;
6609 *-64|*"-64 ") libmagic=64-bit;;
6610 *) libmagic=never-match;;
6612 lt_cv_deplibs_check_method=pass_all
6615 # This must be Linux ELF.
6616 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6617 lt_cv_deplibs_check_method=pass_all
6621 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6622 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6624 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6629 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6630 lt_cv_file_magic_cmd=/usr/bin/file
6631 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6635 lt_cv_deplibs_check_method=pass_all
6639 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6640 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6642 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6646 osf3* | osf4* | osf5*)
6647 lt_cv_deplibs_check_method=pass_all
6651 lt_cv_deplibs_check_method=pass_all
6655 lt_cv_deplibs_check_method=pass_all
6658 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6659 lt_cv_deplibs_check_method=pass_all
6663 case $host_vendor in
6665 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]'
6666 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6669 lt_cv_deplibs_check_method=pass_all
6672 lt_cv_file_magic_cmd='/bin/file'
6673 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6676 lt_cv_file_magic_cmd='/bin/file'
6677 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6678 lt_cv_file_magic_test_file=/lib/libc.so
6681 lt_cv_deplibs_check_method=pass_all
6684 lt_cv_deplibs_check_method=pass_all
6690 lt_cv_deplibs_check_method=pass_all
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6696 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6697 file_magic_cmd=$lt_cv_file_magic_cmd
6698 deplibs_check_method=$lt_cv_deplibs_check_method
6699 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6712 if test -n "$ac_tool_prefix"; then
6713 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6714 set dummy ${ac_tool_prefix}ar; ac_word=$2
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6716 $as_echo_n "checking
for $ac_word...
" >&6; }
6717 if ${ac_cv_prog_AR+:} false; then :
6718 $as_echo_n "(cached
) " >&6
6720 if test -n "$AR"; then
6721 ac_cv_prog_AR="$AR" # Let the user override the test.
6723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6727 test -z "$as_dir" && as_dir=.
6728 for ac_exec_ext in '' $ac_executable_extensions; do
6729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6730 ac_cv_prog_AR="${ac_tool_prefix}ar"
6731 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6741 if test -n "$AR"; then
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6743 $as_echo "$AR" >&6; }
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6746 $as_echo "no
" >&6; }
6751 if test -z "$ac_cv_prog_AR"; then
6753 # Extract the first word of "ar", so it can be a program name with args.
6754 set dummy ar; ac_word=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6756 $as_echo_n "checking
for $ac_word...
" >&6; }
6757 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6758 $as_echo_n "(cached
) " >&6
6760 if test -n "$ac_ct_AR"; then
6761 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6767 test -z "$as_dir" && as_dir=.
6768 for ac_exec_ext in '' $ac_executable_extensions; do
6769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6770 ac_cv_prog_ac_ct_AR="ar"
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6780 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6781 if test -n "$ac_ct_AR"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6783 $as_echo "$ac_ct_AR" >&6; }
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6786 $as_echo "no
" >&6; }
6789 if test "x
$ac_ct_AR" = x; then
6792 case $cross_compiling:$ac_tool_warned in
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6795 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6796 ac_tool_warned=yes ;;
6804 test -z "$AR" && AR=ar
6805 test -z "$AR_FLAGS" && AR_FLAGS=cru
6817 if test -n "$ac_tool_prefix"; then
6818 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6819 set dummy ${ac_tool_prefix}strip; ac_word=$2
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6821 $as_echo_n "checking
for $ac_word...
" >&6; }
6822 if ${ac_cv_prog_STRIP+:} false; then :
6823 $as_echo_n "(cached
) " >&6
6825 if test -n "$STRIP"; then
6826 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6832 test -z "$as_dir" && as_dir=.
6833 for ac_exec_ext in '' $ac_executable_extensions; do
6834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6835 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6845 STRIP=$ac_cv_prog_STRIP
6846 if test -n "$STRIP"; then
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6848 $as_echo "$STRIP" >&6; }
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6851 $as_echo "no
" >&6; }
6856 if test -z "$ac_cv_prog_STRIP"; then
6858 # Extract the first word of "strip
", so it can be a program name with args.
6859 set dummy strip; ac_word=$2
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6861 $as_echo_n "checking
for $ac_word...
" >&6; }
6862 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6863 $as_echo_n "(cached
) " >&6
6865 if test -n "$ac_ct_STRIP"; then
6866 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6872 test -z "$as_dir" && as_dir=.
6873 for ac_exec_ext in '' $ac_executable_extensions; do
6874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6875 ac_cv_prog_ac_ct_STRIP="strip
"
6876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6885 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6886 if test -n "$ac_ct_STRIP"; then
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6888 $as_echo "$ac_ct_STRIP" >&6; }
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6891 $as_echo "no
" >&6; }
6894 if test "x
$ac_ct_STRIP" = x; then
6897 case $cross_compiling:$ac_tool_warned in
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6900 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6901 ac_tool_warned=yes ;;
6906 STRIP="$ac_cv_prog_STRIP"
6909 test -z "$STRIP" && STRIP=:
6916 if test -n "$ac_tool_prefix"; then
6917 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6918 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6920 $as_echo_n "checking
for $ac_word...
" >&6; }
6921 if ${ac_cv_prog_RANLIB+:} false; then :
6922 $as_echo_n "(cached
) " >&6
6924 if test -n "$RANLIB"; then
6925 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931 test -z "$as_dir" && as_dir=.
6932 for ac_exec_ext in '' $ac_executable_extensions; do
6933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6934 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6944 RANLIB=$ac_cv_prog_RANLIB
6945 if test -n "$RANLIB"; then
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6947 $as_echo "$RANLIB" >&6; }
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6950 $as_echo "no
" >&6; }
6955 if test -z "$ac_cv_prog_RANLIB"; then
6956 ac_ct_RANLIB=$RANLIB
6957 # Extract the first word of "ranlib
", so it can be a program name with args.
6958 set dummy ranlib; ac_word=$2
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6960 $as_echo_n "checking
for $ac_word...
" >&6; }
6961 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6962 $as_echo_n "(cached
) " >&6
6964 if test -n "$ac_ct_RANLIB"; then
6965 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 test -z "$as_dir" && as_dir=.
6972 for ac_exec_ext in '' $ac_executable_extensions; do
6973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6974 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6975 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6984 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6985 if test -n "$ac_ct_RANLIB"; then
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6987 $as_echo "$ac_ct_RANLIB" >&6; }
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6990 $as_echo "no
" >&6; }
6993 if test "x
$ac_ct_RANLIB" = x; then
6996 case $cross_compiling:$ac_tool_warned in
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6999 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7000 ac_tool_warned=yes ;;
7002 RANLIB=$ac_ct_RANLIB
7005 RANLIB="$ac_cv_prog_RANLIB"
7008 test -z "$RANLIB" && RANLIB=:
7015 # Determine commands to create old-style static archives.
7016 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7017 old_postinstall_cmds='chmod 644 $oldlib'
7018 old_postuninstall_cmds=
7020 if test -n "$RANLIB"; then
7023 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7026 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7029 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7034 lock_old_archive_extraction=yes ;;
7036 lock_old_archive_extraction=no ;;
7077 # If no C compiler was specified, use CC.
7080 # If no C compiler flags were specified, use CFLAGS.
7081 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7083 # Allow CC to be a program name with arguments.
7087 # Check for command to grab the raw symbol name followed by C symbol from nm.
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7089 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7090 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7091 $as_echo_n "(cached
) " >&6
7094 # These are sane defaults that work on at least a few old systems.
7095 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7097 # Character class describing NM global symbol codes.
7098 symcode='[BCDEGRST]'
7100 # Regexp to match symbols that can be accessed directly from C.
7101 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7103 # Define system-specific variables.
7108 cygwin* | mingw* | pw32* | cegcc*)
7109 symcode='[ABCDGISTW]'
7112 if test "$host_cpu" = ia64; then
7113 symcode='[ABCDEGRST]'
7117 symcode='[BCDEGRST]'
7120 symcode='[BCDEGQRST]'
7131 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7139 # If we're using GNU nm, then use its standard symbol codes.
7140 case `$NM -V 2>&1` in
7141 *GNU* | *'with BFD'*)
7142 symcode='[ABCDGIRSTW]' ;;
7145 # Transform an extracted symbol line into a proper C declaration.
7146 # Some systems (esp. on ia64) link data and code symbols differently,
7147 # so use this general approach.
7148 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7150 # Transform an extracted symbol line into symbol name and symbol address
7151 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7152 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'"
7154 # Handle CRLF in mingw tool chain
7158 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7162 # Try without a prefix underscore, then with it.
7163 for ac_symprfx in "" "_
"; do
7165 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7166 symxfrm="\\1 $ac_symprfx\\2 \\2"
7168 # Write the raw and C identifiers.
7169 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7170 # Fake it for dumpbin and say T for any non-static function
7171 # and D for any global variable.
7172 # Also find C++ and __fastcall symbols from MSVC++,
7173 # which start with @ or ?.
7174 lt_cv_sys_global_symbol_pipe="$AWK '"\
7175 " {last_section=section; section=\$ 3};"\
7176 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7177 " \$ 0!~/External *\|/{next};"\
7178 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7179 " {if(hide[section]) next};"\
7180 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7181 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7182 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7183 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7184 " ' prfx
=^
$ac_symprfx"
7186 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7189 # Check to see that the pipe works correctly.
7193 cat > conftest.$ac_ext <<_LT_EOF
7198 void nm_test_func(void);
7199 void nm_test_func(void){}
7203 int main(){nm_test_var='a';nm_test_func();return(0);}
7206 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7207 (eval $ac_compile) 2>&5
7209 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7210 test $ac_status = 0; }; then
7211 # Now try to grab the symbols.
7213 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7214 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7216 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7217 test $ac_status = 0; } && test -s "$nlist"; then
7218 # Try sorting and uniquifying the output.
7219 if sort "$nlist" | uniq > "$nlist"T; then
7220 mv -f "$nlist"T "$nlist"
7225 # Make sure that we snagged all the symbols we need.
7226 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7227 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7228 cat <<_LT_EOF > conftest.$ac_ext
7234 # Now generate the symbol file.
7235 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7237 cat <<_LT_EOF >> conftest.$ac_ext
7239 /* The mapping between symbol names and symbols. */
7244 lt__PROGRAM__LTX_preloaded_symbols[] =
7246 { "@PROGRAM@
", (void *) 0 },
7248 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7249 cat <<\_LT_EOF >> conftest.$ac_ext
7253 /* This works around a problem in FreeBSD linker */
7254 #ifdef FREEBSD_WORKAROUND
7255 static const void *lt_preloaded_setup() {
7256 return lt__PROGRAM__LTX_preloaded_symbols;
7264 # Now try linking the two files.
7265 mv conftest.$ac_objext conftstm.$ac_objext
7266 lt_save_LIBS="$LIBS"
7267 lt_save_CFLAGS="$CFLAGS"
7268 LIBS="conftstm.
$ac_objext"
7269 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7270 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7271 (eval $ac_link) 2>&5
7273 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7274 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7277 LIBS="$lt_save_LIBS"
7278 CFLAGS="$lt_save_CFLAGS"
7280 echo "cannot
find nm_test_func
in $nlist" >&5
7283 echo "cannot
find nm_test_var
in $nlist" >&5
7286 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7289 echo "$progname: failed program was
:" >&5
7290 cat conftest.$ac_ext >&5
7292 rm -rf conftest* conftst*
7294 # Do not use the global_symbol_pipe unless it works.
7295 if test "$pipe_works" = yes; then
7298 lt_cv_sys_global_symbol_pipe=
7304 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7305 lt_cv_sys_global_symbol_to_cdecl=
7307 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7309 $as_echo "failed
" >&6; }
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7312 $as_echo "ok
" >&6; }
7336 # Check whether --enable-libtool-lock was given.
7337 if test "${enable_libtool_lock+set}" = set; then :
7338 enableval=$enable_libtool_lock;
7341 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7343 # Some flags need to be propagated to the compiler or linker for good
7347 # Find out which ABI we are using.
7348 echo 'int i;' > conftest.$ac_ext
7349 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7350 (eval $ac_compile) 2>&5
7352 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7353 test $ac_status = 0; }; then
7354 case `/usr/bin/file conftest.$ac_objext` in
7366 # Find out which ABI we are using.
7367 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7368 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7369 (eval $ac_compile) 2>&5
7371 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7372 test $ac_status = 0; }; then
7373 if test "$lt_cv_prog_gnu_ld" = yes; then
7374 case `/usr/bin/file conftest.$ac_objext` in
7376 LD="${LD-ld} -melf32bsmip"
7379 LD="${LD-ld} -melf32bmipn32"
7382 LD="${LD-ld} -melf64bmip"
7386 case `/usr/bin/file conftest.$ac_objext` in
7402 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7403 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7404 # Find out which ABI we are using.
7405 echo 'int i;' > conftest.$ac_ext
7406 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7407 (eval $ac_compile) 2>&5
7409 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7410 test $ac_status = 0; }; then
7411 case `/usr/bin/file conftest.o` in
7414 x86_64-*kfreebsd*-gnu)
7415 LD="${LD-ld} -m elf_i386_fbsd
"
7418 case `/usr/bin/file conftest.o` in
7420 LD="${LD-ld} -m elf32_x86_64
"
7423 LD="${LD-ld} -m elf_i386
"
7427 powerpc64le-*linux*)
7428 LD="${LD-ld} -m elf32lppclinux
"
7431 LD="${LD-ld} -m elf32ppclinux
"
7434 LD="${LD-ld} -m elf_s390
"
7437 LD="${LD-ld} -m elf32_sparc
"
7443 x86_64-*kfreebsd*-gnu)
7444 LD="${LD-ld} -m elf_x86_64_fbsd
"
7447 LD="${LD-ld} -m elf_x86_64
"
7450 LD="${LD-ld} -m elf64lppc
"
7453 LD="${LD-ld} -m elf64ppc
"
7455 s390*-*linux*|s390*-*tpf*)
7456 LD="${LD-ld} -m elf64_s390
"
7459 LD="${LD-ld} -m elf64_sparc
"
7469 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7470 SAVE_CFLAGS="$CFLAGS"
7471 CFLAGS="$CFLAGS -belf"
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7473 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7474 if ${lt_cv_cc_needs_belf+:} false; then :
7475 $as_echo_n "(cached
) " >&6
7478 ac_cpp='$CPP $CPPFLAGS'
7479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7484 /* end confdefs.h. */
7494 if ac_fn_c_try_link "$LINENO"; then :
7495 lt_cv_cc_needs_belf=yes
7497 lt_cv_cc_needs_belf=no
7499 rm -f core conftest.err conftest.$ac_objext \
7500 conftest$ac_exeext conftest.$ac_ext
7502 ac_cpp='$CPP $CPPFLAGS'
7503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7509 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7510 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7511 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7512 CFLAGS="$SAVE_CFLAGS"
7516 # Find out which ABI we are using.
7517 echo 'int i;' > conftest.$ac_ext
7518 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7519 (eval $ac_compile) 2>&5
7521 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7522 test $ac_status = 0; }; then
7523 case `/usr/bin/file conftest.o` in
7525 case $lt_cv_prog_gnu_ld in
7526 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7528 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7540 need_locks="$enable_libtool_lock"
7544 rhapsody* | darwin*)
7545 if test -n "$ac_tool_prefix"; then
7546 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7547 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7549 $as_echo_n "checking
for $ac_word...
" >&6; }
7550 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7551 $as_echo_n "(cached
) " >&6
7553 if test -n "$DSYMUTIL"; then
7554 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 test -z "$as_dir" && as_dir=.
7561 for ac_exec_ext in '' $ac_executable_extensions; do
7562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7563 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7564 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7573 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7574 if test -n "$DSYMUTIL"; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7576 $as_echo "$DSYMUTIL" >&6; }
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7579 $as_echo "no
" >&6; }
7584 if test -z "$ac_cv_prog_DSYMUTIL"; then
7585 ac_ct_DSYMUTIL=$DSYMUTIL
7586 # Extract the first word of "dsymutil
", so it can be a program name with args.
7587 set dummy dsymutil; ac_word=$2
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7589 $as_echo_n "checking
for $ac_word...
" >&6; }
7590 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7591 $as_echo_n "(cached
) " >&6
7593 if test -n "$ac_ct_DSYMUTIL"; then
7594 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 test -z "$as_dir" && as_dir=.
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7603 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7613 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7614 if test -n "$ac_ct_DSYMUTIL"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7616 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7619 $as_echo "no
" >&6; }
7622 if test "x
$ac_ct_DSYMUTIL" = x; then
7625 case $cross_compiling:$ac_tool_warned in
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7628 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7629 ac_tool_warned=yes ;;
7631 DSYMUTIL=$ac_ct_DSYMUTIL
7634 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7637 if test -n "$ac_tool_prefix"; then
7638 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7639 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7641 $as_echo_n "checking
for $ac_word...
" >&6; }
7642 if ${ac_cv_prog_NMEDIT+:} false; then :
7643 $as_echo_n "(cached
) " >&6
7645 if test -n "$NMEDIT"; then
7646 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7652 test -z "$as_dir" && as_dir=.
7653 for ac_exec_ext in '' $ac_executable_extensions; do
7654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7655 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7656 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7665 NMEDIT=$ac_cv_prog_NMEDIT
7666 if test -n "$NMEDIT"; then
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7668 $as_echo "$NMEDIT" >&6; }
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7671 $as_echo "no
" >&6; }
7676 if test -z "$ac_cv_prog_NMEDIT"; then
7677 ac_ct_NMEDIT=$NMEDIT
7678 # Extract the first word of "nmedit
", so it can be a program name with args.
7679 set dummy nmedit; ac_word=$2
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7681 $as_echo_n "checking
for $ac_word...
" >&6; }
7682 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7683 $as_echo_n "(cached
) " >&6
7685 if test -n "$ac_ct_NMEDIT"; then
7686 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7692 test -z "$as_dir" && as_dir=.
7693 for ac_exec_ext in '' $ac_executable_extensions; do
7694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7695 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7696 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7705 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7706 if test -n "$ac_ct_NMEDIT"; then
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7708 $as_echo "$ac_ct_NMEDIT" >&6; }
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7711 $as_echo "no
" >&6; }
7714 if test "x
$ac_ct_NMEDIT" = x; then
7717 case $cross_compiling:$ac_tool_warned in
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7720 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7721 ac_tool_warned=yes ;;
7723 NMEDIT=$ac_ct_NMEDIT
7726 NMEDIT="$ac_cv_prog_NMEDIT"
7729 if test -n "$ac_tool_prefix"; then
7730 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7731 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7733 $as_echo_n "checking
for $ac_word...
" >&6; }
7734 if ${ac_cv_prog_LIPO+:} false; then :
7735 $as_echo_n "(cached
) " >&6
7737 if test -n "$LIPO"; then
7738 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7744 test -z "$as_dir" && as_dir=.
7745 for ac_exec_ext in '' $ac_executable_extensions; do
7746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7747 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7757 LIPO=$ac_cv_prog_LIPO
7758 if test -n "$LIPO"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7760 $as_echo "$LIPO" >&6; }
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7763 $as_echo "no
" >&6; }
7768 if test -z "$ac_cv_prog_LIPO"; then
7770 # Extract the first word of "lipo
", so it can be a program name with args.
7771 set dummy lipo; ac_word=$2
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7773 $as_echo_n "checking
for $ac_word...
" >&6; }
7774 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7775 $as_echo_n "(cached
) " >&6
7777 if test -n "$ac_ct_LIPO"; then
7778 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7784 test -z "$as_dir" && as_dir=.
7785 for ac_exec_ext in '' $ac_executable_extensions; do
7786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7787 ac_cv_prog_ac_ct_LIPO="lipo
"
7788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7797 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7798 if test -n "$ac_ct_LIPO"; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7800 $as_echo "$ac_ct_LIPO" >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7803 $as_echo "no
" >&6; }
7806 if test "x
$ac_ct_LIPO" = x; then
7809 case $cross_compiling:$ac_tool_warned in
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7812 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7813 ac_tool_warned=yes ;;
7818 LIPO="$ac_cv_prog_LIPO"
7821 if test -n "$ac_tool_prefix"; then
7822 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7823 set dummy ${ac_tool_prefix}otool; ac_word=$2
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7825 $as_echo_n "checking
for $ac_word...
" >&6; }
7826 if ${ac_cv_prog_OTOOL+:} false; then :
7827 $as_echo_n "(cached
) " >&6
7829 if test -n "$OTOOL"; then
7830 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7836 test -z "$as_dir" && as_dir=.
7837 for ac_exec_ext in '' $ac_executable_extensions; do
7838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7839 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7840 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7849 OTOOL=$ac_cv_prog_OTOOL
7850 if test -n "$OTOOL"; then
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7852 $as_echo "$OTOOL" >&6; }
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7855 $as_echo "no
" >&6; }
7860 if test -z "$ac_cv_prog_OTOOL"; then
7862 # Extract the first word of "otool
", so it can be a program name with args.
7863 set dummy otool; ac_word=$2
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7865 $as_echo_n "checking
for $ac_word...
" >&6; }
7866 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7867 $as_echo_n "(cached
) " >&6
7869 if test -n "$ac_ct_OTOOL"; then
7870 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7876 test -z "$as_dir" && as_dir=.
7877 for ac_exec_ext in '' $ac_executable_extensions; do
7878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7879 ac_cv_prog_ac_ct_OTOOL="otool
"
7880 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7889 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7890 if test -n "$ac_ct_OTOOL"; then
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7892 $as_echo "$ac_ct_OTOOL" >&6; }
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7895 $as_echo "no
" >&6; }
7898 if test "x
$ac_ct_OTOOL" = x; then
7901 case $cross_compiling:$ac_tool_warned in
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7904 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7905 ac_tool_warned=yes ;;
7910 OTOOL="$ac_cv_prog_OTOOL"
7913 if test -n "$ac_tool_prefix"; then
7914 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7915 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7917 $as_echo_n "checking
for $ac_word...
" >&6; }
7918 if ${ac_cv_prog_OTOOL64+:} false; then :
7919 $as_echo_n "(cached
) " >&6
7921 if test -n "$OTOOL64"; then
7922 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7928 test -z "$as_dir" && as_dir=.
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7931 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7941 OTOOL64=$ac_cv_prog_OTOOL64
7942 if test -n "$OTOOL64"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7944 $as_echo "$OTOOL64" >&6; }
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7947 $as_echo "no
" >&6; }
7952 if test -z "$ac_cv_prog_OTOOL64"; then
7953 ac_ct_OTOOL64=$OTOOL64
7954 # Extract the first word of "otool64
", so it can be a program name with args.
7955 set dummy otool64; ac_word=$2
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7957 $as_echo_n "checking
for $ac_word...
" >&6; }
7958 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7959 $as_echo_n "(cached
) " >&6
7961 if test -n "$ac_ct_OTOOL64"; then
7962 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7968 test -z "$as_dir" && as_dir=.
7969 for ac_exec_ext in '' $ac_executable_extensions; do
7970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7971 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7972 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7981 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7982 if test -n "$ac_ct_OTOOL64"; then
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7984 $as_echo "$ac_ct_OTOOL64" >&6; }
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7987 $as_echo "no
" >&6; }
7990 if test "x
$ac_ct_OTOOL64" = x; then
7993 case $cross_compiling:$ac_tool_warned in
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7996 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7997 ac_tool_warned=yes ;;
7999 OTOOL64=$ac_ct_OTOOL64
8002 OTOOL64="$ac_cv_prog_OTOOL64"
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8032 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8033 if ${lt_cv_apple_cc_single_mod+:} false; then :
8034 $as_echo_n "(cached
) " >&6
8036 lt_cv_apple_cc_single_mod=no
8037 if test -z "${LT_MULTI_MODULE}"; then
8038 # By default we will add the -single_module flag. You can override
8039 # by either setting the environment variable LT_MULTI_MODULE
8040 # non-empty at configure time, or by adding -multi_module to the
8042 rm -rf libconftest.dylib*
8043 echo "int foo
(void
){return 1;}" > conftest.c
8044 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8045 -dynamiclib -Wl,-single_module conftest.c
" >&5
8046 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8047 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8049 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8050 lt_cv_apple_cc_single_mod=yes
8052 cat conftest.err >&5
8054 rm -rf libconftest.dylib*
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8059 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8061 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8062 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8063 $as_echo_n "(cached
) " >&6
8065 lt_cv_ld_exported_symbols_list=no
8066 save_LDFLAGS=$LDFLAGS
8067 echo "_main
" > conftest.sym
8068 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8070 /* end confdefs.h. */
8080 if ac_fn_c_try_link "$LINENO"; then :
8081 lt_cv_ld_exported_symbols_list=yes
8083 lt_cv_ld_exported_symbols_list=no
8085 rm -f core conftest.err conftest.$ac_objext \
8086 conftest$ac_exeext conftest.$ac_ext
8087 LDFLAGS="$save_LDFLAGS"
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8091 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8093 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8094 if ${lt_cv_ld_force_load+:} false; then :
8095 $as_echo_n "(cached
) " >&6
8097 lt_cv_ld_force_load=no
8098 cat > conftest.c << _LT_EOF
8099 int forced_loaded() { return 2;}
8101 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8102 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8103 echo "$AR cru libconftest.a conftest.o
" >&5
8104 $AR cru libconftest.a conftest.o 2>&5
8105 cat > conftest.c << _LT_EOF
8106 int main() { return 0;}
8108 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8109 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8111 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8112 lt_cv_ld_force_load=yes
8114 cat conftest.err >&5
8116 rm -f conftest.err libconftest.a conftest conftest.c
8117 rm -rf conftest.dSYM
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8121 $as_echo "$lt_cv_ld_force_load" >&6; }
8123 rhapsody* | darwin1.[012])
8124 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8126 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8127 darwin*) # darwin 5.x on
8128 # if running on 10.5 or later, the deployment target defaults
8129 # to the OS version, if on x86, and 10.4, the deployment
8130 # target defaults to 10.4. Don't you love it?
8131 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8132 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8133 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8135 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8137 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8141 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8142 _lt_dar_single_mod='$single_module'
8144 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8145 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8147 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8149 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8150 _lt_dsymutil='~$DSYMUTIL $lib || :'
8157 for ac_header in dlfcn.h
8159 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8161 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8162 cat >>confdefs.h <<_ACEOF
8163 #define HAVE_DLFCN_H 1
8183 # Check whether --enable-shared was given.
8184 if test "${enable_shared+set}" = set; then :
8185 enableval=$enable_shared; p=${PACKAGE-default}
8187 yes) enable_shared=yes ;;
8188 no) enable_shared=no ;;
8191 # Look at the argument we got. We use all the common list separators.
8192 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8193 for pkg in $enableval; do
8195 if test "X
$pkg" = "X
$p"; then
8214 # Check whether --enable-static was given.
8215 if test "${enable_static+set}" = set; then :
8216 enableval=$enable_static; p=${PACKAGE-default}
8218 yes) enable_static=yes ;;
8219 no) enable_static=no ;;
8222 # Look at the argument we got. We use all the common list separators.
8223 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8224 for pkg in $enableval; do
8226 if test "X
$pkg" = "X
$p"; then
8246 # Check whether --with-pic was given.
8247 if test "${with_pic+set}" = set; then :
8248 withval=$with_pic; pic_mode="$withval"
8254 test -z "$pic_mode" && pic_mode=default
8262 # Check whether --enable-fast-install was given.
8263 if test "${enable_fast_install+set}" = set; then :
8264 enableval=$enable_fast_install; p=${PACKAGE-default}
8266 yes) enable_fast_install=yes ;;
8267 no) enable_fast_install=no ;;
8269 enable_fast_install=no
8270 # Look at the argument we got. We use all the common list separators.
8271 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8272 for pkg in $enableval; do
8274 if test "X
$pkg" = "X
$p"; then
8275 enable_fast_install=yes
8282 enable_fast_install=yes
8295 # This can be used to rebuild libtool when needed
8296 LIBTOOL_DEPS="$ltmain"
8298 # Always use our own libtool.
8299 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8326 test -z "$LN_S" && LN_S="ln -s"
8341 if test -n "${ZSH_VERSION+set}" ; then
8342 setopt NO_GLOB_SUBST
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8346 $as_echo_n "checking
for objdir...
" >&6; }
8347 if ${lt_cv_objdir+:} false; then :
8348 $as_echo_n "(cached
) " >&6
8350 rm -f .libs 2>/dev/null
8351 mkdir .libs 2>/dev/null
8352 if test -d .libs; then
8355 # MS-DOS does not allow filenames that begin with a dot.
8358 rmdir .libs 2>/dev/null
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8361 $as_echo "$lt_cv_objdir" >&6; }
8362 objdir=$lt_cv_objdir
8368 cat >>confdefs.h <<_ACEOF
8369 #define LT_OBJDIR "$lt_cv_objdir/"
8377 # AIX sometimes has problems with the GCC collect2 program. For some
8378 # reason, if we set the COLLECT_NAMES environment variable, the problems
8379 # vanish in a puff of smoke.
8380 if test "X
${COLLECT_NAMES+set}" != Xset; then
8382 export COLLECT_NAMES
8389 can_build_shared=yes
8391 # All known linkers require a `.a' archive for static linking (except MSVC,
8392 # which needs '.lib').
8395 with_gnu_ld="$lt_cv_prog_gnu_ld"
8398 old_CFLAGS="$CFLAGS"
8400 # Set sane defaults for various variables
8401 test -z "$CC" && CC=cc
8402 test -z "$LTCC" && LTCC=$CC
8403 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8404 test -z "$LD" && LD=ld
8405 test -z "$ac_objext" && ac_objext=o
8407 for cc_temp in $compiler""; do
8409 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8410 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8415 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8418 # Only perform the check for file, if the check method requires it
8419 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8420 case $deplibs_check_method in
8422 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8424 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8425 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8426 $as_echo_n "(cached
) " >&6
8430 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8433 lt_save_MAGIC_CMD="$MAGIC_CMD"
8434 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8435 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8436 for ac_dir in $ac_dummy; do
8438 test -z "$ac_dir" && ac_dir=.
8439 if test -f $ac_dir/${ac_tool_prefix}file; then
8440 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8441 if test -n "$file_magic_test_file"; then
8442 case $deplibs_check_method in
8444 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8445 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8446 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8447 $EGREP "$file_magic_regex" > /dev/null; then
8452 *** Warning: the command libtool uses to detect shared libraries,
8453 *** $file_magic_cmd, produces output that libtool cannot recognize.
8454 *** The result is that libtool may fail to recognize shared libraries
8455 *** as such. This will affect the creation of libtool libraries that
8456 *** depend on shared libraries, but programs linked with such libtool
8457 *** libraries will work regardless of this problem. Nevertheless, you
8458 *** may want to report the problem to your system manager and/or to
8459 *** bug-libtool@gnu.org
8469 MAGIC_CMD="$lt_save_MAGIC_CMD"
8474 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8475 if test -n "$MAGIC_CMD"; then
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8477 $as_echo "$MAGIC_CMD" >&6; }
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8480 $as_echo "no
" >&6; }
8487 if test -z "$lt_cv_path_MAGIC_CMD"; then
8488 if test -n "$ac_tool_prefix"; then
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8490 $as_echo_n "checking
for file...
" >&6; }
8491 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8492 $as_echo_n "(cached
) " >&6
8496 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8499 lt_save_MAGIC_CMD="$MAGIC_CMD"
8500 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8501 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8502 for ac_dir in $ac_dummy; do
8504 test -z "$ac_dir" && ac_dir=.
8505 if test -f $ac_dir/file; then
8506 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8507 if test -n "$file_magic_test_file"; then
8508 case $deplibs_check_method in
8510 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8511 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8512 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8513 $EGREP "$file_magic_regex" > /dev/null; then
8518 *** Warning: the command libtool uses to detect shared libraries,
8519 *** $file_magic_cmd, produces output that libtool cannot recognize.
8520 *** The result is that libtool may fail to recognize shared libraries
8521 *** as such. This will affect the creation of libtool libraries that
8522 *** depend on shared libraries, but programs linked with such libtool
8523 *** libraries will work regardless of this problem. Nevertheless, you
8524 *** may want to report the problem to your system manager and/or to
8525 *** bug-libtool@gnu.org
8535 MAGIC_CMD="$lt_save_MAGIC_CMD"
8540 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8541 if test -n "$MAGIC_CMD"; then
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8543 $as_echo "$MAGIC_CMD" >&6; }
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8546 $as_echo "no
" >&6; }
8559 # Use C for the default configuration in the libtool script
8563 ac_cpp='$CPP $CPPFLAGS'
8564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8569 # Source file extension for C test sources.
8572 # Object file extension for compiled C test sources.
8576 # Code to be used in simple compile tests
8577 lt_simple_compile_test_code="int some_variable
= 0;"
8579 # Code to be used in simple link tests
8580 lt_simple_link_test_code='int main(){return(0);}'
8588 # If no C compiler was specified, use CC.
8591 # If no C compiler flags were specified, use CFLAGS.
8592 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8594 # Allow CC to be a program name with arguments.
8597 # Save the default compiler, since it gets overwritten when the other
8598 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8599 compiler_DEFAULT=$CC
8601 # save warnings/boilerplate of simple test code
8602 ac_outfile=conftest.$ac_objext
8603 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8604 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8605 _lt_compiler_boilerplate=`cat conftest.err`
8608 ac_outfile=conftest.$ac_objext
8609 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8610 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8611 _lt_linker_boilerplate=`cat conftest.err`
8616 ## There is no encapsulation within the following macros, do not change
8617 ## the running order or otherwise move them around unless you know exactly
8618 ## what you are doing...
8619 if test -n "$compiler"; then
8621 lt_prog_compiler_no_builtin_flag=
8623 if test "$GCC" = yes; then
8624 case $cc_basename in
8626 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8628 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8632 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8633 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8634 $as_echo_n "(cached
) " >&6
8636 lt_cv_prog_compiler_rtti_exceptions=no
8637 ac_outfile=conftest.$ac_objext
8638 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8639 lt_compiler_flag="-fno-rtti -fno-exceptions"
8640 # Insert the option either (1) after the last *FLAGS variable, or
8641 # (2) before a word containing "conftest.
", or (3) at the end.
8642 # Note that $ac_compile itself does not contain backslashes and begins
8643 # with a dollar sign (not a hyphen), so the echo should work correctly.
8644 # The option is referenced via a variable to avoid confusing sed.
8645 lt_compile=`echo "$ac_compile" | $SED \
8646 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8647 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8648 -e 's:$: $lt_compiler_flag:'`
8649 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8650 (eval "$lt_compile" 2>conftest.err)
8652 cat conftest.err >&5
8653 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8654 if (exit $ac_status) && test -s "$ac_outfile"; then
8655 # The compiler can only warn and ignore the option if not recognized
8656 # So say no if there are warnings other than the usual output.
8657 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8658 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8659 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8660 lt_cv_prog_compiler_rtti_exceptions=yes
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8667 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8669 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8670 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8682 lt_prog_compiler_wl=
8683 lt_prog_compiler_pic=
8684 lt_prog_compiler_static=
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8687 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8689 if test "$GCC" = yes; then
8690 lt_prog_compiler_wl='-Wl,'
8691 lt_prog_compiler_static='-static'
8695 # All AIX code is PIC.
8696 if test "$host_cpu" = ia64; then
8697 # AIX 5 now supports IA64 processor
8698 lt_prog_compiler_static='-Bstatic'
8700 lt_prog_compiler_pic='-fPIC'
8706 # see comment about AmigaOS4 .so support
8707 lt_prog_compiler_pic='-fPIC'
8710 # FIXME: we need at least 68020 code to build shared libraries, but
8711 # adding the `-m68020' flag to GCC prevents building anything better,
8713 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8718 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8719 # PIC is the default for these OSes.
8722 mingw* | cygwin* | pw32* | os2* | cegcc*)
8723 # This hack is so that the source file can tell whether it is being
8724 # built for inclusion in a dll (and should export symbols for example).
8725 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8726 # (--disable-auto-import) libraries
8727 lt_prog_compiler_pic='-DDLL_EXPORT'
8730 darwin* | rhapsody*)
8731 # PIC is the default on this platform
8732 # Common symbols not allowed in MH_DYLIB files
8733 lt_prog_compiler_pic='-fno-common'
8737 # PIC is the default for Haiku.
8738 # The "-static" flag exists, but is broken.
8739 lt_prog_compiler_static=
8743 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8744 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8745 # sets the default TLS model and affects inlining.
8751 lt_prog_compiler_pic='-fPIC'
8757 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8758 # Instead, we relocate shared libraries at runtime.
8762 # Just because we use GCC doesn't mean we suddenly get shared libraries
8763 # on systems that don't support them.
8764 lt_prog_compiler_can_build_shared=no
8769 # QNX uses GNU C++, but need to define -shared option too, otherwise
8771 lt_prog_compiler_pic='-fPIC -shared'
8775 if test -d /usr/nec; then
8776 lt_prog_compiler_pic=-Kconform_pic
8781 lt_prog_compiler_pic='-fPIC'
8785 case $cc_basename in
8786 nvcc*) # Cuda Compiler Driver 2.2
8787 lt_prog_compiler_wl='-Xlinker '
8788 lt_prog_compiler_pic='-Xcompiler -fPIC'
8792 # PORTME Check for flag to pass linker flags through the system compiler.
8795 lt_prog_compiler_wl='-Wl,'
8796 if test "$host_cpu" = ia64; then
8797 # AIX 5 now supports IA64 processor
8798 lt_prog_compiler_static='-Bstatic'
8800 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8804 mingw* | cygwin* | pw32* | os2* | cegcc*)
8805 # This hack is so that the source file can tell whether it is being
8806 # built for inclusion in a dll (and should export symbols for example).
8807 lt_prog_compiler_pic='-DDLL_EXPORT'
8810 hpux9* | hpux10* | hpux11*)
8811 lt_prog_compiler_wl='-Wl,'
8812 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8819 lt_prog_compiler_pic='+Z'
8822 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8823 lt_prog_compiler_static='${wl}-a ${wl}archive'
8826 irix5* | irix6* | nonstopux*)
8827 lt_prog_compiler_wl='-Wl,'
8828 # PIC (with -KPIC) is the default.
8829 lt_prog_compiler_static='-non_shared'
8832 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8833 case $cc_basename in
8834 # old Intel for x86_64 which still supported -KPIC.
8836 lt_prog_compiler_wl='-Wl,'
8837 lt_prog_compiler_pic='-KPIC'
8838 lt_prog_compiler_static='-static'
8840 # icc used to be incompatible with GCC.
8841 # ICC 10 doesn't accept -KPIC any more.
8843 lt_prog_compiler_wl='-Wl,'
8844 lt_prog_compiler_pic='-fPIC'
8845 lt_prog_compiler_static='-static'
8847 # Lahey Fortran 8.1.
8849 lt_prog_compiler_wl='-Wl,'
8850 lt_prog_compiler_pic='--shared'
8851 lt_prog_compiler_static='--static'
8853 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8854 # Portland Group compilers (*not* the Pentium gcc compiler,
8855 # which looks to be a dead project)
8856 lt_prog_compiler_wl='-Wl,'
8857 lt_prog_compiler_pic='-fpic'
8858 lt_prog_compiler_static='-Bstatic'
8861 lt_prog_compiler_wl='-Wl,'
8862 # All Alpha code is PIC.
8863 lt_prog_compiler_static='-non_shared'
8865 xl* | bgxl* | bgf* | mpixl*)
8866 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8867 lt_prog_compiler_wl='-Wl,'
8868 lt_prog_compiler_pic='-qpic'
8869 lt_prog_compiler_static='-qstaticlink'
8872 case `$CC -V 2>&1 | sed 5q` in
8873 *Sun\ F* | *Sun*Fortran*)
8874 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8875 lt_prog_compiler_pic='-KPIC'
8876 lt_prog_compiler_static='-Bstatic'
8877 lt_prog_compiler_wl=''
8881 lt_prog_compiler_pic='-KPIC'
8882 lt_prog_compiler_static='-Bstatic'
8883 lt_prog_compiler_wl='-Wl,'
8891 lt_prog_compiler_pic='-KPIC'
8892 lt_prog_compiler_static='-Bstatic'
8896 # QNX uses GNU C++, but need to define -shared option too, otherwise
8898 lt_prog_compiler_pic='-fPIC -shared'
8901 osf3* | osf4* | osf5*)
8902 lt_prog_compiler_wl='-Wl,'
8903 # All OSF/1 code is PIC.
8904 lt_prog_compiler_static='-non_shared'
8908 lt_prog_compiler_static='-non_shared'
8912 lt_prog_compiler_pic='-KPIC'
8913 lt_prog_compiler_static='-Bstatic'
8914 case $cc_basename in
8916 lt_prog_compiler_wl='-Qoption ld ';;
8918 lt_prog_compiler_wl='-Wl,';;
8923 lt_prog_compiler_wl='-Qoption ld '
8924 lt_prog_compiler_pic='-PIC'
8925 lt_prog_compiler_static='-Bstatic'
8928 sysv4 | sysv4.2uw2* | sysv4.3*)
8929 lt_prog_compiler_wl='-Wl,'
8930 lt_prog_compiler_pic='-KPIC'
8931 lt_prog_compiler_static='-Bstatic'
8935 if test -d /usr/nec ;then
8936 lt_prog_compiler_pic='-Kconform_pic'
8937 lt_prog_compiler_static='-Bstatic'
8941 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8942 lt_prog_compiler_wl='-Wl,'
8943 lt_prog_compiler_pic='-KPIC'
8944 lt_prog_compiler_static='-Bstatic'
8948 lt_prog_compiler_wl='-Wl,'
8949 lt_prog_compiler_can_build_shared=no
8953 lt_prog_compiler_pic='-pic'
8954 lt_prog_compiler_static='-Bstatic'
8958 lt_prog_compiler_can_build_shared=no
8964 # For platforms which do not support PIC, -DPIC is meaningless:
8966 lt_prog_compiler_pic=
8969 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8973 $as_echo "$lt_prog_compiler_pic" >&6; }
8981 # Check to make sure the PIC flag actually works.
8983 if test -n "$lt_prog_compiler_pic"; then
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8985 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8986 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8987 $as_echo_n "(cached
) " >&6
8989 lt_cv_prog_compiler_pic_works=no
8990 ac_outfile=conftest.$ac_objext
8991 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8992 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8993 # Insert the option either (1) after the last *FLAGS variable, or
8994 # (2) before a word containing "conftest.
", or (3) at the end.
8995 # Note that $ac_compile itself does not contain backslashes and begins
8996 # with a dollar sign (not a hyphen), so the echo should work correctly.
8997 # The option is referenced via a variable to avoid confusing sed.
8998 lt_compile=`echo "$ac_compile" | $SED \
8999 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9000 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9001 -e 's:$: $lt_compiler_flag:'`
9002 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9003 (eval "$lt_compile" 2>conftest.err)
9005 cat conftest.err >&5
9006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9007 if (exit $ac_status) && test -s "$ac_outfile"; then
9008 # The compiler can only warn and ignore the option if not recognized
9009 # So say no if there are warnings other than the usual output.
9010 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9011 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9012 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9013 lt_cv_prog_compiler_pic_works=yes
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9020 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9022 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9023 case $lt_prog_compiler_pic in
9025 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9028 lt_prog_compiler_pic=
9029 lt_prog_compiler_can_build_shared=no
9040 # Check to make sure the static flag actually works.
9042 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9044 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9045 if ${lt_cv_prog_compiler_static_works+:} false; then :
9046 $as_echo_n "(cached
) " >&6
9048 lt_cv_prog_compiler_static_works=no
9049 save_LDFLAGS="$LDFLAGS"
9050 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9051 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9052 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9053 # The linker can only warn and ignore the option if not recognized
9054 # So say no if there are warnings
9055 if test -s conftest.err; then
9056 # Append any errors to the config.log.
9057 cat conftest.err 1>&5
9058 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9059 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9060 if diff conftest.exp conftest.er2 >/dev/null; then
9061 lt_cv_prog_compiler_static_works=yes
9064 lt_cv_prog_compiler_static_works=yes
9068 LDFLAGS="$save_LDFLAGS"
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9072 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9074 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9077 lt_prog_compiler_static=
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9087 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9088 if ${lt_cv_prog_compiler_c_o+:} false; then :
9089 $as_echo_n "(cached
) " >&6
9091 lt_cv_prog_compiler_c_o=no
9092 $RM -r conftest 2>/dev/null
9096 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9098 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9099 # Insert the option either (1) after the last *FLAGS variable, or
9100 # (2) before a word containing "conftest.
", or (3) at the end.
9101 # Note that $ac_compile itself does not contain backslashes and begins
9102 # with a dollar sign (not a hyphen), so the echo should work correctly.
9103 lt_compile=`echo "$ac_compile" | $SED \
9104 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9105 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9106 -e 's:$: $lt_compiler_flag:'`
9107 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9108 (eval "$lt_compile" 2>out/conftest.err)
9110 cat out/conftest.err >&5
9111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9112 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9114 # The compiler can only warn and ignore the option if not recognized
9115 # So say no if there are warnings
9116 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9117 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9118 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9119 lt_cv_prog_compiler_c_o=yes
9124 # SGI C++ compiler will create directory out/ii_files/ for
9125 # template instantiation
9126 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9127 $RM out/* && rmdir out
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9134 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9142 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9143 if ${lt_cv_prog_compiler_c_o+:} false; then :
9144 $as_echo_n "(cached
) " >&6
9146 lt_cv_prog_compiler_c_o=no
9147 $RM -r conftest 2>/dev/null
9151 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9153 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9154 # Insert the option either (1) after the last *FLAGS variable, or
9155 # (2) before a word containing "conftest.
", or (3) at the end.
9156 # Note that $ac_compile itself does not contain backslashes and begins
9157 # with a dollar sign (not a hyphen), so the echo should work correctly.
9158 lt_compile=`echo "$ac_compile" | $SED \
9159 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9160 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9161 -e 's:$: $lt_compiler_flag:'`
9162 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9163 (eval "$lt_compile" 2>out/conftest.err)
9165 cat out/conftest.err >&5
9166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9167 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9169 # The compiler can only warn and ignore the option if not recognized
9170 # So say no if there are warnings
9171 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9172 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9173 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9174 lt_cv_prog_compiler_c_o=yes
9179 # SGI C++ compiler will create directory out/ii_files/ for
9180 # template instantiation
9181 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9182 $RM out/* && rmdir out
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9189 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9194 hard_links="nottested
"
9195 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9196 # do not overwrite the value of need_locks provided by the user
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9198 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9201 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9203 ln conftest.a conftest.b 2>&5 || hard_links=no
9204 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9206 $as_echo "$hard_links" >&6; }
9207 if test "$hard_links" = no; then
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9209 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9222 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9225 allow_undefined_flag=
9226 always_export_symbols=no
9228 archive_expsym_cmds=
9229 compiler_needs_object=no
9230 enable_shared_with_static_runtimes=no
9231 export_dynamic_flag_spec=
9232 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9233 hardcode_automatic=no
9235 hardcode_direct_absolute=no
9236 hardcode_libdir_flag_spec=
9237 hardcode_libdir_flag_spec_ld=
9238 hardcode_libdir_separator=
9240 hardcode_shlibpath_var=unsupported
9242 link_all_deplibs=unknown
9245 old_archive_from_new_cmds=
9246 old_archive_from_expsyms_cmds=
9247 thread_safe_flag_spec=
9248 whole_archive_flag_spec=
9249 # include_expsyms should be a list of space-separated symbols to be *always*
9250 # included in the symbol list
9252 # exclude_expsyms can be an extended regexp of symbols to exclude
9253 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9254 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9255 # as well as any symbol that contains `d'.
9256 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9257 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9258 # platforms (ab)use it in PIC code, but their linkers get confused if
9259 # the symbol is explicitly referenced. Since portable code cannot
9260 # rely on this symbol name, it's probably fine to never include it in
9261 # preloaded symbol tables.
9262 # Exclude shared library initialization/finalization symbols.
9263 extract_expsyms_cmds=
9266 cygwin* | mingw* | pw32* | cegcc*)
9267 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9268 # When not using gcc, we currently assume that we are using
9269 # Microsoft Visual C++.
9270 if test "$GCC" != yes; then
9275 # we just hope/assume this is gcc and not c89 (= MSVC++)
9285 # On some targets, GNU ld is compatible enough with the native linker
9286 # that we're better off using the native interface for both.
9287 lt_use_gnu_ld_interface=no
9288 if test "$with_gnu_ld" = yes; then
9291 # The AIX port of GNU ld has always aspired to compatibility
9292 # with the native linker. However, as the warning in the GNU ld
9293 # block says, versions before 2.19.5* couldn't really create working
9294 # shared libraries, regardless of the interface used.
9295 case `$LD -v 2>&1` in
9296 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9297 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9298 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9300 lt_use_gnu_ld_interface=yes
9305 lt_use_gnu_ld_interface=yes
9310 if test "$lt_use_gnu_ld_interface" = yes; then
9311 # If archive_cmds runs LD, not CC, wlarc should be empty
9314 # Set some defaults for GNU ld with shared library support. These
9315 # are reset later if shared libraries are not supported. Putting them
9316 # here allows them to be overridden if necessary.
9317 runpath_var=LD_RUN_PATH
9318 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9319 export_dynamic_flag_spec='${wl}--export-dynamic'
9320 # ancient GNU ld didn't support --whole-archive et. al.
9321 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9322 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9324 whole_archive_flag_spec=
9326 supports_anon_versioning=no
9327 case `$LD -v 2>&1` in
9328 *GNU\ gold*) supports_anon_versioning=yes ;;
9329 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9330 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9331 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9332 *\ 2.11.*) ;; # other 2.11 versions
9333 *) supports_anon_versioning=yes ;;
9336 # See if GNU ld supports shared libraries.
9339 # On AIX/PPC, the GNU linker is very broken
9340 if test "$host_cpu" != ia64; then
9344 *** Warning: the GNU linker, at least up to release 2.19, is reported
9345 *** to be unable to reliably create shared libraries on AIX.
9346 *** Therefore, libtool is disabling shared libraries support. If you
9347 *** really care for shared libraries, you may want to install binutils
9348 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9349 *** You will then need to restart the configuration process.
9358 # see comment about AmigaOS4 .so support
9359 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9360 archive_expsym_cmds=''
9363 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9364 hardcode_libdir_flag_spec
='-L$libdir'
9365 hardcode_minus_L
=yes
9371 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9372 allow_undefined_flag
=unsupported
9373 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9374 # support --undefined. This deserves some investigation. FIXME
9375 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9381 cygwin
* | mingw
* | pw32
* | cegcc
*)
9382 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9383 # as there is no search path for DLLs.
9384 hardcode_libdir_flag_spec
='-L$libdir'
9385 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9386 allow_undefined_flag
=unsupported
9387 always_export_symbols
=no
9388 enable_shared_with_static_runtimes
=yes
9389 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9391 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9392 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9393 # If the export-symbols file already is a .def file (1st line
9394 # is EXPORTS), use it as is; otherwise, prepend...
9395 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9396 cp $export_symbols $output_objdir/$soname.def;
9398 echo EXPORTS > $output_objdir/$soname.def;
9399 cat $export_symbols >> $output_objdir/$soname.def;
9401 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9408 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9409 link_all_deplibs
=yes
9414 hardcode_shlibpath_var
=no
9415 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9416 export_dynamic_flag_spec
='${wl}-E'
9417 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9418 # Instead, shared libraries are loaded at an image base (0x10000000 by
9419 # default) and relocated if they conflict, which is a slow very memory
9420 # consuming and fragmenting process. To avoid this, we pick a random,
9421 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9422 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9423 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9424 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'
9427 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9429 if test "$host_os" = linux-dietlibc
; then
9430 case $cc_basename in
9431 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9434 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9435 && test "$tmp_diet" = no
9437 tmp_addflag
=' $pic_flag'
9438 tmp_sharedflag
='-shared'
9439 case $cc_basename,$host_cpu in
9440 pgcc
*) # Portland Group C compiler
9441 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'
9442 tmp_addflag
=' $pic_flag'
9444 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9445 # Portland Group f77 and f90 compilers
9446 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'
9447 tmp_addflag
=' $pic_flag -Mnomain' ;;
9448 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9449 tmp_addflag
=' -i_dynamic' ;;
9450 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9451 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9452 ifc
* | ifort
*) # Intel Fortran compiler
9453 tmp_addflag
=' -nofor_main' ;;
9454 lf95
*) # Lahey Fortran 8.1
9455 whole_archive_flag_spec
=
9456 tmp_sharedflag
='--shared' ;;
9457 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9458 tmp_sharedflag
='-qmkshrobj'
9460 nvcc
*) # Cuda Compiler Driver 2.2
9461 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'
9462 compiler_needs_object
=yes
9465 case `$CC -V 2>&1 | sed 5q` in
9466 *Sun\ C
*) # Sun C 5.9
9467 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'
9468 compiler_needs_object
=yes
9469 tmp_sharedflag
='-G' ;;
9470 *Sun\ F
*) # Sun Fortran 8.3
9471 tmp_sharedflag
='-G' ;;
9473 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9475 if test "x$supports_anon_versioning" = xyes
; then
9476 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9477 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9478 echo "local: *; };" >> $output_objdir/$libname.ver~
9479 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9482 case $cc_basename in
9483 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9484 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9485 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9486 hardcode_libdir_flag_spec
=
9487 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9488 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9489 if test "x$supports_anon_versioning" = xyes
; then
9490 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9491 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9492 echo "local: *; };" >> $output_objdir/$libname.ver~
9493 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9503 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9504 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9507 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9508 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9513 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9517 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9518 *** create shared libraries on Solaris systems. Therefore, libtool
9519 *** is disabling shared libraries support. We urge you to upgrade GNU
9520 *** binutils to release 2.9.1 or newer. Another option is to modify
9521 *** your PATH or compiler configuration so that the native linker is
9522 *** used, and then restart.
9525 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9526 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9527 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9533 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9534 case `$LD -v 2>&1` in
9535 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9539 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9540 *** reliably create shared libraries on SCO systems. Therefore, libtool
9541 *** is disabling shared libraries support. We urge you to upgrade GNU
9542 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9543 *** your PATH or compiler configuration so that the native linker is
9544 *** used, and then restart.
9549 # For security reasons, it is highly recommended that you always
9550 # use absolute paths for naming shared libraries, and exclude the
9551 # DT_RUNPATH tag from executables and libraries. But doing so
9552 # requires that you compile everything twice, which is a pain.
9553 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9554 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9555 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9556 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9565 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9568 hardcode_shlibpath_var
=no
9572 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9573 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9574 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9581 if test "$ld_shlibs" = no
; then
9583 hardcode_libdir_flag_spec
=
9584 export_dynamic_flag_spec
=
9585 whole_archive_flag_spec
=
9588 # PORTME fill in a description of your system's linker (not GNU ld)
9591 allow_undefined_flag
=unsupported
9592 always_export_symbols
=yes
9593 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'
9594 # Note: this linker hardcodes the directories in LIBPATH if there
9595 # are no directories specified by -L.
9596 hardcode_minus_L
=yes
9597 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9598 # Neither direct hardcoding nor static linking is supported with a
9600 hardcode_direct
=unsupported
9605 if test "$host_cpu" = ia64
; then
9606 # On IA64, the linker does run time linking by default, so we don't
9607 # have to do anything special.
9608 aix_use_runtimelinking
=no
9609 exp_sym_flag
='-Bexport'
9612 # If we're using GNU nm, then we don't want the "-C" option.
9613 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9614 # Also, AIX nm treats weak defined symbols like other global
9615 # defined symbols, whereas GNU nm marks them as "W".
9616 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9617 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'
9619 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'
9621 aix_use_runtimelinking
=no
9623 # Test if we are trying to use run time linking or normal
9624 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9625 # need to do runtime linking.
9626 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9627 for ld_flag
in $LDFLAGS; do
9628 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9629 aix_use_runtimelinking
=yes
9636 exp_sym_flag
='-bexport'
9637 no_entry_flag
='-bnoentry'
9640 # When large executables or shared objects are built, AIX ld can
9641 # have problems creating the table of contents. If linking a library
9642 # or program results in "error TOC overflow" add -mminimal-toc to
9643 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9644 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9648 hardcode_direct_absolute
=yes
9649 hardcode_libdir_separator
=':'
9650 link_all_deplibs
=yes
9651 file_list_spec
='${wl}-f,'
9653 if test "$GCC" = yes; then
9654 case $host_os in aix4.
[012]|aix4.
[012].
*)
9655 # We only want to do this on AIX 4.2 and lower, the check
9656 # below for broken collect2 doesn't work under 4.3+
9657 collect2name
=`${CC} -print-prog-name=collect2`
9658 if test -f "$collect2name" &&
9659 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9661 # We have reworked collect2
9664 # We have old collect2
9665 hardcode_direct
=unsupported
9666 # It fails to find uninstalled libraries when the uninstalled
9667 # path is not listed in the libpath. Setting hardcode_minus_L
9668 # to unsupported forces relinking
9669 hardcode_minus_L
=yes
9670 hardcode_libdir_flag_spec
='-L$libdir'
9671 hardcode_libdir_separator
=
9675 shared_flag
='-shared'
9676 if test "$aix_use_runtimelinking" = yes; then
9677 shared_flag
="$shared_flag "'${wl}-G'
9681 if test "$host_cpu" = ia64
; then
9682 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9683 # chokes on -Wl,-G. The following line is correct:
9686 if test "$aix_use_runtimelinking" = yes; then
9687 shared_flag
='${wl}-G'
9689 shared_flag
='${wl}-bM:SRE'
9694 export_dynamic_flag_spec
='${wl}-bexpall'
9695 # It seems that -bexpall does not export symbols beginning with
9696 # underscore (_), so it is better to generate a list of symbols to export.
9697 always_export_symbols
=yes
9698 if test "$aix_use_runtimelinking" = yes; then
9699 # Warning - without using the other runtime loading flags (-brtl),
9700 # -berok will link without error, but may produce a broken library.
9701 allow_undefined_flag
='-berok'
9702 # Determine the default libpath from the value encoded in an
9704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9705 /* end confdefs.h. */
9715 if ac_fn_c_try_link
"$LINENO"; then :
9717 lt_aix_libpath_sed
='
9718 /Import File Strings/,/^$/ {
9724 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9725 # Check for a 64-bit object if we didn't find anything.
9726 if test -z "$aix_libpath"; then
9727 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9730 rm -f core conftest.err conftest.
$ac_objext \
9731 conftest
$ac_exeext conftest.
$ac_ext
9732 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9734 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9735 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"
9737 if test "$host_cpu" = ia64
; then
9738 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9739 allow_undefined_flag
="-z nodefs"
9740 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"
9742 # Determine the default libpath from the value encoded in an
9744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9745 /* end confdefs.h. */
9755 if ac_fn_c_try_link
"$LINENO"; then :
9757 lt_aix_libpath_sed
='
9758 /Import File Strings/,/^$/ {
9764 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9765 # Check for a 64-bit object if we didn't find anything.
9766 if test -z "$aix_libpath"; then
9767 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9770 rm -f core conftest.err conftest.
$ac_objext \
9771 conftest
$ac_exeext conftest.
$ac_ext
9772 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9774 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9775 # Warning - without using the other run time loading flags,
9776 # -berok will link without error, but may produce a broken library.
9777 no_undefined_flag
=' ${wl}-bernotok'
9778 allow_undefined_flag
=' ${wl}-berok'
9779 if test "$with_gnu_ld" = yes; then
9780 # We only use this code for GNU lds that support --whole-archive.
9781 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9783 # Exported symbols can be pulled into shared objects from archives
9784 whole_archive_flag_spec
='$convenience'
9786 archive_cmds_need_lc
=yes
9787 # This is similar to how AIX traditionally builds its shared libraries.
9788 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'
9796 # see comment about AmigaOS4 .so support
9797 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9798 archive_expsym_cmds
=''
9801 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)'
9802 hardcode_libdir_flag_spec
='-L$libdir'
9803 hardcode_minus_L
=yes
9809 export_dynamic_flag_spec
=-rdynamic
9812 cygwin
* | mingw
* | pw32
* | cegcc
*)
9813 # When not using gcc, we currently assume that we are using
9814 # Microsoft Visual C++.
9815 # hardcode_libdir_flag_spec is actually meaningless, as there is
9816 # no search path for DLLs.
9817 hardcode_libdir_flag_spec
=' '
9818 allow_undefined_flag
=unsupported
9819 # Tell ltmain to make .lib files, not .a files.
9821 # Tell ltmain to make .dll files, not .so files.
9823 # FIXME: Setting linknames here is a bad hack.
9824 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9825 # The linker will automatically build a .lib file if we build a DLL.
9826 old_archive_from_new_cmds
='true'
9827 # FIXME: Should let the user specify the lib program.
9828 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9829 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9830 enable_shared_with_static_runtimes
=yes
9833 darwin
* | rhapsody
*)
9836 archive_cmds_need_lc
=no
9838 hardcode_automatic
=yes
9839 hardcode_shlibpath_var
=unsupported
9840 if test "$lt_cv_ld_force_load" = "yes"; then
9841 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\"`'
9843 whole_archive_flag_spec
=''
9845 link_all_deplibs
=yes
9846 allow_undefined_flag
="$_lt_dar_allow_undefined"
9847 case $cc_basename in
9848 ifort
*) _lt_dar_can_shared
=yes ;;
9849 *) _lt_dar_can_shared
=$GCC ;;
9851 if test "$_lt_dar_can_shared" = "yes"; then
9852 output_verbose_link_cmd
=func_echo_all
9853 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9854 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9855 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}"
9856 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}"
9865 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9866 hardcode_libdir_flag_spec
='-L$libdir'
9867 hardcode_shlibpath_var
=no
9870 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9871 # support. Future versions do this automatically, but an explicit c++rt0.o
9872 # does not break anything, and helps significantly (at the cost of a little
9875 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9876 hardcode_libdir_flag_spec
='-R$libdir'
9878 hardcode_shlibpath_var
=no
9881 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9883 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9885 hardcode_minus_L
=yes
9886 hardcode_shlibpath_var
=no
9889 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9890 freebsd
* | dragonfly
*)
9891 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9892 hardcode_libdir_flag_spec
='-R$libdir'
9894 hardcode_shlibpath_var
=no
9898 if test "$GCC" = yes; then
9899 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'
9901 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'
9903 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9904 hardcode_libdir_separator
=:
9907 # hardcode_minus_L: Not really in the search PATH,
9908 # but as the default location of the library.
9909 hardcode_minus_L
=yes
9910 export_dynamic_flag_spec
='${wl}-E'
9914 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9915 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9917 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9919 if test "$with_gnu_ld" = no
; then
9920 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9921 hardcode_libdir_flag_spec_ld
='+b $libdir'
9922 hardcode_libdir_separator
=:
9924 hardcode_direct_absolute
=yes
9925 export_dynamic_flag_spec
='${wl}-E'
9926 # hardcode_minus_L: Not really in the search PATH,
9927 # but as the default location of the library.
9928 hardcode_minus_L
=yes
9933 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9936 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9939 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9948 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9951 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9955 # Older versions of the 11.00 compiler do not understand -b yet
9956 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9958 $as_echo_n "checking if $CC understands -b... " >&6; }
9959 if ${lt_cv_prog_compiler__b+:} false
; then :
9960 $as_echo_n "(cached) " >&6
9962 lt_cv_prog_compiler__b
=no
9963 save_LDFLAGS
="$LDFLAGS"
9964 LDFLAGS
="$LDFLAGS -b"
9965 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9966 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9967 # The linker can only warn and ignore the option if not recognized
9968 # So say no if there are warnings
9969 if test -s conftest.err
; then
9970 # Append any errors to the config.log.
9971 cat conftest.err
1>&5
9972 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9973 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9974 if diff conftest.exp conftest.er2
>/dev
/null
; then
9975 lt_cv_prog_compiler__b
=yes
9978 lt_cv_prog_compiler__b
=yes
9982 LDFLAGS
="$save_LDFLAGS"
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9986 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9988 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9989 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9991 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9997 if test "$with_gnu_ld" = no
; then
9998 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9999 hardcode_libdir_separator
=:
10004 hardcode_shlibpath_var
=no
10007 hardcode_direct
=yes
10008 hardcode_direct_absolute
=yes
10009 export_dynamic_flag_spec
='${wl}-E'
10011 # hardcode_minus_L: Not really in the search PATH,
10012 # but as the default location of the library.
10013 hardcode_minus_L
=yes
10019 irix5
* | irix6
* | nonstopux
*)
10020 if test "$GCC" = yes; then
10021 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'
10022 # Try to use the -exported_symbol ld option, if it does not
10023 # work, assume that -exports_file does not work either and
10024 # implicitly export all symbols.
10025 save_LDFLAGS
="$LDFLAGS"
10026 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10031 if ac_fn_c_try_link
"$LINENO"; then :
10032 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'
10035 rm -f core conftest.err conftest.
$ac_objext \
10036 conftest
$ac_exeext conftest.
$ac_ext
10037 LDFLAGS
="$save_LDFLAGS"
10039 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'
10040 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'
10042 archive_cmds_need_lc
='no'
10043 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10044 hardcode_libdir_separator
=:
10046 link_all_deplibs
=yes
10050 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10051 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10053 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10055 hardcode_libdir_flag_spec
='-R$libdir'
10056 hardcode_direct
=yes
10057 hardcode_shlibpath_var
=no
10061 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10062 hardcode_direct
=yes
10063 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10064 hardcode_libdir_separator
=:
10065 hardcode_shlibpath_var
=no
10072 if test -f /usr
/libexec
/ld.so
; then
10073 hardcode_direct
=yes
10074 hardcode_shlibpath_var
=no
10075 hardcode_direct_absolute
=yes
10076 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10077 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10078 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10079 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10080 export_dynamic_flag_spec
='${wl}-E'
10083 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10084 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10085 hardcode_libdir_flag_spec
='-R$libdir'
10088 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10089 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10099 hardcode_libdir_flag_spec
='-L$libdir'
10100 hardcode_minus_L
=yes
10101 allow_undefined_flag
=unsupported
10102 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'
10103 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10107 if test "$GCC" = yes; then
10108 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10109 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'
10111 allow_undefined_flag
=' -expect_unresolved \*'
10112 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'
10114 archive_cmds_need_lc
='no'
10115 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10116 hardcode_libdir_separator
=:
10119 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10120 if test "$GCC" = yes; then
10121 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10122 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'
10123 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10125 allow_undefined_flag
=' -expect_unresolved \*'
10126 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'
10127 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~
10128 $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'
10130 # Both c and cxx compiler support -rpath directly
10131 hardcode_libdir_flag_spec
='-rpath $libdir'
10133 archive_cmds_need_lc
='no'
10134 hardcode_libdir_separator
=:
10138 no_undefined_flag
=' -z defs'
10139 if test "$GCC" = yes; then
10141 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10142 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10143 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10145 case `$CC -V 2>&1` in
10148 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10150 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10154 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10155 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10156 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10160 hardcode_libdir_flag_spec
='-R$libdir'
10161 hardcode_shlibpath_var
=no
10163 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10165 # The compiler driver will combine and reorder linker options,
10166 # but understands `-z linker_flag'. GCC discards it without `$wl',
10167 # but is careful enough not to reorder.
10168 # Supported since Solaris 2.6 (maybe 2.5.1?)
10169 if test "$GCC" = yes; then
10170 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10172 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10176 link_all_deplibs
=yes
10180 if test "x$host_vendor" = xsequent
; then
10181 # Use $CC to link under sequent, because it throws in some extra .o
10182 # files that make .init and .fini sections work.
10183 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10185 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10187 hardcode_libdir_flag_spec
='-L$libdir'
10188 hardcode_direct
=yes
10189 hardcode_minus_L
=yes
10190 hardcode_shlibpath_var
=no
10194 case $host_vendor in
10196 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10197 hardcode_direct
=yes # is this really true???
10200 ## LD is ld it makes a PLAMLIB
10201 ## CC just makes a GrossModule.
10202 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10203 reload_cmds
='$CC -r -o $output$reload_objs'
10207 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10208 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10211 runpath_var
='LD_RUN_PATH'
10212 hardcode_shlibpath_var
=no
10216 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10217 hardcode_shlibpath_var
=no
10218 export_dynamic_flag_spec
='-Bexport'
10222 if test -d /usr
/nec
; then
10223 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10224 hardcode_shlibpath_var
=no
10225 runpath_var
=LD_RUN_PATH
10226 hardcode_runpath_var
=yes
10231 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10232 no_undefined_flag
='${wl}-z,text'
10233 archive_cmds_need_lc
=no
10234 hardcode_shlibpath_var
=no
10235 runpath_var
='LD_RUN_PATH'
10237 if test "$GCC" = yes; then
10238 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10239 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10241 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10242 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10246 sysv5
* | sco3.2v5
* | sco5v6
*)
10247 # Note: We can NOT use -z defs as we might desire, because we do not
10248 # link with -lc, and that would cause any symbols used from libc to
10249 # always be unresolved, which means just about no library would
10250 # ever link correctly. If we're not using GNU ld we use -z text
10251 # though, which does catch some bad symbols but isn't as heavy-handed
10253 no_undefined_flag
='${wl}-z,text'
10254 allow_undefined_flag
='${wl}-z,nodefs'
10255 archive_cmds_need_lc
=no
10256 hardcode_shlibpath_var
=no
10257 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10258 hardcode_libdir_separator
=':'
10259 link_all_deplibs
=yes
10260 export_dynamic_flag_spec
='${wl}-Bexport'
10261 runpath_var
='LD_RUN_PATH'
10263 if test "$GCC" = yes; then
10264 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10265 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10267 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10268 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10273 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10274 hardcode_libdir_flag_spec
='-L$libdir'
10275 hardcode_shlibpath_var
=no
10283 if test x
$host_vendor = xsni
; then
10285 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10286 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10293 $as_echo "$ld_shlibs" >&6; }
10294 test "$ld_shlibs" = no
&& can_build_shared
=no
10296 with_gnu_ld
=$with_gnu_ld
10313 # Do we need to explicitly link libc?
10315 case "x$archive_cmds_need_lc" in
10317 # Assume -lc should be added
10318 archive_cmds_need_lc
=yes
10320 if test "$enable_shared" = yes && test "$GCC" = yes; then
10321 case $archive_cmds in
10323 # FIXME: we may have to deal with multi-command sequences.
10326 # Test whether the compiler implicitly links with -lc since on some
10327 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10328 # to ld, don't add -lc before -lgcc.
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10330 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10331 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10332 $as_echo_n "(cached) " >&6
10335 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10337 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10338 (eval $ac_compile) 2>&5
10340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10341 test $ac_status = 0; } 2>conftest.err
; then
10344 libobjs
=conftest.
$ac_objext
10346 wl
=$lt_prog_compiler_wl
10347 pic_flag
=$lt_prog_compiler_pic
10353 lt_save_allow_undefined_flag
=$allow_undefined_flag
10354 allow_undefined_flag
=
10355 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10356 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10359 test $ac_status = 0; }
10361 lt_cv_archive_cmds_need_lc
=no
10363 lt_cv_archive_cmds_need_lc
=yes
10365 allow_undefined_flag
=$lt_save_allow_undefined_flag
10367 cat conftest.err
1>&5
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10373 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10374 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10538 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10540 if test "$GCC" = yes; then
10542 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10543 *) lt_awk_arg
="/^libraries:/" ;;
10546 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10547 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10549 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10550 case $lt_search_path_spec in
10552 # if the path contains ";" then we assume it to be the separator
10553 # otherwise default to the standard path separator (i.e. ":") - it is
10554 # assumed that no part of a normal pathname contains ";" but that should
10555 # okay in the real world where ";" in dirpaths is itself problematic.
10556 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10559 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10562 # Ok, now we have the path, separated by spaces, we can step through it
10563 # and add multilib dir if necessary.
10564 lt_tmp_lt_search_path_spec
=
10565 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10566 for lt_sys_path
in $lt_search_path_spec; do
10567 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10568 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10570 test -d "$lt_sys_path" && \
10571 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10574 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10575 BEGIN {RS=" "; FS="/|\n";} {
10578 for (lt_i = NF; lt_i > 0; lt_i--) {
10579 if ($lt_i != "" && $lt_i != ".") {
10580 if ($lt_i == "..") {
10583 if (lt_count == 0) {
10584 lt_foo="/" $lt_i lt_foo;
10591 if (lt_foo != "") { lt_freq[lt_foo]++; }
10592 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10594 # AWK program above erroneously prepends '/' to C:/dos/paths
10597 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10598 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10600 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10602 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10604 library_names_spec
=
10605 libname_spec
='lib$name'
10609 postuninstall_cmds
=
10613 shlibpath_overrides_runpath
=unknown
10615 dynamic_linker
="$host_os ld.so"
10616 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10617 need_lib_prefix
=unknown
10618 hardcode_into_libs
=no
10620 # when you set need_version to no, make sure it does not cause -set_version
10621 # flags to be left without arguments
10622 need_version
=unknown
10627 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10628 shlibpath_var
=LIBPATH
10630 # AIX 3 has no versioning support, so we append a major version to the name.
10631 soname_spec
='${libname}${release}${shared_ext}$major'
10638 hardcode_into_libs
=yes
10639 if test "$host_cpu" = ia64
; then
10640 # AIX 5 supports IA64
10641 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10642 shlibpath_var
=LD_LIBRARY_PATH
10644 # With GCC up to 2.95.x, collect2 would create an import file
10645 # for dependence libraries. The import file would start with
10646 # the line `#! .'. This would cause the generated library to
10647 # depend on `.', always an invalid library. This was fixed in
10648 # development snapshots of GCC prior to 3.0.
10650 aix4 | aix4.
[01] | aix4.
[01].
*)
10651 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10653 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10656 can_build_shared
=no
10660 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10661 # soname into executable. Probably we can add versioning support to
10662 # collect2, so additional links can be useful in future.
10663 if test "$aix_use_runtimelinking" = yes; then
10664 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10665 # instead of lib<name>.a to let people know that these are not
10666 # typical AIX shared libraries.
10667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10669 # We preserve .a as extension for shared libraries through AIX4.2
10670 # and later when we are not doing run time linking.
10671 library_names_spec
='${libname}${release}.a $libname.a'
10672 soname_spec
='${libname}${release}${shared_ext}$major'
10674 shlibpath_var
=LIBPATH
10681 # Since July 2007 AmigaOS4 officially supports .so libraries.
10682 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10686 library_names_spec
='$libname.ixlibrary $libname.a'
10687 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10688 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'
10694 library_names_spec
='${libname}${shared_ext}'
10695 dynamic_linker
="$host_os ld.so"
10696 shlibpath_var
=LIBRARY_PATH
10702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10703 soname_spec
='${libname}${release}${shared_ext}$major'
10704 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10705 shlibpath_var
=LD_LIBRARY_PATH
10706 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10707 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10708 # the default ld.so.conf also contains /usr/contrib/lib and
10709 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10710 # libtool to hard-code these into programs
10713 cygwin
* | mingw
* | pw32
* | cegcc
*)
10714 version_type
=windows
10719 case $GCC,$host_os in
10720 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10721 library_names_spec
='$libname.dll.a'
10722 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10723 postinstall_cmds
='base_file=`basename \${file}`~
10724 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10725 dldir=$destdir/`dirname \$dlpath`~
10726 test -d \$dldir || mkdir -p \$dldir~
10727 $install_prog $dir/$dlname \$dldir/$dlname~
10728 chmod a+x \$dldir/$dlname~
10729 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10730 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10732 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10733 dlpath=$dir/\$dldll~
10735 shlibpath_overrides_runpath
=yes
10739 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10740 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10742 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10745 # MinGW DLLs use traditional 'lib' prefix
10746 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10749 # pw32 DLLs use 'pw' prefix rather than 'lib'
10750 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10756 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10759 dynamic_linker
='Win32 ld.exe'
10760 # FIXME: first we should search . and the directory the executable is in
10764 darwin
* | rhapsody
*)
10765 dynamic_linker
="$host_os dyld"
10766 version_type
=darwin
10769 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10770 soname_spec
='${libname}${release}${major}$shared_ext'
10771 shlibpath_overrides_runpath
=yes
10772 shlibpath_var
=DYLD_LIBRARY_PATH
10773 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10775 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10776 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10784 soname_spec
='${libname}${release}${shared_ext}$major'
10785 shlibpath_var
=LD_LIBRARY_PATH
10788 freebsd
* | dragonfly
*)
10789 # DragonFly does not have aout. When/if they implement a new
10790 # versioning mechanism, adjust this.
10791 if test -x /usr
/bin
/objformat
; then
10792 objformat
=`/usr/bin/objformat`
10795 freebsd
[23].
*) objformat
=aout
;;
10796 *) objformat
=elf
;;
10799 version_type
=freebsd-
$objformat
10800 case $version_type in
10802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10807 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10811 shlibpath_var
=LD_LIBRARY_PATH
10814 shlibpath_overrides_runpath
=yes
10816 freebsd3.
[01]* | freebsdelf3.
[01]*)
10817 shlibpath_overrides_runpath
=yes
10818 hardcode_into_libs
=yes
10820 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10821 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10822 shlibpath_overrides_runpath
=no
10823 hardcode_into_libs
=yes
10825 *) # from 4.6 on, and DragonFly
10826 shlibpath_overrides_runpath
=yes
10827 hardcode_into_libs
=yes
10836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10837 soname_spec
='${libname}${release}${shared_ext}$major'
10838 shlibpath_var
=LD_LIBRARY_PATH
10839 hardcode_into_libs
=yes
10846 dynamic_linker
="$host_os runtime_loader"
10847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10848 soname_spec
='${libname}${release}${shared_ext}$major'
10849 shlibpath_var
=LIBRARY_PATH
10850 shlibpath_overrides_runpath
=yes
10851 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10852 hardcode_into_libs
=yes
10855 hpux9
* | hpux10
* | hpux11
*)
10856 # Give a soname corresponding to the major version so that dld.sl refuses to
10857 # link against other versions.
10864 hardcode_into_libs
=yes
10865 dynamic_linker
="$host_os dld.so"
10866 shlibpath_var
=LD_LIBRARY_PATH
10867 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10869 soname_spec
='${libname}${release}${shared_ext}$major'
10870 if test "X$HPUX_IA64_MODE" = X32
; then
10871 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10873 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10875 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10879 hardcode_into_libs
=yes
10880 dynamic_linker
="$host_os dld.sl"
10881 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10882 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884 soname_spec
='${libname}${release}${shared_ext}$major'
10885 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10886 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10890 dynamic_linker
="$host_os dld.sl"
10891 shlibpath_var
=SHLIB_PATH
10892 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10894 soname_spec
='${libname}${release}${shared_ext}$major'
10897 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10898 postinstall_cmds
='chmod 555 $lib'
10899 # or fails outright, so override atomically:
10900 install_override_mode
=555
10907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10908 soname_spec
='${libname}${release}${shared_ext}$major'
10909 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10910 shlibpath_var
=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath
=no
10912 hardcode_into_libs
=yes
10915 irix5
* | irix6
* | nonstopux
*)
10917 nonstopux
*) version_type
=nonstopux
;;
10919 if test "$lt_cv_prog_gnu_ld" = yes; then
10927 soname_spec
='${libname}${release}${shared_ext}$major'
10928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10930 irix5
* | nonstopux
*)
10931 libsuff
= shlibsuff
=
10934 case $LD in # libtool.m4 will add one of these switches to LD
10935 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10936 libsuff
= shlibsuff
= libmagic
=32-bit;;
10937 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10938 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10939 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10940 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10941 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10945 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10946 shlibpath_overrides_runpath
=no
10947 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10948 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10949 hardcode_into_libs
=yes
10952 # No shared lib support for Linux oldld, aout, or coff.
10953 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10957 # This must be Linux ELF.
10959 # uclinux* changes (here and below) have been submitted to the libtool
10960 # project, but have not yet been accepted: they are GCC-local changes
10961 # for the time being. (See
10962 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10963 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 soname_spec
='${libname}${release}${shared_ext}$major'
10969 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10970 shlibpath_var
=LD_LIBRARY_PATH
10971 shlibpath_overrides_runpath
=no
10973 # Some binutils ld are patched to set DT_RUNPATH
10974 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10975 $as_echo_n "(cached) " >&6
10977 lt_cv_shlibpath_overrides_runpath
=no
10978 save_LDFLAGS
=$LDFLAGS
10979 save_libdir
=$libdir
10980 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10981 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10993 if ac_fn_c_try_link
"$LINENO"; then :
10994 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10995 lt_cv_shlibpath_overrides_runpath
=yes
10998 rm -f core conftest.err conftest.
$ac_objext \
10999 conftest
$ac_exeext conftest.
$ac_ext
11000 LDFLAGS
=$save_LDFLAGS
11001 libdir
=$save_libdir
11005 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11007 # This implies no fast_install, which is unacceptable.
11008 # Some rework will be needed to allow for fast_install
11009 # before this can be enabled.
11010 hardcode_into_libs
=yes
11012 # Append ld.so.conf contents to the search path
11013 if test -f /etc
/ld.so.conf
; then
11014 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' ' '`
11015 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11018 # We used to test for /lib/ld.so.1 and disable shared libraries on
11019 # powerpc, because MkLinux only supported shared libraries with the
11020 # GNU dynamic linker. Since this was broken with cross compilers,
11021 # most powerpc-linux boxes support dynamic linking these days and
11022 # people can always --disable-shared, the test was removed, and we
11023 # assume the GNU/Linux dynamic linker is in use.
11024 dynamic_linker
='GNU/Linux ld.so'
11031 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11033 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11034 dynamic_linker
='NetBSD (a.out) ld.so'
11036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11037 soname_spec
='${libname}${release}${shared_ext}$major'
11038 dynamic_linker
='NetBSD ld.elf_so'
11040 shlibpath_var
=LD_LIBRARY_PATH
11041 shlibpath_overrides_runpath
=yes
11042 hardcode_into_libs
=yes
11047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var
=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath
=yes
11056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11057 soname_spec
='${libname}${release}${shared_ext}$major'
11058 shlibpath_var
=LD_LIBRARY_PATH
11059 shlibpath_overrides_runpath
=no
11060 hardcode_into_libs
=yes
11061 dynamic_linker
='ldqnx.so'
11066 sys_lib_dlsearch_path_spec
="/usr/lib"
11068 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11070 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11071 *) need_version
=no
;;
11073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11074 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11075 shlibpath_var
=LD_LIBRARY_PATH
11076 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11078 openbsd2.
[89] | openbsd2.
[89].
*)
11079 shlibpath_overrides_runpath
=no
11082 shlibpath_overrides_runpath
=yes
11086 shlibpath_overrides_runpath
=yes
11091 libname_spec
='$name'
11094 library_names_spec
='$libname${shared_ext} $libname.a'
11095 dynamic_linker
='OS/2 ld.exe'
11096 shlibpath_var
=LIBPATH
11099 osf3
* | osf4
* | osf5
*)
11103 soname_spec
='${libname}${release}${shared_ext}$major'
11104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11105 shlibpath_var
=LD_LIBRARY_PATH
11106 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11107 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11119 soname_spec
='${libname}${release}${shared_ext}$major'
11120 shlibpath_var
=LD_LIBRARY_PATH
11121 shlibpath_overrides_runpath
=yes
11122 hardcode_into_libs
=yes
11123 # ldd complains unless libraries are executable
11124 postinstall_cmds
='chmod +x $lib'
11129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11130 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11131 shlibpath_var
=LD_LIBRARY_PATH
11132 shlibpath_overrides_runpath
=yes
11133 if test "$with_gnu_ld" = yes; then
11141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11142 soname_spec
='${libname}${release}${shared_ext}$major'
11143 shlibpath_var
=LD_LIBRARY_PATH
11144 case $host_vendor in
11146 shlibpath_overrides_runpath
=no
11148 runpath_var
=LD_RUN_PATH
11156 shlibpath_overrides_runpath
=no
11157 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11163 if test -d /usr
/nec
;then
11165 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11166 soname_spec
='$libname${shared_ext}.$major'
11167 shlibpath_var
=LD_LIBRARY_PATH
11171 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11172 version_type
=freebsd-elf
11175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11176 soname_spec
='${libname}${release}${shared_ext}$major'
11177 shlibpath_var
=LD_LIBRARY_PATH
11178 shlibpath_overrides_runpath
=yes
11179 hardcode_into_libs
=yes
11180 if test "$with_gnu_ld" = yes; then
11181 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11183 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11186 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11190 sys_lib_dlsearch_path_spec
='/usr/lib'
11194 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11199 shlibpath_var
=LD_LIBRARY_PATH
11200 shlibpath_overrides_runpath
=no
11201 hardcode_into_libs
=yes
11206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11207 soname_spec
='${libname}${release}${shared_ext}$major'
11208 shlibpath_var
=LD_LIBRARY_PATH
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11216 $as_echo "$dynamic_linker" >&6; }
11217 test "$dynamic_linker" = no
&& can_build_shared
=no
11219 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11220 if test "$GCC" = yes; then
11221 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11224 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11225 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11227 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11228 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11323 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11325 if test -n "$hardcode_libdir_flag_spec" ||
11326 test -n "$runpath_var" ||
11327 test "X$hardcode_automatic" = "Xyes" ; then
11329 # We can hardcode non-existent directories.
11330 if test "$hardcode_direct" != no
&&
11331 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11332 # have to relink, otherwise we might link with an installed library
11333 # when we should be linking with a yet-to-be-installed one
11334 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11335 test "$hardcode_minus_L" != no
; then
11336 # Linking always hardcodes the temporary library directory.
11337 hardcode_action
=relink
11339 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11340 hardcode_action
=immediate
11343 # We cannot hardcode anything, or else we can only hardcode existing
11345 hardcode_action
=unsupported
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11348 $as_echo "$hardcode_action" >&6; }
11350 if test "$hardcode_action" = relink ||
11351 test "$inherit_rpath" = yes; then
11352 # Fast installation is not supported
11353 enable_fast_install
=no
11354 elif test "$shlibpath_overrides_runpath" = yes ||
11355 test "$enable_shared" = no
; then
11356 # Fast installation is not necessary
11357 enable_fast_install
=needless
11365 if test "x$enable_dlopen" != xyes
; then
11366 enable_dlopen
=unknown
11367 enable_dlopen_self
=unknown
11368 enable_dlopen_self_static
=unknown
11375 lt_cv_dlopen
="load_add_on"
11377 lt_cv_dlopen_self
=yes
11380 mingw
* | pw32
* | cegcc
*)
11381 lt_cv_dlopen
="LoadLibrary"
11386 lt_cv_dlopen
="dlopen"
11391 # if libdl is installed we need to link against it
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11393 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11394 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11395 $as_echo_n "(cached) " >&6
11397 ac_check_lib_save_LIBS
=$LIBS
11399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11402 /* Override any GCC internal prototype to avoid an error.
11403 Use char because int might match the return type of a GCC
11404 builtin and then its argument prototype would still apply. */
11417 if ac_fn_c_try_link
"$LINENO"; then :
11418 ac_cv_lib_dl_dlopen
=yes
11420 ac_cv_lib_dl_dlopen
=no
11422 rm -f core conftest.err conftest.
$ac_objext \
11423 conftest
$ac_exeext conftest.
$ac_ext
11424 LIBS
=$ac_check_lib_save_LIBS
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11427 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11428 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11429 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11432 lt_cv_dlopen
="dyld"
11434 lt_cv_dlopen_self
=yes
11441 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11442 if test "x$ac_cv_func_shl_load" = xyes
; then :
11443 lt_cv_dlopen
="shl_load"
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11446 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11447 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11448 $as_echo_n "(cached) " >&6
11450 ac_check_lib_save_LIBS
=$LIBS
11452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11465 return shl_load ();
11470 if ac_fn_c_try_link
"$LINENO"; then :
11471 ac_cv_lib_dld_shl_load
=yes
11473 ac_cv_lib_dld_shl_load
=no
11475 rm -f core conftest.err conftest.
$ac_objext \
11476 conftest
$ac_exeext conftest.
$ac_ext
11477 LIBS
=$ac_check_lib_save_LIBS
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11480 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11481 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11482 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11484 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11485 if test "x$ac_cv_func_dlopen" = xyes
; then :
11486 lt_cv_dlopen
="dlopen"
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11489 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11490 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11491 $as_echo_n "(cached) " >&6
11493 ac_check_lib_save_LIBS
=$LIBS
11495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11513 if ac_fn_c_try_link
"$LINENO"; then :
11514 ac_cv_lib_dl_dlopen
=yes
11516 ac_cv_lib_dl_dlopen
=no
11518 rm -f core conftest.err conftest.
$ac_objext \
11519 conftest
$ac_exeext conftest.
$ac_ext
11520 LIBS
=$ac_check_lib_save_LIBS
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11523 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11524 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11525 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11528 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11529 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11530 $as_echo_n "(cached) " >&6
11532 ac_check_lib_save_LIBS
=$LIBS
11533 LIBS
="-lsvld $LIBS"
11534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11552 if ac_fn_c_try_link
"$LINENO"; then :
11553 ac_cv_lib_svld_dlopen
=yes
11555 ac_cv_lib_svld_dlopen
=no
11557 rm -f core conftest.err conftest.
$ac_objext \
11558 conftest
$ac_exeext conftest.
$ac_ext
11559 LIBS
=$ac_check_lib_save_LIBS
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11562 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11563 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11564 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11567 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11568 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11569 $as_echo_n "(cached) " >&6
11571 ac_check_lib_save_LIBS
=$LIBS
11573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11576 /* Override any GCC internal prototype to avoid an error.
11577 Use char because int might match the return type of a GCC
11578 builtin and then its argument prototype would still apply. */
11586 return dld_link ();
11591 if ac_fn_c_try_link
"$LINENO"; then :
11592 ac_cv_lib_dld_dld_link
=yes
11594 ac_cv_lib_dld_dld_link
=no
11596 rm -f core conftest.err conftest.
$ac_objext \
11597 conftest
$ac_exeext conftest.
$ac_ext
11598 LIBS
=$ac_check_lib_save_LIBS
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11601 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11602 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11603 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11624 if test "x$lt_cv_dlopen" != xno
; then
11630 case $lt_cv_dlopen in
11632 save_CPPFLAGS
="$CPPFLAGS"
11633 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11635 save_LDFLAGS
="$LDFLAGS"
11636 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11639 LIBS
="$lt_cv_dlopen_libs $LIBS"
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11642 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11643 if ${lt_cv_dlopen_self+:} false
; then :
11644 $as_echo_n "(cached) " >&6
11646 if test "$cross_compiling" = yes; then :
11647 lt_cv_dlopen_self
=cross
11649 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11650 lt_status
=$lt_dlunknown
11651 cat > conftest.
$ac_ext <<_LT_EOF
11652 #line 11652 "configure"
11653 #include "confdefs.h"
11662 # define LT_DLGLOBAL RTLD_GLOBAL
11665 # define LT_DLGLOBAL DL_GLOBAL
11667 # define LT_DLGLOBAL 0
11671 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11672 find out it does not work in some platform. */
11673 #ifndef LT_DLLAZY_OR_NOW
11675 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11678 # define LT_DLLAZY_OR_NOW DL_LAZY
11681 # define LT_DLLAZY_OR_NOW RTLD_NOW
11684 # define LT_DLLAZY_OR_NOW DL_NOW
11686 # define LT_DLLAZY_OR_NOW 0
11693 /* When -fvisbility=hidden is used, assume the code has been annotated
11694 correspondingly for the symbols needed. */
11695 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11696 void fnord () __attribute__((visibility("default")));
11699 void fnord () { int i=42; }
11702 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11703 int status = $lt_dlunknown;
11707 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11710 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11711 else puts (dlerror ());
11713 /* dlclose (self); */
11721 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11722 (eval $ac_link) 2>&5
11724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11725 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11726 (.
/conftest
; exit; ) >&5 2>/dev
/null
11728 case x
$lt_status in
11729 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11730 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11731 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11734 # compilation failed
11735 lt_cv_dlopen_self
=no
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11743 $as_echo "$lt_cv_dlopen_self" >&6; }
11745 if test "x$lt_cv_dlopen_self" = xyes
; then
11746 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11748 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11749 if ${lt_cv_dlopen_self_static+:} false
; then :
11750 $as_echo_n "(cached) " >&6
11752 if test "$cross_compiling" = yes; then :
11753 lt_cv_dlopen_self_static
=cross
11755 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11756 lt_status
=$lt_dlunknown
11757 cat > conftest.
$ac_ext <<_LT_EOF
11758 #line 11758 "configure"
11759 #include "confdefs.h"
11768 # define LT_DLGLOBAL RTLD_GLOBAL
11771 # define LT_DLGLOBAL DL_GLOBAL
11773 # define LT_DLGLOBAL 0
11777 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11778 find out it does not work in some platform. */
11779 #ifndef LT_DLLAZY_OR_NOW
11781 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11784 # define LT_DLLAZY_OR_NOW DL_LAZY
11787 # define LT_DLLAZY_OR_NOW RTLD_NOW
11790 # define LT_DLLAZY_OR_NOW DL_NOW
11792 # define LT_DLLAZY_OR_NOW 0
11799 /* When -fvisbility=hidden is used, assume the code has been annotated
11800 correspondingly for the symbols needed. */
11801 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11802 void fnord () __attribute__((visibility("default")));
11805 void fnord () { int i=42; }
11808 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11809 int status = $lt_dlunknown;
11813 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11816 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11817 else puts (dlerror ());
11819 /* dlclose (self); */
11827 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11828 (eval $ac_link) 2>&5
11830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11831 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11832 (.
/conftest
; exit; ) >&5 2>/dev
/null
11834 case x
$lt_status in
11835 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11836 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11837 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11840 # compilation failed
11841 lt_cv_dlopen_self_static
=no
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11849 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11852 CPPFLAGS
="$save_CPPFLAGS"
11853 LDFLAGS
="$save_LDFLAGS"
11858 case $lt_cv_dlopen_self in
11859 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11860 *) enable_dlopen_self
=unknown
;;
11863 case $lt_cv_dlopen_self_static in
11864 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11865 *) enable_dlopen_self_static
=unknown
;;
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11888 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11889 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11890 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11891 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11893 $as_echo "yes" >&6; }
11895 # FIXME - insert some real tests, host_os isn't really good enough
11898 if test -n "$STRIP" ; then
11899 striplib
="$STRIP -x"
11900 old_striplib
="$STRIP -S"
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11902 $as_echo "yes" >&6; }
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11905 $as_echo "no" >&6; }
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11910 $as_echo "no" >&6; }
11926 # Report which library types will actually be built
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11928 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11930 $as_echo "$can_build_shared" >&6; }
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11933 $as_echo_n "checking whether to build shared libraries... " >&6; }
11934 test "$can_build_shared" = "no" && enable_shared
=no
11936 # On AIX, shared libraries and static libraries use the same namespace, and
11937 # are all built from PIC.
11940 test "$enable_shared" = yes && enable_static
=no
11941 if test -n "$RANLIB"; then
11942 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11943 postinstall_cmds
='$RANLIB $lib'
11948 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11949 test "$enable_shared" = yes && enable_static
=no
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11954 $as_echo "$enable_shared" >&6; }
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11957 $as_echo_n "checking whether to build static libraries... " >&6; }
11958 # Make sure either enable_shared or enable_static is yes.
11959 test "$enable_shared" = yes || enable_static
=yes
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11961 $as_echo "$enable_static" >&6; }
11968 ac_cpp
='$CPP $CPPFLAGS'
11969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11987 ac_config_commands
="$ac_config_commands libtool"
11992 # Only expand once:
11998 gdc_save_DFLAGS
=$GDCFLAGS
11999 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime $GDCFLAGS"
12002 # Source file extension for D test sources.
12005 # Object file extension for compiled D test sources.
12009 # Code to be used in simple compile tests
12010 lt_simple_compile_test_code
="\
12012 shared int some_variable = 0;
12015 # Code to be used in simple link tests
12016 lt_simple_link_test_code
="\
12018 extern(C) int main() { return 0; }
12021 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12028 # If no C compiler was specified, use CC.
12031 # If no C compiler flags were specified, use CFLAGS.
12032 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12034 # Allow CC to be a program name with arguments.
12038 # save warnings/boilerplate of simple test code
12039 ac_outfile
=conftest.
$ac_objext
12040 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12041 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12042 _lt_compiler_boilerplate
=`cat conftest.err`
12045 ac_outfile
=conftest.
$ac_objext
12046 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12047 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12048 _lt_linker_boilerplate
=`cat conftest.err`
12052 # Allow CC to be a program name with arguments.
12054 lt_save_CFLAGS
=$CFLAGS
12062 for cc_temp
in $compiler""; do
12064 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12065 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12070 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12073 # GDC did not exist at the time GCC didn't implicitly link libc in.
12074 archive_cmds_need_lc_D
=no
12076 old_archive_cmds_D
=$old_archive_cmds
12077 reload_flag_D
=$reload_flag
12078 reload_cmds_D
=$reload_cmds
12081 ## There is no encapsulation within the following macros, do not change
12082 ## the running order or otherwise move them around unless you know exactly
12083 ## what you are doing...
12084 if test -n "$compiler"; then
12086 lt_prog_compiler_no_builtin_flag_D
=
12088 if test "$GCC" = yes; then
12089 case $cc_basename in
12091 lt_prog_compiler_no_builtin_flag_D
=' -Xcompiler -fno-builtin' ;;
12093 lt_prog_compiler_no_builtin_flag_D
=' -fno-builtin' ;;
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12097 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
12098 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
12099 $as_echo_n "(cached) " >&6
12101 lt_cv_prog_compiler_rtti_exceptions
=no
12102 ac_outfile
=conftest.
$ac_objext
12103 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12104 lt_compiler_flag
="-fno-rtti -fno-exceptions"
12105 # Insert the option either (1) after the last *FLAGS variable, or
12106 # (2) before a word containing "conftest.", or (3) at the end.
12107 # Note that $ac_compile itself does not contain backslashes and begins
12108 # with a dollar sign (not a hyphen), so the echo should work correctly.
12109 # The option is referenced via a variable to avoid confusing sed.
12110 lt_compile
=`echo "$ac_compile" | $SED \
12111 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12112 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12113 -e 's:$: $lt_compiler_flag:'`
12114 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12115 (eval "$lt_compile" 2>conftest.err
)
12117 cat conftest.err
>&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 if (exit $ac_status) && test -s "$ac_outfile"; then
12120 # The compiler can only warn and ignore the option if not recognized
12121 # So say no if there are warnings other than the usual output.
12122 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12123 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12124 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12125 lt_cv_prog_compiler_rtti_exceptions
=yes
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12132 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12134 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
12135 lt_prog_compiler_no_builtin_flag_D
="$lt_prog_compiler_no_builtin_flag_D -fno-rtti -fno-exceptions"
12144 lt_prog_compiler_wl_D
=
12145 lt_prog_compiler_pic_D
=
12146 lt_prog_compiler_static_D
=
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12149 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12151 if test "$GCC" = yes; then
12152 lt_prog_compiler_wl_D
='-Wl,'
12153 lt_prog_compiler_static_D
='-static'
12157 # All AIX code is PIC.
12158 if test "$host_cpu" = ia64
; then
12159 # AIX 5 now supports IA64 processor
12160 lt_prog_compiler_static_D
='-Bstatic'
12162 lt_prog_compiler_pic_D
='-fPIC'
12168 # see comment about AmigaOS4 .so support
12169 lt_prog_compiler_pic_D
='-fPIC'
12172 # FIXME: we need at least 68020 code to build shared libraries, but
12173 # adding the `-m68020' flag to GCC prevents building anything better,
12175 lt_prog_compiler_pic_D
='-m68020 -resident32 -malways-restore-a4'
12180 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12181 # PIC is the default for these OSes.
12184 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12185 # This hack is so that the source file can tell whether it is being
12186 # built for inclusion in a dll (and should export symbols for example).
12187 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12188 # (--disable-auto-import) libraries
12189 lt_prog_compiler_pic_D
='-DDLL_EXPORT'
12192 darwin
* | rhapsody
*)
12193 # PIC is the default on this platform
12194 # Common symbols not allowed in MH_DYLIB files
12195 lt_prog_compiler_pic_D
='-fno-common'
12199 # PIC is the default for Haiku.
12200 # The "-static" flag exists, but is broken.
12201 lt_prog_compiler_static_D
=
12205 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12206 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12207 # sets the default TLS model and affects inlining.
12213 lt_prog_compiler_pic_D
='-fPIC'
12219 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12220 # Instead, we relocate shared libraries at runtime.
12224 # Just because we use GCC doesn't mean we suddenly get shared libraries
12225 # on systems that don't support them.
12226 lt_prog_compiler_can_build_shared_D
=no
12231 # QNX uses GNU C++, but need to define -shared option too, otherwise
12232 # it will coredump.
12233 lt_prog_compiler_pic_D
='-fPIC -shared'
12237 if test -d /usr
/nec
; then
12238 lt_prog_compiler_pic_D
=-Kconform_pic
12243 lt_prog_compiler_pic_D
='-fPIC'
12247 case $cc_basename in
12248 nvcc
*) # Cuda Compiler Driver 2.2
12249 lt_prog_compiler_wl_D
='-Xlinker '
12250 lt_prog_compiler_pic_D
='-Xcompiler -fPIC'
12254 # PORTME Check for flag to pass linker flags through the system compiler.
12257 lt_prog_compiler_wl_D
='-Wl,'
12258 if test "$host_cpu" = ia64
; then
12259 # AIX 5 now supports IA64 processor
12260 lt_prog_compiler_static_D
='-Bstatic'
12262 lt_prog_compiler_static_D
='-bnso -bI:/lib/syscalls.exp'
12266 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12267 # This hack is so that the source file can tell whether it is being
12268 # built for inclusion in a dll (and should export symbols for example).
12269 lt_prog_compiler_pic_D
='-DDLL_EXPORT'
12272 hpux9
* | hpux10
* | hpux11
*)
12273 lt_prog_compiler_wl_D
='-Wl,'
12274 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12275 # not for PA HP-UX.
12281 lt_prog_compiler_pic_D
='+Z'
12284 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12285 lt_prog_compiler_static_D
='${wl}-a ${wl}archive'
12288 irix5
* | irix6
* | nonstopux
*)
12289 lt_prog_compiler_wl_D
='-Wl,'
12290 # PIC (with -KPIC) is the default.
12291 lt_prog_compiler_static_D
='-non_shared'
12294 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12295 case $cc_basename in
12296 # old Intel for x86_64 which still supported -KPIC.
12298 lt_prog_compiler_wl_D
='-Wl,'
12299 lt_prog_compiler_pic_D
='-KPIC'
12300 lt_prog_compiler_static_D
='-static'
12302 # icc used to be incompatible with GCC.
12303 # ICC 10 doesn't accept -KPIC any more.
12305 lt_prog_compiler_wl_D
='-Wl,'
12306 lt_prog_compiler_pic_D
='-fPIC'
12307 lt_prog_compiler_static_D
='-static'
12309 # Lahey Fortran 8.1.
12311 lt_prog_compiler_wl_D
='-Wl,'
12312 lt_prog_compiler_pic_D
='--shared'
12313 lt_prog_compiler_static_D
='--static'
12315 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12316 # Portland Group compilers (*not* the Pentium gcc compiler,
12317 # which looks to be a dead project)
12318 lt_prog_compiler_wl_D
='-Wl,'
12319 lt_prog_compiler_pic_D
='-fpic'
12320 lt_prog_compiler_static_D
='-Bstatic'
12323 lt_prog_compiler_wl_D
='-Wl,'
12324 # All Alpha code is PIC.
12325 lt_prog_compiler_static_D
='-non_shared'
12327 xl
* | bgxl
* | bgf
* | mpixl
*)
12328 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12329 lt_prog_compiler_wl_D
='-Wl,'
12330 lt_prog_compiler_pic_D
='-qpic'
12331 lt_prog_compiler_static_D
='-qstaticlink'
12334 case `$CC -V 2>&1 | sed 5q` in
12335 *Sun\ F
* |
*Sun
*Fortran
*)
12336 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12337 lt_prog_compiler_pic_D
='-KPIC'
12338 lt_prog_compiler_static_D
='-Bstatic'
12339 lt_prog_compiler_wl_D
=''
12343 lt_prog_compiler_pic_D
='-KPIC'
12344 lt_prog_compiler_static_D
='-Bstatic'
12345 lt_prog_compiler_wl_D
='-Wl,'
12353 lt_prog_compiler_pic_D
='-KPIC'
12354 lt_prog_compiler_static_D
='-Bstatic'
12358 # QNX uses GNU C++, but need to define -shared option too, otherwise
12359 # it will coredump.
12360 lt_prog_compiler_pic_D
='-fPIC -shared'
12363 osf3
* | osf4
* | osf5
*)
12364 lt_prog_compiler_wl_D
='-Wl,'
12365 # All OSF/1 code is PIC.
12366 lt_prog_compiler_static_D
='-non_shared'
12370 lt_prog_compiler_static_D
='-non_shared'
12374 lt_prog_compiler_pic_D
='-KPIC'
12375 lt_prog_compiler_static_D
='-Bstatic'
12376 case $cc_basename in
12377 f77
* | f90
* | f95
*)
12378 lt_prog_compiler_wl_D
='-Qoption ld ';;
12380 lt_prog_compiler_wl_D
='-Wl,';;
12385 lt_prog_compiler_wl_D
='-Qoption ld '
12386 lt_prog_compiler_pic_D
='-PIC'
12387 lt_prog_compiler_static_D
='-Bstatic'
12390 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12391 lt_prog_compiler_wl_D
='-Wl,'
12392 lt_prog_compiler_pic_D
='-KPIC'
12393 lt_prog_compiler_static_D
='-Bstatic'
12397 if test -d /usr
/nec
;then
12398 lt_prog_compiler_pic_D
='-Kconform_pic'
12399 lt_prog_compiler_static_D
='-Bstatic'
12403 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12404 lt_prog_compiler_wl_D
='-Wl,'
12405 lt_prog_compiler_pic_D
='-KPIC'
12406 lt_prog_compiler_static_D
='-Bstatic'
12410 lt_prog_compiler_wl_D
='-Wl,'
12411 lt_prog_compiler_can_build_shared_D
=no
12415 lt_prog_compiler_pic_D
='-pic'
12416 lt_prog_compiler_static_D
='-Bstatic'
12420 lt_prog_compiler_can_build_shared_D
=no
12426 # For platforms which do not support PIC, -DPIC is meaningless:
12428 lt_prog_compiler_pic_D
=
12431 lt_prog_compiler_pic_D
="$lt_prog_compiler_pic_D"
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_D" >&5
12435 $as_echo "$lt_prog_compiler_pic_D" >&6; }
12440 # Check to make sure the PIC flag actually works.
12442 if test -n "$lt_prog_compiler_pic_D"; then
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_D works" >&5
12444 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_D works... " >&6; }
12445 if ${lt_cv_prog_compiler_pic_works_D+:} false
; then :
12446 $as_echo_n "(cached) " >&6
12448 lt_cv_prog_compiler_pic_works_D
=no
12449 ac_outfile
=conftest.
$ac_objext
12450 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12451 lt_compiler_flag
="$lt_prog_compiler_pic_D"
12452 # Insert the option either (1) after the last *FLAGS variable, or
12453 # (2) before a word containing "conftest.", or (3) at the end.
12454 # Note that $ac_compile itself does not contain backslashes and begins
12455 # with a dollar sign (not a hyphen), so the echo should work correctly.
12456 # The option is referenced via a variable to avoid confusing sed.
12457 lt_compile
=`echo "$ac_compile" | $SED \
12458 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12459 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12460 -e 's:$: $lt_compiler_flag:'`
12461 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12462 (eval "$lt_compile" 2>conftest.err
)
12464 cat conftest.err
>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 if (exit $ac_status) && test -s "$ac_outfile"; then
12467 # The compiler can only warn and ignore the option if not recognized
12468 # So say no if there are warnings other than the usual output.
12469 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12470 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12471 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12472 lt_cv_prog_compiler_pic_works_D
=yes
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_D" >&5
12479 $as_echo "$lt_cv_prog_compiler_pic_works_D" >&6; }
12481 if test x
"$lt_cv_prog_compiler_pic_works_D" = xyes
; then
12482 case $lt_prog_compiler_pic_D in
12484 *) lt_prog_compiler_pic_D
=" $lt_prog_compiler_pic_D" ;;
12487 lt_prog_compiler_pic_D
=
12488 lt_prog_compiler_can_build_shared_D
=no
12496 # Check to make sure the static flag actually works.
12498 wl
=$lt_prog_compiler_wl_D eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_D\"
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12500 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12501 if ${lt_cv_prog_compiler_static_works_D+:} false
; then :
12502 $as_echo_n "(cached) " >&6
12504 lt_cv_prog_compiler_static_works_D
=no
12505 save_LDFLAGS
="$LDFLAGS"
12506 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12507 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12508 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12509 # The linker can only warn and ignore the option if not recognized
12510 # So say no if there are warnings
12511 if test -s conftest.err
; then
12512 # Append any errors to the config.log.
12513 cat conftest.err
1>&5
12514 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12515 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12516 if diff conftest.exp conftest.er2
>/dev
/null
; then
12517 lt_cv_prog_compiler_static_works_D
=yes
12520 lt_cv_prog_compiler_static_works_D
=yes
12524 LDFLAGS
="$save_LDFLAGS"
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_D" >&5
12528 $as_echo "$lt_cv_prog_compiler_static_works_D" >&6; }
12530 if test x
"$lt_cv_prog_compiler_static_works_D" = xyes
; then
12533 lt_prog_compiler_static_D
=
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12540 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12541 if ${lt_cv_prog_compiler_c_o_D+:} false
; then :
12542 $as_echo_n "(cached) " >&6
12544 lt_cv_prog_compiler_c_o_D
=no
12545 $RM -r conftest
2>/dev
/null
12549 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12551 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12552 # Insert the option either (1) after the last *FLAGS variable, or
12553 # (2) before a word containing "conftest.", or (3) at the end.
12554 # Note that $ac_compile itself does not contain backslashes and begins
12555 # with a dollar sign (not a hyphen), so the echo should work correctly.
12556 lt_compile
=`echo "$ac_compile" | $SED \
12557 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12558 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12559 -e 's:$: $lt_compiler_flag:'`
12560 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12561 (eval "$lt_compile" 2>out
/conftest.err
)
12563 cat out
/conftest.err
>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12567 # The compiler can only warn and ignore the option if not recognized
12568 # So say no if there are warnings
12569 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12570 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12571 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12572 lt_cv_prog_compiler_c_o_D
=yes
12577 # SGI C++ compiler will create directory out/ii_files/ for
12578 # template instantiation
12579 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12580 $RM out
/* && rmdir out
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_D" >&5
12587 $as_echo "$lt_cv_prog_compiler_c_o_D" >&6; }
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12592 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12593 if ${lt_cv_prog_compiler_c_o_D+:} false
; then :
12594 $as_echo_n "(cached) " >&6
12596 lt_cv_prog_compiler_c_o_D
=no
12597 $RM -r conftest
2>/dev
/null
12601 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12603 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12604 # Insert the option either (1) after the last *FLAGS variable, or
12605 # (2) before a word containing "conftest.", or (3) at the end.
12606 # Note that $ac_compile itself does not contain backslashes and begins
12607 # with a dollar sign (not a hyphen), so the echo should work correctly.
12608 lt_compile
=`echo "$ac_compile" | $SED \
12609 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12610 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12611 -e 's:$: $lt_compiler_flag:'`
12612 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12613 (eval "$lt_compile" 2>out
/conftest.err
)
12615 cat out
/conftest.err
>&5
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12619 # The compiler can only warn and ignore the option if not recognized
12620 # So say no if there are warnings
12621 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12622 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12623 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12624 lt_cv_prog_compiler_c_o_D
=yes
12629 # SGI C++ compiler will create directory out/ii_files/ for
12630 # template instantiation
12631 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12632 $RM out
/* && rmdir out
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_D" >&5
12639 $as_echo "$lt_cv_prog_compiler_c_o_D" >&6; }
12644 hard_links
="nottested"
12645 if test "$lt_cv_prog_compiler_c_o_D" = no
&& test "$need_locks" != no
; then
12646 # do not overwrite the value of need_locks provided by the user
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12648 $as_echo_n "checking if we can lock with hard links... " >&6; }
12651 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12653 ln conftest.a conftest.b
2>&5 || hard_links
=no
12654 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12656 $as_echo "$hard_links" >&6; }
12657 if test "$hard_links" = no
; then
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12659 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12669 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12672 allow_undefined_flag_D
=
12673 always_export_symbols_D
=no
12675 archive_expsym_cmds_D
=
12676 compiler_needs_object_D
=no
12677 enable_shared_with_static_runtimes_D
=no
12678 export_dynamic_flag_spec_D
=
12679 export_symbols_cmds_D
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12680 hardcode_automatic_D
=no
12681 hardcode_direct_D
=no
12682 hardcode_direct_absolute_D
=no
12683 hardcode_libdir_flag_spec_D
=
12684 hardcode_libdir_flag_spec_ld_D
=
12685 hardcode_libdir_separator_D
=
12686 hardcode_minus_L_D
=no
12687 hardcode_shlibpath_var_D
=unsupported
12689 link_all_deplibs_D
=unknown
12691 module_expsym_cmds_D
=
12692 old_archive_from_new_cmds_D
=
12693 old_archive_from_expsyms_cmds_D
=
12694 thread_safe_flag_spec_D
=
12695 whole_archive_flag_spec_D
=
12696 # include_expsyms should be a list of space-separated symbols to be *always*
12697 # included in the symbol list
12699 # exclude_expsyms can be an extended regexp of symbols to exclude
12700 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12701 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12702 # as well as any symbol that contains `d'.
12703 exclude_expsyms_D
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12704 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12705 # platforms (ab)use it in PIC code, but their linkers get confused if
12706 # the symbol is explicitly referenced. Since portable code cannot
12707 # rely on this symbol name, it's probably fine to never include it in
12708 # preloaded symbol tables.
12709 # Exclude shared library initialization/finalization symbols.
12710 extract_expsyms_cmds
=
12713 cygwin
* | mingw
* | pw32
* | cegcc
*)
12714 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12715 # When not using gcc, we currently assume that we are using
12716 # Microsoft Visual C++.
12717 if test "$GCC" != yes; then
12722 # we just hope/assume this is gcc and not c89 (= MSVC++)
12732 # On some targets, GNU ld is compatible enough with the native linker
12733 # that we're better off using the native interface for both.
12734 lt_use_gnu_ld_interface
=no
12735 if test "$with_gnu_ld" = yes; then
12738 # The AIX port of GNU ld has always aspired to compatibility
12739 # with the native linker. However, as the warning in the GNU ld
12740 # block says, versions before 2.19.5* couldn't really create working
12741 # shared libraries, regardless of the interface used.
12742 case `$LD -v 2>&1` in
12743 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12744 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12745 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12747 lt_use_gnu_ld_interface
=yes
12752 lt_use_gnu_ld_interface
=yes
12757 if test "$lt_use_gnu_ld_interface" = yes; then
12758 # If archive_cmds runs LD, not CC, wlarc should be empty
12761 # Set some defaults for GNU ld with shared library support. These
12762 # are reset later if shared libraries are not supported. Putting them
12763 # here allows them to be overridden if necessary.
12764 runpath_var
=LD_RUN_PATH
12765 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
12766 export_dynamic_flag_spec_D
='${wl}--export-dynamic'
12767 # ancient GNU ld didn't support --whole-archive et. al.
12768 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12769 whole_archive_flag_spec_D
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12771 whole_archive_flag_spec_D
=
12773 supports_anon_versioning
=no
12774 case `$LD -v 2>&1` in
12775 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12776 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12777 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12778 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12779 *\
2.11.
*) ;; # other 2.11 versions
12780 *) supports_anon_versioning
=yes ;;
12783 # See if GNU ld supports shared libraries.
12786 # On AIX/PPC, the GNU linker is very broken
12787 if test "$host_cpu" != ia64
; then
12791 *** Warning: the GNU linker, at least up to release 2.19, is reported
12792 *** to be unable to reliably create shared libraries on AIX.
12793 *** Therefore, libtool is disabling shared libraries support. If you
12794 *** really care for shared libraries, you may want to install binutils
12795 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12796 *** You will then need to restart the configuration process.
12805 # see comment about AmigaOS4 .so support
12806 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12807 archive_expsym_cmds_D
=''
12810 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)'
12811 hardcode_libdir_flag_spec_D
='-L$libdir'
12812 hardcode_minus_L_D
=yes
12818 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12819 allow_undefined_flag_D
=unsupported
12820 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12821 # support --undefined. This deserves some investigation. FIXME
12822 archive_cmds_D
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12828 cygwin
* | mingw
* | pw32
* | cegcc
*)
12829 # _LT_TAGVAR(hardcode_libdir_flag_spec, D) is actually meaningless,
12830 # as there is no search path for DLLs.
12831 hardcode_libdir_flag_spec_D
='-L$libdir'
12832 export_dynamic_flag_spec_D
='${wl}--export-all-symbols'
12833 allow_undefined_flag_D
=unsupported
12834 always_export_symbols_D
=no
12835 enable_shared_with_static_runtimes_D
=yes
12836 export_symbols_cmds_D
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12838 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12839 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12840 # If the export-symbols file already is a .def file (1st line
12841 # is EXPORTS), use it as is; otherwise, prepend...
12842 archive_expsym_cmds_D
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12843 cp $export_symbols $output_objdir/$soname.def;
12845 echo EXPORTS > $output_objdir/$soname.def;
12846 cat $export_symbols >> $output_objdir/$soname.def;
12848 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12855 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12856 link_all_deplibs_D
=yes
12860 hardcode_direct_D
=no
12861 hardcode_shlibpath_var_D
=no
12862 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
12863 export_dynamic_flag_spec_D
='${wl}-E'
12864 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12865 # Instead, shared libraries are loaded at an image base (0x10000000 by
12866 # default) and relocated if they conflict, which is a slow very memory
12867 # consuming and fragmenting process. To avoid this, we pick a random,
12868 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12869 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12870 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'
12871 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'
12874 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
12876 if test "$host_os" = linux-dietlibc
; then
12877 case $cc_basename in
12878 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12881 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12882 && test "$tmp_diet" = no
12884 tmp_addflag
=' $pic_flag'
12885 tmp_sharedflag
='-shared'
12886 case $cc_basename,$host_cpu in
12887 pgcc
*) # Portland Group C compiler
12888 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'
12889 tmp_addflag
=' $pic_flag'
12891 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12892 # Portland Group f77 and f90 compilers
12893 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'
12894 tmp_addflag
=' $pic_flag -Mnomain' ;;
12895 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12896 tmp_addflag
=' -i_dynamic' ;;
12897 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12898 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12899 ifc
* | ifort
*) # Intel Fortran compiler
12900 tmp_addflag
=' -nofor_main' ;;
12901 lf95
*) # Lahey Fortran 8.1
12902 whole_archive_flag_spec_D
=
12903 tmp_sharedflag
='--shared' ;;
12904 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12905 tmp_sharedflag
='-qmkshrobj'
12907 nvcc
*) # Cuda Compiler Driver 2.2
12908 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'
12909 compiler_needs_object_D
=yes
12912 case `$CC -V 2>&1 | sed 5q` in
12913 *Sun\ C
*) # Sun C 5.9
12914 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'
12915 compiler_needs_object_D
=yes
12916 tmp_sharedflag
='-G' ;;
12917 *Sun\ F
*) # Sun Fortran 8.3
12918 tmp_sharedflag
='-G' ;;
12920 archive_cmds_D
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12922 if test "x$supports_anon_versioning" = xyes
; then
12923 archive_expsym_cmds_D
='echo "{ global:" > $output_objdir/$libname.ver~
12924 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12925 echo "local: *; };" >> $output_objdir/$libname.ver~
12926 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12929 case $cc_basename in
12930 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12931 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12932 whole_archive_flag_spec_D
='--whole-archive$convenience --no-whole-archive'
12933 hardcode_libdir_flag_spec_D
=
12934 hardcode_libdir_flag_spec_ld_D
='-rpath $libdir'
12935 archive_cmds_D
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12936 if test "x$supports_anon_versioning" = xyes
; then
12937 archive_expsym_cmds_D
='echo "{ global:" > $output_objdir/$libname.ver~
12938 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12939 echo "local: *; };" >> $output_objdir/$libname.ver~
12940 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12950 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12951 archive_cmds_D
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12954 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12955 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12960 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12964 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12965 *** create shared libraries on Solaris systems. Therefore, libtool
12966 *** is disabling shared libraries support. We urge you to upgrade GNU
12967 *** binutils to release 2.9.1 or newer. Another option is to modify
12968 *** your PATH or compiler configuration so that the native linker is
12969 *** used, and then restart.
12972 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12973 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12974 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12980 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12981 case `$LD -v 2>&1` in
12982 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12986 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12987 *** reliably create shared libraries on SCO systems. Therefore, libtool
12988 *** is disabling shared libraries support. We urge you to upgrade GNU
12989 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12990 *** your PATH or compiler configuration so that the native linker is
12991 *** used, and then restart.
12996 # For security reasons, it is highly recommended that you always
12997 # use absolute paths for naming shared libraries, and exclude the
12998 # DT_RUNPATH tag from executables and libraries. But doing so
12999 # requires that you compile everything twice, which is a pain.
13000 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13001 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13002 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13003 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13012 archive_cmds_D
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13014 hardcode_direct_D
=yes
13015 hardcode_shlibpath_var_D
=no
13019 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13020 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13021 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13028 if test "$ld_shlibs_D" = no
; then
13030 hardcode_libdir_flag_spec_D
=
13031 export_dynamic_flag_spec_D
=
13032 whole_archive_flag_spec_D
=
13035 # PORTME fill in a description of your system's linker (not GNU ld)
13038 allow_undefined_flag_D
=unsupported
13039 always_export_symbols_D
=yes
13040 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'
13041 # Note: this linker hardcodes the directories in LIBPATH if there
13042 # are no directories specified by -L.
13043 hardcode_minus_L_D
=yes
13044 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13045 # Neither direct hardcoding nor static linking is supported with a
13047 hardcode_direct_D
=unsupported
13052 if test "$host_cpu" = ia64
; then
13053 # On IA64, the linker does run time linking by default, so we don't
13054 # have to do anything special.
13055 aix_use_runtimelinking
=no
13056 exp_sym_flag
='-Bexport'
13059 # If we're using GNU nm, then we don't want the "-C" option.
13060 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13061 # Also, AIX nm treats weak defined symbols like other global
13062 # defined symbols, whereas GNU nm marks them as "W".
13063 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13064 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'
13066 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'
13068 aix_use_runtimelinking
=no
13070 # Test if we are trying to use run time linking or normal
13071 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13072 # need to do runtime linking.
13073 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13074 for ld_flag
in $LDFLAGS; do
13075 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13076 aix_use_runtimelinking
=yes
13083 exp_sym_flag
='-bexport'
13084 no_entry_flag
='-bnoentry'
13087 # When large executables or shared objects are built, AIX ld can
13088 # have problems creating the table of contents. If linking a library
13089 # or program results in "error TOC overflow" add -mminimal-toc to
13090 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13091 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13094 hardcode_direct_D
=yes
13095 hardcode_direct_absolute_D
=yes
13096 hardcode_libdir_separator_D
=':'
13097 link_all_deplibs_D
=yes
13098 file_list_spec_D
='${wl}-f,'
13100 if test "$GCC" = yes; then
13101 case $host_os in aix4.
[012]|aix4.
[012].
*)
13102 # We only want to do this on AIX 4.2 and lower, the check
13103 # below for broken collect2 doesn't work under 4.3+
13104 collect2name
=`${CC} -print-prog-name=collect2`
13105 if test -f "$collect2name" &&
13106 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13108 # We have reworked collect2
13111 # We have old collect2
13112 hardcode_direct_D
=unsupported
13113 # It fails to find uninstalled libraries when the uninstalled
13114 # path is not listed in the libpath. Setting hardcode_minus_L
13115 # to unsupported forces relinking
13116 hardcode_minus_L_D
=yes
13117 hardcode_libdir_flag_spec_D
='-L$libdir'
13118 hardcode_libdir_separator_D
=
13122 shared_flag
='-shared'
13123 if test "$aix_use_runtimelinking" = yes; then
13124 shared_flag
="$shared_flag "'${wl}-G'
13128 if test "$host_cpu" = ia64
; then
13129 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13130 # chokes on -Wl,-G. The following line is correct:
13133 if test "$aix_use_runtimelinking" = yes; then
13134 shared_flag
='${wl}-G'
13136 shared_flag
='${wl}-bM:SRE'
13141 export_dynamic_flag_spec_D
='${wl}-bexpall'
13142 # It seems that -bexpall does not export symbols beginning with
13143 # underscore (_), so it is better to generate a list of symbols to export.
13144 always_export_symbols_D
=yes
13145 if test "$aix_use_runtimelinking" = yes; then
13146 # Warning - without using the other runtime loading flags (-brtl),
13147 # -berok will link without error, but may produce a broken library.
13148 allow_undefined_flag_D
='-berok'
13149 # Determine the default libpath from the value encoded in an
13150 # empty executable.
13151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13152 /* end confdefs.h. */
13162 if ac_fn_c_try_link
"$LINENO"; then :
13164 lt_aix_libpath_sed
='
13165 /Import File Strings/,/^$/ {
13171 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13172 # Check for a 64-bit object if we didn't find anything.
13173 if test -z "$aix_libpath"; then
13174 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13177 rm -f core conftest.err conftest.
$ac_objext \
13178 conftest
$ac_exeext conftest.
$ac_ext
13179 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13181 hardcode_libdir_flag_spec_D
='${wl}-blibpath:$libdir:'"$aix_libpath"
13182 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"
13184 if test "$host_cpu" = ia64
; then
13185 hardcode_libdir_flag_spec_D
='${wl}-R $libdir:/usr/lib:/lib'
13186 allow_undefined_flag_D
="-z nodefs"
13187 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"
13189 # Determine the default libpath from the value encoded in an
13190 # empty executable.
13191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13192 /* end confdefs.h. */
13202 if ac_fn_c_try_link
"$LINENO"; then :
13204 lt_aix_libpath_sed
='
13205 /Import File Strings/,/^$/ {
13211 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13212 # Check for a 64-bit object if we didn't find anything.
13213 if test -z "$aix_libpath"; then
13214 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13217 rm -f core conftest.err conftest.
$ac_objext \
13218 conftest
$ac_exeext conftest.
$ac_ext
13219 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13221 hardcode_libdir_flag_spec_D
='${wl}-blibpath:$libdir:'"$aix_libpath"
13222 # Warning - without using the other run time loading flags,
13223 # -berok will link without error, but may produce a broken library.
13224 no_undefined_flag_D
=' ${wl}-bernotok'
13225 allow_undefined_flag_D
=' ${wl}-berok'
13226 if test "$with_gnu_ld" = yes; then
13227 # We only use this code for GNU lds that support --whole-archive.
13228 whole_archive_flag_spec_D
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13230 # Exported symbols can be pulled into shared objects from archives
13231 whole_archive_flag_spec_D
='$convenience'
13233 archive_cmds_need_lc_D
=yes
13234 # This is similar to how AIX traditionally builds its shared libraries.
13235 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'
13243 # see comment about AmigaOS4 .so support
13244 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13245 archive_expsym_cmds_D
=''
13248 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)'
13249 hardcode_libdir_flag_spec_D
='-L$libdir'
13250 hardcode_minus_L_D
=yes
13256 export_dynamic_flag_spec_D
=-rdynamic
13259 cygwin
* | mingw
* | pw32
* | cegcc
*)
13260 # When not using gcc, we currently assume that we are using
13261 # Microsoft Visual C++.
13262 # hardcode_libdir_flag_spec is actually meaningless, as there is
13263 # no search path for DLLs.
13264 hardcode_libdir_flag_spec_D
=' '
13265 allow_undefined_flag_D
=unsupported
13266 # Tell ltmain to make .lib files, not .a files.
13268 # Tell ltmain to make .dll files, not .so files.
13270 # FIXME: Setting linknames here is a bad hack.
13271 archive_cmds_D
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13272 # The linker will automatically build a .lib file if we build a DLL.
13273 old_archive_from_new_cmds_D
='true'
13274 # FIXME: Should let the user specify the lib program.
13275 old_archive_cmds_D
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13276 fix_srcfile_path_D
='`cygpath -w "$srcfile"`'
13277 enable_shared_with_static_runtimes_D
=yes
13280 darwin
* | rhapsody
*)
13283 archive_cmds_need_lc_D
=no
13284 hardcode_direct_D
=no
13285 hardcode_automatic_D
=yes
13286 hardcode_shlibpath_var_D
=unsupported
13287 if test "$lt_cv_ld_force_load" = "yes"; then
13288 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\"`'
13290 whole_archive_flag_spec_D
=''
13292 link_all_deplibs_D
=yes
13293 allow_undefined_flag_D
="$_lt_dar_allow_undefined"
13294 case $cc_basename in
13295 ifort
*) _lt_dar_can_shared
=yes ;;
13296 *) _lt_dar_can_shared
=$GCC ;;
13298 if test "$_lt_dar_can_shared" = "yes"; then
13299 output_verbose_link_cmd
=func_echo_all
13300 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}"
13301 module_cmds_D
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13302 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}"
13303 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}"
13312 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13313 hardcode_libdir_flag_spec_D
='-L$libdir'
13314 hardcode_shlibpath_var_D
=no
13317 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13318 # support. Future versions do this automatically, but an explicit c++rt0.o
13319 # does not break anything, and helps significantly (at the cost of a little
13322 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13323 hardcode_libdir_flag_spec_D
='-R$libdir'
13324 hardcode_direct_D
=yes
13325 hardcode_shlibpath_var_D
=no
13328 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13330 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13331 hardcode_direct_D
=yes
13332 hardcode_minus_L_D
=yes
13333 hardcode_shlibpath_var_D
=no
13336 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13337 freebsd
* | dragonfly
*)
13338 archive_cmds_D
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13339 hardcode_libdir_flag_spec_D
='-R$libdir'
13340 hardcode_direct_D
=yes
13341 hardcode_shlibpath_var_D
=no
13345 if test "$GCC" = yes; then
13346 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'
13348 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'
13350 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13351 hardcode_libdir_separator_D
=:
13352 hardcode_direct_D
=yes
13354 # hardcode_minus_L: Not really in the search PATH,
13355 # but as the default location of the library.
13356 hardcode_minus_L_D
=yes
13357 export_dynamic_flag_spec_D
='${wl}-E'
13361 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13362 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13364 archive_cmds_D
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13366 if test "$with_gnu_ld" = no
; then
13367 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13368 hardcode_libdir_flag_spec_ld_D
='+b $libdir'
13369 hardcode_libdir_separator_D
=:
13370 hardcode_direct_D
=yes
13371 hardcode_direct_absolute_D
=yes
13372 export_dynamic_flag_spec_D
='${wl}-E'
13373 # hardcode_minus_L: Not really in the search PATH,
13374 # but as the default location of the library.
13375 hardcode_minus_L_D
=yes
13380 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13383 archive_cmds_D
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13386 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13389 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13395 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13398 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13401 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13405 if test "$with_gnu_ld" = no
; then
13406 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13407 hardcode_libdir_separator_D
=:
13411 hardcode_direct_D
=no
13412 hardcode_shlibpath_var_D
=no
13415 hardcode_direct_D
=yes
13416 hardcode_direct_absolute_D
=yes
13417 export_dynamic_flag_spec_D
='${wl}-E'
13419 # hardcode_minus_L: Not really in the search PATH,
13420 # but as the default location of the library.
13421 hardcode_minus_L_D
=yes
13427 irix5
* | irix6
* | nonstopux
*)
13428 if test "$GCC" = yes; then
13429 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'
13430 # Try to use the -exported_symbol ld option, if it does not
13431 # work, assume that -exports_file does not work either and
13432 # implicitly export all symbols.
13433 save_LDFLAGS
="$LDFLAGS"
13434 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13439 if ac_fn_c_try_link
"$LINENO"; then :
13440 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'
13443 rm -f core conftest.err conftest.
$ac_objext \
13444 conftest
$ac_exeext conftest.
$ac_ext
13445 LDFLAGS
="$save_LDFLAGS"
13447 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'
13448 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'
13450 archive_cmds_need_lc_D
='no'
13451 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13452 hardcode_libdir_separator_D
=:
13453 inherit_rpath_D
=yes
13454 link_all_deplibs_D
=yes
13458 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13459 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13461 archive_cmds_D
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13463 hardcode_libdir_flag_spec_D
='-R$libdir'
13464 hardcode_direct_D
=yes
13465 hardcode_shlibpath_var_D
=no
13469 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13470 hardcode_direct_D
=yes
13471 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13472 hardcode_libdir_separator_D
=:
13473 hardcode_shlibpath_var_D
=no
13480 if test -f /usr
/libexec
/ld.so
; then
13481 hardcode_direct_D
=yes
13482 hardcode_shlibpath_var_D
=no
13483 hardcode_direct_absolute_D
=yes
13484 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13485 archive_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13486 archive_expsym_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13487 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
13488 export_dynamic_flag_spec_D
='${wl}-E'
13491 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13492 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13493 hardcode_libdir_flag_spec_D
='-R$libdir'
13496 archive_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13497 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
13507 hardcode_libdir_flag_spec_D
='-L$libdir'
13508 hardcode_minus_L_D
=yes
13509 allow_undefined_flag_D
=unsupported
13510 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'
13511 old_archive_from_new_cmds_D
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13515 if test "$GCC" = yes; then
13516 allow_undefined_flag_D
=' ${wl}-expect_unresolved ${wl}\*'
13517 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'
13519 allow_undefined_flag_D
=' -expect_unresolved \*'
13520 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'
13522 archive_cmds_need_lc_D
='no'
13523 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13524 hardcode_libdir_separator_D
=:
13527 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13528 if test "$GCC" = yes; then
13529 allow_undefined_flag_D
=' ${wl}-expect_unresolved ${wl}\*'
13530 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'
13531 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13533 allow_undefined_flag_D
=' -expect_unresolved \*'
13534 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'
13535 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~
13536 $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'
13538 # Both c and cxx compiler support -rpath directly
13539 hardcode_libdir_flag_spec_D
='-rpath $libdir'
13541 archive_cmds_need_lc_D
='no'
13542 hardcode_libdir_separator_D
=:
13546 no_undefined_flag_D
=' -z defs'
13547 if test "$GCC" = yes; then
13549 archive_cmds_D
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13550 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13551 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13553 case `$CC -V 2>&1` in
13556 archive_cmds_D
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13557 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13558 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13562 archive_cmds_D
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13563 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13564 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13568 hardcode_libdir_flag_spec_D
='-R$libdir'
13569 hardcode_shlibpath_var_D
=no
13571 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13573 # The compiler driver will combine and reorder linker options,
13574 # but understands `-z linker_flag'. GCC discards it without `$wl',
13575 # but is careful enough not to reorder.
13576 # Supported since Solaris 2.6 (maybe 2.5.1?)
13577 if test "$GCC" = yes; then
13578 whole_archive_flag_spec_D
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13580 whole_archive_flag_spec_D
='-z allextract$convenience -z defaultextract'
13584 link_all_deplibs_D
=yes
13588 if test "x$host_vendor" = xsequent
; then
13589 # Use $CC to link under sequent, because it throws in some extra .o
13590 # files that make .init and .fini sections work.
13591 archive_cmds_D
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13593 archive_cmds_D
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13595 hardcode_libdir_flag_spec_D
='-L$libdir'
13596 hardcode_direct_D
=yes
13597 hardcode_minus_L_D
=yes
13598 hardcode_shlibpath_var_D
=no
13602 case $host_vendor in
13604 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13605 hardcode_direct_D
=yes # is this really true???
13608 ## LD is ld it makes a PLAMLIB
13609 ## CC just makes a GrossModule.
13610 archive_cmds_D
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13611 reload_cmds_D
='$CC -r -o $output$reload_objs'
13612 hardcode_direct_D
=no
13615 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13616 hardcode_direct_D
=no
#Motorola manual says yes, but my tests say they lie
13619 runpath_var
='LD_RUN_PATH'
13620 hardcode_shlibpath_var_D
=no
13624 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13625 hardcode_shlibpath_var_D
=no
13626 export_dynamic_flag_spec_D
='-Bexport'
13630 if test -d /usr
/nec
; then
13631 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13632 hardcode_shlibpath_var_D
=no
13633 runpath_var
=LD_RUN_PATH
13634 hardcode_runpath_var
=yes
13639 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13640 no_undefined_flag_D
='${wl}-z,text'
13641 archive_cmds_need_lc_D
=no
13642 hardcode_shlibpath_var_D
=no
13643 runpath_var
='LD_RUN_PATH'
13645 if test "$GCC" = yes; then
13646 archive_cmds_D
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13647 archive_expsym_cmds_D
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13649 archive_cmds_D
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13650 archive_expsym_cmds_D
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13654 sysv5
* | sco3.2v5
* | sco5v6
*)
13655 # Note: We can NOT use -z defs as we might desire, because we do not
13656 # link with -lc, and that would cause any symbols used from libc to
13657 # always be unresolved, which means just about no library would
13658 # ever link correctly. If we're not using GNU ld we use -z text
13659 # though, which does catch some bad symbols but isn't as heavy-handed
13661 no_undefined_flag_D
='${wl}-z,text'
13662 allow_undefined_flag_D
='${wl}-z,nodefs'
13663 archive_cmds_need_lc_D
=no
13664 hardcode_shlibpath_var_D
=no
13665 hardcode_libdir_flag_spec_D
='${wl}-R,$libdir'
13666 hardcode_libdir_separator_D
=':'
13667 link_all_deplibs_D
=yes
13668 export_dynamic_flag_spec_D
='${wl}-Bexport'
13669 runpath_var
='LD_RUN_PATH'
13671 if test "$GCC" = yes; then
13672 archive_cmds_D
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13673 archive_expsym_cmds_D
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13675 archive_cmds_D
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13676 archive_expsym_cmds_D
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13681 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13682 hardcode_libdir_flag_spec_D
='-L$libdir'
13683 hardcode_shlibpath_var_D
=no
13691 if test x
$host_vendor = xsni
; then
13693 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13694 export_dynamic_flag_spec_D
='${wl}-Blargedynsym'
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_D" >&5
13701 $as_echo "$ld_shlibs_D" >&6; }
13702 test "$ld_shlibs_D" = no
&& can_build_shared
=no
13704 with_gnu_ld_D
=$with_gnu_ld
13712 # Do we need to explicitly link libc?
13714 case "x$archive_cmds_need_lc_D" in
13716 # Assume -lc should be added
13717 archive_cmds_need_lc_D
=yes
13719 if test "$enable_shared" = yes && test "$GCC" = yes; then
13720 case $archive_cmds_D in
13722 # FIXME: we may have to deal with multi-command sequences.
13725 # Test whether the compiler implicitly links with -lc since on some
13726 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13727 # to ld, don't add -lc before -lgcc.
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13729 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13730 if ${lt_cv_archive_cmds_need_lc_D+:} false
; then :
13731 $as_echo_n "(cached) " >&6
13734 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13736 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13737 (eval $ac_compile) 2>&5
13739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13740 test $ac_status = 0; } 2>conftest.err
; then
13743 libobjs
=conftest.
$ac_objext
13745 wl
=$lt_prog_compiler_wl_D
13746 pic_flag
=$lt_prog_compiler_pic_D
13752 lt_save_allow_undefined_flag
=$allow_undefined_flag_D
13753 allow_undefined_flag_D
=
13754 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_D 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13755 (eval $archive_cmds_D 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13758 test $ac_status = 0; }
13760 lt_cv_archive_cmds_need_lc_D
=no
13762 lt_cv_archive_cmds_need_lc_D
=yes
13764 allow_undefined_flag_D
=$lt_save_allow_undefined_flag
13766 cat conftest.err
1>&5
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_D" >&5
13772 $as_echo "$lt_cv_archive_cmds_need_lc_D" >&6; }
13773 archive_cmds_need_lc_D
=$lt_cv_archive_cmds_need_lc_D
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13844 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13846 if test -n "$hardcode_libdir_flag_spec_D" ||
13847 test -n "$runpath_var_D" ||
13848 test "X$hardcode_automatic_D" = "Xyes" ; then
13850 # We can hardcode non-existent directories.
13851 if test "$hardcode_direct_D" != no
&&
13852 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13853 # have to relink, otherwise we might link with an installed library
13854 # when we should be linking with a yet-to-be-installed one
13855 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, D)" != no &&
13856 test "$hardcode_minus_L_D" != no
; then
13857 # Linking always hardcodes the temporary library directory.
13858 hardcode_action_D
=relink
13860 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13861 hardcode_action_D
=immediate
13864 # We cannot hardcode anything, or else we can only hardcode existing
13866 hardcode_action_D
=unsupported
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_D" >&5
13869 $as_echo "$hardcode_action_D" >&6; }
13871 if test "$hardcode_action_D" = relink ||
13872 test "$inherit_rpath_D" = yes; then
13873 # Fast installation is not supported
13874 enable_fast_install
=no
13875 elif test "$shlibpath_overrides_runpath" = yes ||
13876 test "$enable_shared" = no
; then
13877 # Fast installation is not necessary
13878 enable_fast_install
=needless
13890 ac_cpp
='$CPP $CPPFLAGS'
13891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13898 CFLAGS
=$lt_save_CFLAGS
13900 GDCFLAGS
=$gdc_save_DFLAGS
13903 # libtool variables for Phobos shared and position-independent compiles.
13905 # Use phobos_compiler_shared_flag to designate the compile-time flags for
13906 # creating shared objects. Default: -fversion=Shared.
13908 # Use phobos_compiler_pic_flag to designate the compile-time flags for
13909 # creating position-independent objects. This varies with the target
13910 # hardware and operating system, but is often: -fPIC.
13912 # The distinction between pic and shared compilation flags is not present in
13913 # libtool, and so we make it here. How it is handled is that in shared
13914 # compilations the `lt_prog_compiler_pic_D' variable is used to instead
13915 # ensure that conditional compilation of shared runtime code is compiled in.
13916 # The original PIC flags are then used in the compilation of every object.
13918 # Why are objects destined for libgphobos.a compiled with -fPIC?
13919 # Because -fPIC is not harmful to use for objects destined for static
13920 # libraries. In addition, using -fPIC will allow the use of static
13921 # libgphobos.a in the creation of other D shared libraries.
13922 if test "$enable_shared" = yes; then
13923 phobos_compiler_pic_flag
="$lt_prog_compiler_pic_D"
13924 phobos_compiler_shared_flag
="-fversion=Shared"
13926 phobos_compiler_pic_flag
=
13927 phobos_compiler_shared_flag
=
13932 # Override the libtool's pic_flag and pic_mode.
13933 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
13934 # NB: this impacts --with-pic and --without-pic.
13935 lt_prog_compiler_pic_D
="$phobos_compiler_shared_flag"
13938 # Determine what GCC version number to use in filesystem paths.
13940 get_gcc_base_ver
="cat"
13942 # Check whether --with-gcc-major-version-only was given.
13943 if test "${with_gcc_major_version_only+set}" = set; then :
13944 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
13945 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
13953 # libphobos/libdruntime specific options and feature detection
13955 # These need to be absolute paths, yet at the same time need to
13956 # canonicalize only relative paths, because then amd will not unmount
13957 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
13958 libphobos_builddir
=`${PWDCMD-pwd}`
13960 \\/$
* | ?
:\\/*) libphobos_srcdir
=${srcdir} ;;
13961 *) libphobos_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
13967 if test ${multilib} = yes; then
13968 multilib_arg
="--enable-multilib"
13974 # Check whether --enable-werror was given.
13975 if test "${enable_werror+set}" = set; then :
13976 enableval
=$enable_werror;
13980 if test "x$enable_werror" = "xyes"; then
13981 WERROR_FLAG
="-Werror"
13985 druntime_target_cpu_parsed
=""
13986 case "$target_cpu" in
13988 druntime_target_cpu_parsed
="aarch64"
13990 arm
*) druntime_target_cpu_parsed
="arm"
13992 mips
*) druntime_target_cpu_parsed
="mips"
13994 powerpc
) druntime_target_cpu_parsed
="powerpc"
13997 druntime_target_cpu_parsed
="powerpc64"
14000 druntime_target_cpu_parsed
="x86"
14003 druntime_target_cpu_parsed
="s390x"
14006 druntime_target_cpu_parsed
="s390"
14009 if test "$druntime_target_cpu_parsed" = "aarch64"; then
14010 DRUNTIME_CPU_AARCH64_TRUE
=
14011 DRUNTIME_CPU_AARCH64_FALSE
='#'
14013 DRUNTIME_CPU_AARCH64_TRUE
='#'
14014 DRUNTIME_CPU_AARCH64_FALSE
=
14017 if test "$druntime_target_cpu_parsed" = "arm"; then
14018 DRUNTIME_CPU_ARM_TRUE
=
14019 DRUNTIME_CPU_ARM_FALSE
='#'
14021 DRUNTIME_CPU_ARM_TRUE
='#'
14022 DRUNTIME_CPU_ARM_FALSE
=
14025 if test "$druntime_target_cpu_parsed" = "mips"; then
14026 DRUNTIME_CPU_MIPS_TRUE
=
14027 DRUNTIME_CPU_MIPS_FALSE
='#'
14029 DRUNTIME_CPU_MIPS_TRUE
='#'
14030 DRUNTIME_CPU_MIPS_FALSE
=
14033 if test "$druntime_target_cpu_parsed" = "powerpc"; then
14034 DRUNTIME_CPU_POWERPC_TRUE
=
14035 DRUNTIME_CPU_POWERPC_FALSE
='#'
14037 DRUNTIME_CPU_POWERPC_TRUE
='#'
14038 DRUNTIME_CPU_POWERPC_FALSE
=
14041 if test "$druntime_target_cpu_parsed" = "powerpc64"; then
14042 DRUNTIME_CPU_POWERPC64_TRUE
=
14043 DRUNTIME_CPU_POWERPC64_FALSE
='#'
14045 DRUNTIME_CPU_POWERPC64_TRUE
='#'
14046 DRUNTIME_CPU_POWERPC64_FALSE
=
14049 if test "$druntime_target_cpu_parsed" = "x86"; then
14050 DRUNTIME_CPU_X86_TRUE
=
14051 DRUNTIME_CPU_X86_FALSE
='#'
14053 DRUNTIME_CPU_X86_TRUE
='#'
14054 DRUNTIME_CPU_X86_FALSE
=
14057 if test "$druntime_target_cpu_parsed" = "s390x"; then
14058 DRUNTIME_CPU_SYSTEMZ_TRUE
=
14059 DRUNTIME_CPU_SYSTEMZ_FALSE
='#'
14061 DRUNTIME_CPU_SYSTEMZ_TRUE
='#'
14062 DRUNTIME_CPU_SYSTEMZ_FALSE
=
14065 if test "$druntime_target_cpu_parsed" = "s390"; then
14066 DRUNTIME_CPU_S390_TRUE
=
14067 DRUNTIME_CPU_S390_FALSE
='#'
14069 DRUNTIME_CPU_S390_TRUE
='#'
14070 DRUNTIME_CPU_S390_FALSE
=
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target OS" >&5
14076 $as_echo_n "checking for target OS... " >&6; }
14077 if ${druntime_cv_target_os+:} false
; then :
14078 $as_echo_n "(cached) " >&6
14080 druntime_cv_target_os
=`echo $target_os | sed 's/^\([A-Za-z_]+\)/\1/'`
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_target_os" >&5
14083 $as_echo "$druntime_cv_target_os" >&6; }
14084 if test -z "$druntime_cv_target_os"; then :
14085 as_fn_error $?
"can't detect target OS" "$LINENO" 5
14091 druntime_target_os_parsed
=""
14092 case "$druntime_cv_target_os" in
14093 aix
*) druntime_target_os_parsed
="aix"
14096 druntime_target_os_parsed
="android"
14098 darwin
*) druntime_target_os_parsed
="darwin"
14101 druntime_target_os_parsed
="dragonflybsd"
14103 freebsd
*|k
*bsd
*-gnu)
14104 druntime_target_os_parsed
="freebsd"
14107 druntime_target_os_parsed
="openbsd"
14110 druntime_target_os_parsed
="netbsd"
14112 linux
*) druntime_target_os_parsed
="linux"
14114 mingw
*) druntime_target_os_parsed
="mingw"
14116 *solaris
*) druntime_target_os_parsed
="solaris"
14118 if test "$druntime_target_os_parsed" = "aix"; then
14119 DRUNTIME_OS_AIX_TRUE
=
14120 DRUNTIME_OS_AIX_FALSE
='#'
14122 DRUNTIME_OS_AIX_TRUE
='#'
14123 DRUNTIME_OS_AIX_FALSE
=
14126 if test "$druntime_target_os_parsed" = "android"; then
14127 DRUNTIME_OS_ANDROID_TRUE
=
14128 DRUNTIME_OS_ANDROID_FALSE
='#'
14130 DRUNTIME_OS_ANDROID_TRUE
='#'
14131 DRUNTIME_OS_ANDROID_FALSE
=
14134 if test "$druntime_target_os_parsed" = "darwin"; then
14135 DRUNTIME_OS_DARWIN_TRUE
=
14136 DRUNTIME_OS_DARWIN_FALSE
='#'
14138 DRUNTIME_OS_DARWIN_TRUE
='#'
14139 DRUNTIME_OS_DARWIN_FALSE
=
14142 if test "$druntime_target_os_parsed" = "dragonflybsd"; then
14143 DRUNTIME_OS_DRAGONFLYBSD_TRUE
=
14144 DRUNTIME_OS_DRAGONFLYBSD_FALSE
='#'
14146 DRUNTIME_OS_DRAGONFLYBSD_TRUE
='#'
14147 DRUNTIME_OS_DRAGONFLYBSD_FALSE
=
14150 if test "$druntime_target_os_parsed" = "freebsd"; then
14151 DRUNTIME_OS_FREEBSD_TRUE
=
14152 DRUNTIME_OS_FREEBSD_FALSE
='#'
14154 DRUNTIME_OS_FREEBSD_TRUE
='#'
14155 DRUNTIME_OS_FREEBSD_FALSE
=
14158 if test "$druntime_target_os_parsed" = "netbsd"; then
14159 DRUNTIME_OS_NETBSD_TRUE
=
14160 DRUNTIME_OS_NETBSD_FALSE
='#'
14162 DRUNTIME_OS_NETBSD_TRUE
='#'
14163 DRUNTIME_OS_NETBSD_FALSE
=
14166 if test "$druntime_target_os_parsed" = "openbsd"; then
14167 DRUNTIME_OS_OPENBSD_TRUE
=
14168 DRUNTIME_OS_OPENBSD_FALSE
='#'
14170 DRUNTIME_OS_OPENBSD_TRUE
='#'
14171 DRUNTIME_OS_OPENBSD_FALSE
=
14174 if test "$druntime_target_os_parsed" = "linux"; then
14175 DRUNTIME_OS_LINUX_TRUE
=
14176 DRUNTIME_OS_LINUX_FALSE
='#'
14178 DRUNTIME_OS_LINUX_TRUE
='#'
14179 DRUNTIME_OS_LINUX_FALSE
=
14182 if test "$druntime_target_os_parsed" = "mingw"; then
14183 DRUNTIME_OS_MINGW_TRUE
=
14184 DRUNTIME_OS_MINGW_FALSE
='#'
14186 DRUNTIME_OS_MINGW_TRUE
='#'
14187 DRUNTIME_OS_MINGW_FALSE
=
14190 if test "$druntime_target_os_parsed" = "solaris"; then
14191 DRUNTIME_OS_SOLARIS_TRUE
=
14192 DRUNTIME_OS_SOLARIS_FALSE
='#'
14194 DRUNTIME_OS_SOLARIS_TRUE
='#'
14195 DRUNTIME_OS_SOLARIS_FALSE
=
14199 druntime_target_posix
="no"
14200 case "$druntime_cv_target_os" in
14201 aix
*|
*bsd
*|cygwin
*|darwin
*|gnu
*|linux
*|skyos
*|
*solaris
*|sysv
*)
14202 druntime_target_posix
="yes"
14205 if test "$druntime_target_posix" = "yes"; then
14206 DRUNTIME_OS_POSIX_TRUE
=
14207 DRUNTIME_OS_POSIX_FALSE
='#'
14209 DRUNTIME_OS_POSIX_TRUE
='#'
14210 DRUNTIME_OS_POSIX_FALSE
=
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GDC" >&5
14217 $as_echo_n "checking for thread model used by GDC... " >&6; }
14218 d_thread_model
=`$GDC -v 2>&1 | sed -n 's/^Thread model: //p'`
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $d_thread_model" >&5
14220 $as_echo "$d_thread_model" >&6; }
14222 # Map from thread model to thread interface.
14224 case $d_thread_model in
14225 aix
) DCFG_THREAD_MODEL
="Posix" ;;
14226 lynx
) DCFG_THREAD_MODEL
="Posix" ;;
14227 posix
) DCFG_THREAD_MODEL
="Posix" ;;
14228 single
) DCFG_THREAD_MODEL
="Single" ;;
14229 win32
) DCFG_THREAD_MODEL
="Win32" ;;
14230 # TODO: These targets need porting.
14231 dce|mipssde|rtems|tpf|vxworks
)
14232 DCFG_THREAD_MODEL
="Single" ;;
14233 *) as_fn_error
"Thread implementation '$d_thread_model' not recognised" "$LINENO" 5 ;;
14240 ac_cpp
='$CPP $CPPFLAGS'
14241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARM unwinder" >&5
14246 $as_echo_n "checking for ARM unwinder... " >&6; }
14247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14248 /* end confdefs.h. */
14249 #include <unwind.h>
14254 #if __ARM_EABI_UNWINDER__
14262 if ac_fn_c_try_compile
"$LINENO"; then :
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14264 $as_echo "no" >&6; }
14265 DCFG_ARM_EABI_UNWINDER
=false
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14268 $as_echo "yes" >&6; }
14269 DCFG_ARM_EABI_UNWINDER
=true
14271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14273 if test "$DCFG_ARM_EABI_UNWINDER" = "true"; then
14274 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
=
14275 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
='#'
14277 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
='#'
14278 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
=
14282 ac_cpp
='$CPP $CPPFLAGS'
14283 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14284 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14290 ac_cpp
='$CPP $CPPFLAGS'
14291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minfo section bracketing" >&5
14296 $as_echo_n "checking for minfo section bracketing... " >&6; }
14297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14300 void* module_info_ptr __attribute__((section ("minfo")));
14301 extern void* __start_minfo __attribute__((visibility ("hidden")));
14302 extern void* __stop_minfo __attribute__((visibility ("hidden")));
14306 // Never run, just to prevent compiler from optimizing access
14307 return &__start_minfo == &__stop_minfo;
14311 if ac_fn_c_try_link
"$LINENO"; then :
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14313 $as_echo "yes" >&6; }
14314 DCFG_MINFO_BRACKETING
=true
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14317 $as_echo "no" >&6; }
14318 DCFG_MINFO_BRACKETING
=false
14320 rm -f core conftest.err conftest.
$ac_objext \
14321 conftest
$ac_exeext conftest.
$ac_ext
14323 if test "$DCFG_MINFO_BRACKETING" = "true"; then
14324 DRUNTIME_OS_MINFO_BRACKETING_TRUE
=
14325 DRUNTIME_OS_MINFO_BRACKETING_FALSE
='#'
14327 DRUNTIME_OS_MINFO_BRACKETING_TRUE
='#'
14328 DRUNTIME_OS_MINFO_BRACKETING_FALSE
=
14332 ac_cpp
='$CPP $CPPFLAGS'
14333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14340 ac_cpp
='$CPP $CPPFLAGS'
14341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14345 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>
14347 if test "x$ac_cv_member_struct_dl_phdr_info_dlpi_tls_modid" = xyes
; then :
14348 DCFG_DLPI_TLS_MODID
=true
14350 DCFG_DLPI_TLS_MODID
=false
14355 ac_cpp
='$CPP $CPPFLAGS'
14356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14363 i?
86-*-solaris2.
* | x86_64-
*-solaris2.
*)
14364 # 64-bit Solaris/x86 ld breaks calls to __tls_get_addr with non-TLS
14365 # relocs. Work around by disabling TLS transitions. Not necessary
14366 # on 32-bit x86, but cannot be distinguished reliably in specs.
14367 druntime_ld_prog
=`$CC -print-prog-name=ld`
14369 druntime_ld_relax_transtls
=no
14370 if test -n "$druntime_ld_prog" \
14371 && $druntime_ld_prog -v 2>&1 |
grep GNU
> /dev
/null
2>&1; then
14372 druntime_ld_gld
=yes
14374 echo 'int main (void) { return 0; }' > conftest.c
14375 save_LDFLAGS
="$LDFLAGS"
14376 LDFLAGS
="$LDFLAGS -Wl,-z,relax=transtls"
14377 if $CC $CFLAGS $LDFLAGS -o conftest conftest.c
> /dev
/null
2>&1; then
14378 druntime_ld_relax_transtls
=yes
14380 LDFLAGS
="$save_LDFLAGS"
14381 rm -f conftest.c conftest
14383 if test "$druntime_ld_relax_transtls" = "yes"; then
14384 OS_LINK_SPEC
='-z relax=transtls'
14392 ac_cpp
='$CPP $CPPFLAGS'
14393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14397 DCFG_HAVE_QSORT_R
=false
14398 ac_fn_c_check_func
"$LINENO" "qsort_r" "ac_cv_func_qsort_r"
14399 if test "x$ac_cv_func_qsort_r" = xyes
; then :
14400 DCFG_HAVE_QSORT_R
=true
14405 ac_cpp
='$CPP $CPPFLAGS'
14406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14414 gdc_save_DFLAGS
=$GDCFLAGS
14415 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime -nophoboslib $GDCFLAGS"
14418 ac_compile
='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
14419 ac_link
='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14420 ac_compiler_gnu
=yes
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing malloc" >&5
14423 $as_echo_n "checking for library containing malloc... " >&6; }
14424 if ${ac_cv_search_malloc+:} false
; then :
14425 $as_echo_n "(cached) " >&6
14427 ac_func_search_save_LIBS
=$LIBS
14428 cat > conftest.
$ac_ext <<_ACEOF
14430 extern(C) int malloc();
14432 extern(C) int main() {
14433 malloc(); return 0;
14436 for ac_lib
in '' c
; do
14437 if test -z "$ac_lib"; then
14438 ac_res
="none required"
14441 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14443 if ac_fn_d_try_link
"$LINENO"; then :
14444 ac_cv_search_malloc
=$ac_res
14446 rm -f core conftest.err conftest.
$ac_objext \
14448 if ${ac_cv_search_malloc+:} false
; then :
14452 if ${ac_cv_search_malloc+:} false
; then :
14455 ac_cv_search_malloc
=no
14457 rm conftest.
$ac_ext
14458 LIBS
=$ac_func_search_save_LIBS
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_malloc" >&5
14461 $as_echo "$ac_cv_search_malloc" >&6; }
14462 ac_res
=$ac_cv_search_malloc
14463 if test "$ac_res" != no
; then :
14464 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
14469 $as_echo_n "checking for library containing pthread_create... " >&6; }
14470 if ${ac_cv_search_pthread_create+:} false
; then :
14471 $as_echo_n "(cached) " >&6
14473 ac_func_search_save_LIBS
=$LIBS
14474 cat > conftest.
$ac_ext <<_ACEOF
14476 extern(C) int pthread_create();
14478 extern(C) int main() {
14479 pthread_create(); return 0;
14482 for ac_lib
in '' pthread
; do
14483 if test -z "$ac_lib"; then
14484 ac_res
="none required"
14487 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14489 if ac_fn_d_try_link
"$LINENO"; then :
14490 ac_cv_search_pthread_create
=$ac_res
14492 rm -f core conftest.err conftest.
$ac_objext \
14494 if ${ac_cv_search_pthread_create+:} false
; then :
14498 if ${ac_cv_search_pthread_create+:} false
; then :
14501 ac_cv_search_pthread_create
=no
14503 rm conftest.
$ac_ext
14504 LIBS
=$ac_func_search_save_LIBS
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
14507 $as_echo "$ac_cv_search_pthread_create" >&6; }
14508 ac_res
=$ac_cv_search_pthread_create
14509 if test "$ac_res" != no
; then :
14510 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cosf" >&5
14515 $as_echo_n "checking for library containing cosf... " >&6; }
14516 if ${ac_cv_search_cosf+:} false
; then :
14517 $as_echo_n "(cached) " >&6
14519 ac_func_search_save_LIBS
=$LIBS
14520 cat > conftest.
$ac_ext <<_ACEOF
14522 extern(C) int cosf();
14524 extern(C) int main() {
14528 for ac_lib
in '' m
; do
14529 if test -z "$ac_lib"; then
14530 ac_res
="none required"
14533 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14535 if ac_fn_d_try_link
"$LINENO"; then :
14536 ac_cv_search_cosf
=$ac_res
14538 rm -f core conftest.err conftest.
$ac_objext \
14540 if ${ac_cv_search_cosf+:} false
; then :
14544 if ${ac_cv_search_cosf+:} false
; then :
14547 ac_cv_search_cosf
=no
14549 rm conftest.
$ac_ext
14550 LIBS
=$ac_func_search_save_LIBS
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cosf" >&5
14553 $as_echo "$ac_cv_search_cosf" >&6; }
14554 ac_res
=$ac_cv_search_cosf
14555 if test "$ac_res" != no
; then :
14556 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14561 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14562 if ${ac_cv_search_clock_gettime+:} false
; then :
14563 $as_echo_n "(cached) " >&6
14565 ac_func_search_save_LIBS
=$LIBS
14566 cat > conftest.
$ac_ext <<_ACEOF
14568 extern(C) int clock_gettime();
14570 extern(C) int main() {
14571 clock_gettime(); return 0;
14574 for ac_lib
in '' rt
; do
14575 if test -z "$ac_lib"; then
14576 ac_res
="none required"
14579 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14581 if ac_fn_d_try_link
"$LINENO"; then :
14582 ac_cv_search_clock_gettime
=$ac_res
14584 rm -f core conftest.err conftest.
$ac_objext \
14586 if ${ac_cv_search_clock_gettime+:} false
; then :
14590 if ${ac_cv_search_clock_gettime+:} false
; then :
14593 ac_cv_search_clock_gettime
=no
14595 rm conftest.
$ac_ext
14596 LIBS
=$ac_func_search_save_LIBS
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14599 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14600 ac_res
=$ac_cv_search_clock_gettime
14601 if test "$ac_res" != no
; then :
14602 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14607 # This checks to see if the host supports the compiler-generated builtins
14608 # for atomic operations for various integral sizes. Note, this is intended
14609 # to be an all-or-nothing switch, so all the atomic operations that are
14610 # used should be checked.
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for byte" >&5
14612 $as_echo_n "checking for atomic builtins for byte... " >&6; }
14613 if ${druntime_cv_atomic_byte+:} false
; then :
14614 $as_echo_n "(cached) " >&6
14617 cat > conftest.
$ac_ext <<_ACEOF
14619 import gcc.builtins;
14621 extern(C) int main() {
14625 __atomic_compare_exchange_1(&c1, &c2, c3, false, 5, 5);
14626 __atomic_load_1(&c1, 5);
14627 __atomic_store_1(&c1, c2, 5);
14632 if ac_fn_d_try_link
"$LINENO"; then :
14633 druntime_cv_atomic_byte
=yes
14635 druntime_cv_atomic_byte
=no
14637 rm -f core conftest.err conftest.
$ac_objext \
14638 conftest
$ac_exeext conftest.
$ac_ext
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_byte" >&5
14643 $as_echo "$druntime_cv_atomic_byte" >&6; }
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
14646 $as_echo_n "checking for atomic builtins for short... " >&6; }
14647 if ${druntime_cv_atomic_short+:} false
; then :
14648 $as_echo_n "(cached) " >&6
14651 cat > conftest.
$ac_ext <<_ACEOF
14653 import gcc.builtins;
14655 extern(C) int main() {
14659 __atomic_compare_exchange_2(&c1, &c2, c3, false, 5, 5);
14660 __atomic_load_2(&c1, 5);
14661 __atomic_store_2(&c1, c2, 5);
14666 if ac_fn_d_try_link
"$LINENO"; then :
14667 druntime_cv_atomic_short
=yes
14669 druntime_cv_atomic_short
=no
14671 rm -f core conftest.err conftest.
$ac_objext \
14672 conftest
$ac_exeext conftest.
$ac_ext
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_short" >&5
14677 $as_echo "$druntime_cv_atomic_short" >&6; }
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
14680 $as_echo_n "checking for atomic builtins for int... " >&6; }
14681 if ${druntime_cv_atomic_int+:} false
; then :
14682 $as_echo_n "(cached) " >&6
14685 cat > conftest.
$ac_ext <<_ACEOF
14687 import gcc.builtins;
14689 extern(C) int main() {
14693 __atomic_compare_exchange_4(&c1, &c2, c3, false, 5, 5);
14694 __atomic_load_4(&c1, 5);
14695 __atomic_store_4(&c1, c2, 5);
14700 if ac_fn_d_try_link
"$LINENO"; then :
14701 druntime_cv_atomic_int
=yes
14703 druntime_cv_atomic_int
=no
14705 rm -f core conftest.err conftest.
$ac_objext \
14706 conftest
$ac_exeext conftest.
$ac_ext
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_int" >&5
14711 $as_echo "$druntime_cv_atomic_int" >&6; }
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long" >&5
14714 $as_echo_n "checking for atomic builtins for long... " >&6; }
14715 if ${druntime_cv_atomic_long+:} false
; then :
14716 $as_echo_n "(cached) " >&6
14719 cat > conftest.
$ac_ext <<_ACEOF
14721 import gcc.builtins;
14723 extern(C) int main() {
14727 __atomic_compare_exchange_8(&c1, &c2, c3, false, 5, 5);
14728 __atomic_load_8(&c1, 5);
14729 __atomic_store_8(&c1, c2, 5);
14734 if ac_fn_d_try_link
"$LINENO"; then :
14735 druntime_cv_atomic_long
=yes
14737 druntime_cv_atomic_long
=no
14739 rm -f core conftest.err conftest.
$ac_objext \
14740 conftest
$ac_exeext conftest.
$ac_ext
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_long" >&5
14745 $as_echo "$druntime_cv_atomic_long" >&6; }
14747 # Have atomic builtin support if all but the long test above passes.
14748 DCFG_HAVE_ATOMIC_BUILTINS
=false
14749 if test "$druntime_cv_atomic_byte" = yes \
14750 && test "$druntime_cv_atomic_short" = yes \
14751 && test "$druntime_cv_atomic_int" = yes; then \
14752 DCFG_HAVE_ATOMIC_BUILTINS
=true
14755 # Have 64-bit atomic support if the long test above passes.
14756 DCFG_HAVE_64BIT_ATOMICS
=false
14757 if test "$druntime_cv_atomic_long" = yes; then
14758 DCFG_HAVE_64BIT_ATOMICS
=true
14765 ac_cpp
='$CPP $CPPFLAGS'
14766 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14767 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14768 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14771 GDCFLAGS
=$gdc_save_DFLAGS
14776 # Check whether --with-libatomic was given.
14777 if test "${with_libatomic+set}" = set; then :
14778 withval
=$with_libatomic;
14782 DCFG_HAVE_LIBATOMIC
=false
14784 if test "x$with_libatomic" != "xno"; then :
14786 DCFG_HAVE_LIBATOMIC
=true
14787 LIBATOMIC
=..
/..
/libatomic
/libatomic_convenience.la
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic" >&5
14792 $as_echo_n "checking for libatomic... " >&6; }
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14794 $as_echo "disabled" >&6; }
14803 ac_cpp
='$CPP $CPPFLAGS'
14804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14808 BACKTRACE_SUPPORTED
=false
14809 BACKTRACE_USES_MALLOC
=false
14810 BACKTRACE_SUPPORTS_THREADS
=false
14814 # Check whether --with-libbacktrace was given.
14815 if test "${with_libbacktrace+set}" = set; then :
14816 withval
=$with_libbacktrace;
14820 if test "x$with_libbacktrace" != "xno"; then :
14822 LIBBACKTRACE
=..
/..
/libbacktrace
/libbacktrace.la
14824 gdc_save_CPPFLAGS
=$CPPFLAGS
14825 CPPFLAGS
="$CPPFLAGS -I../libbacktrace "
14827 ac_fn_c_check_header_mongrel
"$LINENO" "backtrace-supported.h" "ac_cv_header_backtrace_supported_h" "$ac_includes_default"
14828 if test "x$ac_cv_header_backtrace_supported_h" = xyes
; then :
14829 have_libbacktrace_h
=true
14831 have_libbacktrace_h
=false
14836 if $have_libbacktrace_h; then
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_SUPPORTED" >&5
14838 $as_echo_n "checking libbacktrace: BACKTRACE_SUPPORTED... " >&6; }
14839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14842 #include <backtrace-supported.h>
14843 #if BACKTRACE_SUPPORTED
14844 FOUND_LIBBACKTRACE_RESULT_GDC
14848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14849 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14850 BACKTRACE_SUPPORTED
=true
14852 BACKTRACE_SUPPORTED
=false
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_SUPPORTED" >&5
14857 $as_echo "$BACKTRACE_SUPPORTED" >&6; }
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_USES_MALLOC" >&5
14860 $as_echo_n "checking libbacktrace: BACKTRACE_USES_MALLOC... " >&6; }
14861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14862 /* end confdefs.h. */
14864 #include <backtrace-supported.h>
14865 #if BACKTRACE_USES_MALLOC
14866 FOUND_LIBBACKTRACE_RESULT_GDC
14870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14871 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14872 BACKTRACE_USES_MALLOC
=true
14874 BACKTRACE_USES_MALLOC
=false
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_USES_MALLOC" >&5
14879 $as_echo "$BACKTRACE_USES_MALLOC" >&6; }
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_SUPPORTS_THREADS" >&5
14882 $as_echo_n "checking libbacktrace: BACKTRACE_SUPPORTS_THREADS... " >&6; }
14883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14886 #include <backtrace-supported.h>
14887 #if BACKTRACE_SUPPORTS_THREADS
14888 FOUND_LIBBACKTRACE_RESULT_GDC
14892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14893 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14894 BACKTRACE_SUPPORTS_THREADS
=true
14896 BACKTRACE_SUPPORTS_THREADS
=false
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_SUPPORTS_THREADS" >&5
14901 $as_echo "$BACKTRACE_SUPPORTS_THREADS" >&6; }
14903 CPPFLAGS
=$gdc_save_CPPFLAGS
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbacktrace" >&5
14908 $as_echo_n "checking for libbacktrace... " >&6; }
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14910 $as_echo "disabled" >&6; }
14919 ac_cpp
='$CPP $CPPFLAGS'
14920 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14921 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14922 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14926 # Libtool has already checked this, so re-use the inferred dlopen lib.
14927 if test "x$enable_dlopen" = "xyes" && test -n "$lt_cv_dlopen_libs"; then :
14929 LIBS
="$LIBS $lt_cv_dlopen_libs"
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14935 $as_echo_n "checking for socket libraries... " >&6; }
14936 if ${druntime_cv_lib_sockets+:} false
; then :
14937 $as_echo_n "(cached) " >&6
14939 druntime_cv_lib_sockets
=
14940 druntime_check_both
=no
14941 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14942 if test "x$ac_cv_func_connect" = xyes
; then :
14943 druntime_check_socket
=no
14945 druntime_check_socket
=yes
14948 if test "$druntime_check_socket" = "yes"; then
14949 unset ac_cv_func_connect
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14951 $as_echo_n "checking for main in -lsocket... " >&6; }
14952 if ${ac_cv_lib_socket_main+:} false
; then :
14953 $as_echo_n "(cached) " >&6
14955 ac_check_lib_save_LIBS
=$LIBS
14956 LIBS
="-lsocket $LIBS"
14957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14958 /* end confdefs.h. */
14969 if ac_fn_c_try_link
"$LINENO"; then :
14970 ac_cv_lib_socket_main
=yes
14972 ac_cv_lib_socket_main
=no
14974 rm -f core conftest.err conftest.
$ac_objext \
14975 conftest
$ac_exeext conftest.
$ac_ext
14976 LIBS
=$ac_check_lib_save_LIBS
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14979 $as_echo "$ac_cv_lib_socket_main" >&6; }
14980 if test "x$ac_cv_lib_socket_main" = xyes
; then :
14981 druntime_cv_lib_sockets
="-lsocket"
14983 druntime_check_both
=yes
14987 if test "$druntime_check_both" = "yes"; then
14988 druntime_old_libs
=$LIBS
14989 LIBS
="$LIBS -lsocket -lnsl"
14990 unset ac_cv_func_accept
14991 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14992 if test "x$ac_cv_func_accept" = xyes
; then :
14993 druntime_check_nsl
=no
14994 druntime_cv_lib_sockets
="-lsocket -lnsl"
14997 unset ac_cv_func_accept
14998 LIBS
=$druntime_old_libs
15000 unset ac_cv_func_gethostbyname
15001 druntime_old_libs
="$LIBS"
15002 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
15003 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
15007 $as_echo_n "checking for main in -lnsl... " >&6; }
15008 if ${ac_cv_lib_nsl_main+:} false
; then :
15009 $as_echo_n "(cached) " >&6
15011 ac_check_lib_save_LIBS
=$LIBS
15013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15014 /* end confdefs.h. */
15025 if ac_fn_c_try_link
"$LINENO"; then :
15026 ac_cv_lib_nsl_main
=yes
15028 ac_cv_lib_nsl_main
=no
15030 rm -f core conftest.err conftest.
$ac_objext \
15031 conftest
$ac_exeext conftest.
$ac_ext
15032 LIBS
=$ac_check_lib_save_LIBS
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
15035 $as_echo "$ac_cv_lib_nsl_main" >&6; }
15036 if test "x$ac_cv_lib_nsl_main" = xyes
; then :
15037 druntime_cv_lib_sockets
="$druntime_cv_lib_sockets -lnsl"
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_lib_sockets" >&5
15045 $as_echo "$druntime_cv_lib_sockets" >&6; }
15046 LIBS
="$LIBS $druntime_cv_lib_sockets"
15049 # Keep this in sync with core/thread.d, set druntime_fiber_asm_external to
15050 # "yes" for targets that have 'version = AsmExternal'.
15051 druntime_fiber_asm_external
=no
15052 case "$target_cpu" in
15055 i
[34567]86|x86_64 | \
15057 druntime_fiber_asm_external
=yes
15060 if test "$druntime_fiber_asm_external" = no
; then
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing swapcontext" >&5
15062 $as_echo_n "checking for library containing swapcontext... " >&6; }
15063 if ${ac_cv_search_swapcontext+:} false
; then :
15064 $as_echo_n "(cached) " >&6
15066 ac_func_search_save_LIBS
=$LIBS
15067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15068 /* end confdefs.h. */
15070 /* Override any GCC internal prototype to avoid an error.
15071 Use char because int might match the return type of a GCC
15072 builtin and then its argument prototype would still apply. */
15076 char swapcontext ();
15080 return swapcontext ();
15085 for ac_lib
in '' c ucontext
; do
15086 if test -z "$ac_lib"; then
15087 ac_res
="none required"
15090 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15092 if ac_fn_c_try_link
"$LINENO"; then :
15093 ac_cv_search_swapcontext
=$ac_res
15095 rm -f core conftest.err conftest.
$ac_objext \
15097 if ${ac_cv_search_swapcontext+:} false
; then :
15101 if ${ac_cv_search_swapcontext+:} false
; then :
15104 ac_cv_search_swapcontext
=no
15106 rm conftest.
$ac_ext
15107 LIBS
=$ac_func_search_save_LIBS
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_swapcontext" >&5
15110 $as_echo "$ac_cv_search_swapcontext" >&6; }
15111 ac_res
=$ac_cv_search_swapcontext
15112 if test "$ac_res" != no
; then :
15113 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15116 as_fn_error $?
"swapcontext required but not found" "$LINENO" 5
15123 ac_cpp
='$CPP $CPPFLAGS'
15124 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15125 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15126 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15131 # Check whether --with-target-system-zlib was given.
15132 if test "${with_target_system_zlib+set}" = set; then :
15133 withval
=$with_target_system_zlib;
15135 with_target_system_zlib
=no
15139 case "$with_target_system_zlib" in
15141 *) as_fn_error $?
"Invalid argument for --with-target-system-zlib" "$LINENO" 5 ;;
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for system zlib" >&5
15145 $as_echo_n "checking for system zlib... " >&6; }
15148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15149 /* end confdefs.h. */
15154 gzopen("none", "rb")
15159 if ac_fn_c_try_link
"$LINENO"; then :
15161 if test "$cross_compiling" = yes; then :
15162 system_zlib_found
=no
15165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15170 gzFile file = gzopen("none", "rb");
15175 if ac_fn_c_try_run
"$LINENO"; then :
15176 system_zlib_found
=yes
15178 system_zlib_found
=no
15180 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15181 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15186 system_zlib_found
=no
15188 rm -f core conftest.err conftest.
$ac_objext \
15189 conftest
$ac_exeext conftest.
$ac_ext
15192 if test x
$system_zlib_found = xyes
&& test x
$with_target_system_zlib != xno
; then
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15194 $as_echo "found" >&6; }
15196 elif test x
$system_zlib_found = xno
&& test x
$with_target_system_zlib = xyes
; then
15197 as_fn_error $?
"system zlib required but not found" "$LINENO" 5
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
15200 $as_echo "just compiled" >&6; }
15201 LIBZ
=..
/..
/zlib
/libz_convenience.la
15206 ac_cpp
='$CPP $CPPFLAGS'
15207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking D GCC version" >&5
15216 $as_echo_n "checking D GCC version... " >&6; }
15217 gcc_version
=`eval $get_gcc_base_ver $srcdir/../gcc/BASE-VER`
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_version" >&5
15219 $as_echo "$gcc_version" >&6; }
15223 # Check whether --with-cross-host was given.
15224 if test "${with_cross_host+set}" = set; then :
15225 withval
=$with_cross_host;
15229 libphobos_toolexecdir
=no
15230 libphobos_toolexeclibdir
=no
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
15233 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
15234 # Check whether --enable-version-specific-runtime-libs was given.
15235 if test "${enable_version_specific_runtime_libs+set}" = set; then :
15236 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
15237 yes) version_specific_libs
=yes ;;
15238 no
) version_specific_libs
=no
;;
15239 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
15242 version_specific_libs
=no
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
15246 $as_echo "$version_specific_libs" >&6; }
15249 # Check whether --with-toolexeclibdir was given.
15250 if test "${with_toolexeclibdir+set}" = set; then :
15251 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
15255 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
15259 with_toolexeclibdir
=no
15264 # Version-specific runtime libs processing.
15265 if test $version_specific_libs = yes; then
15266 libphobos_toolexecdir
='${libdir}/gcc/${host_alias}'
15267 libphobos_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
15269 # Calculate libphobos_toolexecdir, libphobos_toolexeclibdir
15270 # Install a library built with a cross compiler in tooldir, not libdir.
15271 if test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
15272 libphobos_toolexecdir
='${exec_prefix}/${host_alias}'
15273 case ${with_toolexeclibdir} in
15275 libphobos_toolexeclibdir
='${toolexecdir}/lib'
15278 libphobos_toolexeclibdir
=${with_toolexeclibdir}
15282 libphobos_toolexecdir
='${libdir}/gcc/${host_alias}'
15283 libphobos_toolexeclibdir
='${libdir}'
15285 multi_os_directory
=`$GDC -print-multi-os-directory`
15286 case $multi_os_directory in
15287 .
) ;; # Avoid trailing /.
15288 *) libphobos_toolexeclibdir
=${libphobos_toolexeclibdir}/${multi_os_directory} ;;
15294 # Default case for install directory for D sources files.
15295 gdc_include_dir
='$(libdir)/gcc/${target_alias}/${gcc_version}/include/d'
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-libphobos" >&5
15300 $as_echo_n "checking for --enable-libphobos... " >&6; }
15301 # Check whether --enable-libphobos was given.
15302 if test "${enable_libphobos+set}" = set; then :
15303 enableval
=$enable_libphobos;
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libphobos" >&5
15307 $as_echo "$enable_libphobos" >&6; }
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libphobos-druntime-only" >&5
15310 $as_echo_n "checking for --with-libphobos-druntime-only... " >&6; }
15312 # Check whether --with-libphobos-druntime-only was given.
15313 if test "${with_libphobos_druntime_only+set}" = set; then :
15314 withval
=$with_libphobos_druntime_only;
15316 with_libphobos_druntime_only
=auto
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_libphobos_druntime_only" >&5
15320 $as_echo "$with_libphobos_druntime_only" >&6; }
15322 case "$with_libphobos_druntime_only" in
15324 *) as_fn_error $?
"Invalid argument for --with-libphobos-druntime-only" "$LINENO" 5 ;;
15327 # See if supported.
15328 unset LIBPHOBOS_SUPPORTED
15329 unset LIBDRUNTIME_ONLY
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for libphobos" >&5
15331 $as_echo_n "checking for host support for libphobos... " >&6; }
15332 .
${srcdir}/configure.tgt
15334 x86_64-
*-solaris2.
* | i?
86-*-solaris2.
*)
15335 # libphobos doesn't compile with the Solaris/x86 assembler due to a
15336 # relatively low linelength limit.
15337 as_prog
=`$CC -print-prog-name=as`
15338 if test -n "$as_prog" && $as_prog -v /dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
15339 druntime_cv_use_gas
=yes;
15341 druntime_cv_use_gas
=no
;
15344 if test x
$druntime_cv_use_gas = xno
; then
15345 LIBPHOBOS_SUPPORTED
=no
15347 # 64-bit D execution fails with Solaris ld without -z relax=transtls support.
15348 if test "$druntime_ld_gld" = "no" && test "$druntime_ld_relax_transtls" = "no"; then
15349 LIBPHOBOS_SUPPORTED
=no
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPHOBOS_SUPPORTED" >&5
15354 $as_echo "$LIBPHOBOS_SUPPORTED" >&6; }
15356 # Decide if it's usable.
15357 case $LIBPHOBOS_SUPPORTED:$enable_libphobos in
15358 *:no
) use_libphobos
=no
;;
15359 *:yes) use_libphobos
=yes ;;
15360 yes:*) use_libphobos
=yes ;;
15361 *:*) use_libphobos
=no
;;
15363 if test x
$use_libphobos = xyes
; then
15364 ENABLE_LIBPHOBOS_TRUE
=
15365 ENABLE_LIBPHOBOS_FALSE
='#'
15367 ENABLE_LIBPHOBOS_TRUE
='#'
15368 ENABLE_LIBPHOBOS_FALSE
=
15372 # Decide if only libdruntime should be built.
15373 case $LIBDRUNTIME_ONLY:$with_libphobos_druntime_only in
15374 *:no
) only_libdruntime
=no
;;
15375 *:yes) only_libdruntime
=yes ;;
15376 yes:*) only_libdruntime
=yes ;;
15377 *:*) only_libdruntime
=no
;;
15379 if test x
$only_libdruntime = xyes
; then
15380 ENABLE_LIBDRUNTIME_ONLY_TRUE
=
15381 ENABLE_LIBDRUNTIME_ONLY_FALSE
='#'
15383 ENABLE_LIBDRUNTIME_ONLY_TRUE
='#'
15384 ENABLE_LIBDRUNTIME_ONLY_FALSE
=
15388 # Enable expensive internal checks
15389 # Check whether --enable-libphobos-checking was given.
15390 if test "${enable_libphobos_checking+set}" = set; then :
15391 enableval
=$enable_libphobos_checking; ac_checking_flags
="${enableval}"
15393 ac_checking_flags
=release
15396 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="$IFS,"
15397 for check
in release
$ac_checking_flags
15400 # These set all the flags to specific states
15401 yes|all
) RELEASE_FLAG
="-fno-release" ; ASSERT_FLAG
= ;;
15402 no|none|release
) RELEASE_FLAG
="-frelease" ; ASSERT_FLAG
= ;;
15403 # These enable particular checks
15404 assert
) ASSERT_FLAG
="-fassert" ;;
15410 CHECKING_DFLAGS
="$RELEASE_FLAG $ASSERT_FLAG"
15413 # Add drtbegin.o/drtend.o to startfile/endfile specs in libgphobos.spec
15414 if test "$DCFG_MINFO_BRACKETING" = "false"; then
15415 DRTSTUFF_SPEC
=$srcdir/src
/drtstuff.spec
15417 DRTSTUFF_SPEC
=/dev
/null
15421 # Add dependencies for libgphobos.spec file
15422 SPEC_PHOBOS_DEPS
="$LIBS"
15425 # Libdruntime / phobos soname version
15426 libtool_VERSION
=1:0:0
15429 # Set default flags (after DRUNTIME_WERROR!)
15430 if test -z "$GDCFLAGS"; then
15435 WARN_DFLAGS
="-Wall $WERROR_FLAG"
15438 # Sanity check for the cross-compilation case:
15439 ac_fn_c_check_header_mongrel
"$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
15440 if test "x$ac_cv_header_stdio_h" = xyes
; then :
15443 as_fn_error $?
"cannot find stdio.h." "$LINENO" 5
15448 ac_config_files
="$ac_config_files Makefile"
15451 ac_config_files
="$ac_config_files libdruntime/gcc/config.d libdruntime/gcc/libbacktrace.d"
15453 ac_config_files
="$ac_config_files src/libgphobos.spec"
15455 ac_config_files
="$ac_config_files testsuite/testsuite_flags"
15458 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
15459 # that multilib installs will end up installed in the correct place.
15460 # The testsuite needs it for multilib-aware ABI baseline files.
15461 # To work around this not being passed down from config-ml.in ->
15462 # srcdir/Makefile.am -> srcdir/{src,libdruntime,...}/Makefile.am, manually
15463 # append it here. Only modify Makefiles that have just been created.
15465 # Also, get rid of this simulated-VPATH thing that automake does.
15466 ac_config_files
="$ac_config_files libdruntime/Makefile src/Makefile testsuite/Makefile"
15469 cat >confcache
<<\_ACEOF
15470 # This file is a shell script that caches the results of configure
15471 # tests run on this system so they can be shared between configure
15472 # scripts and configure runs, see configure's option --config-cache.
15473 # It is not useful on other systems. If it contains results you don't
15474 # want to keep, you may remove or edit it.
15476 # config.status only pays attention to the cache file if you give it
15477 # the --recheck option to rerun configure.
15479 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15480 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15481 # following values.
15485 # The following way of writing the cache mishandles newlines in values,
15486 # but we know of no workaround that is simple, portable, and efficient.
15487 # So, we kill variables containing newlines.
15488 # Ultrix sh set writes to stderr and can't be redirected directly,
15489 # and sets the high bit in the cache file unless we assign to the vars.
15491 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15492 eval ac_val
=\$
$ac_var
15496 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15497 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15500 _ | IFS | as_nl
) ;; #(
15501 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15502 *) { eval $ac_var=; unset $ac_var;} ;;
15508 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15509 *${as_nl}ac_space
=\
*)
15510 # `set' does not quote correctly, so add quotes: double-quote
15511 # substitution turns \\\\ into \\, and sed turns \\ into \.
15514 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15517 # `set' quotes correctly as required by POSIX, so do not add quotes.
15518 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15527 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15529 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15531 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15532 if test -w "$cache_file"; then
15533 if test "x$cache_file" != "x/dev/null"; then
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15535 $as_echo "$as_me: updating cache $cache_file" >&6;}
15536 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15537 cat confcache
>"$cache_file"
15539 case $cache_file in #(
15541 mv -f confcache
"$cache_file"$$
&&
15542 mv -f "$cache_file"$$
"$cache_file" ;; #(
15544 mv -f confcache
"$cache_file" ;;
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15550 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15555 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15556 # Let make expand exec_prefix.
15557 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15559 DEFS
=-DHAVE_CONFIG_H
15564 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15565 # 1. Remove the extension, and $U if already installed.
15566 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15567 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15568 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15569 # will be set to the directory where LIBOBJS objects are built.
15570 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15571 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15573 LIBOBJS
=$ac_libobjs
15575 LTLIBOBJS
=$ac_ltlibobjs
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15579 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15580 if test -n "$am_sleep_pid"; then
15581 # Hide warnings about reused PIDs.
15582 wait $am_sleep_pid 2>/dev
/null
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15585 $as_echo "done" >&6; }
15586 if test -n "$EXEEXT"; then
15588 am__EXEEXT_FALSE
='#'
15590 am__EXEEXT_TRUE
='#'
15594 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15595 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15598 if test -z "${DRUNTIME_CPU_AARCH64_TRUE}" && test -z "${DRUNTIME_CPU_AARCH64_FALSE}"; then
15599 as_fn_error $?
"conditional \"DRUNTIME_CPU_AARCH64\" was never defined.
15600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15602 if test -z "${DRUNTIME_CPU_ARM_TRUE}" && test -z "${DRUNTIME_CPU_ARM_FALSE}"; then
15603 as_fn_error $?
"conditional \"DRUNTIME_CPU_ARM\" was never defined.
15604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15606 if test -z "${DRUNTIME_CPU_MIPS_TRUE}" && test -z "${DRUNTIME_CPU_MIPS_FALSE}"; then
15607 as_fn_error $?
"conditional \"DRUNTIME_CPU_MIPS\" was never defined.
15608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15610 if test -z "${DRUNTIME_CPU_POWERPC_TRUE}" && test -z "${DRUNTIME_CPU_POWERPC_FALSE}"; then
15611 as_fn_error $?
"conditional \"DRUNTIME_CPU_POWERPC\" was never defined.
15612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15614 if test -z "${DRUNTIME_CPU_POWERPC64_TRUE}" && test -z "${DRUNTIME_CPU_POWERPC64_FALSE}"; then
15615 as_fn_error $?
"conditional \"DRUNTIME_CPU_POWERPC64\" was never defined.
15616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15618 if test -z "${DRUNTIME_CPU_X86_TRUE}" && test -z "${DRUNTIME_CPU_X86_FALSE}"; then
15619 as_fn_error $?
"conditional \"DRUNTIME_CPU_X86\" was never defined.
15620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15622 if test -z "${DRUNTIME_CPU_SYSTEMZ_TRUE}" && test -z "${DRUNTIME_CPU_SYSTEMZ_FALSE}"; then
15623 as_fn_error $?
"conditional \"DRUNTIME_CPU_SYSTEMZ\" was never defined.
15624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15626 if test -z "${DRUNTIME_CPU_S390_TRUE}" && test -z "${DRUNTIME_CPU_S390_FALSE}"; then
15627 as_fn_error $?
"conditional \"DRUNTIME_CPU_S390\" was never defined.
15628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15630 if test -z "${DRUNTIME_OS_AIX_TRUE}" && test -z "${DRUNTIME_OS_AIX_FALSE}"; then
15631 as_fn_error $?
"conditional \"DRUNTIME_OS_AIX\" was never defined.
15632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15634 if test -z "${DRUNTIME_OS_ANDROID_TRUE}" && test -z "${DRUNTIME_OS_ANDROID_FALSE}"; then
15635 as_fn_error $?
"conditional \"DRUNTIME_OS_ANDROID\" was never defined.
15636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15638 if test -z "${DRUNTIME_OS_DARWIN_TRUE}" && test -z "${DRUNTIME_OS_DARWIN_FALSE}"; then
15639 as_fn_error $?
"conditional \"DRUNTIME_OS_DARWIN\" was never defined.
15640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15642 if test -z "${DRUNTIME_OS_DRAGONFLYBSD_TRUE}" && test -z "${DRUNTIME_OS_DRAGONFLYBSD_FALSE}"; then
15643 as_fn_error $?
"conditional \"DRUNTIME_OS_DRAGONFLYBSD\" was never defined.
15644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15646 if test -z "${DRUNTIME_OS_FREEBSD_TRUE}" && test -z "${DRUNTIME_OS_FREEBSD_FALSE}"; then
15647 as_fn_error $?
"conditional \"DRUNTIME_OS_FREEBSD\" was never defined.
15648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15650 if test -z "${DRUNTIME_OS_NETBSD_TRUE}" && test -z "${DRUNTIME_OS_NETBSD_FALSE}"; then
15651 as_fn_error $?
"conditional \"DRUNTIME_OS_NETBSD\" was never defined.
15652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15654 if test -z "${DRUNTIME_OS_OPENBSD_TRUE}" && test -z "${DRUNTIME_OS_OPENBSD_FALSE}"; then
15655 as_fn_error $?
"conditional \"DRUNTIME_OS_OPENBSD\" was never defined.
15656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15658 if test -z "${DRUNTIME_OS_LINUX_TRUE}" && test -z "${DRUNTIME_OS_LINUX_FALSE}"; then
15659 as_fn_error $?
"conditional \"DRUNTIME_OS_LINUX\" was never defined.
15660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15662 if test -z "${DRUNTIME_OS_MINGW_TRUE}" && test -z "${DRUNTIME_OS_MINGW_FALSE}"; then
15663 as_fn_error $?
"conditional \"DRUNTIME_OS_MINGW\" was never defined.
15664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15666 if test -z "${DRUNTIME_OS_SOLARIS_TRUE}" && test -z "${DRUNTIME_OS_SOLARIS_FALSE}"; then
15667 as_fn_error $?
"conditional \"DRUNTIME_OS_SOLARIS\" was never defined.
15668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15670 if test -z "${DRUNTIME_OS_POSIX_TRUE}" && test -z "${DRUNTIME_OS_POSIX_FALSE}"; then
15671 as_fn_error $?
"conditional \"DRUNTIME_OS_POSIX\" was never defined.
15672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15674 if test -z "${DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE}" && test -z "${DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE}"; then
15675 as_fn_error $?
"conditional \"DRUNTIME_OS_ARM_EABI_UNWINDER\" was never defined.
15676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15678 if test -z "${DRUNTIME_OS_MINFO_BRACKETING_TRUE}" && test -z "${DRUNTIME_OS_MINFO_BRACKETING_FALSE}"; then
15679 as_fn_error $?
"conditional \"DRUNTIME_OS_MINFO_BRACKETING\" was never defined.
15680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15682 if test -z "${ENABLE_LIBPHOBOS_TRUE}" && test -z "${ENABLE_LIBPHOBOS_FALSE}"; then
15683 as_fn_error $?
"conditional \"ENABLE_LIBPHOBOS\" was never defined.
15684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15686 if test -z "${ENABLE_LIBDRUNTIME_ONLY_TRUE}" && test -z "${ENABLE_LIBDRUNTIME_ONLY_FALSE}"; then
15687 as_fn_error $?
"conditional \"ENABLE_LIBDRUNTIME_ONLY\" was never defined.
15688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15691 : "${CONFIG_STATUS=./config.status}"
15693 ac_clean_files_save
=$ac_clean_files
15694 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15696 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15698 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15700 # Generated by $as_me.
15701 # Run this file to recreate the current configuration.
15702 # Compiler output produced by configure, useful for debugging
15703 # configure, is in config.log if it exists.
15706 ac_cs_recheck=false
15709 SHELL=\${CONFIG_SHELL-$SHELL}
15712 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15713 ## -------------------- ##
15714 ## M4sh Initialization. ##
15715 ## -------------------- ##
15717 # Be more Bourne compatible
15718 DUALCASE
=1; export DUALCASE
# for MKS sh
15719 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15722 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15723 # is contrary to our usage. Disable this feature.
15724 alias -g '${1+"$@"}'='"$@"'
15725 setopt NO_GLOB_SUBST
15727 case `(set -o) 2>/dev/null` in #(
15739 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15740 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15741 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15742 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15743 # Prefer a ksh shell builtin over an external printf program on Solaris,
15744 # but without wasting forks for bash or zsh.
15745 if test -z "$BASH_VERSION$ZSH_VERSION" \
15746 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15747 as_echo='print
-r --'
15748 as_echo_n='print
-rn --'
15749 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15750 as_echo='printf %s
\n'
15751 as_echo_n='printf %s
'
15753 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15754 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15755 as_echo_n='/usr
/ucb
/echo -n'
15757 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15758 as_echo_n_body='eval
15762 expr "X$arg" : "X\\(.*\\)$as_nl";
15763 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15765 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15767 export as_echo_n_body
15768 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15770 export as_echo_body
15771 as_echo='sh
-c $as_echo_body as_echo
'
15774 # The user is always right.
15775 if test "${PATH_SEPARATOR+set}" != set; then
15777 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15778 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15785 # We need space, tab and new line, in precisely that order. Quoting is
15786 # there to prevent editors from complaining about space-tab.
15787 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15788 # splitting by setting IFS to empty value.)
15791 # Find who we are. Look in the path if we contain no directory separator.
15794 *[\\/]* ) as_myself=$0 ;;
15795 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15796 for as_dir in $PATH
15799 test -z "$as_dir" && as_dir=.
15800 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15806 # We did not find ourselves, most probably we were run as `sh COMMAND'
15807 # in which case we are not to be found in the path.
15808 if test "x$as_myself" = x
; then
15811 if test ! -f "$as_myself"; then
15812 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15816 # Unset variables that we do not need and which cause bugs (e.g. in
15817 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15818 # suppresses any "Segmentation fault" message there. '((' could
15819 # trigger a bug in pdksh 5.2.14.
15820 for as_var
in BASH_ENV ENV MAIL MAILPATH
15821 do eval test x\
${$as_var+set} = xset \
15822 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15835 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15838 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15839 # ----------------------------------------
15840 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15841 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15842 # script with STATUS, using 1 if that was 0.
15845 as_status
=$1; test $as_status -eq 0 && as_status
=1
15847 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15848 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15850 $as_echo "$as_me: error: $2" >&2
15851 as_fn_exit
$as_status
15855 # as_fn_set_status STATUS
15856 # -----------------------
15857 # Set $? to STATUS, without forking.
15858 as_fn_set_status
()
15861 } # as_fn_set_status
15863 # as_fn_exit STATUS
15864 # -----------------
15865 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15869 as_fn_set_status
$1
15875 # Portably unset VAR.
15878 { eval $1=; unset $1;}
15880 as_unset
=as_fn_unset
15881 # as_fn_append VAR VALUE
15882 # ----------------------
15883 # Append the text in VALUE to the end of the definition contained in VAR. Take
15884 # advantage of any shell optimizations that allow amortized linear growth over
15885 # repeated appends, instead of the typical quadratic growth present in naive
15887 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15888 eval 'as_fn_append ()
15899 # as_fn_arith ARG...
15900 # ------------------
15901 # Perform arithmetic evaluation on the ARGs, and store the result in the
15902 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15903 # must be portable across $(()) and expr.
15904 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15905 eval 'as_fn_arith ()
15912 as_val
=`expr "$@" || test $? -eq 1`
15917 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15918 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15924 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15925 as_basename
=basename
15930 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15936 as_me
=`$as_basename -- "$0" ||
15937 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15938 X"$0" : 'X\(//\)$' \| \
15939 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15941 sed '/^.*\/\([^/][^/]*\)\/*$/{
15955 # Avoid depending upon Character Ranges.
15956 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15957 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15958 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15959 as_cr_digits
='0123456789'
15960 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15962 ECHO_C
= ECHO_N
= ECHO_T
=
15963 case `echo -n x` in #(((((
15965 case `echo 'xy\c'` in
15966 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15968 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15975 rm -f conf$$ conf$$.exe conf$$.
file
15976 if test -d conf$$.dir
; then
15977 rm -f conf$$.dir
/conf$$.
file
15980 mkdir conf$$.dir
2>/dev
/null
15982 if (echo >conf$$.
file) 2>/dev
/null
; then
15983 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15985 # ... but there are two gotchas:
15986 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15987 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15988 # In both cases, we have to default to `cp -pR'.
15989 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15991 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15999 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16000 rmdir conf$$.dir
2>/dev
/null
16005 # Create "$as_dir" as a directory, including parents if necessary.
16010 -*) as_dir
=.
/$as_dir;;
16012 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16016 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16017 *) as_qdir
=$as_dir;;
16019 as_dirs
="'$as_qdir' $as_dirs"
16020 as_dir
=`$as_dirname -- "$as_dir" ||
16021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16022 X"$as_dir" : 'X\(//\)[^/]' \| \
16023 X"$as_dir" : 'X\(//\)$' \| \
16024 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16025 $as_echo X"$as_dir" |
16026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16030 /^X\(\/\/\)[^/].*/{
16043 test -d "$as_dir" && break
16045 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16046 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16050 if mkdir
-p .
2>/dev
/null
; then
16051 as_mkdir_p
='mkdir -p "$as_dir"'
16053 test -d .
/-p && rmdir .
/-p
16058 # as_fn_executable_p FILE
16059 # -----------------------
16060 # Test if FILE is an executable regular file.
16061 as_fn_executable_p
()
16063 test -f "$1" && test -x "$1"
16064 } # as_fn_executable_p
16065 as_test_x
='test -x'
16066 as_executable_p
=as_fn_executable_p
16068 # Sed expression to map a string onto a valid CPP name.
16069 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16071 # Sed expression to map a string onto a valid variable name.
16072 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16076 ## ----------------------------------- ##
16077 ## Main body of $CONFIG_STATUS script. ##
16078 ## ----------------------------------- ##
16080 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16083 # Save the log message, to keep $0 and so on meaningful, and to
16084 # report actual input values of CONFIG_FILES etc. instead of their
16085 # values after options handling.
16087 This file was extended by package-unused $as_me version-unused, which was
16088 generated by GNU Autoconf 2.69. Invocation command line was
16090 CONFIG_FILES = $CONFIG_FILES
16091 CONFIG_HEADERS = $CONFIG_HEADERS
16092 CONFIG_LINKS = $CONFIG_LINKS
16093 CONFIG_COMMANDS = $CONFIG_COMMANDS
16096 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16101 case $ac_config_files in *"
16102 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16105 case $ac_config_headers in *"
16106 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16111 # Files that config.status was made for.
16112 config_files="$ac_config_files"
16113 config_headers="$ac_config_headers"
16114 config_commands="$ac_config_commands"
16118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16120 \`$as_me' instantiates files and other configuration actions
16121 from templates according to the current configuration. Unless the files
16122 and actions are specified as TAGs, all are instantiated by default.
16124 Usage: $0 [OPTION]... [TAG]...
16126 -h, --help print this help, then exit
16127 -V, --version print version number and configuration settings, then exit
16128 --config print configuration, then exit
16129 -q, --quiet, --silent
16130 do not print progress messages
16131 -d, --debug don't remove temporary files
16132 --recheck update $as_me by reconfiguring in the same conditions
16133 --file=FILE[:TEMPLATE]
16134 instantiate the configuration file FILE
16135 --header=FILE[:TEMPLATE]
16136 instantiate the configuration header FILE
16138 Configuration files:
16141 Configuration headers:
16144 Configuration commands:
16147 Report bugs to the package provider."
16150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16151 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16153 package-unused config.status version-unused
16154 configured by $0, generated by GNU Autoconf 2.69,
16155 with options \\"\$ac_cs_config\\"
16157 Copyright (C) 2012 Free Software Foundation, Inc.
16158 This config.status script is free software; the Free Software Foundation
16159 gives unlimited permission to copy, distribute and modify it."
16166 test -n "\$AWK" || AWK=awk
16169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16170 # The default lists apply if the user does not specify any file.
16176 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16177 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16181 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16193 # Handling of the options.
16194 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16196 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16197 $as_echo "$ac_cs_version"; exit ;;
16198 --config |
--confi |
--conf |
--con |
--co |
--c )
16199 $as_echo "$ac_cs_config"; exit ;;
16200 --debug |
--debu |
--deb |
--de |
--d |
-d )
16202 --file |
--fil |
--fi |
--f )
16205 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16206 '') as_fn_error $?
"missing file argument" ;;
16208 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16209 ac_need_defaults
=false
;;
16210 --header |
--heade |
--head |
--hea )
16213 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16215 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16216 ac_need_defaults
=false
;;
16218 # Conflict between --help and --header
16219 as_fn_error $?
"ambiguous option: \`$1'
16220 Try \`$0 --help' for more information.";;
16221 --help |
--hel |
-h )
16222 $as_echo "$ac_cs_usage"; exit ;;
16223 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16224 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16227 # This is an error.
16228 -*) as_fn_error $?
"unrecognized option: \`$1'
16229 Try \`$0 --help' for more information." ;;
16231 *) as_fn_append ac_config_targets
" $1"
16232 ac_need_defaults
=false
;;
16238 ac_configure_extra_args
=
16240 if $ac_cs_silent; then
16242 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16247 if \$ac_cs_recheck; then
16248 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16250 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16251 CONFIG_SHELL='$SHELL'
16252 export CONFIG_SHELL
16257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16261 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16262 ## Running $as_me. ##
16268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16276 with_multisubdir="$with_multisubdir"
16277 with_multisrctop="$with_multisrctop"
16278 with_target_subdir="$with_target_subdir"
16279 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16280 multi_basedir="$multi_basedir"
16281 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16284 GFORTRAN="$GFORTRAN"
16288 # The HP-UX ksh and POSIX shell print the target directory to stdout
16289 # if CDPATH is set.
16290 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16292 sed_quote_subst='$sed_quote_subst'
16293 double_quote_subst='$double_quote_subst'
16294 delay_variable_subst='$delay_variable_subst'
16295 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16296 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16297 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16298 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16299 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16300 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16301 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16302 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16303 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16304 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16305 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16306 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16307 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16308 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16309 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16310 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16311 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16312 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16313 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16314 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16315 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16316 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16317 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16318 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16319 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16320 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16321 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16322 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16323 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16324 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16325 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16326 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16327 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16328 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16329 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16330 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16331 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16332 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16333 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16334 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16335 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16336 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16337 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16338 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16339 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16340 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16341 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16342 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16343 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"`'
16344 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16345 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16346 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16347 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16348 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16349 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16350 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16351 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16352 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16353 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16354 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16355 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16356 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16357 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16358 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16359 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16360 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16361 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16362 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16363 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16364 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16365 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16366 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16367 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16368 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16369 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16370 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16371 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16372 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16373 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16374 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16375 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16376 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16377 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16378 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16379 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16380 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16381 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16382 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16383 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16384 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16385 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16386 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16387 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16388 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16389 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16390 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16391 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16392 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16393 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16394 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16395 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16396 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16397 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16398 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16399 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16400 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16401 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16402 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16403 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16404 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16405 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16406 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16407 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16408 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16409 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16410 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16411 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16412 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16413 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16414 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16415 LD_D='`$ECHO "$LD_D" | $SED "$delay_single_quote_subst"`'
16416 reload_flag_D='`$ECHO "$reload_flag_D" | $SED "$delay_single_quote_subst"`'
16417 reload_cmds_D='`$ECHO "$reload_cmds_D" | $SED "$delay_single_quote_subst"`'
16418 old_archive_cmds_D='`$ECHO "$old_archive_cmds_D" | $SED "$delay_single_quote_subst"`'
16419 compiler_D='`$ECHO "$compiler_D" | $SED "$delay_single_quote_subst"`'
16420 GCC_D='`$ECHO "$GCC_D" | $SED "$delay_single_quote_subst"`'
16421 lt_prog_compiler_no_builtin_flag_D='`$ECHO "$lt_prog_compiler_no_builtin_flag_D" | $SED "$delay_single_quote_subst"`'
16422 lt_prog_compiler_wl_D='`$ECHO "$lt_prog_compiler_wl_D" | $SED "$delay_single_quote_subst"`'
16423 lt_prog_compiler_pic_D='`$ECHO "$lt_prog_compiler_pic_D" | $SED "$delay_single_quote_subst"`'
16424 lt_prog_compiler_static_D='`$ECHO "$lt_prog_compiler_static_D" | $SED "$delay_single_quote_subst"`'
16425 lt_cv_prog_compiler_c_o_D='`$ECHO "$lt_cv_prog_compiler_c_o_D" | $SED "$delay_single_quote_subst"`'
16426 archive_cmds_need_lc_D='`$ECHO "$archive_cmds_need_lc_D" | $SED "$delay_single_quote_subst"`'
16427 enable_shared_with_static_runtimes_D='`$ECHO "$enable_shared_with_static_runtimes_D" | $SED "$delay_single_quote_subst"`'
16428 export_dynamic_flag_spec_D='`$ECHO "$export_dynamic_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16429 whole_archive_flag_spec_D='`$ECHO "$whole_archive_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16430 compiler_needs_object_D='`$ECHO "$compiler_needs_object_D" | $SED "$delay_single_quote_subst"`'
16431 old_archive_from_new_cmds_D='`$ECHO "$old_archive_from_new_cmds_D" | $SED "$delay_single_quote_subst"`'
16432 old_archive_from_expsyms_cmds_D='`$ECHO "$old_archive_from_expsyms_cmds_D" | $SED "$delay_single_quote_subst"`'
16433 archive_cmds_D='`$ECHO "$archive_cmds_D" | $SED "$delay_single_quote_subst"`'
16434 archive_expsym_cmds_D='`$ECHO "$archive_expsym_cmds_D" | $SED "$delay_single_quote_subst"`'
16435 module_cmds_D='`$ECHO "$module_cmds_D" | $SED "$delay_single_quote_subst"`'
16436 module_expsym_cmds_D='`$ECHO "$module_expsym_cmds_D" | $SED "$delay_single_quote_subst"`'
16437 with_gnu_ld_D='`$ECHO "$with_gnu_ld_D" | $SED "$delay_single_quote_subst"`'
16438 allow_undefined_flag_D='`$ECHO "$allow_undefined_flag_D" | $SED "$delay_single_quote_subst"`'
16439 no_undefined_flag_D='`$ECHO "$no_undefined_flag_D" | $SED "$delay_single_quote_subst"`'
16440 hardcode_libdir_flag_spec_D='`$ECHO "$hardcode_libdir_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16441 hardcode_libdir_flag_spec_ld_D='`$ECHO "$hardcode_libdir_flag_spec_ld_D" | $SED "$delay_single_quote_subst"`'
16442 hardcode_libdir_separator_D='`$ECHO "$hardcode_libdir_separator_D" | $SED "$delay_single_quote_subst"`'
16443 hardcode_direct_D='`$ECHO "$hardcode_direct_D" | $SED "$delay_single_quote_subst"`'
16444 hardcode_direct_absolute_D='`$ECHO "$hardcode_direct_absolute_D" | $SED "$delay_single_quote_subst"`'
16445 hardcode_minus_L_D='`$ECHO "$hardcode_minus_L_D" | $SED "$delay_single_quote_subst"`'
16446 hardcode_shlibpath_var_D='`$ECHO "$hardcode_shlibpath_var_D" | $SED "$delay_single_quote_subst"`'
16447 hardcode_automatic_D='`$ECHO "$hardcode_automatic_D" | $SED "$delay_single_quote_subst"`'
16448 inherit_rpath_D='`$ECHO "$inherit_rpath_D" | $SED "$delay_single_quote_subst"`'
16449 link_all_deplibs_D='`$ECHO "$link_all_deplibs_D" | $SED "$delay_single_quote_subst"`'
16450 fix_srcfile_path_D='`$ECHO "$fix_srcfile_path_D" | $SED "$delay_single_quote_subst"`'
16451 always_export_symbols_D='`$ECHO "$always_export_symbols_D" | $SED "$delay_single_quote_subst"`'
16452 export_symbols_cmds_D='`$ECHO "$export_symbols_cmds_D" | $SED "$delay_single_quote_subst"`'
16453 exclude_expsyms_D='`$ECHO "$exclude_expsyms_D" | $SED "$delay_single_quote_subst"`'
16454 include_expsyms_D='`$ECHO "$include_expsyms_D" | $SED "$delay_single_quote_subst"`'
16455 prelink_cmds_D='`$ECHO "$prelink_cmds_D" | $SED "$delay_single_quote_subst"`'
16456 file_list_spec_D='`$ECHO "$file_list_spec_D" | $SED "$delay_single_quote_subst"`'
16457 hardcode_action_D='`$ECHO "$hardcode_action_D" | $SED "$delay_single_quote_subst"`'
16460 LTCFLAGS='$LTCFLAGS'
16461 compiler='$compiler_DEFAULT'
16463 # A function that is used when there is no print builtin or printf.
16464 func_fallback_echo ()
16466 eval 'cat <<_LTECHO_EOF
16471 # Quote evaled strings.
16485 deplibs_check_method \
16494 lt_cv_sys_global_symbol_pipe \
16495 lt_cv_sys_global_symbol_to_cdecl \
16496 lt_cv_sys_global_symbol_to_c_name_address \
16497 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16498 lt_prog_compiler_no_builtin_flag \
16499 lt_prog_compiler_wl \
16500 lt_prog_compiler_pic \
16501 lt_prog_compiler_static \
16502 lt_cv_prog_compiler_c_o \
16510 export_dynamic_flag_spec \
16511 whole_archive_flag_spec \
16512 compiler_needs_object \
16514 allow_undefined_flag \
16515 no_undefined_flag \
16516 hardcode_libdir_flag_spec \
16517 hardcode_libdir_flag_spec_ld \
16518 hardcode_libdir_separator \
16523 variables_saved_for_relink \
16525 library_names_spec \
16527 install_override_mode \
16534 lt_prog_compiler_no_builtin_flag_D \
16535 lt_prog_compiler_wl_D \
16536 lt_prog_compiler_pic_D \
16537 lt_prog_compiler_static_D \
16538 lt_cv_prog_compiler_c_o_D \
16539 export_dynamic_flag_spec_D \
16540 whole_archive_flag_spec_D \
16541 compiler_needs_object_D \
16543 allow_undefined_flag_D \
16544 no_undefined_flag_D \
16545 hardcode_libdir_flag_spec_D \
16546 hardcode_libdir_flag_spec_ld_D \
16547 hardcode_libdir_separator_D \
16548 fix_srcfile_path_D \
16549 exclude_expsyms_D \
16550 include_expsyms_D \
16551 file_list_spec_D; do
16552 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16553 *[\\\\\\\`\\"\\\$]*)
16554 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16557 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16562 # Double-quote double-evaled strings.
16563 for var in reload_cmds \
16564 old_postinstall_cmds \
16565 old_postuninstall_cmds \
16567 extract_expsyms_cmds \
16568 old_archive_from_new_cmds \
16569 old_archive_from_expsyms_cmds \
16571 archive_expsym_cmds \
16573 module_expsym_cmds \
16574 export_symbols_cmds \
16577 postuninstall_cmds \
16579 sys_lib_search_path_spec \
16580 sys_lib_dlsearch_path_spec \
16582 old_archive_cmds_D \
16583 old_archive_from_new_cmds_D \
16584 old_archive_from_expsyms_cmds_D \
16586 archive_expsym_cmds_D \
16588 module_expsym_cmds_D \
16589 export_symbols_cmds_D \
16591 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16592 *[\\\\\\\`\\"\\\$]*)
16593 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16596 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16601 ac_aux_dir='$ac_aux_dir'
16602 xsi_shell='$xsi_shell'
16603 lt_shell_append='$lt_shell_append'
16605 # See if we are running on zsh, and set the options which allow our
16606 # commands through without removal of \ escapes INIT.
16607 if test -n "\${ZSH_VERSION+set}" ; then
16608 setopt NO_GLOB_SUBST
16614 TIMESTAMP='$TIMESTAMP'
16625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16627 # Handling of arguments.
16628 for ac_config_target
in $ac_config_targets
16630 case $ac_config_target in
16631 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16632 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16633 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16634 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16635 "libdruntime/gcc/config.d") CONFIG_FILES
="$CONFIG_FILES libdruntime/gcc/config.d" ;;
16636 "libdruntime/gcc/libbacktrace.d") CONFIG_FILES
="$CONFIG_FILES libdruntime/gcc/libbacktrace.d" ;;
16637 "src/libgphobos.spec") CONFIG_FILES
="$CONFIG_FILES src/libgphobos.spec" ;;
16638 "testsuite/testsuite_flags") CONFIG_FILES
="$CONFIG_FILES testsuite/testsuite_flags" ;;
16639 "libdruntime/Makefile") CONFIG_FILES
="$CONFIG_FILES libdruntime/Makefile" ;;
16640 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
16641 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16643 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16648 # If the user did not use the arguments to specify the items to instantiate,
16649 # then the envvar interface is used. Set only those that are not.
16650 # We use the long form for the default assignment because of an extremely
16651 # bizarre bug on SunOS 4.1.3.
16652 if $ac_need_defaults; then
16653 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16654 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16655 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16658 # Have a temporary directory for convenience. Make it in the build tree
16659 # simply because there is no reason against having it here, and in addition,
16660 # creating and moving files from /tmp can sometimes cause problems.
16661 # Hook for its removal unless debugging.
16662 # Note that there is a small window in which the directory will not be cleaned:
16663 # after its creation but before its name has been assigned to `$tmp'.
16667 trap 'exit_status=$?
16668 : "${ac_tmp:=$tmp}"
16669 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16671 trap 'as_fn_exit 1' 1 2 13 15
16673 # Create a (secure) tmp directory for tmp files.
16676 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16680 tmp
=.
/conf$$
-$RANDOM
16681 (umask 077 && mkdir
"$tmp")
16682 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16685 # Set up the scripts for CONFIG_FILES section.
16686 # No need to generate them if there are no CONFIG_FILES.
16687 # This happens for instance with `./config.status config.h'.
16688 if test -n "$CONFIG_FILES"; then
16690 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16691 ac_cs_awk_getline
=:
16692 ac_cs_awk_pipe_init
=
16693 ac_cs_awk_read_file
='
16694 while ((getline aline < (F[key])) > 0)
16697 ac_cs_awk_pipe_fini
=
16699 ac_cs_awk_getline
=false
16700 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16701 ac_cs_awk_read_file
='
16703 print "cat " F[key] " &&"
16704 '$ac_cs_awk_pipe_init
16705 # The final `:' finishes the AND list.
16706 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16708 ac_cr
=`echo X | tr X '\015'`
16709 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16710 # But we know of no other shell where ac_cr would be empty at this
16711 # point, so we can use a bashism as a fallback.
16712 if test "x$ac_cr" = x
; then
16713 eval ac_cr
=\$
\'\\r
\'
16715 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16716 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16719 ac_cs_awk_cr
=$ac_cr
16722 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16725 # Create commands to substitute file output variables.
16727 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16728 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16729 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16732 } >conf$
$files.sh
&&
16733 . .
/conf$
$files.sh ||
16734 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16735 rm -f conf$
$files.sh
16738 echo "cat >conf$$subs.awk <<_ACEOF" &&
16739 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16741 } >conf$$subs.sh ||
16742 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16743 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16745 for ac_last_try in false false false false false :; do
16746 . ./conf$$subs.sh ||
16747 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16749 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16750 if test $ac_delim_n = $ac_delim_num; then
16752 elif $ac_last_try; then
16753 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16755 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16758 rm -f conf$$subs.sh
16760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16761 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16765 s/^/S["/; s
/!.
*/"]=/
16775 s/\(.\{148\}\)..*/\1/
16777 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16782 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16789 s/\(.\{148\}\)..*/\1/
16791 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16795 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16800 ' <conf$$subs.awk | sed '
16805 ' >>$CONFIG_STATUS || ac_write_fail=1
16806 rm -f conf$$subs.awk
16807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16809 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16810 for (key in S) S_is_set[key] = 1
16812 \$ac_cs_awk_pipe_init
16816 nfields = split(line, field, "@
")
16818 len = length(field[1])
16819 for (i = 2; i < nfields; i++) {
16821 keylen = length(key)
16822 if (S_is_set[key]) {
16824 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16825 len += length(value) + length(field[++i])
16830 if (nfields == 3 && !substed) {
16832 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16833 \$ac_cs_awk_read_file
16839 \$ac_cs_awk_pipe_fini
16842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16843 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16844 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16847 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16848 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16851 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16852 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16853 # trailing colons and then remove the whole line if VPATH becomes empty
16854 # (actually we leave an empty line to preserve line numbers).
16855 if test "x
$srcdir" = x.; then
16856 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16875 fi # test -n "$CONFIG_FILES"
16877 # Set up the scripts for CONFIG_HEADERS section.
16878 # No need to generate them if there are no CONFIG_HEADERS.
16879 # This happens for instance with `./config.status Makefile'.
16880 if test -n "$CONFIG_HEADERS"; then
16881 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16885 # Transform confdefs.h into an awk script `defines.awk', embedded as
16886 # here-document in config.status, that substitutes the proper values into
16887 # config.h.in to produce config.h.
16889 # Create a delimiter string that does not exist in confdefs.h, to ease
16890 # handling of long lines.
16892 for ac_last_try in false false :; do
16893 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16894 if test -z "$ac_tt"; then
16896 elif $ac_last_try; then
16897 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16899 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16903 # For the awk script, D is an array of macro values keyed by name,
16904 # likewise P contains macro parameters if any. Preserve backslash
16905 # newline sequences.
16907 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16909 s/.\{148\}/&'"$ac_delim"'/g
16912 s/^[ ]*#[ ]*define[ ][ ]*/ /
16919 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16921 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16925 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16926 D["\
1"]=" \
3\\\\\\n
"\\/p
16928 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16933 s/.\{148\}/&'"$ac_delim"'/g
16938 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16941 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16943 ' <confdefs.h | sed '
16944 s/'"$ac_delim"'/"\\\
16945 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16948 for (key in D) D_is_set[key] = 1
16951 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16953 split(line, arg, " ")
16954 if (arg[1] == "#") {
16958 defundef
= substr
(arg
[1], 2)
16961 split(mac1
, mac2
, "(") #)
16963 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16964 if (D_is_set
[macro
]) {
16965 # Preserve the white space surrounding the "#".
16966 print prefix
"define", macro P
[macro
] D
[macro
]
16969 # Replace #undef with comments. This is necessary, for example,
16970 # in the case of _POSIX_SOURCE, which is predefined and required
16971 # on some systems where configure will not decide to define it.
16972 if (defundef
== "undef") {
16973 print
"/*", prefix defundef
, macro
, "*/"
16981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16982 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16983 fi # test -n "$CONFIG_HEADERS"
16986 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16991 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16993 case $ac_mode$ac_tag in
16995 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16996 :[FH
]-) ac_tag
=-:-;;
16997 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17014 -) ac_f
="$ac_tmp/stdin";;
17015 *) # Look for the file first in the build tree, then in the source tree
17016 # (if the path is not absolute). The absolute path cannot be DOS-style,
17017 # because $ac_f cannot contain `:'.
17021 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17023 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17025 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17026 as_fn_append ac_file_inputs
" '$ac_f'"
17029 # Let's still pretend it is `configure' which instantiates (i.e., don't
17030 # use $as_me), people would be surprised to read:
17031 # /* config.h. Generated by config.status. */
17032 configure_input
='Generated from '`
17033 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17035 if test x
"$ac_file" != x-
; then
17036 configure_input
="$ac_file. $configure_input"
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17038 $as_echo "$as_me: creating $ac_file" >&6;}
17040 # Neutralize special characters interpreted by sed in replacement strings.
17041 case $configure_input in #(
17042 *\
&* |
*\|
* |
*\\* )
17043 ac_sed_conf_input
=`$as_echo "$configure_input" |
17044 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17045 *) ac_sed_conf_input
=$configure_input;;
17049 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17050 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17055 ac_dir
=`$as_dirname -- "$ac_file" ||
17056 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17057 X"$ac_file" : 'X\(//\)[^/]' \| \
17058 X"$ac_file" : 'X\(//\)$' \| \
17059 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17060 $as_echo X"$ac_file" |
17061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17065 /^X\(\/\/\)[^/].*/{
17078 as_dir
="$ac_dir"; as_fn_mkdir_p
17082 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17084 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17085 # A ".." for each directory in $ac_dir_suffix.
17086 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17087 case $ac_top_builddir_sub in
17088 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17089 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17092 ac_abs_top_builddir
=$ac_pwd
17093 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17094 # for backward compatibility:
17095 ac_top_builddir
=$ac_top_build_prefix
17098 .
) # We are building in place.
17100 ac_top_srcdir
=$ac_top_builddir_sub
17101 ac_abs_top_srcdir
=$ac_pwd ;;
17102 [\\/]* | ?
:[\\/]* ) # Absolute name.
17103 ac_srcdir
=$srcdir$ac_dir_suffix;
17104 ac_top_srcdir
=$srcdir
17105 ac_abs_top_srcdir
=$srcdir ;;
17106 *) # Relative name.
17107 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17108 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17109 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17111 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17121 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17122 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17124 ac_MKDIR_P
=$MKDIR_P
17126 [\\/$
]* | ?
:[\\/]* ) ;;
17127 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17132 # If the template does not know about datarootdir, expand it.
17133 # FIXME: This hack should be removed a few years after 2.60.
17134 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17145 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17146 *datarootdir
*) ac_datarootdir_seen
=yes;;
17147 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17149 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17152 ac_datarootdir_hack='
17153 s&@datadir@&$datadir&g
17154 s&@docdir@&$docdir&g
17155 s&@infodir@&$infodir&g
17156 s&@localedir@&$localedir&g
17157 s&@mandir@&$mandir&g
17158 s&\\\${datarootdir}&$datarootdir&g' ;;
17162 # Neutralize VPATH when `$srcdir' = `.'.
17163 # Shell code in configure.ac might set extrasub.
17164 # FIXME: do we really want to maintain this feature?
17165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17166 ac_sed_extra="$ac_vpsub
17169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17171 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17172 s|@configure_input@|
$ac_sed_conf_input|
;t t
17173 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17174 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17175 s
&@srcdir@
&$ac_srcdir&;t t
17176 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17177 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17178 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17179 s
&@builddir@
&$ac_builddir&;t t
17180 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17181 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17182 s
&@INSTALL@
&$ac_INSTALL&;t t
17183 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17184 $ac_datarootdir_hack
17186 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17187 if $ac_cs_awk_getline; then
17188 $AWK -f "$ac_tmp/subs.
awk"
17190 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17192 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17194 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17195 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17196 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17197 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17199 which seems to be undefined. Please make sure it is defined" >&5
17200 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17201 which seems to be undefined. Please make sure it is defined" >&2;}
17203 rm -f "$ac_tmp/stdin"
17205 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17206 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17208 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17214 if test x"$ac_file" != x-; then
17216 $as_echo "/* $configure_input */" \
17217 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17218 } >"$ac_tmp/config.h" \
17219 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17220 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17222 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17225 mv "$ac_tmp/config.h" "$ac_file" \
17226 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17229 $as_echo "/* $configure_input */" \
17230 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17231 || as_fn_error $? "could not create -" "$LINENO" 5
17233 # Compute "$ac_file"'s index
in $config_headers.
17236 for _am_header
in $config_headers :; do
17237 case $_am_header in
17238 $_am_arg |
$_am_arg:* )
17241 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17244 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17245 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17246 X"$_am_arg" : 'X\(//\)[^/]' \| \
17247 X"$_am_arg" : 'X\(//\)$' \| \
17248 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17249 $as_echo X"$_am_arg" |
17250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17254 /^X\(\/\/\)[^/].*/{
17266 s/.*/./; q'`/stamp-h
$_am_stamp_count
17269 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17270 $as_echo "$as_me: executing $ac_file commands" >&6;}
17275 case $ac_file$ac_mode in
17277 # Only add multilib support code if we just rebuilt the top-level
17279 case " $CONFIG_FILES " in
17281 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17286 # See if we are running on zsh, and set the options which allow our
17287 # commands through without removal of \ escapes.
17288 if test -n "${ZSH_VERSION+set}" ; then
17289 setopt NO_GLOB_SUBST
17292 cfgfile
="${ofile}T"
17293 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17296 cat <<_LT_EOF >> "$cfgfile"
17299 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17300 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17301 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17302 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17304 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17305 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17306 # Written by Gordon Matzigkeit, 1996
17308 # This file is part of GNU Libtool.
17310 # GNU Libtool is free software; you can redistribute it and/or
17311 # modify it under the terms of the GNU General Public License as
17312 # published by the Free Software Foundation; either version 2 of
17313 # the License, or (at your option) any later version.
17315 # As a special exception to the GNU General Public License,
17316 # if you distribute this file as part of a program or library that
17317 # is built using GNU Libtool, you may include this file under the
17318 # same distribution terms that you use for the rest of that program.
17320 # GNU Libtool is distributed in the hope that it will be useful,
17321 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17322 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17323 # GNU General Public License for more details.
17325 # You should have received a copy of the GNU General Public License
17326 # along with GNU Libtool; see the file COPYING. If not, a copy
17327 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17328 # obtained by writing to the Free Software Foundation, Inc.,
17329 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17332 # The names of the tagged configurations supported by this script.
17333 available_tags="D "
17335 # ### BEGIN LIBTOOL CONFIG
17337 # Which release of libtool.m4 was used?
17338 macro_version=$macro_version
17339 macro_revision=$macro_revision
17341 # Whether or not to build shared libraries.
17342 build_libtool_libs=$enable_shared
17344 # Whether or not to build static libraries.
17345 build_old_libs=$enable_static
17347 # What type of objects to build.
17350 # Whether or not to optimize for fast installation.
17351 fast_install=$enable_fast_install
17353 # Shell to use when invoking shell scripts.
17356 # An echo program that protects backslashes.
17360 host_alias=$host_alias
17364 # The build system.
17365 build_alias=$build_alias
17369 # A sed program that does not truncate output.
17372 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17373 Xsed="\$SED -e 1s/^X//"
17375 # A grep program that handles long lines.
17381 # A literal string matcher.
17384 # A BSD- or MS-compatible name lister.
17387 # Whether we need soft or hard links.
17390 # What is the maximum length of a command?
17391 max_cmd_len=$max_cmd_len
17393 # Object file suffix (normally "o").
17396 # Executable file suffix (normally "").
17399 # whether the shell understands "unset".
17402 # turn spaces into newlines.
17405 # turn newlines into spaces.
17408 # An object symbol dumper.
17409 OBJDUMP=$lt_OBJDUMP
17411 # Method to check whether dependent libraries are shared objects.
17412 deplibs_check_method=$lt_deplibs_check_method
17414 # Command to use when deplibs_check_method == "file_magic".
17415 file_magic_cmd=$lt_file_magic_cmd
17419 AR_FLAGS=$lt_AR_FLAGS
17421 # A symbol stripping program.
17424 # Commands used to install an old-style archive.
17426 old_postinstall_cmds=$lt_old_postinstall_cmds
17427 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17429 # Whether to use a lock for old archive extraction.
17430 lock_old_archive_extraction=$lock_old_archive_extraction
17435 # LTCC compiler flags.
17436 LTCFLAGS=$lt_CFLAGS
17438 # Take the output of nm and produce a listing of raw symbols and C names.
17439 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17441 # Transform the output of nm in a proper C declaration.
17442 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17444 # Transform the output of nm in a C name address pair.
17445 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17447 # Transform the output of nm in a C name address pair when lib prefix is needed.
17448 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17450 # The name of the directory that contains temporary libtool files.
17453 # Used to examine libraries when file_magic_cmd begins with "file".
17454 MAGIC_CMD=$MAGIC_CMD
17456 # Must we lock files when doing compilation?
17457 need_locks=$lt_need_locks
17459 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17460 DSYMUTIL=$lt_DSYMUTIL
17462 # Tool to change global to local symbols on Mac OS X.
17465 # Tool to manipulate fat objects and archives on Mac OS X.
17468 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17471 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17472 OTOOL64=$lt_OTOOL64
17474 # Old archive suffix (normally "a").
17477 # Shared library suffix (normally ".so").
17478 shrext_cmds=$lt_shrext_cmds
17480 # The commands to extract the exported symbol list from a shared archive.
17481 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17483 # Variables whose values should be saved in libtool wrapper scripts and
17484 # restored at link time.
17485 variables_saved_for_relink=$lt_variables_saved_for_relink
17487 # Do we need the "lib" prefix for modules?
17488 need_lib_prefix=$need_lib_prefix
17490 # Do we need a version for libraries?
17491 need_version=$need_version
17493 # Library versioning type.
17494 version_type=$version_type
17496 # Shared library runtime path variable.
17497 runpath_var=$runpath_var
17499 # Shared library path variable.
17500 shlibpath_var=$shlibpath_var
17502 # Is shlibpath searched before the hard-coded library search path?
17503 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17505 # Format of library name prefix.
17506 libname_spec=$lt_libname_spec
17508 # List of archive names. First name is the real one, the rest are links.
17509 # The last name is the one that the linker finds with -lNAME
17510 library_names_spec=$lt_library_names_spec
17512 # The coded name of the library, if different from the real name.
17513 soname_spec=$lt_soname_spec
17515 # Permission mode override for installation of shared libraries.
17516 install_override_mode=$lt_install_override_mode
17518 # Command to use after installation of a shared archive.
17519 postinstall_cmds=$lt_postinstall_cmds
17521 # Command to use after uninstallation of a shared archive.
17522 postuninstall_cmds=$lt_postuninstall_cmds
17524 # Commands used to finish a libtool library installation in a directory.
17525 finish_cmds=$lt_finish_cmds
17527 # As "finish_cmds", except a single script fragment to be evaled but
17529 finish_eval=$lt_finish_eval
17531 # Whether we should hardcode library paths into libraries.
17532 hardcode_into_libs=$hardcode_into_libs
17534 # Compile-time system search path for libraries.
17535 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17537 # Run-time system search path for libraries.
17538 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17540 # Whether dlopen is supported.
17541 dlopen_support=$enable_dlopen
17543 # Whether dlopen of programs is supported.
17544 dlopen_self=$enable_dlopen_self
17546 # Whether dlopen of statically linked programs is supported.
17547 dlopen_self_static=$enable_dlopen_self_static
17549 # Commands to strip libraries.
17550 old_striplib=$lt_old_striplib
17551 striplib=$lt_striplib
17554 # The linker used to build libraries.
17557 # How to create reloadable object files.
17558 reload_flag=$lt_reload_flag
17559 reload_cmds=$lt_reload_cmds
17561 # Commands used to build an old-style archive.
17562 old_archive_cmds=$lt_old_archive_cmds
17564 # A language specific compiler.
17567 # Is the compiler the GNU compiler?
17570 # Compiler flag to turn off builtin functions.
17571 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17573 # How to pass a linker flag through the compiler.
17574 wl=$lt_lt_prog_compiler_wl
17576 # Additional compiler flags for building library objects.
17577 pic_flag=$lt_lt_prog_compiler_pic
17579 # Compiler flag to prevent dynamic linking.
17580 link_static_flag=$lt_lt_prog_compiler_static
17582 # Does compiler simultaneously support -c and -o options?
17583 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17585 # Whether or not to add -lc for building shared libraries.
17586 build_libtool_need_lc=$archive_cmds_need_lc
17588 # Whether or not to disallow shared libs when runtime libs are static.
17589 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17591 # Compiler flag to allow reflexive dlopens.
17592 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17594 # Compiler flag to generate shared objects directly from archives.
17595 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17597 # Whether the compiler copes with passing no objects directly.
17598 compiler_needs_object=$lt_compiler_needs_object
17600 # Create an old-style archive from a shared archive.
17601 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17603 # Create a temporary old-style archive to link instead of a shared archive.
17604 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17606 # Commands used to build a shared archive.
17607 archive_cmds=$lt_archive_cmds
17608 archive_expsym_cmds=$lt_archive_expsym_cmds
17610 # Commands used to build a loadable module if different from building
17611 # a shared archive.
17612 module_cmds=$lt_module_cmds
17613 module_expsym_cmds=$lt_module_expsym_cmds
17615 # Whether we are building with GNU ld or not.
17616 with_gnu_ld=$lt_with_gnu_ld
17618 # Flag that allows shared libraries with undefined symbols to be built.
17619 allow_undefined_flag=$lt_allow_undefined_flag
17621 # Flag that enforces no undefined symbols.
17622 no_undefined_flag=$lt_no_undefined_flag
17624 # Flag to hardcode \$libdir into a binary during linking.
17625 # This must work even if \$libdir does not exist
17626 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17628 # If ld is used when linking, flag to hardcode \$libdir into a binary
17629 # during linking. This must work even if \$libdir does not exist.
17630 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17632 # Whether we need a single "-rpath" flag with a separated argument.
17633 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17635 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17636 # DIR into the resulting binary.
17637 hardcode_direct=$hardcode_direct
17639 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17640 # DIR into the resulting binary and the resulting library dependency is
17641 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17642 # library is relocated.
17643 hardcode_direct_absolute=$hardcode_direct_absolute
17645 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17646 # into the resulting binary.
17647 hardcode_minus_L=$hardcode_minus_L
17649 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17650 # into the resulting binary.
17651 hardcode_shlibpath_var=$hardcode_shlibpath_var
17653 # Set to "yes" if building a shared library automatically hardcodes DIR
17654 # into the library and all subsequent libraries and executables linked
17656 hardcode_automatic=$hardcode_automatic
17658 # Set to yes if linker adds runtime paths of dependent libraries
17659 # to runtime path list.
17660 inherit_rpath=$inherit_rpath
17662 # Whether libtool must link a program against all its dependency libraries.
17663 link_all_deplibs=$link_all_deplibs
17665 # Fix the shell variable \$srcfile for the compiler.
17666 fix_srcfile_path=$lt_fix_srcfile_path
17668 # Set to "yes" if exported symbols are required.
17669 always_export_symbols=$always_export_symbols
17671 # The commands to list exported symbols.
17672 export_symbols_cmds=$lt_export_symbols_cmds
17674 # Symbols that should not be listed in the preloaded symbols.
17675 exclude_expsyms=$lt_exclude_expsyms
17677 # Symbols that must always be exported.
17678 include_expsyms=$lt_include_expsyms
17680 # Commands necessary for linking programs (against libraries) with templates.
17681 prelink_cmds=$lt_prelink_cmds
17683 # Specify filename containing input files.
17684 file_list_spec=$lt_file_list_spec
17686 # How to hardcode a shared library path into an executable.
17687 hardcode_action=$hardcode_action
17689 # ### END LIBTOOL CONFIG
17695 cat <<\_LT_EOF
>> "$cfgfile"
17696 # AIX sometimes has problems with the GCC collect2 program. For some
17697 # reason, if we set the COLLECT_NAMES environment variable, the problems
17698 # vanish in a puff of smoke.
17699 if test "X${COLLECT_NAMES+set}" != Xset
; then
17701 export COLLECT_NAMES
17708 ltmain
="$ac_aux_dir/ltmain.sh"
17711 # We use sed instead of cat because bash on DJGPP gets confused if
17712 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17713 # text mode, it properly converts lines to CR/LF. This bash problem
17714 # is reportedly fixed, but why not run on old versions too?
17715 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17716 ||
(rm -f "$cfgfile"; exit 1)
17720 cat << \_LT_EOF
>> "$cfgfile"
17722 # func_dirname file append nondir_replacement
17723 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17724 # otherwise set result to NONDIR_REPLACEMENT.
17728 */*) func_dirname_result
="${1%/*}${2}" ;;
17729 * ) func_dirname_result
="${3}" ;;
17733 # func_basename file
17736 func_basename_result
="${1##*/}"
17739 # func_dirname_and_basename file append nondir_replacement
17740 # perform func_basename and func_dirname in a single function
17742 # dirname: Compute the dirname of FILE. If nonempty,
17743 # add APPEND to the result, otherwise set result
17744 # to NONDIR_REPLACEMENT.
17745 # value returned in "$func_dirname_result"
17746 # basename: Compute filename of FILE.
17747 # value retuned in "$func_basename_result"
17748 # Implementation must be kept synchronized with func_dirname
17749 # and func_basename. For efficiency, we do not delegate to
17750 # those functions but instead duplicate the functionality here.
17751 func_dirname_and_basename
()
17754 */*) func_dirname_result
="${1%/*}${2}" ;;
17755 * ) func_dirname_result
="${3}" ;;
17757 func_basename_result
="${1##*/}"
17760 # func_stripname prefix suffix name
17761 # strip PREFIX and SUFFIX off of NAME.
17762 # PREFIX and SUFFIX must not contain globbing or regex special
17763 # characters, hashes, percent signs, but SUFFIX may contain a leading
17764 # dot (in which case that matches only a dot).
17767 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17768 # positional parameters, so assign one to ordinary parameter first.
17769 func_stripname_result
=${3}
17770 func_stripname_result
=${func_stripname_result#"${1}"}
17771 func_stripname_result
=${func_stripname_result%"${2}"}
17777 func_opt_split_opt
=${1%%=*}
17778 func_opt_split_arg
=${1#*=}
17785 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17786 *) func_lo2o_result
=${1} ;;
17790 # func_xform libobj-or-source
17793 func_xform_result
=${1%.*}.lo
17796 # func_arith arithmetic-term...
17799 func_arith_result
=$
(( $
* ))
17803 # STRING may not start with a hyphen.
17806 func_len_result
=${#1}
17811 *) # Bourne compatible functions.
17812 cat << \_LT_EOF
>> "$cfgfile"
17814 # func_dirname file append nondir_replacement
17815 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17816 # otherwise set result to NONDIR_REPLACEMENT.
17819 # Extract subdirectory from the argument.
17820 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17821 if test "X$func_dirname_result" = "X${1}"; then
17822 func_dirname_result
="${3}"
17824 func_dirname_result
="$func_dirname_result${2}"
17828 # func_basename file
17831 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17835 # func_stripname prefix suffix name
17836 # strip PREFIX and SUFFIX off of NAME.
17837 # PREFIX and SUFFIX must not contain globbing or regex special
17838 # characters, hashes, percent signs, but SUFFIX may contain a leading
17839 # dot (in which case that matches only a dot).
17840 # func_strip_suffix prefix name
17844 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17845 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17850 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17851 my_sed_long_arg
='1s/^-[^=]*=//'
17856 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17857 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17863 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17866 # func_xform libobj-or-source
17869 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17872 # func_arith arithmetic-term...
17875 func_arith_result
=`expr "$@"`
17879 # STRING may not start with a hyphen.
17882 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17888 case $lt_shell_append in
17890 cat << \_LT_EOF
>> "$cfgfile"
17892 # func_append var value
17893 # Append VALUE to the end of shell variable VAR.
17901 cat << \_LT_EOF
>> "$cfgfile"
17903 # func_append var value
17904 # Append VALUE to the end of shell variable VAR.
17915 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17916 ||
(rm -f "$cfgfile"; exit 1)
17918 mv -f "$cfgfile" "$ofile" ||
17919 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17923 cat <<_LT_EOF >> "$ofile"
17925 # ### BEGIN LIBTOOL TAG CONFIG: D
17927 # The linker used to build libraries.
17930 # How to create reloadable object files.
17931 reload_flag=$lt_reload_flag_D
17932 reload_cmds=$lt_reload_cmds_D
17934 # Commands used to build an old-style archive.
17935 old_archive_cmds=$lt_old_archive_cmds_D
17937 # A language specific compiler.
17940 # Is the compiler the GNU compiler?
17943 # Compiler flag to turn off builtin functions.
17944 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_D
17946 # How to pass a linker flag through the compiler.
17947 wl=$lt_lt_prog_compiler_wl_D
17949 # Additional compiler flags for building library objects.
17950 pic_flag=$lt_lt_prog_compiler_pic_D
17952 # Compiler flag to prevent dynamic linking.
17953 link_static_flag=$lt_lt_prog_compiler_static_D
17955 # Does compiler simultaneously support -c and -o options?
17956 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_D
17958 # Whether or not to add -lc for building shared libraries.
17959 build_libtool_need_lc=$archive_cmds_need_lc_D
17961 # Whether or not to disallow shared libs when runtime libs are static.
17962 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_D
17964 # Compiler flag to allow reflexive dlopens.
17965 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_D
17967 # Compiler flag to generate shared objects directly from archives.
17968 whole_archive_flag_spec=$lt_whole_archive_flag_spec_D
17970 # Whether the compiler copes with passing no objects directly.
17971 compiler_needs_object=$lt_compiler_needs_object_D
17973 # Create an old-style archive from a shared archive.
17974 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_D
17976 # Create a temporary old-style archive to link instead of a shared archive.
17977 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_D
17979 # Commands used to build a shared archive.
17980 archive_cmds=$lt_archive_cmds_D
17981 archive_expsym_cmds=$lt_archive_expsym_cmds_D
17983 # Commands used to build a loadable module if different from building
17984 # a shared archive.
17985 module_cmds=$lt_module_cmds_D
17986 module_expsym_cmds=$lt_module_expsym_cmds_D
17988 # Whether we are building with GNU ld or not.
17989 with_gnu_ld=$lt_with_gnu_ld_D
17991 # Flag that allows shared libraries with undefined symbols to be built.
17992 allow_undefined_flag=$lt_allow_undefined_flag_D
17994 # Flag that enforces no undefined symbols.
17995 no_undefined_flag=$lt_no_undefined_flag_D
17997 # Flag to hardcode \$libdir into a binary during linking.
17998 # This must work even if \$libdir does not exist
17999 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_D
18001 # If ld is used when linking, flag to hardcode \$libdir into a binary
18002 # during linking. This must work even if \$libdir does not exist.
18003 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_D
18005 # Whether we need a single "-rpath" flag with a separated argument.
18006 hardcode_libdir_separator=$lt_hardcode_libdir_separator_D
18008 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18009 # DIR into the resulting binary.
18010 hardcode_direct=$hardcode_direct_D
18012 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18013 # DIR into the resulting binary and the resulting library dependency is
18014 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18015 # library is relocated.
18016 hardcode_direct_absolute=$hardcode_direct_absolute_D
18018 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18019 # into the resulting binary.
18020 hardcode_minus_L=$hardcode_minus_L_D
18022 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18023 # into the resulting binary.
18024 hardcode_shlibpath_var=$hardcode_shlibpath_var_D
18026 # Set to "yes" if building a shared library automatically hardcodes DIR
18027 # into the library and all subsequent libraries and executables linked
18029 hardcode_automatic=$hardcode_automatic_D
18031 # Set to yes if linker adds runtime paths of dependent libraries
18032 # to runtime path list.
18033 inherit_rpath=$inherit_rpath_D
18035 # Whether libtool must link a program against all its dependency libraries.
18036 link_all_deplibs=$link_all_deplibs_D
18038 # Fix the shell variable \$srcfile for the compiler.
18039 fix_srcfile_path=$lt_fix_srcfile_path_D
18041 # Set to "yes" if exported symbols are required.
18042 always_export_symbols=$always_export_symbols_D
18044 # The commands to list exported symbols.
18045 export_symbols_cmds=$lt_export_symbols_cmds_D
18047 # Symbols that should not be listed in the preloaded symbols.
18048 exclude_expsyms=$lt_exclude_expsyms_D
18050 # Symbols that must always be exported.
18051 include_expsyms=$lt_include_expsyms_D
18053 # Commands necessary for linking programs (against libraries) with templates.
18054 prelink_cmds=$lt_prelink_cmds_D
18056 # Specify filename containing input files.
18057 file_list_spec=$lt_file_list_spec_D
18059 # How to hardcode a shared library path into an executable.
18060 hardcode_action=$hardcode_action_D
18062 # ### END LIBTOOL TAG CONFIG: D
18066 "testsuite/testsuite_flags":F
) chmod +x testsuite
/testsuite_flags
;;
18067 "libdruntime/Makefile":F
) cat > vpsed$$
<< \_EOF
18068 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18070 sed -f vpsed$$
$ac_file > tmp$$
18073 echo 'MULTISUBDIR =' >> $ac_file
18075 .
${multi_basedir}/config-ml.
in
18076 { ml_norecursion
=; unset ml_norecursion
;}
18078 "src/Makefile":F
) cat > vpsed$$
<< \_EOF
18079 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18081 sed -f vpsed$$
$ac_file > tmp$$
18084 echo 'MULTISUBDIR =' >> $ac_file
18086 .
${multi_basedir}/config-ml.
in
18087 { ml_norecursion
=; unset ml_norecursion
;}
18089 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
18090 s
!`test -f '$<' || echo '$(srcdir)/'`!!
18092 sed -f vpsed$$
$ac_file > tmp$$
18095 echo 'MULTISUBDIR =' >> $ac_file
18097 .
${multi_basedir}/config-ml.
in
18098 { ml_norecursion
=; unset ml_norecursion
;}
18107 ac_clean_files
=$ac_clean_files_save
18109 test $ac_write_fail = 0 ||
18110 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18113 # configure is writing to config.log, and then calls config.status.
18114 # config.status does its own redirection, appending to config.log.
18115 # Unfortunately, on DOS this fails, as config.log is still kept open
18116 # by configure, so config.status won't be able to write to it; its
18117 # output is simply discarded. So we exec the FD to /dev/null,
18118 # effectively closing config.log, so it can be properly (re)opened and
18119 # appended to by config.status. When coming back to configure, we
18120 # need to make the FD available again.
18121 if test "$no_create" != yes; then
18123 ac_config_status_args
=
18124 test "$silent" = yes &&
18125 ac_config_status_args
="$ac_config_status_args --quiet"
18127 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18129 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18130 # would make configure fail if this is the last instruction.
18131 $ac_cs_success || as_fn_exit
1
18133 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18135 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}