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
639 ENABLE_LIBPHOBOS_FALSE
640 ENABLE_LIBPHOBOS_TRUE
642 libphobos_toolexeclibdir
643 libphobos_toolexecdir
646 BACKTRACE_SUPPORTS_THREADS
647 BACKTRACE_USES_MALLOC
652 DCFG_HAVE_64BIT_ATOMICS
653 DCFG_HAVE_ATOMIC_BUILTINS
657 DRUNTIME_OS_MINFO_BRACKETING_FALSE
658 DRUNTIME_OS_MINFO_BRACKETING_TRUE
659 DCFG_MINFO_BRACKETING
660 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
661 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
662 DCFG_ARM_EABI_UNWINDER
664 DRUNTIME_OS_SOLARIS_FALSE
665 DRUNTIME_OS_SOLARIS_TRUE
666 DRUNTIME_OS_MINGW_FALSE
667 DRUNTIME_OS_MINGW_TRUE
668 DRUNTIME_OS_LINUX_FALSE
669 DRUNTIME_OS_LINUX_TRUE
670 DRUNTIME_OS_OPENBSD_FALSE
671 DRUNTIME_OS_OPENBSD_TRUE
672 DRUNTIME_OS_NETBSD_FALSE
673 DRUNTIME_OS_NETBSD_TRUE
674 DRUNTIME_OS_FREEBSD_FALSE
675 DRUNTIME_OS_FREEBSD_TRUE
676 DRUNTIME_OS_DRAGONFLYBSD_FALSE
677 DRUNTIME_OS_DRAGONFLYBSD_TRUE
678 DRUNTIME_OS_DARWIN_FALSE
679 DRUNTIME_OS_DARWIN_TRUE
680 DRUNTIME_OS_ANDROID_FALSE
681 DRUNTIME_OS_ANDROID_TRUE
682 DRUNTIME_OS_AIX_FALSE
684 DRUNTIME_OS_UNIX_FALSE
685 DRUNTIME_OS_UNIX_TRUE
686 DRUNTIME_CPU_X86_FALSE
687 DRUNTIME_CPU_X86_TRUE
688 DRUNTIME_CPU_POWERPC64_FALSE
689 DRUNTIME_CPU_POWERPC64_TRUE
690 DRUNTIME_CPU_POWERPC_FALSE
691 DRUNTIME_CPU_POWERPC_TRUE
692 DRUNTIME_CPU_MIPS_FALSE
693 DRUNTIME_CPU_MIPS_TRUE
694 DRUNTIME_CPU_ARM_FALSE
695 DRUNTIME_CPU_ARM_TRUE
696 DRUNTIME_CPU_AARCH64_FALSE
697 DRUNTIME_CPU_AARCH64_TRUE
698 DRUNTIME_GC_ENABLE_FALSE
699 DRUNTIME_GC_ENABLE_TRUE
703 phobos_compiler_shared_flag
704 phobos_compiler_pic_flag
724 MAINTAINER_MODE_FALSE
742 INSTALL_STRIP_PROGRAM
807 program_transform_name
818 ac_subst_files
='DRTSTUFF_SPEC'
820 enable_option_checking
823 enable_maintainer_mode
830 with_gcc_major_version_only
837 with_target_system_zlib
839 enable_version_specific_runtime_libs
842 ac_precious_vars
='build_alias
853 # Initialize some variables set by options.
855 ac_init_version
=false
856 ac_unrecognized_opts
=
858 # The variables have the same names as the options, with
859 # dashes changed to underlines.
867 program_transform_name
=s
,x
,x
,
875 # Installation directory options.
876 # These are left unexpanded so users can "make install exec_prefix=/foo"
877 # and all the variables that are supposed to be based on exec_prefix
878 # by default will actually change.
879 # Use braces instead of parens because sh, perl, etc. also accept them.
880 # (The list follows the same order as the GNU Coding Standards.)
881 bindir
='${exec_prefix}/bin'
882 sbindir
='${exec_prefix}/sbin'
883 libexecdir
='${exec_prefix}/libexec'
884 datarootdir
='${prefix}/share'
885 datadir
='${datarootdir}'
886 sysconfdir
='${prefix}/etc'
887 sharedstatedir
='${prefix}/com'
888 localstatedir
='${prefix}/var'
889 includedir
='${prefix}/include'
890 oldincludedir
='/usr/include'
891 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
892 infodir
='${datarootdir}/info'
897 libdir
='${exec_prefix}/lib'
898 localedir
='${datarootdir}/locale'
899 mandir
='${datarootdir}/man'
905 # If the previous option needs an argument, assign it.
906 if test -n "$ac_prev"; then
907 eval $ac_prev=\
$ac_option
913 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
918 # Accept the important Cygnus configure options, so we can diagnose typos.
920 case $ac_dashdash$ac_option in
924 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
926 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
929 -build |
--build |
--buil |
--bui |
--bu)
930 ac_prev
=build_alias
;;
931 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
932 build_alias
=$ac_optarg ;;
934 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
935 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
936 ac_prev
=cache_file
;;
937 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
938 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
939 cache_file
=$ac_optarg ;;
942 cache_file
=config.cache
;;
944 -datadir |
--datadir |
--datadi |
--datad)
946 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
947 datadir
=$ac_optarg ;;
949 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
950 |
--dataroo |
--dataro |
--datar)
951 ac_prev
=datarootdir
;;
952 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
953 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
954 datarootdir
=$ac_optarg ;;
956 -disable-* |
--disable-*)
957 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
958 # Reject names that are not valid shell variable names.
959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
960 as_fn_error $?
"invalid feature name: $ac_useropt"
961 ac_useropt_orig
=$ac_useropt
962 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963 case $ac_user_opts in
967 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
968 ac_unrecognized_sep
=', ';;
970 eval enable_
$ac_useropt=no
;;
972 -docdir |
--docdir |
--docdi |
--doc |
--do)
974 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
977 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
979 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
982 -enable-* |
--enable-*)
983 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
986 as_fn_error $?
"invalid feature name: $ac_useropt"
987 ac_useropt_orig
=$ac_useropt
988 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
993 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
994 ac_unrecognized_sep
=', ';;
996 eval enable_
$ac_useropt=\
$ac_optarg ;;
998 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
999 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1000 |
--exec |
--exe |
--ex)
1001 ac_prev
=exec_prefix
;;
1002 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1003 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1004 |
--exec=* |
--exe=* |
--ex=*)
1005 exec_prefix
=$ac_optarg ;;
1007 -gas |
--gas |
--ga |
--g)
1008 # Obsolete; use --with-gas.
1011 -help |
--help |
--hel |
--he |
-h)
1012 ac_init_help
=long
;;
1013 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1014 ac_init_help
=recursive
;;
1015 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1016 ac_init_help
=short
;;
1018 -host |
--host |
--hos |
--ho)
1019 ac_prev
=host_alias
;;
1020 -host=* |
--host=* |
--hos=* |
--ho=*)
1021 host_alias
=$ac_optarg ;;
1023 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1025 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1027 htmldir
=$ac_optarg ;;
1029 -includedir |
--includedir |
--includedi |
--included |
--include \
1030 |
--includ |
--inclu |
--incl |
--inc)
1031 ac_prev
=includedir
;;
1032 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1033 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1034 includedir
=$ac_optarg ;;
1036 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1038 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1039 infodir
=$ac_optarg ;;
1041 -libdir |
--libdir |
--libdi |
--libd)
1043 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1044 libdir
=$ac_optarg ;;
1046 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1047 |
--libexe |
--libex |
--libe)
1048 ac_prev
=libexecdir
;;
1049 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1050 |
--libexe=* |
--libex=* |
--libe=*)
1051 libexecdir
=$ac_optarg ;;
1053 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1054 ac_prev
=localedir
;;
1055 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1056 localedir
=$ac_optarg ;;
1058 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1059 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1060 ac_prev
=localstatedir
;;
1061 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1062 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1063 localstatedir
=$ac_optarg ;;
1065 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1067 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1068 mandir
=$ac_optarg ;;
1070 -nfp |
--nfp |
--nf)
1071 # Obsolete; use --without-fp.
1074 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1075 |
--no-cr |
--no-c |
-n)
1078 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1079 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1082 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1083 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1084 |
--oldin |
--oldi |
--old |
--ol |
--o)
1085 ac_prev
=oldincludedir
;;
1086 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1087 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1088 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1089 oldincludedir
=$ac_optarg ;;
1091 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1093 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1094 prefix
=$ac_optarg ;;
1096 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1097 |
--program-pre |
--program-pr |
--program-p)
1098 ac_prev
=program_prefix
;;
1099 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1100 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1101 program_prefix
=$ac_optarg ;;
1103 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1104 |
--program-suf |
--program-su |
--program-s)
1105 ac_prev
=program_suffix
;;
1106 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1107 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1108 program_suffix
=$ac_optarg ;;
1110 -program-transform-name |
--program-transform-name \
1111 |
--program-transform-nam |
--program-transform-na \
1112 |
--program-transform-n |
--program-transform- \
1113 |
--program-transform |
--program-transfor \
1114 |
--program-transfo |
--program-transf \
1115 |
--program-trans |
--program-tran \
1116 |
--progr-tra |
--program-tr |
--program-t)
1117 ac_prev
=program_transform_name
;;
1118 -program-transform-name=* |
--program-transform-name=* \
1119 |
--program-transform-nam=* |
--program-transform-na=* \
1120 |
--program-transform-n=* |
--program-transform-=* \
1121 |
--program-transform=* |
--program-transfor=* \
1122 |
--program-transfo=* |
--program-transf=* \
1123 |
--program-trans=* |
--program-tran=* \
1124 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1125 program_transform_name
=$ac_optarg ;;
1127 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1129 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1130 pdfdir
=$ac_optarg ;;
1132 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1134 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1137 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1138 |
-silent |
--silent |
--silen |
--sile |
--sil)
1141 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1143 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1145 sbindir
=$ac_optarg ;;
1147 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1148 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1149 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1151 ac_prev
=sharedstatedir
;;
1152 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1153 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1154 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1156 sharedstatedir
=$ac_optarg ;;
1158 -site |
--site |
--sit)
1160 -site=* |
--site=* |
--sit=*)
1163 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1165 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1166 srcdir
=$ac_optarg ;;
1168 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1169 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1170 ac_prev
=sysconfdir
;;
1171 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1172 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1173 sysconfdir
=$ac_optarg ;;
1175 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1176 ac_prev
=target_alias
;;
1177 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1178 target_alias
=$ac_optarg ;;
1180 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1183 -version |
--version |
--versio |
--versi |
--vers |
-V)
1184 ac_init_version
=: ;;
1187 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1190 as_fn_error $?
"invalid package name: $ac_useropt"
1191 ac_useropt_orig
=$ac_useropt
1192 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1198 ac_unrecognized_sep
=', ';;
1200 eval with_
$ac_useropt=\
$ac_optarg ;;
1202 -without-* |
--without-*)
1203 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1206 as_fn_error $?
"invalid package name: $ac_useropt"
1207 ac_useropt_orig
=$ac_useropt
1208 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209 case $ac_user_opts in
1213 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1214 ac_unrecognized_sep
=', ';;
1216 eval with_
$ac_useropt=no
;;
1219 # Obsolete; use --with-x.
1222 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1223 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1224 ac_prev
=x_includes
;;
1225 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1226 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1227 x_includes
=$ac_optarg ;;
1229 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1230 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1231 ac_prev
=x_libraries
;;
1232 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1233 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1234 x_libraries
=$ac_optarg ;;
1236 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1237 Try \`$0 --help' for more information"
1241 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1242 # Reject names that are not valid shell variable names.
1243 case $ac_envvar in #(
1244 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1245 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1247 eval $ac_envvar=\
$ac_optarg
1248 export $ac_envvar ;;
1251 # FIXME: should be removed in autoconf 3.0.
1252 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1254 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1261 if test -n "$ac_prev"; then
1262 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1263 as_fn_error $?
"missing argument to $ac_option"
1266 if test -n "$ac_unrecognized_opts"; then
1267 case $enable_option_checking in
1269 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1270 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1274 # Check all directory arguments for consistency.
1275 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1276 datadir sysconfdir sharedstatedir localstatedir includedir \
1277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1278 libdir localedir mandir
1280 eval ac_val
=\$
$ac_var
1281 # Remove trailing slashes.
1284 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1285 eval $ac_var=\
$ac_val;;
1287 # Be sure to have absolute directory names.
1289 [\\/$
]* | ?
:[\\/]* ) continue;;
1290 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1292 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1295 # There might be people who depend on the old broken behavior: `$host'
1296 # used to hold the argument of --host etc.
1297 # FIXME: To remove some day.
1300 target
=$target_alias
1302 # FIXME: To remove some day.
1303 if test "x$host_alias" != x
; then
1304 if test "x$build_alias" = x
; then
1305 cross_compiling
=maybe
1306 elif test "x$build_alias" != "x$host_alias"; then
1312 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1314 test "$silent" = yes && exec 6>/dev
/null
1317 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1318 ac_ls_di
=`ls -di .` &&
1319 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1320 as_fn_error $?
"working directory cannot be determined"
1321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1322 as_fn_error $?
"pwd does not report name of working directory"
1325 # Find the source files, if location was not specified.
1326 if test -z "$srcdir"; then
1327 ac_srcdir_defaulted
=yes
1328 # Try the directory containing this script, then the parent directory.
1329 ac_confdir
=`$as_dirname -- "$as_myself" ||
1330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1331 X"$as_myself" : 'X\(//\)[^/]' \| \
1332 X"$as_myself" : 'X\(//\)$' \| \
1333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1334 $as_echo X"$as_myself" |
1335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1353 if test ! -r "$srcdir/$ac_unique_file"; then
1357 ac_srcdir_defaulted
=no
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1360 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1361 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1363 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1367 # When building in place, set srcdir=.
1368 if test "$ac_abs_confdir" = "$ac_pwd"; then
1371 # Remove unnecessary trailing slashes from srcdir.
1372 # Double slashes in file names in object file debugging info
1373 # mess up M-x gdb in Emacs.
1375 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1377 for ac_var
in $ac_precious_vars; do
1378 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1379 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1380 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1381 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1385 # Report the --help message.
1387 if test "$ac_init_help" = "long"; then
1388 # Omit some internal or obsolete options to make the list less imposing.
1389 # This message is too long to be a string in the A/UX 3.1 sh.
1391 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1393 Usage: $0 [OPTION]... [VAR=VALUE]...
1395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1396 VAR=VALUE. See below for descriptions of some of the useful variables.
1398 Defaults for the options are specified in brackets.
1401 -h, --help display this help and exit
1402 --help=short display options specific to this package
1403 --help=recursive display the short help of all the included packages
1404 -V, --version display version information and exit
1405 -q, --quiet, --silent do not print \`checking ...' messages
1406 --cache-file=FILE cache test results in FILE [disabled]
1407 -C, --config-cache alias for \`--cache-file=config.cache'
1408 -n, --no-create do not create output files
1409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1411 Installation directories:
1412 --prefix=PREFIX install architecture-independent files in PREFIX
1413 [$ac_default_prefix]
1414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1417 By default, \`make install' will install all the files in
1418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1420 for instance \`--prefix=\$HOME'.
1422 For better control, use the options below.
1424 Fine tuning of the installation directories:
1425 --bindir=DIR user executables [EPREFIX/bin]
1426 --sbindir=DIR system admin executables [EPREFIX/sbin]
1427 --libexecdir=DIR program executables [EPREFIX/libexec]
1428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1431 --libdir=DIR object code libraries [EPREFIX/lib]
1432 --includedir=DIR C header files [PREFIX/include]
1433 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1434 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1435 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1436 --infodir=DIR info documentation [DATAROOTDIR/info]
1437 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1438 --mandir=DIR man documentation [DATAROOTDIR/man]
1439 --docdir=DIR documentation root [DATAROOTDIR/doc/libphobos]
1440 --htmldir=DIR html documentation [DOCDIR]
1441 --dvidir=DIR dvi documentation [DOCDIR]
1442 --pdfdir=DIR pdf documentation [DOCDIR]
1443 --psdir=DIR ps documentation [DOCDIR]
1449 --program-prefix=PREFIX prepend PREFIX to installed program names
1450 --program-suffix=SUFFIX append SUFFIX to installed program names
1451 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1454 --build=BUILD configure
for building on BUILD
[guessed
]
1455 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1456 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1460 if test -n "$ac_init_help"; then
1461 case $ac_init_help in
1462 short | recursive
) echo "Configuration of package-unused version-unused:";;
1467 --disable-option-checking ignore unrecognized
--enable/--with options
1468 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1469 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1470 --enable-multilib build many library versions
(default
)
1471 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1472 --disable-silent-rules verbose build output
(undo
: "make V=0")
1473 --enable-maintainer-mode
1474 enable make rules and dependencies not useful
(and
1475 sometimes confusing
) to the casual installer
1476 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1477 --enable-static[=PKGS
] build static libraries
[default
=yes]
1478 --enable-fast-install[=PKGS
]
1479 optimize
for fast installation
[default
=yes]
1480 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1481 --enable-werror turns on
-Werror [default
=no
]
1482 --enable-druntime-gc enable D runtime garbage collector
(default
: yes)
1483 --enable-unix enables Unix runtime
(default
: yes, for Unix
1485 --enable-thread-lib=<arg
>
1486 specify linker option
for the system thread library
1487 (default
: autodetect
)
1488 --enable-version-specific-runtime-libs
1489 Specify that runtime libraries should be installed
1490 in a compiler-specific directory
1491 --enable-libphobos Enable libphobos
1494 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1495 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1496 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1498 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1499 --with-gcc-major-version-only
1500 use only GCC major number
in filesystem paths
1501 --without-libatomic Do not use libatomic
in core.atomic
(default
: auto
)
1502 --without-libbacktrace Do not use libbacktrace
in core.runtime
(default
:
1504 --with-target-system-zlib={yes,no
,auto
}
1505 use installed libz
(default
: no
)
1506 --with-cross-host=HOST configuring with a cross compiler
1508 Some influential environment variables
:
1509 CC C compiler
command
1510 CFLAGS C compiler flags
1511 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1512 nonstandard directory
<lib dir
>
1513 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1514 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1515 you have headers
in a nonstandard directory
<include dir
>
1517 CCAS assembler compiler
command (defaults to CC
)
1518 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1519 GDC D compiler
command
1520 GDCFLAGS D compiler flags
1522 Use these variables to override the choices made by
`configure' or to help
1523 it to find libraries and programs with nonstandard names/locations.
1525 Report bugs to the package provider.
1530 if test "$ac_init_help" = "recursive"; then
1531 # If there are subdirs, report their specific --help.
1532 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1533 test -d "$ac_dir" ||
1534 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1539 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1542 # A ".." for each directory in $ac_dir_suffix.
1543 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1544 case $ac_top_builddir_sub in
1545 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1546 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1549 ac_abs_top_builddir=$ac_pwd
1550 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1551 # for backward compatibility:
1552 ac_top_builddir=$ac_top_build_prefix
1555 .) # We are building in place.
1557 ac_top_srcdir=$ac_top_builddir_sub
1558 ac_abs_top_srcdir=$ac_pwd ;;
1559 [\\/]* | ?:[\\/]* ) # Absolute name.
1560 ac_srcdir=$srcdir$ac_dir_suffix;
1561 ac_top_srcdir=$srcdir
1562 ac_abs_top_srcdir=$srcdir ;;
1564 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1565 ac_top_srcdir=$ac_top_build_prefix$srcdir
1566 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1568 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1570 cd "$ac_dir" || { ac_status=$?; continue; }
1571 # Check for guested configure.
1572 if test -f "$ac_srcdir/configure.gnu"; then
1574 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1575 elif test -f "$ac_srcdir/configure"; then
1577 $SHELL "$ac_srcdir/configure" --help=recursive
1579 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1581 cd "$ac_pwd" || { ac_status=$?; break; }
1585 test -n "$ac_init_help" && exit $ac_status
1586 if $ac_init_version; then
1588 package-unused configure version-unused
1589 generated by GNU Autoconf 2.69
1591 Copyright (C) 2012 Free Software Foundation, Inc.
1592 This configure script is free software; the Free Software Foundation
1593 gives unlimited permission to copy, distribute and modify it.
1598 ## ------------------------ ##
1599 ## Autoconf initialization. ##
1600 ## ------------------------ ##
1602 # ac_fn_c_try_compile LINENO
1603 # --------------------------
1604 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1605 ac_fn_c_try_compile ()
1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608 rm -f conftest.$ac_objext
1609 if { { ac_try="$ac_compile"
1611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1612 *) ac_try_echo
=$ac_try;;
1614 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1615 $as_echo "$ac_try_echo"; } >&5
1616 (eval "$ac_compile") 2>conftest.err
1618 if test -s conftest.err
; then
1619 grep -v '^ *+' conftest.err
>conftest.er1
1620 cat conftest.er1
>&5
1621 mv -f conftest.er1 conftest.err
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; } && {
1625 test -z "$ac_c_werror_flag" ||
1626 test ! -s conftest.err
1627 } && test -s conftest.
$ac_objext; then :
1630 $as_echo "$as_me: failed program was:" >&5
1631 sed 's/^/| /' conftest.
$ac_ext >&5
1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1636 as_fn_set_status
$ac_retval
1638 } # ac_fn_c_try_compile
1640 # ac_fn_c_try_cpp LINENO
1641 # ----------------------
1642 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1645 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1646 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1649 *) ac_try_echo=$ac_try;;
1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652 $as_echo "$ac_try_echo"; } >&5
1653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1655 if test -s conftest.err; then
1656 grep -v '^ *+' conftest.err >conftest.er1
1657 cat conftest.er1 >&5
1658 mv -f conftest.er1 conftest.err
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; } > conftest.i && {
1662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1663 test ! -s conftest.err
1667 $as_echo "$as_me: failed program was:" >&5
1668 sed 's/^/| /' conftest.$ac_ext >&5
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 as_fn_set_status $ac_retval
1677 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1678 # -------------------------------------------------------
1679 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1680 # the include files in INCLUDES and setting the cache variable VAR
1682 ac_fn_c_check_header_mongrel ()
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 if eval \${$3+:} false; then :
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687 $as_echo_n "checking for $2... " >&6; }
1688 if eval \${$3+:} false; then :
1689 $as_echo_n "(cached) " >&6
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1693 $as_echo "$ac_res" >&6; }
1695 # Is the header compilable?
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1697 $as_echo_n "checking $2 usability... " >&6; }
1698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1699 /* end confdefs.h. */
1703 if ac_fn_c_try_compile "$LINENO"; then :
1704 ac_header_compiler=yes
1706 ac_header_compiler=no
1708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1710 $as_echo "$ac_header_compiler" >&6; }
1712 # Is the header present?
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1714 $as_echo_n "checking $2 presence... " >&6; }
1715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1716 /* end confdefs.h. */
1719 if ac_fn_c_try_cpp "$LINENO"; then :
1720 ac_header_preproc=yes
1722 ac_header_preproc=no
1724 rm -f conftest.err conftest.i conftest.$ac_ext
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1726 $as_echo "$ac_header_preproc" >&6; }
1728 # So? What about this header?
1729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1732 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1734 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1738 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1740 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1742 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1744 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1746 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; }
1751 if eval \${$3+:} false; then :
1752 $as_echo_n "(cached) " >&6
1754 eval "$3=\$ac_header_compiler"
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758 $as_echo "$ac_res" >&6; }
1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762 } # ac_fn_c_check_header_mongrel
1764 # ac_fn_c_try_run LINENO
1765 # ----------------------
1766 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1767 # that executables *can* be run.
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 if { { ac_try="$ac_link"
1773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1774 *) ac_try_echo
=$ac_try;;
1776 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_link") 2>&5
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1782 { { case "(($ac_try" in
1783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1784 *) ac_try_echo=$ac_try;;
1786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_try") 2>&5
1790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test $ac_status = 0; }; }; then :
1794 $as_echo "$as_me: program exited with status $ac_status" >&5
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.$ac_ext >&5
1798 ac_retval=$ac_status
1800 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802 as_fn_set_status $ac_retval
1806 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1807 # -------------------------------------------------------
1808 # Tests whether HEADER exists and can be compiled using the include files in
1809 # INCLUDES, setting the cache variable VAR accordingly.
1810 ac_fn_c_check_header_compile ()
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814 $as_echo_n "checking for $2... " >&6; }
1815 if eval \${$3+:} false; then :
1816 $as_echo_n "(cached) " >&6
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1823 if ac_fn_c_try_compile "$LINENO"; then :
1828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 } # ac_fn_c_check_header_compile
1837 # ac_fn_d_try_compile LINENO
1838 # --------------------------
1839 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1840 ac_fn_d_try_compile ()
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 rm -f conftest.$ac_objext
1844 if { { ac_try="$ac_compile"
1846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1847 *) ac_try_echo
=$ac_try;;
1849 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_compile") 2>conftest.err
1853 if test -s conftest.err
; then
1854 grep -v '^ *+' conftest.err
>conftest.er1
1855 cat conftest.er1
>&5
1856 mv -f conftest.er1 conftest.err
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } && {
1860 test -z "$ac_d_werror_flag" ||
1861 test ! -s conftest.err
1862 } && test -s conftest.
$ac_objext; then :
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.
$ac_ext >&5
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871 as_fn_set_status
$ac_retval
1873 } # ac_fn_d_try_compile
1875 # ac_fn_c_try_link LINENO
1876 # -----------------------
1877 # Try to link conftest.$ac_ext, and return whether this succeeded.
1880 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1881 rm -f conftest.
$ac_objext conftest
$ac_exeext
1882 if { { ac_try
="$ac_link"
1884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1885 *) ac_try_echo=$ac_try;;
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889 (eval "$ac_link") 2>conftest.err
1891 if test -s conftest.err; then
1892 grep -v '^ *+' conftest.err >conftest.er1
1893 cat conftest.er1 >&5
1894 mv -f conftest.er1 conftest.err
1896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897 test $ac_status = 0; } && {
1898 test -z "$ac_c_werror_flag" ||
1899 test ! -s conftest.err
1900 } && test -s conftest$ac_exeext && {
1901 test "$cross_compiling" = yes ||
1902 test -x conftest$ac_exeext
1906 $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1911 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1912 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1913 # interfere with the next link command; also delete a directory that is
1914 # left behind by Apple's compiler. We do this before executing the actions.
1915 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917 as_fn_set_status $ac_retval
1919 } # ac_fn_c_try_link
1921 # ac_fn_c_check_func LINENO FUNC VAR
1922 # ----------------------------------
1923 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1924 ac_fn_c_check_func ()
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928 $as_echo_n "checking for $2... " >&6; }
1929 if eval \${$3+:} false; then :
1930 $as_echo_n "(cached) " >&6
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h. */
1934 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1936 #define $2 innocuous_$2
1938 /* System header to define __stub macros and hopefully few prototypes,
1939 which can conflict with char $2 (); below.
1940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1941 <limits.h> exists even on freestanding compilers. */
1944 # include <limits.h>
1946 # include <assert.h>
1951 /* Override any GCC internal prototype to avoid an error.
1952 Use char because int might match the return type of a GCC
1953 builtin and then its argument prototype would still apply. */
1958 /* The GNU C library defines this for functions which it implements
1959 to always fail with ENOSYS. Some functions are actually named
1960 something starting with __ and the normal name is an alias. */
1961 #if defined __stub_$2 || defined __stub___$2
1973 if ac_fn_c_try_link "$LINENO"; then :
1978 rm -f core conftest.err conftest.$ac_objext \
1979 conftest$ac_exeext conftest.$ac_ext
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983 $as_echo "$ac_res" >&6; }
1984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 } # ac_fn_c_check_func
1988 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1989 # ----------------------------------------------------
1990 # Tries to find if the field MEMBER exists in type AGGR, after including
1991 # INCLUDES, setting cache variable VAR accordingly.
1992 ac_fn_c_check_member ()
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1996 $as_echo_n "checking for $2.$3... " >&6; }
1997 if eval \${$4+:} false; then :
1998 $as_echo_n "(cached) " >&6
2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2013 if ac_fn_c_try_compile "$LINENO"; then :
2016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h. */
2023 if (sizeof ac_aggr.$3)
2029 if ac_fn_c_try_compile "$LINENO"; then :
2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040 $as_echo "$ac_res" >&6; }
2041 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043 } # ac_fn_c_check_member
2045 # ac_fn_d_try_link LINENO
2046 # -----------------------
2047 # Try to link conftest.$ac_ext, and return whether this succeeded.
2050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051 rm -f conftest.$ac_objext conftest$ac_exeext
2052 if { { ac_try="$ac_link"
2054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2055 *) ac_try_echo
=$ac_try;;
2057 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2058 $as_echo "$ac_try_echo"; } >&5
2059 (eval "$ac_link") 2>conftest.err
2061 if test -s conftest.err
; then
2062 grep -v '^ *+' conftest.err
>conftest.er1
2063 cat conftest.er1
>&5
2064 mv -f conftest.er1 conftest.err
2066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2067 test $ac_status = 0; } && {
2068 test -z "$ac_d_werror_flag" ||
2069 test ! -s conftest.err
2070 } && test -s conftest
$ac_exeext && {
2071 test "$cross_compiling" = yes ||
2072 test -x conftest
$ac_exeext
2076 $as_echo "$as_me: failed program was:" >&5
2077 sed 's/^/| /' conftest.
$ac_ext >&5
2081 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2082 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2083 # interfere with the next link command; also delete a directory that is
2084 # left behind by Apple's compiler. We do this before executing the actions.
2085 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2086 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2087 as_fn_set_status
$ac_retval
2089 } # ac_fn_d_try_link
2090 cat >config.log
<<_ACEOF
2091 This file contains any messages produced by compilers while
2092 running configure, to aid debugging if configure makes a mistake.
2094 It was created by package-unused $as_me version-unused, which was
2095 generated by GNU Autoconf 2.69. Invocation command line was
2107 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2108 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2109 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2110 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2111 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2113 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2114 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2116 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2117 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2118 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2119 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2120 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2121 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2122 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2130 test -z "$as_dir" && as_dir
=.
2131 $as_echo "PATH: $as_dir"
2147 # Keep a trace of the command line.
2148 # Strip out --no-create and --no-recursion so they do not pile up.
2149 # Strip out --silent because we don't want to record it for future runs.
2150 # Also quote any args containing shell meta-characters.
2151 # Make two passes to allow for proper duplicate-argument suppression.
2155 ac_must_keep_next
=false
2161 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2162 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2163 |
-silent |
--silent |
--silen |
--sile |
--sil)
2166 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2169 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2171 as_fn_append ac_configure_args1
" '$ac_arg'"
2172 if test $ac_must_keep_next = true
; then
2173 ac_must_keep_next
=false
# Got value, back to normal.
2176 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2177 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2178 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2179 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2180 case "$ac_configure_args0 " in
2181 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2184 -* ) ac_must_keep_next
=true
;;
2187 as_fn_append ac_configure_args
" '$ac_arg'"
2192 { ac_configure_args0
=; unset ac_configure_args0
;}
2193 { ac_configure_args1
=; unset ac_configure_args1
;}
2195 # When interrupted or exit'd, cleanup temporary files, and complete
2196 # config.log. We remove comments because anyway the quotes in there
2197 # would cause problems or look ugly.
2198 # WARNING: Use '\'' to represent an apostrophe within the trap.
2199 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2200 trap 'exit_status=$?
2201 # Save into config.log some information that might help in debugging.
2205 $as_echo "## ---------------- ##
2206 ## Cache variables. ##
2207 ## ---------------- ##"
2209 # The following way of writing the cache mishandles newlines in values,
2211 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2212 eval ac_val=\$$ac_var
2216 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2217 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2220 _ | IFS | as_nl) ;; #(
2221 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2222 *) { eval $ac_var=; unset $ac_var;} ;;
2227 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2228 *${as_nl}ac_space=\ *)
2230 "s/'\''/'\''\\\\'\'''\''/g;
2231 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2234 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2241 $as_echo "## ----------------- ##
2242 ## Output variables. ##
2243 ## ----------------- ##"
2245 for ac_var in $ac_subst_vars
2247 eval ac_val=\$$ac_var
2249 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2251 $as_echo "$ac_var='\''$ac_val'\''"
2255 if test -n "$ac_subst_files"; then
2256 $as_echo "## ------------------- ##
2257 ## File substitutions. ##
2258 ## ------------------- ##"
2260 for ac_var
in $ac_subst_files
2262 eval ac_val
=\$
$ac_var
2264 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2266 $as_echo "$ac_var='\''$ac_val'\''"
2271 if test -s confdefs.h; then
2272 $as_echo "## ----------- ##
2279 test "$ac_signal" != 0 &&
2280 $as_echo "$as_me: caught signal $ac_signal"
2281 $as_echo "$as_me: exit $exit_status"
2283 rm -f core *.core core.conftest.* &&
2284 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2287 for ac_signal
in 1 2 13 15; do
2288 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2292 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2293 rm -f -r conftest
* confdefs.h
2295 $as_echo "/* confdefs.h */" > confdefs.h
2297 # Predefined preprocessor variables.
2299 cat >>confdefs.h
<<_ACEOF
2300 #define PACKAGE_NAME "$PACKAGE_NAME"
2303 cat >>confdefs.h
<<_ACEOF
2304 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2307 cat >>confdefs.h
<<_ACEOF
2308 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2311 cat >>confdefs.h
<<_ACEOF
2312 #define PACKAGE_STRING "$PACKAGE_STRING"
2315 cat >>confdefs.h
<<_ACEOF
2316 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2319 cat >>confdefs.h
<<_ACEOF
2320 #define PACKAGE_URL "$PACKAGE_URL"
2324 # Let the site file select an alternate cache file if it wants to.
2325 # Prefer an explicitly selected file to automatically selected ones.
2328 if test -n "$CONFIG_SITE"; then
2329 # We do not want a PATH search for config.site.
2330 case $CONFIG_SITE in #((
2331 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2332 */*) ac_site_file1
=$CONFIG_SITE;;
2333 *) ac_site_file1
=.
/$CONFIG_SITE;;
2335 elif test "x$prefix" != xNONE
; then
2336 ac_site_file1
=$prefix/share
/config.site
2337 ac_site_file2
=$prefix/etc
/config.site
2339 ac_site_file1
=$ac_default_prefix/share
/config.site
2340 ac_site_file2
=$ac_default_prefix/etc
/config.site
2342 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2344 test "x$ac_site_file" = xNONE
&& continue
2345 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2347 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2348 sed 's/^/| /' "$ac_site_file" >&5
2350 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2352 as_fn_error $?
"failed to load site script $ac_site_file
2353 See \`config.log' for more details" "$LINENO" 5; }
2357 if test -r "$cache_file"; then
2358 # Some versions of bash will fail to source /dev/null (special files
2359 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2360 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2362 $as_echo "$as_me: loading cache $cache_file" >&6;}
2364 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2365 *) .
"./$cache_file";;
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2370 $as_echo "$as_me: creating cache $cache_file" >&6;}
2374 # Check that the precious variables saved in the cache have kept the same
2376 ac_cache_corrupted
=false
2377 for ac_var
in $ac_precious_vars; do
2378 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2379 eval ac_new_set
=\
$ac_env_${ac_var}_set
2380 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2381 eval ac_new_val
=\
$ac_env_${ac_var}_value
2382 case $ac_old_set,$ac_new_set in
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2385 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2386 ac_cache_corrupted
=: ;;
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2389 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2390 ac_cache_corrupted
=: ;;
2393 if test "x$ac_old_val" != "x$ac_new_val"; then
2394 # differences in whitespace do not lead to failure.
2395 ac_old_val_w
=`echo x $ac_old_val`
2396 ac_new_val_w
=`echo x $ac_new_val`
2397 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2399 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2400 ac_cache_corrupted
=:
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2403 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2404 eval $ac_var=\
$ac_old_val
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2407 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2409 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2412 # Pass precious variables to config.status.
2413 if test "$ac_new_set" = set; then
2415 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2416 *) ac_arg
=$ac_var=$ac_new_val ;;
2418 case " $ac_configure_args " in
2419 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2420 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2424 if $ac_cache_corrupted; then
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2428 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2429 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2431 ## -------------------- ##
2432 ## Main body of script. ##
2433 ## -------------------- ##
2436 ac_cpp
='$CPP $CPPFLAGS'
2437 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2438 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2439 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2446 ac_config_headers
="$ac_config_headers config.h"
2449 # Default to --enable-multilib
2450 # Check whether --enable-multilib was given.
2451 if test "${enable_multilib+set}" = set; then :
2452 enableval
=$enable_multilib; case "$enableval" in
2453 yes) multilib
=yes ;;
2455 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2462 # We may get other options which we leave undocumented:
2463 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2464 # See config-ml.in if you want the gory details.
2466 if test "$srcdir" = "."; then
2467 if test "$with_target_subdir" != "."; then
2468 multi_basedir
="$srcdir/$with_multisrctop../.."
2470 multi_basedir
="$srcdir/$with_multisrctop.."
2473 multi_basedir
="$srcdir/.."
2477 # Even if the default multilib is not a cross compilation,
2478 # it may be that some of the other multilibs are.
2479 if test $cross_compiling = no
&& test $multilib = yes \
2480 && test "x${with_multisubdir}" != x
; then
2481 cross_compiling
=maybe
2484 ac_config_commands
="$ac_config_commands default-1"
2487 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2488 if test -f "$ac_dir/install-sh"; then
2490 ac_install_sh
="$ac_aux_dir/install-sh -c"
2492 elif test -f "$ac_dir/install.sh"; then
2494 ac_install_sh
="$ac_aux_dir/install.sh -c"
2496 elif test -f "$ac_dir/shtool"; then
2498 ac_install_sh
="$ac_aux_dir/shtool install -c"
2502 if test -z "$ac_aux_dir"; then
2503 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2506 # These three variables are undocumented and unsupported,
2507 # and are intended to be withdrawn in a future Autoconf release.
2508 # They can cause serious problems if a builder's source tree is in a directory
2509 # whose full name contains unusual characters.
2510 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2511 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2512 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2515 # Make sure we can run config.sub.
2516 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2517 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2520 $as_echo_n "checking build system type... " >&6; }
2521 if ${ac_cv_build+:} false
; then :
2522 $as_echo_n "(cached) " >&6
2524 ac_build_alias
=$build_alias
2525 test "x$ac_build_alias" = x
&&
2526 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2527 test "x$ac_build_alias" = x
&&
2528 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2529 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2530 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2534 $as_echo "$ac_cv_build" >&6; }
2535 case $ac_cv_build in
2537 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2540 ac_save_IFS
=$IFS; IFS
='-'
2546 # Remember, the first character of IFS is used to create $*,
2547 # except with old shells:
2550 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2554 $as_echo_n "checking host system type... " >&6; }
2555 if ${ac_cv_host+:} false
; then :
2556 $as_echo_n "(cached) " >&6
2558 if test "x$host_alias" = x
; then
2559 ac_cv_host
=$ac_cv_build
2561 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2562 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2567 $as_echo "$ac_cv_host" >&6; }
2570 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2573 ac_save_IFS
=$IFS; IFS
='-'
2579 # Remember, the first character of IFS is used to create $*,
2580 # except with old shells:
2583 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2587 $as_echo_n "checking target system type... " >&6; }
2588 if ${ac_cv_target+:} false
; then :
2589 $as_echo_n "(cached) " >&6
2591 if test "x$target_alias" = x
; then
2592 ac_cv_target
=$ac_cv_host
2594 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2595 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2600 $as_echo "$ac_cv_target" >&6; }
2601 case $ac_cv_target in
2603 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2605 target
=$ac_cv_target
2606 ac_save_IFS
=$IFS; IFS
='-'
2612 # Remember, the first character of IFS is used to create $*,
2613 # except with old shells:
2616 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2619 # The aliases save the names the user supplied, while $host etc.
2620 # will get canonicalized.
2621 test -n "$target_alias" &&
2622 test "$program_prefix$program_suffix$program_transform_name" = \
2624 program_prefix
=${target_alias}-
2626 # Expand $ac_aux_dir to an absolute path.
2627 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2630 ac_cpp
='$CPP $CPPFLAGS'
2631 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2632 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2633 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2634 if test -n "$ac_tool_prefix"; then
2635 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2636 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2638 $as_echo_n "checking for $ac_word... " >&6; }
2639 if ${ac_cv_prog_CC+:} false
; then :
2640 $as_echo_n "(cached) " >&6
2642 if test -n "$CC"; then
2643 ac_cv_prog_CC
="$CC" # Let the user override the test.
2645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2649 test -z "$as_dir" && as_dir
=.
2650 for ac_exec_ext
in '' $ac_executable_extensions; do
2651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2652 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2663 if test -n "$CC"; then
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2665 $as_echo "$CC" >&6; }
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668 $as_echo "no" >&6; }
2673 if test -z "$ac_cv_prog_CC"; then
2675 # Extract the first word of "gcc", so it can be a program name with args.
2676 set dummy gcc
; ac_word
=$2
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2678 $as_echo_n "checking for $ac_word... " >&6; }
2679 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2680 $as_echo_n "(cached) " >&6
2682 if test -n "$ac_ct_CC"; then
2683 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2689 test -z "$as_dir" && as_dir
=.
2690 for ac_exec_ext
in '' $ac_executable_extensions; do
2691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2692 ac_cv_prog_ac_ct_CC
="gcc"
2693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2703 if test -n "$ac_ct_CC"; then
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2705 $as_echo "$ac_ct_CC" >&6; }
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2708 $as_echo "no" >&6; }
2711 if test "x$ac_ct_CC" = x
; then
2714 case $cross_compiling:$ac_tool_warned in
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2718 ac_tool_warned
=yes ;;
2726 if test -z "$CC"; then
2727 if test -n "$ac_tool_prefix"; then
2728 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2729 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731 $as_echo_n "checking for $ac_word... " >&6; }
2732 if ${ac_cv_prog_CC+:} false
; then :
2733 $as_echo_n "(cached) " >&6
2735 if test -n "$CC"; then
2736 ac_cv_prog_CC
="$CC" # Let the user override the test.
2738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir
=.
2743 for ac_exec_ext
in '' $ac_executable_extensions; do
2744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2745 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2756 if test -n "$CC"; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2758 $as_echo "$CC" >&6; }
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2767 if test -z "$CC"; then
2768 # Extract the first word of "cc", so it can be a program name with args.
2769 set dummy cc
; ac_word
=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if ${ac_cv_prog_CC+:} false
; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$CC"; then
2776 ac_cv_prog_CC
="$CC" # Let the user override the test.
2779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2783 test -z "$as_dir" && as_dir
=.
2784 for ac_exec_ext
in '' $ac_executable_extensions; do
2785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2786 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2787 ac_prog_rejected
=yes
2791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 if test $ac_prog_rejected = yes; then
2799 # We found a bogon in the path, so make sure we never use it.
2800 set dummy
$ac_cv_prog_CC
2802 if test $# != 0; then
2803 # We chose a different compiler from the bogus one.
2804 # However, it has the same basename, so the bogon will be chosen
2805 # first if we set CC to just the basename; use the full file name.
2807 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2813 if test -n "$CC"; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2815 $as_echo "$CC" >&6; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2818 $as_echo "no" >&6; }
2823 if test -z "$CC"; then
2824 if test -n "$ac_tool_prefix"; then
2825 for ac_prog
in cl.exe
2827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2828 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2830 $as_echo_n "checking for $ac_word... " >&6; }
2831 if ${ac_cv_prog_CC+:} false
; then :
2832 $as_echo_n "(cached) " >&6
2834 if test -n "$CC"; then
2835 ac_cv_prog_CC
="$CC" # Let the user override the test.
2837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2841 test -z "$as_dir" && as_dir
=.
2842 for ac_exec_ext
in '' $ac_executable_extensions; do
2843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2844 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2855 if test -n "$CC"; then
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2857 $as_echo "$CC" >&6; }
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860 $as_echo "no" >&6; }
2864 test -n "$CC" && break
2867 if test -z "$CC"; then
2869 for ac_prog
in cl.exe
2871 # Extract the first word of "$ac_prog", so it can be a program name with args.
2872 set dummy
$ac_prog; ac_word
=$2
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2874 $as_echo_n "checking for $ac_word... " >&6; }
2875 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2876 $as_echo_n "(cached) " >&6
2878 if test -n "$ac_ct_CC"; then
2879 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2885 test -z "$as_dir" && as_dir
=.
2886 for ac_exec_ext
in '' $ac_executable_extensions; do
2887 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2888 ac_cv_prog_ac_ct_CC
="$ac_prog"
2889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2899 if test -n "$ac_ct_CC"; then
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2901 $as_echo "$ac_ct_CC" >&6; }
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904 $as_echo "no" >&6; }
2908 test -n "$ac_ct_CC" && break
2911 if test "x$ac_ct_CC" = x
; then
2914 case $cross_compiling:$ac_tool_warned in
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2918 ac_tool_warned
=yes ;;
2927 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2929 as_fn_error $?
"no acceptable C compiler found in \$PATH
2930 See \`config.log' for more details" "$LINENO" 5; }
2932 # Provide some information about the compiler.
2933 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2936 for ac_option
in --version -v -V -qversion; do
2937 { { ac_try
="$ac_compiler $ac_option >&5"
2939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2943 $as_echo "$ac_try_echo"; } >&5
2944 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2946 if test -s conftest.err; then
2948 ... rest of stderr output deleted ...
2949 10q' conftest.err >conftest.er1
2950 cat conftest.er1 >&5
2952 rm -f conftest.er1 conftest.err
2953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2954 test $ac_status = 0; }
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2968 ac_clean_files_save=$ac_clean_files
2969 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2970 # Try to create an executable without -o first, disregard a.out.
2971 # It will help us diagnose broken compilers, and finding out an intuition
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2974 $as_echo_n "checking whether the C compiler works... " >&6; }
2975 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2977 # The possible output files:
2978 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2981 for ac_file in $ac_files
2984 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2985 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2990 if { { ac_try="$ac_link_default"
2992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2993 *) ac_try_echo
=$ac_try;;
2995 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 $as_echo "$ac_try_echo"; } >&5
2997 (eval "$ac_link_default") 2>&5
2999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3000 test $ac_status = 0; }; then :
3001 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3002 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3003 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3004 # so that the user can short-circuit this test for compilers unknown to
3006 for ac_file
in $ac_files ''
3008 test -f "$ac_file" ||
continue
3010 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3013 # We found the default executable, but exeext='' is most
3017 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3019 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3021 # We set ac_cv_exeext here because the later test for it is not
3022 # safe: cross compilers may not add the suffix if given an `-o'
3023 # argument, so we may need to know it at that point already.
3024 # Even if this section looks crufty: it has the advantage of
3031 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3036 if test -z "$ac_file"; then :
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3038 $as_echo "no" >&6; }
3039 $as_echo "$as_me: failed program was:" >&5
3040 sed 's/^/| /' conftest.
$ac_ext >&5
3042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3044 as_fn_error
77 "C compiler cannot create executables
3045 See \`config.log' for more details" "$LINENO" 5; }
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3048 $as_echo "yes" >&6; }
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3051 $as_echo_n "checking for C compiler default output file name... " >&6; }
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3053 $as_echo "$ac_file" >&6; }
3054 ac_exeext
=$ac_cv_exeext
3056 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3057 ac_clean_files
=$ac_clean_files_save
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3059 $as_echo_n "checking for suffix of executables... " >&6; }
3060 if { { ac_try
="$ac_link"
3062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3066 $as_echo "$ac_try_echo"; } >&5
3067 (eval "$ac_link") 2>&5
3069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3070 test $ac_status = 0; }; then :
3071 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3072 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3073 # work properly (i.e., refer to `conftest.exe'), while it won't with
3075 for ac_file
in conftest.exe conftest conftest.
*; do
3076 test -f "$ac_file" ||
continue
3078 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3079 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3088 See \`config.log' for more details" "$LINENO" 5; }
3090 rm -f conftest conftest
$ac_cv_exeext
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3092 $as_echo "$ac_cv_exeext" >&6; }
3094 rm -f conftest.
$ac_ext
3095 EXEEXT
=$ac_cv_exeext
3097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3103 FILE *f = fopen ("conftest.out", "w");
3104 return ferror (f) || fclose (f) != 0;
3110 ac_clean_files
="$ac_clean_files conftest.out"
3111 # Check that the compiler produces executables we can run. If not, either
3112 # the compiler is broken, or we cross compile.
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3114 $as_echo_n "checking whether we are cross compiling... " >&6; }
3115 if test "$cross_compiling" != yes; then
3116 { { ac_try
="$ac_link"
3118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3122 $as_echo "$ac_try_echo"; } >&5
3123 (eval "$ac_link") 2>&5
3125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3126 test $ac_status = 0; }
3127 if { ac_try='./conftest$ac_cv_exeext'
3128 { { case "(($ac_try" in
3129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3130 *) ac_try_echo
=$ac_try;;
3132 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133 $as_echo "$ac_try_echo"; } >&5
3134 (eval "$ac_try") 2>&5
3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; }; }; then
3140 if test "$cross_compiling" = maybe
; then
3143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3145 as_fn_error $?
"cannot run C compiled programs.
3146 If you meant to cross compile, use \`--host'.
3147 See \`config.log' for more details" "$LINENO" 5; }
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3152 $as_echo "$cross_compiling" >&6; }
3154 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3155 ac_clean_files
=$ac_clean_files_save
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3157 $as_echo_n "checking for suffix of object files... " >&6; }
3158 if ${ac_cv_objext+:} false
; then :
3159 $as_echo_n "(cached) " >&6
3161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3172 rm -f conftest.o conftest.obj
3173 if { { ac_try
="$ac_compile"
3175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3176 *) ac_try_echo=$ac_try;;
3178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3179 $as_echo "$ac_try_echo"; } >&5
3180 (eval "$ac_compile") 2>&5
3182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3183 test $ac_status = 0; }; then :
3184 for ac_file in conftest.o conftest.obj conftest.*; do
3185 test -f "$ac_file" || continue;
3187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3188 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3193 $as_echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.$ac_ext >&5
3196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3198 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3199 See \
`config.log' for more details" "$LINENO" 5; }
3201 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3204 $as_echo "$ac_cv_objext" >&6; }
3205 OBJEXT=$ac_cv_objext
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3208 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3209 if ${ac_cv_c_compiler_gnu+:} false; then :
3210 $as_echo_n "(cached) " >&6
3212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3213 /* end confdefs.h. */
3226 if ac_fn_c_try_compile "$LINENO"; then :
3231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3232 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3236 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3237 if test $ac_compiler_gnu = yes; then
3242 ac_test_CFLAGS=${CFLAGS+set}
3243 ac_save_CFLAGS=$CFLAGS
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3245 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3246 if ${ac_cv_prog_cc_g+:} false; then :
3247 $as_echo_n "(cached) " >&6
3249 ac_save_c_werror_flag=$ac_c_werror_flag
3250 ac_c_werror_flag=yes
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3264 if ac_fn_c_try_compile "$LINENO"; then :
3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3279 if ac_fn_c_try_compile "$LINENO"; then :
3282 ac_c_werror_flag=$ac_save_c_werror_flag
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3295 if ac_fn_c_try_compile "$LINENO"; then :
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303 ac_c_werror_flag=$ac_save_c_werror_flag
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3306 $as_echo "$ac_cv_prog_cc_g" >&6; }
3307 if test "$ac_test_CFLAGS" = set; then
3308 CFLAGS=$ac_save_CFLAGS
3309 elif test $ac_cv_prog_cc_g = yes; then
3310 if test "$GCC" = yes; then
3316 if test "$GCC" = yes; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3323 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3324 if ${ac_cv_prog_cc_c89+:} false; then :
3325 $as_echo_n "(cached) " >&6
3327 ac_cv_prog_cc_c89=no
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3334 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3335 struct buf { int x; };
3336 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3337 static char *e (p, i)
3343 static char *f (char * (*g) (char **, int), char **p, ...)
3348 s = g (p, va_arg (v,int));
3353 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3354 function prototypes and stuff, but not '\xHH' hex character constants.
3355 These don't provoke an error unfortunately, instead are silently treated
3356 as 'x'. The following induces an error, until -std is added to get
3357 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3358 array size at least. It's necessary to write '\x00'==0 to get something
3359 that's true only with -std. */
3360 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3362 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3363 inside strings and character constants. */
3365 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3367 int test (int i, double x);
3368 struct s1 {int (*f) (int a);};
3369 struct s2 {int (*f) (double a);};
3370 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3376 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3381 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3382 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3384 CC="$ac_save_CC $ac_arg"
3385 if ac_fn_c_try_compile "$LINENO"; then :
3386 ac_cv_prog_cc_c89=$ac_arg
3388 rm -f core conftest.err conftest.$ac_objext
3389 test "x$ac_cv_prog_cc_c89" != "xno" && break
3391 rm -f conftest.$ac_ext
3396 case "x$ac_cv_prog_cc_c89" in
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3399 $as_echo "none needed" >&6; } ;;
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3402 $as_echo "unsupported" >&6; } ;;
3404 CC="$CC $ac_cv_prog_cc_c89"
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3406 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3408 if test "x$ac_cv_prog_cc_c89" != xno; then :
3413 ac_cpp='$CPP $CPPFLAGS'
3414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3419 ac_cpp='$CPP $CPPFLAGS'
3420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3424 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3425 if ${am_cv_prog_cc_c_o+:} false; then :
3426 $as_echo_n "(cached) " >&6
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3439 # Make sure it works both with $CC and with simple cc.
3440 # Following AC_PROG_CC_C_O, we do the test twice because some
3441 # compilers refuse to overwrite an existing .o file with -o,
3442 # though they will create one.
3443 am_cv_prog_cc_c_o=yes
3445 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3446 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } \
3450 && test -f conftest2.$ac_objext; then
3453 am_cv_prog_cc_c_o=no
3457 rm -f core conftest*
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3461 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3462 if test "$am_cv_prog_cc_c_o" != yes; then
3463 # Losing compiler, so override with the script.
3464 # FIXME: It is wrong to rewrite CC.
3465 # But if we don't then we get into trouble of one sort or another.
3466 # A longer-term fix would be to have automake use am__CC in this case,
3467 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3468 CC="$am_aux_dir/compile $CC"
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3479 ac_cpp='$CPP $CPPFLAGS'
3480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3484 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3485 # On Suns, sometimes $CPP names a directory.
3486 if test -n "$CPP" && test -d "$CPP"; then
3489 if test -z "$CPP"; then
3490 if ${ac_cv_prog_CPP+:} false; then :
3491 $as_echo_n "(cached) " >&6
3493 # Double quotes because CPP needs to be expanded
3494 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3497 for ac_c_preproc_warn_flag in '' yes
3499 # Use a header file that comes with gcc, so configuring glibc
3500 # with a fresh cross-compiler works.
3501 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3502 # <limits.h> exists even on freestanding compilers.
3503 # On the NeXT, cc -E runs the code through the compiler's parser,
3504 # not just through cpp. "Syntax error" is here to catch this case.
3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506 /* end confdefs.h. */
3508 # include <limits.h>
3510 # include <assert.h>
3514 if ac_fn_c_try_cpp "$LINENO"; then :
3517 # Broken: fails on valid input.
3520 rm -f conftest.err conftest.i conftest.$ac_ext
3522 # OK, works on sane cases. Now check whether nonexistent headers
3523 # can be detected and how.
3524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3525 /* end confdefs.h. */
3526 #include <ac_nonexistent.h>
3528 if ac_fn_c_try_cpp "$LINENO"; then :
3529 # Broken: success on invalid input.
3532 # Passes both tests.
3536 rm -f conftest.err conftest.i conftest.$ac_ext
3539 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3540 rm -f conftest.i conftest.err conftest.
$ac_ext
3541 if $ac_preproc_ok; then :
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3554 $as_echo "$CPP" >&6; }
3556 for ac_c_preproc_warn_flag
in '' yes
3558 # Use a header file that comes with gcc, so configuring glibc
3559 # with a fresh cross-compiler works.
3560 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3561 # <limits.h> exists even on freestanding compilers.
3562 # On the NeXT, cc -E runs the code through the compiler's parser,
3563 # not just through cpp. "Syntax error" is here to catch this case.
3564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3565 /* end confdefs.h. */
3567 # include <limits.h>
3569 # include <assert.h>
3573 if ac_fn_c_try_cpp
"$LINENO"; then :
3576 # Broken: fails on valid input.
3579 rm -f conftest.err conftest.i conftest.
$ac_ext
3581 # OK, works on sane cases. Now check whether nonexistent headers
3582 # can be detected and how.
3583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3585 #include <ac_nonexistent.h>
3587 if ac_fn_c_try_cpp
"$LINENO"; then :
3588 # Broken: success on invalid input.
3591 # Passes both tests.
3595 rm -f conftest.err conftest.i conftest.
$ac_ext
3598 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3599 rm -f conftest.i conftest.err conftest.
$ac_ext
3600 if $ac_preproc_ok; then :
3603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3605 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3606 See \`config.log' for more details" "$LINENO" 5; }
3610 ac_cpp
='$CPP $CPPFLAGS'
3611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3617 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3618 if ${ac_cv_path_GREP+:} false
; then :
3619 $as_echo_n "(cached) " >&6
3621 if test -z "$GREP"; then
3622 ac_path_GREP_found
=false
3623 # Loop through the user's path and test for each of PROGNAME-LIST
3624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3625 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3628 test -z "$as_dir" && as_dir
=.
3629 for ac_prog
in grep ggrep
; do
3630 for ac_exec_ext
in '' $ac_executable_extensions; do
3631 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3632 as_fn_executable_p
"$ac_path_GREP" ||
continue
3633 # Check for GNU ac_path_GREP and select it if it is found.
3634 # Check for GNU $ac_path_GREP
3635 case `"$ac_path_GREP" --version 2>&1` in
3637 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3640 $as_echo_n 0123456789 >"conftest.in"
3643 cat "conftest.in" "conftest.in" >"conftest.tmp"
3644 mv "conftest.tmp" "conftest.in"
3645 cp "conftest.in" "conftest.nl"
3646 $as_echo 'GREP' >> "conftest.nl"
3647 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3648 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3649 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3650 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3651 # Best one so far, save it but keep looking for a better one
3652 ac_cv_path_GREP
="$ac_path_GREP"
3653 ac_path_GREP_max
=$ac_count
3655 # 10*(2^10) chars as input seems more than enough
3656 test $ac_count -gt 10 && break
3658 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3661 $ac_path_GREP_found && break 3
3666 if test -z "$ac_cv_path_GREP"; then
3667 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3670 ac_cv_path_GREP
=$GREP
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3675 $as_echo "$ac_cv_path_GREP" >&6; }
3676 GREP
="$ac_cv_path_GREP"
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3680 $as_echo_n "checking for egrep... " >&6; }
3681 if ${ac_cv_path_EGREP+:} false
; then :
3682 $as_echo_n "(cached) " >&6
3684 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3685 then ac_cv_path_EGREP
="$GREP -E"
3687 if test -z "$EGREP"; then
3688 ac_path_EGREP_found
=false
3689 # Loop through the user's path and test for each of PROGNAME-LIST
3690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3691 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3694 test -z "$as_dir" && as_dir
=.
3695 for ac_prog
in egrep; do
3696 for ac_exec_ext
in '' $ac_executable_extensions; do
3697 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3698 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3699 # Check for GNU ac_path_EGREP and select it if it is found.
3700 # Check for GNU $ac_path_EGREP
3701 case `"$ac_path_EGREP" --version 2>&1` in
3703 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3706 $as_echo_n 0123456789 >"conftest.in"
3709 cat "conftest.in" "conftest.in" >"conftest.tmp"
3710 mv "conftest.tmp" "conftest.in"
3711 cp "conftest.in" "conftest.nl"
3712 $as_echo 'EGREP' >> "conftest.nl"
3713 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3714 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3715 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3716 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3717 # Best one so far, save it but keep looking for a better one
3718 ac_cv_path_EGREP
="$ac_path_EGREP"
3719 ac_path_EGREP_max
=$ac_count
3721 # 10*(2^10) chars as input seems more than enough
3722 test $ac_count -gt 10 && break
3724 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3727 $ac_path_EGREP_found && break 3
3732 if test -z "$ac_cv_path_EGREP"; then
3733 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3736 ac_cv_path_EGREP
=$EGREP
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3742 $as_echo "$ac_cv_path_EGREP" >&6; }
3743 EGREP
="$ac_cv_path_EGREP"
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3747 $as_echo_n "checking for ANSI C header files... " >&6; }
3748 if ${ac_cv_header_stdc+:} false
; then :
3749 $as_echo_n "(cached) " >&6
3751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h. */
3766 if ac_fn_c_try_compile
"$LINENO"; then :
3767 ac_cv_header_stdc
=yes
3769 ac_cv_header_stdc
=no
3771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3773 if test $ac_cv_header_stdc = yes; then
3774 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h. */
3780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3781 $EGREP "memchr" >/dev
/null
2>&1; then :
3784 ac_cv_header_stdc
=no
3790 if test $ac_cv_header_stdc = yes; then
3791 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3798 $EGREP "free" >/dev
/null
2>&1; then :
3801 ac_cv_header_stdc
=no
3807 if test $ac_cv_header_stdc = yes; then
3808 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3809 if test "$cross_compiling" = yes; then :
3812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3813 /* end confdefs.h. */
3816 #if ((' ' & 0x0FF) == 0x020)
3817 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3818 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3820 # define ISLOWER(c) \
3821 (('a' <= (c) && (c) <= 'i') \
3822 || ('j' <= (c) && (c) <= 'r') \
3823 || ('s' <= (c) && (c) <= 'z'))
3824 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3827 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3832 for (i = 0; i < 256; i++)
3833 if (XOR (islower (i), ISLOWER (i))
3834 || toupper (i) != TOUPPER (i))
3839 if ac_fn_c_try_run
"$LINENO"; then :
3842 ac_cv_header_stdc
=no
3844 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3845 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3851 $as_echo "$ac_cv_header_stdc" >&6; }
3852 if test $ac_cv_header_stdc = yes; then
3854 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3858 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3859 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3860 inttypes.h stdint.h unistd.h
3862 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3863 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3865 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3866 cat >>confdefs.h
<<_ACEOF
3867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3876 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3877 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3884 if test "$MINIX" = yes; then
3886 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3889 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3892 $as_echo "#define _MINIX 1" >>confdefs.h
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3898 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3899 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3900 $as_echo_n "(cached) " >&6
3902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3905 # define __EXTENSIONS__ 1
3906 $ac_includes_default
3915 if ac_fn_c_try_compile
"$LINENO"; then :
3916 ac_cv_safe_to_define___extensions__
=yes
3918 ac_cv_safe_to_define___extensions__
=no
3920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3923 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3924 test $ac_cv_safe_to_define___extensions__ = yes &&
3925 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3927 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3929 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3931 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3933 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3937 target_alias
=${target_alias-$target}
3940 # 1.11.1: Require that version of automake.
3941 # foreign: Don't require README, INSTALL, NEWS, etc.
3942 # no-define: Don't define PACKAGE and VERSION.
3943 # no-dependencies: Don't generate automatic dependencies.
3944 # (because it breaks when using bootstrap-lean, since some of the
3945 # headers are gone at "make install" time).
3946 # subdir-objects: Build objects in sub-directories.
3947 # -Wall: Issue all automake warnings.
3948 # -Wno-portability: Don't warn about constructs supported by GNU make.
3949 # (because GCC requires GNU make anyhow).
3950 # -Wno-override: Overrides used in testsuite.
3951 am__api_version
='1.15'
3953 # Find a good install program. We prefer a C program (faster),
3954 # so one script is as good as another. But avoid the broken or
3955 # incompatible versions:
3956 # SysV /etc/install, /usr/sbin/install
3957 # SunOS /usr/etc/install
3958 # IRIX /sbin/install
3960 # AmigaOS /C/install, which installs bootblocks on floppy discs
3961 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3962 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3963 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3964 # OS/2's system install, which has a completely different semantic
3965 # ./install, which can be erroneously created by make from ./install.sh.
3966 # Reject install programs that cannot install multiple files.
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3968 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3969 if test -z "$INSTALL"; then
3970 if ${ac_cv_path_install+:} false
; then :
3971 $as_echo_n "(cached) " >&6
3973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3977 test -z "$as_dir" && as_dir
=.
3978 # Account for people who put trailing slashes in PATH elements.
3979 case $as_dir/ in #((
3980 .
/ | .
// |
/[cC
]/* | \
3981 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3982 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3985 # OSF1 and SCO ODT 3.0 have their own names for install.
3986 # Don't use installbsd from OSF since it installs stuff as root
3988 for ac_prog
in ginstall scoinst
install; do
3989 for ac_exec_ext
in '' $ac_executable_extensions; do
3990 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3991 if test $ac_prog = install &&
3992 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3993 # AIX install. It has an incompatible calling convention.
3995 elif test $ac_prog = install &&
3996 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3997 # program-specific install script used by HP pwplus--don't use.
4000 rm -rf conftest.one conftest.two conftest.dir
4001 echo one
> conftest.one
4002 echo two
> conftest.two
4004 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4005 test -s conftest.one
&& test -s conftest.two
&&
4006 test -s conftest.dir
/conftest.one
&&
4007 test -s conftest.dir
/conftest.two
4009 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4022 rm -rf conftest.one conftest.two conftest.dir
4025 if test "${ac_cv_path_install+set}" = set; then
4026 INSTALL
=$ac_cv_path_install
4028 # As a last resort, use the slow shell script. Don't cache a
4029 # value for INSTALL within a source directory, because that will
4030 # break other packages using the cache if that directory is
4031 # removed, or if the value is a relative name.
4032 INSTALL
=$ac_install_sh
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4036 $as_echo "$INSTALL" >&6; }
4038 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4039 # It thinks the first close brace ends the variable substitution.
4040 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4042 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4044 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4047 $as_echo_n "checking whether build environment is sane... " >&6; }
4048 # Reject unsafe characters in $srcdir or the absolute working directory
4049 # name. Accept space and tab only in the latter.
4053 *[\\\"\
#\$\&\'\`$am_lf]*)
4054 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4057 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4058 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4061 # Do 'set' in a subshell so we don't clobber the current shell's
4062 # arguments. Must try -L first in case configure is actually a
4063 # symlink; some systems play weird games with the mod time of symlinks
4064 # (eg FreeBSD returns the mod time of the symlink's containing
4068 for am_try
in 1 2; do
4069 echo "timestamp, slept: $am_has_slept" > conftest.
file
4070 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4071 if test "$*" = "X"; then
4073 set X
`ls -t "$srcdir/configure" conftest.file`
4075 if test "$*" != "X $srcdir/configure conftest.file" \
4076 && test "$*" != "X conftest.file $srcdir/configure"; then
4078 # If neither matched, then we have a broken ls. This can happen
4079 # if, for instance, CONFIG_SHELL is bash and it inherits a
4080 # broken ls alias from the environment. This has actually
4081 # happened. Such a system could not be considered "sane".
4082 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4083 alias in your environment" "$LINENO" 5
4085 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4092 test "$2" = conftest.
file
4098 as_fn_error $?
"newly created file is older than distributed files!
4099 Check your system clock" "$LINENO" 5
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4102 $as_echo "yes" >&6; }
4103 # If we didn't sleep, we still need to ensure time stamps of config.status and
4104 # generated files are strictly newer.
4106 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4113 test "$program_prefix" != NONE
&&
4114 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4115 # Use a double $ so make ignores it.
4116 test "$program_suffix" != NONE
&&
4117 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4118 # Double any \ or $.
4119 # By default was `s,x,x', remove it if useless.
4120 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4121 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4123 if test x
"${MISSING+set}" != xset
; then
4126 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4128 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4131 # Use eval to expand $SHELL
4132 if eval "$MISSING --is-lightweight"; then
4133 am_missing_run
="$MISSING "
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4137 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4140 if test x
"${install_sh+set}" != xset
; then
4143 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4145 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4149 # Installed binaries are usually stripped using 'strip' when the user
4150 # run "make install-strip". However 'strip' might not be the right
4151 # tool to use in cross-compilation environments, therefore Automake
4152 # will honor the 'STRIP' environment variable to overrule this program.
4153 if test "$cross_compiling" != no
; then
4154 if test -n "$ac_tool_prefix"; then
4155 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4156 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4158 $as_echo_n "checking for $ac_word... " >&6; }
4159 if ${ac_cv_prog_STRIP+:} false
; then :
4160 $as_echo_n "(cached) " >&6
4162 if test -n "$STRIP"; then
4163 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4169 test -z "$as_dir" && as_dir
=.
4170 for ac_exec_ext
in '' $ac_executable_extensions; do
4171 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4172 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4182 STRIP
=$ac_cv_prog_STRIP
4183 if test -n "$STRIP"; then
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4185 $as_echo "$STRIP" >&6; }
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4193 if test -z "$ac_cv_prog_STRIP"; then
4195 # Extract the first word of "strip", so it can be a program name with args.
4196 set dummy strip
; ac_word
=$2
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4198 $as_echo_n "checking for $ac_word... " >&6; }
4199 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4200 $as_echo_n "(cached) " >&6
4202 if test -n "$ac_ct_STRIP"; then
4203 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4209 test -z "$as_dir" && as_dir
=.
4210 for ac_exec_ext
in '' $ac_executable_extensions; do
4211 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4212 ac_cv_prog_ac_ct_STRIP
="strip"
4213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4222 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4223 if test -n "$ac_ct_STRIP"; then
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4225 $as_echo "$ac_ct_STRIP" >&6; }
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4228 $as_echo "no" >&6; }
4231 if test "x$ac_ct_STRIP" = x
; then
4234 case $cross_compiling:$ac_tool_warned in
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4238 ac_tool_warned
=yes ;;
4243 STRIP
="$ac_cv_prog_STRIP"
4247 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4250 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4251 if test -z "$MKDIR_P"; then
4252 if ${ac_cv_path_mkdir+:} false
; then :
4253 $as_echo_n "(cached) " >&6
4255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4256 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4259 test -z "$as_dir" && as_dir
=.
4260 for ac_prog
in mkdir gmkdir
; do
4261 for ac_exec_ext
in '' $ac_executable_extensions; do
4262 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4263 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4264 'mkdir (GNU coreutils) '* | \
4265 'mkdir (coreutils) '* | \
4266 'mkdir (fileutils) '4.1*)
4267 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4277 test -d .
/--version && rmdir .
/--version
4278 if test "${ac_cv_path_mkdir+set}" = set; then
4279 MKDIR_P
="$ac_cv_path_mkdir -p"
4281 # As a last resort, use the slow shell script. Don't cache a
4282 # value for MKDIR_P within a source directory, because that will
4283 # break other packages using the cache if that directory is
4284 # removed, or if the value is a relative name.
4285 MKDIR_P
="$ac_install_sh -d"
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4289 $as_echo "$MKDIR_P" >&6; }
4291 for ac_prog
in gawk mawk nawk
awk
4293 # Extract the first word of "$ac_prog", so it can be a program name with args.
4294 set dummy
$ac_prog; ac_word
=$2
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4296 $as_echo_n "checking for $ac_word... " >&6; }
4297 if ${ac_cv_prog_AWK+:} false
; then :
4298 $as_echo_n "(cached) " >&6
4300 if test -n "$AWK"; then
4301 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4307 test -z "$as_dir" && as_dir
=.
4308 for ac_exec_ext
in '' $ac_executable_extensions; do
4309 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4310 ac_cv_prog_AWK
="$ac_prog"
4311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 if test -n "$AWK"; then
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4323 $as_echo "$AWK" >&6; }
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4330 test -n "$AWK" && break
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4334 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4336 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4337 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4338 $as_echo_n "(cached) " >&6
4340 cat >conftest.
make <<\_ACEOF
4343 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4345 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4346 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4348 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4350 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4354 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4356 $as_echo "yes" >&6; }
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4360 $as_echo "no" >&6; }
4361 SET_MAKE
="MAKE=${MAKE-make}"
4364 rm -rf .tst
2>/dev
/null
4365 mkdir .tst
2>/dev
/null
4366 if test -d .tst
; then
4371 rmdir .tst
2>/dev
/null
4373 # Check whether --enable-silent-rules was given.
4374 if test "${enable_silent_rules+set}" = set; then :
4375 enableval
=$enable_silent_rules;
4378 case $enable_silent_rules in # (((
4379 yes) AM_DEFAULT_VERBOSITY
=0;;
4380 no
) AM_DEFAULT_VERBOSITY
=1;;
4381 *) AM_DEFAULT_VERBOSITY
=1;;
4383 am_make
=${MAKE-make}
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4385 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4386 if ${am_cv_make_support_nested_variables+:} false
; then :
4387 $as_echo_n "(cached) " >&6
4389 if $as_echo 'TRUE=$(BAR$(V))
4395 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4396 am_cv_make_support_nested_variables
=yes
4398 am_cv_make_support_nested_variables
=no
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4402 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4403 if test $am_cv_make_support_nested_variables = yes; then
4405 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4407 AM_V
=$AM_DEFAULT_VERBOSITY
4408 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4412 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4413 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4414 # is not polluted with repeated "-I."
4415 am__isrc
=' -I$(srcdir)'
4416 # test to see if srcdir already configured
4417 if test -f $srcdir/config.status
; then
4418 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4422 # test whether we have cygpath
4423 if test -z "$CYGPATH_W"; then
4424 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4425 CYGPATH_W
='cygpath -w'
4432 # Define the identity of the package.
4434 VERSION
='version-unused'
4437 # Some tools Automake needs.
4439 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4442 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4445 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4448 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4451 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4453 # For better backward compatibility. To be removed once Automake 1.9.x
4454 # dies out for good. For more background, see:
4455 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4456 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4457 mkdir_p
='$(MKDIR_P)'
4459 # We need awk for the "check" target (and possibly the TAP driver). The
4460 # system "awk" is bad on some platforms.
4461 # Always define AMTAR for backward compatibility. Yes, it's still used
4462 # in the wild :-( We should find a proper way to deprecate it ...
4466 # We'll loop over all known methods to create a tar archive until one works.
4467 _am_tools
='gnutar pax cpio none'
4469 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4476 # POSIX will say in a future version that running "rm -f" with no argument
4477 # is OK; and we want to be able to make that assumption in our Makefile
4478 # recipes. So use an aggressive probe to check that the usage we want is
4479 # actually supported "in the wild" to an acceptable degree.
4480 # See automake bug#10828.
4481 # To make any issue more visible, cause the running configure to be aborted
4482 # by default if the 'rm' program in use doesn't match our expectations; the
4483 # user can still override this though.
4484 if rm -f && rm -fr && rm -rf; then : OK
; else
4488 Your 'rm' program seems unable to run without file operands specified
4489 on the command line, even when the '-f' option is present. This is contrary
4490 to the behaviour of most rm programs out there, and not conforming with
4491 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4493 Please tell bug-automake@gnu.org about your system, including the value
4494 of your $PATH and any error possibly output before this message. This
4495 can help us improve future automake versions.
4498 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4499 echo 'Configuration will proceed anyway, since you have set the' >&2
4500 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4504 Aborting the configuration process, to ensure you take notice of the issue.
4506 You can download and install GNU coreutils to get an 'rm' implementation
4507 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4509 If you want to complete the configuration process using your problematic
4510 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4511 to "yes", and re-run configure.
4514 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4521 # By default we simply use the C compiler to build assembly code.
4523 test "${CCAS+set}" = set || CCAS
=$CC
4524 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4529 ac_cpp
='$CPP $CPPFLAGS'
4530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4533 if test -n "$ac_tool_prefix"; then
4534 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4535 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537 $as_echo_n "checking for $ac_word... " >&6; }
4538 if ${ac_cv_prog_CC+:} false
; then :
4539 $as_echo_n "(cached) " >&6
4541 if test -n "$CC"; then
4542 ac_cv_prog_CC
="$CC" # Let the user override the test.
4544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4548 test -z "$as_dir" && as_dir
=.
4549 for ac_exec_ext
in '' $ac_executable_extensions; do
4550 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4551 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 if test -n "$CC"; then
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4564 $as_echo "$CC" >&6; }
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 $as_echo "no" >&6; }
4572 if test -z "$ac_cv_prog_CC"; then
4574 # Extract the first word of "gcc", so it can be a program name with args.
4575 set dummy gcc
; ac_word
=$2
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577 $as_echo_n "checking for $ac_word... " >&6; }
4578 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4579 $as_echo_n "(cached) " >&6
4581 if test -n "$ac_ct_CC"; then
4582 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4588 test -z "$as_dir" && as_dir
=.
4589 for ac_exec_ext
in '' $ac_executable_extensions; do
4590 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4591 ac_cv_prog_ac_ct_CC
="gcc"
4592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4602 if test -n "$ac_ct_CC"; then
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4604 $as_echo "$ac_ct_CC" >&6; }
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607 $as_echo "no" >&6; }
4610 if test "x$ac_ct_CC" = x
; then
4613 case $cross_compiling:$ac_tool_warned in
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4617 ac_tool_warned
=yes ;;
4625 if test -z "$CC"; then
4626 if test -n "$ac_tool_prefix"; then
4627 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4628 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4630 $as_echo_n "checking for $ac_word... " >&6; }
4631 if ${ac_cv_prog_CC+:} false
; then :
4632 $as_echo_n "(cached) " >&6
4634 if test -n "$CC"; then
4635 ac_cv_prog_CC
="$CC" # Let the user override the test.
4637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4641 test -z "$as_dir" && as_dir
=.
4642 for ac_exec_ext
in '' $ac_executable_extensions; do
4643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4644 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4655 if test -n "$CC"; then
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4657 $as_echo "$CC" >&6; }
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660 $as_echo "no" >&6; }
4666 if test -z "$CC"; then
4667 # Extract the first word of "cc", so it can be a program name with args.
4668 set dummy cc
; ac_word
=$2
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 $as_echo_n "checking for $ac_word... " >&6; }
4671 if ${ac_cv_prog_CC+:} false
; then :
4672 $as_echo_n "(cached) " >&6
4674 if test -n "$CC"; then
4675 ac_cv_prog_CC
="$CC" # Let the user override the test.
4678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4682 test -z "$as_dir" && as_dir
=.
4683 for ac_exec_ext
in '' $ac_executable_extensions; do
4684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4685 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4686 ac_prog_rejected
=yes
4690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4697 if test $ac_prog_rejected = yes; then
4698 # We found a bogon in the path, so make sure we never use it.
4699 set dummy
$ac_cv_prog_CC
4701 if test $# != 0; then
4702 # We chose a different compiler from the bogus one.
4703 # However, it has the same basename, so the bogon will be chosen
4704 # first if we set CC to just the basename; use the full file name.
4706 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4712 if test -n "$CC"; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4714 $as_echo "$CC" >&6; }
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4722 if test -z "$CC"; then
4723 if test -n "$ac_tool_prefix"; then
4724 for ac_prog
in cl.exe
4726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4727 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729 $as_echo_n "checking for $ac_word... " >&6; }
4730 if ${ac_cv_prog_CC+:} false
; then :
4731 $as_echo_n "(cached) " >&6
4733 if test -n "$CC"; then
4734 ac_cv_prog_CC
="$CC" # Let the user override the test.
4736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4740 test -z "$as_dir" && as_dir
=.
4741 for ac_exec_ext
in '' $ac_executable_extensions; do
4742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4743 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4754 if test -n "$CC"; then
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4756 $as_echo "$CC" >&6; }
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4759 $as_echo "no" >&6; }
4763 test -n "$CC" && break
4766 if test -z "$CC"; then
4768 for ac_prog
in cl.exe
4770 # Extract the first word of "$ac_prog", so it can be a program name with args.
4771 set dummy
$ac_prog; ac_word
=$2
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 $as_echo_n "checking for $ac_word... " >&6; }
4774 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4775 $as_echo_n "(cached) " >&6
4777 if test -n "$ac_ct_CC"; then
4778 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4784 test -z "$as_dir" && as_dir
=.
4785 for ac_exec_ext
in '' $ac_executable_extensions; do
4786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4787 ac_cv_prog_ac_ct_CC
="$ac_prog"
4788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4798 if test -n "$ac_ct_CC"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4800 $as_echo "$ac_ct_CC" >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4807 test -n "$ac_ct_CC" && break
4810 if test "x$ac_ct_CC" = x
; then
4813 case $cross_compiling:$ac_tool_warned in
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4817 ac_tool_warned
=yes ;;
4826 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4828 as_fn_error $?
"no acceptable C compiler found in \$PATH
4829 See \`config.log' for more details" "$LINENO" 5; }
4831 # Provide some information about the compiler.
4832 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4835 for ac_option
in --version -v -V -qversion; do
4836 { { ac_try
="$ac_compiler $ac_option >&5"
4838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4839 *) ac_try_echo=$ac_try;;
4841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4842 $as_echo "$ac_try_echo"; } >&5
4843 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4845 if test -s conftest.err; then
4847 ... rest of stderr output deleted ...
4848 10q' conftest.err >conftest.er1
4849 cat conftest.er1 >&5
4851 rm -f conftest.er1 conftest.err
4852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4853 test $ac_status = 0; }
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4857 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4858 if ${ac_cv_c_compiler_gnu+:} false; then :
4859 $as_echo_n "(cached) " >&6
4861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4862 /* end confdefs.h. */
4875 if ac_fn_c_try_compile "$LINENO"; then :
4880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4885 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4886 if test $ac_compiler_gnu = yes; then
4891 ac_test_CFLAGS=${CFLAGS+set}
4892 ac_save_CFLAGS=$CFLAGS
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4894 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4895 if ${ac_cv_prog_cc_g+:} false; then :
4896 $as_echo_n "(cached) " >&6
4898 ac_save_c_werror_flag=$ac_c_werror_flag
4899 ac_c_werror_flag=yes
4902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4903 /* end confdefs.h. */
4913 if ac_fn_c_try_compile "$LINENO"; then :
4917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4918 /* end confdefs.h. */
4928 if ac_fn_c_try_compile "$LINENO"; then :
4931 ac_c_werror_flag=$ac_save_c_werror_flag
4933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4934 /* end confdefs.h. */
4944 if ac_fn_c_try_compile "$LINENO"; then :
4947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4952 ac_c_werror_flag=$ac_save_c_werror_flag
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4955 $as_echo "$ac_cv_prog_cc_g" >&6; }
4956 if test "$ac_test_CFLAGS" = set; then
4957 CFLAGS=$ac_save_CFLAGS
4958 elif test $ac_cv_prog_cc_g = yes; then
4959 if test "$GCC" = yes; then
4965 if test "$GCC" = yes; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4972 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4973 if ${ac_cv_prog_cc_c89+:} false; then :
4974 $as_echo_n "(cached) " >&6
4976 ac_cv_prog_cc_c89=no
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4983 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4984 struct buf { int x; };
4985 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4986 static char *e (p, i)
4992 static char *f (char * (*g) (char **, int), char **p, ...)
4997 s = g (p, va_arg (v,int));
5002 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5003 function prototypes and stuff, but not '\xHH' hex character constants.
5004 These don't provoke an error unfortunately, instead are silently treated
5005 as 'x'. The following induces an error, until -std is added to get
5006 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5007 array size at least. It's necessary to write '\x00'==0 to get something
5008 that's true only with -std. */
5009 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5011 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5012 inside strings and character constants. */
5014 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5016 int test (int i, double x);
5017 struct s1 {int (*f) (int a);};
5018 struct s2 {int (*f) (double a);};
5019 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5025 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5030 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5031 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5033 CC="$ac_save_CC $ac_arg"
5034 if ac_fn_c_try_compile "$LINENO"; then :
5035 ac_cv_prog_cc_c89=$ac_arg
5037 rm -f core conftest.err conftest.$ac_objext
5038 test "x$ac_cv_prog_cc_c89" != "xno" && break
5040 rm -f conftest.$ac_ext
5045 case "x$ac_cv_prog_cc_c89" in
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5048 $as_echo "none needed" >&6; } ;;
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5051 $as_echo "unsupported" >&6; } ;;
5053 CC="$CC $ac_cv_prog_cc_c89"
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5055 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5057 if test "x$ac_cv_prog_cc_c89" != xno; then :
5062 ac_cpp='$CPP $CPPFLAGS'
5063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5068 ac_cpp='$CPP $CPPFLAGS'
5069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5073 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5074 if ${am_cv_prog_cc_c_o+:} false; then :
5075 $as_echo_n "(cached) " >&6
5077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5078 /* end confdefs.h. */
5088 # Make sure it works both with $CC and with simple cc.
5089 # Following AC_PROG_CC_C_O, we do the test twice because some
5090 # compilers refuse to overwrite an existing .o file with -o,
5091 # though they will create one.
5092 am_cv_prog_cc_c_o=yes
5094 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5095 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); } \
5099 && test -f conftest2.$ac_objext; then
5102 am_cv_prog_cc_c_o=no
5106 rm -f core conftest*
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5110 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5111 if test "$am_cv_prog_cc_c_o" != yes; then
5112 # Losing compiler, so override with the script.
5113 # FIXME: It is wrong to rewrite CC.
5114 # But if we don't then we get into trouble of one sort or another.
5115 # A longer-term fix would be to have automake use am__CC in this case,
5116 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5117 CC="$am_aux_dir/compile $CC"
5120 ac_cpp='$CPP $CPPFLAGS'
5121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5127 ac_compile='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
5128 ac_link='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5130 if test -n "$ac_tool_prefix"; then
5131 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
5132 set dummy ${ac_tool_prefix}gdc; ac_word=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_GDC+:} false; then :
5136 $as_echo_n "(cached) " >&6
5138 if test -n "$GDC"; then
5139 ac_cv_prog_GDC="$GDC" # Let the user override the test.
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 test -z "$as_dir" && as_dir=.
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_GDC="${ac_tool_prefix}gdc"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 if test -n "$GDC"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5161 $as_echo "$GDC" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5169 if test -z "$ac_cv_prog_GDC"; then
5171 # Extract the first word of "gdc", so it can be a program name with args.
5172 set dummy gdc; ac_word=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_ac_ct_GDC+:} false; then :
5176 $as_echo_n "(cached) " >&6
5178 if test -n "$ac_ct_GDC"; then
5179 ac_cv_prog_ac_ct_GDC="$ac_ct_GDC" # Let the user override the test.
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 test -z "$as_dir" && as_dir=.
5186 for ac_exec_ext in '' $ac_executable_extensions; do
5187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5188 ac_cv_prog_ac_ct_GDC="gdc"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 ac_ct_GDC=$ac_cv_prog_ac_ct_GDC
5199 if test -n "$ac_ct_GDC"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GDC" >&5
5201 $as_echo "$ac_ct_GDC" >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5207 if test "x$ac_ct_GDC" = x; then
5210 case $cross_compiling:$ac_tool_warned in
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5214 ac_tool_warned=yes ;;
5219 GDC="$ac_cv_prog_GDC"
5222 if test -z "$GDC"; then
5223 if test -n "$ac_tool_prefix"; then
5224 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
5225 set dummy ${ac_tool_prefix}gdc; ac_word=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if ${ac_cv_prog_GDC+:} false; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -n "$GDC"; then
5232 ac_cv_prog_GDC="$GDC" # Let the user override the test.
5234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir=.
5239 for ac_exec_ext in '' $ac_executable_extensions; do
5240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5241 ac_cv_prog_GDC="$ac_tool_prefix}gdc"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 if test -n "$GDC"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5254 $as_echo "$GDC" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5263 if test -z "$GDC"; then
5264 # Extract the first word of "gdc", so it can be a program name with args.
5265 set dummy gdc; ac_word=$2
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5267 $as_echo_n "checking for $ac_word... " >&6; }
5268 if ${ac_cv_prog_GDC+:} false; then :
5269 $as_echo_n "(cached) " >&6
5271 if test -n "$GDC"; then
5272 ac_cv_prog_GDC="$GDC" # Let the user override the test.
5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 test -z "$as_dir" && as_dir=.
5280 for ac_exec_ext in '' $ac_executable_extensions; do
5281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5282 if test "$as_dir/$ac_word$ac_exec_ext" = "false"; then
5283 ac_prog_rejected=yes
5286 ac_cv_prog_GDC="gdc"
5287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 if test $ac_prog_rejected = yes; then
5295 # We found a bogon in the path, so make sure we never use it.
5296 set dummy $ac_cv_prog_GDC
5298 if test $# != 0; then
5299 # We chose a different compiler from the bogus one.
5300 # However, it has the same basename, so the bogon will be chosen
5301 # first if we set GDC to just the basename; use the full file name.
5303 ac_cv_prog_GDC="$as_dir/$ac_word${1+' '}$@"
5309 if test -n "$GDC"; then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5311 $as_echo "$GDC" >&6; }
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }
5321 # Provide some information about the compiler.
5322 $as_echo "$as_me:${as_lineno-$LINENO}: checking for D compiler version" >&5
5325 { { ac_try="$ac_compiler --version >&5"
5327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5328 *) ac_try_echo
=$ac_try;;
5330 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5331 $as_echo "$ac_try_echo"; } >&5
5332 (eval "$ac_compiler --version >&5") 2>conftest.err
5334 if test -s conftest.err
; then
5336 ... rest of stderr output deleted ...
5337 10q' conftest.err
>conftest.er1
5338 cat conftest.er1
>&5
5340 rm -f conftest.er1 conftest.err
5341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5342 test $ac_status = 0; }
5344 ac_cpp
='$CPP $CPPFLAGS'
5345 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5346 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5347 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for absolute libphobos source path" >&5
5351 $as_echo_n "checking for absolute libphobos source path... " >&6; }
5352 if ${phobos_cv_abs_srcdir+:} false
; then :
5353 $as_echo_n "(cached) " >&6
5355 phobos_cv_abs_srcdir
=`cd $srcdir && pwd`
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $phobos_cv_abs_srcdir" >&5
5358 $as_echo "$phobos_cv_abs_srcdir" >&6; }
5359 if test -d "$phobos_cv_abs_srcdir"; then :
5362 as_fn_error $?
"can't find absolute libphobos source path" "$LINENO" 5
5368 gdc_save_DFLAGS
=$GDCFLAGS
5369 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime $GDCFLAGS"
5372 ac_compile
='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
5373 ac_link
='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If $GDC can compile D sources" >&5
5377 $as_echo_n "checking If $GDC can compile D sources... " >&6; }
5378 cat > conftest.
$ac_ext <<_ACEOF
5382 extern(C) int main() {
5386 if ac_fn_d_try_compile
"$LINENO"; then :
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5388 $as_echo "yes" >&6; }
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5391 $as_echo "no" >&6; }
5392 as_fn_error $?
"can't compile D sources!" "$LINENO" 5
5394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5396 ac_cpp
='$CPP $CPPFLAGS'
5397 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5398 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5399 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5402 GDCFLAGS
=$gdc_save_DFLAGS
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5410 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5411 # Check whether --enable-maintainer-mode was given.
5412 if test "${enable_maintainer_mode+set}" = set; then :
5413 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5415 USE_MAINTAINER_MODE
=no
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5419 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5420 if test $USE_MAINTAINER_MODE = yes; then
5421 MAINTAINER_MODE_TRUE
=
5422 MAINTAINER_MODE_FALSE
='#'
5424 MAINTAINER_MODE_TRUE
='#'
5425 MAINTAINER_MODE_FALSE
=
5428 MAINT
=$MAINTAINER_MODE_TRUE
5431 if test -n "$ac_tool_prefix"; then
5432 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5433 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5435 $as_echo_n "checking for $ac_word... " >&6; }
5436 if ${ac_cv_prog_RANLIB+:} false
; then :
5437 $as_echo_n "(cached) " >&6
5439 if test -n "$RANLIB"; then
5440 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5446 test -z "$as_dir" && as_dir
=.
5447 for ac_exec_ext
in '' $ac_executable_extensions; do
5448 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5449 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 RANLIB
=$ac_cv_prog_RANLIB
5460 if test -n "$RANLIB"; then
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5462 $as_echo "$RANLIB" >&6; }
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5465 $as_echo "no" >&6; }
5470 if test -z "$ac_cv_prog_RANLIB"; then
5471 ac_ct_RANLIB
=$RANLIB
5472 # Extract the first word of "ranlib", so it can be a program name with args.
5473 set dummy ranlib
; ac_word
=$2
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475 $as_echo_n "checking for $ac_word... " >&6; }
5476 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5477 $as_echo_n "(cached) " >&6
5479 if test -n "$ac_ct_RANLIB"; then
5480 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5486 test -z "$as_dir" && as_dir
=.
5487 for ac_exec_ext
in '' $ac_executable_extensions; do
5488 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5489 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5499 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5500 if test -n "$ac_ct_RANLIB"; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5502 $as_echo "$ac_ct_RANLIB" >&6; }
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505 $as_echo "no" >&6; }
5508 if test "x$ac_ct_RANLIB" = x
; then
5511 case $cross_compiling:$ac_tool_warned in
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5515 ac_tool_warned
=yes ;;
5517 RANLIB
=$ac_ct_RANLIB
5520 RANLIB
="$ac_cv_prog_RANLIB"
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5525 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5527 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5528 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5529 $as_echo_n "(cached) " >&6
5531 cat >conftest.
make <<\_ACEOF
5534 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5536 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5537 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5539 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5541 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5545 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5547 $as_echo "yes" >&6; }
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5551 $as_echo "no" >&6; }
5552 SET_MAKE
="MAKE=${MAKE-make}"
5556 # This should be inherited in the recursive make, but ensure it is defined.
5560 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5568 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5573 macro_version
='2.2.7a'
5574 macro_revision
='1.3134'
5588 ltmain
="$ac_aux_dir/ltmain.sh"
5590 # Backslashify metacharacters that are still active within
5591 # double-quoted strings.
5592 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5594 # Same as above, but do not quote variable references.
5595 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5597 # Sed substitution to delay expansion of an escaped shell variable in a
5598 # double_quote_subst'ed string.
5599 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5601 # Sed substitution to delay expansion of an escaped single quote.
5602 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5604 # Sed substitution to avoid accidental globbing in evaled expressions
5605 no_glob_subst
='s/\*/\\\*/g'
5607 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5608 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5609 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5612 $as_echo_n "checking how to print strings... " >&6; }
5613 # Test print first, because it will be a builtin if present.
5614 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5615 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5617 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5620 # Use this function as a fallback that always works.
5621 func_fallback_echo ()
5623 eval 'cat <<_LTECHO_EOF
5627 ECHO='func_fallback_echo
'
5630 # func_echo_all arg...
5631 # Invoke $ECHO with all args, space-separated.
5638 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5639 $as_echo "printf" >&6; } ;;
5640 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5641 $as_echo "print -r" >&6; } ;;
5642 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5643 $as_echo "cat" >&6; } ;;
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5660 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5661 if ${ac_cv_path_SED+:} false; then :
5662 $as_echo_n "(cached) " >&6
5664 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5665 for ac_i in 1 2 3 4 5 6 7; do
5666 ac_script="$ac_script$as_nl$ac_script"
5668 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5669 { ac_script=; unset ac_script;}
5670 if test -z "$SED"; then
5671 ac_path_SED_found=false
5672 # Loop through the user's path and
test for each of PROGNAME-LIST
5673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5677 test -z "$as_dir" && as_dir
=.
5678 for ac_prog
in sed gsed
; do
5679 for ac_exec_ext
in '' $ac_executable_extensions; do
5680 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5681 as_fn_executable_p
"$ac_path_SED" ||
continue
5682 # Check for GNU ac_path_SED and select it if it is found.
5683 # Check for GNU $ac_path_SED
5684 case `"$ac_path_SED" --version 2>&1` in
5686 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5689 $as_echo_n 0123456789 >"conftest.in"
5692 cat "conftest.in" "conftest.in" >"conftest.tmp"
5693 mv "conftest.tmp" "conftest.in"
5694 cp "conftest.in" "conftest.nl"
5695 $as_echo '' >> "conftest.nl"
5696 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5697 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5698 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5699 if test $ac_count -gt ${ac_path_SED_max-0}; then
5700 # Best one so far, save it but keep looking for a better one
5701 ac_cv_path_SED
="$ac_path_SED"
5702 ac_path_SED_max
=$ac_count
5704 # 10*(2^10) chars as input seems more than enough
5705 test $ac_count -gt 10 && break
5707 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5710 $ac_path_SED_found && break 3
5715 if test -z "$ac_cv_path_SED"; then
5716 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5724 $as_echo "$ac_cv_path_SED" >&6; }
5725 SED
="$ac_cv_path_SED"
5728 test -z "$SED" && SED
=sed
5729 Xsed
="$SED -e 1s/^X//"
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5742 $as_echo_n "checking for fgrep... " >&6; }
5743 if ${ac_cv_path_FGREP+:} false
; then :
5744 $as_echo_n "(cached) " >&6
5746 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5747 then ac_cv_path_FGREP
="$GREP -F"
5749 if test -z "$FGREP"; then
5750 ac_path_FGREP_found
=false
5751 # Loop through the user's path and test for each of PROGNAME-LIST
5752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5753 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5756 test -z "$as_dir" && as_dir
=.
5757 for ac_prog
in fgrep
; do
5758 for ac_exec_ext
in '' $ac_executable_extensions; do
5759 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5760 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5761 # Check for GNU ac_path_FGREP and select it if it is found.
5762 # Check for GNU $ac_path_FGREP
5763 case `"$ac_path_FGREP" --version 2>&1` in
5765 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5768 $as_echo_n 0123456789 >"conftest.in"
5771 cat "conftest.in" "conftest.in" >"conftest.tmp"
5772 mv "conftest.tmp" "conftest.in"
5773 cp "conftest.in" "conftest.nl"
5774 $as_echo 'FGREP' >> "conftest.nl"
5775 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5776 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5777 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5778 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5779 # Best one so far, save it but keep looking for a better one
5780 ac_cv_path_FGREP
="$ac_path_FGREP"
5781 ac_path_FGREP_max
=$ac_count
5783 # 10*(2^10) chars as input seems more than enough
5784 test $ac_count -gt 10 && break
5786 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5789 $ac_path_FGREP_found && break 3
5794 if test -z "$ac_cv_path_FGREP"; then
5795 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5798 ac_cv_path_FGREP
=$FGREP
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5804 $as_echo "$ac_cv_path_FGREP" >&6; }
5805 FGREP
="$ac_cv_path_FGREP"
5808 test -z "$GREP" && GREP
=grep
5828 # Check whether --with-gnu-ld was given.
5829 if test "${with_gnu_ld+set}" = set; then :
5830 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5836 if test "$GCC" = yes; then
5837 # Check if gcc -print-prog-name=ld gives a path.
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5839 $as_echo_n "checking for ld used by $CC... " >&6; }
5842 # gcc leaves a trailing carriage return which upsets mingw
5843 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5845 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5848 # Accept absolute paths.
5850 re_direlt
='/[^/][^/]*/\.\./'
5851 # Canonicalize the pathname of ld
5852 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5853 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5854 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5856 test -z "$LD" && LD
="$ac_prog"
5859 # If it fails, then pretend we aren't using GCC.
5863 # If it is relative, then search for the first ld in PATH.
5867 elif test "$with_gnu_ld" = yes; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5869 $as_echo_n "checking for GNU ld... " >&6; }
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5872 $as_echo_n "checking for non-GNU ld... " >&6; }
5874 if ${lt_cv_path_LD+:} false
; then :
5875 $as_echo_n "(cached) " >&6
5877 if test -z "$LD"; then
5878 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5879 for ac_dir
in $PATH; do
5881 test -z "$ac_dir" && ac_dir
=.
5882 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5883 lt_cv_path_LD
="$ac_dir/$ac_prog"
5884 # Check to see if the program is GNU ld. I'd rather use --version,
5885 # but apparently some variants of GNU ld only accept -v.
5886 # Break only if it was the GNU/non-GNU ld that we prefer.
5887 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5888 *GNU
* |
*'with BFD'*)
5889 test "$with_gnu_ld" != no
&& break
5892 test "$with_gnu_ld" != yes && break
5899 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5904 if test -n "$LD"; then
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5906 $as_echo "$LD" >&6; }
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5909 $as_echo "no" >&6; }
5911 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5913 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5914 if ${lt_cv_prog_gnu_ld+:} false
; then :
5915 $as_echo_n "(cached) " >&6
5917 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5918 case `$LD -v 2>&1 </dev/null` in
5919 *GNU
* |
*'with BFD'*)
5920 lt_cv_prog_gnu_ld
=yes
5923 lt_cv_prog_gnu_ld
=no
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5928 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5929 with_gnu_ld
=$lt_cv_prog_gnu_ld
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5940 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5941 if ${lt_cv_path_NM+:} false
; then :
5942 $as_echo_n "(cached) " >&6
5944 if test -n "$NM"; then
5945 # Let the user override the test.
5948 lt_nm_to_check
="${ac_tool_prefix}nm"
5949 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5950 lt_nm_to_check
="$lt_nm_to_check nm"
5952 for lt_tmp_nm
in $lt_nm_to_check; do
5953 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5954 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5956 test -z "$ac_dir" && ac_dir
=.
5957 tmp_nm
="$ac_dir/$lt_tmp_nm"
5958 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5959 # Check to see if the nm accepts a BSD-compat flag.
5960 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5961 # nm: unknown option "B" ignored
5962 # Tru64's nm complains that /dev/null is an invalid object file
5963 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5964 */dev
/null
* |
*'Invalid file or object type'*)
5965 lt_cv_path_NM
="$tmp_nm -B"
5969 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5971 lt_cv_path_NM
="$tmp_nm -p"
5975 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5976 continue # so that we can try to find one that supports BSD flags
5985 : ${lt_cv_path_NM=no}
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5989 $as_echo "$lt_cv_path_NM" >&6; }
5990 if test "$lt_cv_path_NM" != "no"; then
5993 # Didn't find any BSD compatible name lister, look for dumpbin.
5994 if test -n "$DUMPBIN"; then :
5995 # Let the user override the test.
5997 if test -n "$ac_tool_prefix"; then
5998 for ac_prog
in dumpbin
"link -dump"
6000 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6001 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6005 $as_echo_n "(cached) " >&6
6007 if test -n "$DUMPBIN"; then
6008 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir
=.
6015 for ac_exec_ext
in '' $ac_executable_extensions; do
6016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6027 DUMPBIN
=$ac_cv_prog_DUMPBIN
6028 if test -n "$DUMPBIN"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6030 $as_echo "$DUMPBIN" >&6; }
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6037 test -n "$DUMPBIN" && break
6040 if test -z "$DUMPBIN"; then
6041 ac_ct_DUMPBIN
=$DUMPBIN
6042 for ac_prog
in dumpbin
"link -dump"
6044 # Extract the first word of "$ac_prog", so it can be a program name with args.
6045 set dummy
$ac_prog; ac_word
=$2
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6047 $as_echo_n "checking for $ac_word... " >&6; }
6048 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6049 $as_echo_n "(cached) " >&6
6051 if test -n "$ac_ct_DUMPBIN"; then
6052 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6058 test -z "$as_dir" && as_dir
=.
6059 for ac_exec_ext
in '' $ac_executable_extensions; do
6060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6061 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6072 if test -n "$ac_ct_DUMPBIN"; then
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6074 $as_echo "$ac_ct_DUMPBIN" >&6; }
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6077 $as_echo "no" >&6; }
6081 test -n "$ac_ct_DUMPBIN" && break
6084 if test "x$ac_ct_DUMPBIN" = x
; then
6087 case $cross_compiling:$ac_tool_warned in
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6091 ac_tool_warned
=yes ;;
6093 DUMPBIN
=$ac_ct_DUMPBIN
6097 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6099 DUMPBIN
="$DUMPBIN -symbols"
6107 if test "$DUMPBIN" != ":"; then
6111 test -z "$NM" && NM
=nm
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6119 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6120 if ${lt_cv_nm_interface+:} false
; then :
6121 $as_echo_n "(cached) " >&6
6123 lt_cv_nm_interface
="BSD nm"
6124 echo "int some_variable = 0;" > conftest.
$ac_ext
6125 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6126 (eval "$ac_compile" 2>conftest.err
)
6127 cat conftest.err
>&5
6128 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6129 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6130 cat conftest.err
>&5
6131 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6132 cat conftest.out
>&5
6133 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6134 lt_cv_nm_interface
="MS dumpbin"
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6139 $as_echo "$lt_cv_nm_interface" >&6; }
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6142 $as_echo_n "checking whether ln -s works... " >&6; }
6144 if test "$LN_S" = "ln -s"; then
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6146 $as_echo "yes" >&6; }
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6149 $as_echo "no, using $LN_S" >&6; }
6152 # find the maximum length of command line arguments
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6154 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6155 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6156 $as_echo_n "(cached) " >&6
6163 # On DJGPP, this test can blow up pretty badly due to problems in libc
6164 # (any single argument exceeding 2000 bytes causes a buffer overrun
6165 # during glob expansion). Even if it were fixed, the result of this
6166 # check would be larger than it should be.
6167 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6171 # Under GNU Hurd, this test is not required because there is
6172 # no limit to the length of command line arguments.
6173 # Libtool will interpret -1 as no limit whatsoever
6174 lt_cv_sys_max_cmd_len
=-1;
6177 cygwin
* | mingw
* | cegcc
*)
6178 # On Win9x/ME, this test blows up -- it succeeds, but takes
6179 # about 5 minutes as the teststring grows exponentially.
6180 # Worse, since 9x/ME are not pre-emptively multitasking,
6181 # you end up with a "frozen" computer, even though with patience
6182 # the test eventually succeeds (with a max line length of 256k).
6183 # Instead, let's just punt: use the minimum linelength reported by
6184 # all of the supported platforms: 8192 (on NT/2K/XP).
6185 lt_cv_sys_max_cmd_len
=8192;
6189 # On MiNT this can take a long time and run out of memory.
6190 lt_cv_sys_max_cmd_len
=8192;
6194 # On AmigaOS with pdksh, this test takes hours, literally.
6195 # So we just punt and use a minimum line length of 8192.
6196 lt_cv_sys_max_cmd_len
=8192;
6199 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6200 # This has been around since 386BSD, at least. Likely further.
6201 if test -x /sbin
/sysctl
; then
6202 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6203 elif test -x /usr
/sbin
/sysctl
; then
6204 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6206 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6208 # And add a safety zone
6209 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6210 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6214 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6215 lt_cv_sys_max_cmd_len
=196608
6219 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6220 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6221 # nice to cause kernel panics so lets avoid the loop below.
6222 # First set a reasonable default.
6223 lt_cv_sys_max_cmd_len
=16384
6225 if test -x /sbin
/sysconfig
; then
6226 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6227 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6232 lt_cv_sys_max_cmd_len
=102400
6234 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6235 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6236 if test -n "$kargmax"; then
6237 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6239 lt_cv_sys_max_cmd_len
=32768
6243 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6244 if test -n "$lt_cv_sys_max_cmd_len"; then
6245 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6246 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6248 # Make teststring a little bigger before we do anything with it.
6249 # a 1K string should be a reasonable start.
6250 for i
in 1 2 3 4 5 6 7 8 ; do
6251 teststring
=$teststring$teststring
6253 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6254 # If test is not a shell built-in, we'll probably end up computing a
6255 # maximum length that is only half of the actual maximum length, but
6257 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6258 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6259 test $i != 17 # 1/2 MB should be enough
6262 teststring
=$teststring$teststring
6264 # Only check the string length outside the loop.
6265 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6267 # Add a significant safety factor because C++ compilers can tack on
6268 # massive amounts of additional arguments before passing them to the
6269 # linker. It appears as though 1/2 is a usable value.
6270 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6277 if test -n $lt_cv_sys_max_cmd_len ; then
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6279 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6282 $as_echo "none" >&6; }
6284 max_cmd_len
=$lt_cv_sys_max_cmd_len
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6296 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6297 # Try some XSI features
6300 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6302 && eval 'test $(( 1 + 1 )) -eq 2 \
6303 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6306 $as_echo "$xsi_shell" >&6; }
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6310 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6312 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6314 && lt_shell_append=yes
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6316 $as_echo "$lt_shell_append" >&6; }
6319 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6329 # test EBCDIC or ASCII
6330 case `echo X|tr X '\101'` in
6331 A) # ASCII based system
6332 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6333 lt_SP2NL='tr \040 \012'
6334 lt_NL2SP='tr \015\012 \040\040'
6336 *) # EBCDIC based system
6337 lt_SP2NL='tr \100 \n'
6338 lt_NL2SP='tr \r\n \100\100'
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6351 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6352 if ${lt_cv_ld_reload_flag+:} false; then :
6353 $as_echo_n "(cached
) " >&6
6355 lt_cv_ld_reload_flag='-r'
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6358 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6359 reload_flag=$lt_cv_ld_reload_flag
6360 case $reload_flag in
6362 *) reload_flag=" $reload_flag" ;;
6364 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6367 if test "$GCC" = yes; then
6368 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6370 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6383 if test -n "$ac_tool_prefix"; then
6384 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6385 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6387 $as_echo_n "checking
for $ac_word...
" >&6; }
6388 if ${ac_cv_prog_OBJDUMP+:} false; then :
6389 $as_echo_n "(cached
) " >&6
6391 if test -n "$OBJDUMP"; then
6392 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6411 OBJDUMP=$ac_cv_prog_OBJDUMP
6412 if test -n "$OBJDUMP"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6414 $as_echo "$OBJDUMP" >&6; }
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6417 $as_echo "no
" >&6; }
6422 if test -z "$ac_cv_prog_OBJDUMP"; then
6423 ac_ct_OBJDUMP=$OBJDUMP
6424 # Extract the first word of "objdump
", so it can be a program name with args.
6425 set dummy objdump; ac_word=$2
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6427 $as_echo_n "checking
for $ac_word...
" >&6; }
6428 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6429 $as_echo_n "(cached
) " >&6
6431 if test -n "$ac_ct_OBJDUMP"; then
6432 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 test -z "$as_dir" && as_dir=.
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6442 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6451 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6452 if test -n "$ac_ct_OBJDUMP"; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6454 $as_echo "$ac_ct_OBJDUMP" >&6; }
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6457 $as_echo "no
" >&6; }
6460 if test "x
$ac_ct_OBJDUMP" = x; then
6463 case $cross_compiling:$ac_tool_warned in
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6466 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6467 ac_tool_warned=yes ;;
6469 OBJDUMP=$ac_ct_OBJDUMP
6472 OBJDUMP="$ac_cv_prog_OBJDUMP"
6475 test -z "$OBJDUMP" && OBJDUMP=objdump
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6486 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6487 if ${lt_cv_deplibs_check_method+:} false; then :
6488 $as_echo_n "(cached
) " >&6
6490 lt_cv_file_magic_cmd='$MAGIC_CMD'
6491 lt_cv_file_magic_test_file=
6492 lt_cv_deplibs_check_method='unknown'
6493 # Need to set the preceding variable on all platforms that support
6494 # interlibrary dependencies.
6495 # 'none' -- dependencies not supported.
6496 # `unknown' -- same as none, but documents that we really don't know.
6497 # 'pass_all' -- all dependencies passed with no checks.
6498 # 'test_compile' -- check by making test program.
6499 # 'file_magic [[regex]]' -- check by looking for files in library path
6500 # which responds to the $file_magic_cmd with a given extended regex.
6501 # If you have `file' or equivalent on your system and you're not sure
6502 # whether `pass_all' will *always* work, you probably want this one.
6506 lt_cv_deplibs_check_method=pass_all
6510 lt_cv_deplibs_check_method=pass_all
6514 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6515 lt_cv_file_magic_cmd='/usr/bin/file -L'
6516 lt_cv_file_magic_test_file=/shlib/libc.so
6520 # func_win32_libid is a shell function defined in ltmain.sh
6521 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6522 lt_cv_file_magic_cmd='func_win32_libid'
6526 # Base MSYS/MinGW do not provide the 'file' command needed by
6527 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6528 # unless we find 'file', for example because we are cross-compiling.
6529 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6530 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6531 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6532 lt_cv_file_magic_cmd='func_win32_libid'
6534 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6535 lt_cv_file_magic_cmd='$OBJDUMP -f'
6540 # use the weaker test based on 'objdump'. See mingw*.
6541 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6542 lt_cv_file_magic_cmd='$OBJDUMP -f'
6545 darwin* | rhapsody*)
6546 lt_cv_deplibs_check_method=pass_all
6549 freebsd* | dragonfly*)
6550 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6553 # Not sure whether the presence of OpenBSD here was a mistake.
6554 # Let's accept both of them until this is cleared up.
6555 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6556 lt_cv_file_magic_cmd=/usr/bin/file
6557 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6561 lt_cv_deplibs_check_method=pass_all
6566 lt_cv_deplibs_check_method=pass_all
6570 lt_cv_deplibs_check_method=pass_all
6573 hpux10.20* | hpux11*)
6574 lt_cv_file_magic_cmd=/usr/bin/file
6577 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6578 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6581 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]'
6582 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6585 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6586 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6592 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6593 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6596 irix5* | irix6* | nonstopux*)
6598 *-32|*"-32 ") libmagic=32-bit;;
6599 *-n32|*"-n32 ") libmagic=N32;;
6600 *-64|*"-64 ") libmagic=64-bit;;
6601 *) libmagic=never-match;;
6603 lt_cv_deplibs_check_method=pass_all
6606 # This must be Linux ELF.
6607 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6608 lt_cv_deplibs_check_method=pass_all
6612 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6613 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6615 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6620 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6621 lt_cv_file_magic_cmd=/usr/bin/file
6622 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6626 lt_cv_deplibs_check_method=pass_all
6630 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6631 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6633 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6637 osf3* | osf4* | osf5*)
6638 lt_cv_deplibs_check_method=pass_all
6642 lt_cv_deplibs_check_method=pass_all
6646 lt_cv_deplibs_check_method=pass_all
6649 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6650 lt_cv_deplibs_check_method=pass_all
6654 case $host_vendor in
6656 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]'
6657 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6660 lt_cv_deplibs_check_method=pass_all
6663 lt_cv_file_magic_cmd='/bin/file'
6664 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6667 lt_cv_file_magic_cmd='/bin/file'
6668 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6669 lt_cv_file_magic_test_file=/lib/libc.so
6672 lt_cv_deplibs_check_method=pass_all
6675 lt_cv_deplibs_check_method=pass_all
6681 lt_cv_deplibs_check_method=pass_all
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6687 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6688 file_magic_cmd=$lt_cv_file_magic_cmd
6689 deplibs_check_method=$lt_cv_deplibs_check_method
6690 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6703 if test -n "$ac_tool_prefix"; then
6704 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6705 set dummy ${ac_tool_prefix}ar; ac_word=$2
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6707 $as_echo_n "checking
for $ac_word...
" >&6; }
6708 if ${ac_cv_prog_AR+:} false; then :
6709 $as_echo_n "(cached
) " >&6
6711 if test -n "$AR"; then
6712 ac_cv_prog_AR="$AR" # Let the user override the test.
6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6718 test -z "$as_dir" && as_dir=.
6719 for ac_exec_ext in '' $ac_executable_extensions; do
6720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6721 ac_cv_prog_AR="${ac_tool_prefix}ar"
6722 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6732 if test -n "$AR"; then
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6734 $as_echo "$AR" >&6; }
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6737 $as_echo "no
" >&6; }
6742 if test -z "$ac_cv_prog_AR"; then
6744 # Extract the first word of "ar", so it can be a program name with args.
6745 set dummy ar; ac_word=$2
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6747 $as_echo_n "checking
for $ac_word...
" >&6; }
6748 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6749 $as_echo_n "(cached
) " >&6
6751 if test -n "$ac_ct_AR"; then
6752 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6758 test -z "$as_dir" && as_dir=.
6759 for ac_exec_ext in '' $ac_executable_extensions; do
6760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6761 ac_cv_prog_ac_ct_AR="ar"
6762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6771 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6772 if test -n "$ac_ct_AR"; then
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6774 $as_echo "$ac_ct_AR" >&6; }
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6777 $as_echo "no
" >&6; }
6780 if test "x
$ac_ct_AR" = x; then
6783 case $cross_compiling:$ac_tool_warned in
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6786 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6787 ac_tool_warned=yes ;;
6795 test -z "$AR" && AR=ar
6796 test -z "$AR_FLAGS" && AR_FLAGS=cru
6808 if test -n "$ac_tool_prefix"; then
6809 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6810 set dummy ${ac_tool_prefix}strip; ac_word=$2
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6812 $as_echo_n "checking
for $ac_word...
" >&6; }
6813 if ${ac_cv_prog_STRIP+:} false; then :
6814 $as_echo_n "(cached
) " >&6
6816 if test -n "$STRIP"; then
6817 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6823 test -z "$as_dir" && as_dir=.
6824 for ac_exec_ext in '' $ac_executable_extensions; do
6825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6826 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6836 STRIP=$ac_cv_prog_STRIP
6837 if test -n "$STRIP"; then
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6839 $as_echo "$STRIP" >&6; }
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6842 $as_echo "no
" >&6; }
6847 if test -z "$ac_cv_prog_STRIP"; then
6849 # Extract the first word of "strip
", so it can be a program name with args.
6850 set dummy strip; ac_word=$2
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6852 $as_echo_n "checking
for $ac_word...
" >&6; }
6853 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6854 $as_echo_n "(cached
) " >&6
6856 if test -n "$ac_ct_STRIP"; then
6857 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 test -z "$as_dir" && as_dir=.
6864 for ac_exec_ext in '' $ac_executable_extensions; do
6865 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6866 ac_cv_prog_ac_ct_STRIP="strip
"
6867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6876 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6877 if test -n "$ac_ct_STRIP"; then
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6879 $as_echo "$ac_ct_STRIP" >&6; }
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6882 $as_echo "no
" >&6; }
6885 if test "x
$ac_ct_STRIP" = x; then
6888 case $cross_compiling:$ac_tool_warned in
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6891 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6892 ac_tool_warned=yes ;;
6897 STRIP="$ac_cv_prog_STRIP"
6900 test -z "$STRIP" && STRIP=:
6907 if test -n "$ac_tool_prefix"; then
6908 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6909 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6911 $as_echo_n "checking
for $ac_word...
" >&6; }
6912 if ${ac_cv_prog_RANLIB+:} false; then :
6913 $as_echo_n "(cached
) " >&6
6915 if test -n "$RANLIB"; then
6916 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6922 test -z "$as_dir" && as_dir=.
6923 for ac_exec_ext in '' $ac_executable_extensions; do
6924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6925 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6926 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6935 RANLIB=$ac_cv_prog_RANLIB
6936 if test -n "$RANLIB"; then
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6938 $as_echo "$RANLIB" >&6; }
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6941 $as_echo "no
" >&6; }
6946 if test -z "$ac_cv_prog_RANLIB"; then
6947 ac_ct_RANLIB=$RANLIB
6948 # Extract the first word of "ranlib
", so it can be a program name with args.
6949 set dummy ranlib; ac_word=$2
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6951 $as_echo_n "checking
for $ac_word...
" >&6; }
6952 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6953 $as_echo_n "(cached
) " >&6
6955 if test -n "$ac_ct_RANLIB"; then
6956 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962 test -z "$as_dir" && as_dir=.
6963 for ac_exec_ext in '' $ac_executable_extensions; do
6964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6965 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6975 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6976 if test -n "$ac_ct_RANLIB"; then
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6978 $as_echo "$ac_ct_RANLIB" >&6; }
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6981 $as_echo "no
" >&6; }
6984 if test "x
$ac_ct_RANLIB" = x; then
6987 case $cross_compiling:$ac_tool_warned in
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6990 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6991 ac_tool_warned=yes ;;
6993 RANLIB=$ac_ct_RANLIB
6996 RANLIB="$ac_cv_prog_RANLIB"
6999 test -z "$RANLIB" && RANLIB=:
7006 # Determine commands to create old-style static archives.
7007 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7008 old_postinstall_cmds='chmod 644 $oldlib'
7009 old_postuninstall_cmds=
7011 if test -n "$RANLIB"; then
7014 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7017 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7020 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7025 lock_old_archive_extraction=yes ;;
7027 lock_old_archive_extraction=no ;;
7068 # If no C compiler was specified, use CC.
7071 # If no C compiler flags were specified, use CFLAGS.
7072 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7074 # Allow CC to be a program name with arguments.
7078 # Check for command to grab the raw symbol name followed by C symbol from nm.
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7080 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7081 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7082 $as_echo_n "(cached
) " >&6
7085 # These are sane defaults that work on at least a few old systems.
7086 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7088 # Character class describing NM global symbol codes.
7089 symcode='[BCDEGRST]'
7091 # Regexp to match symbols that can be accessed directly from C.
7092 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7094 # Define system-specific variables.
7099 cygwin* | mingw* | pw32* | cegcc*)
7100 symcode='[ABCDGISTW]'
7103 if test "$host_cpu" = ia64; then
7104 symcode='[ABCDEGRST]'
7108 symcode='[BCDEGRST]'
7111 symcode='[BCDEGQRST]'
7122 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7130 # If we're using GNU nm, then use its standard symbol codes.
7131 case `$NM -V 2>&1` in
7132 *GNU* | *'with BFD'*)
7133 symcode='[ABCDGIRSTW]' ;;
7136 # Transform an extracted symbol line into a proper C declaration.
7137 # Some systems (esp. on ia64) link data and code symbols differently,
7138 # so use this general approach.
7139 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7141 # Transform an extracted symbol line into symbol name and symbol address
7142 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7143 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'"
7145 # Handle CRLF in mingw tool chain
7149 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7153 # Try without a prefix underscore, then with it.
7154 for ac_symprfx in "" "_
"; do
7156 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7157 symxfrm="\\1 $ac_symprfx\\2 \\2"
7159 # Write the raw and C identifiers.
7160 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7161 # Fake it for dumpbin and say T for any non-static function
7162 # and D for any global variable.
7163 # Also find C++ and __fastcall symbols from MSVC++,
7164 # which start with @ or ?.
7165 lt_cv_sys_global_symbol_pipe="$AWK '"\
7166 " {last_section=section; section=\$ 3};"\
7167 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7168 " \$ 0!~/External *\|/{next};"\
7169 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7170 " {if(hide[section]) next};"\
7171 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7172 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7173 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7174 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7175 " ' prfx
=^
$ac_symprfx"
7177 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7180 # Check to see that the pipe works correctly.
7184 cat > conftest.$ac_ext <<_LT_EOF
7189 void nm_test_func(void);
7190 void nm_test_func(void){}
7194 int main(){nm_test_var='a';nm_test_func();return(0);}
7197 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7198 (eval $ac_compile) 2>&5
7200 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7201 test $ac_status = 0; }; then
7202 # Now try to grab the symbols.
7204 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7205 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7207 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7208 test $ac_status = 0; } && test -s "$nlist"; then
7209 # Try sorting and uniquifying the output.
7210 if sort "$nlist" | uniq > "$nlist"T; then
7211 mv -f "$nlist"T "$nlist"
7216 # Make sure that we snagged all the symbols we need.
7217 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7218 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7219 cat <<_LT_EOF > conftest.$ac_ext
7225 # Now generate the symbol file.
7226 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7228 cat <<_LT_EOF >> conftest.$ac_ext
7230 /* The mapping between symbol names and symbols. */
7235 lt__PROGRAM__LTX_preloaded_symbols[] =
7237 { "@PROGRAM@
", (void *) 0 },
7239 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7240 cat <<\_LT_EOF >> conftest.$ac_ext
7244 /* This works around a problem in FreeBSD linker */
7245 #ifdef FREEBSD_WORKAROUND
7246 static const void *lt_preloaded_setup() {
7247 return lt__PROGRAM__LTX_preloaded_symbols;
7255 # Now try linking the two files.
7256 mv conftest.$ac_objext conftstm.$ac_objext
7257 lt_save_LIBS="$LIBS"
7258 lt_save_CFLAGS="$CFLAGS"
7259 LIBS="conftstm.
$ac_objext"
7260 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7261 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7262 (eval $ac_link) 2>&5
7264 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7265 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7268 LIBS="$lt_save_LIBS"
7269 CFLAGS="$lt_save_CFLAGS"
7271 echo "cannot
find nm_test_func
in $nlist" >&5
7274 echo "cannot
find nm_test_var
in $nlist" >&5
7277 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7280 echo "$progname: failed program was
:" >&5
7281 cat conftest.$ac_ext >&5
7283 rm -rf conftest* conftst*
7285 # Do not use the global_symbol_pipe unless it works.
7286 if test "$pipe_works" = yes; then
7289 lt_cv_sys_global_symbol_pipe=
7295 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7296 lt_cv_sys_global_symbol_to_cdecl=
7298 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7300 $as_echo "failed
" >&6; }
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7303 $as_echo "ok
" >&6; }
7327 # Check whether --enable-libtool-lock was given.
7328 if test "${enable_libtool_lock+set}" = set; then :
7329 enableval=$enable_libtool_lock;
7332 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7334 # Some flags need to be propagated to the compiler or linker for good
7338 # Find out which ABI we are using.
7339 echo 'int i;' > conftest.$ac_ext
7340 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7341 (eval $ac_compile) 2>&5
7343 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7344 test $ac_status = 0; }; then
7345 case `/usr/bin/file conftest.$ac_objext` in
7357 # Find out which ABI we are using.
7358 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7359 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7360 (eval $ac_compile) 2>&5
7362 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7363 test $ac_status = 0; }; then
7364 if test "$lt_cv_prog_gnu_ld" = yes; then
7365 case `/usr/bin/file conftest.$ac_objext` in
7367 LD="${LD-ld} -melf32bsmip"
7370 LD="${LD-ld} -melf32bmipn32"
7373 LD="${LD-ld} -melf64bmip"
7377 case `/usr/bin/file conftest.$ac_objext` in
7393 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7394 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7395 # Find out which ABI we are using.
7396 echo 'int i;' > conftest.$ac_ext
7397 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7398 (eval $ac_compile) 2>&5
7400 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7401 test $ac_status = 0; }; then
7402 case `/usr/bin/file conftest.o` in
7405 x86_64-*kfreebsd*-gnu)
7406 LD="${LD-ld} -m elf_i386_fbsd
"
7409 case `/usr/bin/file conftest.o` in
7411 LD="${LD-ld} -m elf32_x86_64
"
7414 LD="${LD-ld} -m elf_i386
"
7418 powerpc64le-*linux*)
7419 LD="${LD-ld} -m elf32lppclinux
"
7422 LD="${LD-ld} -m elf32ppclinux
"
7425 LD="${LD-ld} -m elf_s390
"
7428 LD="${LD-ld} -m elf32_sparc
"
7434 x86_64-*kfreebsd*-gnu)
7435 LD="${LD-ld} -m elf_x86_64_fbsd
"
7438 LD="${LD-ld} -m elf_x86_64
"
7441 LD="${LD-ld} -m elf64lppc
"
7444 LD="${LD-ld} -m elf64ppc
"
7446 s390*-*linux*|s390*-*tpf*)
7447 LD="${LD-ld} -m elf64_s390
"
7450 LD="${LD-ld} -m elf64_sparc
"
7460 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7461 SAVE_CFLAGS="$CFLAGS"
7462 CFLAGS="$CFLAGS -belf"
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7464 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7465 if ${lt_cv_cc_needs_belf+:} false; then :
7466 $as_echo_n "(cached
) " >&6
7469 ac_cpp='$CPP $CPPFLAGS'
7470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7475 /* end confdefs.h. */
7485 if ac_fn_c_try_link "$LINENO"; then :
7486 lt_cv_cc_needs_belf=yes
7488 lt_cv_cc_needs_belf=no
7490 rm -f core conftest.err conftest.$ac_objext \
7491 conftest$ac_exeext conftest.$ac_ext
7493 ac_cpp='$CPP $CPPFLAGS'
7494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7500 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7501 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7502 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7503 CFLAGS="$SAVE_CFLAGS"
7507 # Find out which ABI we are using.
7508 echo 'int i;' > conftest.$ac_ext
7509 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7510 (eval $ac_compile) 2>&5
7512 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7513 test $ac_status = 0; }; then
7514 case `/usr/bin/file conftest.o` in
7516 case $lt_cv_prog_gnu_ld in
7517 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7519 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7531 need_locks="$enable_libtool_lock"
7535 rhapsody* | darwin*)
7536 if test -n "$ac_tool_prefix"; then
7537 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7538 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7540 $as_echo_n "checking
for $ac_word...
" >&6; }
7541 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7542 $as_echo_n "(cached
) " >&6
7544 if test -n "$DSYMUTIL"; then
7545 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7551 test -z "$as_dir" && as_dir=.
7552 for ac_exec_ext in '' $ac_executable_extensions; do
7553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7554 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7555 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7564 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7565 if test -n "$DSYMUTIL"; then
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7567 $as_echo "$DSYMUTIL" >&6; }
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7570 $as_echo "no
" >&6; }
7575 if test -z "$ac_cv_prog_DSYMUTIL"; then
7576 ac_ct_DSYMUTIL=$DSYMUTIL
7577 # Extract the first word of "dsymutil
", so it can be a program name with args.
7578 set dummy dsymutil; ac_word=$2
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7580 $as_echo_n "checking
for $ac_word...
" >&6; }
7581 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7582 $as_echo_n "(cached
) " >&6
7584 if test -n "$ac_ct_DSYMUTIL"; then
7585 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7591 test -z "$as_dir" && as_dir=.
7592 for ac_exec_ext in '' $ac_executable_extensions; do
7593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7594 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7595 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7604 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7605 if test -n "$ac_ct_DSYMUTIL"; then
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7607 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7610 $as_echo "no
" >&6; }
7613 if test "x
$ac_ct_DSYMUTIL" = x; then
7616 case $cross_compiling:$ac_tool_warned in
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7619 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7620 ac_tool_warned=yes ;;
7622 DSYMUTIL=$ac_ct_DSYMUTIL
7625 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7628 if test -n "$ac_tool_prefix"; then
7629 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7630 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7632 $as_echo_n "checking
for $ac_word...
" >&6; }
7633 if ${ac_cv_prog_NMEDIT+:} false; then :
7634 $as_echo_n "(cached
) " >&6
7636 if test -n "$NMEDIT"; then
7637 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7643 test -z "$as_dir" && as_dir=.
7644 for ac_exec_ext in '' $ac_executable_extensions; do
7645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7646 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7656 NMEDIT=$ac_cv_prog_NMEDIT
7657 if test -n "$NMEDIT"; then
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7659 $as_echo "$NMEDIT" >&6; }
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7662 $as_echo "no
" >&6; }
7667 if test -z "$ac_cv_prog_NMEDIT"; then
7668 ac_ct_NMEDIT=$NMEDIT
7669 # Extract the first word of "nmedit
", so it can be a program name with args.
7670 set dummy nmedit; ac_word=$2
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7672 $as_echo_n "checking
for $ac_word...
" >&6; }
7673 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7674 $as_echo_n "(cached
) " >&6
7676 if test -n "$ac_ct_NMEDIT"; then
7677 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7683 test -z "$as_dir" && as_dir=.
7684 for ac_exec_ext in '' $ac_executable_extensions; do
7685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7686 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7687 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7696 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7697 if test -n "$ac_ct_NMEDIT"; then
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7699 $as_echo "$ac_ct_NMEDIT" >&6; }
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7702 $as_echo "no
" >&6; }
7705 if test "x
$ac_ct_NMEDIT" = x; then
7708 case $cross_compiling:$ac_tool_warned in
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7711 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7712 ac_tool_warned=yes ;;
7714 NMEDIT=$ac_ct_NMEDIT
7717 NMEDIT="$ac_cv_prog_NMEDIT"
7720 if test -n "$ac_tool_prefix"; then
7721 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7722 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7724 $as_echo_n "checking
for $ac_word...
" >&6; }
7725 if ${ac_cv_prog_LIPO+:} false; then :
7726 $as_echo_n "(cached
) " >&6
7728 if test -n "$LIPO"; then
7729 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7738 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7748 LIPO=$ac_cv_prog_LIPO
7749 if test -n "$LIPO"; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7751 $as_echo "$LIPO" >&6; }
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7754 $as_echo "no
" >&6; }
7759 if test -z "$ac_cv_prog_LIPO"; then
7761 # Extract the first word of "lipo
", so it can be a program name with args.
7762 set dummy lipo; ac_word=$2
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7764 $as_echo_n "checking
for $ac_word...
" >&6; }
7765 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7766 $as_echo_n "(cached
) " >&6
7768 if test -n "$ac_ct_LIPO"; then
7769 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7778 ac_cv_prog_ac_ct_LIPO="lipo
"
7779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7788 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7789 if test -n "$ac_ct_LIPO"; then
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7791 $as_echo "$ac_ct_LIPO" >&6; }
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7794 $as_echo "no
" >&6; }
7797 if test "x
$ac_ct_LIPO" = x; then
7800 case $cross_compiling:$ac_tool_warned in
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7803 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7804 ac_tool_warned=yes ;;
7809 LIPO="$ac_cv_prog_LIPO"
7812 if test -n "$ac_tool_prefix"; then
7813 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7814 set dummy ${ac_tool_prefix}otool; ac_word=$2
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7816 $as_echo_n "checking
for $ac_word...
" >&6; }
7817 if ${ac_cv_prog_OTOOL+:} false; then :
7818 $as_echo_n "(cached
) " >&6
7820 if test -n "$OTOOL"; then
7821 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7827 test -z "$as_dir" && as_dir=.
7828 for ac_exec_ext in '' $ac_executable_extensions; do
7829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7830 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7840 OTOOL=$ac_cv_prog_OTOOL
7841 if test -n "$OTOOL"; then
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7843 $as_echo "$OTOOL" >&6; }
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7846 $as_echo "no
" >&6; }
7851 if test -z "$ac_cv_prog_OTOOL"; then
7853 # Extract the first word of "otool
", so it can be a program name with args.
7854 set dummy otool; ac_word=$2
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7856 $as_echo_n "checking
for $ac_word...
" >&6; }
7857 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7858 $as_echo_n "(cached
) " >&6
7860 if test -n "$ac_ct_OTOOL"; then
7861 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7867 test -z "$as_dir" && as_dir=.
7868 for ac_exec_ext in '' $ac_executable_extensions; do
7869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7870 ac_cv_prog_ac_ct_OTOOL="otool
"
7871 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7880 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7881 if test -n "$ac_ct_OTOOL"; then
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7883 $as_echo "$ac_ct_OTOOL" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7886 $as_echo "no
" >&6; }
7889 if test "x
$ac_ct_OTOOL" = x; then
7892 case $cross_compiling:$ac_tool_warned in
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7895 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7896 ac_tool_warned=yes ;;
7901 OTOOL="$ac_cv_prog_OTOOL"
7904 if test -n "$ac_tool_prefix"; then
7905 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7906 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7908 $as_echo_n "checking
for $ac_word...
" >&6; }
7909 if ${ac_cv_prog_OTOOL64+:} false; then :
7910 $as_echo_n "(cached
) " >&6
7912 if test -n "$OTOOL64"; then
7913 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7919 test -z "$as_dir" && as_dir=.
7920 for ac_exec_ext in '' $ac_executable_extensions; do
7921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7922 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7932 OTOOL64=$ac_cv_prog_OTOOL64
7933 if test -n "$OTOOL64"; then
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7935 $as_echo "$OTOOL64" >&6; }
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7938 $as_echo "no
" >&6; }
7943 if test -z "$ac_cv_prog_OTOOL64"; then
7944 ac_ct_OTOOL64=$OTOOL64
7945 # Extract the first word of "otool64
", so it can be a program name with args.
7946 set dummy otool64; ac_word=$2
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7948 $as_echo_n "checking
for $ac_word...
" >&6; }
7949 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7950 $as_echo_n "(cached
) " >&6
7952 if test -n "$ac_ct_OTOOL64"; then
7953 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7959 test -z "$as_dir" && as_dir=.
7960 for ac_exec_ext in '' $ac_executable_extensions; do
7961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7962 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7972 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7973 if test -n "$ac_ct_OTOOL64"; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7975 $as_echo "$ac_ct_OTOOL64" >&6; }
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7978 $as_echo "no
" >&6; }
7981 if test "x
$ac_ct_OTOOL64" = x; then
7984 case $cross_compiling:$ac_tool_warned in
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7987 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7988 ac_tool_warned=yes ;;
7990 OTOOL64=$ac_ct_OTOOL64
7993 OTOOL64="$ac_cv_prog_OTOOL64"
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8023 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8024 if ${lt_cv_apple_cc_single_mod+:} false; then :
8025 $as_echo_n "(cached
) " >&6
8027 lt_cv_apple_cc_single_mod=no
8028 if test -z "${LT_MULTI_MODULE}"; then
8029 # By default we will add the -single_module flag. You can override
8030 # by either setting the environment variable LT_MULTI_MODULE
8031 # non-empty at configure time, or by adding -multi_module to the
8033 rm -rf libconftest.dylib*
8034 echo "int foo
(void
){return 1;}" > conftest.c
8035 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8036 -dynamiclib -Wl,-single_module conftest.c
" >&5
8037 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8038 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8040 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8041 lt_cv_apple_cc_single_mod=yes
8043 cat conftest.err >&5
8045 rm -rf libconftest.dylib*
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8050 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8052 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8053 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8054 $as_echo_n "(cached
) " >&6
8056 lt_cv_ld_exported_symbols_list=no
8057 save_LDFLAGS=$LDFLAGS
8058 echo "_main
" > conftest.sym
8059 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8061 /* end confdefs.h. */
8071 if ac_fn_c_try_link "$LINENO"; then :
8072 lt_cv_ld_exported_symbols_list=yes
8074 lt_cv_ld_exported_symbols_list=no
8076 rm -f core conftest.err conftest.$ac_objext \
8077 conftest$ac_exeext conftest.$ac_ext
8078 LDFLAGS="$save_LDFLAGS"
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8082 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8084 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8085 if ${lt_cv_ld_force_load+:} false; then :
8086 $as_echo_n "(cached
) " >&6
8088 lt_cv_ld_force_load=no
8089 cat > conftest.c << _LT_EOF
8090 int forced_loaded() { return 2;}
8092 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8093 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8094 echo "$AR cru libconftest.a conftest.o
" >&5
8095 $AR cru libconftest.a conftest.o 2>&5
8096 cat > conftest.c << _LT_EOF
8097 int main() { return 0;}
8099 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8100 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8102 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8103 lt_cv_ld_force_load=yes
8105 cat conftest.err >&5
8107 rm -f conftest.err libconftest.a conftest conftest.c
8108 rm -rf conftest.dSYM
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8112 $as_echo "$lt_cv_ld_force_load" >&6; }
8114 rhapsody* | darwin1.[012])
8115 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8117 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8118 darwin*) # darwin 5.x on
8119 # if running on 10.5 or later, the deployment target defaults
8120 # to the OS version, if on x86, and 10.4, the deployment
8121 # target defaults to 10.4. Don't you love it?
8122 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8123 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8124 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8126 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8128 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8132 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8133 _lt_dar_single_mod='$single_module'
8135 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8136 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8138 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8140 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8141 _lt_dsymutil='~$DSYMUTIL $lib || :'
8148 for ac_header in dlfcn.h
8150 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8152 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8153 cat >>confdefs.h <<_ACEOF
8154 #define HAVE_DLFCN_H 1
8174 # Check whether --enable-shared was given.
8175 if test "${enable_shared+set}" = set; then :
8176 enableval=$enable_shared; p=${PACKAGE-default}
8178 yes) enable_shared=yes ;;
8179 no) enable_shared=no ;;
8182 # Look at the argument we got. We use all the common list separators.
8183 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8184 for pkg in $enableval; do
8186 if test "X
$pkg" = "X
$p"; then
8205 # Check whether --enable-static was given.
8206 if test "${enable_static+set}" = set; then :
8207 enableval=$enable_static; p=${PACKAGE-default}
8209 yes) enable_static=yes ;;
8210 no) enable_static=no ;;
8213 # Look at the argument we got. We use all the common list separators.
8214 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8215 for pkg in $enableval; do
8217 if test "X
$pkg" = "X
$p"; then
8237 # Check whether --with-pic was given.
8238 if test "${with_pic+set}" = set; then :
8239 withval=$with_pic; pic_mode="$withval"
8245 test -z "$pic_mode" && pic_mode=default
8253 # Check whether --enable-fast-install was given.
8254 if test "${enable_fast_install+set}" = set; then :
8255 enableval=$enable_fast_install; p=${PACKAGE-default}
8257 yes) enable_fast_install=yes ;;
8258 no) enable_fast_install=no ;;
8260 enable_fast_install=no
8261 # Look at the argument we got. We use all the common list separators.
8262 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8263 for pkg in $enableval; do
8265 if test "X
$pkg" = "X
$p"; then
8266 enable_fast_install=yes
8273 enable_fast_install=yes
8286 # This can be used to rebuild libtool when needed
8287 LIBTOOL_DEPS="$ltmain"
8289 # Always use our own libtool.
8290 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8317 test -z "$LN_S" && LN_S="ln -s"
8332 if test -n "${ZSH_VERSION+set}" ; then
8333 setopt NO_GLOB_SUBST
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8337 $as_echo_n "checking
for objdir...
" >&6; }
8338 if ${lt_cv_objdir+:} false; then :
8339 $as_echo_n "(cached
) " >&6
8341 rm -f .libs 2>/dev/null
8342 mkdir .libs 2>/dev/null
8343 if test -d .libs; then
8346 # MS-DOS does not allow filenames that begin with a dot.
8349 rmdir .libs 2>/dev/null
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8352 $as_echo "$lt_cv_objdir" >&6; }
8353 objdir=$lt_cv_objdir
8359 cat >>confdefs.h <<_ACEOF
8360 #define LT_OBJDIR "$lt_cv_objdir/"
8368 # AIX sometimes has problems with the GCC collect2 program. For some
8369 # reason, if we set the COLLECT_NAMES environment variable, the problems
8370 # vanish in a puff of smoke.
8371 if test "X
${COLLECT_NAMES+set}" != Xset; then
8373 export COLLECT_NAMES
8380 can_build_shared=yes
8382 # All known linkers require a `.a' archive for static linking (except MSVC,
8383 # which needs '.lib').
8386 with_gnu_ld="$lt_cv_prog_gnu_ld"
8389 old_CFLAGS="$CFLAGS"
8391 # Set sane defaults for various variables
8392 test -z "$CC" && CC=cc
8393 test -z "$LTCC" && LTCC=$CC
8394 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8395 test -z "$LD" && LD=ld
8396 test -z "$ac_objext" && ac_objext=o
8398 for cc_temp in $compiler""; do
8400 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8401 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8406 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8409 # Only perform the check for file, if the check method requires it
8410 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8411 case $deplibs_check_method in
8413 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8415 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8416 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8417 $as_echo_n "(cached
) " >&6
8421 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8424 lt_save_MAGIC_CMD="$MAGIC_CMD"
8425 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8426 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8427 for ac_dir in $ac_dummy; do
8429 test -z "$ac_dir" && ac_dir=.
8430 if test -f $ac_dir/${ac_tool_prefix}file; then
8431 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8432 if test -n "$file_magic_test_file"; then
8433 case $deplibs_check_method in
8435 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8436 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8437 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8438 $EGREP "$file_magic_regex" > /dev/null; then
8443 *** Warning: the command libtool uses to detect shared libraries,
8444 *** $file_magic_cmd, produces output that libtool cannot recognize.
8445 *** The result is that libtool may fail to recognize shared libraries
8446 *** as such. This will affect the creation of libtool libraries that
8447 *** depend on shared libraries, but programs linked with such libtool
8448 *** libraries will work regardless of this problem. Nevertheless, you
8449 *** may want to report the problem to your system manager and/or to
8450 *** bug-libtool@gnu.org
8460 MAGIC_CMD="$lt_save_MAGIC_CMD"
8465 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8466 if test -n "$MAGIC_CMD"; then
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8468 $as_echo "$MAGIC_CMD" >&6; }
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8471 $as_echo "no
" >&6; }
8478 if test -z "$lt_cv_path_MAGIC_CMD"; then
8479 if test -n "$ac_tool_prefix"; then
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8481 $as_echo_n "checking
for file...
" >&6; }
8482 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8483 $as_echo_n "(cached
) " >&6
8487 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8490 lt_save_MAGIC_CMD="$MAGIC_CMD"
8491 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8492 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8493 for ac_dir in $ac_dummy; do
8495 test -z "$ac_dir" && ac_dir=.
8496 if test -f $ac_dir/file; then
8497 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8498 if test -n "$file_magic_test_file"; then
8499 case $deplibs_check_method in
8501 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8502 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8503 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8504 $EGREP "$file_magic_regex" > /dev/null; then
8509 *** Warning: the command libtool uses to detect shared libraries,
8510 *** $file_magic_cmd, produces output that libtool cannot recognize.
8511 *** The result is that libtool may fail to recognize shared libraries
8512 *** as such. This will affect the creation of libtool libraries that
8513 *** depend on shared libraries, but programs linked with such libtool
8514 *** libraries will work regardless of this problem. Nevertheless, you
8515 *** may want to report the problem to your system manager and/or to
8516 *** bug-libtool@gnu.org
8526 MAGIC_CMD="$lt_save_MAGIC_CMD"
8531 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8532 if test -n "$MAGIC_CMD"; then
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8534 $as_echo "$MAGIC_CMD" >&6; }
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8537 $as_echo "no
" >&6; }
8550 # Use C for the default configuration in the libtool script
8554 ac_cpp='$CPP $CPPFLAGS'
8555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8560 # Source file extension for C test sources.
8563 # Object file extension for compiled C test sources.
8567 # Code to be used in simple compile tests
8568 lt_simple_compile_test_code="int some_variable
= 0;"
8570 # Code to be used in simple link tests
8571 lt_simple_link_test_code='int main(){return(0);}'
8579 # If no C compiler was specified, use CC.
8582 # If no C compiler flags were specified, use CFLAGS.
8583 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8585 # Allow CC to be a program name with arguments.
8588 # Save the default compiler, since it gets overwritten when the other
8589 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8590 compiler_DEFAULT=$CC
8592 # save warnings/boilerplate of simple test code
8593 ac_outfile=conftest.$ac_objext
8594 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8595 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8596 _lt_compiler_boilerplate=`cat conftest.err`
8599 ac_outfile=conftest.$ac_objext
8600 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8601 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8602 _lt_linker_boilerplate=`cat conftest.err`
8607 ## There is no encapsulation within the following macros, do not change
8608 ## the running order or otherwise move them around unless you know exactly
8609 ## what you are doing...
8610 if test -n "$compiler"; then
8612 lt_prog_compiler_no_builtin_flag=
8614 if test "$GCC" = yes; then
8615 case $cc_basename in
8617 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8619 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8623 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8624 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8625 $as_echo_n "(cached
) " >&6
8627 lt_cv_prog_compiler_rtti_exceptions=no
8628 ac_outfile=conftest.$ac_objext
8629 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8630 lt_compiler_flag="-fno-rtti -fno-exceptions"
8631 # Insert the option either (1) after the last *FLAGS variable, or
8632 # (2) before a word containing "conftest.
", or (3) at the end.
8633 # Note that $ac_compile itself does not contain backslashes and begins
8634 # with a dollar sign (not a hyphen), so the echo should work correctly.
8635 # The option is referenced via a variable to avoid confusing sed.
8636 lt_compile=`echo "$ac_compile" | $SED \
8637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8639 -e 's:$: $lt_compiler_flag:'`
8640 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8641 (eval "$lt_compile" 2>conftest.err)
8643 cat conftest.err >&5
8644 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8645 if (exit $ac_status) && test -s "$ac_outfile"; then
8646 # The compiler can only warn and ignore the option if not recognized
8647 # So say no if there are warnings other than the usual output.
8648 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8649 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8650 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8651 lt_cv_prog_compiler_rtti_exceptions=yes
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8658 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8660 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8661 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8673 lt_prog_compiler_wl=
8674 lt_prog_compiler_pic=
8675 lt_prog_compiler_static=
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8678 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8680 if test "$GCC" = yes; then
8681 lt_prog_compiler_wl='-Wl,'
8682 lt_prog_compiler_static='-static'
8686 # All AIX code is PIC.
8687 if test "$host_cpu" = ia64; then
8688 # AIX 5 now supports IA64 processor
8689 lt_prog_compiler_static='-Bstatic'
8691 lt_prog_compiler_pic='-fPIC'
8697 # see comment about AmigaOS4 .so support
8698 lt_prog_compiler_pic='-fPIC'
8701 # FIXME: we need at least 68020 code to build shared libraries, but
8702 # adding the `-m68020' flag to GCC prevents building anything better,
8704 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8709 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8710 # PIC is the default for these OSes.
8713 mingw* | cygwin* | pw32* | os2* | cegcc*)
8714 # This hack is so that the source file can tell whether it is being
8715 # built for inclusion in a dll (and should export symbols for example).
8716 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8717 # (--disable-auto-import) libraries
8718 lt_prog_compiler_pic='-DDLL_EXPORT'
8721 darwin* | rhapsody*)
8722 # PIC is the default on this platform
8723 # Common symbols not allowed in MH_DYLIB files
8724 lt_prog_compiler_pic='-fno-common'
8728 # PIC is the default for Haiku.
8729 # The "-static" flag exists, but is broken.
8730 lt_prog_compiler_static=
8734 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8735 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8736 # sets the default TLS model and affects inlining.
8742 lt_prog_compiler_pic='-fPIC'
8748 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8749 # Instead, we relocate shared libraries at runtime.
8753 # Just because we use GCC doesn't mean we suddenly get shared libraries
8754 # on systems that don't support them.
8755 lt_prog_compiler_can_build_shared=no
8760 # QNX uses GNU C++, but need to define -shared option too, otherwise
8762 lt_prog_compiler_pic='-fPIC -shared'
8766 if test -d /usr/nec; then
8767 lt_prog_compiler_pic=-Kconform_pic
8772 lt_prog_compiler_pic='-fPIC'
8776 case $cc_basename in
8777 nvcc*) # Cuda Compiler Driver 2.2
8778 lt_prog_compiler_wl='-Xlinker '
8779 lt_prog_compiler_pic='-Xcompiler -fPIC'
8783 # PORTME Check for flag to pass linker flags through the system compiler.
8786 lt_prog_compiler_wl='-Wl,'
8787 if test "$host_cpu" = ia64; then
8788 # AIX 5 now supports IA64 processor
8789 lt_prog_compiler_static='-Bstatic'
8791 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8795 mingw* | cygwin* | pw32* | os2* | cegcc*)
8796 # This hack is so that the source file can tell whether it is being
8797 # built for inclusion in a dll (and should export symbols for example).
8798 lt_prog_compiler_pic='-DDLL_EXPORT'
8801 hpux9* | hpux10* | hpux11*)
8802 lt_prog_compiler_wl='-Wl,'
8803 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8810 lt_prog_compiler_pic='+Z'
8813 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8814 lt_prog_compiler_static='${wl}-a ${wl}archive'
8817 irix5* | irix6* | nonstopux*)
8818 lt_prog_compiler_wl='-Wl,'
8819 # PIC (with -KPIC) is the default.
8820 lt_prog_compiler_static='-non_shared'
8823 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8824 case $cc_basename in
8825 # old Intel for x86_64 which still supported -KPIC.
8827 lt_prog_compiler_wl='-Wl,'
8828 lt_prog_compiler_pic='-KPIC'
8829 lt_prog_compiler_static='-static'
8831 # icc used to be incompatible with GCC.
8832 # ICC 10 doesn't accept -KPIC any more.
8834 lt_prog_compiler_wl='-Wl,'
8835 lt_prog_compiler_pic='-fPIC'
8836 lt_prog_compiler_static='-static'
8838 # Lahey Fortran 8.1.
8840 lt_prog_compiler_wl='-Wl,'
8841 lt_prog_compiler_pic='--shared'
8842 lt_prog_compiler_static='--static'
8844 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8845 # Portland Group compilers (*not* the Pentium gcc compiler,
8846 # which looks to be a dead project)
8847 lt_prog_compiler_wl='-Wl,'
8848 lt_prog_compiler_pic='-fpic'
8849 lt_prog_compiler_static='-Bstatic'
8852 lt_prog_compiler_wl='-Wl,'
8853 # All Alpha code is PIC.
8854 lt_prog_compiler_static='-non_shared'
8856 xl* | bgxl* | bgf* | mpixl*)
8857 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8858 lt_prog_compiler_wl='-Wl,'
8859 lt_prog_compiler_pic='-qpic'
8860 lt_prog_compiler_static='-qstaticlink'
8863 case `$CC -V 2>&1 | sed 5q` in
8864 *Sun\ F* | *Sun*Fortran*)
8865 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-Bstatic'
8868 lt_prog_compiler_wl=''
8872 lt_prog_compiler_pic='-KPIC'
8873 lt_prog_compiler_static='-Bstatic'
8874 lt_prog_compiler_wl='-Wl,'
8882 lt_prog_compiler_pic='-KPIC'
8883 lt_prog_compiler_static='-Bstatic'
8887 # QNX uses GNU C++, but need to define -shared option too, otherwise
8889 lt_prog_compiler_pic='-fPIC -shared'
8892 osf3* | osf4* | osf5*)
8893 lt_prog_compiler_wl='-Wl,'
8894 # All OSF/1 code is PIC.
8895 lt_prog_compiler_static='-non_shared'
8899 lt_prog_compiler_static='-non_shared'
8903 lt_prog_compiler_pic='-KPIC'
8904 lt_prog_compiler_static='-Bstatic'
8905 case $cc_basename in
8907 lt_prog_compiler_wl='-Qoption ld ';;
8909 lt_prog_compiler_wl='-Wl,';;
8914 lt_prog_compiler_wl='-Qoption ld '
8915 lt_prog_compiler_pic='-PIC'
8916 lt_prog_compiler_static='-Bstatic'
8919 sysv4 | sysv4.2uw2* | sysv4.3*)
8920 lt_prog_compiler_wl='-Wl,'
8921 lt_prog_compiler_pic='-KPIC'
8922 lt_prog_compiler_static='-Bstatic'
8926 if test -d /usr/nec ;then
8927 lt_prog_compiler_pic='-Kconform_pic'
8928 lt_prog_compiler_static='-Bstatic'
8932 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8933 lt_prog_compiler_wl='-Wl,'
8934 lt_prog_compiler_pic='-KPIC'
8935 lt_prog_compiler_static='-Bstatic'
8939 lt_prog_compiler_wl='-Wl,'
8940 lt_prog_compiler_can_build_shared=no
8944 lt_prog_compiler_pic='-pic'
8945 lt_prog_compiler_static='-Bstatic'
8949 lt_prog_compiler_can_build_shared=no
8955 # For platforms which do not support PIC, -DPIC is meaningless:
8957 lt_prog_compiler_pic=
8960 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8964 $as_echo "$lt_prog_compiler_pic" >&6; }
8972 # Check to make sure the PIC flag actually works.
8974 if test -n "$lt_prog_compiler_pic"; then
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8976 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8977 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8978 $as_echo_n "(cached
) " >&6
8980 lt_cv_prog_compiler_pic_works=no
8981 ac_outfile=conftest.$ac_objext
8982 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8983 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8984 # Insert the option either (1) after the last *FLAGS variable, or
8985 # (2) before a word containing "conftest.
", or (3) at the end.
8986 # Note that $ac_compile itself does not contain backslashes and begins
8987 # with a dollar sign (not a hyphen), so the echo should work correctly.
8988 # The option is referenced via a variable to avoid confusing sed.
8989 lt_compile=`echo "$ac_compile" | $SED \
8990 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8991 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8992 -e 's:$: $lt_compiler_flag:'`
8993 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8994 (eval "$lt_compile" 2>conftest.err)
8996 cat conftest.err >&5
8997 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8998 if (exit $ac_status) && test -s "$ac_outfile"; then
8999 # The compiler can only warn and ignore the option if not recognized
9000 # So say no if there are warnings other than the usual output.
9001 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9002 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9003 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9004 lt_cv_prog_compiler_pic_works=yes
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
9011 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9013 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9014 case $lt_prog_compiler_pic in
9016 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9019 lt_prog_compiler_pic=
9020 lt_prog_compiler_can_build_shared=no
9031 # Check to make sure the static flag actually works.
9033 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9035 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9036 if ${lt_cv_prog_compiler_static_works+:} false; then :
9037 $as_echo_n "(cached
) " >&6
9039 lt_cv_prog_compiler_static_works=no
9040 save_LDFLAGS="$LDFLAGS"
9041 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9042 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9043 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9044 # The linker can only warn and ignore the option if not recognized
9045 # So say no if there are warnings
9046 if test -s conftest.err; then
9047 # Append any errors to the config.log.
9048 cat conftest.err 1>&5
9049 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9050 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9051 if diff conftest.exp conftest.er2 >/dev/null; then
9052 lt_cv_prog_compiler_static_works=yes
9055 lt_cv_prog_compiler_static_works=yes
9059 LDFLAGS="$save_LDFLAGS"
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9063 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9065 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9068 lt_prog_compiler_static=
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9078 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9079 if ${lt_cv_prog_compiler_c_o+:} false; then :
9080 $as_echo_n "(cached
) " >&6
9082 lt_cv_prog_compiler_c_o=no
9083 $RM -r conftest 2>/dev/null
9087 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9089 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9090 # Insert the option either (1) after the last *FLAGS variable, or
9091 # (2) before a word containing "conftest.
", or (3) at the end.
9092 # Note that $ac_compile itself does not contain backslashes and begins
9093 # with a dollar sign (not a hyphen), so the echo should work correctly.
9094 lt_compile=`echo "$ac_compile" | $SED \
9095 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9096 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9097 -e 's:$: $lt_compiler_flag:'`
9098 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9099 (eval "$lt_compile" 2>out/conftest.err)
9101 cat out/conftest.err >&5
9102 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9103 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9105 # The compiler can only warn and ignore the option if not recognized
9106 # So say no if there are warnings
9107 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9108 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9109 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9110 lt_cv_prog_compiler_c_o=yes
9115 # SGI C++ compiler will create directory out/ii_files/ for
9116 # template instantiation
9117 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9118 $RM out/* && rmdir out
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9125 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9133 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9134 if ${lt_cv_prog_compiler_c_o+:} false; then :
9135 $as_echo_n "(cached
) " >&6
9137 lt_cv_prog_compiler_c_o=no
9138 $RM -r conftest 2>/dev/null
9142 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9144 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9145 # Insert the option either (1) after the last *FLAGS variable, or
9146 # (2) before a word containing "conftest.
", or (3) at the end.
9147 # Note that $ac_compile itself does not contain backslashes and begins
9148 # with a dollar sign (not a hyphen), so the echo should work correctly.
9149 lt_compile=`echo "$ac_compile" | $SED \
9150 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9151 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9152 -e 's:$: $lt_compiler_flag:'`
9153 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9154 (eval "$lt_compile" 2>out/conftest.err)
9156 cat out/conftest.err >&5
9157 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9158 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9160 # The compiler can only warn and ignore the option if not recognized
9161 # So say no if there are warnings
9162 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9163 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9164 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9165 lt_cv_prog_compiler_c_o=yes
9170 # SGI C++ compiler will create directory out/ii_files/ for
9171 # template instantiation
9172 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9173 $RM out/* && rmdir out
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9180 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9185 hard_links="nottested
"
9186 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9187 # do not overwrite the value of need_locks provided by the user
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9189 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9192 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9194 ln conftest.a conftest.b 2>&5 || hard_links=no
9195 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9197 $as_echo "$hard_links" >&6; }
9198 if test "$hard_links" = no; then
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9200 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9213 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9216 allow_undefined_flag=
9217 always_export_symbols=no
9219 archive_expsym_cmds=
9220 compiler_needs_object=no
9221 enable_shared_with_static_runtimes=no
9222 export_dynamic_flag_spec=
9223 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9224 hardcode_automatic=no
9226 hardcode_direct_absolute=no
9227 hardcode_libdir_flag_spec=
9228 hardcode_libdir_flag_spec_ld=
9229 hardcode_libdir_separator=
9231 hardcode_shlibpath_var=unsupported
9233 link_all_deplibs=unknown
9236 old_archive_from_new_cmds=
9237 old_archive_from_expsyms_cmds=
9238 thread_safe_flag_spec=
9239 whole_archive_flag_spec=
9240 # include_expsyms should be a list of space-separated symbols to be *always*
9241 # included in the symbol list
9243 # exclude_expsyms can be an extended regexp of symbols to exclude
9244 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9245 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9246 # as well as any symbol that contains `d'.
9247 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9248 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9249 # platforms (ab)use it in PIC code, but their linkers get confused if
9250 # the symbol is explicitly referenced. Since portable code cannot
9251 # rely on this symbol name, it's probably fine to never include it in
9252 # preloaded symbol tables.
9253 # Exclude shared library initialization/finalization symbols.
9254 extract_expsyms_cmds=
9257 cygwin* | mingw* | pw32* | cegcc*)
9258 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9259 # When not using gcc, we currently assume that we are using
9260 # Microsoft Visual C++.
9261 if test "$GCC" != yes; then
9266 # we just hope/assume this is gcc and not c89 (= MSVC++)
9276 # On some targets, GNU ld is compatible enough with the native linker
9277 # that we're better off using the native interface for both.
9278 lt_use_gnu_ld_interface=no
9279 if test "$with_gnu_ld" = yes; then
9282 # The AIX port of GNU ld has always aspired to compatibility
9283 # with the native linker. However, as the warning in the GNU ld
9284 # block says, versions before 2.19.5* couldn't really create working
9285 # shared libraries, regardless of the interface used.
9286 case `$LD -v 2>&1` in
9287 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9288 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9289 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9291 lt_use_gnu_ld_interface=yes
9296 lt_use_gnu_ld_interface=yes
9301 if test "$lt_use_gnu_ld_interface" = yes; then
9302 # If archive_cmds runs LD, not CC, wlarc should be empty
9305 # Set some defaults for GNU ld with shared library support. These
9306 # are reset later if shared libraries are not supported. Putting them
9307 # here allows them to be overridden if necessary.
9308 runpath_var=LD_RUN_PATH
9309 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9310 export_dynamic_flag_spec='${wl}--export-dynamic'
9311 # ancient GNU ld didn't support --whole-archive et. al.
9312 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9313 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9315 whole_archive_flag_spec=
9317 supports_anon_versioning=no
9318 case `$LD -v 2>&1` in
9319 *GNU\ gold*) supports_anon_versioning=yes ;;
9320 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9321 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9322 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9323 *\ 2.11.*) ;; # other 2.11 versions
9324 *) supports_anon_versioning=yes ;;
9327 # See if GNU ld supports shared libraries.
9330 # On AIX/PPC, the GNU linker is very broken
9331 if test "$host_cpu" != ia64; then
9335 *** Warning: the GNU linker, at least up to release 2.19, is reported
9336 *** to be unable to reliably create shared libraries on AIX.
9337 *** Therefore, libtool is disabling shared libraries support. If you
9338 *** really care for shared libraries, you may want to install binutils
9339 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9340 *** You will then need to restart the configuration process.
9349 # see comment about AmigaOS4 .so support
9350 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9351 archive_expsym_cmds=''
9354 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)'
9355 hardcode_libdir_flag_spec
='-L$libdir'
9356 hardcode_minus_L
=yes
9362 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9363 allow_undefined_flag
=unsupported
9364 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9365 # support --undefined. This deserves some investigation. FIXME
9366 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9372 cygwin
* | mingw
* | pw32
* | cegcc
*)
9373 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9374 # as there is no search path for DLLs.
9375 hardcode_libdir_flag_spec
='-L$libdir'
9376 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9377 allow_undefined_flag
=unsupported
9378 always_export_symbols
=no
9379 enable_shared_with_static_runtimes
=yes
9380 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9382 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9383 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9384 # If the export-symbols file already is a .def file (1st line
9385 # is EXPORTS), use it as is; otherwise, prepend...
9386 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9387 cp $export_symbols $output_objdir/$soname.def;
9389 echo EXPORTS > $output_objdir/$soname.def;
9390 cat $export_symbols >> $output_objdir/$soname.def;
9392 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9399 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400 link_all_deplibs
=yes
9405 hardcode_shlibpath_var
=no
9406 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9407 export_dynamic_flag_spec
='${wl}-E'
9408 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9409 # Instead, shared libraries are loaded at an image base (0x10000000 by
9410 # default) and relocated if they conflict, which is a slow very memory
9411 # consuming and fragmenting process. To avoid this, we pick a random,
9412 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9413 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9414 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9415 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'
9418 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9420 if test "$host_os" = linux-dietlibc
; then
9421 case $cc_basename in
9422 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9425 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9426 && test "$tmp_diet" = no
9428 tmp_addflag
=' $pic_flag'
9429 tmp_sharedflag
='-shared'
9430 case $cc_basename,$host_cpu in
9431 pgcc
*) # Portland Group C compiler
9432 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'
9433 tmp_addflag
=' $pic_flag'
9435 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9436 # Portland Group f77 and f90 compilers
9437 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'
9438 tmp_addflag
=' $pic_flag -Mnomain' ;;
9439 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9440 tmp_addflag
=' -i_dynamic' ;;
9441 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9442 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9443 ifc
* | ifort
*) # Intel Fortran compiler
9444 tmp_addflag
=' -nofor_main' ;;
9445 lf95
*) # Lahey Fortran 8.1
9446 whole_archive_flag_spec
=
9447 tmp_sharedflag
='--shared' ;;
9448 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9449 tmp_sharedflag
='-qmkshrobj'
9451 nvcc
*) # Cuda Compiler Driver 2.2
9452 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'
9453 compiler_needs_object
=yes
9456 case `$CC -V 2>&1 | sed 5q` in
9457 *Sun\ C
*) # Sun C 5.9
9458 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'
9459 compiler_needs_object
=yes
9460 tmp_sharedflag
='-G' ;;
9461 *Sun\ F
*) # Sun Fortran 8.3
9462 tmp_sharedflag
='-G' ;;
9464 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9466 if test "x$supports_anon_versioning" = xyes
; then
9467 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9468 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9469 echo "local: *; };" >> $output_objdir/$libname.ver~
9470 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9473 case $cc_basename in
9474 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9475 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9476 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9477 hardcode_libdir_flag_spec
=
9478 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9479 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9480 if test "x$supports_anon_versioning" = xyes
; then
9481 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9482 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9483 echo "local: *; };" >> $output_objdir/$libname.ver~
9484 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9494 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9495 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9498 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9504 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9508 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9509 *** create shared libraries on Solaris systems. Therefore, libtool
9510 *** is disabling shared libraries support. We urge you to upgrade GNU
9511 *** binutils to release 2.9.1 or newer. Another option is to modify
9512 *** your PATH or compiler configuration so that the native linker is
9513 *** used, and then restart.
9516 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9517 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9518 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9524 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9525 case `$LD -v 2>&1` in
9526 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9530 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9531 *** reliably create shared libraries on SCO systems. Therefore, libtool
9532 *** is disabling shared libraries support. We urge you to upgrade GNU
9533 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9534 *** your PATH or compiler configuration so that the native linker is
9535 *** used, and then restart.
9540 # For security reasons, it is highly recommended that you always
9541 # use absolute paths for naming shared libraries, and exclude the
9542 # DT_RUNPATH tag from executables and libraries. But doing so
9543 # requires that you compile everything twice, which is a pain.
9544 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9545 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9546 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9547 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9556 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9559 hardcode_shlibpath_var
=no
9563 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9564 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9565 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9572 if test "$ld_shlibs" = no
; then
9574 hardcode_libdir_flag_spec
=
9575 export_dynamic_flag_spec
=
9576 whole_archive_flag_spec
=
9579 # PORTME fill in a description of your system's linker (not GNU ld)
9582 allow_undefined_flag
=unsupported
9583 always_export_symbols
=yes
9584 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'
9585 # Note: this linker hardcodes the directories in LIBPATH if there
9586 # are no directories specified by -L.
9587 hardcode_minus_L
=yes
9588 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9589 # Neither direct hardcoding nor static linking is supported with a
9591 hardcode_direct
=unsupported
9596 if test "$host_cpu" = ia64
; then
9597 # On IA64, the linker does run time linking by default, so we don't
9598 # have to do anything special.
9599 aix_use_runtimelinking
=no
9600 exp_sym_flag
='-Bexport'
9603 # If we're using GNU nm, then we don't want the "-C" option.
9604 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9605 # Also, AIX nm treats weak defined symbols like other global
9606 # defined symbols, whereas GNU nm marks them as "W".
9607 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9608 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'
9610 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'
9612 aix_use_runtimelinking
=no
9614 # Test if we are trying to use run time linking or normal
9615 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9616 # need to do runtime linking.
9617 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9618 for ld_flag
in $LDFLAGS; do
9619 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9620 aix_use_runtimelinking
=yes
9627 exp_sym_flag
='-bexport'
9628 no_entry_flag
='-bnoentry'
9631 # When large executables or shared objects are built, AIX ld can
9632 # have problems creating the table of contents. If linking a library
9633 # or program results in "error TOC overflow" add -mminimal-toc to
9634 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9635 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9639 hardcode_direct_absolute
=yes
9640 hardcode_libdir_separator
=':'
9641 link_all_deplibs
=yes
9642 file_list_spec
='${wl}-f,'
9644 if test "$GCC" = yes; then
9645 case $host_os in aix4.
[012]|aix4.
[012].
*)
9646 # We only want to do this on AIX 4.2 and lower, the check
9647 # below for broken collect2 doesn't work under 4.3+
9648 collect2name
=`${CC} -print-prog-name=collect2`
9649 if test -f "$collect2name" &&
9650 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9652 # We have reworked collect2
9655 # We have old collect2
9656 hardcode_direct
=unsupported
9657 # It fails to find uninstalled libraries when the uninstalled
9658 # path is not listed in the libpath. Setting hardcode_minus_L
9659 # to unsupported forces relinking
9660 hardcode_minus_L
=yes
9661 hardcode_libdir_flag_spec
='-L$libdir'
9662 hardcode_libdir_separator
=
9666 shared_flag
='-shared'
9667 if test "$aix_use_runtimelinking" = yes; then
9668 shared_flag
="$shared_flag "'${wl}-G'
9672 if test "$host_cpu" = ia64
; then
9673 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9674 # chokes on -Wl,-G. The following line is correct:
9677 if test "$aix_use_runtimelinking" = yes; then
9678 shared_flag
='${wl}-G'
9680 shared_flag
='${wl}-bM:SRE'
9685 export_dynamic_flag_spec
='${wl}-bexpall'
9686 # It seems that -bexpall does not export symbols beginning with
9687 # underscore (_), so it is better to generate a list of symbols to export.
9688 always_export_symbols
=yes
9689 if test "$aix_use_runtimelinking" = yes; then
9690 # Warning - without using the other runtime loading flags (-brtl),
9691 # -berok will link without error, but may produce a broken library.
9692 allow_undefined_flag
='-berok'
9693 # Determine the default libpath from the value encoded in an
9695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9696 /* end confdefs.h. */
9706 if ac_fn_c_try_link
"$LINENO"; then :
9708 lt_aix_libpath_sed
='
9709 /Import File Strings/,/^$/ {
9715 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9716 # Check for a 64-bit object if we didn't find anything.
9717 if test -z "$aix_libpath"; then
9718 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9721 rm -f core conftest.err conftest.
$ac_objext \
9722 conftest
$ac_exeext conftest.
$ac_ext
9723 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9725 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9726 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"
9728 if test "$host_cpu" = ia64
; then
9729 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9730 allow_undefined_flag
="-z nodefs"
9731 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"
9733 # Determine the default libpath from the value encoded in an
9735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9736 /* end confdefs.h. */
9746 if ac_fn_c_try_link
"$LINENO"; then :
9748 lt_aix_libpath_sed
='
9749 /Import File Strings/,/^$/ {
9755 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9756 # Check for a 64-bit object if we didn't find anything.
9757 if test -z "$aix_libpath"; then
9758 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9761 rm -f core conftest.err conftest.
$ac_objext \
9762 conftest
$ac_exeext conftest.
$ac_ext
9763 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9765 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9766 # Warning - without using the other run time loading flags,
9767 # -berok will link without error, but may produce a broken library.
9768 no_undefined_flag
=' ${wl}-bernotok'
9769 allow_undefined_flag
=' ${wl}-berok'
9770 if test "$with_gnu_ld" = yes; then
9771 # We only use this code for GNU lds that support --whole-archive.
9772 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9774 # Exported symbols can be pulled into shared objects from archives
9775 whole_archive_flag_spec
='$convenience'
9777 archive_cmds_need_lc
=yes
9778 # This is similar to how AIX traditionally builds its shared libraries.
9779 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'
9787 # see comment about AmigaOS4 .so support
9788 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9789 archive_expsym_cmds
=''
9792 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)'
9793 hardcode_libdir_flag_spec
='-L$libdir'
9794 hardcode_minus_L
=yes
9800 export_dynamic_flag_spec
=-rdynamic
9803 cygwin
* | mingw
* | pw32
* | cegcc
*)
9804 # When not using gcc, we currently assume that we are using
9805 # Microsoft Visual C++.
9806 # hardcode_libdir_flag_spec is actually meaningless, as there is
9807 # no search path for DLLs.
9808 hardcode_libdir_flag_spec
=' '
9809 allow_undefined_flag
=unsupported
9810 # Tell ltmain to make .lib files, not .a files.
9812 # Tell ltmain to make .dll files, not .so files.
9814 # FIXME: Setting linknames here is a bad hack.
9815 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9816 # The linker will automatically build a .lib file if we build a DLL.
9817 old_archive_from_new_cmds
='true'
9818 # FIXME: Should let the user specify the lib program.
9819 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9820 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9821 enable_shared_with_static_runtimes
=yes
9824 darwin
* | rhapsody
*)
9827 archive_cmds_need_lc
=no
9829 hardcode_automatic
=yes
9830 hardcode_shlibpath_var
=unsupported
9831 if test "$lt_cv_ld_force_load" = "yes"; then
9832 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\"`'
9834 whole_archive_flag_spec
=''
9836 link_all_deplibs
=yes
9837 allow_undefined_flag
="$_lt_dar_allow_undefined"
9838 case $cc_basename in
9839 ifort
*) _lt_dar_can_shared
=yes ;;
9840 *) _lt_dar_can_shared
=$GCC ;;
9842 if test "$_lt_dar_can_shared" = "yes"; then
9843 output_verbose_link_cmd
=func_echo_all
9844 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9845 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9846 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}"
9847 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}"
9856 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9857 hardcode_libdir_flag_spec
='-L$libdir'
9858 hardcode_shlibpath_var
=no
9861 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9862 # support. Future versions do this automatically, but an explicit c++rt0.o
9863 # does not break anything, and helps significantly (at the cost of a little
9866 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9867 hardcode_libdir_flag_spec
='-R$libdir'
9869 hardcode_shlibpath_var
=no
9872 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9874 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9876 hardcode_minus_L
=yes
9877 hardcode_shlibpath_var
=no
9880 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9881 freebsd
* | dragonfly
*)
9882 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9883 hardcode_libdir_flag_spec
='-R$libdir'
9885 hardcode_shlibpath_var
=no
9889 if test "$GCC" = yes; then
9890 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'
9892 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'
9894 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9895 hardcode_libdir_separator
=:
9898 # hardcode_minus_L: Not really in the search PATH,
9899 # but as the default location of the library.
9900 hardcode_minus_L
=yes
9901 export_dynamic_flag_spec
='${wl}-E'
9905 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9906 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9908 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9910 if test "$with_gnu_ld" = no
; then
9911 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9912 hardcode_libdir_flag_spec_ld
='+b $libdir'
9913 hardcode_libdir_separator
=:
9915 hardcode_direct_absolute
=yes
9916 export_dynamic_flag_spec
='${wl}-E'
9917 # hardcode_minus_L: Not really in the search PATH,
9918 # but as the default location of the library.
9919 hardcode_minus_L
=yes
9924 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9927 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9930 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9933 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9939 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9946 # Older versions of the 11.00 compiler do not understand -b yet
9947 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9949 $as_echo_n "checking if $CC understands -b... " >&6; }
9950 if ${lt_cv_prog_compiler__b+:} false
; then :
9951 $as_echo_n "(cached) " >&6
9953 lt_cv_prog_compiler__b
=no
9954 save_LDFLAGS
="$LDFLAGS"
9955 LDFLAGS
="$LDFLAGS -b"
9956 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9957 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9958 # The linker can only warn and ignore the option if not recognized
9959 # So say no if there are warnings
9960 if test -s conftest.err
; then
9961 # Append any errors to the config.log.
9962 cat conftest.err
1>&5
9963 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9964 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9965 if diff conftest.exp conftest.er2
>/dev
/null
; then
9966 lt_cv_prog_compiler__b
=yes
9969 lt_cv_prog_compiler__b
=yes
9973 LDFLAGS
="$save_LDFLAGS"
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9977 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9979 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9980 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9982 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9988 if test "$with_gnu_ld" = no
; then
9989 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9990 hardcode_libdir_separator
=:
9995 hardcode_shlibpath_var
=no
9999 hardcode_direct_absolute
=yes
10000 export_dynamic_flag_spec
='${wl}-E'
10002 # hardcode_minus_L: Not really in the search PATH,
10003 # but as the default location of the library.
10004 hardcode_minus_L
=yes
10010 irix5
* | irix6
* | nonstopux
*)
10011 if test "$GCC" = yes; then
10012 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'
10013 # Try to use the -exported_symbol ld option, if it does not
10014 # work, assume that -exports_file does not work either and
10015 # implicitly export all symbols.
10016 save_LDFLAGS
="$LDFLAGS"
10017 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10019 /* end confdefs.h. */
10022 if ac_fn_c_try_link
"$LINENO"; then :
10023 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'
10026 rm -f core conftest.err conftest.
$ac_objext \
10027 conftest
$ac_exeext conftest.
$ac_ext
10028 LDFLAGS
="$save_LDFLAGS"
10030 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'
10031 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'
10033 archive_cmds_need_lc
='no'
10034 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10035 hardcode_libdir_separator
=:
10037 link_all_deplibs
=yes
10041 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10042 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10044 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10046 hardcode_libdir_flag_spec
='-R$libdir'
10047 hardcode_direct
=yes
10048 hardcode_shlibpath_var
=no
10052 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10053 hardcode_direct
=yes
10054 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10055 hardcode_libdir_separator
=:
10056 hardcode_shlibpath_var
=no
10063 if test -f /usr
/libexec
/ld.so
; then
10064 hardcode_direct
=yes
10065 hardcode_shlibpath_var
=no
10066 hardcode_direct_absolute
=yes
10067 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10068 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10069 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10070 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10071 export_dynamic_flag_spec
='${wl}-E'
10074 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10075 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10076 hardcode_libdir_flag_spec
='-R$libdir'
10079 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10080 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10090 hardcode_libdir_flag_spec
='-L$libdir'
10091 hardcode_minus_L
=yes
10092 allow_undefined_flag
=unsupported
10093 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'
10094 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10098 if test "$GCC" = yes; then
10099 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10100 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'
10102 allow_undefined_flag
=' -expect_unresolved \*'
10103 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'
10105 archive_cmds_need_lc
='no'
10106 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10107 hardcode_libdir_separator
=:
10110 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10111 if test "$GCC" = yes; then
10112 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10113 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'
10114 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10116 allow_undefined_flag
=' -expect_unresolved \*'
10117 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'
10118 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~
10119 $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'
10121 # Both c and cxx compiler support -rpath directly
10122 hardcode_libdir_flag_spec
='-rpath $libdir'
10124 archive_cmds_need_lc
='no'
10125 hardcode_libdir_separator
=:
10129 no_undefined_flag
=' -z defs'
10130 if test "$GCC" = yes; then
10132 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10133 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10134 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10136 case `$CC -V 2>&1` in
10139 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10140 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10141 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10145 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10146 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10147 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10151 hardcode_libdir_flag_spec
='-R$libdir'
10152 hardcode_shlibpath_var
=no
10154 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10156 # The compiler driver will combine and reorder linker options,
10157 # but understands `-z linker_flag'. GCC discards it without `$wl',
10158 # but is careful enough not to reorder.
10159 # Supported since Solaris 2.6 (maybe 2.5.1?)
10160 if test "$GCC" = yes; then
10161 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10163 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10167 link_all_deplibs
=yes
10171 if test "x$host_vendor" = xsequent
; then
10172 # Use $CC to link under sequent, because it throws in some extra .o
10173 # files that make .init and .fini sections work.
10174 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10176 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10178 hardcode_libdir_flag_spec
='-L$libdir'
10179 hardcode_direct
=yes
10180 hardcode_minus_L
=yes
10181 hardcode_shlibpath_var
=no
10185 case $host_vendor in
10187 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10188 hardcode_direct
=yes # is this really true???
10191 ## LD is ld it makes a PLAMLIB
10192 ## CC just makes a GrossModule.
10193 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10194 reload_cmds
='$CC -r -o $output$reload_objs'
10198 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10199 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10202 runpath_var
='LD_RUN_PATH'
10203 hardcode_shlibpath_var
=no
10207 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10208 hardcode_shlibpath_var
=no
10209 export_dynamic_flag_spec
='-Bexport'
10213 if test -d /usr
/nec
; then
10214 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10215 hardcode_shlibpath_var
=no
10216 runpath_var
=LD_RUN_PATH
10217 hardcode_runpath_var
=yes
10222 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10223 no_undefined_flag
='${wl}-z,text'
10224 archive_cmds_need_lc
=no
10225 hardcode_shlibpath_var
=no
10226 runpath_var
='LD_RUN_PATH'
10228 if test "$GCC" = yes; then
10229 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10230 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10232 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10233 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10237 sysv5
* | sco3.2v5
* | sco5v6
*)
10238 # Note: We can NOT use -z defs as we might desire, because we do not
10239 # link with -lc, and that would cause any symbols used from libc to
10240 # always be unresolved, which means just about no library would
10241 # ever link correctly. If we're not using GNU ld we use -z text
10242 # though, which does catch some bad symbols but isn't as heavy-handed
10244 no_undefined_flag
='${wl}-z,text'
10245 allow_undefined_flag
='${wl}-z,nodefs'
10246 archive_cmds_need_lc
=no
10247 hardcode_shlibpath_var
=no
10248 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10249 hardcode_libdir_separator
=':'
10250 link_all_deplibs
=yes
10251 export_dynamic_flag_spec
='${wl}-Bexport'
10252 runpath_var
='LD_RUN_PATH'
10254 if test "$GCC" = yes; then
10255 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10256 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10258 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10259 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10264 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10265 hardcode_libdir_flag_spec
='-L$libdir'
10266 hardcode_shlibpath_var
=no
10274 if test x
$host_vendor = xsni
; then
10276 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10277 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10284 $as_echo "$ld_shlibs" >&6; }
10285 test "$ld_shlibs" = no
&& can_build_shared
=no
10287 with_gnu_ld
=$with_gnu_ld
10304 # Do we need to explicitly link libc?
10306 case "x$archive_cmds_need_lc" in
10308 # Assume -lc should be added
10309 archive_cmds_need_lc
=yes
10311 if test "$enable_shared" = yes && test "$GCC" = yes; then
10312 case $archive_cmds in
10314 # FIXME: we may have to deal with multi-command sequences.
10317 # Test whether the compiler implicitly links with -lc since on some
10318 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10319 # to ld, don't add -lc before -lgcc.
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10321 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10322 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10323 $as_echo_n "(cached) " >&6
10326 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10328 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10329 (eval $ac_compile) 2>&5
10331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10332 test $ac_status = 0; } 2>conftest.err
; then
10335 libobjs
=conftest.
$ac_objext
10337 wl
=$lt_prog_compiler_wl
10338 pic_flag
=$lt_prog_compiler_pic
10344 lt_save_allow_undefined_flag
=$allow_undefined_flag
10345 allow_undefined_flag
=
10346 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10347 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10350 test $ac_status = 0; }
10352 lt_cv_archive_cmds_need_lc
=no
10354 lt_cv_archive_cmds_need_lc
=yes
10356 allow_undefined_flag
=$lt_save_allow_undefined_flag
10358 cat conftest.err
1>&5
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10364 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10365 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10529 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10531 if test "$GCC" = yes; then
10533 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10534 *) lt_awk_arg
="/^libraries:/" ;;
10537 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10538 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10540 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10541 case $lt_search_path_spec in
10543 # if the path contains ";" then we assume it to be the separator
10544 # otherwise default to the standard path separator (i.e. ":") - it is
10545 # assumed that no part of a normal pathname contains ";" but that should
10546 # okay in the real world where ";" in dirpaths is itself problematic.
10547 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10550 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10553 # Ok, now we have the path, separated by spaces, we can step through it
10554 # and add multilib dir if necessary.
10555 lt_tmp_lt_search_path_spec
=
10556 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10557 for lt_sys_path
in $lt_search_path_spec; do
10558 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10559 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10561 test -d "$lt_sys_path" && \
10562 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10565 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10566 BEGIN {RS=" "; FS="/|\n";} {
10569 for (lt_i = NF; lt_i > 0; lt_i--) {
10570 if ($lt_i != "" && $lt_i != ".") {
10571 if ($lt_i == "..") {
10574 if (lt_count == 0) {
10575 lt_foo="/" $lt_i lt_foo;
10582 if (lt_foo != "") { lt_freq[lt_foo]++; }
10583 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10585 # AWK program above erroneously prepends '/' to C:/dos/paths
10588 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10589 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10591 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10593 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10595 library_names_spec
=
10596 libname_spec
='lib$name'
10600 postuninstall_cmds
=
10604 shlibpath_overrides_runpath
=unknown
10606 dynamic_linker
="$host_os ld.so"
10607 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10608 need_lib_prefix
=unknown
10609 hardcode_into_libs
=no
10611 # when you set need_version to no, make sure it does not cause -set_version
10612 # flags to be left without arguments
10613 need_version
=unknown
10618 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10619 shlibpath_var
=LIBPATH
10621 # AIX 3 has no versioning support, so we append a major version to the name.
10622 soname_spec
='${libname}${release}${shared_ext}$major'
10629 hardcode_into_libs
=yes
10630 if test "$host_cpu" = ia64
; then
10631 # AIX 5 supports IA64
10632 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10633 shlibpath_var
=LD_LIBRARY_PATH
10635 # With GCC up to 2.95.x, collect2 would create an import file
10636 # for dependence libraries. The import file would start with
10637 # the line `#! .'. This would cause the generated library to
10638 # depend on `.', always an invalid library. This was fixed in
10639 # development snapshots of GCC prior to 3.0.
10641 aix4 | aix4.
[01] | aix4.
[01].
*)
10642 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10644 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10647 can_build_shared
=no
10651 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10652 # soname into executable. Probably we can add versioning support to
10653 # collect2, so additional links can be useful in future.
10654 if test "$aix_use_runtimelinking" = yes; then
10655 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10656 # instead of lib<name>.a to let people know that these are not
10657 # typical AIX shared libraries.
10658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10660 # We preserve .a as extension for shared libraries through AIX4.2
10661 # and later when we are not doing run time linking.
10662 library_names_spec
='${libname}${release}.a $libname.a'
10663 soname_spec
='${libname}${release}${shared_ext}$major'
10665 shlibpath_var
=LIBPATH
10672 # Since July 2007 AmigaOS4 officially supports .so libraries.
10673 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677 library_names_spec
='$libname.ixlibrary $libname.a'
10678 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10679 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'
10685 library_names_spec
='${libname}${shared_ext}'
10686 dynamic_linker
="$host_os ld.so"
10687 shlibpath_var
=LIBRARY_PATH
10693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694 soname_spec
='${libname}${release}${shared_ext}$major'
10695 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10696 shlibpath_var
=LD_LIBRARY_PATH
10697 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10698 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10699 # the default ld.so.conf also contains /usr/contrib/lib and
10700 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10701 # libtool to hard-code these into programs
10704 cygwin
* | mingw
* | pw32
* | cegcc
*)
10705 version_type
=windows
10710 case $GCC,$host_os in
10711 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10712 library_names_spec
='$libname.dll.a'
10713 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10714 postinstall_cmds
='base_file=`basename \${file}`~
10715 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10716 dldir=$destdir/`dirname \$dlpath`~
10717 test -d \$dldir || mkdir -p \$dldir~
10718 $install_prog $dir/$dlname \$dldir/$dlname~
10719 chmod a+x \$dldir/$dlname~
10720 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10721 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10723 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10724 dlpath=$dir/\$dldll~
10726 shlibpath_overrides_runpath
=yes
10730 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10731 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10733 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10736 # MinGW DLLs use traditional 'lib' prefix
10737 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10740 # pw32 DLLs use 'pw' prefix rather than 'lib'
10741 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10747 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10750 dynamic_linker
='Win32 ld.exe'
10751 # FIXME: first we should search . and the directory the executable is in
10755 darwin
* | rhapsody
*)
10756 dynamic_linker
="$host_os dyld"
10757 version_type
=darwin
10760 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10761 soname_spec
='${libname}${release}${major}$shared_ext'
10762 shlibpath_overrides_runpath
=yes
10763 shlibpath_var
=DYLD_LIBRARY_PATH
10764 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10766 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10767 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10775 soname_spec
='${libname}${release}${shared_ext}$major'
10776 shlibpath_var
=LD_LIBRARY_PATH
10779 freebsd
* | dragonfly
*)
10780 # DragonFly does not have aout. When/if they implement a new
10781 # versioning mechanism, adjust this.
10782 if test -x /usr
/bin
/objformat
; then
10783 objformat
=`/usr/bin/objformat`
10786 freebsd
[23].
*) objformat
=aout
;;
10787 *) objformat
=elf
;;
10790 version_type
=freebsd-
$objformat
10791 case $version_type in
10793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10798 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10802 shlibpath_var
=LD_LIBRARY_PATH
10805 shlibpath_overrides_runpath
=yes
10807 freebsd3.
[01]* | freebsdelf3.
[01]*)
10808 shlibpath_overrides_runpath
=yes
10809 hardcode_into_libs
=yes
10811 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10812 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10813 shlibpath_overrides_runpath
=no
10814 hardcode_into_libs
=yes
10816 *) # from 4.6 on, and DragonFly
10817 shlibpath_overrides_runpath
=yes
10818 hardcode_into_libs
=yes
10827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10828 soname_spec
='${libname}${release}${shared_ext}$major'
10829 shlibpath_var
=LD_LIBRARY_PATH
10830 hardcode_into_libs
=yes
10837 dynamic_linker
="$host_os runtime_loader"
10838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10839 soname_spec
='${libname}${release}${shared_ext}$major'
10840 shlibpath_var
=LIBRARY_PATH
10841 shlibpath_overrides_runpath
=yes
10842 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10843 hardcode_into_libs
=yes
10846 hpux9
* | hpux10
* | hpux11
*)
10847 # Give a soname corresponding to the major version so that dld.sl refuses to
10848 # link against other versions.
10855 hardcode_into_libs
=yes
10856 dynamic_linker
="$host_os dld.so"
10857 shlibpath_var
=LD_LIBRARY_PATH
10858 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10860 soname_spec
='${libname}${release}${shared_ext}$major'
10861 if test "X$HPUX_IA64_MODE" = X32
; then
10862 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10864 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10866 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10870 hardcode_into_libs
=yes
10871 dynamic_linker
="$host_os dld.sl"
10872 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10873 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10875 soname_spec
='${libname}${release}${shared_ext}$major'
10876 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10877 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10881 dynamic_linker
="$host_os dld.sl"
10882 shlibpath_var
=SHLIB_PATH
10883 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10885 soname_spec
='${libname}${release}${shared_ext}$major'
10888 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10889 postinstall_cmds
='chmod 555 $lib'
10890 # or fails outright, so override atomically:
10891 install_override_mode
=555
10898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10899 soname_spec
='${libname}${release}${shared_ext}$major'
10900 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10901 shlibpath_var
=LD_LIBRARY_PATH
10902 shlibpath_overrides_runpath
=no
10903 hardcode_into_libs
=yes
10906 irix5
* | irix6
* | nonstopux
*)
10908 nonstopux
*) version_type
=nonstopux
;;
10910 if test "$lt_cv_prog_gnu_ld" = yes; then
10918 soname_spec
='${libname}${release}${shared_ext}$major'
10919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10921 irix5
* | nonstopux
*)
10922 libsuff
= shlibsuff
=
10925 case $LD in # libtool.m4 will add one of these switches to LD
10926 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10927 libsuff
= shlibsuff
= libmagic
=32-bit;;
10928 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10929 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10930 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10931 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10932 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10936 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10937 shlibpath_overrides_runpath
=no
10938 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10939 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10940 hardcode_into_libs
=yes
10943 # No shared lib support for Linux oldld, aout, or coff.
10944 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10948 # This must be Linux ELF.
10950 # uclinux* changes (here and below) have been submitted to the libtool
10951 # project, but have not yet been accepted: they are GCC-local changes
10952 # for the time being. (See
10953 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10954 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10959 soname_spec
='${libname}${release}${shared_ext}$major'
10960 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10961 shlibpath_var
=LD_LIBRARY_PATH
10962 shlibpath_overrides_runpath
=no
10964 # Some binutils ld are patched to set DT_RUNPATH
10965 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10966 $as_echo_n "(cached) " >&6
10968 lt_cv_shlibpath_overrides_runpath
=no
10969 save_LDFLAGS
=$LDFLAGS
10970 save_libdir
=$libdir
10971 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10972 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10984 if ac_fn_c_try_link
"$LINENO"; then :
10985 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10986 lt_cv_shlibpath_overrides_runpath
=yes
10989 rm -f core conftest.err conftest.
$ac_objext \
10990 conftest
$ac_exeext conftest.
$ac_ext
10991 LDFLAGS
=$save_LDFLAGS
10992 libdir
=$save_libdir
10996 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10998 # This implies no fast_install, which is unacceptable.
10999 # Some rework will be needed to allow for fast_install
11000 # before this can be enabled.
11001 hardcode_into_libs
=yes
11003 # Append ld.so.conf contents to the search path
11004 if test -f /etc
/ld.so.conf
; then
11005 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' ' '`
11006 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11009 # We used to test for /lib/ld.so.1 and disable shared libraries on
11010 # powerpc, because MkLinux only supported shared libraries with the
11011 # GNU dynamic linker. Since this was broken with cross compilers,
11012 # most powerpc-linux boxes support dynamic linking these days and
11013 # people can always --disable-shared, the test was removed, and we
11014 # assume the GNU/Linux dynamic linker is in use.
11015 dynamic_linker
='GNU/Linux ld.so'
11022 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11024 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11025 dynamic_linker
='NetBSD (a.out) ld.so'
11027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11028 soname_spec
='${libname}${release}${shared_ext}$major'
11029 dynamic_linker
='NetBSD ld.elf_so'
11031 shlibpath_var
=LD_LIBRARY_PATH
11032 shlibpath_overrides_runpath
=yes
11033 hardcode_into_libs
=yes
11038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11039 shlibpath_var
=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath
=yes
11047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 soname_spec
='${libname}${release}${shared_ext}$major'
11049 shlibpath_var
=LD_LIBRARY_PATH
11050 shlibpath_overrides_runpath
=no
11051 hardcode_into_libs
=yes
11052 dynamic_linker
='ldqnx.so'
11057 sys_lib_dlsearch_path_spec
="/usr/lib"
11059 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11061 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11062 *) need_version
=no
;;
11064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11065 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11066 shlibpath_var
=LD_LIBRARY_PATH
11067 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11069 openbsd2.
[89] | openbsd2.
[89].
*)
11070 shlibpath_overrides_runpath
=no
11073 shlibpath_overrides_runpath
=yes
11077 shlibpath_overrides_runpath
=yes
11082 libname_spec
='$name'
11085 library_names_spec
='$libname${shared_ext} $libname.a'
11086 dynamic_linker
='OS/2 ld.exe'
11087 shlibpath_var
=LIBPATH
11090 osf3
* | osf4
* | osf5
*)
11094 soname_spec
='${libname}${release}${shared_ext}$major'
11095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11096 shlibpath_var
=LD_LIBRARY_PATH
11097 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11098 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11110 soname_spec
='${libname}${release}${shared_ext}$major'
11111 shlibpath_var
=LD_LIBRARY_PATH
11112 shlibpath_overrides_runpath
=yes
11113 hardcode_into_libs
=yes
11114 # ldd complains unless libraries are executable
11115 postinstall_cmds
='chmod +x $lib'
11120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11121 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11122 shlibpath_var
=LD_LIBRARY_PATH
11123 shlibpath_overrides_runpath
=yes
11124 if test "$with_gnu_ld" = yes; then
11132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11133 soname_spec
='${libname}${release}${shared_ext}$major'
11134 shlibpath_var
=LD_LIBRARY_PATH
11135 case $host_vendor in
11137 shlibpath_overrides_runpath
=no
11139 runpath_var
=LD_RUN_PATH
11147 shlibpath_overrides_runpath
=no
11148 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11154 if test -d /usr
/nec
;then
11156 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11157 soname_spec
='$libname${shared_ext}.$major'
11158 shlibpath_var
=LD_LIBRARY_PATH
11162 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11163 version_type
=freebsd-elf
11166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11167 soname_spec
='${libname}${release}${shared_ext}$major'
11168 shlibpath_var
=LD_LIBRARY_PATH
11169 shlibpath_overrides_runpath
=yes
11170 hardcode_into_libs
=yes
11171 if test "$with_gnu_ld" = yes; then
11172 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11174 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11177 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11181 sys_lib_dlsearch_path_spec
='/usr/lib'
11185 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11190 shlibpath_var
=LD_LIBRARY_PATH
11191 shlibpath_overrides_runpath
=no
11192 hardcode_into_libs
=yes
11197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11198 soname_spec
='${libname}${release}${shared_ext}$major'
11199 shlibpath_var
=LD_LIBRARY_PATH
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11207 $as_echo "$dynamic_linker" >&6; }
11208 test "$dynamic_linker" = no
&& can_build_shared
=no
11210 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11211 if test "$GCC" = yes; then
11212 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11215 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11216 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11218 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11219 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11314 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11316 if test -n "$hardcode_libdir_flag_spec" ||
11317 test -n "$runpath_var" ||
11318 test "X$hardcode_automatic" = "Xyes" ; then
11320 # We can hardcode non-existent directories.
11321 if test "$hardcode_direct" != no
&&
11322 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11323 # have to relink, otherwise we might link with an installed library
11324 # when we should be linking with a yet-to-be-installed one
11325 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11326 test "$hardcode_minus_L" != no
; then
11327 # Linking always hardcodes the temporary library directory.
11328 hardcode_action
=relink
11330 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11331 hardcode_action
=immediate
11334 # We cannot hardcode anything, or else we can only hardcode existing
11336 hardcode_action
=unsupported
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11339 $as_echo "$hardcode_action" >&6; }
11341 if test "$hardcode_action" = relink ||
11342 test "$inherit_rpath" = yes; then
11343 # Fast installation is not supported
11344 enable_fast_install
=no
11345 elif test "$shlibpath_overrides_runpath" = yes ||
11346 test "$enable_shared" = no
; then
11347 # Fast installation is not necessary
11348 enable_fast_install
=needless
11356 if test "x$enable_dlopen" != xyes
; then
11357 enable_dlopen
=unknown
11358 enable_dlopen_self
=unknown
11359 enable_dlopen_self_static
=unknown
11366 lt_cv_dlopen
="load_add_on"
11368 lt_cv_dlopen_self
=yes
11371 mingw
* | pw32
* | cegcc
*)
11372 lt_cv_dlopen
="LoadLibrary"
11377 lt_cv_dlopen
="dlopen"
11382 # if libdl is installed we need to link against it
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11384 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11385 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11386 $as_echo_n "(cached) " >&6
11388 ac_check_lib_save_LIBS
=$LIBS
11390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11408 if ac_fn_c_try_link
"$LINENO"; then :
11409 ac_cv_lib_dl_dlopen
=yes
11411 ac_cv_lib_dl_dlopen
=no
11413 rm -f core conftest.err conftest.
$ac_objext \
11414 conftest
$ac_exeext conftest.
$ac_ext
11415 LIBS
=$ac_check_lib_save_LIBS
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11418 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11419 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11420 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11423 lt_cv_dlopen
="dyld"
11425 lt_cv_dlopen_self
=yes
11432 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11433 if test "x$ac_cv_func_shl_load" = xyes
; then :
11434 lt_cv_dlopen
="shl_load"
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11437 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11438 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11439 $as_echo_n "(cached) " >&6
11441 ac_check_lib_save_LIBS
=$LIBS
11443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11446 /* Override any GCC internal prototype to avoid an error.
11447 Use char because int might match the return type of a GCC
11448 builtin and then its argument prototype would still apply. */
11456 return shl_load ();
11461 if ac_fn_c_try_link
"$LINENO"; then :
11462 ac_cv_lib_dld_shl_load
=yes
11464 ac_cv_lib_dld_shl_load
=no
11466 rm -f core conftest.err conftest.
$ac_objext \
11467 conftest
$ac_exeext conftest.
$ac_ext
11468 LIBS
=$ac_check_lib_save_LIBS
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11471 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11472 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11473 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11475 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11476 if test "x$ac_cv_func_dlopen" = xyes
; then :
11477 lt_cv_dlopen
="dlopen"
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11480 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11481 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11482 $as_echo_n "(cached) " >&6
11484 ac_check_lib_save_LIBS
=$LIBS
11486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11504 if ac_fn_c_try_link
"$LINENO"; then :
11505 ac_cv_lib_dl_dlopen
=yes
11507 ac_cv_lib_dl_dlopen
=no
11509 rm -f core conftest.err conftest.
$ac_objext \
11510 conftest
$ac_exeext conftest.
$ac_ext
11511 LIBS
=$ac_check_lib_save_LIBS
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11514 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11515 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11516 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11519 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11520 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11521 $as_echo_n "(cached) " >&6
11523 ac_check_lib_save_LIBS
=$LIBS
11524 LIBS
="-lsvld $LIBS"
11525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11526 /* end confdefs.h. */
11528 /* Override any GCC internal prototype to avoid an error.
11529 Use char because int might match the return type of a GCC
11530 builtin and then its argument prototype would still apply. */
11543 if ac_fn_c_try_link
"$LINENO"; then :
11544 ac_cv_lib_svld_dlopen
=yes
11546 ac_cv_lib_svld_dlopen
=no
11548 rm -f core conftest.err conftest.
$ac_objext \
11549 conftest
$ac_exeext conftest.
$ac_ext
11550 LIBS
=$ac_check_lib_save_LIBS
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11553 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11554 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11555 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11558 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11559 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11560 $as_echo_n "(cached) " >&6
11562 ac_check_lib_save_LIBS
=$LIBS
11564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11565 /* end confdefs.h. */
11567 /* Override any GCC internal prototype to avoid an error.
11568 Use char because int might match the return type of a GCC
11569 builtin and then its argument prototype would still apply. */
11577 return dld_link ();
11582 if ac_fn_c_try_link
"$LINENO"; then :
11583 ac_cv_lib_dld_dld_link
=yes
11585 ac_cv_lib_dld_dld_link
=no
11587 rm -f core conftest.err conftest.
$ac_objext \
11588 conftest
$ac_exeext conftest.
$ac_ext
11589 LIBS
=$ac_check_lib_save_LIBS
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11592 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11593 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11594 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11615 if test "x$lt_cv_dlopen" != xno
; then
11621 case $lt_cv_dlopen in
11623 save_CPPFLAGS
="$CPPFLAGS"
11624 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11626 save_LDFLAGS
="$LDFLAGS"
11627 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11630 LIBS
="$lt_cv_dlopen_libs $LIBS"
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11633 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11634 if ${lt_cv_dlopen_self+:} false
; then :
11635 $as_echo_n "(cached) " >&6
11637 if test "$cross_compiling" = yes; then :
11638 lt_cv_dlopen_self
=cross
11640 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11641 lt_status
=$lt_dlunknown
11642 cat > conftest.
$ac_ext <<_LT_EOF
11643 #line 11643 "configure"
11644 #include "confdefs.h"
11653 # define LT_DLGLOBAL RTLD_GLOBAL
11656 # define LT_DLGLOBAL DL_GLOBAL
11658 # define LT_DLGLOBAL 0
11662 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11663 find out it does not work in some platform. */
11664 #ifndef LT_DLLAZY_OR_NOW
11666 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11669 # define LT_DLLAZY_OR_NOW DL_LAZY
11672 # define LT_DLLAZY_OR_NOW RTLD_NOW
11675 # define LT_DLLAZY_OR_NOW DL_NOW
11677 # define LT_DLLAZY_OR_NOW 0
11684 /* When -fvisbility=hidden is used, assume the code has been annotated
11685 correspondingly for the symbols needed. */
11686 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11687 void fnord () __attribute__((visibility("default")));
11690 void fnord () { int i=42; }
11693 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11694 int status = $lt_dlunknown;
11698 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11701 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11702 else puts (dlerror ());
11704 /* dlclose (self); */
11712 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11713 (eval $ac_link) 2>&5
11715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11716 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11717 (.
/conftest
; exit; ) >&5 2>/dev
/null
11719 case x
$lt_status in
11720 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11721 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11722 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11725 # compilation failed
11726 lt_cv_dlopen_self
=no
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11734 $as_echo "$lt_cv_dlopen_self" >&6; }
11736 if test "x$lt_cv_dlopen_self" = xyes
; then
11737 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11739 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11740 if ${lt_cv_dlopen_self_static+:} false
; then :
11741 $as_echo_n "(cached) " >&6
11743 if test "$cross_compiling" = yes; then :
11744 lt_cv_dlopen_self_static
=cross
11746 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11747 lt_status
=$lt_dlunknown
11748 cat > conftest.
$ac_ext <<_LT_EOF
11749 #line 11749 "configure"
11750 #include "confdefs.h"
11759 # define LT_DLGLOBAL RTLD_GLOBAL
11762 # define LT_DLGLOBAL DL_GLOBAL
11764 # define LT_DLGLOBAL 0
11768 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11769 find out it does not work in some platform. */
11770 #ifndef LT_DLLAZY_OR_NOW
11772 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11775 # define LT_DLLAZY_OR_NOW DL_LAZY
11778 # define LT_DLLAZY_OR_NOW RTLD_NOW
11781 # define LT_DLLAZY_OR_NOW DL_NOW
11783 # define LT_DLLAZY_OR_NOW 0
11790 /* When -fvisbility=hidden is used, assume the code has been annotated
11791 correspondingly for the symbols needed. */
11792 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11793 void fnord () __attribute__((visibility("default")));
11796 void fnord () { int i=42; }
11799 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11800 int status = $lt_dlunknown;
11804 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11807 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11808 else puts (dlerror ());
11810 /* dlclose (self); */
11818 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11819 (eval $ac_link) 2>&5
11821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11822 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11823 (.
/conftest
; exit; ) >&5 2>/dev
/null
11825 case x
$lt_status in
11826 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11827 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11828 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11831 # compilation failed
11832 lt_cv_dlopen_self_static
=no
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11840 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11843 CPPFLAGS
="$save_CPPFLAGS"
11844 LDFLAGS
="$save_LDFLAGS"
11849 case $lt_cv_dlopen_self in
11850 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11851 *) enable_dlopen_self
=unknown
;;
11854 case $lt_cv_dlopen_self_static in
11855 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11856 *) enable_dlopen_self_static
=unknown
;;
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11879 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11880 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11881 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11882 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11884 $as_echo "yes" >&6; }
11886 # FIXME - insert some real tests, host_os isn't really good enough
11889 if test -n "$STRIP" ; then
11890 striplib
="$STRIP -x"
11891 old_striplib
="$STRIP -S"
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11893 $as_echo "yes" >&6; }
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11896 $as_echo "no" >&6; }
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11901 $as_echo "no" >&6; }
11917 # Report which library types will actually be built
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11919 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11921 $as_echo "$can_build_shared" >&6; }
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11924 $as_echo_n "checking whether to build shared libraries... " >&6; }
11925 test "$can_build_shared" = "no" && enable_shared
=no
11927 # On AIX, shared libraries and static libraries use the same namespace, and
11928 # are all built from PIC.
11931 test "$enable_shared" = yes && enable_static
=no
11932 if test -n "$RANLIB"; then
11933 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11934 postinstall_cmds
='$RANLIB $lib'
11939 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11940 test "$enable_shared" = yes && enable_static
=no
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11945 $as_echo "$enable_shared" >&6; }
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11948 $as_echo_n "checking whether to build static libraries... " >&6; }
11949 # Make sure either enable_shared or enable_static is yes.
11950 test "$enable_shared" = yes || enable_static
=yes
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11952 $as_echo "$enable_static" >&6; }
11959 ac_cpp
='$CPP $CPPFLAGS'
11960 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11961 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11962 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11978 ac_config_commands
="$ac_config_commands libtool"
11983 # Only expand once:
11989 gdc_save_DFLAGS
=$GDCFLAGS
11990 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime $GDCFLAGS"
11993 # Source file extension for D test sources.
11996 # Object file extension for compiled D test sources.
12000 # Code to be used in simple compile tests
12001 lt_simple_compile_test_code
="\
12003 shared int some_variable = 0;
12006 # Code to be used in simple link tests
12007 lt_simple_link_test_code
="\
12009 extern(C) int main() { return 0; }
12012 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12019 # If no C compiler was specified, use CC.
12022 # If no C compiler flags were specified, use CFLAGS.
12023 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12025 # Allow CC to be a program name with arguments.
12029 # save warnings/boilerplate of simple test code
12030 ac_outfile
=conftest.
$ac_objext
12031 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12032 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12033 _lt_compiler_boilerplate
=`cat conftest.err`
12036 ac_outfile
=conftest.
$ac_objext
12037 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12038 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12039 _lt_linker_boilerplate
=`cat conftest.err`
12043 # Allow CC to be a program name with arguments.
12045 lt_save_CFLAGS
=$CFLAGS
12053 for cc_temp
in $compiler""; do
12055 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12056 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12061 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12064 # GDC did not exist at the time GCC didn't implicitly link libc in.
12065 archive_cmds_need_lc_D
=no
12067 old_archive_cmds_D
=$old_archive_cmds
12068 reload_flag_D
=$reload_flag
12069 reload_cmds_D
=$reload_cmds
12072 ## There is no encapsulation within the following macros, do not change
12073 ## the running order or otherwise move them around unless you know exactly
12074 ## what you are doing...
12075 if test -n "$compiler"; then
12077 lt_prog_compiler_no_builtin_flag_D
=
12079 if test "$GCC" = yes; then
12080 case $cc_basename in
12082 lt_prog_compiler_no_builtin_flag_D
=' -Xcompiler -fno-builtin' ;;
12084 lt_prog_compiler_no_builtin_flag_D
=' -fno-builtin' ;;
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12088 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
12089 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
12090 $as_echo_n "(cached) " >&6
12092 lt_cv_prog_compiler_rtti_exceptions
=no
12093 ac_outfile
=conftest.
$ac_objext
12094 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12095 lt_compiler_flag
="-fno-rtti -fno-exceptions"
12096 # Insert the option either (1) after the last *FLAGS variable, or
12097 # (2) before a word containing "conftest.", or (3) at the end.
12098 # Note that $ac_compile itself does not contain backslashes and begins
12099 # with a dollar sign (not a hyphen), so the echo should work correctly.
12100 # The option is referenced via a variable to avoid confusing sed.
12101 lt_compile
=`echo "$ac_compile" | $SED \
12102 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12104 -e 's:$: $lt_compiler_flag:'`
12105 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12106 (eval "$lt_compile" 2>conftest.err
)
12108 cat conftest.err
>&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 if (exit $ac_status) && test -s "$ac_outfile"; then
12111 # The compiler can only warn and ignore the option if not recognized
12112 # So say no if there are warnings other than the usual output.
12113 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12114 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12115 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12116 lt_cv_prog_compiler_rtti_exceptions
=yes
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12123 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12125 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
12126 lt_prog_compiler_no_builtin_flag_D
="$lt_prog_compiler_no_builtin_flag_D -fno-rtti -fno-exceptions"
12135 lt_prog_compiler_wl_D
=
12136 lt_prog_compiler_pic_D
=
12137 lt_prog_compiler_static_D
=
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12140 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12142 if test "$GCC" = yes; then
12143 lt_prog_compiler_wl_D
='-Wl,'
12144 lt_prog_compiler_static_D
='-static'
12148 # All AIX code is PIC.
12149 if test "$host_cpu" = ia64
; then
12150 # AIX 5 now supports IA64 processor
12151 lt_prog_compiler_static_D
='-Bstatic'
12153 lt_prog_compiler_pic_D
='-fPIC'
12159 # see comment about AmigaOS4 .so support
12160 lt_prog_compiler_pic_D
='-fPIC'
12163 # FIXME: we need at least 68020 code to build shared libraries, but
12164 # adding the `-m68020' flag to GCC prevents building anything better,
12166 lt_prog_compiler_pic_D
='-m68020 -resident32 -malways-restore-a4'
12171 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12172 # PIC is the default for these OSes.
12175 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12176 # This hack is so that the source file can tell whether it is being
12177 # built for inclusion in a dll (and should export symbols for example).
12178 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12179 # (--disable-auto-import) libraries
12180 lt_prog_compiler_pic_D
='-DDLL_EXPORT'
12183 darwin
* | rhapsody
*)
12184 # PIC is the default on this platform
12185 # Common symbols not allowed in MH_DYLIB files
12186 lt_prog_compiler_pic_D
='-fno-common'
12190 # PIC is the default for Haiku.
12191 # The "-static" flag exists, but is broken.
12192 lt_prog_compiler_static_D
=
12196 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12197 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12198 # sets the default TLS model and affects inlining.
12204 lt_prog_compiler_pic_D
='-fPIC'
12210 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12211 # Instead, we relocate shared libraries at runtime.
12215 # Just because we use GCC doesn't mean we suddenly get shared libraries
12216 # on systems that don't support them.
12217 lt_prog_compiler_can_build_shared_D
=no
12222 # QNX uses GNU C++, but need to define -shared option too, otherwise
12223 # it will coredump.
12224 lt_prog_compiler_pic_D
='-fPIC -shared'
12228 if test -d /usr
/nec
; then
12229 lt_prog_compiler_pic_D
=-Kconform_pic
12234 lt_prog_compiler_pic_D
='-fPIC'
12238 case $cc_basename in
12239 nvcc
*) # Cuda Compiler Driver 2.2
12240 lt_prog_compiler_wl_D
='-Xlinker '
12241 lt_prog_compiler_pic_D
='-Xcompiler -fPIC'
12245 # PORTME Check for flag to pass linker flags through the system compiler.
12248 lt_prog_compiler_wl_D
='-Wl,'
12249 if test "$host_cpu" = ia64
; then
12250 # AIX 5 now supports IA64 processor
12251 lt_prog_compiler_static_D
='-Bstatic'
12253 lt_prog_compiler_static_D
='-bnso -bI:/lib/syscalls.exp'
12257 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12258 # This hack is so that the source file can tell whether it is being
12259 # built for inclusion in a dll (and should export symbols for example).
12260 lt_prog_compiler_pic_D
='-DDLL_EXPORT'
12263 hpux9
* | hpux10
* | hpux11
*)
12264 lt_prog_compiler_wl_D
='-Wl,'
12265 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12266 # not for PA HP-UX.
12272 lt_prog_compiler_pic_D
='+Z'
12275 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12276 lt_prog_compiler_static_D
='${wl}-a ${wl}archive'
12279 irix5
* | irix6
* | nonstopux
*)
12280 lt_prog_compiler_wl_D
='-Wl,'
12281 # PIC (with -KPIC) is the default.
12282 lt_prog_compiler_static_D
='-non_shared'
12285 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12286 case $cc_basename in
12287 # old Intel for x86_64 which still supported -KPIC.
12289 lt_prog_compiler_wl_D
='-Wl,'
12290 lt_prog_compiler_pic_D
='-KPIC'
12291 lt_prog_compiler_static_D
='-static'
12293 # icc used to be incompatible with GCC.
12294 # ICC 10 doesn't accept -KPIC any more.
12296 lt_prog_compiler_wl_D
='-Wl,'
12297 lt_prog_compiler_pic_D
='-fPIC'
12298 lt_prog_compiler_static_D
='-static'
12300 # Lahey Fortran 8.1.
12302 lt_prog_compiler_wl_D
='-Wl,'
12303 lt_prog_compiler_pic_D
='--shared'
12304 lt_prog_compiler_static_D
='--static'
12306 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12307 # Portland Group compilers (*not* the Pentium gcc compiler,
12308 # which looks to be a dead project)
12309 lt_prog_compiler_wl_D
='-Wl,'
12310 lt_prog_compiler_pic_D
='-fpic'
12311 lt_prog_compiler_static_D
='-Bstatic'
12314 lt_prog_compiler_wl_D
='-Wl,'
12315 # All Alpha code is PIC.
12316 lt_prog_compiler_static_D
='-non_shared'
12318 xl
* | bgxl
* | bgf
* | mpixl
*)
12319 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12320 lt_prog_compiler_wl_D
='-Wl,'
12321 lt_prog_compiler_pic_D
='-qpic'
12322 lt_prog_compiler_static_D
='-qstaticlink'
12325 case `$CC -V 2>&1 | sed 5q` in
12326 *Sun\ F
* |
*Sun
*Fortran
*)
12327 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12328 lt_prog_compiler_pic_D
='-KPIC'
12329 lt_prog_compiler_static_D
='-Bstatic'
12330 lt_prog_compiler_wl_D
=''
12334 lt_prog_compiler_pic_D
='-KPIC'
12335 lt_prog_compiler_static_D
='-Bstatic'
12336 lt_prog_compiler_wl_D
='-Wl,'
12344 lt_prog_compiler_pic_D
='-KPIC'
12345 lt_prog_compiler_static_D
='-Bstatic'
12349 # QNX uses GNU C++, but need to define -shared option too, otherwise
12350 # it will coredump.
12351 lt_prog_compiler_pic_D
='-fPIC -shared'
12354 osf3
* | osf4
* | osf5
*)
12355 lt_prog_compiler_wl_D
='-Wl,'
12356 # All OSF/1 code is PIC.
12357 lt_prog_compiler_static_D
='-non_shared'
12361 lt_prog_compiler_static_D
='-non_shared'
12365 lt_prog_compiler_pic_D
='-KPIC'
12366 lt_prog_compiler_static_D
='-Bstatic'
12367 case $cc_basename in
12368 f77
* | f90
* | f95
*)
12369 lt_prog_compiler_wl_D
='-Qoption ld ';;
12371 lt_prog_compiler_wl_D
='-Wl,';;
12376 lt_prog_compiler_wl_D
='-Qoption ld '
12377 lt_prog_compiler_pic_D
='-PIC'
12378 lt_prog_compiler_static_D
='-Bstatic'
12381 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12382 lt_prog_compiler_wl_D
='-Wl,'
12383 lt_prog_compiler_pic_D
='-KPIC'
12384 lt_prog_compiler_static_D
='-Bstatic'
12388 if test -d /usr
/nec
;then
12389 lt_prog_compiler_pic_D
='-Kconform_pic'
12390 lt_prog_compiler_static_D
='-Bstatic'
12394 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12395 lt_prog_compiler_wl_D
='-Wl,'
12396 lt_prog_compiler_pic_D
='-KPIC'
12397 lt_prog_compiler_static_D
='-Bstatic'
12401 lt_prog_compiler_wl_D
='-Wl,'
12402 lt_prog_compiler_can_build_shared_D
=no
12406 lt_prog_compiler_pic_D
='-pic'
12407 lt_prog_compiler_static_D
='-Bstatic'
12411 lt_prog_compiler_can_build_shared_D
=no
12417 # For platforms which do not support PIC, -DPIC is meaningless:
12419 lt_prog_compiler_pic_D
=
12422 lt_prog_compiler_pic_D
="$lt_prog_compiler_pic_D"
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_D" >&5
12426 $as_echo "$lt_prog_compiler_pic_D" >&6; }
12431 # Check to make sure the PIC flag actually works.
12433 if test -n "$lt_prog_compiler_pic_D"; then
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_D works" >&5
12435 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_D works... " >&6; }
12436 if ${lt_cv_prog_compiler_pic_works_D+:} false
; then :
12437 $as_echo_n "(cached) " >&6
12439 lt_cv_prog_compiler_pic_works_D
=no
12440 ac_outfile
=conftest.
$ac_objext
12441 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12442 lt_compiler_flag
="$lt_prog_compiler_pic_D"
12443 # Insert the option either (1) after the last *FLAGS variable, or
12444 # (2) before a word containing "conftest.", or (3) at the end.
12445 # Note that $ac_compile itself does not contain backslashes and begins
12446 # with a dollar sign (not a hyphen), so the echo should work correctly.
12447 # The option is referenced via a variable to avoid confusing sed.
12448 lt_compile
=`echo "$ac_compile" | $SED \
12449 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12450 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12451 -e 's:$: $lt_compiler_flag:'`
12452 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12453 (eval "$lt_compile" 2>conftest.err
)
12455 cat conftest.err
>&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 if (exit $ac_status) && test -s "$ac_outfile"; then
12458 # The compiler can only warn and ignore the option if not recognized
12459 # So say no if there are warnings other than the usual output.
12460 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12461 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12462 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12463 lt_cv_prog_compiler_pic_works_D
=yes
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_D" >&5
12470 $as_echo "$lt_cv_prog_compiler_pic_works_D" >&6; }
12472 if test x
"$lt_cv_prog_compiler_pic_works_D" = xyes
; then
12473 case $lt_prog_compiler_pic_D in
12475 *) lt_prog_compiler_pic_D
=" $lt_prog_compiler_pic_D" ;;
12478 lt_prog_compiler_pic_D
=
12479 lt_prog_compiler_can_build_shared_D
=no
12487 # Check to make sure the static flag actually works.
12489 wl
=$lt_prog_compiler_wl_D eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_D\"
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12491 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12492 if ${lt_cv_prog_compiler_static_works_D+:} false
; then :
12493 $as_echo_n "(cached) " >&6
12495 lt_cv_prog_compiler_static_works_D
=no
12496 save_LDFLAGS
="$LDFLAGS"
12497 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12498 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12499 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12500 # The linker can only warn and ignore the option if not recognized
12501 # So say no if there are warnings
12502 if test -s conftest.err
; then
12503 # Append any errors to the config.log.
12504 cat conftest.err
1>&5
12505 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12506 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12507 if diff conftest.exp conftest.er2
>/dev
/null
; then
12508 lt_cv_prog_compiler_static_works_D
=yes
12511 lt_cv_prog_compiler_static_works_D
=yes
12515 LDFLAGS
="$save_LDFLAGS"
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_D" >&5
12519 $as_echo "$lt_cv_prog_compiler_static_works_D" >&6; }
12521 if test x
"$lt_cv_prog_compiler_static_works_D" = xyes
; then
12524 lt_prog_compiler_static_D
=
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12531 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12532 if ${lt_cv_prog_compiler_c_o_D+:} false
; then :
12533 $as_echo_n "(cached) " >&6
12535 lt_cv_prog_compiler_c_o_D
=no
12536 $RM -r conftest
2>/dev
/null
12540 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12542 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12543 # Insert the option either (1) after the last *FLAGS variable, or
12544 # (2) before a word containing "conftest.", or (3) at the end.
12545 # Note that $ac_compile itself does not contain backslashes and begins
12546 # with a dollar sign (not a hyphen), so the echo should work correctly.
12547 lt_compile
=`echo "$ac_compile" | $SED \
12548 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12549 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12550 -e 's:$: $lt_compiler_flag:'`
12551 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12552 (eval "$lt_compile" 2>out
/conftest.err
)
12554 cat out
/conftest.err
>&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12558 # The compiler can only warn and ignore the option if not recognized
12559 # So say no if there are warnings
12560 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12561 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12562 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12563 lt_cv_prog_compiler_c_o_D
=yes
12568 # SGI C++ compiler will create directory out/ii_files/ for
12569 # template instantiation
12570 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12571 $RM out
/* && rmdir out
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_D" >&5
12578 $as_echo "$lt_cv_prog_compiler_c_o_D" >&6; }
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12583 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12584 if ${lt_cv_prog_compiler_c_o_D+:} false
; then :
12585 $as_echo_n "(cached) " >&6
12587 lt_cv_prog_compiler_c_o_D
=no
12588 $RM -r conftest
2>/dev
/null
12592 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12594 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12595 # Insert the option either (1) after the last *FLAGS variable, or
12596 # (2) before a word containing "conftest.", or (3) at the end.
12597 # Note that $ac_compile itself does not contain backslashes and begins
12598 # with a dollar sign (not a hyphen), so the echo should work correctly.
12599 lt_compile
=`echo "$ac_compile" | $SED \
12600 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12601 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12602 -e 's:$: $lt_compiler_flag:'`
12603 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12604 (eval "$lt_compile" 2>out
/conftest.err
)
12606 cat out
/conftest.err
>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12610 # The compiler can only warn and ignore the option if not recognized
12611 # So say no if there are warnings
12612 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12613 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12614 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12615 lt_cv_prog_compiler_c_o_D
=yes
12620 # SGI C++ compiler will create directory out/ii_files/ for
12621 # template instantiation
12622 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12623 $RM out
/* && rmdir out
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_D" >&5
12630 $as_echo "$lt_cv_prog_compiler_c_o_D" >&6; }
12635 hard_links
="nottested"
12636 if test "$lt_cv_prog_compiler_c_o_D" = no
&& test "$need_locks" != no
; then
12637 # do not overwrite the value of need_locks provided by the user
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12639 $as_echo_n "checking if we can lock with hard links... " >&6; }
12642 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12644 ln conftest.a conftest.b
2>&5 || hard_links
=no
12645 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12647 $as_echo "$hard_links" >&6; }
12648 if test "$hard_links" = no
; then
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12650 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12660 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12663 allow_undefined_flag_D
=
12664 always_export_symbols_D
=no
12666 archive_expsym_cmds_D
=
12667 compiler_needs_object_D
=no
12668 enable_shared_with_static_runtimes_D
=no
12669 export_dynamic_flag_spec_D
=
12670 export_symbols_cmds_D
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12671 hardcode_automatic_D
=no
12672 hardcode_direct_D
=no
12673 hardcode_direct_absolute_D
=no
12674 hardcode_libdir_flag_spec_D
=
12675 hardcode_libdir_flag_spec_ld_D
=
12676 hardcode_libdir_separator_D
=
12677 hardcode_minus_L_D
=no
12678 hardcode_shlibpath_var_D
=unsupported
12680 link_all_deplibs_D
=unknown
12682 module_expsym_cmds_D
=
12683 old_archive_from_new_cmds_D
=
12684 old_archive_from_expsyms_cmds_D
=
12685 thread_safe_flag_spec_D
=
12686 whole_archive_flag_spec_D
=
12687 # include_expsyms should be a list of space-separated symbols to be *always*
12688 # included in the symbol list
12690 # exclude_expsyms can be an extended regexp of symbols to exclude
12691 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12692 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12693 # as well as any symbol that contains `d'.
12694 exclude_expsyms_D
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12695 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12696 # platforms (ab)use it in PIC code, but their linkers get confused if
12697 # the symbol is explicitly referenced. Since portable code cannot
12698 # rely on this symbol name, it's probably fine to never include it in
12699 # preloaded symbol tables.
12700 # Exclude shared library initialization/finalization symbols.
12701 extract_expsyms_cmds
=
12704 cygwin
* | mingw
* | pw32
* | cegcc
*)
12705 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12706 # When not using gcc, we currently assume that we are using
12707 # Microsoft Visual C++.
12708 if test "$GCC" != yes; then
12713 # we just hope/assume this is gcc and not c89 (= MSVC++)
12723 # On some targets, GNU ld is compatible enough with the native linker
12724 # that we're better off using the native interface for both.
12725 lt_use_gnu_ld_interface
=no
12726 if test "$with_gnu_ld" = yes; then
12729 # The AIX port of GNU ld has always aspired to compatibility
12730 # with the native linker. However, as the warning in the GNU ld
12731 # block says, versions before 2.19.5* couldn't really create working
12732 # shared libraries, regardless of the interface used.
12733 case `$LD -v 2>&1` in
12734 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12735 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12736 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12738 lt_use_gnu_ld_interface
=yes
12743 lt_use_gnu_ld_interface
=yes
12748 if test "$lt_use_gnu_ld_interface" = yes; then
12749 # If archive_cmds runs LD, not CC, wlarc should be empty
12752 # Set some defaults for GNU ld with shared library support. These
12753 # are reset later if shared libraries are not supported. Putting them
12754 # here allows them to be overridden if necessary.
12755 runpath_var
=LD_RUN_PATH
12756 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
12757 export_dynamic_flag_spec_D
='${wl}--export-dynamic'
12758 # ancient GNU ld didn't support --whole-archive et. al.
12759 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12760 whole_archive_flag_spec_D
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12762 whole_archive_flag_spec_D
=
12764 supports_anon_versioning
=no
12765 case `$LD -v 2>&1` in
12766 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12767 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12768 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12769 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12770 *\
2.11.
*) ;; # other 2.11 versions
12771 *) supports_anon_versioning
=yes ;;
12774 # See if GNU ld supports shared libraries.
12777 # On AIX/PPC, the GNU linker is very broken
12778 if test "$host_cpu" != ia64
; then
12782 *** Warning: the GNU linker, at least up to release 2.19, is reported
12783 *** to be unable to reliably create shared libraries on AIX.
12784 *** Therefore, libtool is disabling shared libraries support. If you
12785 *** really care for shared libraries, you may want to install binutils
12786 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12787 *** You will then need to restart the configuration process.
12796 # see comment about AmigaOS4 .so support
12797 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12798 archive_expsym_cmds_D
=''
12801 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)'
12802 hardcode_libdir_flag_spec_D
='-L$libdir'
12803 hardcode_minus_L_D
=yes
12809 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12810 allow_undefined_flag_D
=unsupported
12811 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12812 # support --undefined. This deserves some investigation. FIXME
12813 archive_cmds_D
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12819 cygwin
* | mingw
* | pw32
* | cegcc
*)
12820 # _LT_TAGVAR(hardcode_libdir_flag_spec, D) is actually meaningless,
12821 # as there is no search path for DLLs.
12822 hardcode_libdir_flag_spec_D
='-L$libdir'
12823 export_dynamic_flag_spec_D
='${wl}--export-all-symbols'
12824 allow_undefined_flag_D
=unsupported
12825 always_export_symbols_D
=no
12826 enable_shared_with_static_runtimes_D
=yes
12827 export_symbols_cmds_D
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12829 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12830 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12831 # If the export-symbols file already is a .def file (1st line
12832 # is EXPORTS), use it as is; otherwise, prepend...
12833 archive_expsym_cmds_D
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12834 cp $export_symbols $output_objdir/$soname.def;
12836 echo EXPORTS > $output_objdir/$soname.def;
12837 cat $export_symbols >> $output_objdir/$soname.def;
12839 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12846 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12847 link_all_deplibs_D
=yes
12851 hardcode_direct_D
=no
12852 hardcode_shlibpath_var_D
=no
12853 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
12854 export_dynamic_flag_spec_D
='${wl}-E'
12855 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12856 # Instead, shared libraries are loaded at an image base (0x10000000 by
12857 # default) and relocated if they conflict, which is a slow very memory
12858 # consuming and fragmenting process. To avoid this, we pick a random,
12859 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12860 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12861 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'
12862 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'
12865 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
12867 if test "$host_os" = linux-dietlibc
; then
12868 case $cc_basename in
12869 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12872 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12873 && test "$tmp_diet" = no
12875 tmp_addflag
=' $pic_flag'
12876 tmp_sharedflag
='-shared'
12877 case $cc_basename,$host_cpu in
12878 pgcc
*) # Portland Group C compiler
12879 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'
12880 tmp_addflag
=' $pic_flag'
12882 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12883 # Portland Group f77 and f90 compilers
12884 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'
12885 tmp_addflag
=' $pic_flag -Mnomain' ;;
12886 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12887 tmp_addflag
=' -i_dynamic' ;;
12888 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12889 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12890 ifc
* | ifort
*) # Intel Fortran compiler
12891 tmp_addflag
=' -nofor_main' ;;
12892 lf95
*) # Lahey Fortran 8.1
12893 whole_archive_flag_spec_D
=
12894 tmp_sharedflag
='--shared' ;;
12895 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12896 tmp_sharedflag
='-qmkshrobj'
12898 nvcc
*) # Cuda Compiler Driver 2.2
12899 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'
12900 compiler_needs_object_D
=yes
12903 case `$CC -V 2>&1 | sed 5q` in
12904 *Sun\ C
*) # Sun C 5.9
12905 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'
12906 compiler_needs_object_D
=yes
12907 tmp_sharedflag
='-G' ;;
12908 *Sun\ F
*) # Sun Fortran 8.3
12909 tmp_sharedflag
='-G' ;;
12911 archive_cmds_D
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12913 if test "x$supports_anon_versioning" = xyes
; then
12914 archive_expsym_cmds_D
='echo "{ global:" > $output_objdir/$libname.ver~
12915 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12916 echo "local: *; };" >> $output_objdir/$libname.ver~
12917 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12920 case $cc_basename in
12921 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12922 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12923 whole_archive_flag_spec_D
='--whole-archive$convenience --no-whole-archive'
12924 hardcode_libdir_flag_spec_D
=
12925 hardcode_libdir_flag_spec_ld_D
='-rpath $libdir'
12926 archive_cmds_D
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12927 if test "x$supports_anon_versioning" = xyes
; then
12928 archive_expsym_cmds_D
='echo "{ global:" > $output_objdir/$libname.ver~
12929 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12930 echo "local: *; };" >> $output_objdir/$libname.ver~
12931 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12941 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12942 archive_cmds_D
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12945 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12946 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12951 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12955 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12956 *** create shared libraries on Solaris systems. Therefore, libtool
12957 *** is disabling shared libraries support. We urge you to upgrade GNU
12958 *** binutils to release 2.9.1 or newer. Another option is to modify
12959 *** your PATH or compiler configuration so that the native linker is
12960 *** used, and then restart.
12963 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12964 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12965 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12971 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12972 case `$LD -v 2>&1` in
12973 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12977 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12978 *** reliably create shared libraries on SCO systems. Therefore, libtool
12979 *** is disabling shared libraries support. We urge you to upgrade GNU
12980 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12981 *** your PATH or compiler configuration so that the native linker is
12982 *** used, and then restart.
12987 # For security reasons, it is highly recommended that you always
12988 # use absolute paths for naming shared libraries, and exclude the
12989 # DT_RUNPATH tag from executables and libraries. But doing so
12990 # requires that you compile everything twice, which is a pain.
12991 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12992 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
12993 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12994 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13003 archive_cmds_D
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13005 hardcode_direct_D
=yes
13006 hardcode_shlibpath_var_D
=no
13010 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13011 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13012 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13019 if test "$ld_shlibs_D" = no
; then
13021 hardcode_libdir_flag_spec_D
=
13022 export_dynamic_flag_spec_D
=
13023 whole_archive_flag_spec_D
=
13026 # PORTME fill in a description of your system's linker (not GNU ld)
13029 allow_undefined_flag_D
=unsupported
13030 always_export_symbols_D
=yes
13031 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'
13032 # Note: this linker hardcodes the directories in LIBPATH if there
13033 # are no directories specified by -L.
13034 hardcode_minus_L_D
=yes
13035 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13036 # Neither direct hardcoding nor static linking is supported with a
13038 hardcode_direct_D
=unsupported
13043 if test "$host_cpu" = ia64
; then
13044 # On IA64, the linker does run time linking by default, so we don't
13045 # have to do anything special.
13046 aix_use_runtimelinking
=no
13047 exp_sym_flag
='-Bexport'
13050 # If we're using GNU nm, then we don't want the "-C" option.
13051 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13052 # Also, AIX nm treats weak defined symbols like other global
13053 # defined symbols, whereas GNU nm marks them as "W".
13054 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13055 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'
13057 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'
13059 aix_use_runtimelinking
=no
13061 # Test if we are trying to use run time linking or normal
13062 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13063 # need to do runtime linking.
13064 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13065 for ld_flag
in $LDFLAGS; do
13066 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13067 aix_use_runtimelinking
=yes
13074 exp_sym_flag
='-bexport'
13075 no_entry_flag
='-bnoentry'
13078 # When large executables or shared objects are built, AIX ld can
13079 # have problems creating the table of contents. If linking a library
13080 # or program results in "error TOC overflow" add -mminimal-toc to
13081 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13082 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13085 hardcode_direct_D
=yes
13086 hardcode_direct_absolute_D
=yes
13087 hardcode_libdir_separator_D
=':'
13088 link_all_deplibs_D
=yes
13089 file_list_spec_D
='${wl}-f,'
13091 if test "$GCC" = yes; then
13092 case $host_os in aix4.
[012]|aix4.
[012].
*)
13093 # We only want to do this on AIX 4.2 and lower, the check
13094 # below for broken collect2 doesn't work under 4.3+
13095 collect2name
=`${CC} -print-prog-name=collect2`
13096 if test -f "$collect2name" &&
13097 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13099 # We have reworked collect2
13102 # We have old collect2
13103 hardcode_direct_D
=unsupported
13104 # It fails to find uninstalled libraries when the uninstalled
13105 # path is not listed in the libpath. Setting hardcode_minus_L
13106 # to unsupported forces relinking
13107 hardcode_minus_L_D
=yes
13108 hardcode_libdir_flag_spec_D
='-L$libdir'
13109 hardcode_libdir_separator_D
=
13113 shared_flag
='-shared'
13114 if test "$aix_use_runtimelinking" = yes; then
13115 shared_flag
="$shared_flag "'${wl}-G'
13119 if test "$host_cpu" = ia64
; then
13120 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13121 # chokes on -Wl,-G. The following line is correct:
13124 if test "$aix_use_runtimelinking" = yes; then
13125 shared_flag
='${wl}-G'
13127 shared_flag
='${wl}-bM:SRE'
13132 export_dynamic_flag_spec_D
='${wl}-bexpall'
13133 # It seems that -bexpall does not export symbols beginning with
13134 # underscore (_), so it is better to generate a list of symbols to export.
13135 always_export_symbols_D
=yes
13136 if test "$aix_use_runtimelinking" = yes; then
13137 # Warning - without using the other runtime loading flags (-brtl),
13138 # -berok will link without error, but may produce a broken library.
13139 allow_undefined_flag_D
='-berok'
13140 # Determine the default libpath from the value encoded in an
13141 # empty executable.
13142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13143 /* end confdefs.h. */
13153 if ac_fn_c_try_link
"$LINENO"; then :
13155 lt_aix_libpath_sed
='
13156 /Import File Strings/,/^$/ {
13162 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13163 # Check for a 64-bit object if we didn't find anything.
13164 if test -z "$aix_libpath"; then
13165 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13168 rm -f core conftest.err conftest.
$ac_objext \
13169 conftest
$ac_exeext conftest.
$ac_ext
13170 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13172 hardcode_libdir_flag_spec_D
='${wl}-blibpath:$libdir:'"$aix_libpath"
13173 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"
13175 if test "$host_cpu" = ia64
; then
13176 hardcode_libdir_flag_spec_D
='${wl}-R $libdir:/usr/lib:/lib'
13177 allow_undefined_flag_D
="-z nodefs"
13178 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"
13180 # Determine the default libpath from the value encoded in an
13181 # empty executable.
13182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13183 /* end confdefs.h. */
13193 if ac_fn_c_try_link
"$LINENO"; then :
13195 lt_aix_libpath_sed
='
13196 /Import File Strings/,/^$/ {
13202 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13203 # Check for a 64-bit object if we didn't find anything.
13204 if test -z "$aix_libpath"; then
13205 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13208 rm -f core conftest.err conftest.
$ac_objext \
13209 conftest
$ac_exeext conftest.
$ac_ext
13210 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13212 hardcode_libdir_flag_spec_D
='${wl}-blibpath:$libdir:'"$aix_libpath"
13213 # Warning - without using the other run time loading flags,
13214 # -berok will link without error, but may produce a broken library.
13215 no_undefined_flag_D
=' ${wl}-bernotok'
13216 allow_undefined_flag_D
=' ${wl}-berok'
13217 if test "$with_gnu_ld" = yes; then
13218 # We only use this code for GNU lds that support --whole-archive.
13219 whole_archive_flag_spec_D
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13221 # Exported symbols can be pulled into shared objects from archives
13222 whole_archive_flag_spec_D
='$convenience'
13224 archive_cmds_need_lc_D
=yes
13225 # This is similar to how AIX traditionally builds its shared libraries.
13226 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'
13234 # see comment about AmigaOS4 .so support
13235 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13236 archive_expsym_cmds_D
=''
13239 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)'
13240 hardcode_libdir_flag_spec_D
='-L$libdir'
13241 hardcode_minus_L_D
=yes
13247 export_dynamic_flag_spec_D
=-rdynamic
13250 cygwin
* | mingw
* | pw32
* | cegcc
*)
13251 # When not using gcc, we currently assume that we are using
13252 # Microsoft Visual C++.
13253 # hardcode_libdir_flag_spec is actually meaningless, as there is
13254 # no search path for DLLs.
13255 hardcode_libdir_flag_spec_D
=' '
13256 allow_undefined_flag_D
=unsupported
13257 # Tell ltmain to make .lib files, not .a files.
13259 # Tell ltmain to make .dll files, not .so files.
13261 # FIXME: Setting linknames here is a bad hack.
13262 archive_cmds_D
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13263 # The linker will automatically build a .lib file if we build a DLL.
13264 old_archive_from_new_cmds_D
='true'
13265 # FIXME: Should let the user specify the lib program.
13266 old_archive_cmds_D
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13267 fix_srcfile_path_D
='`cygpath -w "$srcfile"`'
13268 enable_shared_with_static_runtimes_D
=yes
13271 darwin
* | rhapsody
*)
13274 archive_cmds_need_lc_D
=no
13275 hardcode_direct_D
=no
13276 hardcode_automatic_D
=yes
13277 hardcode_shlibpath_var_D
=unsupported
13278 if test "$lt_cv_ld_force_load" = "yes"; then
13279 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\"`'
13281 whole_archive_flag_spec_D
=''
13283 link_all_deplibs_D
=yes
13284 allow_undefined_flag_D
="$_lt_dar_allow_undefined"
13285 case $cc_basename in
13286 ifort
*) _lt_dar_can_shared
=yes ;;
13287 *) _lt_dar_can_shared
=$GCC ;;
13289 if test "$_lt_dar_can_shared" = "yes"; then
13290 output_verbose_link_cmd
=func_echo_all
13291 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}"
13292 module_cmds_D
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13293 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}"
13294 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}"
13303 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13304 hardcode_libdir_flag_spec_D
='-L$libdir'
13305 hardcode_shlibpath_var_D
=no
13308 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13309 # support. Future versions do this automatically, but an explicit c++rt0.o
13310 # does not break anything, and helps significantly (at the cost of a little
13313 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13314 hardcode_libdir_flag_spec_D
='-R$libdir'
13315 hardcode_direct_D
=yes
13316 hardcode_shlibpath_var_D
=no
13319 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13321 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13322 hardcode_direct_D
=yes
13323 hardcode_minus_L_D
=yes
13324 hardcode_shlibpath_var_D
=no
13327 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13328 freebsd
* | dragonfly
*)
13329 archive_cmds_D
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13330 hardcode_libdir_flag_spec_D
='-R$libdir'
13331 hardcode_direct_D
=yes
13332 hardcode_shlibpath_var_D
=no
13336 if test "$GCC" = yes; then
13337 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'
13339 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'
13341 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13342 hardcode_libdir_separator_D
=:
13343 hardcode_direct_D
=yes
13345 # hardcode_minus_L: Not really in the search PATH,
13346 # but as the default location of the library.
13347 hardcode_minus_L_D
=yes
13348 export_dynamic_flag_spec_D
='${wl}-E'
13352 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13353 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13355 archive_cmds_D
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13357 if test "$with_gnu_ld" = no
; then
13358 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13359 hardcode_libdir_flag_spec_ld_D
='+b $libdir'
13360 hardcode_libdir_separator_D
=:
13361 hardcode_direct_D
=yes
13362 hardcode_direct_absolute_D
=yes
13363 export_dynamic_flag_spec_D
='${wl}-E'
13364 # hardcode_minus_L: Not really in the search PATH,
13365 # but as the default location of the library.
13366 hardcode_minus_L_D
=yes
13371 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13374 archive_cmds_D
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13377 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13380 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13386 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13389 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13392 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13396 if test "$with_gnu_ld" = no
; then
13397 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13398 hardcode_libdir_separator_D
=:
13402 hardcode_direct_D
=no
13403 hardcode_shlibpath_var_D
=no
13406 hardcode_direct_D
=yes
13407 hardcode_direct_absolute_D
=yes
13408 export_dynamic_flag_spec_D
='${wl}-E'
13410 # hardcode_minus_L: Not really in the search PATH,
13411 # but as the default location of the library.
13412 hardcode_minus_L_D
=yes
13418 irix5
* | irix6
* | nonstopux
*)
13419 if test "$GCC" = yes; then
13420 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'
13421 # Try to use the -exported_symbol ld option, if it does not
13422 # work, assume that -exports_file does not work either and
13423 # implicitly export all symbols.
13424 save_LDFLAGS
="$LDFLAGS"
13425 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13427 /* end confdefs.h. */
13430 if ac_fn_c_try_link
"$LINENO"; then :
13431 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'
13434 rm -f core conftest.err conftest.
$ac_objext \
13435 conftest
$ac_exeext conftest.
$ac_ext
13436 LDFLAGS
="$save_LDFLAGS"
13438 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'
13439 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'
13441 archive_cmds_need_lc_D
='no'
13442 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13443 hardcode_libdir_separator_D
=:
13444 inherit_rpath_D
=yes
13445 link_all_deplibs_D
=yes
13449 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13450 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13452 archive_cmds_D
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13454 hardcode_libdir_flag_spec_D
='-R$libdir'
13455 hardcode_direct_D
=yes
13456 hardcode_shlibpath_var_D
=no
13460 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13461 hardcode_direct_D
=yes
13462 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13463 hardcode_libdir_separator_D
=:
13464 hardcode_shlibpath_var_D
=no
13471 if test -f /usr
/libexec
/ld.so
; then
13472 hardcode_direct_D
=yes
13473 hardcode_shlibpath_var_D
=no
13474 hardcode_direct_absolute_D
=yes
13475 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13476 archive_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13477 archive_expsym_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13478 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
13479 export_dynamic_flag_spec_D
='${wl}-E'
13482 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13483 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13484 hardcode_libdir_flag_spec_D
='-R$libdir'
13487 archive_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13488 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
13498 hardcode_libdir_flag_spec_D
='-L$libdir'
13499 hardcode_minus_L_D
=yes
13500 allow_undefined_flag_D
=unsupported
13501 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'
13502 old_archive_from_new_cmds_D
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13506 if test "$GCC" = yes; then
13507 allow_undefined_flag_D
=' ${wl}-expect_unresolved ${wl}\*'
13508 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'
13510 allow_undefined_flag_D
=' -expect_unresolved \*'
13511 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'
13513 archive_cmds_need_lc_D
='no'
13514 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13515 hardcode_libdir_separator_D
=:
13518 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13519 if test "$GCC" = yes; then
13520 allow_undefined_flag_D
=' ${wl}-expect_unresolved ${wl}\*'
13521 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'
13522 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13524 allow_undefined_flag_D
=' -expect_unresolved \*'
13525 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'
13526 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~
13527 $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'
13529 # Both c and cxx compiler support -rpath directly
13530 hardcode_libdir_flag_spec_D
='-rpath $libdir'
13532 archive_cmds_need_lc_D
='no'
13533 hardcode_libdir_separator_D
=:
13537 no_undefined_flag_D
=' -z defs'
13538 if test "$GCC" = yes; then
13540 archive_cmds_D
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13541 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13542 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13544 case `$CC -V 2>&1` in
13547 archive_cmds_D
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13548 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13549 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13553 archive_cmds_D
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13554 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13555 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13559 hardcode_libdir_flag_spec_D
='-R$libdir'
13560 hardcode_shlibpath_var_D
=no
13562 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13564 # The compiler driver will combine and reorder linker options,
13565 # but understands `-z linker_flag'. GCC discards it without `$wl',
13566 # but is careful enough not to reorder.
13567 # Supported since Solaris 2.6 (maybe 2.5.1?)
13568 if test "$GCC" = yes; then
13569 whole_archive_flag_spec_D
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13571 whole_archive_flag_spec_D
='-z allextract$convenience -z defaultextract'
13575 link_all_deplibs_D
=yes
13579 if test "x$host_vendor" = xsequent
; then
13580 # Use $CC to link under sequent, because it throws in some extra .o
13581 # files that make .init and .fini sections work.
13582 archive_cmds_D
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13584 archive_cmds_D
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13586 hardcode_libdir_flag_spec_D
='-L$libdir'
13587 hardcode_direct_D
=yes
13588 hardcode_minus_L_D
=yes
13589 hardcode_shlibpath_var_D
=no
13593 case $host_vendor in
13595 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13596 hardcode_direct_D
=yes # is this really true???
13599 ## LD is ld it makes a PLAMLIB
13600 ## CC just makes a GrossModule.
13601 archive_cmds_D
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13602 reload_cmds_D
='$CC -r -o $output$reload_objs'
13603 hardcode_direct_D
=no
13606 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13607 hardcode_direct_D
=no
#Motorola manual says yes, but my tests say they lie
13610 runpath_var
='LD_RUN_PATH'
13611 hardcode_shlibpath_var_D
=no
13615 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13616 hardcode_shlibpath_var_D
=no
13617 export_dynamic_flag_spec_D
='-Bexport'
13621 if test -d /usr
/nec
; then
13622 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13623 hardcode_shlibpath_var_D
=no
13624 runpath_var
=LD_RUN_PATH
13625 hardcode_runpath_var
=yes
13630 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13631 no_undefined_flag_D
='${wl}-z,text'
13632 archive_cmds_need_lc_D
=no
13633 hardcode_shlibpath_var_D
=no
13634 runpath_var
='LD_RUN_PATH'
13636 if test "$GCC" = yes; then
13637 archive_cmds_D
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13638 archive_expsym_cmds_D
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13640 archive_cmds_D
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13641 archive_expsym_cmds_D
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13645 sysv5
* | sco3.2v5
* | sco5v6
*)
13646 # Note: We can NOT use -z defs as we might desire, because we do not
13647 # link with -lc, and that would cause any symbols used from libc to
13648 # always be unresolved, which means just about no library would
13649 # ever link correctly. If we're not using GNU ld we use -z text
13650 # though, which does catch some bad symbols but isn't as heavy-handed
13652 no_undefined_flag_D
='${wl}-z,text'
13653 allow_undefined_flag_D
='${wl}-z,nodefs'
13654 archive_cmds_need_lc_D
=no
13655 hardcode_shlibpath_var_D
=no
13656 hardcode_libdir_flag_spec_D
='${wl}-R,$libdir'
13657 hardcode_libdir_separator_D
=':'
13658 link_all_deplibs_D
=yes
13659 export_dynamic_flag_spec_D
='${wl}-Bexport'
13660 runpath_var
='LD_RUN_PATH'
13662 if test "$GCC" = yes; then
13663 archive_cmds_D
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13664 archive_expsym_cmds_D
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13666 archive_cmds_D
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13667 archive_expsym_cmds_D
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13672 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13673 hardcode_libdir_flag_spec_D
='-L$libdir'
13674 hardcode_shlibpath_var_D
=no
13682 if test x
$host_vendor = xsni
; then
13684 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13685 export_dynamic_flag_spec_D
='${wl}-Blargedynsym'
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_D" >&5
13692 $as_echo "$ld_shlibs_D" >&6; }
13693 test "$ld_shlibs_D" = no
&& can_build_shared
=no
13695 with_gnu_ld_D
=$with_gnu_ld
13703 # Do we need to explicitly link libc?
13705 case "x$archive_cmds_need_lc_D" in
13707 # Assume -lc should be added
13708 archive_cmds_need_lc_D
=yes
13710 if test "$enable_shared" = yes && test "$GCC" = yes; then
13711 case $archive_cmds_D in
13713 # FIXME: we may have to deal with multi-command sequences.
13716 # Test whether the compiler implicitly links with -lc since on some
13717 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13718 # to ld, don't add -lc before -lgcc.
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13720 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13721 if ${lt_cv_archive_cmds_need_lc_D+:} false
; then :
13722 $as_echo_n "(cached) " >&6
13725 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13728 (eval $ac_compile) 2>&5
13730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13731 test $ac_status = 0; } 2>conftest.err
; then
13734 libobjs
=conftest.
$ac_objext
13736 wl
=$lt_prog_compiler_wl_D
13737 pic_flag
=$lt_prog_compiler_pic_D
13743 lt_save_allow_undefined_flag
=$allow_undefined_flag_D
13744 allow_undefined_flag_D
=
13745 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_D 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13746 (eval $archive_cmds_D 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13749 test $ac_status = 0; }
13751 lt_cv_archive_cmds_need_lc_D
=no
13753 lt_cv_archive_cmds_need_lc_D
=yes
13755 allow_undefined_flag_D
=$lt_save_allow_undefined_flag
13757 cat conftest.err
1>&5
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_D" >&5
13763 $as_echo "$lt_cv_archive_cmds_need_lc_D" >&6; }
13764 archive_cmds_need_lc_D
=$lt_cv_archive_cmds_need_lc_D
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13835 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13837 if test -n "$hardcode_libdir_flag_spec_D" ||
13838 test -n "$runpath_var_D" ||
13839 test "X$hardcode_automatic_D" = "Xyes" ; then
13841 # We can hardcode non-existent directories.
13842 if test "$hardcode_direct_D" != no
&&
13843 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13844 # have to relink, otherwise we might link with an installed library
13845 # when we should be linking with a yet-to-be-installed one
13846 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, D)" != no &&
13847 test "$hardcode_minus_L_D" != no
; then
13848 # Linking always hardcodes the temporary library directory.
13849 hardcode_action_D
=relink
13851 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13852 hardcode_action_D
=immediate
13855 # We cannot hardcode anything, or else we can only hardcode existing
13857 hardcode_action_D
=unsupported
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_D" >&5
13860 $as_echo "$hardcode_action_D" >&6; }
13862 if test "$hardcode_action_D" = relink ||
13863 test "$inherit_rpath_D" = yes; then
13864 # Fast installation is not supported
13865 enable_fast_install
=no
13866 elif test "$shlibpath_overrides_runpath" = yes ||
13867 test "$enable_shared" = no
; then
13868 # Fast installation is not necessary
13869 enable_fast_install
=needless
13881 ac_cpp
='$CPP $CPPFLAGS'
13882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13889 CFLAGS
=$lt_save_CFLAGS
13891 GDCFLAGS
=$gdc_save_DFLAGS
13894 # libtool variables for Phobos shared and position-independent compiles.
13896 # Use phobos_compiler_shared_flag to designate the compile-time flags for
13897 # creating shared objects. Default: -fversion=Shared.
13899 # Use phobos_compiler_pic_flag to designate the compile-time flags for
13900 # creating position-independent objects. This varies with the target
13901 # hardware and operating system, but is often: -fPIC.
13903 # The distinction between pic and shared compilation flags is not present in
13904 # libtool, and so we make it here. How it is handled is that in shared
13905 # compilations the `lt_prog_compiler_pic_D' variable is used to instead
13906 # ensure that conditional compilation of shared runtime code is compiled in.
13907 # The original PIC flags are then used in the compilation of every object.
13909 # Why are objects destined for libgphobos.a compiled with -fPIC?
13910 # Because -fPIC is not harmful to use for objects destined for static
13911 # libraries. In addition, using -fPIC will allow the use of static
13912 # libgphobos.a in the creation of other D shared libraries.
13913 if test "$enable_shared" = yes; then
13914 phobos_compiler_pic_flag
="$lt_prog_compiler_pic_D"
13915 phobos_compiler_shared_flag
="-fversion=Shared"
13917 phobos_compiler_pic_flag
=
13918 phobos_compiler_shared_flag
=
13923 # Override the libtool's pic_flag and pic_mode.
13924 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
13925 # NB: this impacts --with-pic and --without-pic.
13926 lt_prog_compiler_pic_D
="$phobos_compiler_shared_flag"
13929 # Determine what GCC version number to use in filesystem paths.
13931 get_gcc_base_ver
="cat"
13933 # Check whether --with-gcc-major-version-only was given.
13934 if test "${with_gcc_major_version_only+set}" = set; then :
13935 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
13936 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
13944 # libphobos/libdruntime specific options and feature detection
13946 # These need to be absolute paths, yet at the same time need to
13947 # canonicalize only relative paths, because then amd will not unmount
13948 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
13949 libphobos_builddir
=`${PWDCMD-pwd}`
13951 \\/$
* | ?
:\\/*) libphobos_srcdir
=${srcdir} ;;
13952 *) libphobos_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
13958 if test ${multilib} = yes; then
13959 multilib_arg
="--enable-multilib"
13965 # Check whether --enable-werror was given.
13966 if test "${enable_werror+set}" = set; then :
13967 enableval
=$enable_werror;
13971 if test "x$enable_werror" = "xyes"; then
13972 WERROR_FLAG
="-Werror"
13976 # Check whether --enable-druntime-gc was given.
13977 if test "${enable_druntime_gc+set}" = set; then :
13978 enableval
=$enable_druntime_gc; enable_druntime_gc
=no
13980 enable_druntime_gc
=yes
13984 if test "$enable_druntime_gc" = "yes"; then
13985 DRUNTIME_GC_ENABLE_TRUE
=
13986 DRUNTIME_GC_ENABLE_FALSE
='#'
13988 DRUNTIME_GC_ENABLE_TRUE
='#'
13989 DRUNTIME_GC_ENABLE_FALSE
=
13994 druntime_target_cpu_parsed
=""
13995 case "$target_cpu" in
13997 druntime_target_cpu_parsed
="aarch64"
13999 arm
*) druntime_target_cpu_parsed
="arm"
14001 mips
*) druntime_target_cpu_parsed
="mips"
14003 powerpc
) druntime_target_cpu_parsed
="powerpc"
14006 druntime_target_cpu_parsed
="powerpc64"
14009 druntime_target_cpu_parsed
="x86"
14012 if test "$druntime_target_cpu_parsed" = "aarch64"; then
14013 DRUNTIME_CPU_AARCH64_TRUE
=
14014 DRUNTIME_CPU_AARCH64_FALSE
='#'
14016 DRUNTIME_CPU_AARCH64_TRUE
='#'
14017 DRUNTIME_CPU_AARCH64_FALSE
=
14020 if test "$druntime_target_cpu_parsed" = "arm"; then
14021 DRUNTIME_CPU_ARM_TRUE
=
14022 DRUNTIME_CPU_ARM_FALSE
='#'
14024 DRUNTIME_CPU_ARM_TRUE
='#'
14025 DRUNTIME_CPU_ARM_FALSE
=
14028 if test "$druntime_target_cpu_parsed" = "mips"; then
14029 DRUNTIME_CPU_MIPS_TRUE
=
14030 DRUNTIME_CPU_MIPS_FALSE
='#'
14032 DRUNTIME_CPU_MIPS_TRUE
='#'
14033 DRUNTIME_CPU_MIPS_FALSE
=
14036 if test "$druntime_target_cpu_parsed" = "powerpc"; then
14037 DRUNTIME_CPU_POWERPC_TRUE
=
14038 DRUNTIME_CPU_POWERPC_FALSE
='#'
14040 DRUNTIME_CPU_POWERPC_TRUE
='#'
14041 DRUNTIME_CPU_POWERPC_FALSE
=
14044 if test "$druntime_target_cpu_parsed" = "powerpc64"; then
14045 DRUNTIME_CPU_POWERPC64_TRUE
=
14046 DRUNTIME_CPU_POWERPC64_FALSE
='#'
14048 DRUNTIME_CPU_POWERPC64_TRUE
='#'
14049 DRUNTIME_CPU_POWERPC64_FALSE
=
14052 if test "$druntime_target_cpu_parsed" = "x86"; then
14053 DRUNTIME_CPU_X86_TRUE
=
14054 DRUNTIME_CPU_X86_FALSE
='#'
14056 DRUNTIME_CPU_X86_TRUE
='#'
14057 DRUNTIME_CPU_X86_FALSE
=
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target OS" >&5
14063 $as_echo_n "checking for target OS... " >&6; }
14064 if ${druntime_cv_target_os+:} false
; then :
14065 $as_echo_n "(cached) " >&6
14067 druntime_cv_target_os
=`echo $target_os | sed 's/^\([A-Za-z_]+\)/\1/'`
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_target_os" >&5
14070 $as_echo "$druntime_cv_target_os" >&6; }
14071 if test -z "$druntime_cv_target_os"; then :
14072 as_fn_error $?
"can't detect target OS" "$LINENO" 5
14077 # Check whether --enable-unix was given.
14078 if test "${enable_unix+set}" = set; then :
14079 enableval
=$enable_unix; :
14085 case "$druntime_cv_target_os" in
14086 aix
*|
*bsd
*|cygwin
*|darwin
*|gnu
*|linux
*|skyos
*|
*solaris
*|sysv
*) d_have_unix
=1 ;;
14088 if test -n "$d_have_unix" && test "$enable_unix" = auto
; then
14091 if test "$enable_unix" = "yes"; then
14092 DRUNTIME_OS_UNIX_TRUE
=
14093 DRUNTIME_OS_UNIX_FALSE
='#'
14095 DRUNTIME_OS_UNIX_TRUE
='#'
14096 DRUNTIME_OS_UNIX_FALSE
=
14103 druntime_target_os_parsed
=""
14104 case "$druntime_cv_target_os" in
14105 aix
*) druntime_target_os_parsed
="aix"
14108 druntime_target_os_parsed
="android"
14110 darwin
*) druntime_target_os_parsed
="darwin"
14113 druntime_target_os_parsed
="dragonflybsd"
14115 freebsd
*|k
*bsd
*-gnu)
14116 druntime_target_os_parsed
="freebsd"
14119 druntime_target_os_parsed
="openbsd"
14122 druntime_target_os_parsed
="netbsd"
14124 linux
*) druntime_target_os_parsed
="linux"
14126 mingw
*) druntime_target_os_parsed
="mingw"
14128 *solaris
*) druntime_target_os_parsed
="solaris"
14130 if test "$druntime_target_os_parsed" = "aix"; then
14131 DRUNTIME_OS_AIX_TRUE
=
14132 DRUNTIME_OS_AIX_FALSE
='#'
14134 DRUNTIME_OS_AIX_TRUE
='#'
14135 DRUNTIME_OS_AIX_FALSE
=
14138 if test "$druntime_target_os_parsed" = "android"; then
14139 DRUNTIME_OS_ANDROID_TRUE
=
14140 DRUNTIME_OS_ANDROID_FALSE
='#'
14142 DRUNTIME_OS_ANDROID_TRUE
='#'
14143 DRUNTIME_OS_ANDROID_FALSE
=
14146 if test "$druntime_target_os_parsed" = "darwin"; then
14147 DRUNTIME_OS_DARWIN_TRUE
=
14148 DRUNTIME_OS_DARWIN_FALSE
='#'
14150 DRUNTIME_OS_DARWIN_TRUE
='#'
14151 DRUNTIME_OS_DARWIN_FALSE
=
14154 if test "$druntime_target_os_parsed" = "dragonflybsd"; then
14155 DRUNTIME_OS_DRAGONFLYBSD_TRUE
=
14156 DRUNTIME_OS_DRAGONFLYBSD_FALSE
='#'
14158 DRUNTIME_OS_DRAGONFLYBSD_TRUE
='#'
14159 DRUNTIME_OS_DRAGONFLYBSD_FALSE
=
14162 if test "$druntime_target_os_parsed" = "freebsd"; then
14163 DRUNTIME_OS_FREEBSD_TRUE
=
14164 DRUNTIME_OS_FREEBSD_FALSE
='#'
14166 DRUNTIME_OS_FREEBSD_TRUE
='#'
14167 DRUNTIME_OS_FREEBSD_FALSE
=
14170 if test "$druntime_target_os_parsed" = "netbsd"; then
14171 DRUNTIME_OS_NETBSD_TRUE
=
14172 DRUNTIME_OS_NETBSD_FALSE
='#'
14174 DRUNTIME_OS_NETBSD_TRUE
='#'
14175 DRUNTIME_OS_NETBSD_FALSE
=
14178 if test "$druntime_target_os_parsed" = "openbsd"; then
14179 DRUNTIME_OS_OPENBSD_TRUE
=
14180 DRUNTIME_OS_OPENBSD_FALSE
='#'
14182 DRUNTIME_OS_OPENBSD_TRUE
='#'
14183 DRUNTIME_OS_OPENBSD_FALSE
=
14186 if test "$druntime_target_os_parsed" = "linux"; then
14187 DRUNTIME_OS_LINUX_TRUE
=
14188 DRUNTIME_OS_LINUX_FALSE
='#'
14190 DRUNTIME_OS_LINUX_TRUE
='#'
14191 DRUNTIME_OS_LINUX_FALSE
=
14194 if test "$druntime_target_os_parsed" = "mingw"; then
14195 DRUNTIME_OS_MINGW_TRUE
=
14196 DRUNTIME_OS_MINGW_FALSE
='#'
14198 DRUNTIME_OS_MINGW_TRUE
='#'
14199 DRUNTIME_OS_MINGW_FALSE
=
14202 if test "$druntime_target_os_parsed" = "solaris"; then
14203 DRUNTIME_OS_SOLARIS_TRUE
=
14204 DRUNTIME_OS_SOLARIS_FALSE
='#'
14206 DRUNTIME_OS_SOLARIS_TRUE
='#'
14207 DRUNTIME_OS_SOLARIS_FALSE
=
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GDC" >&5
14214 $as_echo_n "checking for thread model used by GDC... " >&6; }
14215 d_thread_model
=`$GDC -v 2>&1 | sed -n 's/^Thread model: //p'`
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $d_thread_model" >&5
14217 $as_echo "$d_thread_model" >&6; }
14219 # Map from thread model to thread interface.
14221 case $d_thread_model in
14222 aix
) DCFG_THREAD_MODEL
="Posix" ;;
14223 lynx
) DCFG_THREAD_MODEL
="Posix" ;;
14224 posix
) DCFG_THREAD_MODEL
="Posix" ;;
14225 single
) DCFG_THREAD_MODEL
="Single" ;;
14226 win32
) DCFG_THREAD_MODEL
="Win32" ;;
14227 # TODO: These targets need porting.
14228 dce|mipssde|rtems|tpf|vxworks
)
14229 DCFG_THREAD_MODEL
="Single" ;;
14230 *) as_fn_error
"Thread implementation '$d_thread_model' not recognised" "$LINENO" 5 ;;
14237 ac_cpp
='$CPP $CPPFLAGS'
14238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARM unwinder" >&5
14243 $as_echo_n "checking for ARM unwinder... " >&6; }
14244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14245 /* end confdefs.h. */
14246 #include <unwind.h>
14251 #if __ARM_EABI_UNWINDER__
14259 if ac_fn_c_try_compile
"$LINENO"; then :
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14261 $as_echo "no" >&6; }
14262 DCFG_ARM_EABI_UNWINDER
=false
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14265 $as_echo "yes" >&6; }
14266 DCFG_ARM_EABI_UNWINDER
=true
14268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14270 if test "$DCFG_ARM_EABI_UNWINDER" = "true"; then
14271 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
=
14272 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
='#'
14274 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
='#'
14275 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
=
14279 ac_cpp
='$CPP $CPPFLAGS'
14280 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14281 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14282 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14287 ac_cpp
='$CPP $CPPFLAGS'
14288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minfo section bracketing" >&5
14293 $as_echo_n "checking for minfo section bracketing... " >&6; }
14294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14297 void* module_info_ptr __attribute__((section ("minfo")));
14298 extern void* __start_minfo __attribute__((visibility ("hidden")));
14299 extern void* __stop_minfo __attribute__((visibility ("hidden")));
14303 // Never run, just to prevent compiler from optimizing access
14304 return &__start_minfo == &__stop_minfo;
14308 if ac_fn_c_try_link
"$LINENO"; then :
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14310 $as_echo "yes" >&6; }
14311 DCFG_MINFO_BRACKETING
=true
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14314 $as_echo "no" >&6; }
14315 DCFG_MINFO_BRACKETING
=false
14317 rm -f core conftest.err conftest.
$ac_objext \
14318 conftest
$ac_exeext conftest.
$ac_ext
14320 if test "$DCFG_MINFO_BRACKETING" = "true"; then
14321 DRUNTIME_OS_MINFO_BRACKETING_TRUE
=
14322 DRUNTIME_OS_MINFO_BRACKETING_FALSE
='#'
14324 DRUNTIME_OS_MINFO_BRACKETING_TRUE
='#'
14325 DRUNTIME_OS_MINFO_BRACKETING_FALSE
=
14329 ac_cpp
='$CPP $CPPFLAGS'
14330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14337 ac_cpp
='$CPP $CPPFLAGS'
14338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14342 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>
14344 if test "x$ac_cv_member_struct_dl_phdr_info_dlpi_tls_modid" = xyes
; then :
14345 DCFG_DLPI_TLS_MODID
=true
14347 DCFG_DLPI_TLS_MODID
=false
14352 ac_cpp
='$CPP $CPPFLAGS'
14353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14360 i?
86-*-solaris2.
* | x86_64-
*-solaris2.
*)
14361 # 64-bit Solaris/x86 ld breaks calls to __tls_get_addr with non-TLS
14362 # relocs. Work around by disabling TLS transitions. Not necessary
14363 # on 32-bit x86, but cannot be distinguished reliably in specs.
14364 druntime_ld_prog
=`$CC -print-prog-name=ld`
14366 druntime_ld_relax_transtls
=no
14367 if test -n "$druntime_ld_prog" \
14368 && $druntime_ld_prog -v 2>&1 |
grep GNU
> /dev
/null
2>&1; then
14369 druntime_ld_gld
=yes
14371 echo 'int main (void) { return 0; }' > conftest.c
14372 save_LDFLAGS
="$LDFLAGS"
14373 LDFLAGS
="$LDFLAGS -Wl,-z,relax=transtls"
14374 if $CC $CFLAGS $LDFLAGS -o conftest conftest.c
> /dev
/null
2>&1; then
14375 druntime_ld_relax_transtls
=yes
14377 LDFLAGS
="$save_LDFLAGS"
14378 rm -f conftest.c conftest
14380 if test "$druntime_ld_relax_transtls" = "yes"; then
14381 OS_LINK_SPEC
='-z relax=transtls'
14389 ac_cpp
='$CPP $CPPFLAGS'
14390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14394 DCFG_HAVE_QSORT_R
=false
14395 ac_fn_c_check_func
"$LINENO" "qsort_r" "ac_cv_func_qsort_r"
14396 if test "x$ac_cv_func_qsort_r" = xyes
; then :
14397 DCFG_HAVE_QSORT_R
=true
14402 ac_cpp
='$CPP $CPPFLAGS'
14403 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14404 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14405 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14411 gdc_save_DFLAGS
=$GDCFLAGS
14412 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime -nophoboslib $GDCFLAGS"
14415 ac_compile
='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
14416 ac_link
='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14417 ac_compiler_gnu
=yes
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing malloc" >&5
14420 $as_echo_n "checking for library containing malloc... " >&6; }
14421 if ${ac_cv_search_malloc+:} false
; then :
14422 $as_echo_n "(cached) " >&6
14424 ac_func_search_save_LIBS
=$LIBS
14425 cat > conftest.
$ac_ext <<_ACEOF
14427 extern(C) int malloc();
14429 extern(C) int main() {
14430 malloc(); return 0;
14433 for ac_lib
in '' c
; do
14434 if test -z "$ac_lib"; then
14435 ac_res
="none required"
14438 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14440 if ac_fn_d_try_link
"$LINENO"; then :
14441 ac_cv_search_malloc
=$ac_res
14443 rm -f core conftest.err conftest.
$ac_objext \
14445 if ${ac_cv_search_malloc+:} false
; then :
14449 if ${ac_cv_search_malloc+:} false
; then :
14452 ac_cv_search_malloc
=no
14454 rm conftest.
$ac_ext
14455 LIBS
=$ac_func_search_save_LIBS
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_malloc" >&5
14458 $as_echo "$ac_cv_search_malloc" >&6; }
14459 ac_res
=$ac_cv_search_malloc
14460 if test "$ac_res" != no
; then :
14461 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14466 enable_thread_lib
=yes
14467 # Check whether --enable-thread-lib was given.
14468 if test "${enable_thread_lib+set}" = set; then :
14469 enableval
=$enable_thread_lib;
14473 if test "x$enable_thread_lib" = "xyes"; then :
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
14476 $as_echo_n "checking for library containing pthread_create... " >&6; }
14477 if ${ac_cv_search_pthread_create+:} false
; then :
14478 $as_echo_n "(cached) " >&6
14480 ac_func_search_save_LIBS
=$LIBS
14481 cat > conftest.
$ac_ext <<_ACEOF
14483 extern(C) int pthread_create();
14485 extern(C) int main() {
14486 pthread_create(); return 0;
14489 for ac_lib
in '' pthread
; do
14490 if test -z "$ac_lib"; then
14491 ac_res
="none required"
14494 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14496 if ac_fn_d_try_link
"$LINENO"; then :
14497 ac_cv_search_pthread_create
=$ac_res
14499 rm -f core conftest.err conftest.
$ac_objext \
14501 if ${ac_cv_search_pthread_create+:} false
; then :
14505 if ${ac_cv_search_pthread_create+:} false
; then :
14508 ac_cv_search_pthread_create
=no
14510 rm conftest.
$ac_ext
14511 LIBS
=$ac_func_search_save_LIBS
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
14514 $as_echo "$ac_cv_search_pthread_create" >&6; }
14515 ac_res
=$ac_cv_search_pthread_create
14516 if test "$ac_res" != no
; then :
14517 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14524 if test "x$enable_thread_lib" = "xno"; then :
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread library" >&5
14527 $as_echo_n "checking for thread library... " >&6; }
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14529 $as_echo "disabled" >&6; }
14533 as_ac_Lib
=`$as_echo "ac_cv_lib_$enable_thread_lib''_pthread_create" | $as_tr_sh`
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -l$enable_thread_lib" >&5
14535 $as_echo_n "checking for pthread_create in -l$enable_thread_lib... " >&6; }
14536 if eval \
${$as_ac_Lib+:} false
; then :
14537 $as_echo_n "(cached) " >&6
14539 ac_check_lib_save_LIBS
=$LIBS
14540 LIBS
="-l$enable_thread_lib $LIBS"
14541 cat > conftest.
$ac_ext <<_ACEOF
14543 extern(C) int pthread_create();
14545 extern(C) int main() {
14546 pthread_create(); return 0;
14549 if ac_fn_d_try_link
"$LINENO"; then :
14550 eval "$as_ac_Lib=yes"
14552 eval "$as_ac_Lib=no"
14554 rm -f core conftest.err conftest.
$ac_objext \
14555 conftest
$ac_exeext conftest.
$ac_ext
14556 LIBS
=$ac_check_lib_save_LIBS
14558 eval ac_res
=\$
$as_ac_Lib
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14560 $as_echo "$ac_res" >&6; }
14561 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
14562 cat >>confdefs.h
<<_ACEOF
14563 #define `$as_echo "HAVE_LIB$enable_thread_lib" | $as_tr_cpp` 1
14566 LIBS
="-l$enable_thread_lib $LIBS"
14570 as_fn_error $?
"Thread library not found" "$LINENO" 5
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cosf" >&5
14580 $as_echo_n "checking for library containing cosf... " >&6; }
14581 if ${ac_cv_search_cosf+:} false
; then :
14582 $as_echo_n "(cached) " >&6
14584 ac_func_search_save_LIBS
=$LIBS
14585 cat > conftest.
$ac_ext <<_ACEOF
14587 extern(C) int cosf();
14589 extern(C) int main() {
14593 for ac_lib
in '' m
; do
14594 if test -z "$ac_lib"; then
14595 ac_res
="none required"
14598 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14600 if ac_fn_d_try_link
"$LINENO"; then :
14601 ac_cv_search_cosf
=$ac_res
14603 rm -f core conftest.err conftest.
$ac_objext \
14605 if ${ac_cv_search_cosf+:} false
; then :
14609 if ${ac_cv_search_cosf+:} false
; then :
14612 ac_cv_search_cosf
=no
14614 rm conftest.
$ac_ext
14615 LIBS
=$ac_func_search_save_LIBS
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cosf" >&5
14618 $as_echo "$ac_cv_search_cosf" >&6; }
14619 ac_res
=$ac_cv_search_cosf
14620 if test "$ac_res" != no
; then :
14621 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14626 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14627 if ${ac_cv_search_clock_gettime+:} false
; then :
14628 $as_echo_n "(cached) " >&6
14630 ac_func_search_save_LIBS
=$LIBS
14631 cat > conftest.
$ac_ext <<_ACEOF
14633 extern(C) int clock_gettime();
14635 extern(C) int main() {
14636 clock_gettime(); return 0;
14639 for ac_lib
in '' rt
; do
14640 if test -z "$ac_lib"; then
14641 ac_res
="none required"
14644 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14646 if ac_fn_d_try_link
"$LINENO"; then :
14647 ac_cv_search_clock_gettime
=$ac_res
14649 rm -f core conftest.err conftest.
$ac_objext \
14651 if ${ac_cv_search_clock_gettime+:} false
; then :
14655 if ${ac_cv_search_clock_gettime+:} false
; then :
14658 ac_cv_search_clock_gettime
=no
14660 rm conftest.
$ac_ext
14661 LIBS
=$ac_func_search_save_LIBS
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14664 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14665 ac_res
=$ac_cv_search_clock_gettime
14666 if test "$ac_res" != no
; then :
14667 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14672 # This checks to see if the host supports the compiler-generated builtins
14673 # for atomic operations for various integral sizes. Note, this is intended
14674 # to be an all-or-nothing switch, so all the atomic operations that are
14675 # used should be checked.
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for byte" >&5
14677 $as_echo_n "checking for atomic builtins for byte... " >&6; }
14678 if ${druntime_cv_atomic_byte+:} false
; then :
14679 $as_echo_n "(cached) " >&6
14682 cat > conftest.
$ac_ext <<_ACEOF
14684 import gcc.builtins;
14686 extern(C) int main() {
14690 __atomic_compare_exchange_1(&c1, &c2, c3, false, 5, 5);
14691 __atomic_load_1(&c1, 5);
14692 __atomic_store_1(&c1, c2, 5);
14697 if ac_fn_d_try_link
"$LINENO"; then :
14698 druntime_cv_atomic_byte
=yes
14700 druntime_cv_atomic_byte
=no
14702 rm -f core conftest.err conftest.
$ac_objext \
14703 conftest
$ac_exeext conftest.
$ac_ext
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_byte" >&5
14708 $as_echo "$druntime_cv_atomic_byte" >&6; }
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
14711 $as_echo_n "checking for atomic builtins for short... " >&6; }
14712 if ${druntime_cv_atomic_short+:} false
; then :
14713 $as_echo_n "(cached) " >&6
14716 cat > conftest.
$ac_ext <<_ACEOF
14718 import gcc.builtins;
14720 extern(C) int main() {
14724 __atomic_compare_exchange_2(&c1, &c2, c3, false, 5, 5);
14725 __atomic_load_2(&c1, 5);
14726 __atomic_store_2(&c1, c2, 5);
14731 if ac_fn_d_try_link
"$LINENO"; then :
14732 druntime_cv_atomic_short
=yes
14734 druntime_cv_atomic_short
=no
14736 rm -f core conftest.err conftest.
$ac_objext \
14737 conftest
$ac_exeext conftest.
$ac_ext
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_short" >&5
14742 $as_echo "$druntime_cv_atomic_short" >&6; }
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
14745 $as_echo_n "checking for atomic builtins for int... " >&6; }
14746 if ${druntime_cv_atomic_int+:} false
; then :
14747 $as_echo_n "(cached) " >&6
14750 cat > conftest.
$ac_ext <<_ACEOF
14752 import gcc.builtins;
14754 extern(C) int main() {
14758 __atomic_compare_exchange_4(&c1, &c2, c3, false, 5, 5);
14759 __atomic_load_4(&c1, 5);
14760 __atomic_store_4(&c1, c2, 5);
14765 if ac_fn_d_try_link
"$LINENO"; then :
14766 druntime_cv_atomic_int
=yes
14768 druntime_cv_atomic_int
=no
14770 rm -f core conftest.err conftest.
$ac_objext \
14771 conftest
$ac_exeext conftest.
$ac_ext
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_int" >&5
14776 $as_echo "$druntime_cv_atomic_int" >&6; }
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long" >&5
14779 $as_echo_n "checking for atomic builtins for long... " >&6; }
14780 if ${druntime_cv_atomic_long+:} false
; then :
14781 $as_echo_n "(cached) " >&6
14784 cat > conftest.
$ac_ext <<_ACEOF
14786 import gcc.builtins;
14788 extern(C) int main() {
14792 __atomic_compare_exchange_8(&c1, &c2, c3, false, 5, 5);
14793 __atomic_load_8(&c1, 5);
14794 __atomic_store_8(&c1, c2, 5);
14799 if ac_fn_d_try_link
"$LINENO"; then :
14800 druntime_cv_atomic_long
=yes
14802 druntime_cv_atomic_long
=no
14804 rm -f core conftest.err conftest.
$ac_objext \
14805 conftest
$ac_exeext conftest.
$ac_ext
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_long" >&5
14810 $as_echo "$druntime_cv_atomic_long" >&6; }
14812 # Have atomic builtin support if all but the long test above passes.
14813 DCFG_HAVE_ATOMIC_BUILTINS
=false
14814 if test "$druntime_cv_atomic_byte" = yes \
14815 && test "$druntime_cv_atomic_short" = yes \
14816 && test "$druntime_cv_atomic_int" = yes; then \
14817 DCFG_HAVE_ATOMIC_BUILTINS
=true
14820 # Have 64-bit atomic support if the long test above passes.
14821 DCFG_HAVE_64BIT_ATOMICS
=false
14822 if test "$druntime_cv_atomic_long" = yes; then
14823 DCFG_HAVE_64BIT_ATOMICS
=true
14830 ac_cpp
='$CPP $CPPFLAGS'
14831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14836 GDCFLAGS
=$gdc_save_DFLAGS
14841 # Check whether --with-libatomic was given.
14842 if test "${with_libatomic+set}" = set; then :
14843 withval
=$with_libatomic;
14847 DCFG_HAVE_LIBATOMIC
=false
14849 if test "x$with_libatomic" != "xno"; then :
14851 DCFG_HAVE_LIBATOMIC
=true
14852 LIBATOMIC
=..
/..
/libatomic
/libatomic_convenience.la
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic" >&5
14857 $as_echo_n "checking for libatomic... " >&6; }
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14859 $as_echo "disabled" >&6; }
14868 ac_cpp
='$CPP $CPPFLAGS'
14869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14873 BACKTRACE_SUPPORTED
=false
14874 BACKTRACE_USES_MALLOC
=false
14875 BACKTRACE_SUPPORTS_THREADS
=false
14879 # Check whether --with-libbacktrace was given.
14880 if test "${with_libbacktrace+set}" = set; then :
14881 withval
=$with_libbacktrace;
14885 if test "x$with_libbacktrace" != "xno"; then :
14887 LIBBACKTRACE
=..
/..
/libbacktrace
/libbacktrace.la
14889 gdc_save_CPPFLAGS
=$CPPFLAGS
14890 CPPFLAGS
="$CPPFLAGS -I../libbacktrace "
14892 ac_fn_c_check_header_mongrel
"$LINENO" "backtrace-supported.h" "ac_cv_header_backtrace_supported_h" "$ac_includes_default"
14893 if test "x$ac_cv_header_backtrace_supported_h" = xyes
; then :
14894 have_libbacktrace_h
=true
14896 have_libbacktrace_h
=false
14901 if $have_libbacktrace_h; then
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_SUPPORTED" >&5
14903 $as_echo_n "checking libbacktrace: BACKTRACE_SUPPORTED... " >&6; }
14904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14907 #include <backtrace-supported.h>
14908 #if BACKTRACE_SUPPORTED
14909 FOUND_LIBBACKTRACE_RESULT_GDC
14913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14914 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14915 BACKTRACE_SUPPORTED
=true
14917 BACKTRACE_SUPPORTED
=false
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_SUPPORTED" >&5
14922 $as_echo "$BACKTRACE_SUPPORTED" >&6; }
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_USES_MALLOC" >&5
14925 $as_echo_n "checking libbacktrace: BACKTRACE_USES_MALLOC... " >&6; }
14926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14929 #include <backtrace-supported.h>
14930 #if BACKTRACE_USES_MALLOC
14931 FOUND_LIBBACKTRACE_RESULT_GDC
14935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14936 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14937 BACKTRACE_USES_MALLOC
=true
14939 BACKTRACE_USES_MALLOC
=false
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_USES_MALLOC" >&5
14944 $as_echo "$BACKTRACE_USES_MALLOC" >&6; }
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_SUPPORTS_THREADS" >&5
14947 $as_echo_n "checking libbacktrace: BACKTRACE_SUPPORTS_THREADS... " >&6; }
14948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14951 #include <backtrace-supported.h>
14952 #if BACKTRACE_SUPPORTS_THREADS
14953 FOUND_LIBBACKTRACE_RESULT_GDC
14957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14958 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14959 BACKTRACE_SUPPORTS_THREADS
=true
14961 BACKTRACE_SUPPORTS_THREADS
=false
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_SUPPORTS_THREADS" >&5
14966 $as_echo "$BACKTRACE_SUPPORTS_THREADS" >&6; }
14968 CPPFLAGS
=$gdc_save_CPPFLAGS
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbacktrace" >&5
14973 $as_echo_n "checking for libbacktrace... " >&6; }
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14975 $as_echo "disabled" >&6; }
14984 ac_cpp
='$CPP $CPPFLAGS'
14985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14991 # Libtool has already checked this, so re-use the inferred dlopen lib.
14992 if test "x$enable_dlopen" = "xyes" && test -n "$lt_cv_dlopen_libs"; then :
14994 LIBS
="$LIBS $lt_cv_dlopen_libs"
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
15000 $as_echo_n "checking for socket libraries... " >&6; }
15001 if ${druntime_cv_lib_sockets+:} false
; then :
15002 $as_echo_n "(cached) " >&6
15004 druntime_cv_lib_sockets
=
15005 druntime_check_both
=no
15006 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
15007 if test "x$ac_cv_func_connect" = xyes
; then :
15008 druntime_check_socket
=no
15010 druntime_check_socket
=yes
15013 if test "$druntime_check_socket" = "yes"; then
15014 unset ac_cv_func_connect
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
15016 $as_echo_n "checking for main in -lsocket... " >&6; }
15017 if ${ac_cv_lib_socket_main+:} false
; then :
15018 $as_echo_n "(cached) " >&6
15020 ac_check_lib_save_LIBS
=$LIBS
15021 LIBS
="-lsocket $LIBS"
15022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15034 if ac_fn_c_try_link
"$LINENO"; then :
15035 ac_cv_lib_socket_main
=yes
15037 ac_cv_lib_socket_main
=no
15039 rm -f core conftest.err conftest.
$ac_objext \
15040 conftest
$ac_exeext conftest.
$ac_ext
15041 LIBS
=$ac_check_lib_save_LIBS
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
15044 $as_echo "$ac_cv_lib_socket_main" >&6; }
15045 if test "x$ac_cv_lib_socket_main" = xyes
; then :
15046 druntime_cv_lib_sockets
="-lsocket"
15048 druntime_check_both
=yes
15052 if test "$druntime_check_both" = "yes"; then
15053 druntime_old_libs
=$LIBS
15054 LIBS
="$LIBS -lsocket -lnsl"
15055 unset ac_cv_func_accept
15056 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
15057 if test "x$ac_cv_func_accept" = xyes
; then :
15058 druntime_check_nsl
=no
15059 druntime_cv_lib_sockets
="-lsocket -lnsl"
15062 unset ac_cv_func_accept
15063 LIBS
=$druntime_old_libs
15065 unset ac_cv_func_gethostbyname
15066 druntime_old_libs
="$LIBS"
15067 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
15068 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
15072 $as_echo_n "checking for main in -lnsl... " >&6; }
15073 if ${ac_cv_lib_nsl_main+:} false
; then :
15074 $as_echo_n "(cached) " >&6
15076 ac_check_lib_save_LIBS
=$LIBS
15078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h. */
15090 if ac_fn_c_try_link
"$LINENO"; then :
15091 ac_cv_lib_nsl_main
=yes
15093 ac_cv_lib_nsl_main
=no
15095 rm -f core conftest.err conftest.
$ac_objext \
15096 conftest
$ac_exeext conftest.
$ac_ext
15097 LIBS
=$ac_check_lib_save_LIBS
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
15100 $as_echo "$ac_cv_lib_nsl_main" >&6; }
15101 if test "x$ac_cv_lib_nsl_main" = xyes
; then :
15102 druntime_cv_lib_sockets
="$druntime_cv_lib_sockets -lnsl"
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_lib_sockets" >&5
15110 $as_echo "$druntime_cv_lib_sockets" >&6; }
15111 LIBS
="$LIBS $druntime_cv_lib_sockets"
15115 ac_cpp
='$CPP $CPPFLAGS'
15116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15123 # Check whether --with-target-system-zlib was given.
15124 if test "${with_target_system_zlib+set}" = set; then :
15125 withval
=$with_target_system_zlib;
15127 with_target_system_zlib
=no
15131 case "$with_target_system_zlib" in
15133 *) as_fn_error $?
"Invalid argument for --with-target-system-zlib" "$LINENO" 5 ;;
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for system zlib" >&5
15137 $as_echo_n "checking for system zlib... " >&6; }
15140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15146 gzopen("none", "rb")
15151 if ac_fn_c_try_link
"$LINENO"; then :
15153 if test "$cross_compiling" = yes; then :
15154 system_zlib_found
=no
15157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15158 /* end confdefs.h. */
15162 gzFile file = gzopen("none", "rb");
15167 if ac_fn_c_try_run
"$LINENO"; then :
15168 system_zlib_found
=yes
15170 system_zlib_found
=no
15172 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15173 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15178 system_zlib_found
=no
15180 rm -f core conftest.err conftest.
$ac_objext \
15181 conftest
$ac_exeext conftest.
$ac_ext
15184 if test x
$system_zlib_found = xyes
&& test x
$with_target_system_zlib != xno
; then
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15186 $as_echo "found" >&6; }
15188 elif test x
$system_zlib_found = xno
&& test x
$with_target_system_zlib = xyes
; then
15189 as_fn_error $?
"system zlib required but not found" "$LINENO" 5
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
15192 $as_echo "just compiled" >&6; }
15193 LIBZ
=..
/..
/zlib
/libz_convenience.la
15198 ac_cpp
='$CPP $CPPFLAGS'
15199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking D GCC version" >&5
15208 $as_echo_n "checking D GCC version... " >&6; }
15209 gcc_version
=`eval $get_gcc_base_ver $srcdir/../gcc/BASE-VER`
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_version" >&5
15211 $as_echo "$gcc_version" >&6; }
15215 # Check whether --with-cross-host was given.
15216 if test "${with_cross_host+set}" = set; then :
15217 withval
=$with_cross_host;
15221 libphobos_toolexecdir
=no
15222 libphobos_toolexeclibdir
=no
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
15225 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
15226 # Check whether --enable-version-specific-runtime-libs was given.
15227 if test "${enable_version_specific_runtime_libs+set}" = set; then :
15228 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
15229 yes) version_specific_libs
=yes ;;
15230 no
) version_specific_libs
=no
;;
15231 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
15234 version_specific_libs
=no
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
15238 $as_echo "$version_specific_libs" >&6; }
15240 # Version-specific runtime libs processing.
15241 if test $version_specific_libs = yes; then
15242 libphobos_toolexecdir
='${libdir}/gcc/${host_alias}'
15243 libphobos_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
15245 # Calculate libphobos_toolexecdir, libphobos_toolexeclibdir
15246 # Install a library built with a cross compiler in tooldir, not libdir.
15247 if test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
15248 libphobos_toolexecdir
='${exec_prefix}/${host_alias}'
15249 libphobos_toolexeclibdir
='${toolexecdir}/lib'
15251 libphobos_toolexecdir
='${libdir}/gcc/${host_alias}'
15252 libphobos_toolexeclibdir
='${libdir}'
15254 multi_os_directory
=`$GDC -print-multi-os-directory`
15255 case $multi_os_directory in
15256 .
) ;; # Avoid trailing /.
15257 *) libphobos_toolexeclibdir
=${libphobos_toolexeclibdir}/${multi_os_directory} ;;
15263 # Default case for install directory for D sources files.
15264 gdc_include_dir
='$(libdir)/gcc/${target_alias}/${gcc_version}/include/d'
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-libphobos" >&5
15269 $as_echo_n "checking for --enable-libphobos... " >&6; }
15270 # Check whether --enable-libphobos was given.
15271 if test "${enable_libphobos+set}" = set; then :
15272 enableval
=$enable_libphobos;
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libphobos" >&5
15276 $as_echo "$enable_libphobos" >&6; }
15278 # See if supported.
15279 unset LIBPHOBOS_SUPPORTED
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for libphobos" >&5
15281 $as_echo_n "checking for host support for libphobos... " >&6; }
15282 .
${srcdir}/configure.tgt
15284 x86_64-
*-solaris2.
* | i?
86-*-solaris2.
*)
15285 # libphobos doesn't compile with the Solaris/x86 assembler due to a
15286 # relatively low linelength limit.
15287 as_prog
=`$CC -print-prog-name=as`
15288 if test -n "$as_prog" && $as_prog -v /dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
15289 druntime_cv_use_gas
=yes;
15291 druntime_cv_use_gas
=no
;
15294 if test x
$druntime_cv_use_gas = xno
; then
15295 LIBPHOBOS_SUPPORTED
=no
15297 # 64-bit D execution fails with Solaris ld without -z relax=transtls support.
15298 if test "$druntime_ld_gld" = "no" && test "$druntime_ld_relax_transtls" = "no"; then
15299 LIBPHOBOS_SUPPORTED
=no
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPHOBOS_SUPPORTED" >&5
15304 $as_echo "$LIBPHOBOS_SUPPORTED" >&6; }
15306 # Decide if it's usable.
15307 case $LIBPHOBOS_SUPPORTED:$enable_libphobos in
15308 *:no
) use_libphobos
=no
;;
15309 *:yes) use_libphobos
=yes ;;
15310 yes:*) use_libphobos
=yes ;;
15311 *:*) use_libphobos
=no
;;
15313 if test x
$use_libphobos = xyes
; then
15314 ENABLE_LIBPHOBOS_TRUE
=
15315 ENABLE_LIBPHOBOS_FALSE
='#'
15317 ENABLE_LIBPHOBOS_TRUE
='#'
15318 ENABLE_LIBPHOBOS_FALSE
=
15322 # Add drtbegin.o/drtend.o to startfile/endfile specs in libgphobos.spec
15323 if test "$DCFG_MINFO_BRACKETING" = "false"; then
15324 DRTSTUFF_SPEC
=$srcdir/src
/drtstuff.spec
15326 DRTSTUFF_SPEC
=/dev
/null
15330 # Add dependencies for libgphobos.spec file
15331 SPEC_PHOBOS_DEPS
="$LIBS"
15334 # Libdruntime / phobos soname version
15335 libtool_VERSION
=76:3:0
15338 # Set default flags (after DRUNTIME_WERROR!)
15339 if test -z "$GDCFLAGS"; then
15340 GDCFLAGS
="-Wall $WERROR_FLAG -g -frelease -O2"
15344 if test -z "$GDCFLAGSX"; then
15345 GDCFLAGSX
="-Wall $WERROR_FLAG -g -fno-release -funittest"
15349 # Sanity check for the cross-compilation case:
15350 ac_fn_c_check_header_mongrel
"$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
15351 if test "x$ac_cv_header_stdio_h" = xyes
; then :
15354 as_fn_error $?
"cannot find stdio.h." "$LINENO" 5
15359 ac_config_files
="$ac_config_files Makefile"
15362 ac_config_files
="$ac_config_files libdruntime/gcc/config.d libdruntime/gcc/libbacktrace.d"
15364 ac_config_files
="$ac_config_files src/libgphobos.spec"
15366 ac_config_files
="$ac_config_files testsuite/testsuite_flags"
15369 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
15370 # that multilib installs will end up installed in the correct place.
15371 # The testsuite needs it for multilib-aware ABI baseline files.
15372 # To work around this not being passed down from config-ml.in ->
15373 # srcdir/Makefile.am -> srcdir/{src,libdruntime,...}/Makefile.am, manually
15374 # append it here. Only modify Makefiles that have just been created.
15376 # Also, get rid of this simulated-VPATH thing that automake does.
15377 ac_config_files
="$ac_config_files libdruntime/Makefile src/Makefile testsuite/Makefile"
15380 cat >confcache
<<\_ACEOF
15381 # This file is a shell script that caches the results of configure
15382 # tests run on this system so they can be shared between configure
15383 # scripts and configure runs, see configure's option --config-cache.
15384 # It is not useful on other systems. If it contains results you don't
15385 # want to keep, you may remove or edit it.
15387 # config.status only pays attention to the cache file if you give it
15388 # the --recheck option to rerun configure.
15390 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15391 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15392 # following values.
15396 # The following way of writing the cache mishandles newlines in values,
15397 # but we know of no workaround that is simple, portable, and efficient.
15398 # So, we kill variables containing newlines.
15399 # Ultrix sh set writes to stderr and can't be redirected directly,
15400 # and sets the high bit in the cache file unless we assign to the vars.
15402 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15403 eval ac_val
=\$
$ac_var
15407 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15408 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15411 _ | IFS | as_nl
) ;; #(
15412 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15413 *) { eval $ac_var=; unset $ac_var;} ;;
15419 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15420 *${as_nl}ac_space
=\
*)
15421 # `set' does not quote correctly, so add quotes: double-quote
15422 # substitution turns \\\\ into \\, and sed turns \\ into \.
15425 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15428 # `set' quotes correctly as required by POSIX, so do not add quotes.
15429 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15438 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15440 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15442 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15443 if test -w "$cache_file"; then
15444 if test "x$cache_file" != "x/dev/null"; then
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15446 $as_echo "$as_me: updating cache $cache_file" >&6;}
15447 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15448 cat confcache
>"$cache_file"
15450 case $cache_file in #(
15452 mv -f confcache
"$cache_file"$$
&&
15453 mv -f "$cache_file"$$
"$cache_file" ;; #(
15455 mv -f confcache
"$cache_file" ;;
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15461 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15466 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15467 # Let make expand exec_prefix.
15468 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15470 DEFS
=-DHAVE_CONFIG_H
15475 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15476 # 1. Remove the extension, and $U if already installed.
15477 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15478 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15479 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15480 # will be set to the directory where LIBOBJS objects are built.
15481 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15482 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15484 LIBOBJS
=$ac_libobjs
15486 LTLIBOBJS
=$ac_ltlibobjs
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15490 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15491 if test -n "$am_sleep_pid"; then
15492 # Hide warnings about reused PIDs.
15493 wait $am_sleep_pid 2>/dev
/null
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15496 $as_echo "done" >&6; }
15497 if test -n "$EXEEXT"; then
15499 am__EXEEXT_FALSE
='#'
15501 am__EXEEXT_TRUE
='#'
15505 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15506 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15509 if test -z "${DRUNTIME_GC_ENABLE_TRUE}" && test -z "${DRUNTIME_GC_ENABLE_FALSE}"; then
15510 as_fn_error $?
"conditional \"DRUNTIME_GC_ENABLE\" was never defined.
15511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15513 if test -z "${DRUNTIME_CPU_AARCH64_TRUE}" && test -z "${DRUNTIME_CPU_AARCH64_FALSE}"; then
15514 as_fn_error $?
"conditional \"DRUNTIME_CPU_AARCH64\" was never defined.
15515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15517 if test -z "${DRUNTIME_CPU_ARM_TRUE}" && test -z "${DRUNTIME_CPU_ARM_FALSE}"; then
15518 as_fn_error $?
"conditional \"DRUNTIME_CPU_ARM\" was never defined.
15519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15521 if test -z "${DRUNTIME_CPU_MIPS_TRUE}" && test -z "${DRUNTIME_CPU_MIPS_FALSE}"; then
15522 as_fn_error $?
"conditional \"DRUNTIME_CPU_MIPS\" was never defined.
15523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15525 if test -z "${DRUNTIME_CPU_POWERPC_TRUE}" && test -z "${DRUNTIME_CPU_POWERPC_FALSE}"; then
15526 as_fn_error $?
"conditional \"DRUNTIME_CPU_POWERPC\" was never defined.
15527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15529 if test -z "${DRUNTIME_CPU_POWERPC64_TRUE}" && test -z "${DRUNTIME_CPU_POWERPC64_FALSE}"; then
15530 as_fn_error $?
"conditional \"DRUNTIME_CPU_POWERPC64\" was never defined.
15531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15533 if test -z "${DRUNTIME_CPU_X86_TRUE}" && test -z "${DRUNTIME_CPU_X86_FALSE}"; then
15534 as_fn_error $?
"conditional \"DRUNTIME_CPU_X86\" was never defined.
15535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15537 if test -z "${DRUNTIME_OS_UNIX_TRUE}" && test -z "${DRUNTIME_OS_UNIX_FALSE}"; then
15538 as_fn_error $?
"conditional \"DRUNTIME_OS_UNIX\" was never defined.
15539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15541 if test -z "${DRUNTIME_OS_AIX_TRUE}" && test -z "${DRUNTIME_OS_AIX_FALSE}"; then
15542 as_fn_error $?
"conditional \"DRUNTIME_OS_AIX\" was never defined.
15543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15545 if test -z "${DRUNTIME_OS_ANDROID_TRUE}" && test -z "${DRUNTIME_OS_ANDROID_FALSE}"; then
15546 as_fn_error $?
"conditional \"DRUNTIME_OS_ANDROID\" was never defined.
15547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15549 if test -z "${DRUNTIME_OS_DARWIN_TRUE}" && test -z "${DRUNTIME_OS_DARWIN_FALSE}"; then
15550 as_fn_error $?
"conditional \"DRUNTIME_OS_DARWIN\" was never defined.
15551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15553 if test -z "${DRUNTIME_OS_DRAGONFLYBSD_TRUE}" && test -z "${DRUNTIME_OS_DRAGONFLYBSD_FALSE}"; then
15554 as_fn_error $?
"conditional \"DRUNTIME_OS_DRAGONFLYBSD\" was never defined.
15555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15557 if test -z "${DRUNTIME_OS_FREEBSD_TRUE}" && test -z "${DRUNTIME_OS_FREEBSD_FALSE}"; then
15558 as_fn_error $?
"conditional \"DRUNTIME_OS_FREEBSD\" was never defined.
15559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15561 if test -z "${DRUNTIME_OS_NETBSD_TRUE}" && test -z "${DRUNTIME_OS_NETBSD_FALSE}"; then
15562 as_fn_error $?
"conditional \"DRUNTIME_OS_NETBSD\" was never defined.
15563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15565 if test -z "${DRUNTIME_OS_OPENBSD_TRUE}" && test -z "${DRUNTIME_OS_OPENBSD_FALSE}"; then
15566 as_fn_error $?
"conditional \"DRUNTIME_OS_OPENBSD\" was never defined.
15567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15569 if test -z "${DRUNTIME_OS_LINUX_TRUE}" && test -z "${DRUNTIME_OS_LINUX_FALSE}"; then
15570 as_fn_error $?
"conditional \"DRUNTIME_OS_LINUX\" was never defined.
15571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15573 if test -z "${DRUNTIME_OS_MINGW_TRUE}" && test -z "${DRUNTIME_OS_MINGW_FALSE}"; then
15574 as_fn_error $?
"conditional \"DRUNTIME_OS_MINGW\" was never defined.
15575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15577 if test -z "${DRUNTIME_OS_SOLARIS_TRUE}" && test -z "${DRUNTIME_OS_SOLARIS_FALSE}"; then
15578 as_fn_error $?
"conditional \"DRUNTIME_OS_SOLARIS\" was never defined.
15579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15581 if test -z "${DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE}" && test -z "${DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE}"; then
15582 as_fn_error $?
"conditional \"DRUNTIME_OS_ARM_EABI_UNWINDER\" was never defined.
15583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15585 if test -z "${DRUNTIME_OS_MINFO_BRACKETING_TRUE}" && test -z "${DRUNTIME_OS_MINFO_BRACKETING_FALSE}"; then
15586 as_fn_error $?
"conditional \"DRUNTIME_OS_MINFO_BRACKETING\" was never defined.
15587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15589 if test -z "${ENABLE_LIBPHOBOS_TRUE}" && test -z "${ENABLE_LIBPHOBOS_FALSE}"; then
15590 as_fn_error $?
"conditional \"ENABLE_LIBPHOBOS\" was never defined.
15591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15594 : "${CONFIG_STATUS=./config.status}"
15596 ac_clean_files_save
=$ac_clean_files
15597 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15599 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15601 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15603 # Generated by $as_me.
15604 # Run this file to recreate the current configuration.
15605 # Compiler output produced by configure, useful for debugging
15606 # configure, is in config.log if it exists.
15609 ac_cs_recheck=false
15612 SHELL=\${CONFIG_SHELL-$SHELL}
15615 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15616 ## -------------------- ##
15617 ## M4sh Initialization. ##
15618 ## -------------------- ##
15620 # Be more Bourne compatible
15621 DUALCASE
=1; export DUALCASE
# for MKS sh
15622 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15625 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15626 # is contrary to our usage. Disable this feature.
15627 alias -g '${1+"$@"}'='"$@"'
15628 setopt NO_GLOB_SUBST
15630 case `(set -o) 2>/dev/null` in #(
15642 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15643 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15644 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15645 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15646 # Prefer a ksh shell builtin over an external printf program on Solaris,
15647 # but without wasting forks for bash or zsh.
15648 if test -z "$BASH_VERSION$ZSH_VERSION" \
15649 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15650 as_echo='print
-r --'
15651 as_echo_n='print
-rn --'
15652 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15653 as_echo='printf %s
\n'
15654 as_echo_n='printf %s
'
15656 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15657 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15658 as_echo_n='/usr
/ucb
/echo -n'
15660 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15661 as_echo_n_body='eval
15665 expr "X$arg" : "X\\(.*\\)$as_nl";
15666 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15668 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15670 export as_echo_n_body
15671 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15673 export as_echo_body
15674 as_echo='sh
-c $as_echo_body as_echo
'
15677 # The user is always right.
15678 if test "${PATH_SEPARATOR+set}" != set; then
15680 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15681 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15688 # We need space, tab and new line, in precisely that order. Quoting is
15689 # there to prevent editors from complaining about space-tab.
15690 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15691 # splitting by setting IFS to empty value.)
15694 # Find who we are. Look in the path if we contain no directory separator.
15697 *[\\/]* ) as_myself=$0 ;;
15698 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15699 for as_dir in $PATH
15702 test -z "$as_dir" && as_dir=.
15703 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15709 # We did not find ourselves, most probably we were run as `sh COMMAND'
15710 # in which case we are not to be found in the path.
15711 if test "x$as_myself" = x
; then
15714 if test ! -f "$as_myself"; then
15715 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15719 # Unset variables that we do not need and which cause bugs (e.g. in
15720 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15721 # suppresses any "Segmentation fault" message there. '((' could
15722 # trigger a bug in pdksh 5.2.14.
15723 for as_var
in BASH_ENV ENV MAIL MAILPATH
15724 do eval test x\
${$as_var+set} = xset \
15725 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15738 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15741 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15742 # ----------------------------------------
15743 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15744 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15745 # script with STATUS, using 1 if that was 0.
15748 as_status
=$1; test $as_status -eq 0 && as_status
=1
15750 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15751 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15753 $as_echo "$as_me: error: $2" >&2
15754 as_fn_exit
$as_status
15758 # as_fn_set_status STATUS
15759 # -----------------------
15760 # Set $? to STATUS, without forking.
15761 as_fn_set_status
()
15764 } # as_fn_set_status
15766 # as_fn_exit STATUS
15767 # -----------------
15768 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15772 as_fn_set_status
$1
15778 # Portably unset VAR.
15781 { eval $1=; unset $1;}
15783 as_unset
=as_fn_unset
15784 # as_fn_append VAR VALUE
15785 # ----------------------
15786 # Append the text in VALUE to the end of the definition contained in VAR. Take
15787 # advantage of any shell optimizations that allow amortized linear growth over
15788 # repeated appends, instead of the typical quadratic growth present in naive
15790 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15791 eval 'as_fn_append ()
15802 # as_fn_arith ARG...
15803 # ------------------
15804 # Perform arithmetic evaluation on the ARGs, and store the result in the
15805 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15806 # must be portable across $(()) and expr.
15807 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15808 eval 'as_fn_arith ()
15815 as_val
=`expr "$@" || test $? -eq 1`
15820 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15821 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15827 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15828 as_basename
=basename
15833 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15839 as_me
=`$as_basename -- "$0" ||
15840 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15841 X"$0" : 'X\(//\)$' \| \
15842 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15844 sed '/^.*\/\([^/][^/]*\)\/*$/{
15858 # Avoid depending upon Character Ranges.
15859 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15860 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15861 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15862 as_cr_digits
='0123456789'
15863 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15865 ECHO_C
= ECHO_N
= ECHO_T
=
15866 case `echo -n x` in #(((((
15868 case `echo 'xy\c'` in
15869 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15871 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15878 rm -f conf$$ conf$$.exe conf$$.
file
15879 if test -d conf$$.dir
; then
15880 rm -f conf$$.dir
/conf$$.
file
15883 mkdir conf$$.dir
2>/dev
/null
15885 if (echo >conf$$.
file) 2>/dev
/null
; then
15886 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15888 # ... but there are two gotchas:
15889 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15890 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15891 # In both cases, we have to default to `cp -pR'.
15892 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15894 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15902 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15903 rmdir conf$$.dir
2>/dev
/null
15908 # Create "$as_dir" as a directory, including parents if necessary.
15913 -*) as_dir
=.
/$as_dir;;
15915 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15919 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15920 *) as_qdir
=$as_dir;;
15922 as_dirs
="'$as_qdir' $as_dirs"
15923 as_dir
=`$as_dirname -- "$as_dir" ||
15924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15925 X"$as_dir" : 'X\(//\)[^/]' \| \
15926 X"$as_dir" : 'X\(//\)$' \| \
15927 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15928 $as_echo X"$as_dir" |
15929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15933 /^X\(\/\/\)[^/].*/{
15946 test -d "$as_dir" && break
15948 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15949 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15953 if mkdir
-p .
2>/dev
/null
; then
15954 as_mkdir_p
='mkdir -p "$as_dir"'
15956 test -d .
/-p && rmdir .
/-p
15961 # as_fn_executable_p FILE
15962 # -----------------------
15963 # Test if FILE is an executable regular file.
15964 as_fn_executable_p
()
15966 test -f "$1" && test -x "$1"
15967 } # as_fn_executable_p
15968 as_test_x
='test -x'
15969 as_executable_p
=as_fn_executable_p
15971 # Sed expression to map a string onto a valid CPP name.
15972 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15974 # Sed expression to map a string onto a valid variable name.
15975 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15979 ## ----------------------------------- ##
15980 ## Main body of $CONFIG_STATUS script. ##
15981 ## ----------------------------------- ##
15983 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15986 # Save the log message, to keep $0 and so on meaningful, and to
15987 # report actual input values of CONFIG_FILES etc. instead of their
15988 # values after options handling.
15990 This file was extended by package-unused $as_me version-unused, which was
15991 generated by GNU Autoconf 2.69. Invocation command line was
15993 CONFIG_FILES = $CONFIG_FILES
15994 CONFIG_HEADERS = $CONFIG_HEADERS
15995 CONFIG_LINKS = $CONFIG_LINKS
15996 CONFIG_COMMANDS = $CONFIG_COMMANDS
15999 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16004 case $ac_config_files in *"
16005 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16008 case $ac_config_headers in *"
16009 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16014 # Files that config.status was made for.
16015 config_files="$ac_config_files"
16016 config_headers="$ac_config_headers"
16017 config_commands="$ac_config_commands"
16021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16023 \`$as_me' instantiates files and other configuration actions
16024 from templates according to the current configuration. Unless the files
16025 and actions are specified as TAGs, all are instantiated by default.
16027 Usage: $0 [OPTION]... [TAG]...
16029 -h, --help print this help, then exit
16030 -V, --version print version number and configuration settings, then exit
16031 --config print configuration, then exit
16032 -q, --quiet, --silent
16033 do not print progress messages
16034 -d, --debug don't remove temporary files
16035 --recheck update $as_me by reconfiguring in the same conditions
16036 --file=FILE[:TEMPLATE]
16037 instantiate the configuration file FILE
16038 --header=FILE[:TEMPLATE]
16039 instantiate the configuration header FILE
16041 Configuration files:
16044 Configuration headers:
16047 Configuration commands:
16050 Report bugs to the package provider."
16053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16054 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16056 package-unused config.status version-unused
16057 configured by $0, generated by GNU Autoconf 2.69,
16058 with options \\"\$ac_cs_config\\"
16060 Copyright (C) 2012 Free Software Foundation, Inc.
16061 This config.status script is free software; the Free Software Foundation
16062 gives unlimited permission to copy, distribute and modify it."
16069 test -n "\$AWK" || AWK=awk
16072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16073 # The default lists apply if the user does not specify any file.
16079 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16080 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16084 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16096 # Handling of the options.
16097 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16099 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16100 $as_echo "$ac_cs_version"; exit ;;
16101 --config |
--confi |
--conf |
--con |
--co |
--c )
16102 $as_echo "$ac_cs_config"; exit ;;
16103 --debug |
--debu |
--deb |
--de |
--d |
-d )
16105 --file |
--fil |
--fi |
--f )
16108 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16109 '') as_fn_error $?
"missing file argument" ;;
16111 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16112 ac_need_defaults
=false
;;
16113 --header |
--heade |
--head |
--hea )
16116 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16118 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16119 ac_need_defaults
=false
;;
16121 # Conflict between --help and --header
16122 as_fn_error $?
"ambiguous option: \`$1'
16123 Try \`$0 --help' for more information.";;
16124 --help |
--hel |
-h )
16125 $as_echo "$ac_cs_usage"; exit ;;
16126 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16127 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16130 # This is an error.
16131 -*) as_fn_error $?
"unrecognized option: \`$1'
16132 Try \`$0 --help' for more information." ;;
16134 *) as_fn_append ac_config_targets
" $1"
16135 ac_need_defaults
=false
;;
16141 ac_configure_extra_args
=
16143 if $ac_cs_silent; then
16145 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16150 if \$ac_cs_recheck; then
16151 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16153 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16154 CONFIG_SHELL='$SHELL'
16155 export CONFIG_SHELL
16160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16164 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16165 ## Running $as_me. ##
16171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16179 with_multisubdir="$with_multisubdir"
16180 with_multisrctop="$with_multisrctop"
16181 with_target_subdir="$with_target_subdir"
16182 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16183 multi_basedir="$multi_basedir"
16184 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16187 GFORTRAN="$GFORTRAN"
16191 # The HP-UX ksh and POSIX shell print the target directory to stdout
16192 # if CDPATH is set.
16193 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16195 sed_quote_subst='$sed_quote_subst'
16196 double_quote_subst='$double_quote_subst'
16197 delay_variable_subst='$delay_variable_subst'
16198 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16199 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16200 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16201 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16202 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16203 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16204 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16205 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16206 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16207 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16208 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16209 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16210 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16211 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16212 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16213 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16214 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16215 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16216 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16217 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16218 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16219 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16220 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16221 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16222 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16223 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16224 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16225 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16226 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16227 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16228 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16229 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16230 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16231 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16232 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16233 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16234 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16235 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16236 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16237 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16238 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16239 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16240 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16241 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16242 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16243 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16244 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16245 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16246 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"`'
16247 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16248 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16249 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16250 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16251 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16252 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16253 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16254 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16255 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16256 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16257 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16258 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16259 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16260 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16261 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16262 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16263 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16264 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16265 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16266 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16267 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16268 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16269 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16270 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16271 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16272 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16273 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16274 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16275 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16276 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16277 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16278 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16279 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16280 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16281 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16282 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16283 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16284 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16285 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16286 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16287 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16288 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16289 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16290 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16291 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16292 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16293 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16294 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16295 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16296 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16297 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16298 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16299 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16300 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16301 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16302 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16303 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16304 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16305 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16306 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16307 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16308 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16309 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16310 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16311 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16312 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16313 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16314 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16315 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16316 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16317 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16318 LD_D='`$ECHO "$LD_D" | $SED "$delay_single_quote_subst"`'
16319 reload_flag_D='`$ECHO "$reload_flag_D" | $SED "$delay_single_quote_subst"`'
16320 reload_cmds_D='`$ECHO "$reload_cmds_D" | $SED "$delay_single_quote_subst"`'
16321 old_archive_cmds_D='`$ECHO "$old_archive_cmds_D" | $SED "$delay_single_quote_subst"`'
16322 compiler_D='`$ECHO "$compiler_D" | $SED "$delay_single_quote_subst"`'
16323 GCC_D='`$ECHO "$GCC_D" | $SED "$delay_single_quote_subst"`'
16324 lt_prog_compiler_no_builtin_flag_D='`$ECHO "$lt_prog_compiler_no_builtin_flag_D" | $SED "$delay_single_quote_subst"`'
16325 lt_prog_compiler_wl_D='`$ECHO "$lt_prog_compiler_wl_D" | $SED "$delay_single_quote_subst"`'
16326 lt_prog_compiler_pic_D='`$ECHO "$lt_prog_compiler_pic_D" | $SED "$delay_single_quote_subst"`'
16327 lt_prog_compiler_static_D='`$ECHO "$lt_prog_compiler_static_D" | $SED "$delay_single_quote_subst"`'
16328 lt_cv_prog_compiler_c_o_D='`$ECHO "$lt_cv_prog_compiler_c_o_D" | $SED "$delay_single_quote_subst"`'
16329 archive_cmds_need_lc_D='`$ECHO "$archive_cmds_need_lc_D" | $SED "$delay_single_quote_subst"`'
16330 enable_shared_with_static_runtimes_D='`$ECHO "$enable_shared_with_static_runtimes_D" | $SED "$delay_single_quote_subst"`'
16331 export_dynamic_flag_spec_D='`$ECHO "$export_dynamic_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16332 whole_archive_flag_spec_D='`$ECHO "$whole_archive_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16333 compiler_needs_object_D='`$ECHO "$compiler_needs_object_D" | $SED "$delay_single_quote_subst"`'
16334 old_archive_from_new_cmds_D='`$ECHO "$old_archive_from_new_cmds_D" | $SED "$delay_single_quote_subst"`'
16335 old_archive_from_expsyms_cmds_D='`$ECHO "$old_archive_from_expsyms_cmds_D" | $SED "$delay_single_quote_subst"`'
16336 archive_cmds_D='`$ECHO "$archive_cmds_D" | $SED "$delay_single_quote_subst"`'
16337 archive_expsym_cmds_D='`$ECHO "$archive_expsym_cmds_D" | $SED "$delay_single_quote_subst"`'
16338 module_cmds_D='`$ECHO "$module_cmds_D" | $SED "$delay_single_quote_subst"`'
16339 module_expsym_cmds_D='`$ECHO "$module_expsym_cmds_D" | $SED "$delay_single_quote_subst"`'
16340 with_gnu_ld_D='`$ECHO "$with_gnu_ld_D" | $SED "$delay_single_quote_subst"`'
16341 allow_undefined_flag_D='`$ECHO "$allow_undefined_flag_D" | $SED "$delay_single_quote_subst"`'
16342 no_undefined_flag_D='`$ECHO "$no_undefined_flag_D" | $SED "$delay_single_quote_subst"`'
16343 hardcode_libdir_flag_spec_D='`$ECHO "$hardcode_libdir_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16344 hardcode_libdir_flag_spec_ld_D='`$ECHO "$hardcode_libdir_flag_spec_ld_D" | $SED "$delay_single_quote_subst"`'
16345 hardcode_libdir_separator_D='`$ECHO "$hardcode_libdir_separator_D" | $SED "$delay_single_quote_subst"`'
16346 hardcode_direct_D='`$ECHO "$hardcode_direct_D" | $SED "$delay_single_quote_subst"`'
16347 hardcode_direct_absolute_D='`$ECHO "$hardcode_direct_absolute_D" | $SED "$delay_single_quote_subst"`'
16348 hardcode_minus_L_D='`$ECHO "$hardcode_minus_L_D" | $SED "$delay_single_quote_subst"`'
16349 hardcode_shlibpath_var_D='`$ECHO "$hardcode_shlibpath_var_D" | $SED "$delay_single_quote_subst"`'
16350 hardcode_automatic_D='`$ECHO "$hardcode_automatic_D" | $SED "$delay_single_quote_subst"`'
16351 inherit_rpath_D='`$ECHO "$inherit_rpath_D" | $SED "$delay_single_quote_subst"`'
16352 link_all_deplibs_D='`$ECHO "$link_all_deplibs_D" | $SED "$delay_single_quote_subst"`'
16353 fix_srcfile_path_D='`$ECHO "$fix_srcfile_path_D" | $SED "$delay_single_quote_subst"`'
16354 always_export_symbols_D='`$ECHO "$always_export_symbols_D" | $SED "$delay_single_quote_subst"`'
16355 export_symbols_cmds_D='`$ECHO "$export_symbols_cmds_D" | $SED "$delay_single_quote_subst"`'
16356 exclude_expsyms_D='`$ECHO "$exclude_expsyms_D" | $SED "$delay_single_quote_subst"`'
16357 include_expsyms_D='`$ECHO "$include_expsyms_D" | $SED "$delay_single_quote_subst"`'
16358 prelink_cmds_D='`$ECHO "$prelink_cmds_D" | $SED "$delay_single_quote_subst"`'
16359 file_list_spec_D='`$ECHO "$file_list_spec_D" | $SED "$delay_single_quote_subst"`'
16360 hardcode_action_D='`$ECHO "$hardcode_action_D" | $SED "$delay_single_quote_subst"`'
16363 LTCFLAGS='$LTCFLAGS'
16364 compiler='$compiler_DEFAULT'
16366 # A function that is used when there is no print builtin or printf.
16367 func_fallback_echo ()
16369 eval 'cat <<_LTECHO_EOF
16374 # Quote evaled strings.
16388 deplibs_check_method \
16397 lt_cv_sys_global_symbol_pipe \
16398 lt_cv_sys_global_symbol_to_cdecl \
16399 lt_cv_sys_global_symbol_to_c_name_address \
16400 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16401 lt_prog_compiler_no_builtin_flag \
16402 lt_prog_compiler_wl \
16403 lt_prog_compiler_pic \
16404 lt_prog_compiler_static \
16405 lt_cv_prog_compiler_c_o \
16413 export_dynamic_flag_spec \
16414 whole_archive_flag_spec \
16415 compiler_needs_object \
16417 allow_undefined_flag \
16418 no_undefined_flag \
16419 hardcode_libdir_flag_spec \
16420 hardcode_libdir_flag_spec_ld \
16421 hardcode_libdir_separator \
16426 variables_saved_for_relink \
16428 library_names_spec \
16430 install_override_mode \
16437 lt_prog_compiler_no_builtin_flag_D \
16438 lt_prog_compiler_wl_D \
16439 lt_prog_compiler_pic_D \
16440 lt_prog_compiler_static_D \
16441 lt_cv_prog_compiler_c_o_D \
16442 export_dynamic_flag_spec_D \
16443 whole_archive_flag_spec_D \
16444 compiler_needs_object_D \
16446 allow_undefined_flag_D \
16447 no_undefined_flag_D \
16448 hardcode_libdir_flag_spec_D \
16449 hardcode_libdir_flag_spec_ld_D \
16450 hardcode_libdir_separator_D \
16451 fix_srcfile_path_D \
16452 exclude_expsyms_D \
16453 include_expsyms_D \
16454 file_list_spec_D; do
16455 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16456 *[\\\\\\\`\\"\\\$]*)
16457 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16460 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16465 # Double-quote double-evaled strings.
16466 for var in reload_cmds \
16467 old_postinstall_cmds \
16468 old_postuninstall_cmds \
16470 extract_expsyms_cmds \
16471 old_archive_from_new_cmds \
16472 old_archive_from_expsyms_cmds \
16474 archive_expsym_cmds \
16476 module_expsym_cmds \
16477 export_symbols_cmds \
16480 postuninstall_cmds \
16482 sys_lib_search_path_spec \
16483 sys_lib_dlsearch_path_spec \
16485 old_archive_cmds_D \
16486 old_archive_from_new_cmds_D \
16487 old_archive_from_expsyms_cmds_D \
16489 archive_expsym_cmds_D \
16491 module_expsym_cmds_D \
16492 export_symbols_cmds_D \
16494 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16495 *[\\\\\\\`\\"\\\$]*)
16496 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16499 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16504 ac_aux_dir='$ac_aux_dir'
16505 xsi_shell='$xsi_shell'
16506 lt_shell_append='$lt_shell_append'
16508 # See if we are running on zsh, and set the options which allow our
16509 # commands through without removal of \ escapes INIT.
16510 if test -n "\${ZSH_VERSION+set}" ; then
16511 setopt NO_GLOB_SUBST
16517 TIMESTAMP='$TIMESTAMP'
16528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16530 # Handling of arguments.
16531 for ac_config_target
in $ac_config_targets
16533 case $ac_config_target in
16534 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16535 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16536 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16537 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16538 "libdruntime/gcc/config.d") CONFIG_FILES
="$CONFIG_FILES libdruntime/gcc/config.d" ;;
16539 "libdruntime/gcc/libbacktrace.d") CONFIG_FILES
="$CONFIG_FILES libdruntime/gcc/libbacktrace.d" ;;
16540 "src/libgphobos.spec") CONFIG_FILES
="$CONFIG_FILES src/libgphobos.spec" ;;
16541 "testsuite/testsuite_flags") CONFIG_FILES
="$CONFIG_FILES testsuite/testsuite_flags" ;;
16542 "libdruntime/Makefile") CONFIG_FILES
="$CONFIG_FILES libdruntime/Makefile" ;;
16543 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
16544 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16546 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16551 # If the user did not use the arguments to specify the items to instantiate,
16552 # then the envvar interface is used. Set only those that are not.
16553 # We use the long form for the default assignment because of an extremely
16554 # bizarre bug on SunOS 4.1.3.
16555 if $ac_need_defaults; then
16556 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16557 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16558 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16561 # Have a temporary directory for convenience. Make it in the build tree
16562 # simply because there is no reason against having it here, and in addition,
16563 # creating and moving files from /tmp can sometimes cause problems.
16564 # Hook for its removal unless debugging.
16565 # Note that there is a small window in which the directory will not be cleaned:
16566 # after its creation but before its name has been assigned to `$tmp'.
16570 trap 'exit_status=$?
16571 : "${ac_tmp:=$tmp}"
16572 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16574 trap 'as_fn_exit 1' 1 2 13 15
16576 # Create a (secure) tmp directory for tmp files.
16579 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16583 tmp
=.
/conf$$
-$RANDOM
16584 (umask 077 && mkdir
"$tmp")
16585 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16588 # Set up the scripts for CONFIG_FILES section.
16589 # No need to generate them if there are no CONFIG_FILES.
16590 # This happens for instance with `./config.status config.h'.
16591 if test -n "$CONFIG_FILES"; then
16593 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16594 ac_cs_awk_getline
=:
16595 ac_cs_awk_pipe_init
=
16596 ac_cs_awk_read_file
='
16597 while ((getline aline < (F[key])) > 0)
16600 ac_cs_awk_pipe_fini
=
16602 ac_cs_awk_getline
=false
16603 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16604 ac_cs_awk_read_file
='
16606 print "cat " F[key] " &&"
16607 '$ac_cs_awk_pipe_init
16608 # The final `:' finishes the AND list.
16609 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16611 ac_cr
=`echo X | tr X '\015'`
16612 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16613 # But we know of no other shell where ac_cr would be empty at this
16614 # point, so we can use a bashism as a fallback.
16615 if test "x$ac_cr" = x
; then
16616 eval ac_cr
=\$
\'\\r
\'
16618 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16619 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16622 ac_cs_awk_cr
=$ac_cr
16625 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16628 # Create commands to substitute file output variables.
16630 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16631 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16632 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16635 } >conf$
$files.sh
&&
16636 . .
/conf$
$files.sh ||
16637 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16638 rm -f conf$
$files.sh
16641 echo "cat >conf$$subs.awk <<_ACEOF" &&
16642 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16644 } >conf$$subs.sh ||
16645 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16646 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16648 for ac_last_try in false false false false false :; do
16649 . ./conf$$subs.sh ||
16650 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16652 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16653 if test $ac_delim_n = $ac_delim_num; then
16655 elif $ac_last_try; then
16656 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16658 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16661 rm -f conf$$subs.sh
16663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16664 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16668 s/^/S["/; s
/!.
*/"]=/
16678 s/\(.\{148\}\)..*/\1/
16680 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16685 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16692 s/\(.\{148\}\)..*/\1/
16694 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16698 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16703 ' <conf$$subs.awk | sed '
16708 ' >>$CONFIG_STATUS || ac_write_fail=1
16709 rm -f conf$$subs.awk
16710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16712 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16713 for (key in S) S_is_set[key] = 1
16715 \$ac_cs_awk_pipe_init
16719 nfields = split(line, field, "@
")
16721 len = length(field[1])
16722 for (i = 2; i < nfields; i++) {
16724 keylen = length(key)
16725 if (S_is_set[key]) {
16727 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16728 len += length(value) + length(field[++i])
16733 if (nfields == 3 && !substed) {
16735 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16736 \$ac_cs_awk_read_file
16742 \$ac_cs_awk_pipe_fini
16745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16746 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16747 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16750 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16751 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16754 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16755 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16756 # trailing colons and then remove the whole line if VPATH becomes empty
16757 # (actually we leave an empty line to preserve line numbers).
16758 if test "x
$srcdir" = x.; then
16759 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16778 fi # test -n "$CONFIG_FILES"
16780 # Set up the scripts for CONFIG_HEADERS section.
16781 # No need to generate them if there are no CONFIG_HEADERS.
16782 # This happens for instance with `./config.status Makefile'.
16783 if test -n "$CONFIG_HEADERS"; then
16784 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16788 # Transform confdefs.h into an awk script `defines.awk', embedded as
16789 # here-document in config.status, that substitutes the proper values into
16790 # config.h.in to produce config.h.
16792 # Create a delimiter string that does not exist in confdefs.h, to ease
16793 # handling of long lines.
16795 for ac_last_try in false false :; do
16796 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16797 if test -z "$ac_tt"; then
16799 elif $ac_last_try; then
16800 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16802 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16806 # For the awk script, D is an array of macro values keyed by name,
16807 # likewise P contains macro parameters if any. Preserve backslash
16808 # newline sequences.
16810 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16812 s/.\{148\}/&'"$ac_delim"'/g
16815 s/^[ ]*#[ ]*define[ ][ ]*/ /
16822 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16824 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16828 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16829 D["\
1"]=" \
3\\\\\\n
"\\/p
16831 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16836 s/.\{148\}/&'"$ac_delim"'/g
16841 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16844 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16846 ' <confdefs.h | sed '
16847 s/'"$ac_delim"'/"\\\
16848 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16851 for (key in D) D_is_set[key] = 1
16854 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16856 split(line, arg, " ")
16857 if (arg[1] == "#") {
16861 defundef
= substr
(arg
[1], 2)
16864 split(mac1
, mac2
, "(") #)
16866 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16867 if (D_is_set
[macro
]) {
16868 # Preserve the white space surrounding the "#".
16869 print prefix
"define", macro P
[macro
] D
[macro
]
16872 # Replace #undef with comments. This is necessary, for example,
16873 # in the case of _POSIX_SOURCE, which is predefined and required
16874 # on some systems where configure will not decide to define it.
16875 if (defundef
== "undef") {
16876 print
"/*", prefix defundef
, macro
, "*/"
16884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16885 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16886 fi # test -n "$CONFIG_HEADERS"
16889 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16894 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16896 case $ac_mode$ac_tag in
16898 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16899 :[FH
]-) ac_tag
=-:-;;
16900 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16917 -) ac_f
="$ac_tmp/stdin";;
16918 *) # Look for the file first in the build tree, then in the source tree
16919 # (if the path is not absolute). The absolute path cannot be DOS-style,
16920 # because $ac_f cannot contain `:'.
16924 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16926 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16928 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16929 as_fn_append ac_file_inputs
" '$ac_f'"
16932 # Let's still pretend it is `configure' which instantiates (i.e., don't
16933 # use $as_me), people would be surprised to read:
16934 # /* config.h. Generated by config.status. */
16935 configure_input
='Generated from '`
16936 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16938 if test x
"$ac_file" != x-
; then
16939 configure_input
="$ac_file. $configure_input"
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16941 $as_echo "$as_me: creating $ac_file" >&6;}
16943 # Neutralize special characters interpreted by sed in replacement strings.
16944 case $configure_input in #(
16945 *\
&* |
*\|
* |
*\\* )
16946 ac_sed_conf_input
=`$as_echo "$configure_input" |
16947 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16948 *) ac_sed_conf_input
=$configure_input;;
16952 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16953 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16958 ac_dir
=`$as_dirname -- "$ac_file" ||
16959 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16960 X"$ac_file" : 'X\(//\)[^/]' \| \
16961 X"$ac_file" : 'X\(//\)$' \| \
16962 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16963 $as_echo X"$ac_file" |
16964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16968 /^X\(\/\/\)[^/].*/{
16981 as_dir
="$ac_dir"; as_fn_mkdir_p
16985 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16987 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16988 # A ".." for each directory in $ac_dir_suffix.
16989 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16990 case $ac_top_builddir_sub in
16991 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16992 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16995 ac_abs_top_builddir
=$ac_pwd
16996 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16997 # for backward compatibility:
16998 ac_top_builddir
=$ac_top_build_prefix
17001 .
) # We are building in place.
17003 ac_top_srcdir
=$ac_top_builddir_sub
17004 ac_abs_top_srcdir
=$ac_pwd ;;
17005 [\\/]* | ?
:[\\/]* ) # Absolute name.
17006 ac_srcdir
=$srcdir$ac_dir_suffix;
17007 ac_top_srcdir
=$srcdir
17008 ac_abs_top_srcdir
=$srcdir ;;
17009 *) # Relative name.
17010 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17011 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17012 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17014 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17024 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17025 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17027 ac_MKDIR_P
=$MKDIR_P
17029 [\\/$
]* | ?
:[\\/]* ) ;;
17030 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17035 # If the template does not know about datarootdir, expand it.
17036 # FIXME: This hack should be removed a few years after 2.60.
17037 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17048 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17049 *datarootdir
*) ac_datarootdir_seen
=yes;;
17050 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17052 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17055 ac_datarootdir_hack='
17056 s&@datadir@&$datadir&g
17057 s&@docdir@&$docdir&g
17058 s&@infodir@&$infodir&g
17059 s&@localedir@&$localedir&g
17060 s&@mandir@&$mandir&g
17061 s&\\\${datarootdir}&$datarootdir&g' ;;
17065 # Neutralize VPATH when `$srcdir' = `.'.
17066 # Shell code in configure.ac might set extrasub.
17067 # FIXME: do we really want to maintain this feature?
17068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17069 ac_sed_extra="$ac_vpsub
17072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17074 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17075 s|@configure_input@|
$ac_sed_conf_input|
;t t
17076 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17077 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17078 s
&@srcdir@
&$ac_srcdir&;t t
17079 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17080 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17081 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17082 s
&@builddir@
&$ac_builddir&;t t
17083 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17084 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17085 s
&@INSTALL@
&$ac_INSTALL&;t t
17086 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17087 $ac_datarootdir_hack
17089 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17090 if $ac_cs_awk_getline; then
17091 $AWK -f "$ac_tmp/subs.
awk"
17093 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17095 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17097 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17098 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17099 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17100 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17102 which seems to be undefined. Please make sure it is defined" >&5
17103 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17104 which seems to be undefined. Please make sure it is defined" >&2;}
17106 rm -f "$ac_tmp/stdin"
17108 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17109 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17111 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17117 if test x"$ac_file" != x-; then
17119 $as_echo "/* $configure_input */" \
17120 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17121 } >"$ac_tmp/config.h" \
17122 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17123 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17125 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17128 mv "$ac_tmp/config.h" "$ac_file" \
17129 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17132 $as_echo "/* $configure_input */" \
17133 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17134 || as_fn_error $? "could not create -" "$LINENO" 5
17136 # Compute "$ac_file"'s index
in $config_headers.
17139 for _am_header
in $config_headers :; do
17140 case $_am_header in
17141 $_am_arg |
$_am_arg:* )
17144 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17147 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17148 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17149 X"$_am_arg" : 'X\(//\)[^/]' \| \
17150 X"$_am_arg" : 'X\(//\)$' \| \
17151 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17152 $as_echo X"$_am_arg" |
17153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17157 /^X\(\/\/\)[^/].*/{
17169 s/.*/./; q'`/stamp-h
$_am_stamp_count
17172 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17173 $as_echo "$as_me: executing $ac_file commands" >&6;}
17178 case $ac_file$ac_mode in
17180 # Only add multilib support code if we just rebuilt the top-level
17182 case " $CONFIG_FILES " in
17184 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17189 # See if we are running on zsh, and set the options which allow our
17190 # commands through without removal of \ escapes.
17191 if test -n "${ZSH_VERSION+set}" ; then
17192 setopt NO_GLOB_SUBST
17195 cfgfile
="${ofile}T"
17196 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17199 cat <<_LT_EOF >> "$cfgfile"
17202 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17203 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17204 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17205 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17207 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17208 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17209 # Written by Gordon Matzigkeit, 1996
17211 # This file is part of GNU Libtool.
17213 # GNU Libtool is free software; you can redistribute it and/or
17214 # modify it under the terms of the GNU General Public License as
17215 # published by the Free Software Foundation; either version 2 of
17216 # the License, or (at your option) any later version.
17218 # As a special exception to the GNU General Public License,
17219 # if you distribute this file as part of a program or library that
17220 # is built using GNU Libtool, you may include this file under the
17221 # same distribution terms that you use for the rest of that program.
17223 # GNU Libtool is distributed in the hope that it will be useful,
17224 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17225 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17226 # GNU General Public License for more details.
17228 # You should have received a copy of the GNU General Public License
17229 # along with GNU Libtool; see the file COPYING. If not, a copy
17230 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17231 # obtained by writing to the Free Software Foundation, Inc.,
17232 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17235 # The names of the tagged configurations supported by this script.
17236 available_tags="D "
17238 # ### BEGIN LIBTOOL CONFIG
17240 # Which release of libtool.m4 was used?
17241 macro_version=$macro_version
17242 macro_revision=$macro_revision
17244 # Whether or not to build shared libraries.
17245 build_libtool_libs=$enable_shared
17247 # Whether or not to build static libraries.
17248 build_old_libs=$enable_static
17250 # What type of objects to build.
17253 # Whether or not to optimize for fast installation.
17254 fast_install=$enable_fast_install
17256 # Shell to use when invoking shell scripts.
17259 # An echo program that protects backslashes.
17263 host_alias=$host_alias
17267 # The build system.
17268 build_alias=$build_alias
17272 # A sed program that does not truncate output.
17275 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17276 Xsed="\$SED -e 1s/^X//"
17278 # A grep program that handles long lines.
17284 # A literal string matcher.
17287 # A BSD- or MS-compatible name lister.
17290 # Whether we need soft or hard links.
17293 # What is the maximum length of a command?
17294 max_cmd_len=$max_cmd_len
17296 # Object file suffix (normally "o").
17299 # Executable file suffix (normally "").
17302 # whether the shell understands "unset".
17305 # turn spaces into newlines.
17308 # turn newlines into spaces.
17311 # An object symbol dumper.
17312 OBJDUMP=$lt_OBJDUMP
17314 # Method to check whether dependent libraries are shared objects.
17315 deplibs_check_method=$lt_deplibs_check_method
17317 # Command to use when deplibs_check_method == "file_magic".
17318 file_magic_cmd=$lt_file_magic_cmd
17322 AR_FLAGS=$lt_AR_FLAGS
17324 # A symbol stripping program.
17327 # Commands used to install an old-style archive.
17329 old_postinstall_cmds=$lt_old_postinstall_cmds
17330 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17332 # Whether to use a lock for old archive extraction.
17333 lock_old_archive_extraction=$lock_old_archive_extraction
17338 # LTCC compiler flags.
17339 LTCFLAGS=$lt_CFLAGS
17341 # Take the output of nm and produce a listing of raw symbols and C names.
17342 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17344 # Transform the output of nm in a proper C declaration.
17345 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17347 # Transform the output of nm in a C name address pair.
17348 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17350 # Transform the output of nm in a C name address pair when lib prefix is needed.
17351 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17353 # The name of the directory that contains temporary libtool files.
17356 # Used to examine libraries when file_magic_cmd begins with "file".
17357 MAGIC_CMD=$MAGIC_CMD
17359 # Must we lock files when doing compilation?
17360 need_locks=$lt_need_locks
17362 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17363 DSYMUTIL=$lt_DSYMUTIL
17365 # Tool to change global to local symbols on Mac OS X.
17368 # Tool to manipulate fat objects and archives on Mac OS X.
17371 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17374 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17375 OTOOL64=$lt_OTOOL64
17377 # Old archive suffix (normally "a").
17380 # Shared library suffix (normally ".so").
17381 shrext_cmds=$lt_shrext_cmds
17383 # The commands to extract the exported symbol list from a shared archive.
17384 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17386 # Variables whose values should be saved in libtool wrapper scripts and
17387 # restored at link time.
17388 variables_saved_for_relink=$lt_variables_saved_for_relink
17390 # Do we need the "lib" prefix for modules?
17391 need_lib_prefix=$need_lib_prefix
17393 # Do we need a version for libraries?
17394 need_version=$need_version
17396 # Library versioning type.
17397 version_type=$version_type
17399 # Shared library runtime path variable.
17400 runpath_var=$runpath_var
17402 # Shared library path variable.
17403 shlibpath_var=$shlibpath_var
17405 # Is shlibpath searched before the hard-coded library search path?
17406 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17408 # Format of library name prefix.
17409 libname_spec=$lt_libname_spec
17411 # List of archive names. First name is the real one, the rest are links.
17412 # The last name is the one that the linker finds with -lNAME
17413 library_names_spec=$lt_library_names_spec
17415 # The coded name of the library, if different from the real name.
17416 soname_spec=$lt_soname_spec
17418 # Permission mode override for installation of shared libraries.
17419 install_override_mode=$lt_install_override_mode
17421 # Command to use after installation of a shared archive.
17422 postinstall_cmds=$lt_postinstall_cmds
17424 # Command to use after uninstallation of a shared archive.
17425 postuninstall_cmds=$lt_postuninstall_cmds
17427 # Commands used to finish a libtool library installation in a directory.
17428 finish_cmds=$lt_finish_cmds
17430 # As "finish_cmds", except a single script fragment to be evaled but
17432 finish_eval=$lt_finish_eval
17434 # Whether we should hardcode library paths into libraries.
17435 hardcode_into_libs=$hardcode_into_libs
17437 # Compile-time system search path for libraries.
17438 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17440 # Run-time system search path for libraries.
17441 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17443 # Whether dlopen is supported.
17444 dlopen_support=$enable_dlopen
17446 # Whether dlopen of programs is supported.
17447 dlopen_self=$enable_dlopen_self
17449 # Whether dlopen of statically linked programs is supported.
17450 dlopen_self_static=$enable_dlopen_self_static
17452 # Commands to strip libraries.
17453 old_striplib=$lt_old_striplib
17454 striplib=$lt_striplib
17457 # The linker used to build libraries.
17460 # How to create reloadable object files.
17461 reload_flag=$lt_reload_flag
17462 reload_cmds=$lt_reload_cmds
17464 # Commands used to build an old-style archive.
17465 old_archive_cmds=$lt_old_archive_cmds
17467 # A language specific compiler.
17470 # Is the compiler the GNU compiler?
17473 # Compiler flag to turn off builtin functions.
17474 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17476 # How to pass a linker flag through the compiler.
17477 wl=$lt_lt_prog_compiler_wl
17479 # Additional compiler flags for building library objects.
17480 pic_flag=$lt_lt_prog_compiler_pic
17482 # Compiler flag to prevent dynamic linking.
17483 link_static_flag=$lt_lt_prog_compiler_static
17485 # Does compiler simultaneously support -c and -o options?
17486 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17488 # Whether or not to add -lc for building shared libraries.
17489 build_libtool_need_lc=$archive_cmds_need_lc
17491 # Whether or not to disallow shared libs when runtime libs are static.
17492 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17494 # Compiler flag to allow reflexive dlopens.
17495 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17497 # Compiler flag to generate shared objects directly from archives.
17498 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17500 # Whether the compiler copes with passing no objects directly.
17501 compiler_needs_object=$lt_compiler_needs_object
17503 # Create an old-style archive from a shared archive.
17504 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17506 # Create a temporary old-style archive to link instead of a shared archive.
17507 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17509 # Commands used to build a shared archive.
17510 archive_cmds=$lt_archive_cmds
17511 archive_expsym_cmds=$lt_archive_expsym_cmds
17513 # Commands used to build a loadable module if different from building
17514 # a shared archive.
17515 module_cmds=$lt_module_cmds
17516 module_expsym_cmds=$lt_module_expsym_cmds
17518 # Whether we are building with GNU ld or not.
17519 with_gnu_ld=$lt_with_gnu_ld
17521 # Flag that allows shared libraries with undefined symbols to be built.
17522 allow_undefined_flag=$lt_allow_undefined_flag
17524 # Flag that enforces no undefined symbols.
17525 no_undefined_flag=$lt_no_undefined_flag
17527 # Flag to hardcode \$libdir into a binary during linking.
17528 # This must work even if \$libdir does not exist
17529 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17531 # If ld is used when linking, flag to hardcode \$libdir into a binary
17532 # during linking. This must work even if \$libdir does not exist.
17533 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17535 # Whether we need a single "-rpath" flag with a separated argument.
17536 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17538 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17539 # DIR into the resulting binary.
17540 hardcode_direct=$hardcode_direct
17542 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17543 # DIR into the resulting binary and the resulting library dependency is
17544 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17545 # library is relocated.
17546 hardcode_direct_absolute=$hardcode_direct_absolute
17548 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17549 # into the resulting binary.
17550 hardcode_minus_L=$hardcode_minus_L
17552 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17553 # into the resulting binary.
17554 hardcode_shlibpath_var=$hardcode_shlibpath_var
17556 # Set to "yes" if building a shared library automatically hardcodes DIR
17557 # into the library and all subsequent libraries and executables linked
17559 hardcode_automatic=$hardcode_automatic
17561 # Set to yes if linker adds runtime paths of dependent libraries
17562 # to runtime path list.
17563 inherit_rpath=$inherit_rpath
17565 # Whether libtool must link a program against all its dependency libraries.
17566 link_all_deplibs=$link_all_deplibs
17568 # Fix the shell variable \$srcfile for the compiler.
17569 fix_srcfile_path=$lt_fix_srcfile_path
17571 # Set to "yes" if exported symbols are required.
17572 always_export_symbols=$always_export_symbols
17574 # The commands to list exported symbols.
17575 export_symbols_cmds=$lt_export_symbols_cmds
17577 # Symbols that should not be listed in the preloaded symbols.
17578 exclude_expsyms=$lt_exclude_expsyms
17580 # Symbols that must always be exported.
17581 include_expsyms=$lt_include_expsyms
17583 # Commands necessary for linking programs (against libraries) with templates.
17584 prelink_cmds=$lt_prelink_cmds
17586 # Specify filename containing input files.
17587 file_list_spec=$lt_file_list_spec
17589 # How to hardcode a shared library path into an executable.
17590 hardcode_action=$hardcode_action
17592 # ### END LIBTOOL CONFIG
17598 cat <<\_LT_EOF
>> "$cfgfile"
17599 # AIX sometimes has problems with the GCC collect2 program. For some
17600 # reason, if we set the COLLECT_NAMES environment variable, the problems
17601 # vanish in a puff of smoke.
17602 if test "X${COLLECT_NAMES+set}" != Xset
; then
17604 export COLLECT_NAMES
17611 ltmain
="$ac_aux_dir/ltmain.sh"
17614 # We use sed instead of cat because bash on DJGPP gets confused if
17615 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17616 # text mode, it properly converts lines to CR/LF. This bash problem
17617 # is reportedly fixed, but why not run on old versions too?
17618 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17619 ||
(rm -f "$cfgfile"; exit 1)
17623 cat << \_LT_EOF
>> "$cfgfile"
17625 # func_dirname file append nondir_replacement
17626 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17627 # otherwise set result to NONDIR_REPLACEMENT.
17631 */*) func_dirname_result
="${1%/*}${2}" ;;
17632 * ) func_dirname_result
="${3}" ;;
17636 # func_basename file
17639 func_basename_result
="${1##*/}"
17642 # func_dirname_and_basename file append nondir_replacement
17643 # perform func_basename and func_dirname in a single function
17645 # dirname: Compute the dirname of FILE. If nonempty,
17646 # add APPEND to the result, otherwise set result
17647 # to NONDIR_REPLACEMENT.
17648 # value returned in "$func_dirname_result"
17649 # basename: Compute filename of FILE.
17650 # value retuned in "$func_basename_result"
17651 # Implementation must be kept synchronized with func_dirname
17652 # and func_basename. For efficiency, we do not delegate to
17653 # those functions but instead duplicate the functionality here.
17654 func_dirname_and_basename
()
17657 */*) func_dirname_result
="${1%/*}${2}" ;;
17658 * ) func_dirname_result
="${3}" ;;
17660 func_basename_result
="${1##*/}"
17663 # func_stripname prefix suffix name
17664 # strip PREFIX and SUFFIX off of NAME.
17665 # PREFIX and SUFFIX must not contain globbing or regex special
17666 # characters, hashes, percent signs, but SUFFIX may contain a leading
17667 # dot (in which case that matches only a dot).
17670 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17671 # positional parameters, so assign one to ordinary parameter first.
17672 func_stripname_result
=${3}
17673 func_stripname_result
=${func_stripname_result#"${1}"}
17674 func_stripname_result
=${func_stripname_result%"${2}"}
17680 func_opt_split_opt
=${1%%=*}
17681 func_opt_split_arg
=${1#*=}
17688 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17689 *) func_lo2o_result
=${1} ;;
17693 # func_xform libobj-or-source
17696 func_xform_result
=${1%.*}.lo
17699 # func_arith arithmetic-term...
17702 func_arith_result
=$
(( $
* ))
17706 # STRING may not start with a hyphen.
17709 func_len_result
=${#1}
17714 *) # Bourne compatible functions.
17715 cat << \_LT_EOF
>> "$cfgfile"
17717 # func_dirname file append nondir_replacement
17718 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17719 # otherwise set result to NONDIR_REPLACEMENT.
17722 # Extract subdirectory from the argument.
17723 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17724 if test "X$func_dirname_result" = "X${1}"; then
17725 func_dirname_result
="${3}"
17727 func_dirname_result
="$func_dirname_result${2}"
17731 # func_basename file
17734 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17738 # func_stripname prefix suffix name
17739 # strip PREFIX and SUFFIX off of NAME.
17740 # PREFIX and SUFFIX must not contain globbing or regex special
17741 # characters, hashes, percent signs, but SUFFIX may contain a leading
17742 # dot (in which case that matches only a dot).
17743 # func_strip_suffix prefix name
17747 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17748 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17753 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17754 my_sed_long_arg
='1s/^-[^=]*=//'
17759 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17760 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17766 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17769 # func_xform libobj-or-source
17772 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17775 # func_arith arithmetic-term...
17778 func_arith_result
=`expr "$@"`
17782 # STRING may not start with a hyphen.
17785 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17791 case $lt_shell_append in
17793 cat << \_LT_EOF
>> "$cfgfile"
17795 # func_append var value
17796 # Append VALUE to the end of shell variable VAR.
17804 cat << \_LT_EOF
>> "$cfgfile"
17806 # func_append var value
17807 # Append VALUE to the end of shell variable VAR.
17818 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17819 ||
(rm -f "$cfgfile"; exit 1)
17821 mv -f "$cfgfile" "$ofile" ||
17822 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17826 cat <<_LT_EOF >> "$ofile"
17828 # ### BEGIN LIBTOOL TAG CONFIG: D
17830 # The linker used to build libraries.
17833 # How to create reloadable object files.
17834 reload_flag=$lt_reload_flag_D
17835 reload_cmds=$lt_reload_cmds_D
17837 # Commands used to build an old-style archive.
17838 old_archive_cmds=$lt_old_archive_cmds_D
17840 # A language specific compiler.
17843 # Is the compiler the GNU compiler?
17846 # Compiler flag to turn off builtin functions.
17847 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_D
17849 # How to pass a linker flag through the compiler.
17850 wl=$lt_lt_prog_compiler_wl_D
17852 # Additional compiler flags for building library objects.
17853 pic_flag=$lt_lt_prog_compiler_pic_D
17855 # Compiler flag to prevent dynamic linking.
17856 link_static_flag=$lt_lt_prog_compiler_static_D
17858 # Does compiler simultaneously support -c and -o options?
17859 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_D
17861 # Whether or not to add -lc for building shared libraries.
17862 build_libtool_need_lc=$archive_cmds_need_lc_D
17864 # Whether or not to disallow shared libs when runtime libs are static.
17865 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_D
17867 # Compiler flag to allow reflexive dlopens.
17868 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_D
17870 # Compiler flag to generate shared objects directly from archives.
17871 whole_archive_flag_spec=$lt_whole_archive_flag_spec_D
17873 # Whether the compiler copes with passing no objects directly.
17874 compiler_needs_object=$lt_compiler_needs_object_D
17876 # Create an old-style archive from a shared archive.
17877 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_D
17879 # Create a temporary old-style archive to link instead of a shared archive.
17880 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_D
17882 # Commands used to build a shared archive.
17883 archive_cmds=$lt_archive_cmds_D
17884 archive_expsym_cmds=$lt_archive_expsym_cmds_D
17886 # Commands used to build a loadable module if different from building
17887 # a shared archive.
17888 module_cmds=$lt_module_cmds_D
17889 module_expsym_cmds=$lt_module_expsym_cmds_D
17891 # Whether we are building with GNU ld or not.
17892 with_gnu_ld=$lt_with_gnu_ld_D
17894 # Flag that allows shared libraries with undefined symbols to be built.
17895 allow_undefined_flag=$lt_allow_undefined_flag_D
17897 # Flag that enforces no undefined symbols.
17898 no_undefined_flag=$lt_no_undefined_flag_D
17900 # Flag to hardcode \$libdir into a binary during linking.
17901 # This must work even if \$libdir does not exist
17902 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_D
17904 # If ld is used when linking, flag to hardcode \$libdir into a binary
17905 # during linking. This must work even if \$libdir does not exist.
17906 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_D
17908 # Whether we need a single "-rpath" flag with a separated argument.
17909 hardcode_libdir_separator=$lt_hardcode_libdir_separator_D
17911 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17912 # DIR into the resulting binary.
17913 hardcode_direct=$hardcode_direct_D
17915 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17916 # DIR into the resulting binary and the resulting library dependency is
17917 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17918 # library is relocated.
17919 hardcode_direct_absolute=$hardcode_direct_absolute_D
17921 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17922 # into the resulting binary.
17923 hardcode_minus_L=$hardcode_minus_L_D
17925 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17926 # into the resulting binary.
17927 hardcode_shlibpath_var=$hardcode_shlibpath_var_D
17929 # Set to "yes" if building a shared library automatically hardcodes DIR
17930 # into the library and all subsequent libraries and executables linked
17932 hardcode_automatic=$hardcode_automatic_D
17934 # Set to yes if linker adds runtime paths of dependent libraries
17935 # to runtime path list.
17936 inherit_rpath=$inherit_rpath_D
17938 # Whether libtool must link a program against all its dependency libraries.
17939 link_all_deplibs=$link_all_deplibs_D
17941 # Fix the shell variable \$srcfile for the compiler.
17942 fix_srcfile_path=$lt_fix_srcfile_path_D
17944 # Set to "yes" if exported symbols are required.
17945 always_export_symbols=$always_export_symbols_D
17947 # The commands to list exported symbols.
17948 export_symbols_cmds=$lt_export_symbols_cmds_D
17950 # Symbols that should not be listed in the preloaded symbols.
17951 exclude_expsyms=$lt_exclude_expsyms_D
17953 # Symbols that must always be exported.
17954 include_expsyms=$lt_include_expsyms_D
17956 # Commands necessary for linking programs (against libraries) with templates.
17957 prelink_cmds=$lt_prelink_cmds_D
17959 # Specify filename containing input files.
17960 file_list_spec=$lt_file_list_spec_D
17962 # How to hardcode a shared library path into an executable.
17963 hardcode_action=$hardcode_action_D
17965 # ### END LIBTOOL TAG CONFIG: D
17969 "testsuite/testsuite_flags":F
) chmod +x testsuite
/testsuite_flags
;;
17970 "libdruntime/Makefile":F
) cat > vpsed$$
<< \_EOF
17971 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17973 sed -f vpsed$$
$ac_file > tmp$$
17976 echo 'MULTISUBDIR =' >> $ac_file
17978 .
${multi_basedir}/config-ml.
in
17979 { ml_norecursion
=; unset ml_norecursion
;}
17981 "src/Makefile":F
) cat > vpsed$$
<< \_EOF
17982 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17984 sed -f vpsed$$
$ac_file > tmp$$
17987 echo 'MULTISUBDIR =' >> $ac_file
17989 .
${multi_basedir}/config-ml.
in
17990 { ml_norecursion
=; unset ml_norecursion
;}
17992 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
17993 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17995 sed -f vpsed$$
$ac_file > tmp$$
17998 echo 'MULTISUBDIR =' >> $ac_file
18000 .
${multi_basedir}/config-ml.
in
18001 { ml_norecursion
=; unset ml_norecursion
;}
18010 ac_clean_files
=$ac_clean_files_save
18012 test $ac_write_fail = 0 ||
18013 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18016 # configure is writing to config.log, and then calls config.status.
18017 # config.status does its own redirection, appending to config.log.
18018 # Unfortunately, on DOS this fails, as config.log is still kept open
18019 # by configure, so config.status won't be able to write to it; its
18020 # output is simply discarded. So we exec the FD to /dev/null,
18021 # effectively closing config.log, so it can be properly (re)opened and
18022 # appended to by config.status. When coming back to configure, we
18023 # need to make the FD available again.
18024 if test "$no_create" != yes; then
18026 ac_config_status_args
=
18027 test "$silent" = yes &&
18028 ac_config_status_args
="$ac_config_status_args --quiet"
18030 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18032 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18033 # would make configure fail if this is the last instruction.
18034 $ac_cs_success || as_fn_exit
1
18036 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18038 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}