2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='package-unused'
589 PACKAGE_TARNAME
='libphobos'
590 PACKAGE_VERSION
='version-unused'
591 PACKAGE_STRING
='package-unused version-unused'
595 ac_unique_file
="libdruntime/gcc/attribute.d"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
640 libphobos_toolexeclibdir
641 libphobos_toolexecdir
644 BACKTRACE_SUPPORTS_THREADS
645 BACKTRACE_USES_MALLOC
650 DCFG_HAVE_64BIT_ATOMICS
651 DCFG_HAVE_ATOMIC_BUILTINS
654 DRUNTIME_OS_MINFO_BRACKETING_FALSE
655 DRUNTIME_OS_MINFO_BRACKETING_TRUE
656 DCFG_MINFO_BRACKETING
657 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
658 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
659 DCFG_ARM_EABI_UNWINDER
661 DRUNTIME_OS_SOLARIS_FALSE
662 DRUNTIME_OS_SOLARIS_TRUE
663 DRUNTIME_OS_MINGW_FALSE
664 DRUNTIME_OS_MINGW_TRUE
665 DRUNTIME_OS_LINUX_FALSE
666 DRUNTIME_OS_LINUX_TRUE
667 DRUNTIME_OS_OPENBSD_FALSE
668 DRUNTIME_OS_OPENBSD_TRUE
669 DRUNTIME_OS_NETBSD_FALSE
670 DRUNTIME_OS_NETBSD_TRUE
671 DRUNTIME_OS_FREEBSD_FALSE
672 DRUNTIME_OS_FREEBSD_TRUE
673 DRUNTIME_OS_DRAGONFLYBSD_FALSE
674 DRUNTIME_OS_DRAGONFLYBSD_TRUE
675 DRUNTIME_OS_DARWIN_FALSE
676 DRUNTIME_OS_DARWIN_TRUE
677 DRUNTIME_OS_ANDROID_FALSE
678 DRUNTIME_OS_ANDROID_TRUE
679 DRUNTIME_OS_AIX_FALSE
681 DRUNTIME_OS_UNIX_FALSE
682 DRUNTIME_OS_UNIX_TRUE
683 DRUNTIME_GC_ENABLE_FALSE
684 DRUNTIME_GC_ENABLE_TRUE
688 phobos_compiler_shared_flag
689 phobos_compiler_pic_flag
712 MAINTAINER_MODE_FALSE
737 INSTALL_STRIP_PROGRAM
792 program_transform_name
803 ac_subst_files
='DRTSTUFF_SPEC'
805 enable_option_checking
808 enable_maintainer_mode
815 with_gcc_major_version_only
822 with_target_system_zlib
824 enable_version_specific_runtime_libs
826 ac_precious_vars
='build_alias
833 # Initialize some variables set by options.
835 ac_init_version
=false
836 ac_unrecognized_opts
=
838 # The variables have the same names as the options, with
839 # dashes changed to underlines.
847 program_transform_name
=s
,x
,x
,
855 # Installation directory options.
856 # These are left unexpanded so users can "make install exec_prefix=/foo"
857 # and all the variables that are supposed to be based on exec_prefix
858 # by default will actually change.
859 # Use braces instead of parens because sh, perl, etc. also accept them.
860 # (The list follows the same order as the GNU Coding Standards.)
861 bindir
='${exec_prefix}/bin'
862 sbindir
='${exec_prefix}/sbin'
863 libexecdir
='${exec_prefix}/libexec'
864 datarootdir
='${prefix}/share'
865 datadir
='${datarootdir}'
866 sysconfdir
='${prefix}/etc'
867 sharedstatedir
='${prefix}/com'
868 localstatedir
='${prefix}/var'
869 includedir
='${prefix}/include'
870 oldincludedir
='/usr/include'
871 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
872 infodir
='${datarootdir}/info'
877 libdir
='${exec_prefix}/lib'
878 localedir
='${datarootdir}/locale'
879 mandir
='${datarootdir}/man'
885 # If the previous option needs an argument, assign it.
886 if test -n "$ac_prev"; then
887 eval $ac_prev=\
$ac_option
893 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
898 # Accept the important Cygnus configure options, so we can diagnose typos.
900 case $ac_dashdash$ac_option in
904 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
906 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
909 -build |
--build |
--buil |
--bui |
--bu)
910 ac_prev
=build_alias
;;
911 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
912 build_alias
=$ac_optarg ;;
914 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
915 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
916 ac_prev
=cache_file
;;
917 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
918 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
919 cache_file
=$ac_optarg ;;
922 cache_file
=config.cache
;;
924 -datadir |
--datadir |
--datadi |
--datad)
926 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
927 datadir
=$ac_optarg ;;
929 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
930 |
--dataroo |
--dataro |
--datar)
931 ac_prev
=datarootdir
;;
932 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
933 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
934 datarootdir
=$ac_optarg ;;
936 -disable-* |
--disable-*)
937 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
940 as_fn_error $?
"invalid feature name: $ac_useropt"
941 ac_useropt_orig
=$ac_useropt
942 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943 case $ac_user_opts in
947 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948 ac_unrecognized_sep
=', ';;
950 eval enable_
$ac_useropt=no
;;
952 -docdir |
--docdir |
--docdi |
--doc |
--do)
954 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
957 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
959 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
962 -enable-* |
--enable-*)
963 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
966 as_fn_error $?
"invalid feature name: $ac_useropt"
967 ac_useropt_orig
=$ac_useropt
968 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
973 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974 ac_unrecognized_sep
=', ';;
976 eval enable_
$ac_useropt=\
$ac_optarg ;;
978 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
979 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
980 |
--exec |
--exe |
--ex)
981 ac_prev
=exec_prefix
;;
982 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
983 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
984 |
--exec=* |
--exe=* |
--ex=*)
985 exec_prefix
=$ac_optarg ;;
987 -gas |
--gas |
--ga |
--g)
988 # Obsolete; use --with-gas.
991 -help |
--help |
--hel |
--he |
-h)
993 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
994 ac_init_help
=recursive
;;
995 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
996 ac_init_help
=short
;;
998 -host |
--host |
--hos |
--ho)
999 ac_prev
=host_alias
;;
1000 -host=* |
--host=* |
--hos=* |
--ho=*)
1001 host_alias
=$ac_optarg ;;
1003 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1005 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1007 htmldir
=$ac_optarg ;;
1009 -includedir |
--includedir |
--includedi |
--included |
--include \
1010 |
--includ |
--inclu |
--incl |
--inc)
1011 ac_prev
=includedir
;;
1012 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1013 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1014 includedir
=$ac_optarg ;;
1016 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1018 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1019 infodir
=$ac_optarg ;;
1021 -libdir |
--libdir |
--libdi |
--libd)
1023 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1024 libdir
=$ac_optarg ;;
1026 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1027 |
--libexe |
--libex |
--libe)
1028 ac_prev
=libexecdir
;;
1029 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1030 |
--libexe=* |
--libex=* |
--libe=*)
1031 libexecdir
=$ac_optarg ;;
1033 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1034 ac_prev
=localedir
;;
1035 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1036 localedir
=$ac_optarg ;;
1038 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1039 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1040 ac_prev
=localstatedir
;;
1041 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1042 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1043 localstatedir
=$ac_optarg ;;
1045 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1047 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1048 mandir
=$ac_optarg ;;
1050 -nfp |
--nfp |
--nf)
1051 # Obsolete; use --without-fp.
1054 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1055 |
--no-cr |
--no-c |
-n)
1058 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1059 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1062 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1063 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1064 |
--oldin |
--oldi |
--old |
--ol |
--o)
1065 ac_prev
=oldincludedir
;;
1066 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1067 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1068 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1069 oldincludedir
=$ac_optarg ;;
1071 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1073 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1074 prefix
=$ac_optarg ;;
1076 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1077 |
--program-pre |
--program-pr |
--program-p)
1078 ac_prev
=program_prefix
;;
1079 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1080 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1081 program_prefix
=$ac_optarg ;;
1083 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1084 |
--program-suf |
--program-su |
--program-s)
1085 ac_prev
=program_suffix
;;
1086 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1087 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1088 program_suffix
=$ac_optarg ;;
1090 -program-transform-name |
--program-transform-name \
1091 |
--program-transform-nam |
--program-transform-na \
1092 |
--program-transform-n |
--program-transform- \
1093 |
--program-transform |
--program-transfor \
1094 |
--program-transfo |
--program-transf \
1095 |
--program-trans |
--program-tran \
1096 |
--progr-tra |
--program-tr |
--program-t)
1097 ac_prev
=program_transform_name
;;
1098 -program-transform-name=* |
--program-transform-name=* \
1099 |
--program-transform-nam=* |
--program-transform-na=* \
1100 |
--program-transform-n=* |
--program-transform-=* \
1101 |
--program-transform=* |
--program-transfor=* \
1102 |
--program-transfo=* |
--program-transf=* \
1103 |
--program-trans=* |
--program-tran=* \
1104 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1105 program_transform_name
=$ac_optarg ;;
1107 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1109 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1110 pdfdir
=$ac_optarg ;;
1112 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1114 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1117 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1118 |
-silent |
--silent |
--silen |
--sile |
--sil)
1121 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1123 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1125 sbindir
=$ac_optarg ;;
1127 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1128 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1129 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1131 ac_prev
=sharedstatedir
;;
1132 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1133 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1134 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1136 sharedstatedir
=$ac_optarg ;;
1138 -site |
--site |
--sit)
1140 -site=* |
--site=* |
--sit=*)
1143 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1145 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1146 srcdir
=$ac_optarg ;;
1148 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1149 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1150 ac_prev
=sysconfdir
;;
1151 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1152 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1153 sysconfdir
=$ac_optarg ;;
1155 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1156 ac_prev
=target_alias
;;
1157 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1158 target_alias
=$ac_optarg ;;
1160 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1163 -version |
--version |
--versio |
--versi |
--vers |
-V)
1164 ac_init_version
=: ;;
1167 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1170 as_fn_error $?
"invalid package name: $ac_useropt"
1171 ac_useropt_orig
=$ac_useropt
1172 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1177 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1178 ac_unrecognized_sep
=', ';;
1180 eval with_
$ac_useropt=\
$ac_optarg ;;
1182 -without-* |
--without-*)
1183 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184 # Reject names that are not valid shell variable names.
1185 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1186 as_fn_error $?
"invalid package name: $ac_useropt"
1187 ac_useropt_orig
=$ac_useropt
1188 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189 case $ac_user_opts in
1193 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1194 ac_unrecognized_sep
=', ';;
1196 eval with_
$ac_useropt=no
;;
1199 # Obsolete; use --with-x.
1202 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1203 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1204 ac_prev
=x_includes
;;
1205 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1206 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1207 x_includes
=$ac_optarg ;;
1209 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1210 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1211 ac_prev
=x_libraries
;;
1212 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1213 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1214 x_libraries
=$ac_optarg ;;
1216 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1217 Try \`$0 --help' for more information"
1221 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1222 # Reject names that are not valid shell variable names.
1223 case $ac_envvar in #(
1224 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1225 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1227 eval $ac_envvar=\
$ac_optarg
1228 export $ac_envvar ;;
1231 # FIXME: should be removed in autoconf 3.0.
1232 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1234 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1241 if test -n "$ac_prev"; then
1242 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1243 as_fn_error $?
"missing argument to $ac_option"
1246 if test -n "$ac_unrecognized_opts"; then
1247 case $enable_option_checking in
1249 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1250 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1254 # Check all directory arguments for consistency.
1255 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1256 datadir sysconfdir sharedstatedir localstatedir includedir \
1257 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1258 libdir localedir mandir
1260 eval ac_val
=\$
$ac_var
1261 # Remove trailing slashes.
1264 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1265 eval $ac_var=\
$ac_val;;
1267 # Be sure to have absolute directory names.
1269 [\\/$
]* | ?
:[\\/]* ) continue;;
1270 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1272 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1275 # There might be people who depend on the old broken behavior: `$host'
1276 # used to hold the argument of --host etc.
1277 # FIXME: To remove some day.
1280 target
=$target_alias
1282 # FIXME: To remove some day.
1283 if test "x$host_alias" != x
; then
1284 if test "x$build_alias" = x
; then
1285 cross_compiling
=maybe
1286 elif test "x$build_alias" != "x$host_alias"; then
1292 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1294 test "$silent" = yes && exec 6>/dev
/null
1297 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1298 ac_ls_di
=`ls -di .` &&
1299 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1300 as_fn_error $?
"working directory cannot be determined"
1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 as_fn_error $?
"pwd does not report name of working directory"
1305 # Find the source files, if location was not specified.
1306 if test -z "$srcdir"; then
1307 ac_srcdir_defaulted
=yes
1308 # Try the directory containing this script, then the parent directory.
1309 ac_confdir
=`$as_dirname -- "$as_myself" ||
1310 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1311 X"$as_myself" : 'X\(//\)[^/]' \| \
1312 X"$as_myself" : 'X\(//\)$' \| \
1313 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1314 $as_echo X"$as_myself" |
1315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1337 ac_srcdir_defaulted
=no
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1340 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1341 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1343 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1345 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1347 # When building in place, set srcdir=.
1348 if test "$ac_abs_confdir" = "$ac_pwd"; then
1351 # Remove unnecessary trailing slashes from srcdir.
1352 # Double slashes in file names in object file debugging info
1353 # mess up M-x gdb in Emacs.
1355 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1357 for ac_var
in $ac_precious_vars; do
1358 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1359 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1360 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1361 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1365 # Report the --help message.
1367 if test "$ac_init_help" = "long"; then
1368 # Omit some internal or obsolete options to make the list less imposing.
1369 # This message is too long to be a string in the A/UX 3.1 sh.
1371 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1373 Usage: $0 [OPTION]... [VAR=VALUE]...
1375 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1376 VAR=VALUE. See below for descriptions of some of the useful variables.
1378 Defaults for the options are specified in brackets.
1381 -h, --help display this help and exit
1382 --help=short display options specific to this package
1383 --help=recursive display the short help of all the included packages
1384 -V, --version display version information and exit
1385 -q, --quiet, --silent do not print \`checking ...' messages
1386 --cache-file=FILE cache test results in FILE [disabled]
1387 -C, --config-cache alias for \`--cache-file=config.cache'
1388 -n, --no-create do not create output files
1389 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1391 Installation directories:
1392 --prefix=PREFIX install architecture-independent files in PREFIX
1393 [$ac_default_prefix]
1394 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1397 By default, \`make install' will install all the files in
1398 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1399 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1400 for instance \`--prefix=\$HOME'.
1402 For better control, use the options below.
1404 Fine tuning of the installation directories:
1405 --bindir=DIR user executables [EPREFIX/bin]
1406 --sbindir=DIR system admin executables [EPREFIX/sbin]
1407 --libexecdir=DIR program executables [EPREFIX/libexec]
1408 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1409 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1410 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1411 --libdir=DIR object code libraries [EPREFIX/lib]
1412 --includedir=DIR C header files [PREFIX/include]
1413 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1414 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1415 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1416 --infodir=DIR info documentation [DATAROOTDIR/info]
1417 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1418 --mandir=DIR man documentation [DATAROOTDIR/man]
1419 --docdir=DIR documentation root [DATAROOTDIR/doc/libphobos]
1420 --htmldir=DIR html documentation [DOCDIR]
1421 --dvidir=DIR dvi documentation [DOCDIR]
1422 --pdfdir=DIR pdf documentation [DOCDIR]
1423 --psdir=DIR ps documentation [DOCDIR]
1429 --program-prefix=PREFIX prepend PREFIX to installed program names
1430 --program-suffix=SUFFIX append SUFFIX to installed program names
1431 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1434 --build=BUILD configure
for building on BUILD
[guessed
]
1435 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1436 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1440 if test -n "$ac_init_help"; then
1441 case $ac_init_help in
1442 short | recursive
) echo "Configuration of package-unused version-unused:";;
1447 --disable-option-checking ignore unrecognized
--enable/--with options
1448 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1449 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1450 --enable-multilib build many library versions
(default
)
1451 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1452 --disable-silent-rules verbose build output
(undo
: "make V=0")
1453 --enable-maintainer-mode
1454 enable make rules and dependencies not useful
(and
1455 sometimes confusing
) to the casual installer
1456 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1457 --enable-static[=PKGS
] build static libraries
[default
=yes]
1458 --enable-fast-install[=PKGS
]
1459 optimize
for fast installation
[default
=yes]
1460 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1461 --enable-werror turns on
-Werror [default
=no
]
1462 --enable-druntime-gc enable D runtime garbage collector
(default
: yes)
1463 --enable-unix enables Unix runtime
(default
: yes, for Unix
1465 --enable-thread-lib=<arg
>
1466 specify linker option
for the system thread library
1467 (default
: autodetect
)
1468 --enable-version-specific-runtime-libs
1469 Specify that runtime libraries should be installed
1470 in a compiler-specific directory
1473 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1474 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1475 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1477 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1478 --with-gcc-major-version-only
1479 use only GCC major number
in filesystem paths
1480 --without-libatomic Do not use libatomic
in core.atomic
(default
: auto
)
1481 --without-libbacktrace Do not use libbacktrace
in core.runtime
(default
:
1483 --with-target-system-zlib={yes,no
,auto
}
1484 use installed libz
(default
: no
)
1485 --with-cross-host=HOST configuring with a cross compiler
1487 Some influential environment variables
:
1488 CC C compiler
command
1489 CFLAGS C compiler flags
1490 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1491 nonstandard directory
<lib dir
>
1492 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1493 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1494 you have headers
in a nonstandard directory
<include dir
>
1495 CCAS assembler compiler
command (defaults to CC
)
1496 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1497 GDC D compiler
command
1498 GDCFLAGS D compiler flags
1501 Use these variables to override the choices made by
`configure' or to help
1502 it to find libraries and programs with nonstandard names/locations.
1504 Report bugs to the package provider.
1509 if test "$ac_init_help" = "recursive"; then
1510 # If there are subdirs, report their specific --help.
1511 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1512 test -d "$ac_dir" ||
1513 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1518 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1520 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1521 # A ".." for each directory in $ac_dir_suffix.
1522 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1523 case $ac_top_builddir_sub in
1524 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1525 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1528 ac_abs_top_builddir=$ac_pwd
1529 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1530 # for backward compatibility:
1531 ac_top_builddir=$ac_top_build_prefix
1534 .) # We are building in place.
1536 ac_top_srcdir=$ac_top_builddir_sub
1537 ac_abs_top_srcdir=$ac_pwd ;;
1538 [\\/]* | ?:[\\/]* ) # Absolute name.
1539 ac_srcdir=$srcdir$ac_dir_suffix;
1540 ac_top_srcdir=$srcdir
1541 ac_abs_top_srcdir=$srcdir ;;
1543 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1544 ac_top_srcdir=$ac_top_build_prefix$srcdir
1545 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1547 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1549 cd "$ac_dir" || { ac_status=$?; continue; }
1550 # Check for guested configure.
1551 if test -f "$ac_srcdir/configure.gnu"; then
1553 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1554 elif test -f "$ac_srcdir/configure"; then
1556 $SHELL "$ac_srcdir/configure" --help=recursive
1558 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1560 cd "$ac_pwd" || { ac_status=$?; break; }
1564 test -n "$ac_init_help" && exit $ac_status
1565 if $ac_init_version; then
1567 package-unused configure version-unused
1568 generated by GNU Autoconf 2.69
1570 Copyright (C) 2012 Free Software Foundation, Inc.
1571 This configure script is free software; the Free Software Foundation
1572 gives unlimited permission to copy, distribute and modify it.
1577 ## ------------------------ ##
1578 ## Autoconf initialization. ##
1579 ## ------------------------ ##
1581 # ac_fn_c_try_compile LINENO
1582 # --------------------------
1583 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1584 ac_fn_c_try_compile ()
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 rm -f conftest.$ac_objext
1588 if { { ac_try="$ac_compile"
1590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1591 *) ac_try_echo
=$ac_try;;
1593 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1594 $as_echo "$ac_try_echo"; } >&5
1595 (eval "$ac_compile") 2>conftest.err
1597 if test -s conftest.err
; then
1598 grep -v '^ *+' conftest.err
>conftest.er1
1599 cat conftest.er1
>&5
1600 mv -f conftest.er1 conftest.err
1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603 test $ac_status = 0; } && {
1604 test -z "$ac_c_werror_flag" ||
1605 test ! -s conftest.err
1606 } && test -s conftest.
$ac_objext; then :
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.
$ac_ext >&5
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 as_fn_set_status
$ac_retval
1617 } # ac_fn_c_try_compile
1619 # ac_fn_d_try_compile LINENO
1620 # --------------------------
1621 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1622 ac_fn_d_try_compile
()
1624 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1625 rm -f conftest.
$ac_objext
1626 if { { ac_try
="$ac_compile"
1628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1629 *) ac_try_echo=$ac_try;;
1631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632 $as_echo "$ac_try_echo"; } >&5
1633 (eval "$ac_compile") 2>conftest.err
1635 if test -s conftest.err; then
1636 grep -v '^ *+' conftest.err >conftest.er1
1637 cat conftest.er1 >&5
1638 mv -f conftest.er1 conftest.err
1640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641 test $ac_status = 0; } && {
1642 test -z "$ac_d_werror_flag" ||
1643 test ! -s conftest.err
1644 } && test -s conftest.$ac_objext; then :
1647 $as_echo "$as_me: failed program was:" >&5
1648 sed 's/^/| /' conftest.$ac_ext >&5
1652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653 as_fn_set_status $ac_retval
1655 } # ac_fn_d_try_compile
1657 # ac_fn_c_try_link LINENO
1658 # -----------------------
1659 # Try to link conftest.$ac_ext, and return whether this succeeded.
1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663 rm -f conftest.$ac_objext conftest$ac_exeext
1664 if { { ac_try="$ac_link"
1666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1667 *) ac_try_echo
=$ac_try;;
1669 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670 $as_echo "$ac_try_echo"; } >&5
1671 (eval "$ac_link") 2>conftest.err
1673 if test -s conftest.err
; then
1674 grep -v '^ *+' conftest.err
>conftest.er1
1675 cat conftest.er1
>&5
1676 mv -f conftest.er1 conftest.err
1678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679 test $ac_status = 0; } && {
1680 test -z "$ac_c_werror_flag" ||
1681 test ! -s conftest.err
1682 } && test -s conftest
$ac_exeext && {
1683 test "$cross_compiling" = yes ||
1684 test -x conftest
$ac_exeext
1688 $as_echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.
$ac_ext >&5
1693 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1694 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1695 # interfere with the next link command; also delete a directory that is
1696 # left behind by Apple's compiler. We do this before executing the actions.
1697 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699 as_fn_set_status
$ac_retval
1701 } # ac_fn_c_try_link
1703 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1704 # -------------------------------------------------------
1705 # Tests whether HEADER exists and can be compiled using the include files in
1706 # INCLUDES, setting the cache variable VAR accordingly.
1707 ac_fn_c_check_header_compile
()
1709 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1711 $as_echo_n "checking for $2... " >&6; }
1712 if eval \
${$3+:} false
; then :
1713 $as_echo_n "(cached) " >&6
1715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1716 /* end confdefs.h. */
1720 if ac_fn_c_try_compile
"$LINENO"; then :
1725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729 $as_echo "$ac_res" >&6; }
1730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732 } # ac_fn_c_check_header_compile
1734 # ac_fn_c_try_cpp LINENO
1735 # ----------------------
1736 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1739 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1740 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1743 *) ac_try_echo=$ac_try;;
1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746 $as_echo "$ac_try_echo"; } >&5
1747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1749 if test -s conftest.err; then
1750 grep -v '^ *+' conftest.err >conftest.er1
1751 cat conftest.er1 >&5
1752 mv -f conftest.er1 conftest.err
1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755 test $ac_status = 0; } > conftest.i && {
1756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1757 test ! -s conftest.err
1761 $as_echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.$ac_ext >&5
1766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767 as_fn_set_status $ac_retval
1771 # ac_fn_c_try_run LINENO
1772 # ----------------------
1773 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1774 # that executables *can* be run.
1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 if { { ac_try="$ac_link"
1780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1781 *) ac_try_echo
=$ac_try;;
1783 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 $as_echo "$ac_try_echo"; } >&5
1785 (eval "$ac_link") 2>&5
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1789 { { case "(($ac_try" in
1790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1791 *) ac_try_echo=$ac_try;;
1793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_try") 2>&5
1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798 test $ac_status = 0; }; }; then :
1801 $as_echo "$as_me: program exited with status $ac_status" >&5
1802 $as_echo "$as_me: failed program was:" >&5
1803 sed 's/^/| /' conftest.$ac_ext >&5
1805 ac_retval=$ac_status
1807 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809 as_fn_set_status $ac_retval
1813 # ac_fn_c_check_func LINENO FUNC VAR
1814 # ----------------------------------
1815 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1816 ac_fn_c_check_func ()
1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1821 if eval \${$3+:} false; then :
1822 $as_echo_n "(cached) " >&6
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1828 #define $2 innocuous_$2
1830 /* System header to define __stub macros and hopefully few prototypes,
1831 which can conflict with char $2 (); below.
1832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1833 <limits.h> exists even on freestanding compilers. */
1836 # include <limits.h>
1838 # include <assert.h>
1843 /* Override any GCC internal prototype to avoid an error.
1844 Use char because int might match the return type of a GCC
1845 builtin and then its argument prototype would still apply. */
1850 /* The GNU C library defines this for functions which it implements
1851 to always fail with ENOSYS. Some functions are actually named
1852 something starting with __ and the normal name is an alias. */
1853 #if defined __stub_$2 || defined __stub___$2
1865 if ac_fn_c_try_link "$LINENO"; then :
1870 rm -f core conftest.err conftest.$ac_objext \
1871 conftest$ac_exeext conftest.$ac_ext
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 $as_echo "$ac_res" >&6; }
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878 } # ac_fn_c_check_func
1880 # ac_fn_d_try_link LINENO
1881 # -----------------------
1882 # Try to link conftest.$ac_ext, and return whether this succeeded.
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 rm -f conftest.$ac_objext conftest$ac_exeext
1887 if { { ac_try="$ac_link"
1889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1890 *) ac_try_echo
=$ac_try;;
1892 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1893 $as_echo "$ac_try_echo"; } >&5
1894 (eval "$ac_link") 2>conftest.err
1896 if test -s conftest.err
; then
1897 grep -v '^ *+' conftest.err
>conftest.er1
1898 cat conftest.er1
>&5
1899 mv -f conftest.er1 conftest.err
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; } && {
1903 test -z "$ac_d_werror_flag" ||
1904 test ! -s conftest.err
1905 } && test -s conftest
$ac_exeext && {
1906 test "$cross_compiling" = yes ||
1907 test -x conftest
$ac_exeext
1911 $as_echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.
$ac_ext >&5
1916 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1917 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1918 # interfere with the next link command; also delete a directory that is
1919 # left behind by Apple's compiler. We do this before executing the actions.
1920 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1922 as_fn_set_status
$ac_retval
1924 } # ac_fn_d_try_link
1926 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1927 # -------------------------------------------------------
1928 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1929 # the include files in INCLUDES and setting the cache variable VAR
1931 ac_fn_c_check_header_mongrel
()
1933 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1934 if eval \
${$3+:} false
; then :
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1936 $as_echo_n "checking for $2... " >&6; }
1937 if eval \
${$3+:} false
; then :
1938 $as_echo_n "(cached) " >&6
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942 $as_echo "$ac_res" >&6; }
1944 # Is the header compilable?
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1946 $as_echo_n "checking $2 usability... " >&6; }
1947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1948 /* end confdefs.h. */
1952 if ac_fn_c_try_compile
"$LINENO"; then :
1953 ac_header_compiler
=yes
1955 ac_header_compiler
=no
1957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1959 $as_echo "$ac_header_compiler" >&6; }
1961 # Is the header present?
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1963 $as_echo_n "checking $2 presence... " >&6; }
1964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1968 if ac_fn_c_try_cpp
"$LINENO"; then :
1969 ac_header_preproc
=yes
1971 ac_header_preproc
=no
1973 rm -f conftest.err conftest.i conftest.
$ac_ext
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1975 $as_echo "$ac_header_preproc" >&6; }
1977 # So? What about this header?
1978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1981 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1983 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1987 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1989 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1991 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1993 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1995 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1999 $as_echo_n "checking for $2... " >&6; }
2000 if eval \
${$3+:} false
; then :
2001 $as_echo_n "(cached) " >&6
2003 eval "$3=\$ac_header_compiler"
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2007 $as_echo "$ac_res" >&6; }
2009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2011 } # ac_fn_c_check_header_mongrel
2012 cat >config.log
<<_ACEOF
2013 This file contains any messages produced by compilers while
2014 running configure, to aid debugging if configure makes a mistake.
2016 It was created by package-unused $as_me version-unused, which was
2017 generated by GNU Autoconf 2.69. Invocation command line was
2029 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2030 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2031 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2032 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2033 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2035 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2036 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2038 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2039 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2040 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2041 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2042 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2043 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2044 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2052 test -z "$as_dir" && as_dir
=.
2053 $as_echo "PATH: $as_dir"
2069 # Keep a trace of the command line.
2070 # Strip out --no-create and --no-recursion so they do not pile up.
2071 # Strip out --silent because we don't want to record it for future runs.
2072 # Also quote any args containing shell meta-characters.
2073 # Make two passes to allow for proper duplicate-argument suppression.
2077 ac_must_keep_next
=false
2083 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2084 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2085 |
-silent |
--silent |
--silen |
--sile |
--sil)
2088 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2091 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2093 as_fn_append ac_configure_args1
" '$ac_arg'"
2094 if test $ac_must_keep_next = true
; then
2095 ac_must_keep_next
=false
# Got value, back to normal.
2098 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2099 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2100 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2101 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2102 case "$ac_configure_args0 " in
2103 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2106 -* ) ac_must_keep_next
=true
;;
2109 as_fn_append ac_configure_args
" '$ac_arg'"
2114 { ac_configure_args0
=; unset ac_configure_args0
;}
2115 { ac_configure_args1
=; unset ac_configure_args1
;}
2117 # When interrupted or exit'd, cleanup temporary files, and complete
2118 # config.log. We remove comments because anyway the quotes in there
2119 # would cause problems or look ugly.
2120 # WARNING: Use '\'' to represent an apostrophe within the trap.
2121 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2122 trap 'exit_status=$?
2123 # Save into config.log some information that might help in debugging.
2127 $as_echo "## ---------------- ##
2128 ## Cache variables. ##
2129 ## ---------------- ##"
2131 # The following way of writing the cache mishandles newlines in values,
2133 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2134 eval ac_val=\$$ac_var
2138 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2139 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2142 _ | IFS | as_nl) ;; #(
2143 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2144 *) { eval $ac_var=; unset $ac_var;} ;;
2149 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2150 *${as_nl}ac_space=\ *)
2152 "s/'\''/'\''\\\\'\'''\''/g;
2153 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2156 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2163 $as_echo "## ----------------- ##
2164 ## Output variables. ##
2165 ## ----------------- ##"
2167 for ac_var in $ac_subst_vars
2169 eval ac_val=\$$ac_var
2171 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173 $as_echo "$ac_var='\''$ac_val'\''"
2177 if test -n "$ac_subst_files"; then
2178 $as_echo "## ------------------- ##
2179 ## File substitutions. ##
2180 ## ------------------- ##"
2182 for ac_var
in $ac_subst_files
2184 eval ac_val
=\$
$ac_var
2186 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188 $as_echo "$ac_var='\''$ac_val'\''"
2193 if test -s confdefs.h; then
2194 $as_echo "## ----------- ##
2201 test "$ac_signal" != 0 &&
2202 $as_echo "$as_me: caught signal $ac_signal"
2203 $as_echo "$as_me: exit $exit_status"
2205 rm -f core *.core core.conftest.* &&
2206 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2209 for ac_signal
in 1 2 13 15; do
2210 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2214 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2215 rm -f -r conftest
* confdefs.h
2217 $as_echo "/* confdefs.h */" > confdefs.h
2219 # Predefined preprocessor variables.
2221 cat >>confdefs.h
<<_ACEOF
2222 #define PACKAGE_NAME "$PACKAGE_NAME"
2225 cat >>confdefs.h
<<_ACEOF
2226 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2229 cat >>confdefs.h
<<_ACEOF
2230 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2233 cat >>confdefs.h
<<_ACEOF
2234 #define PACKAGE_STRING "$PACKAGE_STRING"
2237 cat >>confdefs.h
<<_ACEOF
2238 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2241 cat >>confdefs.h
<<_ACEOF
2242 #define PACKAGE_URL "$PACKAGE_URL"
2246 # Let the site file select an alternate cache file if it wants to.
2247 # Prefer an explicitly selected file to automatically selected ones.
2250 if test -n "$CONFIG_SITE"; then
2251 # We do not want a PATH search for config.site.
2252 case $CONFIG_SITE in #((
2253 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2254 */*) ac_site_file1
=$CONFIG_SITE;;
2255 *) ac_site_file1
=.
/$CONFIG_SITE;;
2257 elif test "x$prefix" != xNONE
; then
2258 ac_site_file1
=$prefix/share
/config.site
2259 ac_site_file2
=$prefix/etc
/config.site
2261 ac_site_file1
=$ac_default_prefix/share
/config.site
2262 ac_site_file2
=$ac_default_prefix/etc
/config.site
2264 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2266 test "x$ac_site_file" = xNONE
&& continue
2267 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2269 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2270 sed 's/^/| /' "$ac_site_file" >&5
2272 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2274 as_fn_error $?
"failed to load site script $ac_site_file
2275 See \`config.log' for more details" "$LINENO" 5; }
2279 if test -r "$cache_file"; then
2280 # Some versions of bash will fail to source /dev/null (special files
2281 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2282 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2284 $as_echo "$as_me: loading cache $cache_file" >&6;}
2286 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2287 *) .
"./$cache_file";;
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2292 $as_echo "$as_me: creating cache $cache_file" >&6;}
2296 # Check that the precious variables saved in the cache have kept the same
2298 ac_cache_corrupted
=false
2299 for ac_var
in $ac_precious_vars; do
2300 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2301 eval ac_new_set
=\
$ac_env_${ac_var}_set
2302 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2303 eval ac_new_val
=\
$ac_env_${ac_var}_value
2304 case $ac_old_set,$ac_new_set in
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2307 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2308 ac_cache_corrupted
=: ;;
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2311 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2312 ac_cache_corrupted
=: ;;
2315 if test "x$ac_old_val" != "x$ac_new_val"; then
2316 # differences in whitespace do not lead to failure.
2317 ac_old_val_w
=`echo x $ac_old_val`
2318 ac_new_val_w
=`echo x $ac_new_val`
2319 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2321 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2322 ac_cache_corrupted
=:
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2325 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2326 eval $ac_var=\
$ac_old_val
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2329 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2331 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2334 # Pass precious variables to config.status.
2335 if test "$ac_new_set" = set; then
2337 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2338 *) ac_arg
=$ac_var=$ac_new_val ;;
2340 case " $ac_configure_args " in
2341 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2342 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2346 if $ac_cache_corrupted; then
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2350 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2351 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2353 ## -------------------- ##
2354 ## Main body of script. ##
2355 ## -------------------- ##
2358 ac_cpp
='$CPP $CPPFLAGS'
2359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2368 ac_config_headers
="$ac_config_headers config.h"
2371 # Default to --enable-multilib
2372 # Check whether --enable-multilib was given.
2373 if test "${enable_multilib+set}" = set; then :
2374 enableval
=$enable_multilib; case "$enableval" in
2375 yes) multilib
=yes ;;
2377 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2384 # We may get other options which we leave undocumented:
2385 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2386 # See config-ml.in if you want the gory details.
2388 if test "$srcdir" = "."; then
2389 if test "$with_target_subdir" != "."; then
2390 multi_basedir
="$srcdir/$with_multisrctop../.."
2392 multi_basedir
="$srcdir/$with_multisrctop.."
2395 multi_basedir
="$srcdir/.."
2399 # Even if the default multilib is not a cross compilation,
2400 # it may be that some of the other multilibs are.
2401 if test $cross_compiling = no
&& test $multilib = yes \
2402 && test "x${with_multisubdir}" != x
; then
2403 cross_compiling
=maybe
2406 ac_config_commands
="$ac_config_commands default-1"
2409 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2410 if test -f "$ac_dir/install-sh"; then
2412 ac_install_sh
="$ac_aux_dir/install-sh -c"
2414 elif test -f "$ac_dir/install.sh"; then
2416 ac_install_sh
="$ac_aux_dir/install.sh -c"
2418 elif test -f "$ac_dir/shtool"; then
2420 ac_install_sh
="$ac_aux_dir/shtool install -c"
2424 if test -z "$ac_aux_dir"; then
2425 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2428 # These three variables are undocumented and unsupported,
2429 # and are intended to be withdrawn in a future Autoconf release.
2430 # They can cause serious problems if a builder's source tree is in a directory
2431 # whose full name contains unusual characters.
2432 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2433 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2434 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2437 # Make sure we can run config.sub.
2438 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2439 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2442 $as_echo_n "checking build system type... " >&6; }
2443 if ${ac_cv_build+:} false
; then :
2444 $as_echo_n "(cached) " >&6
2446 ac_build_alias
=$build_alias
2447 test "x$ac_build_alias" = x
&&
2448 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2449 test "x$ac_build_alias" = x
&&
2450 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2451 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2452 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2456 $as_echo "$ac_cv_build" >&6; }
2457 case $ac_cv_build in
2459 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2462 ac_save_IFS
=$IFS; IFS
='-'
2468 # Remember, the first character of IFS is used to create $*,
2469 # except with old shells:
2472 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2476 $as_echo_n "checking host system type... " >&6; }
2477 if ${ac_cv_host+:} false
; then :
2478 $as_echo_n "(cached) " >&6
2480 if test "x$host_alias" = x
; then
2481 ac_cv_host
=$ac_cv_build
2483 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2484 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2489 $as_echo "$ac_cv_host" >&6; }
2492 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2495 ac_save_IFS
=$IFS; IFS
='-'
2501 # Remember, the first character of IFS is used to create $*,
2502 # except with old shells:
2505 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2509 $as_echo_n "checking target system type... " >&6; }
2510 if ${ac_cv_target+:} false
; then :
2511 $as_echo_n "(cached) " >&6
2513 if test "x$target_alias" = x
; then
2514 ac_cv_target
=$ac_cv_host
2516 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2517 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2522 $as_echo "$ac_cv_target" >&6; }
2523 case $ac_cv_target in
2525 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2527 target
=$ac_cv_target
2528 ac_save_IFS
=$IFS; IFS
='-'
2534 # Remember, the first character of IFS is used to create $*,
2535 # except with old shells:
2538 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2541 # The aliases save the names the user supplied, while $host etc.
2542 # will get canonicalized.
2543 test -n "$target_alias" &&
2544 test "$program_prefix$program_suffix$program_transform_name" = \
2546 program_prefix
=${target_alias}-
2549 target_alias
=${target_alias-$target}
2552 # 1.11.1: Require that version of automake.
2553 # foreign: Don't require README, INSTALL, NEWS, etc.
2554 # no-define: Don't define PACKAGE and VERSION.
2555 # no-dependencies: Don't generate automatic dependencies.
2556 # (because it breaks when using bootstrap-lean, since some of the
2557 # headers are gone at "make install" time).
2558 # subdir-objects: Build objects in sub-directories.
2559 # -Wall: Issue all automake warnings.
2560 # -Wno-portability: Don't warn about constructs supported by GNU make.
2561 # (because GCC requires GNU make anyhow).
2562 # -Wno-override: Overrides used in testsuite.
2563 am__api_version
='1.15'
2565 # Find a good install program. We prefer a C program (faster),
2566 # so one script is as good as another. But avoid the broken or
2567 # incompatible versions:
2568 # SysV /etc/install, /usr/sbin/install
2569 # SunOS /usr/etc/install
2570 # IRIX /sbin/install
2572 # AmigaOS /C/install, which installs bootblocks on floppy discs
2573 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2574 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2575 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2576 # OS/2's system install, which has a completely different semantic
2577 # ./install, which can be erroneously created by make from ./install.sh.
2578 # Reject install programs that cannot install multiple files.
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2580 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2581 if test -z "$INSTALL"; then
2582 if ${ac_cv_path_install+:} false
; then :
2583 $as_echo_n "(cached) " >&6
2585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2589 test -z "$as_dir" && as_dir
=.
2590 # Account for people who put trailing slashes in PATH elements.
2591 case $as_dir/ in #((
2592 .
/ | .
// |
/[cC
]/* | \
2593 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2594 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2597 # OSF1 and SCO ODT 3.0 have their own names for install.
2598 # Don't use installbsd from OSF since it installs stuff as root
2600 for ac_prog
in ginstall scoinst
install; do
2601 for ac_exec_ext
in '' $ac_executable_extensions; do
2602 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2603 if test $ac_prog = install &&
2604 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2605 # AIX install. It has an incompatible calling convention.
2607 elif test $ac_prog = install &&
2608 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2609 # program-specific install script used by HP pwplus--don't use.
2612 rm -rf conftest.one conftest.two conftest.dir
2613 echo one
> conftest.one
2614 echo two
> conftest.two
2616 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2617 test -s conftest.one
&& test -s conftest.two
&&
2618 test -s conftest.dir
/conftest.one
&&
2619 test -s conftest.dir
/conftest.two
2621 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2634 rm -rf conftest.one conftest.two conftest.dir
2637 if test "${ac_cv_path_install+set}" = set; then
2638 INSTALL
=$ac_cv_path_install
2640 # As a last resort, use the slow shell script. Don't cache a
2641 # value for INSTALL within a source directory, because that will
2642 # break other packages using the cache if that directory is
2643 # removed, or if the value is a relative name.
2644 INSTALL
=$ac_install_sh
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2648 $as_echo "$INSTALL" >&6; }
2650 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2651 # It thinks the first close brace ends the variable substitution.
2652 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2654 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2656 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2659 $as_echo_n "checking whether build environment is sane... " >&6; }
2660 # Reject unsafe characters in $srcdir or the absolute working directory
2661 # name. Accept space and tab only in the latter.
2665 *[\\\"\
#\$\&\'\`$am_lf]*)
2666 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2669 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2670 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2673 # Do 'set' in a subshell so we don't clobber the current shell's
2674 # arguments. Must try -L first in case configure is actually a
2675 # symlink; some systems play weird games with the mod time of symlinks
2676 # (eg FreeBSD returns the mod time of the symlink's containing
2680 for am_try
in 1 2; do
2681 echo "timestamp, slept: $am_has_slept" > conftest.
file
2682 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2683 if test "$*" = "X"; then
2685 set X
`ls -t "$srcdir/configure" conftest.file`
2687 if test "$*" != "X $srcdir/configure conftest.file" \
2688 && test "$*" != "X conftest.file $srcdir/configure"; then
2690 # If neither matched, then we have a broken ls. This can happen
2691 # if, for instance, CONFIG_SHELL is bash and it inherits a
2692 # broken ls alias from the environment. This has actually
2693 # happened. Such a system could not be considered "sane".
2694 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2695 alias in your environment" "$LINENO" 5
2697 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2704 test "$2" = conftest.
file
2710 as_fn_error $?
"newly created file is older than distributed files!
2711 Check your system clock" "$LINENO" 5
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2714 $as_echo "yes" >&6; }
2715 # If we didn't sleep, we still need to ensure time stamps of config.status and
2716 # generated files are strictly newer.
2718 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2725 test "$program_prefix" != NONE
&&
2726 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2727 # Use a double $ so make ignores it.
2728 test "$program_suffix" != NONE
&&
2729 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2730 # Double any \ or $.
2731 # By default was `s,x,x', remove it if useless.
2732 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2733 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2735 # Expand $ac_aux_dir to an absolute path.
2736 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2738 if test x
"${MISSING+set}" != xset
; then
2741 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2743 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2746 # Use eval to expand $SHELL
2747 if eval "$MISSING --is-lightweight"; then
2748 am_missing_run
="$MISSING "
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2752 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2755 if test x
"${install_sh+set}" != xset
; then
2758 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2760 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2764 # Installed binaries are usually stripped using 'strip' when the user
2765 # run "make install-strip". However 'strip' might not be the right
2766 # tool to use in cross-compilation environments, therefore Automake
2767 # will honor the 'STRIP' environment variable to overrule this program.
2768 if test "$cross_compiling" != no
; then
2769 if test -n "$ac_tool_prefix"; then
2770 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2771 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2773 $as_echo_n "checking for $ac_word... " >&6; }
2774 if ${ac_cv_prog_STRIP+:} false
; then :
2775 $as_echo_n "(cached) " >&6
2777 if test -n "$STRIP"; then
2778 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2784 test -z "$as_dir" && as_dir
=.
2785 for ac_exec_ext
in '' $ac_executable_extensions; do
2786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2787 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797 STRIP
=$ac_cv_prog_STRIP
2798 if test -n "$STRIP"; then
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2800 $as_echo "$STRIP" >&6; }
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2803 $as_echo "no" >&6; }
2808 if test -z "$ac_cv_prog_STRIP"; then
2810 # Extract the first word of "strip", so it can be a program name with args.
2811 set dummy strip
; ac_word
=$2
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813 $as_echo_n "checking for $ac_word... " >&6; }
2814 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2815 $as_echo_n "(cached) " >&6
2817 if test -n "$ac_ct_STRIP"; then
2818 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir
=.
2825 for ac_exec_ext
in '' $ac_executable_extensions; do
2826 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2827 ac_cv_prog_ac_ct_STRIP
="strip"
2828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2837 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2838 if test -n "$ac_ct_STRIP"; then
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2840 $as_echo "$ac_ct_STRIP" >&6; }
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843 $as_echo "no" >&6; }
2846 if test "x$ac_ct_STRIP" = x
; then
2849 case $cross_compiling:$ac_tool_warned in
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2853 ac_tool_warned
=yes ;;
2858 STRIP
="$ac_cv_prog_STRIP"
2862 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2865 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2866 if test -z "$MKDIR_P"; then
2867 if ${ac_cv_path_mkdir+:} false
; then :
2868 $as_echo_n "(cached) " >&6
2870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2871 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2874 test -z "$as_dir" && as_dir
=.
2875 for ac_prog
in mkdir gmkdir
; do
2876 for ac_exec_ext
in '' $ac_executable_extensions; do
2877 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2878 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2879 'mkdir (GNU coreutils) '* | \
2880 'mkdir (coreutils) '* | \
2881 'mkdir (fileutils) '4.1*)
2882 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2892 test -d .
/--version && rmdir .
/--version
2893 if test "${ac_cv_path_mkdir+set}" = set; then
2894 MKDIR_P
="$ac_cv_path_mkdir -p"
2896 # As a last resort, use the slow shell script. Don't cache a
2897 # value for MKDIR_P within a source directory, because that will
2898 # break other packages using the cache if that directory is
2899 # removed, or if the value is a relative name.
2900 MKDIR_P
="$ac_install_sh -d"
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2904 $as_echo "$MKDIR_P" >&6; }
2906 for ac_prog
in gawk mawk nawk
awk
2908 # Extract the first word of "$ac_prog", so it can be a program name with args.
2909 set dummy
$ac_prog; ac_word
=$2
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2911 $as_echo_n "checking for $ac_word... " >&6; }
2912 if ${ac_cv_prog_AWK+:} false
; then :
2913 $as_echo_n "(cached) " >&6
2915 if test -n "$AWK"; then
2916 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2922 test -z "$as_dir" && as_dir
=.
2923 for ac_exec_ext
in '' $ac_executable_extensions; do
2924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2925 ac_cv_prog_AWK
="$ac_prog"
2926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 if test -n "$AWK"; then
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2938 $as_echo "$AWK" >&6; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2945 test -n "$AWK" && break
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2949 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2951 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2952 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2953 $as_echo_n "(cached) " >&6
2955 cat >conftest.
make <<\_ACEOF
2958 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2960 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2961 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2963 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2965 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2969 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2971 $as_echo "yes" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2976 SET_MAKE
="MAKE=${MAKE-make}"
2979 rm -rf .tst
2>/dev
/null
2980 mkdir .tst
2>/dev
/null
2981 if test -d .tst
; then
2986 rmdir .tst
2>/dev
/null
2988 # Check whether --enable-silent-rules was given.
2989 if test "${enable_silent_rules+set}" = set; then :
2990 enableval
=$enable_silent_rules;
2993 case $enable_silent_rules in # (((
2994 yes) AM_DEFAULT_VERBOSITY
=0;;
2995 no
) AM_DEFAULT_VERBOSITY
=1;;
2996 *) AM_DEFAULT_VERBOSITY
=1;;
2998 am_make
=${MAKE-make}
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3000 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3001 if ${am_cv_make_support_nested_variables+:} false
; then :
3002 $as_echo_n "(cached) " >&6
3004 if $as_echo 'TRUE=$(BAR$(V))
3010 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3011 am_cv_make_support_nested_variables
=yes
3013 am_cv_make_support_nested_variables
=no
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3017 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3018 if test $am_cv_make_support_nested_variables = yes; then
3020 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3022 AM_V
=$AM_DEFAULT_VERBOSITY
3023 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3027 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3028 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3029 # is not polluted with repeated "-I."
3030 am__isrc
=' -I$(srcdir)'
3031 # test to see if srcdir already configured
3032 if test -f $srcdir/config.status
; then
3033 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3037 # test whether we have cygpath
3038 if test -z "$CYGPATH_W"; then
3039 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3040 CYGPATH_W
='cygpath -w'
3047 # Define the identity of the package.
3049 VERSION
='version-unused'
3052 # Some tools Automake needs.
3054 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3057 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3060 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3063 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3066 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3068 # For better backward compatibility. To be removed once Automake 1.9.x
3069 # dies out for good. For more background, see:
3070 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3071 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3072 mkdir_p
='$(MKDIR_P)'
3074 # We need awk for the "check" target (and possibly the TAP driver). The
3075 # system "awk" is bad on some platforms.
3076 # Always define AMTAR for backward compatibility. Yes, it's still used
3077 # in the wild :-( We should find a proper way to deprecate it ...
3081 # We'll loop over all known methods to create a tar archive until one works.
3082 _am_tools
='gnutar pax cpio none'
3084 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3091 # POSIX will say in a future version that running "rm -f" with no argument
3092 # is OK; and we want to be able to make that assumption in our Makefile
3093 # recipes. So use an aggressive probe to check that the usage we want is
3094 # actually supported "in the wild" to an acceptable degree.
3095 # See automake bug#10828.
3096 # To make any issue more visible, cause the running configure to be aborted
3097 # by default if the 'rm' program in use doesn't match our expectations; the
3098 # user can still override this though.
3099 if rm -f && rm -fr && rm -rf; then : OK
; else
3103 Your 'rm' program seems unable to run without file operands specified
3104 on the command line, even when the '-f' option is present. This is contrary
3105 to the behaviour of most rm programs out there, and not conforming with
3106 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3108 Please tell bug-automake@gnu.org about your system, including the value
3109 of your $PATH and any error possibly output before this message. This
3110 can help us improve future automake versions.
3113 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3114 echo 'Configuration will proceed anyway, since you have set the' >&2
3115 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3119 Aborting the configuration process, to ensure you take notice of the issue.
3121 You can download and install GNU coreutils to get an 'rm' implementation
3122 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3124 If you want to complete the configuration process using your problematic
3125 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3126 to "yes", and re-run configure.
3129 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3137 ac_cpp
='$CPP $CPPFLAGS'
3138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3141 if test -n "$ac_tool_prefix"; then
3142 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3143 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3145 $as_echo_n "checking for $ac_word... " >&6; }
3146 if ${ac_cv_prog_CC+:} false
; then :
3147 $as_echo_n "(cached) " >&6
3149 if test -n "$CC"; then
3150 ac_cv_prog_CC
="$CC" # Let the user override the test.
3152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3156 test -z "$as_dir" && as_dir
=.
3157 for ac_exec_ext
in '' $ac_executable_extensions; do
3158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3159 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3170 if test -n "$CC"; then
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3172 $as_echo "$CC" >&6; }
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175 $as_echo "no" >&6; }
3180 if test -z "$ac_cv_prog_CC"; then
3182 # Extract the first word of "gcc", so it can be a program name with args.
3183 set dummy gcc
; ac_word
=$2
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3185 $as_echo_n "checking for $ac_word... " >&6; }
3186 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3187 $as_echo_n "(cached) " >&6
3189 if test -n "$ac_ct_CC"; then
3190 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3196 test -z "$as_dir" && as_dir
=.
3197 for ac_exec_ext
in '' $ac_executable_extensions; do
3198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3199 ac_cv_prog_ac_ct_CC
="gcc"
3200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3209 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3210 if test -n "$ac_ct_CC"; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3212 $as_echo "$ac_ct_CC" >&6; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215 $as_echo "no" >&6; }
3218 if test "x$ac_ct_CC" = x
; then
3221 case $cross_compiling:$ac_tool_warned in
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3225 ac_tool_warned
=yes ;;
3233 if test -z "$CC"; then
3234 if test -n "$ac_tool_prefix"; then
3235 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3236 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3238 $as_echo_n "checking for $ac_word... " >&6; }
3239 if ${ac_cv_prog_CC+:} false
; then :
3240 $as_echo_n "(cached) " >&6
3242 if test -n "$CC"; then
3243 ac_cv_prog_CC
="$CC" # Let the user override the test.
3245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3249 test -z "$as_dir" && as_dir
=.
3250 for ac_exec_ext
in '' $ac_executable_extensions; do
3251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3252 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3263 if test -n "$CC"; then
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3265 $as_echo "$CC" >&6; }
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3268 $as_echo "no" >&6; }
3274 if test -z "$CC"; then
3275 # Extract the first word of "cc", so it can be a program name with args.
3276 set dummy cc
; ac_word
=$2
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3278 $as_echo_n "checking for $ac_word... " >&6; }
3279 if ${ac_cv_prog_CC+:} false
; then :
3280 $as_echo_n "(cached) " >&6
3282 if test -n "$CC"; then
3283 ac_cv_prog_CC
="$CC" # Let the user override the test.
3286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3290 test -z "$as_dir" && as_dir
=.
3291 for ac_exec_ext
in '' $ac_executable_extensions; do
3292 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3293 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3294 ac_prog_rejected
=yes
3298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 if test $ac_prog_rejected = yes; then
3306 # We found a bogon in the path, so make sure we never use it.
3307 set dummy
$ac_cv_prog_CC
3309 if test $# != 0; then
3310 # We chose a different compiler from the bogus one.
3311 # However, it has the same basename, so the bogon will be chosen
3312 # first if we set CC to just the basename; use the full file name.
3314 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3320 if test -n "$CC"; then
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3322 $as_echo "$CC" >&6; }
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325 $as_echo "no" >&6; }
3330 if test -z "$CC"; then
3331 if test -n "$ac_tool_prefix"; then
3332 for ac_prog
in cl.exe
3334 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3335 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3337 $as_echo_n "checking for $ac_word... " >&6; }
3338 if ${ac_cv_prog_CC+:} false
; then :
3339 $as_echo_n "(cached) " >&6
3341 if test -n "$CC"; then
3342 ac_cv_prog_CC
="$CC" # Let the user override the test.
3344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3348 test -z "$as_dir" && as_dir
=.
3349 for ac_exec_ext
in '' $ac_executable_extensions; do
3350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3351 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 if test -n "$CC"; then
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3364 $as_echo "$CC" >&6; }
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3367 $as_echo "no" >&6; }
3371 test -n "$CC" && break
3374 if test -z "$CC"; then
3376 for ac_prog
in cl.exe
3378 # Extract the first word of "$ac_prog", so it can be a program name with args.
3379 set dummy
$ac_prog; ac_word
=$2
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381 $as_echo_n "checking for $ac_word... " >&6; }
3382 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3383 $as_echo_n "(cached) " >&6
3385 if test -n "$ac_ct_CC"; then
3386 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3392 test -z "$as_dir" && as_dir
=.
3393 for ac_exec_ext
in '' $ac_executable_extensions; do
3394 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3395 ac_cv_prog_ac_ct_CC
="$ac_prog"
3396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3405 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3406 if test -n "$ac_ct_CC"; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3408 $as_echo "$ac_ct_CC" >&6; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411 $as_echo "no" >&6; }
3415 test -n "$ac_ct_CC" && break
3418 if test "x$ac_ct_CC" = x
; then
3421 case $cross_compiling:$ac_tool_warned in
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3425 ac_tool_warned
=yes ;;
3434 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436 as_fn_error $?
"no acceptable C compiler found in \$PATH
3437 See \`config.log' for more details" "$LINENO" 5; }
3439 # Provide some information about the compiler.
3440 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3443 for ac_option
in --version -v -V -qversion; do
3444 { { ac_try
="$ac_compiler $ac_option >&5"
3446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3447 *) ac_try_echo=$ac_try;;
3449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3450 $as_echo "$ac_try_echo"; } >&5
3451 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3453 if test -s conftest.err; then
3455 ... rest of stderr output deleted ...
3456 10q' conftest.err >conftest.er1
3457 cat conftest.er1 >&5
3459 rm -f conftest.er1 conftest.err
3460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3461 test $ac_status = 0; }
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h. */
3475 ac_clean_files_save=$ac_clean_files
3476 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3477 # Try to create an executable without -o first, disregard a.out.
3478 # It will help us diagnose broken compilers, and finding out an intuition
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3481 $as_echo_n "checking whether the C compiler works... " >&6; }
3482 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3484 # The possible output files:
3485 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3488 for ac_file in $ac_files
3491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3492 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3497 if { { ac_try="$ac_link_default"
3499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3500 *) ac_try_echo
=$ac_try;;
3502 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3503 $as_echo "$ac_try_echo"; } >&5
3504 (eval "$ac_link_default") 2>&5
3506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3507 test $ac_status = 0; }; then :
3508 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3509 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3510 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3511 # so that the user can short-circuit this test for compilers unknown to
3513 for ac_file
in $ac_files ''
3515 test -f "$ac_file" ||
continue
3517 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3520 # We found the default executable, but exeext='' is most
3524 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3526 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3528 # We set ac_cv_exeext here because the later test for it is not
3529 # safe: cross compilers may not add the suffix if given an `-o'
3530 # argument, so we may need to know it at that point already.
3531 # Even if this section looks crufty: it has the advantage of
3538 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3543 if test -z "$ac_file"; then :
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 $as_echo "no" >&6; }
3546 $as_echo "$as_me: failed program was:" >&5
3547 sed 's/^/| /' conftest.
$ac_ext >&5
3549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3551 as_fn_error
77 "C compiler cannot create executables
3552 See \`config.log' for more details" "$LINENO" 5; }
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3555 $as_echo "yes" >&6; }
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3558 $as_echo_n "checking for C compiler default output file name... " >&6; }
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3560 $as_echo "$ac_file" >&6; }
3561 ac_exeext
=$ac_cv_exeext
3563 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3564 ac_clean_files
=$ac_clean_files_save
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3566 $as_echo_n "checking for suffix of executables... " >&6; }
3567 if { { ac_try
="$ac_link"
3569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3570 *) ac_try_echo=$ac_try;;
3572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3573 $as_echo "$ac_try_echo"; } >&5
3574 (eval "$ac_link") 2>&5
3576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3577 test $ac_status = 0; }; then :
3578 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3579 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3580 # work properly (i.e., refer to `conftest.exe'), while it won't with
3582 for ac_file
in conftest.exe conftest conftest.
*; do
3583 test -f "$ac_file" ||
continue
3585 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3586 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3594 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3595 See \`config.log' for more details" "$LINENO" 5; }
3597 rm -f conftest conftest
$ac_cv_exeext
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3599 $as_echo "$ac_cv_exeext" >&6; }
3601 rm -f conftest.
$ac_ext
3602 EXEEXT
=$ac_cv_exeext
3604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h. */
3610 FILE *f = fopen ("conftest.out", "w");
3611 return ferror (f) || fclose (f) != 0;
3617 ac_clean_files
="$ac_clean_files conftest.out"
3618 # Check that the compiler produces executables we can run. If not, either
3619 # the compiler is broken, or we cross compile.
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3621 $as_echo_n "checking whether we are cross compiling... " >&6; }
3622 if test "$cross_compiling" != yes; then
3623 { { ac_try
="$ac_link"
3625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3626 *) ac_try_echo=$ac_try;;
3628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3629 $as_echo "$ac_try_echo"; } >&5
3630 (eval "$ac_link") 2>&5
3632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3633 test $ac_status = 0; }
3634 if { ac_try='./conftest$ac_cv_exeext'
3635 { { case "(($ac_try" in
3636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3637 *) ac_try_echo
=$ac_try;;
3639 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640 $as_echo "$ac_try_echo"; } >&5
3641 (eval "$ac_try") 2>&5
3643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3644 test $ac_status = 0; }; }; then
3647 if test "$cross_compiling" = maybe
; then
3650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3652 as_fn_error $?
"cannot run C compiled programs.
3653 If you meant to cross compile, use \`--host'.
3654 See \`config.log' for more details" "$LINENO" 5; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3659 $as_echo "$cross_compiling" >&6; }
3661 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3662 ac_clean_files
=$ac_clean_files_save
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3664 $as_echo_n "checking for suffix of object files... " >&6; }
3665 if ${ac_cv_objext+:} false
; then :
3666 $as_echo_n "(cached) " >&6
3668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3669 /* end confdefs.h. */
3679 rm -f conftest.o conftest.obj
3680 if { { ac_try
="$ac_compile"
3682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3683 *) ac_try_echo=$ac_try;;
3685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3686 $as_echo "$ac_try_echo"; } >&5
3687 (eval "$ac_compile") 2>&5
3689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3690 test $ac_status = 0; }; then :
3691 for ac_file in conftest.o conftest.obj conftest.*; do
3692 test -f "$ac_file" || continue;
3694 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3695 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3700 $as_echo "$as_me: failed program was:" >&5
3701 sed 's/^/| /' conftest.$ac_ext >&5
3703 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3705 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3706 See \
`config.log' for more details" "$LINENO" 5; }
3708 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3711 $as_echo "$ac_cv_objext" >&6; }
3712 OBJEXT=$ac_cv_objext
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3715 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3716 if ${ac_cv_c_compiler_gnu+:} false; then :
3717 $as_echo_n "(cached) " >&6
3719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720 /* end confdefs.h. */
3733 if ac_fn_c_try_compile "$LINENO"; then :
3738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3743 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3744 if test $ac_compiler_gnu = yes; then
3749 ac_test_CFLAGS=${CFLAGS+set}
3750 ac_save_CFLAGS=$CFLAGS
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3752 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3753 if ${ac_cv_prog_cc_g+:} false; then :
3754 $as_echo_n "(cached) " >&6
3756 ac_save_c_werror_flag=$ac_c_werror_flag
3757 ac_c_werror_flag=yes
3760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3761 /* end confdefs.h. */
3771 if ac_fn_c_try_compile "$LINENO"; then :
3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h. */
3786 if ac_fn_c_try_compile "$LINENO"; then :
3789 ac_c_werror_flag=$ac_save_c_werror_flag
3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792 /* end confdefs.h. */
3802 if ac_fn_c_try_compile "$LINENO"; then :
3805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3810 ac_c_werror_flag=$ac_save_c_werror_flag
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3813 $as_echo "$ac_cv_prog_cc_g" >&6; }
3814 if test "$ac_test_CFLAGS" = set; then
3815 CFLAGS=$ac_save_CFLAGS
3816 elif test $ac_cv_prog_cc_g = yes; then
3817 if test "$GCC" = yes; then
3823 if test "$GCC" = yes; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3830 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3831 if ${ac_cv_prog_cc_c89+:} false; then :
3832 $as_echo_n "(cached) " >&6
3834 ac_cv_prog_cc_c89=no
3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3841 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3842 struct buf { int x; };
3843 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3844 static char *e (p, i)
3850 static char *f (char * (*g) (char **, int), char **p, ...)
3855 s = g (p, va_arg (v,int));
3860 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3861 function prototypes and stuff, but not '\xHH' hex character constants.
3862 These don't provoke an error unfortunately, instead are silently treated
3863 as 'x'. The following induces an error, until -std is added to get
3864 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3865 array size at least. It's necessary to write '\x00'==0 to get something
3866 that's true only with -std. */
3867 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3869 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3870 inside strings and character constants. */
3872 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3874 int test (int i, double x);
3875 struct s1 {int (*f) (int a);};
3876 struct s2 {int (*f) (double a);};
3877 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3883 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3888 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3889 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3891 CC="$ac_save_CC $ac_arg"
3892 if ac_fn_c_try_compile "$LINENO"; then :
3893 ac_cv_prog_cc_c89=$ac_arg
3895 rm -f core conftest.err conftest.$ac_objext
3896 test "x$ac_cv_prog_cc_c89" != "xno" && break
3898 rm -f conftest.$ac_ext
3903 case "x$ac_cv_prog_cc_c89" in
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3906 $as_echo "none needed" >&6; } ;;
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3909 $as_echo "unsupported" >&6; } ;;
3911 CC="$CC $ac_cv_prog_cc_c89"
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3913 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3915 if test "x$ac_cv_prog_cc_c89" != xno; then :
3920 ac_cpp='$CPP $CPPFLAGS'
3921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3926 ac_cpp='$CPP $CPPFLAGS'
3927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3931 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3932 if ${am_cv_prog_cc_c_o+:} false; then :
3933 $as_echo_n "(cached) " >&6
3935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3936 /* end confdefs.h. */
3946 # Make sure it works both with $CC and with simple cc.
3947 # Following AC_PROG_CC_C_O, we do the test twice because some
3948 # compilers refuse to overwrite an existing .o file with -o,
3949 # though they will create one.
3950 am_cv_prog_cc_c_o=yes
3952 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3953 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); } \
3957 && test -f conftest2.$ac_objext; then
3960 am_cv_prog_cc_c_o=no
3964 rm -f core conftest*
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3968 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3969 if test "$am_cv_prog_cc_c_o" != yes; then
3970 # Losing compiler, so override with the script.
3971 # FIXME: It is wrong to rewrite CC.
3972 # But if we don't then we get into trouble of one sort or another.
3973 # A longer-term fix would be to have automake use am__CC in this case,
3974 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3975 CC="$am_aux_dir/compile $CC"
3978 ac_cpp='$CPP $CPPFLAGS'
3979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3984 # By default we simply use the C compiler to build assembly code.
3986 test "${CCAS+set}" = set || CCAS=$CC
3987 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3992 ac_cpp='$CPP $CPPFLAGS'
3993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3996 if test -n "$ac_tool_prefix"; then
3997 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3998 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4000 $as_echo_n "checking for $ac_word... " >&6; }
4001 if ${ac_cv_prog_CC+:} false; then :
4002 $as_echo_n "(cached) " >&6
4004 if test -n "$CC"; then
4005 ac_cv_prog_CC="$CC" # Let the user override the test.
4007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4011 test -z "$as_dir" && as_dir=.
4012 for ac_exec_ext in '' $ac_executable_extensions; do
4013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4014 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4025 if test -n "$CC"; then
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4027 $as_echo "$CC" >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4030 $as_echo "no" >&6; }
4035 if test -z "$ac_cv_prog_CC"; then
4037 # Extract the first word of "gcc", so it can be a program name with args.
4038 set dummy gcc; ac_word=$2
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4040 $as_echo_n "checking for $ac_word... " >&6; }
4041 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4042 $as_echo_n "(cached) " >&6
4044 if test -n "$ac_ct_CC"; then
4045 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4051 test -z "$as_dir" && as_dir=.
4052 for ac_exec_ext in '' $ac_executable_extensions; do
4053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4054 ac_cv_prog_ac_ct_CC="gcc"
4055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4065 if test -n "$ac_ct_CC"; then
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4067 $as_echo "$ac_ct_CC" >&6; }
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4070 $as_echo "no" >&6; }
4073 if test "x$ac_ct_CC" = x; then
4076 case $cross_compiling:$ac_tool_warned in
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4080 ac_tool_warned=yes ;;
4088 if test -z "$CC"; then
4089 if test -n "$ac_tool_prefix"; then
4090 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4091 set dummy ${ac_tool_prefix}cc; ac_word=$2
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4093 $as_echo_n "checking for $ac_word... " >&6; }
4094 if ${ac_cv_prog_CC+:} false; then :
4095 $as_echo_n "(cached) " >&6
4097 if test -n "$CC"; then
4098 ac_cv_prog_CC="$CC" # Let the user override the test.
4100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4104 test -z "$as_dir" && as_dir=.
4105 for ac_exec_ext in '' $ac_executable_extensions; do
4106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4107 ac_cv_prog_CC="${ac_tool_prefix}cc"
4108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4118 if test -n "$CC"; then
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4120 $as_echo "$CC" >&6; }
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4123 $as_echo "no" >&6; }
4129 if test -z "$CC"; then
4130 # Extract the first word of "cc", so it can be a program name with args.
4131 set dummy cc; ac_word=$2
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4133 $as_echo_n "checking for $ac_word... " >&6; }
4134 if ${ac_cv_prog_CC+:} false; then :
4135 $as_echo_n "(cached) " >&6
4137 if test -n "$CC"; then
4138 ac_cv_prog_CC="$CC" # Let the user override the test.
4141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4145 test -z "$as_dir" && as_dir=.
4146 for ac_exec_ext in '' $ac_executable_extensions; do
4147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4148 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4149 ac_prog_rejected=yes
4153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4160 if test $ac_prog_rejected = yes; then
4161 # We found a bogon in the path, so make sure we never use it.
4162 set dummy $ac_cv_prog_CC
4164 if test $# != 0; then
4165 # We chose a different compiler from the bogus one.
4166 # However, it has the same basename, so the bogon will be chosen
4167 # first if we set CC to just the basename; use the full file name.
4169 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4175 if test -n "$CC"; then
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4177 $as_echo "$CC" >&6; }
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4180 $as_echo "no" >&6; }
4185 if test -z "$CC"; then
4186 if test -n "$ac_tool_prefix"; then
4187 for ac_prog in cl.exe
4189 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4190 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192 $as_echo_n "checking for $ac_word... " >&6; }
4193 if ${ac_cv_prog_CC+:} false; then :
4194 $as_echo_n "(cached) " >&6
4196 if test -n "$CC"; then
4197 ac_cv_prog_CC="$CC" # Let the user override the test.
4199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 test -z "$as_dir" && as_dir=.
4204 for ac_exec_ext in '' $ac_executable_extensions; do
4205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4206 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4217 if test -n "$CC"; then
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4219 $as_echo "$CC" >&6; }
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4222 $as_echo "no" >&6; }
4226 test -n "$CC" && break
4229 if test -z "$CC"; then
4231 for ac_prog in cl.exe
4233 # Extract the first word of "$ac_prog", so it can be a program name with args.
4234 set dummy $ac_prog; ac_word=$2
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4236 $as_echo_n "checking for $ac_word... " >&6; }
4237 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4238 $as_echo_n "(cached) " >&6
4240 if test -n "$ac_ct_CC"; then
4241 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4247 test -z "$as_dir" && as_dir=.
4248 for ac_exec_ext in '' $ac_executable_extensions; do
4249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4250 ac_cv_prog_ac_ct_CC="$ac_prog"
4251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4260 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4261 if test -n "$ac_ct_CC"; then
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4263 $as_echo "$ac_ct_CC" >&6; }
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4266 $as_echo "no" >&6; }
4270 test -n "$ac_ct_CC" && break
4273 if test "x$ac_ct_CC" = x; then
4276 case $cross_compiling:$ac_tool_warned in
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4280 ac_tool_warned=yes ;;
4289 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4291 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4292 See \
`config.log' for more details" "$LINENO" 5; }
4294 # Provide some information about the compiler.
4295 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4298 for ac_option in --version -v -V -qversion; do
4299 { { ac_try="$ac_compiler $ac_option >&5"
4301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4302 *) ac_try_echo
=$ac_try;;
4304 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4305 $as_echo "$ac_try_echo"; } >&5
4306 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4308 if test -s conftest.err
; then
4310 ... rest of stderr output deleted ...
4311 10q' conftest.err
>conftest.er1
4312 cat conftest.er1
>&5
4314 rm -f conftest.er1 conftest.err
4315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4316 test $ac_status = 0; }
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4320 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4321 if ${ac_cv_c_compiler_gnu+:} false
; then :
4322 $as_echo_n "(cached) " >&6
4324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4338 if ac_fn_c_try_compile
"$LINENO"; then :
4343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4344 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4348 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4349 if test $ac_compiler_gnu = yes; then
4354 ac_test_CFLAGS
=${CFLAGS+set}
4355 ac_save_CFLAGS
=$CFLAGS
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4357 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4358 if ${ac_cv_prog_cc_g+:} false
; then :
4359 $as_echo_n "(cached) " >&6
4361 ac_save_c_werror_flag
=$ac_c_werror_flag
4362 ac_c_werror_flag
=yes
4365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4376 if ac_fn_c_try_compile
"$LINENO"; then :
4380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4381 /* end confdefs.h. */
4391 if ac_fn_c_try_compile
"$LINENO"; then :
4394 ac_c_werror_flag
=$ac_save_c_werror_flag
4396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4407 if ac_fn_c_try_compile
"$LINENO"; then :
4410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4415 ac_c_werror_flag
=$ac_save_c_werror_flag
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4418 $as_echo "$ac_cv_prog_cc_g" >&6; }
4419 if test "$ac_test_CFLAGS" = set; then
4420 CFLAGS
=$ac_save_CFLAGS
4421 elif test $ac_cv_prog_cc_g = yes; then
4422 if test "$GCC" = yes; then
4428 if test "$GCC" = yes; then
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4435 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4436 if ${ac_cv_prog_cc_c89+:} false
; then :
4437 $as_echo_n "(cached) " >&6
4439 ac_cv_prog_cc_c89
=no
4441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4442 /* end confdefs.h. */
4446 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4447 struct buf { int x; };
4448 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4449 static char *e (p, i)
4455 static char *f (char * (*g) (char **, int), char **p, ...)
4460 s = g (p, va_arg (v,int));
4465 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4466 function prototypes and stuff, but not '\xHH' hex character constants.
4467 These don't provoke an error unfortunately, instead are silently treated
4468 as 'x'. The following induces an error, until -std is added to get
4469 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4470 array size at least. It's necessary to write '\x00'==0 to get something
4471 that's true only with -std. */
4472 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4474 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4475 inside strings and character constants. */
4477 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4479 int test (int i, double x);
4480 struct s1 {int (*f) (int a);};
4481 struct s2 {int (*f) (double a);};
4482 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4488 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4493 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4494 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4496 CC
="$ac_save_CC $ac_arg"
4497 if ac_fn_c_try_compile
"$LINENO"; then :
4498 ac_cv_prog_cc_c89
=$ac_arg
4500 rm -f core conftest.err conftest.
$ac_objext
4501 test "x$ac_cv_prog_cc_c89" != "xno" && break
4503 rm -f conftest.
$ac_ext
4508 case "x$ac_cv_prog_cc_c89" in
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4511 $as_echo "none needed" >&6; } ;;
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4514 $as_echo "unsupported" >&6; } ;;
4516 CC
="$CC $ac_cv_prog_cc_c89"
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4518 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4520 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4525 ac_cpp
='$CPP $CPPFLAGS'
4526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4531 ac_cpp
='$CPP $CPPFLAGS'
4532 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4533 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4534 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4536 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4537 if ${am_cv_prog_cc_c_o+:} false
; then :
4538 $as_echo_n "(cached) " >&6
4540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4551 # Make sure it works both with $CC and with simple cc.
4552 # Following AC_PROG_CC_C_O, we do the test twice because some
4553 # compilers refuse to overwrite an existing .o file with -o,
4554 # though they will create one.
4555 am_cv_prog_cc_c_o
=yes
4557 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4558 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561 (exit $ac_status); } \
4562 && test -f conftest2.
$ac_objext; then
4565 am_cv_prog_cc_c_o
=no
4569 rm -f core conftest
*
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4573 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4574 if test "$am_cv_prog_cc_c_o" != yes; then
4575 # Losing compiler, so override with the script.
4576 # FIXME: It is wrong to rewrite CC.
4577 # But if we don't then we get into trouble of one sort or another.
4578 # A longer-term fix would be to have automake use am__CC in this case,
4579 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4580 CC
="$am_aux_dir/compile $CC"
4583 ac_cpp
='$CPP $CPPFLAGS'
4584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4590 ac_compile
='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
4591 ac_link
='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 if test -n "$ac_tool_prefix"; then
4594 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
4595 set dummy
${ac_tool_prefix}gdc
; ac_word
=$2
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4597 $as_echo_n "checking for $ac_word... " >&6; }
4598 if ${ac_cv_prog_GDC+:} false
; then :
4599 $as_echo_n "(cached) " >&6
4601 if test -n "$GDC"; then
4602 ac_cv_prog_GDC
="$GDC" # Let the user override the test.
4604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4608 test -z "$as_dir" && as_dir
=.
4609 for ac_exec_ext
in '' $ac_executable_extensions; do
4610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4611 ac_cv_prog_GDC
="${ac_tool_prefix}gdc"
4612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 if test -n "$GDC"; then
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
4624 $as_echo "$GDC" >&6; }
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627 $as_echo "no" >&6; }
4632 if test -z "$ac_cv_prog_GDC"; then
4634 # Extract the first word of "gdc", so it can be a program name with args.
4635 set dummy gdc
; ac_word
=$2
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4637 $as_echo_n "checking for $ac_word... " >&6; }
4638 if ${ac_cv_prog_ac_ct_GDC+:} false
; then :
4639 $as_echo_n "(cached) " >&6
4641 if test -n "$ac_ct_GDC"; then
4642 ac_cv_prog_ac_ct_GDC
="$ac_ct_GDC" # Let the user override the test.
4644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4648 test -z "$as_dir" && as_dir
=.
4649 for ac_exec_ext
in '' $ac_executable_extensions; do
4650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4651 ac_cv_prog_ac_ct_GDC
="gdc"
4652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4661 ac_ct_GDC
=$ac_cv_prog_ac_ct_GDC
4662 if test -n "$ac_ct_GDC"; then
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GDC" >&5
4664 $as_echo "$ac_ct_GDC" >&6; }
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4667 $as_echo "no" >&6; }
4670 if test "x$ac_ct_GDC" = x
; then
4673 case $cross_compiling:$ac_tool_warned in
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4677 ac_tool_warned
=yes ;;
4682 GDC
="$ac_cv_prog_GDC"
4685 if test -z "$GDC"; then
4686 if test -n "$ac_tool_prefix"; then
4687 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
4688 set dummy
${ac_tool_prefix}gdc
; ac_word
=$2
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4690 $as_echo_n "checking for $ac_word... " >&6; }
4691 if ${ac_cv_prog_GDC+:} false
; then :
4692 $as_echo_n "(cached) " >&6
4694 if test -n "$GDC"; then
4695 ac_cv_prog_GDC
="$GDC" # Let the user override the test.
4697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4701 test -z "$as_dir" && as_dir
=.
4702 for ac_exec_ext
in '' $ac_executable_extensions; do
4703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4704 ac_cv_prog_GDC
="$ac_tool_prefix}gdc"
4705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715 if test -n "$GDC"; then
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
4717 $as_echo "$GDC" >&6; }
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4720 $as_echo "no" >&6; }
4726 if test -z "$GDC"; then
4727 # Extract the first word of "gdc", so it can be a program name with args.
4728 set dummy gdc
; ac_word
=$2
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4730 $as_echo_n "checking for $ac_word... " >&6; }
4731 if ${ac_cv_prog_GDC+:} false
; then :
4732 $as_echo_n "(cached) " >&6
4734 if test -n "$GDC"; then
4735 ac_cv_prog_GDC
="$GDC" # Let the user override the test.
4738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4742 test -z "$as_dir" && as_dir
=.
4743 for ac_exec_ext
in '' $ac_executable_extensions; do
4744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4745 if test "$as_dir/$ac_word$ac_exec_ext" = "false"; then
4746 ac_prog_rejected
=yes
4749 ac_cv_prog_GDC
="gdc"
4750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4757 if test $ac_prog_rejected = yes; then
4758 # We found a bogon in the path, so make sure we never use it.
4759 set dummy
$ac_cv_prog_GDC
4761 if test $# != 0; then
4762 # We chose a different compiler from the bogus one.
4763 # However, it has the same basename, so the bogon will be chosen
4764 # first if we set GDC to just the basename; use the full file name.
4766 ac_cv_prog_GDC
="$as_dir/$ac_word${1+' '}$@"
4772 if test -n "$GDC"; then
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
4774 $as_echo "$GDC" >&6; }
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4777 $as_echo "no" >&6; }
4784 # Provide some information about the compiler.
4785 $as_echo "$as_me:${as_lineno-$LINENO}: checking for D compiler version" >&5
4788 { { ac_try
="$ac_compiler --version >&5"
4790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4791 *) ac_try_echo=$ac_try;;
4793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4794 $as_echo "$ac_try_echo"; } >&5
4795 (eval "$ac_compiler --version >&5") 2>conftest.err
4797 if test -s conftest.err; then
4799 ... rest of stderr output deleted ...
4800 10q' conftest.err >conftest.er1
4801 cat conftest.er1 >&5
4803 rm -f conftest.er1 conftest.err
4804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4805 test $ac_status = 0; }
4807 ac_cpp='$CPP $CPPFLAGS'
4808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for absolute libphobos source path" >&5
4814 $as_echo_n "checking for absolute libphobos source path... " >&6; }
4815 if ${phobos_cv_abs_srcdir+:} false; then :
4816 $as_echo_n "(cached) " >&6
4818 phobos_cv_abs_srcdir=`cd $srcdir && pwd`
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $phobos_cv_abs_srcdir" >&5
4821 $as_echo "$phobos_cv_abs_srcdir" >&6; }
4822 if test -d "$phobos_cv_abs_srcdir"; then :
4825 as_fn_error $? "can't find absolute libphobos source path" "$LINENO" 5
4831 gdc_save_DFLAGS=$GDCFLAGS
4832 GDCFLAGS="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime $GDCFLAGS"
4835 ac_compile='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
4836 ac_link='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If $GDC can compile D sources" >&5
4840 $as_echo_n "checking If $GDC can compile D sources... " >&6; }
4841 cat > conftest.$ac_ext <<_ACEOF
4845 extern(C) int main() {
4849 if ac_fn_d_try_compile "$LINENO"; then :
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4851 $as_echo "yes" >&6; }
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 $as_echo "no" >&6; }
4855 as_fn_error $? "can't compile D sources!" "$LINENO" 5
4857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4859 ac_cpp='$CPP $CPPFLAGS'
4860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4865 GDCFLAGS=$gdc_save_DFLAGS
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4873 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4874 # Check whether --enable-maintainer-mode was given.
4875 if test "${enable_maintainer_mode+set}" = set; then :
4876 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4878 USE_MAINTAINER_MODE=no
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4882 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4883 if test $USE_MAINTAINER_MODE = yes; then
4884 MAINTAINER_MODE_TRUE=
4885 MAINTAINER_MODE_FALSE='#'
4887 MAINTAINER_MODE_TRUE='#'
4888 MAINTAINER_MODE_FALSE=
4891 MAINT=$MAINTAINER_MODE_TRUE
4894 if test -n "$ac_tool_prefix"; then
4895 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4896 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_RANLIB+:} false; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$RANLIB"; then
4903 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir=.
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 RANLIB=$ac_cv_prog_RANLIB
4923 if test -n "$RANLIB"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4925 $as_echo "$RANLIB" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4933 if test -z "$ac_cv_prog_RANLIB"; then
4934 ac_ct_RANLIB=$RANLIB
4935 # Extract the first word of "ranlib", so it can be a program name with args.
4936 set dummy ranlib; ac_word=$2
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4938 $as_echo_n "checking for $ac_word... " >&6; }
4939 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4940 $as_echo_n "(cached) " >&6
4942 if test -n "$ac_ct_RANLIB"; then
4943 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949 test -z "$as_dir" && as_dir=.
4950 for ac_exec_ext in '' $ac_executable_extensions; do
4951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4952 ac_cv_prog_ac_ct_RANLIB="ranlib"
4953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4963 if test -n "$ac_ct_RANLIB"; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4965 $as_echo "$ac_ct_RANLIB" >&6; }
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968 $as_echo "no" >&6; }
4971 if test "x$ac_ct_RANLIB" = x; then
4974 case $cross_compiling:$ac_tool_warned in
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4978 ac_tool_warned=yes ;;
4980 RANLIB=$ac_ct_RANLIB
4983 RANLIB="$ac_cv_prog_RANLIB"
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4988 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4990 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4991 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4992 $as_echo_n "(cached) " >&6
4994 cat >conftest.make <<\_ACEOF
4997 @echo '@@@%%%=$(MAKE)=@@@%%%'
4999 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5000 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
5002 eval ac_cv_prog_make_${ac_make}_set=yes;;
5004 eval ac_cv_prog_make_${ac_make}_set=no;;
5008 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5010 $as_echo "yes" >&6; }
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5015 SET_MAKE="MAKE=${MAKE-make}"
5019 # This should be inherited in the recursive make, but ensure it is defined.
5023 CC_FOR_BUILD=${CC_FOR_BUILD:-gcc}
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5031 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5036 macro_version='2.2.7a'
5037 macro_revision='1.3134'
5051 ltmain="$ac_aux_dir/ltmain.sh"
5053 # Backslashify metacharacters that are still active within
5054 # double-quoted strings.
5055 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5057 # Same as above, but do not quote variable references.
5058 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5060 # Sed substitution to delay expansion of an escaped shell variable in a
5061 # double_quote_subst'ed string.
5062 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5064 # Sed substitution to delay expansion of an escaped single quote.
5065 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5067 # Sed substitution to avoid accidental globbing in evaled expressions
5068 no_glob_subst='s/\*/\\\*/g'
5070 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5071 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5072 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5075 $as_echo_n "checking how to print
strings...
" >&6; }
5076 # Test print first, because it will be a builtin if present.
5077 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
5078 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5080 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5083 # Use this function as a fallback that always works.
5084 func_fallback_echo ()
5086 eval 'cat <<_LTECHO_EOF
5090 ECHO='func_fallback_echo'
5093 # func_echo_all arg...
5094 # Invoke $ECHO with all args, space-separated.
5101 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5102 $as_echo "printf" >&6; } ;;
5103 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5104 $as_echo "print
-r" >&6; } ;;
5105 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5106 $as_echo "cat" >&6; } ;;
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5123 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5124 if ${ac_cv_path_SED+:} false; then :
5125 $as_echo_n "(cached
) " >&6
5127 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5128 for ac_i in 1 2 3 4 5 6 7; do
5129 ac_script="$ac_script$as_nl$ac_script"
5131 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5132 { ac_script=; unset ac_script;}
5133 if test -z "$SED"; then
5134 ac_path_SED_found=false
5135 # Loop through the user's path and test for each of PROGNAME-LIST
5136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 test -z "$as_dir" && as_dir=.
5141 for ac_prog in sed gsed; do
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5144 as_fn_executable_p "$ac_path_SED" || continue
5145 # Check for GNU ac_path_SED and select it if it is found.
5146 # Check for GNU $ac_path_SED
5147 case `"$ac_path_SED" --version 2>&1` in
5149 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5152 $as_echo_n 0123456789 >"conftest.
in"
5155 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5156 mv "conftest.tmp
" "conftest.
in"
5157 cp "conftest.
in" "conftest.
nl"
5158 $as_echo '' >> "conftest.
nl"
5159 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5160 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5161 as_fn_arith $ac_count + 1 && ac_count=$as_val
5162 if test $ac_count -gt ${ac_path_SED_max-0}; then
5163 # Best one so far, save it but keep looking for a better one
5164 ac_cv_path_SED="$ac_path_SED"
5165 ac_path_SED_max=$ac_count
5167 # 10*(2^10) chars as input seems more than enough
5168 test $ac_count -gt 10 && break
5170 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5173 $ac_path_SED_found && break 3
5178 if test -z "$ac_cv_path_SED"; then
5179 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5187 $as_echo "$ac_cv_path_SED" >&6; }
5188 SED="$ac_cv_path_SED"
5191 test -z "$SED" && SED=sed
5192 Xsed="$SED -e 1s
/^X
//"
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5205 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5206 if ${ac_cv_path_GREP+:} false; then :
5207 $as_echo_n "(cached
) " >&6
5209 if test -z "$GREP"; then
5210 ac_path_GREP_found=false
5211 # Loop through the user's path and test for each of PROGNAME-LIST
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5216 test -z "$as_dir" && as_dir=.
5217 for ac_prog in grep ggrep; do
5218 for ac_exec_ext in '' $ac_executable_extensions; do
5219 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5220 as_fn_executable_p "$ac_path_GREP" || continue
5221 # Check for GNU ac_path_GREP and select it if it is found.
5222 # Check for GNU $ac_path_GREP
5223 case `"$ac_path_GREP" --version 2>&1` in
5225 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5228 $as_echo_n 0123456789 >"conftest.
in"
5231 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5232 mv "conftest.tmp
" "conftest.
in"
5233 cp "conftest.
in" "conftest.
nl"
5234 $as_echo 'GREP' >> "conftest.
nl"
5235 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5236 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5237 as_fn_arith $ac_count + 1 && ac_count=$as_val
5238 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5239 # Best one so far, save it but keep looking for a better one
5240 ac_cv_path_GREP="$ac_path_GREP"
5241 ac_path_GREP_max=$ac_count
5243 # 10*(2^10) chars as input seems more than enough
5244 test $ac_count -gt 10 && break
5246 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5249 $ac_path_GREP_found && break 3
5254 if test -z "$ac_cv_path_GREP"; then
5255 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5258 ac_cv_path_GREP=$GREP
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5263 $as_echo "$ac_cv_path_GREP" >&6; }
5264 GREP="$ac_cv_path_GREP"
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5268 $as_echo_n "checking
for egrep...
" >&6; }
5269 if ${ac_cv_path_EGREP+:} false; then :
5270 $as_echo_n "(cached
) " >&6
5272 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5273 then ac_cv_path_EGREP="$GREP -E"
5275 if test -z "$EGREP"; then
5276 ac_path_EGREP_found=false
5277 # Loop through the user's path and test for each of PROGNAME-LIST
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5282 test -z "$as_dir" && as_dir=.
5283 for ac_prog in egrep; do
5284 for ac_exec_ext in '' $ac_executable_extensions; do
5285 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5286 as_fn_executable_p "$ac_path_EGREP" || continue
5287 # Check for GNU ac_path_EGREP and select it if it is found.
5288 # Check for GNU $ac_path_EGREP
5289 case `"$ac_path_EGREP" --version 2>&1` in
5291 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5294 $as_echo_n 0123456789 >"conftest.
in"
5297 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5298 mv "conftest.tmp
" "conftest.
in"
5299 cp "conftest.
in" "conftest.
nl"
5300 $as_echo 'EGREP' >> "conftest.
nl"
5301 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5302 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5303 as_fn_arith $ac_count + 1 && ac_count=$as_val
5304 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5305 # Best one so far, save it but keep looking for a better one
5306 ac_cv_path_EGREP="$ac_path_EGREP"
5307 ac_path_EGREP_max=$ac_count
5309 # 10*(2^10) chars as input seems more than enough
5310 test $ac_count -gt 10 && break
5312 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5315 $ac_path_EGREP_found && break 3
5320 if test -z "$ac_cv_path_EGREP"; then
5321 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5324 ac_cv_path_EGREP=$EGREP
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5330 $as_echo "$ac_cv_path_EGREP" >&6; }
5331 EGREP="$ac_cv_path_EGREP"
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5335 $as_echo_n "checking
for fgrep...
" >&6; }
5336 if ${ac_cv_path_FGREP+:} false; then :
5337 $as_echo_n "(cached
) " >&6
5339 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5340 then ac_cv_path_FGREP="$GREP -F"
5342 if test -z "$FGREP"; then
5343 ac_path_FGREP_found=false
5344 # Loop through the user's path and test for each of PROGNAME-LIST
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5349 test -z "$as_dir" && as_dir=.
5350 for ac_prog in fgrep; do
5351 for ac_exec_ext in '' $ac_executable_extensions; do
5352 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5353 as_fn_executable_p "$ac_path_FGREP" || continue
5354 # Check for GNU ac_path_FGREP and select it if it is found.
5355 # Check for GNU $ac_path_FGREP
5356 case `"$ac_path_FGREP" --version 2>&1` in
5358 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5361 $as_echo_n 0123456789 >"conftest.
in"
5364 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5365 mv "conftest.tmp
" "conftest.
in"
5366 cp "conftest.
in" "conftest.
nl"
5367 $as_echo 'FGREP' >> "conftest.
nl"
5368 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5369 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5370 as_fn_arith $ac_count + 1 && ac_count=$as_val
5371 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5372 # Best one so far, save it but keep looking for a better one
5373 ac_cv_path_FGREP="$ac_path_FGREP"
5374 ac_path_FGREP_max=$ac_count
5376 # 10*(2^10) chars as input seems more than enough
5377 test $ac_count -gt 10 && break
5379 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5382 $ac_path_FGREP_found && break 3
5387 if test -z "$ac_cv_path_FGREP"; then
5388 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5391 ac_cv_path_FGREP=$FGREP
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5397 $as_echo "$ac_cv_path_FGREP" >&6; }
5398 FGREP="$ac_cv_path_FGREP"
5401 test -z "$GREP" && GREP=grep
5421 # Check whether --with-gnu-ld was given.
5422 if test "${with_gnu_ld+set}" = set; then :
5423 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5429 if test "$GCC" = yes; then
5430 # Check if gcc -print-prog-name=ld gives a path.
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5432 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5435 # gcc leaves a trailing carriage return which upsets mingw
5436 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5438 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5441 # Accept absolute paths.
5443 re_direlt='/[^/][^/]*/\.\./'
5444 # Canonicalize the pathname of ld
5445 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5446 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5447 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5449 test -z "$LD" && LD="$ac_prog"
5452 # If it fails, then pretend we aren't using GCC.
5456 # If it is relative, then search for the first ld in PATH.
5460 elif test "$with_gnu_ld" = yes; then
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5462 $as_echo_n "checking
for GNU ld...
" >&6; }
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5465 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5467 if ${lt_cv_path_LD+:} false; then :
5468 $as_echo_n "(cached
) " >&6
5470 if test -z "$LD"; then
5471 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5472 for ac_dir in $PATH; do
5474 test -z "$ac_dir" && ac_dir=.
5475 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5476 lt_cv_path_LD="$ac_dir/$ac_prog"
5477 # Check to see if the program is GNU ld. I'd rather use --version,
5478 # but apparently some variants of GNU ld only accept -v.
5479 # Break only if it was the GNU/non-GNU ld that we prefer.
5480 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5481 *GNU* | *'with BFD'*)
5482 test "$with_gnu_ld" != no && break
5485 test "$with_gnu_ld" != yes && break
5492 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5497 if test -n "$LD"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5499 $as_echo "$LD" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5502 $as_echo "no
" >&6; }
5504 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5506 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5507 if ${lt_cv_prog_gnu_ld+:} false; then :
5508 $as_echo_n "(cached
) " >&6
5510 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5511 case `$LD -v 2>&1 </dev/null` in
5512 *GNU* | *'with BFD'*)
5513 lt_cv_prog_gnu_ld=yes
5516 lt_cv_prog_gnu_ld=no
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5521 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5522 with_gnu_ld=$lt_cv_prog_gnu_ld
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5533 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5534 if ${lt_cv_path_NM+:} false; then :
5535 $as_echo_n "(cached
) " >&6
5537 if test -n "$NM"; then
5538 # Let the user override the test.
5541 lt_nm_to_check="${ac_tool_prefix}nm
"
5542 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5543 lt_nm_to_check="$lt_nm_to_check nm
"
5545 for lt_tmp_nm in $lt_nm_to_check; do
5546 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5547 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5549 test -z "$ac_dir" && ac_dir=.
5550 tmp_nm="$ac_dir/$lt_tmp_nm"
5551 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5552 # Check to see if the nm accepts a BSD-compat flag.
5553 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5554 # nm: unknown option "B
" ignored
5555 # Tru64's nm complains that /dev/null is an invalid object file
5556 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5557 */dev/null* | *'Invalid file or object type'*)
5558 lt_cv_path_NM="$tmp_nm -B"
5562 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5564 lt_cv_path_NM="$tmp_nm -p"
5568 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5569 continue # so that we can try to find one that supports BSD flags
5578 : ${lt_cv_path_NM=no}
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5582 $as_echo "$lt_cv_path_NM" >&6; }
5583 if test "$lt_cv_path_NM" != "no
"; then
5586 # Didn't find any BSD compatible name lister, look for dumpbin.
5587 if test -n "$DUMPBIN"; then :
5588 # Let the user override the test.
5590 if test -n "$ac_tool_prefix"; then
5591 for ac_prog in dumpbin "link
-dump"
5593 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5594 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5596 $as_echo_n "checking
for $ac_word...
" >&6; }
5597 if ${ac_cv_prog_DUMPBIN+:} false; then :
5598 $as_echo_n "(cached
) " >&6
5600 if test -n "$DUMPBIN"; then
5601 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607 test -z "$as_dir" && as_dir=.
5608 for ac_exec_ext in '' $ac_executable_extensions; do
5609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5610 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5611 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5620 DUMPBIN=$ac_cv_prog_DUMPBIN
5621 if test -n "$DUMPBIN"; then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5623 $as_echo "$DUMPBIN" >&6; }
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5626 $as_echo "no
" >&6; }
5630 test -n "$DUMPBIN" && break
5633 if test -z "$DUMPBIN"; then
5634 ac_ct_DUMPBIN=$DUMPBIN
5635 for ac_prog in dumpbin "link
-dump"
5637 # Extract the first word of "$ac_prog", so it can be a program name with args.
5638 set dummy $ac_prog; ac_word=$2
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5640 $as_echo_n "checking
for $ac_word...
" >&6; }
5641 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5642 $as_echo_n "(cached
) " >&6
5644 if test -n "$ac_ct_DUMPBIN"; then
5645 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5651 test -z "$as_dir" && as_dir=.
5652 for ac_exec_ext in '' $ac_executable_extensions; do
5653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5654 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5655 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5664 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5665 if test -n "$ac_ct_DUMPBIN"; then
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5667 $as_echo "$ac_ct_DUMPBIN" >&6; }
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5670 $as_echo "no
" >&6; }
5674 test -n "$ac_ct_DUMPBIN" && break
5677 if test "x
$ac_ct_DUMPBIN" = x; then
5680 case $cross_compiling:$ac_tool_warned in
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5683 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5684 ac_tool_warned=yes ;;
5686 DUMPBIN=$ac_ct_DUMPBIN
5690 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5692 DUMPBIN="$DUMPBIN -symbols"
5700 if test "$DUMPBIN" != ":"; then
5704 test -z "$NM" && NM=nm
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5712 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5713 if ${lt_cv_nm_interface+:} false; then :
5714 $as_echo_n "(cached
) " >&6
5716 lt_cv_nm_interface="BSD nm
"
5717 echo "int some_variable
= 0;" > conftest.$ac_ext
5718 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5719 (eval "$ac_compile" 2>conftest.err)
5720 cat conftest.err >&5
5721 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5722 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5723 cat conftest.err >&5
5724 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5725 cat conftest.out >&5
5726 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5727 lt_cv_nm_interface="MS dumpbin
"
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5732 $as_echo "$lt_cv_nm_interface" >&6; }
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5735 $as_echo_n "checking whether
ln -s works...
" >&6; }
5737 if test "$LN_S" = "ln -s"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5739 $as_echo "yes" >&6; }
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5742 $as_echo "no
, using
$LN_S" >&6; }
5745 # find the maximum length of command line arguments
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5747 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5748 if ${lt_cv_sys_max_cmd_len+:} false; then :
5749 $as_echo_n "(cached
) " >&6
5756 # On DJGPP, this test can blow up pretty badly due to problems in libc
5757 # (any single argument exceeding 2000 bytes causes a buffer overrun
5758 # during glob expansion). Even if it were fixed, the result of this
5759 # check would be larger than it should be.
5760 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5764 # Under GNU Hurd, this test is not required because there is
5765 # no limit to the length of command line arguments.
5766 # Libtool will interpret -1 as no limit whatsoever
5767 lt_cv_sys_max_cmd_len=-1;
5770 cygwin* | mingw* | cegcc*)
5771 # On Win9x/ME, this test blows up -- it succeeds, but takes
5772 # about 5 minutes as the teststring grows exponentially.
5773 # Worse, since 9x/ME are not pre-emptively multitasking,
5774 # you end up with a "frozen
" computer, even though with patience
5775 # the test eventually succeeds (with a max line length of 256k).
5776 # Instead, let's just punt: use the minimum linelength reported by
5777 # all of the supported platforms: 8192 (on NT/2K/XP).
5778 lt_cv_sys_max_cmd_len=8192;
5782 # On MiNT this can take a long time and run out of memory.
5783 lt_cv_sys_max_cmd_len=8192;
5787 # On AmigaOS with pdksh, this test takes hours, literally.
5788 # So we just punt and use a minimum line length of 8192.
5789 lt_cv_sys_max_cmd_len=8192;
5792 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5793 # This has been around since 386BSD, at least. Likely further.
5794 if test -x /sbin/sysctl; then
5795 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5796 elif test -x /usr/sbin/sysctl; then
5797 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5799 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5801 # And add a safety zone
5802 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5803 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5807 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5808 lt_cv_sys_max_cmd_len=196608
5812 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5813 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5814 # nice to cause kernel panics so lets avoid the loop below.
5815 # First set a reasonable default.
5816 lt_cv_sys_max_cmd_len=16384
5818 if test -x /sbin/sysconfig; then
5819 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5820 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5825 lt_cv_sys_max_cmd_len=102400
5827 sysv5* | sco5v6* | sysv4.2uw2*)
5828 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5829 if test -n "$kargmax"; then
5830 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5832 lt_cv_sys_max_cmd_len=32768
5836 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5837 if test -n "$lt_cv_sys_max_cmd_len"; then
5838 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5839 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5841 # Make teststring a little bigger before we do anything with it.
5842 # a 1K string should be a reasonable start.
5843 for i in 1 2 3 4 5 6 7 8 ; do
5844 teststring=$teststring$teststring
5846 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5847 # If test is not a shell built-in, we'll probably end up computing a
5848 # maximum length that is only half of the actual maximum length, but
5850 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5851 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5852 test $i != 17 # 1/2 MB should be enough
5855 teststring=$teststring$teststring
5857 # Only check the string length outside the loop.
5858 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5860 # Add a significant safety factor because C++ compilers can tack on
5861 # massive amounts of additional arguments before passing them to the
5862 # linker. It appears as though 1/2 is a usable value.
5863 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5870 if test -n $lt_cv_sys_max_cmd_len ; then
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5872 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5875 $as_echo "none
" >&6; }
5877 max_cmd_len=$lt_cv_sys_max_cmd_len
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5889 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5890 # Try some XSI features
5893 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5895 && eval 'test $(( 1 + 1 )) -eq 2 \
5896 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5899 $as_echo "$xsi_shell" >&6; }
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5903 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5905 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5907 && lt_shell_append
=yes
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5909 $as_echo "$lt_shell_append" >&6; }
5912 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5922 # test EBCDIC or ASCII
5923 case `echo X|tr X '\101'` in
5924 A
) # ASCII based system
5925 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5926 lt_SP2NL
='tr \040 \012'
5927 lt_NL2SP
='tr \015\012 \040\040'
5929 *) # EBCDIC based system
5930 lt_SP2NL
='tr \100 \n'
5931 lt_NL2SP
='tr \r\n \100\100'
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5944 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5945 if ${lt_cv_ld_reload_flag+:} false
; then :
5946 $as_echo_n "(cached) " >&6
5948 lt_cv_ld_reload_flag
='-r'
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5951 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5952 reload_flag
=$lt_cv_ld_reload_flag
5953 case $reload_flag in
5955 *) reload_flag
=" $reload_flag" ;;
5957 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5960 if test "$GCC" = yes; then
5961 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5963 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5976 if test -n "$ac_tool_prefix"; then
5977 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5978 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5980 $as_echo_n "checking for $ac_word... " >&6; }
5981 if ${ac_cv_prog_OBJDUMP+:} false
; then :
5982 $as_echo_n "(cached) " >&6
5984 if test -n "$OBJDUMP"; then
5985 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5991 test -z "$as_dir" && as_dir
=.
5992 for ac_exec_ext
in '' $ac_executable_extensions; do
5993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5994 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6004 OBJDUMP
=$ac_cv_prog_OBJDUMP
6005 if test -n "$OBJDUMP"; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6007 $as_echo "$OBJDUMP" >&6; }
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010 $as_echo "no" >&6; }
6015 if test -z "$ac_cv_prog_OBJDUMP"; then
6016 ac_ct_OBJDUMP
=$OBJDUMP
6017 # Extract the first word of "objdump", so it can be a program name with args.
6018 set dummy objdump
; ac_word
=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6022 $as_echo_n "(cached) " >&6
6024 if test -n "$ac_ct_OBJDUMP"; then
6025 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir
=.
6032 for ac_exec_ext
in '' $ac_executable_extensions; do
6033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6045 if test -n "$ac_ct_OBJDUMP"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6047 $as_echo "$ac_ct_OBJDUMP" >&6; }
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6053 if test "x$ac_ct_OBJDUMP" = x
; then
6056 case $cross_compiling:$ac_tool_warned in
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6060 ac_tool_warned
=yes ;;
6062 OBJDUMP
=$ac_ct_OBJDUMP
6065 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6068 test -z "$OBJDUMP" && OBJDUMP
=objdump
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6079 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6080 if ${lt_cv_deplibs_check_method+:} false
; then :
6081 $as_echo_n "(cached) " >&6
6083 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6084 lt_cv_file_magic_test_file
=
6085 lt_cv_deplibs_check_method
='unknown'
6086 # Need to set the preceding variable on all platforms that support
6087 # interlibrary dependencies.
6088 # 'none' -- dependencies not supported.
6089 # `unknown' -- same as none, but documents that we really don't know.
6090 # 'pass_all' -- all dependencies passed with no checks.
6091 # 'test_compile' -- check by making test program.
6092 # 'file_magic [[regex]]' -- check by looking for files in library path
6093 # which responds to the $file_magic_cmd with a given extended regex.
6094 # If you have `file' or equivalent on your system and you're not sure
6095 # whether `pass_all' will *always* work, you probably want this one.
6099 lt_cv_deplibs_check_method
=pass_all
6103 lt_cv_deplibs_check_method
=pass_all
6107 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6108 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6109 lt_cv_file_magic_test_file
=/shlib
/libc.so
6113 # func_win32_libid is a shell function defined in ltmain.sh
6114 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6115 lt_cv_file_magic_cmd
='func_win32_libid'
6119 # Base MSYS/MinGW do not provide the 'file' command needed by
6120 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6121 # unless we find 'file', for example because we are cross-compiling.
6122 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6123 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6124 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6125 lt_cv_file_magic_cmd
='func_win32_libid'
6127 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6128 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6133 # use the weaker test based on 'objdump'. See mingw*.
6134 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6135 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6138 darwin
* | rhapsody
*)
6139 lt_cv_deplibs_check_method
=pass_all
6142 freebsd
* | dragonfly
*)
6143 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6146 # Not sure whether the presence of OpenBSD here was a mistake.
6147 # Let's accept both of them until this is cleared up.
6148 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6149 lt_cv_file_magic_cmd
=/usr
/bin
/file
6150 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6154 lt_cv_deplibs_check_method
=pass_all
6159 lt_cv_deplibs_check_method
=pass_all
6163 lt_cv_deplibs_check_method
=pass_all
6166 hpux10.20
* | hpux11
*)
6167 lt_cv_file_magic_cmd
=/usr
/bin
/file
6170 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6171 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6174 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]'
6175 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6178 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6179 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6185 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6186 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6189 irix5
* | irix6
* | nonstopux
*)
6191 *-32|
*"-32 ") libmagic
=32-bit;;
6192 *-n32|
*"-n32 ") libmagic
=N32
;;
6193 *-64|
*"-64 ") libmagic
=64-bit;;
6194 *) libmagic
=never-match
;;
6196 lt_cv_deplibs_check_method
=pass_all
6199 # This must be Linux ELF.
6200 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6201 lt_cv_deplibs_check_method
=pass_all
6205 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6206 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6208 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6213 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6214 lt_cv_file_magic_cmd
=/usr
/bin
/file
6215 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6219 lt_cv_deplibs_check_method
=pass_all
6223 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6224 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6226 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6230 osf3
* | osf4
* | osf5
*)
6231 lt_cv_deplibs_check_method
=pass_all
6235 lt_cv_deplibs_check_method
=pass_all
6239 lt_cv_deplibs_check_method
=pass_all
6242 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6243 lt_cv_deplibs_check_method
=pass_all
6247 case $host_vendor in
6249 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]'
6250 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6253 lt_cv_deplibs_check_method
=pass_all
6256 lt_cv_file_magic_cmd
='/bin/file'
6257 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6260 lt_cv_file_magic_cmd
='/bin/file'
6261 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6262 lt_cv_file_magic_test_file
=/lib
/libc.so
6265 lt_cv_deplibs_check_method
=pass_all
6268 lt_cv_deplibs_check_method
=pass_all
6274 lt_cv_deplibs_check_method
=pass_all
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6280 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6281 file_magic_cmd
=$lt_cv_file_magic_cmd
6282 deplibs_check_method
=$lt_cv_deplibs_check_method
6283 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6296 if test -n "$ac_tool_prefix"; then
6297 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6298 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6300 $as_echo_n "checking for $ac_word... " >&6; }
6301 if ${ac_cv_prog_AR+:} false
; then :
6302 $as_echo_n "(cached) " >&6
6304 if test -n "$AR"; then
6305 ac_cv_prog_AR
="$AR" # Let the user override the test.
6307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6311 test -z "$as_dir" && as_dir
=.
6312 for ac_exec_ext
in '' $ac_executable_extensions; do
6313 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6314 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6325 if test -n "$AR"; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6327 $as_echo "$AR" >&6; }
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6330 $as_echo "no" >&6; }
6335 if test -z "$ac_cv_prog_AR"; then
6337 # Extract the first word of "ar", so it can be a program name with args.
6338 set dummy
ar; ac_word
=$2
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6340 $as_echo_n "checking for $ac_word... " >&6; }
6341 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6342 $as_echo_n "(cached) " >&6
6344 if test -n "$ac_ct_AR"; then
6345 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir
=.
6352 for ac_exec_ext
in '' $ac_executable_extensions; do
6353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6354 ac_cv_prog_ac_ct_AR
="ar"
6355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6364 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6365 if test -n "$ac_ct_AR"; then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6367 $as_echo "$ac_ct_AR" >&6; }
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6370 $as_echo "no" >&6; }
6373 if test "x$ac_ct_AR" = x
; then
6376 case $cross_compiling:$ac_tool_warned in
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6380 ac_tool_warned
=yes ;;
6388 test -z "$AR" && AR
=ar
6389 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6401 if test -n "$ac_tool_prefix"; then
6402 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6403 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6405 $as_echo_n "checking for $ac_word... " >&6; }
6406 if ${ac_cv_prog_STRIP+:} false
; then :
6407 $as_echo_n "(cached) " >&6
6409 if test -n "$STRIP"; then
6410 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6416 test -z "$as_dir" && as_dir
=.
6417 for ac_exec_ext
in '' $ac_executable_extensions; do
6418 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6419 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6429 STRIP
=$ac_cv_prog_STRIP
6430 if test -n "$STRIP"; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6432 $as_echo "$STRIP" >&6; }
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435 $as_echo "no" >&6; }
6440 if test -z "$ac_cv_prog_STRIP"; then
6442 # Extract the first word of "strip", so it can be a program name with args.
6443 set dummy strip
; ac_word
=$2
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6445 $as_echo_n "checking for $ac_word... " >&6; }
6446 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6447 $as_echo_n "(cached) " >&6
6449 if test -n "$ac_ct_STRIP"; then
6450 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6456 test -z "$as_dir" && as_dir
=.
6457 for ac_exec_ext
in '' $ac_executable_extensions; do
6458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6459 ac_cv_prog_ac_ct_STRIP
="strip"
6460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6469 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6470 if test -n "$ac_ct_STRIP"; then
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6472 $as_echo "$ac_ct_STRIP" >&6; }
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6475 $as_echo "no" >&6; }
6478 if test "x$ac_ct_STRIP" = x
; then
6481 case $cross_compiling:$ac_tool_warned in
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6485 ac_tool_warned
=yes ;;
6490 STRIP
="$ac_cv_prog_STRIP"
6493 test -z "$STRIP" && STRIP
=:
6500 if test -n "$ac_tool_prefix"; then
6501 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6502 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6504 $as_echo_n "checking for $ac_word... " >&6; }
6505 if ${ac_cv_prog_RANLIB+:} false
; then :
6506 $as_echo_n "(cached) " >&6
6508 if test -n "$RANLIB"; then
6509 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6515 test -z "$as_dir" && as_dir
=.
6516 for ac_exec_ext
in '' $ac_executable_extensions; do
6517 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6518 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6528 RANLIB
=$ac_cv_prog_RANLIB
6529 if test -n "$RANLIB"; then
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6531 $as_echo "$RANLIB" >&6; }
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6534 $as_echo "no" >&6; }
6539 if test -z "$ac_cv_prog_RANLIB"; then
6540 ac_ct_RANLIB
=$RANLIB
6541 # Extract the first word of "ranlib", so it can be a program name with args.
6542 set dummy ranlib
; ac_word
=$2
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6544 $as_echo_n "checking for $ac_word... " >&6; }
6545 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6546 $as_echo_n "(cached) " >&6
6548 if test -n "$ac_ct_RANLIB"; then
6549 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6555 test -z "$as_dir" && as_dir
=.
6556 for ac_exec_ext
in '' $ac_executable_extensions; do
6557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6558 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6568 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6569 if test -n "$ac_ct_RANLIB"; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6571 $as_echo "$ac_ct_RANLIB" >&6; }
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6574 $as_echo "no" >&6; }
6577 if test "x$ac_ct_RANLIB" = x
; then
6580 case $cross_compiling:$ac_tool_warned in
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6584 ac_tool_warned
=yes ;;
6586 RANLIB
=$ac_ct_RANLIB
6589 RANLIB
="$ac_cv_prog_RANLIB"
6592 test -z "$RANLIB" && RANLIB
=:
6599 # Determine commands to create old-style static archives.
6600 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6601 old_postinstall_cmds
='chmod 644 $oldlib'
6602 old_postuninstall_cmds
=
6604 if test -n "$RANLIB"; then
6607 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6610 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6613 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6618 lock_old_archive_extraction
=yes ;;
6620 lock_old_archive_extraction
=no
;;
6661 # If no C compiler was specified, use CC.
6664 # If no C compiler flags were specified, use CFLAGS.
6665 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6667 # Allow CC to be a program name with arguments.
6671 # Check for command to grab the raw symbol name followed by C symbol from nm.
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6673 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6674 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6675 $as_echo_n "(cached) " >&6
6678 # These are sane defaults that work on at least a few old systems.
6679 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6681 # Character class describing NM global symbol codes.
6682 symcode
='[BCDEGRST]'
6684 # Regexp to match symbols that can be accessed directly from C.
6685 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6687 # Define system-specific variables.
6692 cygwin
* | mingw
* | pw32
* | cegcc
*)
6693 symcode
='[ABCDGISTW]'
6696 if test "$host_cpu" = ia64
; then
6697 symcode
='[ABCDEGRST]'
6701 symcode
='[BCDEGRST]'
6704 symcode
='[BCDEGQRST]'
6715 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6723 # If we're using GNU nm, then use its standard symbol codes.
6724 case `$NM -V 2>&1` in
6725 *GNU
* |
*'with BFD'*)
6726 symcode
='[ABCDGIRSTW]' ;;
6729 # Transform an extracted symbol line into a proper C declaration.
6730 # Some systems (esp. on ia64) link data and code symbols differently,
6731 # so use this general approach.
6732 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6734 # Transform an extracted symbol line into symbol name and symbol address
6735 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6736 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'"
6738 # Handle CRLF in mingw tool chain
6742 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6746 # Try without a prefix underscore, then with it.
6747 for ac_symprfx
in "" "_"; do
6749 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6750 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6752 # Write the raw and C identifiers.
6753 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6754 # Fake it for dumpbin and say T for any non-static function
6755 # and D for any global variable.
6756 # Also find C++ and __fastcall symbols from MSVC++,
6757 # which start with @ or ?.
6758 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6759 " {last_section=section; section=\$ 3};"\
6760 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6761 " \$ 0!~/External *\|/{next};"\
6762 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6763 " {if(hide[section]) next};"\
6764 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6765 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6766 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6767 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6768 " ' prfx=^$ac_symprfx"
6770 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6773 # Check to see that the pipe works correctly.
6777 cat > conftest.
$ac_ext <<_LT_EOF
6782 void nm_test_func(void);
6783 void nm_test_func(void){}
6787 int main(){nm_test_var='a';nm_test_func();return(0);}
6790 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6791 (eval $ac_compile) 2>&5
6793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6794 test $ac_status = 0; }; then
6795 # Now try to grab the symbols.
6797 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6798 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6801 test $ac_status = 0; } && test -s "$nlist"; then
6802 # Try sorting and uniquifying the output.
6803 if sort "$nlist" |
uniq > "$nlist"T
; then
6804 mv -f "$nlist"T
"$nlist"
6809 # Make sure that we snagged all the symbols we need.
6810 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6811 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6812 cat <<_LT_EOF > conftest.$ac_ext
6818 # Now generate the symbol file.
6819 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6821 cat <<_LT_EOF >> conftest.$ac_ext
6823 /* The mapping between symbol names and symbols. */
6828 lt__PROGRAM__LTX_preloaded_symbols[] =
6830 { "@PROGRAM@", (void *) 0 },
6832 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6833 cat <<\_LT_EOF
>> conftest.
$ac_ext
6837 /* This works around a problem
in FreeBSD linker
*/
6838 #ifdef FREEBSD_WORKAROUND
6839 static const void
*lt_preloaded_setup
() {
6840 return lt__PROGRAM__LTX_preloaded_symbols
;
6848 # Now try linking the two files.
6849 mv conftest.
$ac_objext conftstm.
$ac_objext
6850 lt_save_LIBS
="$LIBS"
6851 lt_save_CFLAGS
="$CFLAGS"
6852 LIBS
="conftstm.$ac_objext"
6853 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6854 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6855 (eval $ac_link) 2>&5
6857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6858 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6861 LIBS
="$lt_save_LIBS"
6862 CFLAGS
="$lt_save_CFLAGS"
6864 echo "cannot find nm_test_func in $nlist" >&5
6867 echo "cannot find nm_test_var in $nlist" >&5
6870 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6873 echo "$progname: failed program was:" >&5
6874 cat conftest.
$ac_ext >&5
6876 rm -rf conftest
* conftst
*
6878 # Do not use the global_symbol_pipe unless it works.
6879 if test "$pipe_works" = yes; then
6882 lt_cv_sys_global_symbol_pipe
=
6888 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6889 lt_cv_sys_global_symbol_to_cdecl
=
6891 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6893 $as_echo "failed" >&6; }
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6896 $as_echo "ok" >&6; }
6921 # Check whether --enable-libtool-lock was given.
6922 if test "${enable_libtool_lock+set}" = set; then :
6923 enableval
=$enable_libtool_lock;
6926 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6928 # Some flags need to be propagated to the compiler or linker for good
6932 # Find out which ABI we are using.
6933 echo 'int i;' > conftest.
$ac_ext
6934 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6935 (eval $ac_compile) 2>&5
6937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6938 test $ac_status = 0; }; then
6939 case `/usr/bin/file conftest.$ac_objext` in
6951 # Find out which ABI we are using.
6952 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6953 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6954 (eval $ac_compile) 2>&5
6956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6957 test $ac_status = 0; }; then
6958 if test "$lt_cv_prog_gnu_ld" = yes; then
6959 case `/usr/bin/file conftest.$ac_objext` in
6961 LD
="${LD-ld} -melf32bsmip"
6964 LD
="${LD-ld} -melf32bmipn32"
6967 LD
="${LD-ld} -melf64bmip"
6971 case `/usr/bin/file conftest.$ac_objext` in
6987 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6988 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6989 # Find out which ABI we are using.
6990 echo 'int i;' > conftest.
$ac_ext
6991 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6992 (eval $ac_compile) 2>&5
6994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6995 test $ac_status = 0; }; then
6996 case `/usr/bin/file conftest.o` in
6999 x86_64-
*kfreebsd
*-gnu)
7000 LD
="${LD-ld} -m elf_i386_fbsd"
7003 case `/usr/bin/file conftest.o` in
7005 LD
="${LD-ld} -m elf32_x86_64"
7008 LD
="${LD-ld} -m elf_i386"
7012 powerpc64le-
*linux
*)
7013 LD
="${LD-ld} -m elf32lppclinux"
7016 LD
="${LD-ld} -m elf32ppclinux"
7019 LD
="${LD-ld} -m elf_s390"
7022 LD
="${LD-ld} -m elf32_sparc"
7028 x86_64-
*kfreebsd
*-gnu)
7029 LD
="${LD-ld} -m elf_x86_64_fbsd"
7032 LD
="${LD-ld} -m elf_x86_64"
7035 LD
="${LD-ld} -m elf64lppc"
7038 LD
="${LD-ld} -m elf64ppc"
7040 s390
*-*linux
*|s390
*-*tpf
*)
7041 LD
="${LD-ld} -m elf64_s390"
7044 LD
="${LD-ld} -m elf64_sparc"
7054 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7055 SAVE_CFLAGS
="$CFLAGS"
7056 CFLAGS
="$CFLAGS -belf"
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7058 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7059 if ${lt_cv_cc_needs_belf+:} false
; then :
7060 $as_echo_n "(cached) " >&6
7063 ac_cpp
='$CPP $CPPFLAGS'
7064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7069 /* end confdefs.h. */
7079 if ac_fn_c_try_link
"$LINENO"; then :
7080 lt_cv_cc_needs_belf
=yes
7082 lt_cv_cc_needs_belf
=no
7084 rm -f core conftest.err conftest.
$ac_objext \
7085 conftest
$ac_exeext conftest.
$ac_ext
7087 ac_cpp
='$CPP $CPPFLAGS'
7088 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7089 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7090 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7094 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7095 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7096 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7097 CFLAGS
="$SAVE_CFLAGS"
7101 # Find out which ABI we are using.
7102 echo 'int i;' > conftest.
$ac_ext
7103 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7104 (eval $ac_compile) 2>&5
7106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7107 test $ac_status = 0; }; then
7108 case `/usr/bin/file conftest.o` in
7110 case $lt_cv_prog_gnu_ld in
7111 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7113 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7125 need_locks
="$enable_libtool_lock"
7129 rhapsody
* | darwin
*)
7130 if test -n "$ac_tool_prefix"; then
7131 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7132 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7134 $as_echo_n "checking for $ac_word... " >&6; }
7135 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7136 $as_echo_n "(cached) " >&6
7138 if test -n "$DSYMUTIL"; then
7139 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7145 test -z "$as_dir" && as_dir
=.
7146 for ac_exec_ext
in '' $ac_executable_extensions; do
7147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7148 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7158 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7159 if test -n "$DSYMUTIL"; then
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7161 $as_echo "$DSYMUTIL" >&6; }
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7164 $as_echo "no" >&6; }
7169 if test -z "$ac_cv_prog_DSYMUTIL"; then
7170 ac_ct_DSYMUTIL
=$DSYMUTIL
7171 # Extract the first word of "dsymutil", so it can be a program name with args.
7172 set dummy dsymutil
; ac_word
=$2
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7174 $as_echo_n "checking for $ac_word... " >&6; }
7175 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7176 $as_echo_n "(cached) " >&6
7178 if test -n "$ac_ct_DSYMUTIL"; then
7179 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7185 test -z "$as_dir" && as_dir
=.
7186 for ac_exec_ext
in '' $ac_executable_extensions; do
7187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7188 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7198 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7199 if test -n "$ac_ct_DSYMUTIL"; then
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7201 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7204 $as_echo "no" >&6; }
7207 if test "x$ac_ct_DSYMUTIL" = x
; then
7210 case $cross_compiling:$ac_tool_warned in
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7214 ac_tool_warned
=yes ;;
7216 DSYMUTIL
=$ac_ct_DSYMUTIL
7219 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7222 if test -n "$ac_tool_prefix"; then
7223 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7224 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 $as_echo_n "checking for $ac_word... " >&6; }
7227 if ${ac_cv_prog_NMEDIT+:} false
; then :
7228 $as_echo_n "(cached) " >&6
7230 if test -n "$NMEDIT"; then
7231 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7237 test -z "$as_dir" && as_dir
=.
7238 for ac_exec_ext
in '' $ac_executable_extensions; do
7239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7240 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 NMEDIT
=$ac_cv_prog_NMEDIT
7251 if test -n "$NMEDIT"; then
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7253 $as_echo "$NMEDIT" >&6; }
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7256 $as_echo "no" >&6; }
7261 if test -z "$ac_cv_prog_NMEDIT"; then
7262 ac_ct_NMEDIT
=$NMEDIT
7263 # Extract the first word of "nmedit", so it can be a program name with args.
7264 set dummy nmedit
; ac_word
=$2
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7266 $as_echo_n "checking for $ac_word... " >&6; }
7267 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7268 $as_echo_n "(cached) " >&6
7270 if test -n "$ac_ct_NMEDIT"; then
7271 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7277 test -z "$as_dir" && as_dir
=.
7278 for ac_exec_ext
in '' $ac_executable_extensions; do
7279 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7280 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7291 if test -n "$ac_ct_NMEDIT"; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7293 $as_echo "$ac_ct_NMEDIT" >&6; }
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7296 $as_echo "no" >&6; }
7299 if test "x$ac_ct_NMEDIT" = x
; then
7302 case $cross_compiling:$ac_tool_warned in
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7306 ac_tool_warned
=yes ;;
7308 NMEDIT
=$ac_ct_NMEDIT
7311 NMEDIT
="$ac_cv_prog_NMEDIT"
7314 if test -n "$ac_tool_prefix"; then
7315 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7316 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7318 $as_echo_n "checking for $ac_word... " >&6; }
7319 if ${ac_cv_prog_LIPO+:} false
; then :
7320 $as_echo_n "(cached) " >&6
7322 if test -n "$LIPO"; then
7323 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7329 test -z "$as_dir" && as_dir
=.
7330 for ac_exec_ext
in '' $ac_executable_extensions; do
7331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7332 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 LIPO
=$ac_cv_prog_LIPO
7343 if test -n "$LIPO"; then
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7345 $as_echo "$LIPO" >&6; }
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 $as_echo "no" >&6; }
7353 if test -z "$ac_cv_prog_LIPO"; then
7355 # Extract the first word of "lipo", so it can be a program name with args.
7356 set dummy lipo
; ac_word
=$2
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 $as_echo_n "checking for $ac_word... " >&6; }
7359 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7360 $as_echo_n "(cached) " >&6
7362 if test -n "$ac_ct_LIPO"; then
7363 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7369 test -z "$as_dir" && as_dir
=.
7370 for ac_exec_ext
in '' $ac_executable_extensions; do
7371 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7372 ac_cv_prog_ac_ct_LIPO
="lipo"
7373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7383 if test -n "$ac_ct_LIPO"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7385 $as_echo "$ac_ct_LIPO" >&6; }
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7391 if test "x$ac_ct_LIPO" = x
; then
7394 case $cross_compiling:$ac_tool_warned in
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7398 ac_tool_warned
=yes ;;
7403 LIPO
="$ac_cv_prog_LIPO"
7406 if test -n "$ac_tool_prefix"; then
7407 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7408 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410 $as_echo_n "checking for $ac_word... " >&6; }
7411 if ${ac_cv_prog_OTOOL+:} false
; then :
7412 $as_echo_n "(cached) " >&6
7414 if test -n "$OTOOL"; then
7415 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7421 test -z "$as_dir" && as_dir
=.
7422 for ac_exec_ext
in '' $ac_executable_extensions; do
7423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7424 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 OTOOL
=$ac_cv_prog_OTOOL
7435 if test -n "$OTOOL"; then
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7437 $as_echo "$OTOOL" >&6; }
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7440 $as_echo "no" >&6; }
7445 if test -z "$ac_cv_prog_OTOOL"; then
7447 # Extract the first word of "otool", so it can be a program name with args.
7448 set dummy otool
; ac_word
=$2
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7450 $as_echo_n "checking for $ac_word... " >&6; }
7451 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7452 $as_echo_n "(cached) " >&6
7454 if test -n "$ac_ct_OTOOL"; then
7455 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7461 test -z "$as_dir" && as_dir
=.
7462 for ac_exec_ext
in '' $ac_executable_extensions; do
7463 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7464 ac_cv_prog_ac_ct_OTOOL
="otool"
7465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7475 if test -n "$ac_ct_OTOOL"; then
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7477 $as_echo "$ac_ct_OTOOL" >&6; }
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7480 $as_echo "no" >&6; }
7483 if test "x$ac_ct_OTOOL" = x
; then
7486 case $cross_compiling:$ac_tool_warned in
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7490 ac_tool_warned
=yes ;;
7495 OTOOL
="$ac_cv_prog_OTOOL"
7498 if test -n "$ac_tool_prefix"; then
7499 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7500 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7502 $as_echo_n "checking for $ac_word... " >&6; }
7503 if ${ac_cv_prog_OTOOL64+:} false
; then :
7504 $as_echo_n "(cached) " >&6
7506 if test -n "$OTOOL64"; then
7507 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7513 test -z "$as_dir" && as_dir
=.
7514 for ac_exec_ext
in '' $ac_executable_extensions; do
7515 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7516 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 OTOOL64
=$ac_cv_prog_OTOOL64
7527 if test -n "$OTOOL64"; then
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7529 $as_echo "$OTOOL64" >&6; }
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7532 $as_echo "no" >&6; }
7537 if test -z "$ac_cv_prog_OTOOL64"; then
7538 ac_ct_OTOOL64
=$OTOOL64
7539 # Extract the first word of "otool64", so it can be a program name with args.
7540 set dummy otool64
; ac_word
=$2
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7542 $as_echo_n "checking for $ac_word... " >&6; }
7543 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7544 $as_echo_n "(cached) " >&6
7546 if test -n "$ac_ct_OTOOL64"; then
7547 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7553 test -z "$as_dir" && as_dir
=.
7554 for ac_exec_ext
in '' $ac_executable_extensions; do
7555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7556 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7567 if test -n "$ac_ct_OTOOL64"; then
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7569 $as_echo "$ac_ct_OTOOL64" >&6; }
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7572 $as_echo "no" >&6; }
7575 if test "x$ac_ct_OTOOL64" = x
; then
7578 case $cross_compiling:$ac_tool_warned in
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7582 ac_tool_warned
=yes ;;
7584 OTOOL64
=$ac_ct_OTOOL64
7587 OTOOL64
="$ac_cv_prog_OTOOL64"
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7617 $as_echo_n "checking for -single_module linker flag... " >&6; }
7618 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7619 $as_echo_n "(cached) " >&6
7621 lt_cv_apple_cc_single_mod
=no
7622 if test -z "${LT_MULTI_MODULE}"; then
7623 # By default we will add the -single_module flag. You can override
7624 # by either setting the environment variable LT_MULTI_MODULE
7625 # non-empty at configure time, or by adding -multi_module to the
7627 rm -rf libconftest.dylib
*
7628 echo "int foo(void){return 1;}" > conftest.c
7629 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7630 -dynamiclib -Wl,-single_module conftest.c" >&5
7631 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7632 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7634 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7635 lt_cv_apple_cc_single_mod
=yes
7637 cat conftest.err
>&5
7639 rm -rf libconftest.dylib
*
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7644 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7646 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7647 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7648 $as_echo_n "(cached) " >&6
7650 lt_cv_ld_exported_symbols_list
=no
7651 save_LDFLAGS
=$LDFLAGS
7652 echo "_main" > conftest.sym
7653 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7655 /* end confdefs.h. */
7665 if ac_fn_c_try_link
"$LINENO"; then :
7666 lt_cv_ld_exported_symbols_list
=yes
7668 lt_cv_ld_exported_symbols_list
=no
7670 rm -f core conftest.err conftest.
$ac_objext \
7671 conftest
$ac_exeext conftest.
$ac_ext
7672 LDFLAGS
="$save_LDFLAGS"
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7676 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7678 $as_echo_n "checking for -force_load linker flag... " >&6; }
7679 if ${lt_cv_ld_force_load+:} false
; then :
7680 $as_echo_n "(cached) " >&6
7682 lt_cv_ld_force_load
=no
7683 cat > conftest.c
<< _LT_EOF
7684 int forced_loaded() { return 2;}
7686 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7687 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7688 echo "$AR cru libconftest.a conftest.o" >&5
7689 $AR cru libconftest.a conftest.o
2>&5
7690 cat > conftest.c
<< _LT_EOF
7691 int main() { return 0;}
7693 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7694 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7696 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
7697 lt_cv_ld_force_load
=yes
7699 cat conftest.err
>&5
7701 rm -f conftest.err libconftest.a conftest conftest.c
7702 rm -rf conftest.dSYM
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7706 $as_echo "$lt_cv_ld_force_load" >&6; }
7708 rhapsody
* | darwin1.
[012])
7709 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7711 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7712 darwin
*) # darwin 5.x on
7713 # if running on 10.5 or later, the deployment target defaults
7714 # to the OS version, if on x86, and 10.4, the deployment
7715 # target defaults to 10.4. Don't you love it?
7716 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7717 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7718 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7720 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7722 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7726 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7727 _lt_dar_single_mod
='$single_module'
7729 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7730 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7732 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7734 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7735 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7743 ac_cpp
='$CPP $CPPFLAGS'
7744 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7745 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7746 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7748 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7749 # On Suns, sometimes $CPP names a directory.
7750 if test -n "$CPP" && test -d "$CPP"; then
7753 if test -z "$CPP"; then
7754 if ${ac_cv_prog_CPP+:} false
; then :
7755 $as_echo_n "(cached) " >&6
7757 # Double quotes because CPP needs to be expanded
7758 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7761 for ac_c_preproc_warn_flag
in '' yes
7763 # Use a header file that comes with gcc, so configuring glibc
7764 # with a fresh cross-compiler works.
7765 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7766 # <limits.h> exists even on freestanding compilers.
7767 # On the NeXT, cc -E runs the code through the compiler's parser,
7768 # not just through cpp. "Syntax error" is here to catch this case.
7769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7772 # include <limits.h>
7774 # include <assert.h>
7778 if ac_fn_c_try_cpp
"$LINENO"; then :
7781 # Broken: fails on valid input.
7784 rm -f conftest.err conftest.i conftest.
$ac_ext
7786 # OK, works on sane cases. Now check whether nonexistent headers
7787 # can be detected and how.
7788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7789 /* end confdefs.h. */
7790 #include <ac_nonexistent.h>
7792 if ac_fn_c_try_cpp
"$LINENO"; then :
7793 # Broken: success on invalid input.
7796 # Passes both tests.
7800 rm -f conftest.err conftest.i conftest.
$ac_ext
7803 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7804 rm -f conftest.i conftest.err conftest.
$ac_ext
7805 if $ac_preproc_ok; then :
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7818 $as_echo "$CPP" >&6; }
7820 for ac_c_preproc_warn_flag
in '' yes
7822 # Use a header file that comes with gcc, so configuring glibc
7823 # with a fresh cross-compiler works.
7824 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7825 # <limits.h> exists even on freestanding compilers.
7826 # On the NeXT, cc -E runs the code through the compiler's parser,
7827 # not just through cpp. "Syntax error" is here to catch this case.
7828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7829 /* end confdefs.h. */
7831 # include <limits.h>
7833 # include <assert.h>
7837 if ac_fn_c_try_cpp
"$LINENO"; then :
7840 # Broken: fails on valid input.
7843 rm -f conftest.err conftest.i conftest.
$ac_ext
7845 # OK, works on sane cases. Now check whether nonexistent headers
7846 # can be detected and how.
7847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7848 /* end confdefs.h. */
7849 #include <ac_nonexistent.h>
7851 if ac_fn_c_try_cpp
"$LINENO"; then :
7852 # Broken: success on invalid input.
7855 # Passes both tests.
7859 rm -f conftest.err conftest.i conftest.
$ac_ext
7862 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7863 rm -f conftest.i conftest.err conftest.
$ac_ext
7864 if $ac_preproc_ok; then :
7867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7869 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7870 See \`config.log' for more details" "$LINENO" 5; }
7874 ac_cpp
='$CPP $CPPFLAGS'
7875 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7876 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7877 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7881 $as_echo_n "checking for ANSI C header files... " >&6; }
7882 if ${ac_cv_header_stdc+:} false
; then :
7883 $as_echo_n "(cached) " >&6
7885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7886 /* end confdefs.h. */
7900 if ac_fn_c_try_compile
"$LINENO"; then :
7901 ac_cv_header_stdc
=yes
7903 ac_cv_header_stdc
=no
7905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7907 if test $ac_cv_header_stdc = yes; then
7908 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7910 /* end confdefs.h. */
7914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7915 $EGREP "memchr" >/dev
/null
2>&1; then :
7918 ac_cv_header_stdc
=no
7924 if test $ac_cv_header_stdc = yes; then
7925 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7927 /* end confdefs.h. */
7931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7932 $EGREP "free" >/dev
/null
2>&1; then :
7935 ac_cv_header_stdc
=no
7941 if test $ac_cv_header_stdc = yes; then
7942 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7943 if test "$cross_compiling" = yes; then :
7946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7947 /* end confdefs.h. */
7950 #if ((' ' & 0x0FF) == 0x020)
7951 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7952 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7954 # define ISLOWER(c) \
7955 (('a' <= (c) && (c) <= 'i') \
7956 || ('j' <= (c) && (c) <= 'r') \
7957 || ('s' <= (c) && (c) <= 'z'))
7958 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7961 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7966 for (i = 0; i < 256; i++)
7967 if (XOR (islower (i), ISLOWER (i))
7968 || toupper (i) != TOUPPER (i))
7973 if ac_fn_c_try_run
"$LINENO"; then :
7976 ac_cv_header_stdc
=no
7978 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7979 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7985 $as_echo "$ac_cv_header_stdc" >&6; }
7986 if test $ac_cv_header_stdc = yes; then
7988 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7992 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7993 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7994 inttypes.h stdint.h unistd.h
7996 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7997 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7999 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8000 cat >>confdefs.h
<<_ACEOF
8001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8009 for ac_header
in dlfcn.h
8011 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8013 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8014 cat >>confdefs.h
<<_ACEOF
8015 #define HAVE_DLFCN_H 1
8035 # Check whether --enable-shared was given.
8036 if test "${enable_shared+set}" = set; then :
8037 enableval
=$enable_shared; p
=${PACKAGE-default}
8039 yes) enable_shared
=yes ;;
8040 no
) enable_shared
=no
;;
8043 # Look at the argument we got. We use all the common list separators.
8044 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8045 for pkg
in $enableval; do
8047 if test "X$pkg" = "X$p"; then
8066 # Check whether --enable-static was given.
8067 if test "${enable_static+set}" = set; then :
8068 enableval
=$enable_static; p
=${PACKAGE-default}
8070 yes) enable_static
=yes ;;
8071 no
) enable_static
=no
;;
8074 # Look at the argument we got. We use all the common list separators.
8075 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8076 for pkg
in $enableval; do
8078 if test "X$pkg" = "X$p"; then
8098 # Check whether --with-pic was given.
8099 if test "${with_pic+set}" = set; then :
8100 withval
=$with_pic; pic_mode
="$withval"
8106 test -z "$pic_mode" && pic_mode
=default
8114 # Check whether --enable-fast-install was given.
8115 if test "${enable_fast_install+set}" = set; then :
8116 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8118 yes) enable_fast_install
=yes ;;
8119 no
) enable_fast_install
=no
;;
8121 enable_fast_install
=no
8122 # Look at the argument we got. We use all the common list separators.
8123 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8124 for pkg
in $enableval; do
8126 if test "X$pkg" = "X$p"; then
8127 enable_fast_install
=yes
8134 enable_fast_install
=yes
8147 # This can be used to rebuild libtool when needed
8148 LIBTOOL_DEPS
="$ltmain"
8150 # Always use our own libtool.
8151 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8178 test -z "$LN_S" && LN_S
="ln -s"
8193 if test -n "${ZSH_VERSION+set}" ; then
8194 setopt NO_GLOB_SUBST
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8198 $as_echo_n "checking for objdir... " >&6; }
8199 if ${lt_cv_objdir+:} false
; then :
8200 $as_echo_n "(cached) " >&6
8202 rm -f .libs
2>/dev
/null
8203 mkdir .libs
2>/dev
/null
8204 if test -d .libs
; then
8207 # MS-DOS does not allow filenames that begin with a dot.
8210 rmdir .libs
2>/dev
/null
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8213 $as_echo "$lt_cv_objdir" >&6; }
8214 objdir
=$lt_cv_objdir
8220 cat >>confdefs.h
<<_ACEOF
8221 #define LT_OBJDIR "$lt_cv_objdir/"
8229 # AIX sometimes has problems with the GCC collect2 program. For some
8230 # reason, if we set the COLLECT_NAMES environment variable, the problems
8231 # vanish in a puff of smoke.
8232 if test "X${COLLECT_NAMES+set}" != Xset
; then
8234 export COLLECT_NAMES
8241 can_build_shared
=yes
8243 # All known linkers require a `.a' archive for static linking (except MSVC,
8244 # which needs '.lib').
8247 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8250 old_CFLAGS
="$CFLAGS"
8252 # Set sane defaults for various variables
8253 test -z "$CC" && CC
=cc
8254 test -z "$LTCC" && LTCC
=$CC
8255 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8256 test -z "$LD" && LD
=ld
8257 test -z "$ac_objext" && ac_objext
=o
8259 for cc_temp
in $compiler""; do
8261 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8262 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8267 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8270 # Only perform the check for file, if the check method requires it
8271 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8272 case $deplibs_check_method in
8274 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8276 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8277 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8278 $as_echo_n "(cached) " >&6
8282 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8285 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8286 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8287 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8288 for ac_dir
in $ac_dummy; do
8290 test -z "$ac_dir" && ac_dir
=.
8291 if test -f $ac_dir/${ac_tool_prefix}file; then
8292 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8293 if test -n "$file_magic_test_file"; then
8294 case $deplibs_check_method in
8296 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8297 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8298 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8299 $EGREP "$file_magic_regex" > /dev
/null
; then
8304 *** Warning: the command libtool uses to detect shared libraries,
8305 *** $file_magic_cmd, produces output that libtool cannot recognize.
8306 *** The result is that libtool may fail to recognize shared libraries
8307 *** as such. This will affect the creation of libtool libraries that
8308 *** depend on shared libraries, but programs linked with such libtool
8309 *** libraries will work regardless of this problem. Nevertheless, you
8310 *** may want to report the problem to your system manager and/or to
8311 *** bug-libtool@gnu.org
8321 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8326 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8327 if test -n "$MAGIC_CMD"; then
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8329 $as_echo "$MAGIC_CMD" >&6; }
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8332 $as_echo "no" >&6; }
8339 if test -z "$lt_cv_path_MAGIC_CMD"; then
8340 if test -n "$ac_tool_prefix"; then
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8342 $as_echo_n "checking for file... " >&6; }
8343 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8344 $as_echo_n "(cached) " >&6
8348 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8351 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8352 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8353 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8354 for ac_dir
in $ac_dummy; do
8356 test -z "$ac_dir" && ac_dir
=.
8357 if test -f $ac_dir/file; then
8358 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8359 if test -n "$file_magic_test_file"; then
8360 case $deplibs_check_method in
8362 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8363 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8364 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8365 $EGREP "$file_magic_regex" > /dev
/null
; then
8370 *** Warning: the command libtool uses to detect shared libraries,
8371 *** $file_magic_cmd, produces output that libtool cannot recognize.
8372 *** The result is that libtool may fail to recognize shared libraries
8373 *** as such. This will affect the creation of libtool libraries that
8374 *** depend on shared libraries, but programs linked with such libtool
8375 *** libraries will work regardless of this problem. Nevertheless, you
8376 *** may want to report the problem to your system manager and/or to
8377 *** bug-libtool@gnu.org
8387 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8392 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8393 if test -n "$MAGIC_CMD"; then
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8395 $as_echo "$MAGIC_CMD" >&6; }
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8398 $as_echo "no" >&6; }
8411 # Use C for the default configuration in the libtool script
8415 ac_cpp
='$CPP $CPPFLAGS'
8416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8421 # Source file extension for C test sources.
8424 # Object file extension for compiled C test sources.
8428 # Code to be used in simple compile tests
8429 lt_simple_compile_test_code
="int some_variable = 0;"
8431 # Code to be used in simple link tests
8432 lt_simple_link_test_code
='int main(){return(0);}'
8440 # If no C compiler was specified, use CC.
8443 # If no C compiler flags were specified, use CFLAGS.
8444 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8446 # Allow CC to be a program name with arguments.
8449 # Save the default compiler, since it gets overwritten when the other
8450 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8451 compiler_DEFAULT
=$CC
8453 # save warnings/boilerplate of simple test code
8454 ac_outfile
=conftest.
$ac_objext
8455 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8456 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8457 _lt_compiler_boilerplate
=`cat conftest.err`
8460 ac_outfile
=conftest.
$ac_objext
8461 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8462 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8463 _lt_linker_boilerplate
=`cat conftest.err`
8468 ## There is no encapsulation within the following macros, do not change
8469 ## the running order or otherwise move them around unless you know exactly
8470 ## what you are doing...
8471 if test -n "$compiler"; then
8473 lt_prog_compiler_no_builtin_flag
=
8475 if test "$GCC" = yes; then
8476 case $cc_basename in
8478 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8480 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8484 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8485 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8486 $as_echo_n "(cached) " >&6
8488 lt_cv_prog_compiler_rtti_exceptions
=no
8489 ac_outfile
=conftest.
$ac_objext
8490 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8491 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8492 # Insert the option either (1) after the last *FLAGS variable, or
8493 # (2) before a word containing "conftest.", or (3) at the end.
8494 # Note that $ac_compile itself does not contain backslashes and begins
8495 # with a dollar sign (not a hyphen), so the echo should work correctly.
8496 # The option is referenced via a variable to avoid confusing sed.
8497 lt_compile
=`echo "$ac_compile" | $SED \
8498 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8499 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8500 -e 's:$: $lt_compiler_flag:'`
8501 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8502 (eval "$lt_compile" 2>conftest.err
)
8504 cat conftest.err
>&5
8505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506 if (exit $ac_status) && test -s "$ac_outfile"; then
8507 # The compiler can only warn and ignore the option if not recognized
8508 # So say no if there are warnings other than the usual output.
8509 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8510 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8511 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8512 lt_cv_prog_compiler_rtti_exceptions
=yes
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8519 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8521 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8522 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8534 lt_prog_compiler_wl
=
8535 lt_prog_compiler_pic
=
8536 lt_prog_compiler_static
=
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8539 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8541 if test "$GCC" = yes; then
8542 lt_prog_compiler_wl
='-Wl,'
8543 lt_prog_compiler_static
='-static'
8547 # All AIX code is PIC.
8548 if test "$host_cpu" = ia64
; then
8549 # AIX 5 now supports IA64 processor
8550 lt_prog_compiler_static
='-Bstatic'
8552 lt_prog_compiler_pic
='-fPIC'
8558 # see comment about AmigaOS4 .so support
8559 lt_prog_compiler_pic
='-fPIC'
8562 # FIXME: we need at least 68020 code to build shared libraries, but
8563 # adding the `-m68020' flag to GCC prevents building anything better,
8565 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8570 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8571 # PIC is the default for these OSes.
8574 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8575 # This hack is so that the source file can tell whether it is being
8576 # built for inclusion in a dll (and should export symbols for example).
8577 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8578 # (--disable-auto-import) libraries
8579 lt_prog_compiler_pic
='-DDLL_EXPORT'
8582 darwin
* | rhapsody
*)
8583 # PIC is the default on this platform
8584 # Common symbols not allowed in MH_DYLIB files
8585 lt_prog_compiler_pic
='-fno-common'
8589 # PIC is the default for Haiku.
8590 # The "-static" flag exists, but is broken.
8591 lt_prog_compiler_static
=
8595 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8596 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8597 # sets the default TLS model and affects inlining.
8603 lt_prog_compiler_pic
='-fPIC'
8609 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8610 # Instead, we relocate shared libraries at runtime.
8614 # Just because we use GCC doesn't mean we suddenly get shared libraries
8615 # on systems that don't support them.
8616 lt_prog_compiler_can_build_shared
=no
8621 # QNX uses GNU C++, but need to define -shared option too, otherwise
8623 lt_prog_compiler_pic
='-fPIC -shared'
8627 if test -d /usr
/nec
; then
8628 lt_prog_compiler_pic
=-Kconform_pic
8633 lt_prog_compiler_pic
='-fPIC'
8637 case $cc_basename in
8638 nvcc
*) # Cuda Compiler Driver 2.2
8639 lt_prog_compiler_wl
='-Xlinker '
8640 lt_prog_compiler_pic
='-Xcompiler -fPIC'
8644 # PORTME Check for flag to pass linker flags through the system compiler.
8647 lt_prog_compiler_wl
='-Wl,'
8648 if test "$host_cpu" = ia64
; then
8649 # AIX 5 now supports IA64 processor
8650 lt_prog_compiler_static
='-Bstatic'
8652 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8656 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8657 # This hack is so that the source file can tell whether it is being
8658 # built for inclusion in a dll (and should export symbols for example).
8659 lt_prog_compiler_pic
='-DDLL_EXPORT'
8662 hpux9
* | hpux10
* | hpux11
*)
8663 lt_prog_compiler_wl
='-Wl,'
8664 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8671 lt_prog_compiler_pic
='+Z'
8674 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8675 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8678 irix5
* | irix6
* | nonstopux
*)
8679 lt_prog_compiler_wl
='-Wl,'
8680 # PIC (with -KPIC) is the default.
8681 lt_prog_compiler_static
='-non_shared'
8684 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8685 case $cc_basename in
8686 # old Intel for x86_64 which still supported -KPIC.
8688 lt_prog_compiler_wl
='-Wl,'
8689 lt_prog_compiler_pic
='-KPIC'
8690 lt_prog_compiler_static
='-static'
8692 # icc used to be incompatible with GCC.
8693 # ICC 10 doesn't accept -KPIC any more.
8695 lt_prog_compiler_wl
='-Wl,'
8696 lt_prog_compiler_pic
='-fPIC'
8697 lt_prog_compiler_static
='-static'
8699 # Lahey Fortran 8.1.
8701 lt_prog_compiler_wl
='-Wl,'
8702 lt_prog_compiler_pic
='--shared'
8703 lt_prog_compiler_static
='--static'
8705 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8706 # Portland Group compilers (*not* the Pentium gcc compiler,
8707 # which looks to be a dead project)
8708 lt_prog_compiler_wl
='-Wl,'
8709 lt_prog_compiler_pic
='-fpic'
8710 lt_prog_compiler_static
='-Bstatic'
8713 lt_prog_compiler_wl
='-Wl,'
8714 # All Alpha code is PIC.
8715 lt_prog_compiler_static
='-non_shared'
8717 xl
* | bgxl
* | bgf
* | mpixl
*)
8718 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8719 lt_prog_compiler_wl
='-Wl,'
8720 lt_prog_compiler_pic
='-qpic'
8721 lt_prog_compiler_static
='-qstaticlink'
8724 case `$CC -V 2>&1 | sed 5q` in
8725 *Sun\ F
* |
*Sun
*Fortran
*)
8726 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8727 lt_prog_compiler_pic
='-KPIC'
8728 lt_prog_compiler_static
='-Bstatic'
8729 lt_prog_compiler_wl
=''
8733 lt_prog_compiler_pic
='-KPIC'
8734 lt_prog_compiler_static
='-Bstatic'
8735 lt_prog_compiler_wl
='-Wl,'
8743 lt_prog_compiler_pic
='-KPIC'
8744 lt_prog_compiler_static
='-Bstatic'
8748 # QNX uses GNU C++, but need to define -shared option too, otherwise
8750 lt_prog_compiler_pic
='-fPIC -shared'
8753 osf3
* | osf4
* | osf5
*)
8754 lt_prog_compiler_wl
='-Wl,'
8755 # All OSF/1 code is PIC.
8756 lt_prog_compiler_static
='-non_shared'
8760 lt_prog_compiler_static
='-non_shared'
8764 lt_prog_compiler_pic
='-KPIC'
8765 lt_prog_compiler_static
='-Bstatic'
8766 case $cc_basename in
8768 lt_prog_compiler_wl
='-Qoption ld ';;
8770 lt_prog_compiler_wl
='-Wl,';;
8775 lt_prog_compiler_wl
='-Qoption ld '
8776 lt_prog_compiler_pic
='-PIC'
8777 lt_prog_compiler_static
='-Bstatic'
8780 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8781 lt_prog_compiler_wl
='-Wl,'
8782 lt_prog_compiler_pic
='-KPIC'
8783 lt_prog_compiler_static
='-Bstatic'
8787 if test -d /usr
/nec
;then
8788 lt_prog_compiler_pic
='-Kconform_pic'
8789 lt_prog_compiler_static
='-Bstatic'
8793 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8794 lt_prog_compiler_wl
='-Wl,'
8795 lt_prog_compiler_pic
='-KPIC'
8796 lt_prog_compiler_static
='-Bstatic'
8800 lt_prog_compiler_wl
='-Wl,'
8801 lt_prog_compiler_can_build_shared
=no
8805 lt_prog_compiler_pic
='-pic'
8806 lt_prog_compiler_static
='-Bstatic'
8810 lt_prog_compiler_can_build_shared
=no
8816 # For platforms which do not support PIC, -DPIC is meaningless:
8818 lt_prog_compiler_pic
=
8821 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8825 $as_echo "$lt_prog_compiler_pic" >&6; }
8833 # Check to make sure the PIC flag actually works.
8835 if test -n "$lt_prog_compiler_pic"; then
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8837 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8838 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8839 $as_echo_n "(cached) " >&6
8841 lt_cv_prog_compiler_pic_works
=no
8842 ac_outfile
=conftest.
$ac_objext
8843 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8844 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8845 # Insert the option either (1) after the last *FLAGS variable, or
8846 # (2) before a word containing "conftest.", or (3) at the end.
8847 # Note that $ac_compile itself does not contain backslashes and begins
8848 # with a dollar sign (not a hyphen), so the echo should work correctly.
8849 # The option is referenced via a variable to avoid confusing sed.
8850 lt_compile
=`echo "$ac_compile" | $SED \
8851 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8852 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8853 -e 's:$: $lt_compiler_flag:'`
8854 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8855 (eval "$lt_compile" 2>conftest.err
)
8857 cat conftest.err
>&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 if (exit $ac_status) && test -s "$ac_outfile"; then
8860 # The compiler can only warn and ignore the option if not recognized
8861 # So say no if there are warnings other than the usual output.
8862 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8863 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8864 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8865 lt_cv_prog_compiler_pic_works
=yes
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8872 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8874 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8875 case $lt_prog_compiler_pic in
8877 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8880 lt_prog_compiler_pic
=
8881 lt_prog_compiler_can_build_shared
=no
8892 # Check to make sure the static flag actually works.
8894 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8896 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8897 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8898 $as_echo_n "(cached) " >&6
8900 lt_cv_prog_compiler_static_works
=no
8901 save_LDFLAGS
="$LDFLAGS"
8902 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8903 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8904 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8905 # The linker can only warn and ignore the option if not recognized
8906 # So say no if there are warnings
8907 if test -s conftest.err
; then
8908 # Append any errors to the config.log.
8909 cat conftest.err
1>&5
8910 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8911 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8912 if diff conftest.exp conftest.er2
>/dev
/null
; then
8913 lt_cv_prog_compiler_static_works
=yes
8916 lt_cv_prog_compiler_static_works
=yes
8920 LDFLAGS
="$save_LDFLAGS"
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8924 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8926 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8929 lt_prog_compiler_static
=
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8939 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8940 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8941 $as_echo_n "(cached) " >&6
8943 lt_cv_prog_compiler_c_o
=no
8944 $RM -r conftest
2>/dev
/null
8948 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8950 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8951 # Insert the option either (1) after the last *FLAGS variable, or
8952 # (2) before a word containing "conftest.", or (3) at the end.
8953 # Note that $ac_compile itself does not contain backslashes and begins
8954 # with a dollar sign (not a hyphen), so the echo should work correctly.
8955 lt_compile
=`echo "$ac_compile" | $SED \
8956 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8957 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8958 -e 's:$: $lt_compiler_flag:'`
8959 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8960 (eval "$lt_compile" 2>out
/conftest.err
)
8962 cat out
/conftest.err
>&5
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8966 # The compiler can only warn and ignore the option if not recognized
8967 # So say no if there are warnings
8968 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8969 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8970 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8971 lt_cv_prog_compiler_c_o
=yes
8976 # SGI C++ compiler will create directory out/ii_files/ for
8977 # template instantiation
8978 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8979 $RM out
/* && rmdir out
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8986 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8994 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8995 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8996 $as_echo_n "(cached) " >&6
8998 lt_cv_prog_compiler_c_o
=no
8999 $RM -r conftest
2>/dev
/null
9003 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9005 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9006 # Insert the option either (1) after the last *FLAGS variable, or
9007 # (2) before a word containing "conftest.", or (3) at the end.
9008 # Note that $ac_compile itself does not contain backslashes and begins
9009 # with a dollar sign (not a hyphen), so the echo should work correctly.
9010 lt_compile
=`echo "$ac_compile" | $SED \
9011 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9012 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9013 -e 's:$: $lt_compiler_flag:'`
9014 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9015 (eval "$lt_compile" 2>out
/conftest.err
)
9017 cat out
/conftest.err
>&5
9018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9019 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9021 # The compiler can only warn and ignore the option if not recognized
9022 # So say no if there are warnings
9023 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9024 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9025 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9026 lt_cv_prog_compiler_c_o
=yes
9031 # SGI C++ compiler will create directory out/ii_files/ for
9032 # template instantiation
9033 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9034 $RM out
/* && rmdir out
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9041 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9046 hard_links
="nottested"
9047 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9048 # do not overwrite the value of need_locks provided by the user
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9050 $as_echo_n "checking if we can lock with hard links... " >&6; }
9053 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9055 ln conftest.a conftest.b
2>&5 || hard_links
=no
9056 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9058 $as_echo "$hard_links" >&6; }
9059 if test "$hard_links" = no
; then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9061 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9074 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9077 allow_undefined_flag
=
9078 always_export_symbols
=no
9080 archive_expsym_cmds
=
9081 compiler_needs_object
=no
9082 enable_shared_with_static_runtimes
=no
9083 export_dynamic_flag_spec
=
9084 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9085 hardcode_automatic
=no
9087 hardcode_direct_absolute
=no
9088 hardcode_libdir_flag_spec
=
9089 hardcode_libdir_flag_spec_ld
=
9090 hardcode_libdir_separator
=
9092 hardcode_shlibpath_var
=unsupported
9094 link_all_deplibs
=unknown
9097 old_archive_from_new_cmds
=
9098 old_archive_from_expsyms_cmds
=
9099 thread_safe_flag_spec
=
9100 whole_archive_flag_spec
=
9101 # include_expsyms should be a list of space-separated symbols to be *always*
9102 # included in the symbol list
9104 # exclude_expsyms can be an extended regexp of symbols to exclude
9105 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9106 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9107 # as well as any symbol that contains `d'.
9108 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9109 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9110 # platforms (ab)use it in PIC code, but their linkers get confused if
9111 # the symbol is explicitly referenced. Since portable code cannot
9112 # rely on this symbol name, it's probably fine to never include it in
9113 # preloaded symbol tables.
9114 # Exclude shared library initialization/finalization symbols.
9115 extract_expsyms_cmds
=
9118 cygwin
* | mingw
* | pw32
* | cegcc
*)
9119 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9120 # When not using gcc, we currently assume that we are using
9121 # Microsoft Visual C++.
9122 if test "$GCC" != yes; then
9127 # we just hope/assume this is gcc and not c89 (= MSVC++)
9137 # On some targets, GNU ld is compatible enough with the native linker
9138 # that we're better off using the native interface for both.
9139 lt_use_gnu_ld_interface
=no
9140 if test "$with_gnu_ld" = yes; then
9143 # The AIX port of GNU ld has always aspired to compatibility
9144 # with the native linker. However, as the warning in the GNU ld
9145 # block says, versions before 2.19.5* couldn't really create working
9146 # shared libraries, regardless of the interface used.
9147 case `$LD -v 2>&1` in
9148 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9149 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9150 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9152 lt_use_gnu_ld_interface
=yes
9157 lt_use_gnu_ld_interface
=yes
9162 if test "$lt_use_gnu_ld_interface" = yes; then
9163 # If archive_cmds runs LD, not CC, wlarc should be empty
9166 # Set some defaults for GNU ld with shared library support. These
9167 # are reset later if shared libraries are not supported. Putting them
9168 # here allows them to be overridden if necessary.
9169 runpath_var
=LD_RUN_PATH
9170 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9171 export_dynamic_flag_spec
='${wl}--export-dynamic'
9172 # ancient GNU ld didn't support --whole-archive et. al.
9173 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9174 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9176 whole_archive_flag_spec
=
9178 supports_anon_versioning
=no
9179 case `$LD -v 2>&1` in
9180 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9181 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9182 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9183 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9184 *\
2.11.
*) ;; # other 2.11 versions
9185 *) supports_anon_versioning
=yes ;;
9188 # See if GNU ld supports shared libraries.
9191 # On AIX/PPC, the GNU linker is very broken
9192 if test "$host_cpu" != ia64
; then
9196 *** Warning: the GNU linker, at least up to release 2.19, is reported
9197 *** to be unable to reliably create shared libraries on AIX.
9198 *** Therefore, libtool is disabling shared libraries support. If you
9199 *** really care for shared libraries, you may want to install binutils
9200 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9201 *** You will then need to restart the configuration process.
9210 # see comment about AmigaOS4 .so support
9211 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9212 archive_expsym_cmds
=''
9215 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)'
9216 hardcode_libdir_flag_spec
='-L$libdir'
9217 hardcode_minus_L
=yes
9223 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9224 allow_undefined_flag
=unsupported
9225 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9226 # support --undefined. This deserves some investigation. FIXME
9227 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9233 cygwin
* | mingw
* | pw32
* | cegcc
*)
9234 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9235 # as there is no search path for DLLs.
9236 hardcode_libdir_flag_spec
='-L$libdir'
9237 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9238 allow_undefined_flag
=unsupported
9239 always_export_symbols
=no
9240 enable_shared_with_static_runtimes
=yes
9241 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9243 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9244 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9245 # If the export-symbols file already is a .def file (1st line
9246 # is EXPORTS), use it as is; otherwise, prepend...
9247 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9248 cp $export_symbols $output_objdir/$soname.def;
9250 echo EXPORTS > $output_objdir/$soname.def;
9251 cat $export_symbols >> $output_objdir/$soname.def;
9253 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9260 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9261 link_all_deplibs
=yes
9266 hardcode_shlibpath_var
=no
9267 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9268 export_dynamic_flag_spec
='${wl}-E'
9269 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9270 # Instead, shared libraries are loaded at an image base (0x10000000 by
9271 # default) and relocated if they conflict, which is a slow very memory
9272 # consuming and fragmenting process. To avoid this, we pick a random,
9273 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9274 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9275 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9276 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'
9279 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9281 if test "$host_os" = linux-dietlibc
; then
9282 case $cc_basename in
9283 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9286 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9287 && test "$tmp_diet" = no
9289 tmp_addflag
=' $pic_flag'
9290 tmp_sharedflag
='-shared'
9291 case $cc_basename,$host_cpu in
9292 pgcc
*) # Portland Group C compiler
9293 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'
9294 tmp_addflag
=' $pic_flag'
9296 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9297 # Portland Group f77 and f90 compilers
9298 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'
9299 tmp_addflag
=' $pic_flag -Mnomain' ;;
9300 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9301 tmp_addflag
=' -i_dynamic' ;;
9302 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9303 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9304 ifc
* | ifort
*) # Intel Fortran compiler
9305 tmp_addflag
=' -nofor_main' ;;
9306 lf95
*) # Lahey Fortran 8.1
9307 whole_archive_flag_spec
=
9308 tmp_sharedflag
='--shared' ;;
9309 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9310 tmp_sharedflag
='-qmkshrobj'
9312 nvcc
*) # Cuda Compiler Driver 2.2
9313 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'
9314 compiler_needs_object
=yes
9317 case `$CC -V 2>&1 | sed 5q` in
9318 *Sun\ C
*) # Sun C 5.9
9319 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'
9320 compiler_needs_object
=yes
9321 tmp_sharedflag
='-G' ;;
9322 *Sun\ F
*) # Sun Fortran 8.3
9323 tmp_sharedflag
='-G' ;;
9325 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9327 if test "x$supports_anon_versioning" = xyes
; then
9328 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9329 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9330 echo "local: *; };" >> $output_objdir/$libname.ver~
9331 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9334 case $cc_basename in
9335 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9336 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9337 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9338 hardcode_libdir_flag_spec
=
9339 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9340 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9341 if test "x$supports_anon_versioning" = xyes
; then
9342 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9343 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9344 echo "local: *; };" >> $output_objdir/$libname.ver~
9345 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9355 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9356 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9359 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9360 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9365 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9369 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9370 *** create shared libraries on Solaris systems. Therefore, libtool
9371 *** is disabling shared libraries support. We urge you to upgrade GNU
9372 *** binutils to release 2.9.1 or newer. Another option is to modify
9373 *** your PATH or compiler configuration so that the native linker is
9374 *** used, and then restart.
9377 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9378 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9379 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9385 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9386 case `$LD -v 2>&1` in
9387 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9391 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9392 *** reliably create shared libraries on SCO systems. Therefore, libtool
9393 *** is disabling shared libraries support. We urge you to upgrade GNU
9394 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9395 *** your PATH or compiler configuration so that the native linker is
9396 *** used, and then restart.
9401 # For security reasons, it is highly recommended that you always
9402 # use absolute paths for naming shared libraries, and exclude the
9403 # DT_RUNPATH tag from executables and libraries. But doing so
9404 # requires that you compile everything twice, which is a pain.
9405 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9406 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9407 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9408 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9420 hardcode_shlibpath_var
=no
9424 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9425 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9426 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9433 if test "$ld_shlibs" = no
; then
9435 hardcode_libdir_flag_spec
=
9436 export_dynamic_flag_spec
=
9437 whole_archive_flag_spec
=
9440 # PORTME fill in a description of your system's linker (not GNU ld)
9443 allow_undefined_flag
=unsupported
9444 always_export_symbols
=yes
9445 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'
9446 # Note: this linker hardcodes the directories in LIBPATH if there
9447 # are no directories specified by -L.
9448 hardcode_minus_L
=yes
9449 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9450 # Neither direct hardcoding nor static linking is supported with a
9452 hardcode_direct
=unsupported
9457 if test "$host_cpu" = ia64
; then
9458 # On IA64, the linker does run time linking by default, so we don't
9459 # have to do anything special.
9460 aix_use_runtimelinking
=no
9461 exp_sym_flag
='-Bexport'
9464 # If we're using GNU nm, then we don't want the "-C" option.
9465 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9466 # Also, AIX nm treats weak defined symbols like other global
9467 # defined symbols, whereas GNU nm marks them as "W".
9468 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9469 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'
9471 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'
9473 aix_use_runtimelinking
=no
9475 # Test if we are trying to use run time linking or normal
9476 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9477 # need to do runtime linking.
9478 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9479 for ld_flag
in $LDFLAGS; do
9480 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9481 aix_use_runtimelinking
=yes
9488 exp_sym_flag
='-bexport'
9489 no_entry_flag
='-bnoentry'
9492 # When large executables or shared objects are built, AIX ld can
9493 # have problems creating the table of contents. If linking a library
9494 # or program results in "error TOC overflow" add -mminimal-toc to
9495 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9496 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9500 hardcode_direct_absolute
=yes
9501 hardcode_libdir_separator
=':'
9502 link_all_deplibs
=yes
9503 file_list_spec
='${wl}-f,'
9505 if test "$GCC" = yes; then
9506 case $host_os in aix4.
[012]|aix4.
[012].
*)
9507 # We only want to do this on AIX 4.2 and lower, the check
9508 # below for broken collect2 doesn't work under 4.3+
9509 collect2name
=`${CC} -print-prog-name=collect2`
9510 if test -f "$collect2name" &&
9511 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9513 # We have reworked collect2
9516 # We have old collect2
9517 hardcode_direct
=unsupported
9518 # It fails to find uninstalled libraries when the uninstalled
9519 # path is not listed in the libpath. Setting hardcode_minus_L
9520 # to unsupported forces relinking
9521 hardcode_minus_L
=yes
9522 hardcode_libdir_flag_spec
='-L$libdir'
9523 hardcode_libdir_separator
=
9527 shared_flag
='-shared'
9528 if test "$aix_use_runtimelinking" = yes; then
9529 shared_flag
="$shared_flag "'${wl}-G'
9533 if test "$host_cpu" = ia64
; then
9534 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9535 # chokes on -Wl,-G. The following line is correct:
9538 if test "$aix_use_runtimelinking" = yes; then
9539 shared_flag
='${wl}-G'
9541 shared_flag
='${wl}-bM:SRE'
9546 export_dynamic_flag_spec
='${wl}-bexpall'
9547 # It seems that -bexpall does not export symbols beginning with
9548 # underscore (_), so it is better to generate a list of symbols to export.
9549 always_export_symbols
=yes
9550 if test "$aix_use_runtimelinking" = yes; then
9551 # Warning - without using the other runtime loading flags (-brtl),
9552 # -berok will link without error, but may produce a broken library.
9553 allow_undefined_flag
='-berok'
9554 # Determine the default libpath from the value encoded in an
9556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9557 /* end confdefs.h. */
9567 if ac_fn_c_try_link
"$LINENO"; then :
9569 lt_aix_libpath_sed
='
9570 /Import File Strings/,/^$/ {
9576 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9577 # Check for a 64-bit object if we didn't find anything.
9578 if test -z "$aix_libpath"; then
9579 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9582 rm -f core conftest.err conftest.
$ac_objext \
9583 conftest
$ac_exeext conftest.
$ac_ext
9584 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9586 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9587 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"
9589 if test "$host_cpu" = ia64
; then
9590 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9591 allow_undefined_flag
="-z nodefs"
9592 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"
9594 # Determine the default libpath from the value encoded in an
9596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9597 /* end confdefs.h. */
9607 if ac_fn_c_try_link
"$LINENO"; then :
9609 lt_aix_libpath_sed
='
9610 /Import File Strings/,/^$/ {
9616 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9617 # Check for a 64-bit object if we didn't find anything.
9618 if test -z "$aix_libpath"; then
9619 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9622 rm -f core conftest.err conftest.
$ac_objext \
9623 conftest
$ac_exeext conftest.
$ac_ext
9624 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9626 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9627 # Warning - without using the other run time loading flags,
9628 # -berok will link without error, but may produce a broken library.
9629 no_undefined_flag
=' ${wl}-bernotok'
9630 allow_undefined_flag
=' ${wl}-berok'
9631 if test "$with_gnu_ld" = yes; then
9632 # We only use this code for GNU lds that support --whole-archive.
9633 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9635 # Exported symbols can be pulled into shared objects from archives
9636 whole_archive_flag_spec
='$convenience'
9638 archive_cmds_need_lc
=yes
9639 # This is similar to how AIX traditionally builds its shared libraries.
9640 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'
9648 # see comment about AmigaOS4 .so support
9649 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9650 archive_expsym_cmds
=''
9653 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)'
9654 hardcode_libdir_flag_spec
='-L$libdir'
9655 hardcode_minus_L
=yes
9661 export_dynamic_flag_spec
=-rdynamic
9664 cygwin
* | mingw
* | pw32
* | cegcc
*)
9665 # When not using gcc, we currently assume that we are using
9666 # Microsoft Visual C++.
9667 # hardcode_libdir_flag_spec is actually meaningless, as there is
9668 # no search path for DLLs.
9669 hardcode_libdir_flag_spec
=' '
9670 allow_undefined_flag
=unsupported
9671 # Tell ltmain to make .lib files, not .a files.
9673 # Tell ltmain to make .dll files, not .so files.
9675 # FIXME: Setting linknames here is a bad hack.
9676 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9677 # The linker will automatically build a .lib file if we build a DLL.
9678 old_archive_from_new_cmds
='true'
9679 # FIXME: Should let the user specify the lib program.
9680 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9681 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9682 enable_shared_with_static_runtimes
=yes
9685 darwin
* | rhapsody
*)
9688 archive_cmds_need_lc
=no
9690 hardcode_automatic
=yes
9691 hardcode_shlibpath_var
=unsupported
9692 if test "$lt_cv_ld_force_load" = "yes"; then
9693 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\"`'
9695 whole_archive_flag_spec
=''
9697 link_all_deplibs
=yes
9698 allow_undefined_flag
="$_lt_dar_allow_undefined"
9699 case $cc_basename in
9700 ifort
*) _lt_dar_can_shared
=yes ;;
9701 *) _lt_dar_can_shared
=$GCC ;;
9703 if test "$_lt_dar_can_shared" = "yes"; then
9704 output_verbose_link_cmd
=func_echo_all
9705 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9706 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9707 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}"
9708 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}"
9717 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9718 hardcode_libdir_flag_spec
='-L$libdir'
9719 hardcode_shlibpath_var
=no
9722 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9723 # support. Future versions do this automatically, but an explicit c++rt0.o
9724 # does not break anything, and helps significantly (at the cost of a little
9727 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9728 hardcode_libdir_flag_spec
='-R$libdir'
9730 hardcode_shlibpath_var
=no
9733 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9735 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9737 hardcode_minus_L
=yes
9738 hardcode_shlibpath_var
=no
9741 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9742 freebsd
* | dragonfly
*)
9743 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9744 hardcode_libdir_flag_spec
='-R$libdir'
9746 hardcode_shlibpath_var
=no
9750 if test "$GCC" = yes; then
9751 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'
9753 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'
9755 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9756 hardcode_libdir_separator
=:
9759 # hardcode_minus_L: Not really in the search PATH,
9760 # but as the default location of the library.
9761 hardcode_minus_L
=yes
9762 export_dynamic_flag_spec
='${wl}-E'
9766 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9767 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9769 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9771 if test "$with_gnu_ld" = no
; then
9772 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9773 hardcode_libdir_flag_spec_ld
='+b $libdir'
9774 hardcode_libdir_separator
=:
9776 hardcode_direct_absolute
=yes
9777 export_dynamic_flag_spec
='${wl}-E'
9778 # hardcode_minus_L: Not really in the search PATH,
9779 # but as the default location of the library.
9780 hardcode_minus_L
=yes
9785 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9788 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9791 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9794 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9800 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9803 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9807 # Older versions of the 11.00 compiler do not understand -b yet
9808 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9810 $as_echo_n "checking if $CC understands -b... " >&6; }
9811 if ${lt_cv_prog_compiler__b+:} false
; then :
9812 $as_echo_n "(cached) " >&6
9814 lt_cv_prog_compiler__b
=no
9815 save_LDFLAGS
="$LDFLAGS"
9816 LDFLAGS
="$LDFLAGS -b"
9817 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9818 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9819 # The linker can only warn and ignore the option if not recognized
9820 # So say no if there are warnings
9821 if test -s conftest.err
; then
9822 # Append any errors to the config.log.
9823 cat conftest.err
1>&5
9824 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9825 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9826 if diff conftest.exp conftest.er2
>/dev
/null
; then
9827 lt_cv_prog_compiler__b
=yes
9830 lt_cv_prog_compiler__b
=yes
9834 LDFLAGS
="$save_LDFLAGS"
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9838 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9840 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9841 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9843 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9849 if test "$with_gnu_ld" = no
; then
9850 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9851 hardcode_libdir_separator
=:
9856 hardcode_shlibpath_var
=no
9860 hardcode_direct_absolute
=yes
9861 export_dynamic_flag_spec
='${wl}-E'
9863 # hardcode_minus_L: Not really in the search PATH,
9864 # but as the default location of the library.
9865 hardcode_minus_L
=yes
9871 irix5
* | irix6
* | nonstopux
*)
9872 if test "$GCC" = yes; then
9873 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'
9874 # Try to use the -exported_symbol ld option, if it does not
9875 # work, assume that -exports_file does not work either and
9876 # implicitly export all symbols.
9877 save_LDFLAGS
="$LDFLAGS"
9878 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9883 if ac_fn_c_try_link
"$LINENO"; then :
9884 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'
9887 rm -f core conftest.err conftest.
$ac_objext \
9888 conftest
$ac_exeext conftest.
$ac_ext
9889 LDFLAGS
="$save_LDFLAGS"
9891 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'
9892 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'
9894 archive_cmds_need_lc
='no'
9895 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9896 hardcode_libdir_separator
=:
9898 link_all_deplibs
=yes
9902 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9903 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9905 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9907 hardcode_libdir_flag_spec
='-R$libdir'
9909 hardcode_shlibpath_var
=no
9913 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9915 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9916 hardcode_libdir_separator
=:
9917 hardcode_shlibpath_var
=no
9924 if test -f /usr
/libexec
/ld.so
; then
9926 hardcode_shlibpath_var
=no
9927 hardcode_direct_absolute
=yes
9928 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9929 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9930 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9931 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9932 export_dynamic_flag_spec
='${wl}-E'
9935 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9936 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9937 hardcode_libdir_flag_spec
='-R$libdir'
9940 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9941 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9951 hardcode_libdir_flag_spec
='-L$libdir'
9952 hardcode_minus_L
=yes
9953 allow_undefined_flag
=unsupported
9954 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'
9955 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9959 if test "$GCC" = yes; then
9960 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9961 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'
9963 allow_undefined_flag
=' -expect_unresolved \*'
9964 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'
9966 archive_cmds_need_lc
='no'
9967 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9968 hardcode_libdir_separator
=:
9971 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9972 if test "$GCC" = yes; then
9973 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9974 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'
9975 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9977 allow_undefined_flag
=' -expect_unresolved \*'
9978 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'
9979 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~
9980 $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'
9982 # Both c and cxx compiler support -rpath directly
9983 hardcode_libdir_flag_spec
='-rpath $libdir'
9985 archive_cmds_need_lc
='no'
9986 hardcode_libdir_separator
=:
9990 no_undefined_flag
=' -z defs'
9991 if test "$GCC" = yes; then
9993 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9994 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9995 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9997 case `$CC -V 2>&1` in
10000 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10001 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10002 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10006 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10007 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10008 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10012 hardcode_libdir_flag_spec
='-R$libdir'
10013 hardcode_shlibpath_var
=no
10015 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10017 # The compiler driver will combine and reorder linker options,
10018 # but understands `-z linker_flag'. GCC discards it without `$wl',
10019 # but is careful enough not to reorder.
10020 # Supported since Solaris 2.6 (maybe 2.5.1?)
10021 if test "$GCC" = yes; then
10022 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10024 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10028 link_all_deplibs
=yes
10032 if test "x$host_vendor" = xsequent
; then
10033 # Use $CC to link under sequent, because it throws in some extra .o
10034 # files that make .init and .fini sections work.
10035 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10037 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10039 hardcode_libdir_flag_spec
='-L$libdir'
10040 hardcode_direct
=yes
10041 hardcode_minus_L
=yes
10042 hardcode_shlibpath_var
=no
10046 case $host_vendor in
10048 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10049 hardcode_direct
=yes # is this really true???
10052 ## LD is ld it makes a PLAMLIB
10053 ## CC just makes a GrossModule.
10054 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10055 reload_cmds
='$CC -r -o $output$reload_objs'
10059 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10060 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10063 runpath_var
='LD_RUN_PATH'
10064 hardcode_shlibpath_var
=no
10068 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10069 hardcode_shlibpath_var
=no
10070 export_dynamic_flag_spec
='-Bexport'
10074 if test -d /usr
/nec
; then
10075 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10076 hardcode_shlibpath_var
=no
10077 runpath_var
=LD_RUN_PATH
10078 hardcode_runpath_var
=yes
10083 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10084 no_undefined_flag
='${wl}-z,text'
10085 archive_cmds_need_lc
=no
10086 hardcode_shlibpath_var
=no
10087 runpath_var
='LD_RUN_PATH'
10089 if test "$GCC" = yes; then
10090 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098 sysv5
* | sco3.2v5
* | sco5v6
*)
10099 # Note: We can NOT use -z defs as we might desire, because we do not
10100 # link with -lc, and that would cause any symbols used from libc to
10101 # always be unresolved, which means just about no library would
10102 # ever link correctly. If we're not using GNU ld we use -z text
10103 # though, which does catch some bad symbols but isn't as heavy-handed
10105 no_undefined_flag
='${wl}-z,text'
10106 allow_undefined_flag
='${wl}-z,nodefs'
10107 archive_cmds_need_lc
=no
10108 hardcode_shlibpath_var
=no
10109 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10110 hardcode_libdir_separator
=':'
10111 link_all_deplibs
=yes
10112 export_dynamic_flag_spec
='${wl}-Bexport'
10113 runpath_var
='LD_RUN_PATH'
10115 if test "$GCC" = yes; then
10116 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10120 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10125 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10126 hardcode_libdir_flag_spec
='-L$libdir'
10127 hardcode_shlibpath_var
=no
10135 if test x
$host_vendor = xsni
; then
10137 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10138 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10145 $as_echo "$ld_shlibs" >&6; }
10146 test "$ld_shlibs" = no
&& can_build_shared
=no
10148 with_gnu_ld
=$with_gnu_ld
10165 # Do we need to explicitly link libc?
10167 case "x$archive_cmds_need_lc" in
10169 # Assume -lc should be added
10170 archive_cmds_need_lc
=yes
10172 if test "$enable_shared" = yes && test "$GCC" = yes; then
10173 case $archive_cmds in
10175 # FIXME: we may have to deal with multi-command sequences.
10178 # Test whether the compiler implicitly links with -lc since on some
10179 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10180 # to ld, don't add -lc before -lgcc.
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10182 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10183 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10184 $as_echo_n "(cached) " >&6
10187 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10190 (eval $ac_compile) 2>&5
10192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10193 test $ac_status = 0; } 2>conftest.err
; then
10196 libobjs
=conftest.
$ac_objext
10198 wl
=$lt_prog_compiler_wl
10199 pic_flag
=$lt_prog_compiler_pic
10205 lt_save_allow_undefined_flag
=$allow_undefined_flag
10206 allow_undefined_flag
=
10207 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10208 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10211 test $ac_status = 0; }
10213 lt_cv_archive_cmds_need_lc
=no
10215 lt_cv_archive_cmds_need_lc
=yes
10217 allow_undefined_flag
=$lt_save_allow_undefined_flag
10219 cat conftest.err
1>&5
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10225 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10226 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10390 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10392 if test "$GCC" = yes; then
10394 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10395 *) lt_awk_arg
="/^libraries:/" ;;
10398 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10399 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10401 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10402 case $lt_search_path_spec in
10404 # if the path contains ";" then we assume it to be the separator
10405 # otherwise default to the standard path separator (i.e. ":") - it is
10406 # assumed that no part of a normal pathname contains ";" but that should
10407 # okay in the real world where ";" in dirpaths is itself problematic.
10408 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10411 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10414 # Ok, now we have the path, separated by spaces, we can step through it
10415 # and add multilib dir if necessary.
10416 lt_tmp_lt_search_path_spec
=
10417 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10418 for lt_sys_path
in $lt_search_path_spec; do
10419 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10420 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10422 test -d "$lt_sys_path" && \
10423 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10426 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10427 BEGIN {RS=" "; FS="/|\n";} {
10430 for (lt_i = NF; lt_i > 0; lt_i--) {
10431 if ($lt_i != "" && $lt_i != ".") {
10432 if ($lt_i == "..") {
10435 if (lt_count == 0) {
10436 lt_foo="/" $lt_i lt_foo;
10443 if (lt_foo != "") { lt_freq[lt_foo]++; }
10444 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10446 # AWK program above erroneously prepends '/' to C:/dos/paths
10449 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10450 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10452 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10454 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10456 library_names_spec
=
10457 libname_spec
='lib$name'
10461 postuninstall_cmds
=
10465 shlibpath_overrides_runpath
=unknown
10467 dynamic_linker
="$host_os ld.so"
10468 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10469 need_lib_prefix
=unknown
10470 hardcode_into_libs
=no
10472 # when you set need_version to no, make sure it does not cause -set_version
10473 # flags to be left without arguments
10474 need_version
=unknown
10479 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10480 shlibpath_var
=LIBPATH
10482 # AIX 3 has no versioning support, so we append a major version to the name.
10483 soname_spec
='${libname}${release}${shared_ext}$major'
10490 hardcode_into_libs
=yes
10491 if test "$host_cpu" = ia64
; then
10492 # AIX 5 supports IA64
10493 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10494 shlibpath_var
=LD_LIBRARY_PATH
10496 # With GCC up to 2.95.x, collect2 would create an import file
10497 # for dependence libraries. The import file would start with
10498 # the line `#! .'. This would cause the generated library to
10499 # depend on `.', always an invalid library. This was fixed in
10500 # development snapshots of GCC prior to 3.0.
10502 aix4 | aix4.
[01] | aix4.
[01].
*)
10503 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10505 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10508 can_build_shared
=no
10512 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10513 # soname into executable. Probably we can add versioning support to
10514 # collect2, so additional links can be useful in future.
10515 if test "$aix_use_runtimelinking" = yes; then
10516 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10517 # instead of lib<name>.a to let people know that these are not
10518 # typical AIX shared libraries.
10519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10521 # We preserve .a as extension for shared libraries through AIX4.2
10522 # and later when we are not doing run time linking.
10523 library_names_spec
='${libname}${release}.a $libname.a'
10524 soname_spec
='${libname}${release}${shared_ext}$major'
10526 shlibpath_var
=LIBPATH
10533 # Since July 2007 AmigaOS4 officially supports .so libraries.
10534 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538 library_names_spec
='$libname.ixlibrary $libname.a'
10539 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10540 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'
10546 library_names_spec
='${libname}${shared_ext}'
10547 dynamic_linker
="$host_os ld.so"
10548 shlibpath_var
=LIBRARY_PATH
10554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10555 soname_spec
='${libname}${release}${shared_ext}$major'
10556 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10557 shlibpath_var
=LD_LIBRARY_PATH
10558 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10559 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10560 # the default ld.so.conf also contains /usr/contrib/lib and
10561 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10562 # libtool to hard-code these into programs
10565 cygwin
* | mingw
* | pw32
* | cegcc
*)
10566 version_type
=windows
10571 case $GCC,$host_os in
10572 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10573 library_names_spec
='$libname.dll.a'
10574 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10575 postinstall_cmds
='base_file=`basename \${file}`~
10576 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10577 dldir=$destdir/`dirname \$dlpath`~
10578 test -d \$dldir || mkdir -p \$dldir~
10579 $install_prog $dir/$dlname \$dldir/$dlname~
10580 chmod a+x \$dldir/$dlname~
10581 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10582 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10584 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10585 dlpath=$dir/\$dldll~
10587 shlibpath_overrides_runpath
=yes
10591 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10592 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10594 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10597 # MinGW DLLs use traditional 'lib' prefix
10598 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10601 # pw32 DLLs use 'pw' prefix rather than 'lib'
10602 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10608 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10611 dynamic_linker
='Win32 ld.exe'
10612 # FIXME: first we should search . and the directory the executable is in
10616 darwin
* | rhapsody
*)
10617 dynamic_linker
="$host_os dyld"
10618 version_type
=darwin
10621 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10622 soname_spec
='${libname}${release}${major}$shared_ext'
10623 shlibpath_overrides_runpath
=yes
10624 shlibpath_var
=DYLD_LIBRARY_PATH
10625 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10627 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10628 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10636 soname_spec
='${libname}${release}${shared_ext}$major'
10637 shlibpath_var
=LD_LIBRARY_PATH
10640 freebsd
* | dragonfly
*)
10641 # DragonFly does not have aout. When/if they implement a new
10642 # versioning mechanism, adjust this.
10643 if test -x /usr
/bin
/objformat
; then
10644 objformat
=`/usr/bin/objformat`
10647 freebsd
[23].
*) objformat
=aout
;;
10648 *) objformat
=elf
;;
10651 version_type
=freebsd-
$objformat
10652 case $version_type in
10654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10659 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10663 shlibpath_var
=LD_LIBRARY_PATH
10666 shlibpath_overrides_runpath
=yes
10668 freebsd3.
[01]* | freebsdelf3.
[01]*)
10669 shlibpath_overrides_runpath
=yes
10670 hardcode_into_libs
=yes
10672 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10673 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10674 shlibpath_overrides_runpath
=no
10675 hardcode_into_libs
=yes
10677 *) # from 4.6 on, and DragonFly
10678 shlibpath_overrides_runpath
=yes
10679 hardcode_into_libs
=yes
10688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10689 soname_spec
='${libname}${release}${shared_ext}$major'
10690 shlibpath_var
=LD_LIBRARY_PATH
10691 hardcode_into_libs
=yes
10698 dynamic_linker
="$host_os runtime_loader"
10699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10700 soname_spec
='${libname}${release}${shared_ext}$major'
10701 shlibpath_var
=LIBRARY_PATH
10702 shlibpath_overrides_runpath
=yes
10703 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10704 hardcode_into_libs
=yes
10707 hpux9
* | hpux10
* | hpux11
*)
10708 # Give a soname corresponding to the major version so that dld.sl refuses to
10709 # link against other versions.
10716 hardcode_into_libs
=yes
10717 dynamic_linker
="$host_os dld.so"
10718 shlibpath_var
=LD_LIBRARY_PATH
10719 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10721 soname_spec
='${libname}${release}${shared_ext}$major'
10722 if test "X$HPUX_IA64_MODE" = X32
; then
10723 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10725 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10727 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10731 hardcode_into_libs
=yes
10732 dynamic_linker
="$host_os dld.sl"
10733 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10734 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10736 soname_spec
='${libname}${release}${shared_ext}$major'
10737 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10738 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10742 dynamic_linker
="$host_os dld.sl"
10743 shlibpath_var
=SHLIB_PATH
10744 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10746 soname_spec
='${libname}${release}${shared_ext}$major'
10749 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10750 postinstall_cmds
='chmod 555 $lib'
10751 # or fails outright, so override atomically:
10752 install_override_mode
=555
10759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10760 soname_spec
='${libname}${release}${shared_ext}$major'
10761 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10762 shlibpath_var
=LD_LIBRARY_PATH
10763 shlibpath_overrides_runpath
=no
10764 hardcode_into_libs
=yes
10767 irix5
* | irix6
* | nonstopux
*)
10769 nonstopux
*) version_type
=nonstopux
;;
10771 if test "$lt_cv_prog_gnu_ld" = yes; then
10779 soname_spec
='${libname}${release}${shared_ext}$major'
10780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10782 irix5
* | nonstopux
*)
10783 libsuff
= shlibsuff
=
10786 case $LD in # libtool.m4 will add one of these switches to LD
10787 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10788 libsuff
= shlibsuff
= libmagic
=32-bit;;
10789 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10790 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10791 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10792 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10793 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10797 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10798 shlibpath_overrides_runpath
=no
10799 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10800 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10801 hardcode_into_libs
=yes
10804 # No shared lib support for Linux oldld, aout, or coff.
10805 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10809 # This must be Linux ELF.
10810 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10815 soname_spec
='${libname}${release}${shared_ext}$major'
10816 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10817 shlibpath_var
=LD_LIBRARY_PATH
10818 shlibpath_overrides_runpath
=no
10820 # Some binutils ld are patched to set DT_RUNPATH
10821 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10822 $as_echo_n "(cached) " >&6
10824 lt_cv_shlibpath_overrides_runpath
=no
10825 save_LDFLAGS
=$LDFLAGS
10826 save_libdir
=$libdir
10827 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10828 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10830 /* end confdefs.h. */
10840 if ac_fn_c_try_link
"$LINENO"; then :
10841 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10842 lt_cv_shlibpath_overrides_runpath
=yes
10845 rm -f core conftest.err conftest.
$ac_objext \
10846 conftest
$ac_exeext conftest.
$ac_ext
10847 LDFLAGS
=$save_LDFLAGS
10848 libdir
=$save_libdir
10852 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10854 # This implies no fast_install, which is unacceptable.
10855 # Some rework will be needed to allow for fast_install
10856 # before this can be enabled.
10857 hardcode_into_libs
=yes
10859 # Append ld.so.conf contents to the search path
10860 if test -f /etc
/ld.so.conf
; then
10861 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' ' '`
10862 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10865 # We used to test for /lib/ld.so.1 and disable shared libraries on
10866 # powerpc, because MkLinux only supported shared libraries with the
10867 # GNU dynamic linker. Since this was broken with cross compilers,
10868 # most powerpc-linux boxes support dynamic linking these days and
10869 # people can always --disable-shared, the test was removed, and we
10870 # assume the GNU/Linux dynamic linker is in use.
10871 dynamic_linker
='GNU/Linux ld.so'
10878 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10880 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10881 dynamic_linker
='NetBSD (a.out) ld.so'
10883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10884 soname_spec
='${libname}${release}${shared_ext}$major'
10885 dynamic_linker
='NetBSD ld.elf_so'
10887 shlibpath_var
=LD_LIBRARY_PATH
10888 shlibpath_overrides_runpath
=yes
10889 hardcode_into_libs
=yes
10894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 shlibpath_var
=LD_LIBRARY_PATH
10896 shlibpath_overrides_runpath
=yes
10903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10904 soname_spec
='${libname}${release}${shared_ext}$major'
10905 shlibpath_var
=LD_LIBRARY_PATH
10906 shlibpath_overrides_runpath
=no
10907 hardcode_into_libs
=yes
10908 dynamic_linker
='ldqnx.so'
10913 sys_lib_dlsearch_path_spec
="/usr/lib"
10915 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10917 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10918 *) need_version
=no
;;
10920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10921 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10922 shlibpath_var
=LD_LIBRARY_PATH
10923 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10925 openbsd2.
[89] | openbsd2.
[89].
*)
10926 shlibpath_overrides_runpath
=no
10929 shlibpath_overrides_runpath
=yes
10933 shlibpath_overrides_runpath
=yes
10938 libname_spec
='$name'
10941 library_names_spec
='$libname${shared_ext} $libname.a'
10942 dynamic_linker
='OS/2 ld.exe'
10943 shlibpath_var
=LIBPATH
10946 osf3
* | osf4
* | osf5
*)
10950 soname_spec
='${libname}${release}${shared_ext}$major'
10951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10952 shlibpath_var
=LD_LIBRARY_PATH
10953 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10954 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10966 soname_spec
='${libname}${release}${shared_ext}$major'
10967 shlibpath_var
=LD_LIBRARY_PATH
10968 shlibpath_overrides_runpath
=yes
10969 hardcode_into_libs
=yes
10970 # ldd complains unless libraries are executable
10971 postinstall_cmds
='chmod +x $lib'
10976 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10977 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10978 shlibpath_var
=LD_LIBRARY_PATH
10979 shlibpath_overrides_runpath
=yes
10980 if test "$with_gnu_ld" = yes; then
10988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 soname_spec
='${libname}${release}${shared_ext}$major'
10990 shlibpath_var
=LD_LIBRARY_PATH
10991 case $host_vendor in
10993 shlibpath_overrides_runpath
=no
10995 runpath_var
=LD_RUN_PATH
11003 shlibpath_overrides_runpath
=no
11004 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11010 if test -d /usr
/nec
;then
11012 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11013 soname_spec
='$libname${shared_ext}.$major'
11014 shlibpath_var
=LD_LIBRARY_PATH
11018 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11019 version_type
=freebsd-elf
11022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11023 soname_spec
='${libname}${release}${shared_ext}$major'
11024 shlibpath_var
=LD_LIBRARY_PATH
11025 shlibpath_overrides_runpath
=yes
11026 hardcode_into_libs
=yes
11027 if test "$with_gnu_ld" = yes; then
11028 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11030 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11033 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11037 sys_lib_dlsearch_path_spec
='/usr/lib'
11041 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11046 shlibpath_var
=LD_LIBRARY_PATH
11047 shlibpath_overrides_runpath
=no
11048 hardcode_into_libs
=yes
11053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11054 soname_spec
='${libname}${release}${shared_ext}$major'
11055 shlibpath_var
=LD_LIBRARY_PATH
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11063 $as_echo "$dynamic_linker" >&6; }
11064 test "$dynamic_linker" = no
&& can_build_shared
=no
11066 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11067 if test "$GCC" = yes; then
11068 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11071 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11072 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11074 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11075 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11170 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11172 if test -n "$hardcode_libdir_flag_spec" ||
11173 test -n "$runpath_var" ||
11174 test "X$hardcode_automatic" = "Xyes" ; then
11176 # We can hardcode non-existent directories.
11177 if test "$hardcode_direct" != no
&&
11178 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11179 # have to relink, otherwise we might link with an installed library
11180 # when we should be linking with a yet-to-be-installed one
11181 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11182 test "$hardcode_minus_L" != no
; then
11183 # Linking always hardcodes the temporary library directory.
11184 hardcode_action
=relink
11186 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11187 hardcode_action
=immediate
11190 # We cannot hardcode anything, or else we can only hardcode existing
11192 hardcode_action
=unsupported
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11195 $as_echo "$hardcode_action" >&6; }
11197 if test "$hardcode_action" = relink ||
11198 test "$inherit_rpath" = yes; then
11199 # Fast installation is not supported
11200 enable_fast_install
=no
11201 elif test "$shlibpath_overrides_runpath" = yes ||
11202 test "$enable_shared" = no
; then
11203 # Fast installation is not necessary
11204 enable_fast_install
=needless
11212 if test "x$enable_dlopen" != xyes
; then
11213 enable_dlopen
=unknown
11214 enable_dlopen_self
=unknown
11215 enable_dlopen_self_static
=unknown
11222 lt_cv_dlopen
="load_add_on"
11224 lt_cv_dlopen_self
=yes
11227 mingw
* | pw32
* | cegcc
*)
11228 lt_cv_dlopen
="LoadLibrary"
11233 lt_cv_dlopen
="dlopen"
11238 # if libdl is installed we need to link against it
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11240 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11241 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11242 $as_echo_n "(cached) " >&6
11244 ac_check_lib_save_LIBS
=$LIBS
11246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11247 /* end confdefs.h. */
11249 /* Override any GCC internal prototype to avoid an error.
11250 Use char because int might match the return type of a GCC
11251 builtin and then its argument prototype would still apply. */
11264 if ac_fn_c_try_link
"$LINENO"; then :
11265 ac_cv_lib_dl_dlopen
=yes
11267 ac_cv_lib_dl_dlopen
=no
11269 rm -f core conftest.err conftest.
$ac_objext \
11270 conftest
$ac_exeext conftest.
$ac_ext
11271 LIBS
=$ac_check_lib_save_LIBS
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11274 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11275 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11276 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11279 lt_cv_dlopen
="dyld"
11281 lt_cv_dlopen_self
=yes
11288 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11289 if test "x$ac_cv_func_shl_load" = xyes
; then :
11290 lt_cv_dlopen
="shl_load"
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11293 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11294 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11295 $as_echo_n "(cached) " >&6
11297 ac_check_lib_save_LIBS
=$LIBS
11299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11302 /* Override any GCC internal prototype to avoid an error.
11303 Use char because int might match the return type of a GCC
11304 builtin and then its argument prototype would still apply. */
11312 return shl_load ();
11317 if ac_fn_c_try_link
"$LINENO"; then :
11318 ac_cv_lib_dld_shl_load
=yes
11320 ac_cv_lib_dld_shl_load
=no
11322 rm -f core conftest.err conftest.
$ac_objext \
11323 conftest
$ac_exeext conftest.
$ac_ext
11324 LIBS
=$ac_check_lib_save_LIBS
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11327 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11328 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11329 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11331 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11332 if test "x$ac_cv_func_dlopen" = xyes
; then :
11333 lt_cv_dlopen
="dlopen"
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11336 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11337 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11338 $as_echo_n "(cached) " >&6
11340 ac_check_lib_save_LIBS
=$LIBS
11342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11360 if ac_fn_c_try_link
"$LINENO"; then :
11361 ac_cv_lib_dl_dlopen
=yes
11363 ac_cv_lib_dl_dlopen
=no
11365 rm -f core conftest.err conftest.
$ac_objext \
11366 conftest
$ac_exeext conftest.
$ac_ext
11367 LIBS
=$ac_check_lib_save_LIBS
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11370 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11371 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11372 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11375 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11376 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11377 $as_echo_n "(cached) " >&6
11379 ac_check_lib_save_LIBS
=$LIBS
11380 LIBS
="-lsvld $LIBS"
11381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11399 if ac_fn_c_try_link
"$LINENO"; then :
11400 ac_cv_lib_svld_dlopen
=yes
11402 ac_cv_lib_svld_dlopen
=no
11404 rm -f core conftest.err conftest.
$ac_objext \
11405 conftest
$ac_exeext conftest.
$ac_ext
11406 LIBS
=$ac_check_lib_save_LIBS
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11409 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11410 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11411 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11414 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11415 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11416 $as_echo_n "(cached) " >&6
11418 ac_check_lib_save_LIBS
=$LIBS
11420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11421 /* end confdefs.h. */
11423 /* Override any GCC internal prototype to avoid an error.
11424 Use char because int might match the return type of a GCC
11425 builtin and then its argument prototype would still apply. */
11433 return dld_link ();
11438 if ac_fn_c_try_link
"$LINENO"; then :
11439 ac_cv_lib_dld_dld_link
=yes
11441 ac_cv_lib_dld_dld_link
=no
11443 rm -f core conftest.err conftest.
$ac_objext \
11444 conftest
$ac_exeext conftest.
$ac_ext
11445 LIBS
=$ac_check_lib_save_LIBS
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11448 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11449 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11450 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11471 if test "x$lt_cv_dlopen" != xno
; then
11477 case $lt_cv_dlopen in
11479 save_CPPFLAGS
="$CPPFLAGS"
11480 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11482 save_LDFLAGS
="$LDFLAGS"
11483 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11486 LIBS
="$lt_cv_dlopen_libs $LIBS"
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11489 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11490 if ${lt_cv_dlopen_self+:} false
; then :
11491 $as_echo_n "(cached) " >&6
11493 if test "$cross_compiling" = yes; then :
11494 lt_cv_dlopen_self
=cross
11496 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11497 lt_status
=$lt_dlunknown
11498 cat > conftest.
$ac_ext <<_LT_EOF
11499 #line 11499 "configure"
11500 #include "confdefs.h"
11509 # define LT_DLGLOBAL RTLD_GLOBAL
11512 # define LT_DLGLOBAL DL_GLOBAL
11514 # define LT_DLGLOBAL 0
11518 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11519 find out it does not work in some platform. */
11520 #ifndef LT_DLLAZY_OR_NOW
11522 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11525 # define LT_DLLAZY_OR_NOW DL_LAZY
11528 # define LT_DLLAZY_OR_NOW RTLD_NOW
11531 # define LT_DLLAZY_OR_NOW DL_NOW
11533 # define LT_DLLAZY_OR_NOW 0
11540 /* When -fvisbility=hidden is used, assume the code has been annotated
11541 correspondingly for the symbols needed. */
11542 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11543 void fnord () __attribute__((visibility("default")));
11546 void fnord () { int i=42; }
11549 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11550 int status = $lt_dlunknown;
11554 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11557 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11558 else puts (dlerror ());
11560 /* dlclose (self); */
11568 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11569 (eval $ac_link) 2>&5
11571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11572 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11573 (.
/conftest
; exit; ) >&5 2>/dev
/null
11575 case x
$lt_status in
11576 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11577 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11578 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11581 # compilation failed
11582 lt_cv_dlopen_self
=no
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11590 $as_echo "$lt_cv_dlopen_self" >&6; }
11592 if test "x$lt_cv_dlopen_self" = xyes
; then
11593 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11595 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11596 if ${lt_cv_dlopen_self_static+:} false
; then :
11597 $as_echo_n "(cached) " >&6
11599 if test "$cross_compiling" = yes; then :
11600 lt_cv_dlopen_self_static
=cross
11602 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11603 lt_status
=$lt_dlunknown
11604 cat > conftest.
$ac_ext <<_LT_EOF
11605 #line 11605 "configure"
11606 #include "confdefs.h"
11615 # define LT_DLGLOBAL RTLD_GLOBAL
11618 # define LT_DLGLOBAL DL_GLOBAL
11620 # define LT_DLGLOBAL 0
11624 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11625 find out it does not work in some platform. */
11626 #ifndef LT_DLLAZY_OR_NOW
11628 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11631 # define LT_DLLAZY_OR_NOW DL_LAZY
11634 # define LT_DLLAZY_OR_NOW RTLD_NOW
11637 # define LT_DLLAZY_OR_NOW DL_NOW
11639 # define LT_DLLAZY_OR_NOW 0
11646 /* When -fvisbility=hidden is used, assume the code has been annotated
11647 correspondingly for the symbols needed. */
11648 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11649 void fnord () __attribute__((visibility("default")));
11652 void fnord () { int i=42; }
11655 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11656 int status = $lt_dlunknown;
11660 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11663 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11664 else puts (dlerror ());
11666 /* dlclose (self); */
11674 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11675 (eval $ac_link) 2>&5
11677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11678 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11679 (.
/conftest
; exit; ) >&5 2>/dev
/null
11681 case x
$lt_status in
11682 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11683 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11684 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11687 # compilation failed
11688 lt_cv_dlopen_self_static
=no
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11696 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11699 CPPFLAGS
="$save_CPPFLAGS"
11700 LDFLAGS
="$save_LDFLAGS"
11705 case $lt_cv_dlopen_self in
11706 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11707 *) enable_dlopen_self
=unknown
;;
11710 case $lt_cv_dlopen_self_static in
11711 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11712 *) enable_dlopen_self_static
=unknown
;;
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11735 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11736 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11737 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11738 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11740 $as_echo "yes" >&6; }
11742 # FIXME - insert some real tests, host_os isn't really good enough
11745 if test -n "$STRIP" ; then
11746 striplib
="$STRIP -x"
11747 old_striplib
="$STRIP -S"
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11749 $as_echo "yes" >&6; }
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11752 $as_echo "no" >&6; }
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11757 $as_echo "no" >&6; }
11773 # Report which library types will actually be built
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11775 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11777 $as_echo "$can_build_shared" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11780 $as_echo_n "checking whether to build shared libraries... " >&6; }
11781 test "$can_build_shared" = "no" && enable_shared
=no
11783 # On AIX, shared libraries and static libraries use the same namespace, and
11784 # are all built from PIC.
11787 test "$enable_shared" = yes && enable_static
=no
11788 if test -n "$RANLIB"; then
11789 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11790 postinstall_cmds
='$RANLIB $lib'
11795 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11796 test "$enable_shared" = yes && enable_static
=no
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11801 $as_echo "$enable_shared" >&6; }
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11804 $as_echo_n "checking whether to build static libraries... " >&6; }
11805 # Make sure either enable_shared or enable_static is yes.
11806 test "$enable_shared" = yes || enable_static
=yes
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11808 $as_echo "$enable_static" >&6; }
11815 ac_cpp
='$CPP $CPPFLAGS'
11816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11834 ac_config_commands
="$ac_config_commands libtool"
11839 # Only expand once:
11845 gdc_save_DFLAGS
=$GDCFLAGS
11846 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime $GDCFLAGS"
11849 # Source file extension for D test sources.
11852 # Object file extension for compiled D test sources.
11856 # Code to be used in simple compile tests
11857 lt_simple_compile_test_code
="module mod; extern(C) int main() { return 0; }"
11859 # Code to be used in simple link tests
11860 lt_simple_link_test_code
='module mod; extern(C) int main() { return 0; }'
11862 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11869 # If no C compiler was specified, use CC.
11872 # If no C compiler flags were specified, use CFLAGS.
11873 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11875 # Allow CC to be a program name with arguments.
11879 # save warnings/boilerplate of simple test code
11880 ac_outfile
=conftest.
$ac_objext
11881 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11882 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11883 _lt_compiler_boilerplate
=`cat conftest.err`
11886 ac_outfile
=conftest.
$ac_objext
11887 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11888 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11889 _lt_linker_boilerplate
=`cat conftest.err`
11893 # Allow CC to be a program name with arguments.
11895 lt_save_CFLAGS
=$CFLAGS
11896 lt_save_DFLAGS
=$GDCFLAGS
11900 # Need to specify location for object.d
11901 GDCFLAGS
="-nophoboslib $GDCFLAGS"
11906 for cc_temp
in $compiler""; do
11908 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11909 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11914 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11917 # GDC did not exist at the time GCC didn't implicitly link libc in.
11918 archive_cmds_need_lc_D
=no
11920 old_archive_cmds_D
=$old_archive_cmds
11921 reload_flag_D
=$reload_flag
11922 reload_cmds_D
=$reload_cmds
11925 ## There is no encapsulation within the following macros, do not change
11926 ## the running order or otherwise move them around unless you know exactly
11927 ## what you are doing...
11928 if test -n "$compiler"; then
11930 lt_prog_compiler_no_builtin_flag_D
=
11932 if test "$GCC" = yes; then
11933 case $cc_basename in
11935 lt_prog_compiler_no_builtin_flag_D
=' -Xcompiler -fno-builtin' ;;
11937 lt_prog_compiler_no_builtin_flag_D
=' -fno-builtin' ;;
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11941 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11942 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
11943 $as_echo_n "(cached) " >&6
11945 lt_cv_prog_compiler_rtti_exceptions
=no
11946 ac_outfile
=conftest.
$ac_objext
11947 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11948 lt_compiler_flag
="-fno-rtti -fno-exceptions"
11949 # Insert the option either (1) after the last *FLAGS variable, or
11950 # (2) before a word containing "conftest.", or (3) at the end.
11951 # Note that $ac_compile itself does not contain backslashes and begins
11952 # with a dollar sign (not a hyphen), so the echo should work correctly.
11953 # The option is referenced via a variable to avoid confusing sed.
11954 lt_compile
=`echo "$ac_compile" | $SED \
11955 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11956 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11957 -e 's:$: $lt_compiler_flag:'`
11958 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11959 (eval "$lt_compile" 2>conftest.err
)
11961 cat conftest.err
>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 if (exit $ac_status) && test -s "$ac_outfile"; then
11964 # The compiler can only warn and ignore the option if not recognized
11965 # So say no if there are warnings other than the usual output.
11966 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
11967 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11968 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
11969 lt_cv_prog_compiler_rtti_exceptions
=yes
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11976 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11978 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
11979 lt_prog_compiler_no_builtin_flag_D
="$lt_prog_compiler_no_builtin_flag_D -fno-rtti -fno-exceptions"
11988 lt_prog_compiler_wl_D
=
11989 lt_prog_compiler_pic_D
=
11990 lt_prog_compiler_static_D
=
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11993 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11995 if test "$GCC" = yes; then
11996 lt_prog_compiler_wl_D
='-Wl,'
11997 lt_prog_compiler_static_D
='-static'
12001 # All AIX code is PIC.
12002 if test "$host_cpu" = ia64
; then
12003 # AIX 5 now supports IA64 processor
12004 lt_prog_compiler_static_D
='-Bstatic'
12006 lt_prog_compiler_pic_D
='-fPIC'
12012 # see comment about AmigaOS4 .so support
12013 lt_prog_compiler_pic_D
='-fPIC'
12016 # FIXME: we need at least 68020 code to build shared libraries, but
12017 # adding the `-m68020' flag to GCC prevents building anything better,
12019 lt_prog_compiler_pic_D
='-m68020 -resident32 -malways-restore-a4'
12024 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12025 # PIC is the default for these OSes.
12028 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12029 # This hack is so that the source file can tell whether it is being
12030 # built for inclusion in a dll (and should export symbols for example).
12031 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12032 # (--disable-auto-import) libraries
12033 lt_prog_compiler_pic_D
='-DDLL_EXPORT'
12036 darwin
* | rhapsody
*)
12037 # PIC is the default on this platform
12038 # Common symbols not allowed in MH_DYLIB files
12039 lt_prog_compiler_pic_D
='-fno-common'
12043 # PIC is the default for Haiku.
12044 # The "-static" flag exists, but is broken.
12045 lt_prog_compiler_static_D
=
12049 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12050 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12051 # sets the default TLS model and affects inlining.
12057 lt_prog_compiler_pic_D
='-fPIC'
12063 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12064 # Instead, we relocate shared libraries at runtime.
12068 # Just because we use GCC doesn't mean we suddenly get shared libraries
12069 # on systems that don't support them.
12070 lt_prog_compiler_can_build_shared_D
=no
12075 # QNX uses GNU C++, but need to define -shared option too, otherwise
12076 # it will coredump.
12077 lt_prog_compiler_pic_D
='-fPIC -shared'
12081 if test -d /usr
/nec
; then
12082 lt_prog_compiler_pic_D
=-Kconform_pic
12087 lt_prog_compiler_pic_D
='-fPIC'
12091 case $cc_basename in
12092 nvcc
*) # Cuda Compiler Driver 2.2
12093 lt_prog_compiler_wl_D
='-Xlinker '
12094 lt_prog_compiler_pic_D
='-Xcompiler -fPIC'
12098 # PORTME Check for flag to pass linker flags through the system compiler.
12101 lt_prog_compiler_wl_D
='-Wl,'
12102 if test "$host_cpu" = ia64
; then
12103 # AIX 5 now supports IA64 processor
12104 lt_prog_compiler_static_D
='-Bstatic'
12106 lt_prog_compiler_static_D
='-bnso -bI:/lib/syscalls.exp'
12110 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12111 # This hack is so that the source file can tell whether it is being
12112 # built for inclusion in a dll (and should export symbols for example).
12113 lt_prog_compiler_pic_D
='-DDLL_EXPORT'
12116 hpux9
* | hpux10
* | hpux11
*)
12117 lt_prog_compiler_wl_D
='-Wl,'
12118 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12119 # not for PA HP-UX.
12125 lt_prog_compiler_pic_D
='+Z'
12128 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12129 lt_prog_compiler_static_D
='${wl}-a ${wl}archive'
12132 irix5
* | irix6
* | nonstopux
*)
12133 lt_prog_compiler_wl_D
='-Wl,'
12134 # PIC (with -KPIC) is the default.
12135 lt_prog_compiler_static_D
='-non_shared'
12138 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12139 case $cc_basename in
12140 # old Intel for x86_64 which still supported -KPIC.
12142 lt_prog_compiler_wl_D
='-Wl,'
12143 lt_prog_compiler_pic_D
='-KPIC'
12144 lt_prog_compiler_static_D
='-static'
12146 # icc used to be incompatible with GCC.
12147 # ICC 10 doesn't accept -KPIC any more.
12149 lt_prog_compiler_wl_D
='-Wl,'
12150 lt_prog_compiler_pic_D
='-fPIC'
12151 lt_prog_compiler_static_D
='-static'
12153 # Lahey Fortran 8.1.
12155 lt_prog_compiler_wl_D
='-Wl,'
12156 lt_prog_compiler_pic_D
='--shared'
12157 lt_prog_compiler_static_D
='--static'
12159 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12160 # Portland Group compilers (*not* the Pentium gcc compiler,
12161 # which looks to be a dead project)
12162 lt_prog_compiler_wl_D
='-Wl,'
12163 lt_prog_compiler_pic_D
='-fpic'
12164 lt_prog_compiler_static_D
='-Bstatic'
12167 lt_prog_compiler_wl_D
='-Wl,'
12168 # All Alpha code is PIC.
12169 lt_prog_compiler_static_D
='-non_shared'
12171 xl
* | bgxl
* | bgf
* | mpixl
*)
12172 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12173 lt_prog_compiler_wl_D
='-Wl,'
12174 lt_prog_compiler_pic_D
='-qpic'
12175 lt_prog_compiler_static_D
='-qstaticlink'
12178 case `$CC -V 2>&1 | sed 5q` in
12179 *Sun\ F
* |
*Sun
*Fortran
*)
12180 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12181 lt_prog_compiler_pic_D
='-KPIC'
12182 lt_prog_compiler_static_D
='-Bstatic'
12183 lt_prog_compiler_wl_D
=''
12187 lt_prog_compiler_pic_D
='-KPIC'
12188 lt_prog_compiler_static_D
='-Bstatic'
12189 lt_prog_compiler_wl_D
='-Wl,'
12197 lt_prog_compiler_pic_D
='-KPIC'
12198 lt_prog_compiler_static_D
='-Bstatic'
12202 # QNX uses GNU C++, but need to define -shared option too, otherwise
12203 # it will coredump.
12204 lt_prog_compiler_pic_D
='-fPIC -shared'
12207 osf3
* | osf4
* | osf5
*)
12208 lt_prog_compiler_wl_D
='-Wl,'
12209 # All OSF/1 code is PIC.
12210 lt_prog_compiler_static_D
='-non_shared'
12214 lt_prog_compiler_static_D
='-non_shared'
12218 lt_prog_compiler_pic_D
='-KPIC'
12219 lt_prog_compiler_static_D
='-Bstatic'
12220 case $cc_basename in
12221 f77
* | f90
* | f95
*)
12222 lt_prog_compiler_wl_D
='-Qoption ld ';;
12224 lt_prog_compiler_wl_D
='-Wl,';;
12229 lt_prog_compiler_wl_D
='-Qoption ld '
12230 lt_prog_compiler_pic_D
='-PIC'
12231 lt_prog_compiler_static_D
='-Bstatic'
12234 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12235 lt_prog_compiler_wl_D
='-Wl,'
12236 lt_prog_compiler_pic_D
='-KPIC'
12237 lt_prog_compiler_static_D
='-Bstatic'
12241 if test -d /usr
/nec
;then
12242 lt_prog_compiler_pic_D
='-Kconform_pic'
12243 lt_prog_compiler_static_D
='-Bstatic'
12247 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12248 lt_prog_compiler_wl_D
='-Wl,'
12249 lt_prog_compiler_pic_D
='-KPIC'
12250 lt_prog_compiler_static_D
='-Bstatic'
12254 lt_prog_compiler_wl_D
='-Wl,'
12255 lt_prog_compiler_can_build_shared_D
=no
12259 lt_prog_compiler_pic_D
='-pic'
12260 lt_prog_compiler_static_D
='-Bstatic'
12264 lt_prog_compiler_can_build_shared_D
=no
12270 # For platforms which do not support PIC, -DPIC is meaningless:
12272 lt_prog_compiler_pic_D
=
12275 lt_prog_compiler_pic_D
="$lt_prog_compiler_pic_D"
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_D" >&5
12279 $as_echo "$lt_prog_compiler_pic_D" >&6; }
12284 # Check to make sure the PIC flag actually works.
12286 if test -n "$lt_prog_compiler_pic_D"; then
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_D works" >&5
12288 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_D works... " >&6; }
12289 if ${lt_cv_prog_compiler_pic_works_D+:} false
; then :
12290 $as_echo_n "(cached) " >&6
12292 lt_cv_prog_compiler_pic_works_D
=no
12293 ac_outfile
=conftest.
$ac_objext
12294 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12295 lt_compiler_flag
="$lt_prog_compiler_pic_D"
12296 # Insert the option either (1) after the last *FLAGS variable, or
12297 # (2) before a word containing "conftest.", or (3) at the end.
12298 # Note that $ac_compile itself does not contain backslashes and begins
12299 # with a dollar sign (not a hyphen), so the echo should work correctly.
12300 # The option is referenced via a variable to avoid confusing sed.
12301 lt_compile
=`echo "$ac_compile" | $SED \
12302 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12303 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12304 -e 's:$: $lt_compiler_flag:'`
12305 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12306 (eval "$lt_compile" 2>conftest.err
)
12308 cat conftest.err
>&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 if (exit $ac_status) && test -s "$ac_outfile"; then
12311 # The compiler can only warn and ignore the option if not recognized
12312 # So say no if there are warnings other than the usual output.
12313 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12314 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12315 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12316 lt_cv_prog_compiler_pic_works_D
=yes
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_D" >&5
12323 $as_echo "$lt_cv_prog_compiler_pic_works_D" >&6; }
12325 if test x
"$lt_cv_prog_compiler_pic_works_D" = xyes
; then
12326 case $lt_prog_compiler_pic_D in
12328 *) lt_prog_compiler_pic_D
=" $lt_prog_compiler_pic_D" ;;
12331 lt_prog_compiler_pic_D
=
12332 lt_prog_compiler_can_build_shared_D
=no
12340 # Check to make sure the static flag actually works.
12342 wl
=$lt_prog_compiler_wl_D eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_D\"
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12344 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12345 if ${lt_cv_prog_compiler_static_works_D+:} false
; then :
12346 $as_echo_n "(cached) " >&6
12348 lt_cv_prog_compiler_static_works_D
=no
12349 save_LDFLAGS
="$LDFLAGS"
12350 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12351 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12352 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12353 # The linker can only warn and ignore the option if not recognized
12354 # So say no if there are warnings
12355 if test -s conftest.err
; then
12356 # Append any errors to the config.log.
12357 cat conftest.err
1>&5
12358 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12359 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12360 if diff conftest.exp conftest.er2
>/dev
/null
; then
12361 lt_cv_prog_compiler_static_works_D
=yes
12364 lt_cv_prog_compiler_static_works_D
=yes
12368 LDFLAGS
="$save_LDFLAGS"
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_D" >&5
12372 $as_echo "$lt_cv_prog_compiler_static_works_D" >&6; }
12374 if test x
"$lt_cv_prog_compiler_static_works_D" = xyes
; then
12377 lt_prog_compiler_static_D
=
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12384 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12385 if ${lt_cv_prog_compiler_c_o_D+:} false
; then :
12386 $as_echo_n "(cached) " >&6
12388 lt_cv_prog_compiler_c_o_D
=no
12389 $RM -r conftest
2>/dev
/null
12393 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12395 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12396 # Insert the option either (1) after the last *FLAGS variable, or
12397 # (2) before a word containing "conftest.", or (3) at the end.
12398 # Note that $ac_compile itself does not contain backslashes and begins
12399 # with a dollar sign (not a hyphen), so the echo should work correctly.
12400 lt_compile
=`echo "$ac_compile" | $SED \
12401 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12402 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12403 -e 's:$: $lt_compiler_flag:'`
12404 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12405 (eval "$lt_compile" 2>out
/conftest.err
)
12407 cat out
/conftest.err
>&5
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12411 # The compiler can only warn and ignore the option if not recognized
12412 # So say no if there are warnings
12413 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12414 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12415 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12416 lt_cv_prog_compiler_c_o_D
=yes
12421 # SGI C++ compiler will create directory out/ii_files/ for
12422 # template instantiation
12423 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12424 $RM out
/* && rmdir out
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_D" >&5
12431 $as_echo "$lt_cv_prog_compiler_c_o_D" >&6; }
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12436 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12437 if ${lt_cv_prog_compiler_c_o_D+:} false
; then :
12438 $as_echo_n "(cached) " >&6
12440 lt_cv_prog_compiler_c_o_D
=no
12441 $RM -r conftest
2>/dev
/null
12445 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12447 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12448 # Insert the option either (1) after the last *FLAGS variable, or
12449 # (2) before a word containing "conftest.", or (3) at the end.
12450 # Note that $ac_compile itself does not contain backslashes and begins
12451 # with a dollar sign (not a hyphen), so the echo should work correctly.
12452 lt_compile
=`echo "$ac_compile" | $SED \
12453 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12454 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12455 -e 's:$: $lt_compiler_flag:'`
12456 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12457 (eval "$lt_compile" 2>out
/conftest.err
)
12459 cat out
/conftest.err
>&5
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12463 # The compiler can only warn and ignore the option if not recognized
12464 # So say no if there are warnings
12465 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12466 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12467 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12468 lt_cv_prog_compiler_c_o_D
=yes
12473 # SGI C++ compiler will create directory out/ii_files/ for
12474 # template instantiation
12475 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12476 $RM out
/* && rmdir out
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_D" >&5
12483 $as_echo "$lt_cv_prog_compiler_c_o_D" >&6; }
12488 hard_links
="nottested"
12489 if test "$lt_cv_prog_compiler_c_o_D" = no
&& test "$need_locks" != no
; then
12490 # do not overwrite the value of need_locks provided by the user
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12492 $as_echo_n "checking if we can lock with hard links... " >&6; }
12495 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12497 ln conftest.a conftest.b
2>&5 || hard_links
=no
12498 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12500 $as_echo "$hard_links" >&6; }
12501 if test "$hard_links" = no
; then
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12503 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12513 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12516 allow_undefined_flag_D
=
12517 always_export_symbols_D
=no
12519 archive_expsym_cmds_D
=
12520 compiler_needs_object_D
=no
12521 enable_shared_with_static_runtimes_D
=no
12522 export_dynamic_flag_spec_D
=
12523 export_symbols_cmds_D
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12524 hardcode_automatic_D
=no
12525 hardcode_direct_D
=no
12526 hardcode_direct_absolute_D
=no
12527 hardcode_libdir_flag_spec_D
=
12528 hardcode_libdir_flag_spec_ld_D
=
12529 hardcode_libdir_separator_D
=
12530 hardcode_minus_L_D
=no
12531 hardcode_shlibpath_var_D
=unsupported
12533 link_all_deplibs_D
=unknown
12535 module_expsym_cmds_D
=
12536 old_archive_from_new_cmds_D
=
12537 old_archive_from_expsyms_cmds_D
=
12538 thread_safe_flag_spec_D
=
12539 whole_archive_flag_spec_D
=
12540 # include_expsyms should be a list of space-separated symbols to be *always*
12541 # included in the symbol list
12543 # exclude_expsyms can be an extended regexp of symbols to exclude
12544 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12545 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12546 # as well as any symbol that contains `d'.
12547 exclude_expsyms_D
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12548 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12549 # platforms (ab)use it in PIC code, but their linkers get confused if
12550 # the symbol is explicitly referenced. Since portable code cannot
12551 # rely on this symbol name, it's probably fine to never include it in
12552 # preloaded symbol tables.
12553 # Exclude shared library initialization/finalization symbols.
12554 extract_expsyms_cmds
=
12557 cygwin
* | mingw
* | pw32
* | cegcc
*)
12558 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12559 # When not using gcc, we currently assume that we are using
12560 # Microsoft Visual C++.
12561 if test "$GCC" != yes; then
12566 # we just hope/assume this is gcc and not c89 (= MSVC++)
12576 # On some targets, GNU ld is compatible enough with the native linker
12577 # that we're better off using the native interface for both.
12578 lt_use_gnu_ld_interface
=no
12579 if test "$with_gnu_ld" = yes; then
12582 # The AIX port of GNU ld has always aspired to compatibility
12583 # with the native linker. However, as the warning in the GNU ld
12584 # block says, versions before 2.19.5* couldn't really create working
12585 # shared libraries, regardless of the interface used.
12586 case `$LD -v 2>&1` in
12587 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12588 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12589 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12591 lt_use_gnu_ld_interface
=yes
12596 lt_use_gnu_ld_interface
=yes
12601 if test "$lt_use_gnu_ld_interface" = yes; then
12602 # If archive_cmds runs LD, not CC, wlarc should be empty
12605 # Set some defaults for GNU ld with shared library support. These
12606 # are reset later if shared libraries are not supported. Putting them
12607 # here allows them to be overridden if necessary.
12608 runpath_var
=LD_RUN_PATH
12609 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
12610 export_dynamic_flag_spec_D
='${wl}--export-dynamic'
12611 # ancient GNU ld didn't support --whole-archive et. al.
12612 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12613 whole_archive_flag_spec_D
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12615 whole_archive_flag_spec_D
=
12617 supports_anon_versioning
=no
12618 case `$LD -v 2>&1` in
12619 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12620 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12621 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12622 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12623 *\
2.11.
*) ;; # other 2.11 versions
12624 *) supports_anon_versioning
=yes ;;
12627 # See if GNU ld supports shared libraries.
12630 # On AIX/PPC, the GNU linker is very broken
12631 if test "$host_cpu" != ia64
; then
12635 *** Warning: the GNU linker, at least up to release 2.19, is reported
12636 *** to be unable to reliably create shared libraries on AIX.
12637 *** Therefore, libtool is disabling shared libraries support. If you
12638 *** really care for shared libraries, you may want to install binutils
12639 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12640 *** You will then need to restart the configuration process.
12649 # see comment about AmigaOS4 .so support
12650 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12651 archive_expsym_cmds_D
=''
12654 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)'
12655 hardcode_libdir_flag_spec_D
='-L$libdir'
12656 hardcode_minus_L_D
=yes
12662 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12663 allow_undefined_flag_D
=unsupported
12664 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12665 # support --undefined. This deserves some investigation. FIXME
12666 archive_cmds_D
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12672 cygwin
* | mingw
* | pw32
* | cegcc
*)
12673 # _LT_TAGVAR(hardcode_libdir_flag_spec, D) is actually meaningless,
12674 # as there is no search path for DLLs.
12675 hardcode_libdir_flag_spec_D
='-L$libdir'
12676 export_dynamic_flag_spec_D
='${wl}--export-all-symbols'
12677 allow_undefined_flag_D
=unsupported
12678 always_export_symbols_D
=no
12679 enable_shared_with_static_runtimes_D
=yes
12680 export_symbols_cmds_D
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12682 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12683 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12684 # If the export-symbols file already is a .def file (1st line
12685 # is EXPORTS), use it as is; otherwise, prepend...
12686 archive_expsym_cmds_D
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12687 cp $export_symbols $output_objdir/$soname.def;
12689 echo EXPORTS > $output_objdir/$soname.def;
12690 cat $export_symbols >> $output_objdir/$soname.def;
12692 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12699 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12700 link_all_deplibs_D
=yes
12704 hardcode_direct_D
=no
12705 hardcode_shlibpath_var_D
=no
12706 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
12707 export_dynamic_flag_spec_D
='${wl}-E'
12708 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12709 # Instead, shared libraries are loaded at an image base (0x10000000 by
12710 # default) and relocated if they conflict, which is a slow very memory
12711 # consuming and fragmenting process. To avoid this, we pick a random,
12712 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12713 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12714 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'
12715 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'
12718 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12720 if test "$host_os" = linux-dietlibc
; then
12721 case $cc_basename in
12722 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12725 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12726 && test "$tmp_diet" = no
12728 tmp_addflag
=' $pic_flag'
12729 tmp_sharedflag
='-shared'
12730 case $cc_basename,$host_cpu in
12731 pgcc
*) # Portland Group C compiler
12732 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'
12733 tmp_addflag
=' $pic_flag'
12735 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12736 # Portland Group f77 and f90 compilers
12737 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'
12738 tmp_addflag
=' $pic_flag -Mnomain' ;;
12739 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12740 tmp_addflag
=' -i_dynamic' ;;
12741 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12742 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12743 ifc
* | ifort
*) # Intel Fortran compiler
12744 tmp_addflag
=' -nofor_main' ;;
12745 lf95
*) # Lahey Fortran 8.1
12746 whole_archive_flag_spec_D
=
12747 tmp_sharedflag
='--shared' ;;
12748 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12749 tmp_sharedflag
='-qmkshrobj'
12751 nvcc
*) # Cuda Compiler Driver 2.2
12752 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'
12753 compiler_needs_object_D
=yes
12756 case `$CC -V 2>&1 | sed 5q` in
12757 *Sun\ C
*) # Sun C 5.9
12758 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'
12759 compiler_needs_object_D
=yes
12760 tmp_sharedflag
='-G' ;;
12761 *Sun\ F
*) # Sun Fortran 8.3
12762 tmp_sharedflag
='-G' ;;
12764 archive_cmds_D
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12766 if test "x$supports_anon_versioning" = xyes
; then
12767 archive_expsym_cmds_D
='echo "{ global:" > $output_objdir/$libname.ver~
12768 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12769 echo "local: *; };" >> $output_objdir/$libname.ver~
12770 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12773 case $cc_basename in
12774 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12775 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12776 whole_archive_flag_spec_D
='--whole-archive$convenience --no-whole-archive'
12777 hardcode_libdir_flag_spec_D
=
12778 hardcode_libdir_flag_spec_ld_D
='-rpath $libdir'
12779 archive_cmds_D
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12780 if test "x$supports_anon_versioning" = xyes
; then
12781 archive_expsym_cmds_D
='echo "{ global:" > $output_objdir/$libname.ver~
12782 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12783 echo "local: *; };" >> $output_objdir/$libname.ver~
12784 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12794 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12795 archive_cmds_D
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12798 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12799 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12804 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12808 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12809 *** create shared libraries on Solaris systems. Therefore, libtool
12810 *** is disabling shared libraries support. We urge you to upgrade GNU
12811 *** binutils to release 2.9.1 or newer. Another option is to modify
12812 *** your PATH or compiler configuration so that the native linker is
12813 *** used, and then restart.
12816 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12817 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12818 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12824 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12825 case `$LD -v 2>&1` in
12826 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12830 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12831 *** reliably create shared libraries on SCO systems. Therefore, libtool
12832 *** is disabling shared libraries support. We urge you to upgrade GNU
12833 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12834 *** your PATH or compiler configuration so that the native linker is
12835 *** used, and then restart.
12840 # For security reasons, it is highly recommended that you always
12841 # use absolute paths for naming shared libraries, and exclude the
12842 # DT_RUNPATH tag from executables and libraries. But doing so
12843 # requires that you compile everything twice, which is a pain.
12844 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12845 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
12846 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12847 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12856 archive_cmds_D
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12858 hardcode_direct_D
=yes
12859 hardcode_shlibpath_var_D
=no
12863 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12864 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12865 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12872 if test "$ld_shlibs_D" = no
; then
12874 hardcode_libdir_flag_spec_D
=
12875 export_dynamic_flag_spec_D
=
12876 whole_archive_flag_spec_D
=
12879 # PORTME fill in a description of your system's linker (not GNU ld)
12882 allow_undefined_flag_D
=unsupported
12883 always_export_symbols_D
=yes
12884 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'
12885 # Note: this linker hardcodes the directories in LIBPATH if there
12886 # are no directories specified by -L.
12887 hardcode_minus_L_D
=yes
12888 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12889 # Neither direct hardcoding nor static linking is supported with a
12891 hardcode_direct_D
=unsupported
12896 if test "$host_cpu" = ia64
; then
12897 # On IA64, the linker does run time linking by default, so we don't
12898 # have to do anything special.
12899 aix_use_runtimelinking
=no
12900 exp_sym_flag
='-Bexport'
12903 # If we're using GNU nm, then we don't want the "-C" option.
12904 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12905 # Also, AIX nm treats weak defined symbols like other global
12906 # defined symbols, whereas GNU nm marks them as "W".
12907 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12908 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'
12910 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'
12912 aix_use_runtimelinking
=no
12914 # Test if we are trying to use run time linking or normal
12915 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12916 # need to do runtime linking.
12917 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12918 for ld_flag
in $LDFLAGS; do
12919 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12920 aix_use_runtimelinking
=yes
12927 exp_sym_flag
='-bexport'
12928 no_entry_flag
='-bnoentry'
12931 # When large executables or shared objects are built, AIX ld can
12932 # have problems creating the table of contents. If linking a library
12933 # or program results in "error TOC overflow" add -mminimal-toc to
12934 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12935 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12938 hardcode_direct_D
=yes
12939 hardcode_direct_absolute_D
=yes
12940 hardcode_libdir_separator_D
=':'
12941 link_all_deplibs_D
=yes
12942 file_list_spec_D
='${wl}-f,'
12944 if test "$GCC" = yes; then
12945 case $host_os in aix4.
[012]|aix4.
[012].
*)
12946 # We only want to do this on AIX 4.2 and lower, the check
12947 # below for broken collect2 doesn't work under 4.3+
12948 collect2name
=`${CC} -print-prog-name=collect2`
12949 if test -f "$collect2name" &&
12950 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12952 # We have reworked collect2
12955 # We have old collect2
12956 hardcode_direct_D
=unsupported
12957 # It fails to find uninstalled libraries when the uninstalled
12958 # path is not listed in the libpath. Setting hardcode_minus_L
12959 # to unsupported forces relinking
12960 hardcode_minus_L_D
=yes
12961 hardcode_libdir_flag_spec_D
='-L$libdir'
12962 hardcode_libdir_separator_D
=
12966 shared_flag
='-shared'
12967 if test "$aix_use_runtimelinking" = yes; then
12968 shared_flag
="$shared_flag "'${wl}-G'
12972 if test "$host_cpu" = ia64
; then
12973 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12974 # chokes on -Wl,-G. The following line is correct:
12977 if test "$aix_use_runtimelinking" = yes; then
12978 shared_flag
='${wl}-G'
12980 shared_flag
='${wl}-bM:SRE'
12985 export_dynamic_flag_spec_D
='${wl}-bexpall'
12986 # It seems that -bexpall does not export symbols beginning with
12987 # underscore (_), so it is better to generate a list of symbols to export.
12988 always_export_symbols_D
=yes
12989 if test "$aix_use_runtimelinking" = yes; then
12990 # Warning - without using the other runtime loading flags (-brtl),
12991 # -berok will link without error, but may produce a broken library.
12992 allow_undefined_flag_D
='-berok'
12993 # Determine the default libpath from the value encoded in an
12994 # empty executable.
12995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
13006 if ac_fn_c_try_link
"$LINENO"; then :
13008 lt_aix_libpath_sed
='
13009 /Import File Strings/,/^$/ {
13015 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13016 # Check for a 64-bit object if we didn't find anything.
13017 if test -z "$aix_libpath"; then
13018 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13021 rm -f core conftest.err conftest.
$ac_objext \
13022 conftest
$ac_exeext conftest.
$ac_ext
13023 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13025 hardcode_libdir_flag_spec_D
='${wl}-blibpath:$libdir:'"$aix_libpath"
13026 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"
13028 if test "$host_cpu" = ia64
; then
13029 hardcode_libdir_flag_spec_D
='${wl}-R $libdir:/usr/lib:/lib'
13030 allow_undefined_flag_D
="-z nodefs"
13031 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"
13033 # Determine the default libpath from the value encoded in an
13034 # empty executable.
13035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13046 if ac_fn_c_try_link
"$LINENO"; then :
13048 lt_aix_libpath_sed
='
13049 /Import File Strings/,/^$/ {
13055 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13056 # Check for a 64-bit object if we didn't find anything.
13057 if test -z "$aix_libpath"; then
13058 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13061 rm -f core conftest.err conftest.
$ac_objext \
13062 conftest
$ac_exeext conftest.
$ac_ext
13063 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13065 hardcode_libdir_flag_spec_D
='${wl}-blibpath:$libdir:'"$aix_libpath"
13066 # Warning - without using the other run time loading flags,
13067 # -berok will link without error, but may produce a broken library.
13068 no_undefined_flag_D
=' ${wl}-bernotok'
13069 allow_undefined_flag_D
=' ${wl}-berok'
13070 if test "$with_gnu_ld" = yes; then
13071 # We only use this code for GNU lds that support --whole-archive.
13072 whole_archive_flag_spec_D
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13074 # Exported symbols can be pulled into shared objects from archives
13075 whole_archive_flag_spec_D
='$convenience'
13077 archive_cmds_need_lc_D
=yes
13078 # This is similar to how AIX traditionally builds its shared libraries.
13079 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'
13087 # see comment about AmigaOS4 .so support
13088 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13089 archive_expsym_cmds_D
=''
13092 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)'
13093 hardcode_libdir_flag_spec_D
='-L$libdir'
13094 hardcode_minus_L_D
=yes
13100 export_dynamic_flag_spec_D
=-rdynamic
13103 cygwin
* | mingw
* | pw32
* | cegcc
*)
13104 # When not using gcc, we currently assume that we are using
13105 # Microsoft Visual C++.
13106 # hardcode_libdir_flag_spec is actually meaningless, as there is
13107 # no search path for DLLs.
13108 hardcode_libdir_flag_spec_D
=' '
13109 allow_undefined_flag_D
=unsupported
13110 # Tell ltmain to make .lib files, not .a files.
13112 # Tell ltmain to make .dll files, not .so files.
13114 # FIXME: Setting linknames here is a bad hack.
13115 archive_cmds_D
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13116 # The linker will automatically build a .lib file if we build a DLL.
13117 old_archive_from_new_cmds_D
='true'
13118 # FIXME: Should let the user specify the lib program.
13119 old_archive_cmds_D
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13120 fix_srcfile_path_D
='`cygpath -w "$srcfile"`'
13121 enable_shared_with_static_runtimes_D
=yes
13124 darwin
* | rhapsody
*)
13127 archive_cmds_need_lc_D
=no
13128 hardcode_direct_D
=no
13129 hardcode_automatic_D
=yes
13130 hardcode_shlibpath_var_D
=unsupported
13131 if test "$lt_cv_ld_force_load" = "yes"; then
13132 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\"`'
13134 whole_archive_flag_spec_D
=''
13136 link_all_deplibs_D
=yes
13137 allow_undefined_flag_D
="$_lt_dar_allow_undefined"
13138 case $cc_basename in
13139 ifort
*) _lt_dar_can_shared
=yes ;;
13140 *) _lt_dar_can_shared
=$GCC ;;
13142 if test "$_lt_dar_can_shared" = "yes"; then
13143 output_verbose_link_cmd
=func_echo_all
13144 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}"
13145 module_cmds_D
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13146 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}"
13147 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}"
13156 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13157 hardcode_libdir_flag_spec_D
='-L$libdir'
13158 hardcode_shlibpath_var_D
=no
13161 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13162 # support. Future versions do this automatically, but an explicit c++rt0.o
13163 # does not break anything, and helps significantly (at the cost of a little
13166 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13167 hardcode_libdir_flag_spec_D
='-R$libdir'
13168 hardcode_direct_D
=yes
13169 hardcode_shlibpath_var_D
=no
13172 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13174 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13175 hardcode_direct_D
=yes
13176 hardcode_minus_L_D
=yes
13177 hardcode_shlibpath_var_D
=no
13180 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13181 freebsd
* | dragonfly
*)
13182 archive_cmds_D
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13183 hardcode_libdir_flag_spec_D
='-R$libdir'
13184 hardcode_direct_D
=yes
13185 hardcode_shlibpath_var_D
=no
13189 if test "$GCC" = yes; then
13190 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'
13192 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'
13194 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13195 hardcode_libdir_separator_D
=:
13196 hardcode_direct_D
=yes
13198 # hardcode_minus_L: Not really in the search PATH,
13199 # but as the default location of the library.
13200 hardcode_minus_L_D
=yes
13201 export_dynamic_flag_spec_D
='${wl}-E'
13205 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13206 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13208 archive_cmds_D
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13210 if test "$with_gnu_ld" = no
; then
13211 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13212 hardcode_libdir_flag_spec_ld_D
='+b $libdir'
13213 hardcode_libdir_separator_D
=:
13214 hardcode_direct_D
=yes
13215 hardcode_direct_absolute_D
=yes
13216 export_dynamic_flag_spec_D
='${wl}-E'
13217 # hardcode_minus_L: Not really in the search PATH,
13218 # but as the default location of the library.
13219 hardcode_minus_L_D
=yes
13224 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13227 archive_cmds_D
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13230 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13233 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13239 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13242 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13245 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13249 if test "$with_gnu_ld" = no
; then
13250 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13251 hardcode_libdir_separator_D
=:
13255 hardcode_direct_D
=no
13256 hardcode_shlibpath_var_D
=no
13259 hardcode_direct_D
=yes
13260 hardcode_direct_absolute_D
=yes
13261 export_dynamic_flag_spec_D
='${wl}-E'
13263 # hardcode_minus_L: Not really in the search PATH,
13264 # but as the default location of the library.
13265 hardcode_minus_L_D
=yes
13271 irix5
* | irix6
* | nonstopux
*)
13272 if test "$GCC" = yes; then
13273 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'
13274 # Try to use the -exported_symbol ld option, if it does not
13275 # work, assume that -exports_file does not work either and
13276 # implicitly export all symbols.
13277 save_LDFLAGS
="$LDFLAGS"
13278 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13280 /* end confdefs.h. */
13283 if ac_fn_c_try_link
"$LINENO"; then :
13284 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'
13287 rm -f core conftest.err conftest.
$ac_objext \
13288 conftest
$ac_exeext conftest.
$ac_ext
13289 LDFLAGS
="$save_LDFLAGS"
13291 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'
13292 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'
13294 archive_cmds_need_lc_D
='no'
13295 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13296 hardcode_libdir_separator_D
=:
13297 inherit_rpath_D
=yes
13298 link_all_deplibs_D
=yes
13302 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13303 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13305 archive_cmds_D
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13307 hardcode_libdir_flag_spec_D
='-R$libdir'
13308 hardcode_direct_D
=yes
13309 hardcode_shlibpath_var_D
=no
13313 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13314 hardcode_direct_D
=yes
13315 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13316 hardcode_libdir_separator_D
=:
13317 hardcode_shlibpath_var_D
=no
13324 if test -f /usr
/libexec
/ld.so
; then
13325 hardcode_direct_D
=yes
13326 hardcode_shlibpath_var_D
=no
13327 hardcode_direct_absolute_D
=yes
13328 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13329 archive_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13330 archive_expsym_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13331 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
13332 export_dynamic_flag_spec_D
='${wl}-E'
13335 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13336 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13337 hardcode_libdir_flag_spec_D
='-R$libdir'
13340 archive_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13341 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
13351 hardcode_libdir_flag_spec_D
='-L$libdir'
13352 hardcode_minus_L_D
=yes
13353 allow_undefined_flag_D
=unsupported
13354 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'
13355 old_archive_from_new_cmds_D
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13359 if test "$GCC" = yes; then
13360 allow_undefined_flag_D
=' ${wl}-expect_unresolved ${wl}\*'
13361 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'
13363 allow_undefined_flag_D
=' -expect_unresolved \*'
13364 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'
13366 archive_cmds_need_lc_D
='no'
13367 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13368 hardcode_libdir_separator_D
=:
13371 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13372 if test "$GCC" = yes; then
13373 allow_undefined_flag_D
=' ${wl}-expect_unresolved ${wl}\*'
13374 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'
13375 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13377 allow_undefined_flag_D
=' -expect_unresolved \*'
13378 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'
13379 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~
13380 $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'
13382 # Both c and cxx compiler support -rpath directly
13383 hardcode_libdir_flag_spec_D
='-rpath $libdir'
13385 archive_cmds_need_lc_D
='no'
13386 hardcode_libdir_separator_D
=:
13390 no_undefined_flag_D
=' -z defs'
13391 if test "$GCC" = yes; then
13393 archive_cmds_D
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13394 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13395 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13397 case `$CC -V 2>&1` in
13400 archive_cmds_D
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13401 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13402 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13406 archive_cmds_D
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13407 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13408 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13412 hardcode_libdir_flag_spec_D
='-R$libdir'
13413 hardcode_shlibpath_var_D
=no
13415 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13417 # The compiler driver will combine and reorder linker options,
13418 # but understands `-z linker_flag'. GCC discards it without `$wl',
13419 # but is careful enough not to reorder.
13420 # Supported since Solaris 2.6 (maybe 2.5.1?)
13421 if test "$GCC" = yes; then
13422 whole_archive_flag_spec_D
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13424 whole_archive_flag_spec_D
='-z allextract$convenience -z defaultextract'
13428 link_all_deplibs_D
=yes
13432 if test "x$host_vendor" = xsequent
; then
13433 # Use $CC to link under sequent, because it throws in some extra .o
13434 # files that make .init and .fini sections work.
13435 archive_cmds_D
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13437 archive_cmds_D
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13439 hardcode_libdir_flag_spec_D
='-L$libdir'
13440 hardcode_direct_D
=yes
13441 hardcode_minus_L_D
=yes
13442 hardcode_shlibpath_var_D
=no
13446 case $host_vendor in
13448 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13449 hardcode_direct_D
=yes # is this really true???
13452 ## LD is ld it makes a PLAMLIB
13453 ## CC just makes a GrossModule.
13454 archive_cmds_D
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13455 reload_cmds_D
='$CC -r -o $output$reload_objs'
13456 hardcode_direct_D
=no
13459 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13460 hardcode_direct_D
=no
#Motorola manual says yes, but my tests say they lie
13463 runpath_var
='LD_RUN_PATH'
13464 hardcode_shlibpath_var_D
=no
13468 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13469 hardcode_shlibpath_var_D
=no
13470 export_dynamic_flag_spec_D
='-Bexport'
13474 if test -d /usr
/nec
; then
13475 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13476 hardcode_shlibpath_var_D
=no
13477 runpath_var
=LD_RUN_PATH
13478 hardcode_runpath_var
=yes
13483 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13484 no_undefined_flag_D
='${wl}-z,text'
13485 archive_cmds_need_lc_D
=no
13486 hardcode_shlibpath_var_D
=no
13487 runpath_var
='LD_RUN_PATH'
13489 if test "$GCC" = yes; then
13490 archive_cmds_D
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13491 archive_expsym_cmds_D
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13493 archive_cmds_D
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13494 archive_expsym_cmds_D
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13498 sysv5
* | sco3.2v5
* | sco5v6
*)
13499 # Note: We can NOT use -z defs as we might desire, because we do not
13500 # link with -lc, and that would cause any symbols used from libc to
13501 # always be unresolved, which means just about no library would
13502 # ever link correctly. If we're not using GNU ld we use -z text
13503 # though, which does catch some bad symbols but isn't as heavy-handed
13505 no_undefined_flag_D
='${wl}-z,text'
13506 allow_undefined_flag_D
='${wl}-z,nodefs'
13507 archive_cmds_need_lc_D
=no
13508 hardcode_shlibpath_var_D
=no
13509 hardcode_libdir_flag_spec_D
='${wl}-R,$libdir'
13510 hardcode_libdir_separator_D
=':'
13511 link_all_deplibs_D
=yes
13512 export_dynamic_flag_spec_D
='${wl}-Bexport'
13513 runpath_var
='LD_RUN_PATH'
13515 if test "$GCC" = yes; then
13516 archive_cmds_D
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13517 archive_expsym_cmds_D
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13519 archive_cmds_D
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13520 archive_expsym_cmds_D
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13525 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13526 hardcode_libdir_flag_spec_D
='-L$libdir'
13527 hardcode_shlibpath_var_D
=no
13535 if test x
$host_vendor = xsni
; then
13537 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13538 export_dynamic_flag_spec_D
='${wl}-Blargedynsym'
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_D" >&5
13545 $as_echo "$ld_shlibs_D" >&6; }
13546 test "$ld_shlibs_D" = no
&& can_build_shared
=no
13548 with_gnu_ld_D
=$with_gnu_ld
13556 # Do we need to explicitly link libc?
13558 case "x$archive_cmds_need_lc_D" in
13560 # Assume -lc should be added
13561 archive_cmds_need_lc_D
=yes
13563 if test "$enable_shared" = yes && test "$GCC" = yes; then
13564 case $archive_cmds_D in
13566 # FIXME: we may have to deal with multi-command sequences.
13569 # Test whether the compiler implicitly links with -lc since on some
13570 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13571 # to ld, don't add -lc before -lgcc.
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13573 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13574 if ${lt_cv_archive_cmds_need_lc_D+:} false
; then :
13575 $as_echo_n "(cached) " >&6
13578 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13580 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13581 (eval $ac_compile) 2>&5
13583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13584 test $ac_status = 0; } 2>conftest.err
; then
13587 libobjs
=conftest.
$ac_objext
13589 wl
=$lt_prog_compiler_wl_D
13590 pic_flag
=$lt_prog_compiler_pic_D
13596 lt_save_allow_undefined_flag
=$allow_undefined_flag_D
13597 allow_undefined_flag_D
=
13598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_D 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13599 (eval $archive_cmds_D 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13602 test $ac_status = 0; }
13604 lt_cv_archive_cmds_need_lc_D
=no
13606 lt_cv_archive_cmds_need_lc_D
=yes
13608 allow_undefined_flag_D
=$lt_save_allow_undefined_flag
13610 cat conftest.err
1>&5
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_D" >&5
13616 $as_echo "$lt_cv_archive_cmds_need_lc_D" >&6; }
13617 archive_cmds_need_lc_D
=$lt_cv_archive_cmds_need_lc_D
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13688 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13690 if test -n "$hardcode_libdir_flag_spec_D" ||
13691 test -n "$runpath_var_D" ||
13692 test "X$hardcode_automatic_D" = "Xyes" ; then
13694 # We can hardcode non-existent directories.
13695 if test "$hardcode_direct_D" != no
&&
13696 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13697 # have to relink, otherwise we might link with an installed library
13698 # when we should be linking with a yet-to-be-installed one
13699 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, D)" != no &&
13700 test "$hardcode_minus_L_D" != no
; then
13701 # Linking always hardcodes the temporary library directory.
13702 hardcode_action_D
=relink
13704 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13705 hardcode_action_D
=immediate
13708 # We cannot hardcode anything, or else we can only hardcode existing
13710 hardcode_action_D
=unsupported
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_D" >&5
13713 $as_echo "$hardcode_action_D" >&6; }
13715 if test "$hardcode_action_D" = relink ||
13716 test "$inherit_rpath_D" = yes; then
13717 # Fast installation is not supported
13718 enable_fast_install
=no
13719 elif test "$shlibpath_overrides_runpath" = yes ||
13720 test "$enable_shared" = no
; then
13721 # Fast installation is not necessary
13722 enable_fast_install
=needless
13734 ac_cpp
='$CPP $CPPFLAGS'
13735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13742 CFLAGS
=$lt_save_CFLAGS
13743 GDCFLAGS
=$lt_save_DFLAGS
13745 GDCFLAGS
=$gdc_save_DFLAGS
13748 # libtool variables for Phobos shared and position-independent compiles.
13750 # Use phobos_compiler_shared_flag to designate the compile-time flags for
13751 # creating shared objects. Default: -fversion=Shared.
13753 # Use phobos_compiler_pic_flag to designate the compile-time flags for
13754 # creating position-independent objects. This varies with the target
13755 # hardware and operating system, but is often: -fPIC.
13757 # The distinction between pic and shared compilation flags is not present in
13758 # libtool, and so we make it here. How it is handled is that in shared
13759 # compilations the `lt_prog_compiler_pic_D' variable is used to instead
13760 # ensure that conditional compilation of shared runtime code is compiled in.
13761 # The original PIC flags are then used in the compilation of every object.
13763 # Why are objects destined for libgphobos.a compiled with -fPIC?
13764 # Because -fPIC is not harmful to use for objects destined for static
13765 # libraries. In addition, using -fPIC will allow the use of static
13766 # libgphobos.a in the creation of other D shared libraries.
13767 if test "$enable_shared" = yes; then
13768 phobos_compiler_pic_flag
="$lt_prog_compiler_pic_D"
13769 phobos_compiler_shared_flag
="-fversion=Shared"
13771 phobos_compiler_pic_flag
=
13772 phobos_compiler_shared_flag
=
13777 # Override the libtool's pic_flag and pic_mode.
13778 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
13779 # NB: this impacts --with-pic and --without-pic.
13780 lt_prog_compiler_pic_D
="$phobos_compiler_shared_flag"
13783 # Determine what GCC version number to use in filesystem paths.
13785 get_gcc_base_ver
="cat"
13787 # Check whether --with-gcc-major-version-only was given.
13788 if test "${with_gcc_major_version_only+set}" = set; then :
13789 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
13790 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
13798 # libphobos/libdruntime specific options and feature detection
13800 # These need to be absolute paths, yet at the same time need to
13801 # canonicalize only relative paths, because then amd will not unmount
13802 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
13803 libphobos_builddir
=`${PWDCMD-pwd}`
13805 \\/$
* | ?
:\\/*) libphobos_srcdir
=${srcdir} ;;
13806 *) libphobos_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
13812 if test ${multilib} = yes; then
13813 multilib_arg
="--enable-multilib"
13819 # Check whether --enable-werror was given.
13820 if test "${enable_werror+set}" = set; then :
13821 enableval
=$enable_werror;
13825 if test "x$enable_werror" = "xyes"; then
13826 WERROR_FLAG
="-Werror"
13830 # Check whether --enable-druntime-gc was given.
13831 if test "${enable_druntime_gc+set}" = set; then :
13832 enableval
=$enable_druntime_gc; enable_druntime_gc
=no
13834 enable_druntime_gc
=yes
13838 if test "$enable_druntime_gc" = "yes"; then
13839 DRUNTIME_GC_ENABLE_TRUE
=
13840 DRUNTIME_GC_ENABLE_FALSE
='#'
13842 DRUNTIME_GC_ENABLE_TRUE
='#'
13843 DRUNTIME_GC_ENABLE_FALSE
=
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target OS" >&5
13849 $as_echo_n "checking for target OS... " >&6; }
13850 if ${druntime_cv_target_os+:} false
; then :
13851 $as_echo_n "(cached) " >&6
13853 druntime_cv_target_os
=`echo $target_os | sed 's/^\([A-Za-z_]+\)/\1/'`
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_target_os" >&5
13856 $as_echo "$druntime_cv_target_os" >&6; }
13857 if test -z "$druntime_cv_target_os"; then :
13858 as_fn_error $?
"can't detect target OS" "$LINENO" 5
13863 # Check whether --enable-unix was given.
13864 if test "${enable_unix+set}" = set; then :
13865 enableval
=$enable_unix; :
13871 case "$druntime_cv_target_os" in
13872 aix
*|
*bsd
*|cygwin
*|darwin
*|gnu
*|linux
*|skyos
*|
*solaris
*|sysv
*) d_have_unix
=1 ;;
13874 if test -n "$d_have_unix" && test "$enable_unix" = auto
; then
13877 if test "$enable_unix" = "yes"; then
13878 DRUNTIME_OS_UNIX_TRUE
=
13879 DRUNTIME_OS_UNIX_FALSE
='#'
13881 DRUNTIME_OS_UNIX_TRUE
='#'
13882 DRUNTIME_OS_UNIX_FALSE
=
13889 druntime_target_os_parsed
=""
13890 case "$druntime_cv_target_os" in
13891 aix
*) druntime_target_os_parsed
="aix"
13894 druntime_target_os_parsed
="android"
13896 darwin
*) druntime_target_os_parsed
="darwin"
13899 druntime_target_os_parsed
="dragonflybsd"
13901 freebsd
*|k
*bsd
*-gnu)
13902 druntime_target_os_parsed
="freebsd"
13905 druntime_target_os_parsed
="openbsd"
13908 druntime_target_os_parsed
="netbsd"
13910 linux
*) druntime_target_os_parsed
="linux"
13912 mingw
*) druntime_target_os_parsed
="mingw"
13914 *solaris
*) druntime_target_os_parsed
="solaris"
13916 if test "$druntime_target_os_parsed" = "aix"; then
13917 DRUNTIME_OS_AIX_TRUE
=
13918 DRUNTIME_OS_AIX_FALSE
='#'
13920 DRUNTIME_OS_AIX_TRUE
='#'
13921 DRUNTIME_OS_AIX_FALSE
=
13924 if test "$druntime_target_os_parsed" = "android"; then
13925 DRUNTIME_OS_ANDROID_TRUE
=
13926 DRUNTIME_OS_ANDROID_FALSE
='#'
13928 DRUNTIME_OS_ANDROID_TRUE
='#'
13929 DRUNTIME_OS_ANDROID_FALSE
=
13932 if test "$druntime_target_os_parsed" = "darwin"; then
13933 DRUNTIME_OS_DARWIN_TRUE
=
13934 DRUNTIME_OS_DARWIN_FALSE
='#'
13936 DRUNTIME_OS_DARWIN_TRUE
='#'
13937 DRUNTIME_OS_DARWIN_FALSE
=
13940 if test "$druntime_target_os_parsed" = "dragonflybsd"; then
13941 DRUNTIME_OS_DRAGONFLYBSD_TRUE
=
13942 DRUNTIME_OS_DRAGONFLYBSD_FALSE
='#'
13944 DRUNTIME_OS_DRAGONFLYBSD_TRUE
='#'
13945 DRUNTIME_OS_DRAGONFLYBSD_FALSE
=
13948 if test "$druntime_target_os_parsed" = "freebsd"; then
13949 DRUNTIME_OS_FREEBSD_TRUE
=
13950 DRUNTIME_OS_FREEBSD_FALSE
='#'
13952 DRUNTIME_OS_FREEBSD_TRUE
='#'
13953 DRUNTIME_OS_FREEBSD_FALSE
=
13956 if test "$druntime_target_os_parsed" = "netbsd"; then
13957 DRUNTIME_OS_NETBSD_TRUE
=
13958 DRUNTIME_OS_NETBSD_FALSE
='#'
13960 DRUNTIME_OS_NETBSD_TRUE
='#'
13961 DRUNTIME_OS_NETBSD_FALSE
=
13964 if test "$druntime_target_os_parsed" = "openbsd"; then
13965 DRUNTIME_OS_OPENBSD_TRUE
=
13966 DRUNTIME_OS_OPENBSD_FALSE
='#'
13968 DRUNTIME_OS_OPENBSD_TRUE
='#'
13969 DRUNTIME_OS_OPENBSD_FALSE
=
13972 if test "$druntime_target_os_parsed" = "linux"; then
13973 DRUNTIME_OS_LINUX_TRUE
=
13974 DRUNTIME_OS_LINUX_FALSE
='#'
13976 DRUNTIME_OS_LINUX_TRUE
='#'
13977 DRUNTIME_OS_LINUX_FALSE
=
13980 if test "$druntime_target_os_parsed" = "mingw"; then
13981 DRUNTIME_OS_MINGW_TRUE
=
13982 DRUNTIME_OS_MINGW_FALSE
='#'
13984 DRUNTIME_OS_MINGW_TRUE
='#'
13985 DRUNTIME_OS_MINGW_FALSE
=
13988 if test "$druntime_target_os_parsed" = "solaris"; then
13989 DRUNTIME_OS_SOLARIS_TRUE
=
13990 DRUNTIME_OS_SOLARIS_FALSE
='#'
13992 DRUNTIME_OS_SOLARIS_TRUE
='#'
13993 DRUNTIME_OS_SOLARIS_FALSE
=
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GDC" >&5
14000 $as_echo_n "checking for thread model used by GDC... " >&6; }
14001 d_thread_model
=`$GDC -v 2>&1 | sed -n 's/^Thread model: //p'`
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $d_thread_model" >&5
14003 $as_echo "$d_thread_model" >&6; }
14005 # Map from thread model to thread interface.
14007 case $d_thread_model in
14008 aix
) DCFG_THREAD_MODEL
="Posix" ;;
14009 lynx
) DCFG_THREAD_MODEL
="Posix" ;;
14010 posix
) DCFG_THREAD_MODEL
="Posix" ;;
14011 single
) DCFG_THREAD_MODEL
="Single" ;;
14012 win32
) DCFG_THREAD_MODEL
="Win32" ;;
14013 # TODO: These targets need porting.
14014 dce|mipssde|rtems|tpf|vxworks
)
14015 DCFG_THREAD_MODEL
="Single" ;;
14016 *) as_fn_error
"Thread implementation '$d_thread_model' not recognised" "$LINENO" 5 ;;
14023 ac_cpp
='$CPP $CPPFLAGS'
14024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARM unwinder" >&5
14029 $as_echo_n "checking for ARM unwinder... " >&6; }
14030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14032 #include <unwind.h>
14037 #if __ARM_EABI_UNWINDER__
14045 if ac_fn_c_try_compile
"$LINENO"; then :
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14047 $as_echo "no" >&6; }
14048 DCFG_ARM_EABI_UNWINDER
=false
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14051 $as_echo "yes" >&6; }
14052 DCFG_ARM_EABI_UNWINDER
=true
14054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14056 if test "$DCFG_ARM_EABI_UNWINDER" = "true"; then
14057 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
=
14058 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
='#'
14060 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
='#'
14061 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
=
14065 ac_cpp
='$CPP $CPPFLAGS'
14066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14073 ac_cpp
='$CPP $CPPFLAGS'
14074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minfo section bracketing" >&5
14079 $as_echo_n "checking for minfo section bracketing... " >&6; }
14080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14083 void* module_info_ptr __attribute__((section ("minfo")));
14084 extern void* __start_minfo __attribute__((visibility ("hidden")));
14085 extern void* __stop_minfo __attribute__((visibility ("hidden")));
14089 // Never run, just to prevent compiler from optimizing access
14090 return &__start_minfo == &__stop_minfo;
14094 if ac_fn_c_try_link
"$LINENO"; then :
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14096 $as_echo "yes" >&6; }
14097 DCFG_MINFO_BRACKETING
=true
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14100 $as_echo "no" >&6; }
14101 DCFG_MINFO_BRACKETING
=false
14103 rm -f core conftest.err conftest.
$ac_objext \
14104 conftest
$ac_exeext conftest.
$ac_ext
14106 if test "$DCFG_MINFO_BRACKETING" = "true"; then
14107 DRUNTIME_OS_MINFO_BRACKETING_TRUE
=
14108 DRUNTIME_OS_MINFO_BRACKETING_FALSE
='#'
14110 DRUNTIME_OS_MINFO_BRACKETING_TRUE
='#'
14111 DRUNTIME_OS_MINFO_BRACKETING_FALSE
=
14115 ac_cpp
='$CPP $CPPFLAGS'
14116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14123 i?
86-*-solaris2.
* | x86_64-
*-solaris2.
*)
14124 # 64-bit Solaris/x86 ld breaks calls to __tls_get_addr with non-TLS
14125 # relocs. Work around by disabling TLS transitions. Not necessary
14126 # on 32-bit x86, but cannot be distinguished reliably in specs.
14127 druntime_ld_prog
=`$CC -print-prog-name=ld`
14128 if test -n "$druntime_ld_prog" \
14129 && $druntime_ld_prog -v 2>&1 |
grep GNU
> /dev
/null
2>&1; then
14132 OS_LINK_SPEC
='-z relax=transtls'
14140 ac_cpp
='$CPP $CPPFLAGS'
14141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14145 DCFG_HAVE_QSORT_R
=false
14146 ac_fn_c_check_func
"$LINENO" "qsort_r" "ac_cv_func_qsort_r"
14147 if test "x$ac_cv_func_qsort_r" = xyes
; then :
14148 DCFG_HAVE_QSORT_R
=true
14153 ac_cpp
='$CPP $CPPFLAGS'
14154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14162 gdc_save_DFLAGS
=$GDCFLAGS
14163 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime -nophoboslib $GDCFLAGS"
14166 ac_compile
='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
14167 ac_link
='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14168 ac_compiler_gnu
=yes
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing malloc" >&5
14171 $as_echo_n "checking for library containing malloc... " >&6; }
14172 if ${ac_cv_search_malloc+:} false
; then :
14173 $as_echo_n "(cached) " >&6
14175 ac_func_search_save_LIBS
=$LIBS
14176 cat > conftest.
$ac_ext <<_ACEOF
14178 extern(C) int malloc();
14180 extern(C) int main() {
14181 malloc(); return 0;
14184 for ac_lib
in '' c
; do
14185 if test -z "$ac_lib"; then
14186 ac_res
="none required"
14189 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14191 if ac_fn_d_try_link
"$LINENO"; then :
14192 ac_cv_search_malloc
=$ac_res
14194 rm -f core conftest.err conftest.
$ac_objext \
14196 if ${ac_cv_search_malloc+:} false
; then :
14200 if ${ac_cv_search_malloc+:} false
; then :
14203 ac_cv_search_malloc
=no
14205 rm conftest.
$ac_ext
14206 LIBS
=$ac_func_search_save_LIBS
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_malloc" >&5
14209 $as_echo "$ac_cv_search_malloc" >&6; }
14210 ac_res
=$ac_cv_search_malloc
14211 if test "$ac_res" != no
; then :
14212 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14217 enable_thread_lib
=yes
14218 # Check whether --enable-thread-lib was given.
14219 if test "${enable_thread_lib+set}" = set; then :
14220 enableval
=$enable_thread_lib;
14224 if test "x$enable_thread_lib" = "xyes"; then :
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
14227 $as_echo_n "checking for library containing pthread_create... " >&6; }
14228 if ${ac_cv_search_pthread_create+:} false
; then :
14229 $as_echo_n "(cached) " >&6
14231 ac_func_search_save_LIBS
=$LIBS
14232 cat > conftest.
$ac_ext <<_ACEOF
14234 extern(C) int pthread_create();
14236 extern(C) int main() {
14237 pthread_create(); return 0;
14240 for ac_lib
in '' pthread
; do
14241 if test -z "$ac_lib"; then
14242 ac_res
="none required"
14245 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14247 if ac_fn_d_try_link
"$LINENO"; then :
14248 ac_cv_search_pthread_create
=$ac_res
14250 rm -f core conftest.err conftest.
$ac_objext \
14252 if ${ac_cv_search_pthread_create+:} false
; then :
14256 if ${ac_cv_search_pthread_create+:} false
; then :
14259 ac_cv_search_pthread_create
=no
14261 rm conftest.
$ac_ext
14262 LIBS
=$ac_func_search_save_LIBS
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
14265 $as_echo "$ac_cv_search_pthread_create" >&6; }
14266 ac_res
=$ac_cv_search_pthread_create
14267 if test "$ac_res" != no
; then :
14268 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14275 if test "x$enable_thread_lib" = "xno"; then :
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread library" >&5
14278 $as_echo_n "checking for thread library... " >&6; }
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14280 $as_echo "disabled" >&6; }
14284 as_ac_Lib
=`$as_echo "ac_cv_lib_$enable_thread_lib''_pthread_create" | $as_tr_sh`
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -l$enable_thread_lib" >&5
14286 $as_echo_n "checking for pthread_create in -l$enable_thread_lib... " >&6; }
14287 if eval \
${$as_ac_Lib+:} false
; then :
14288 $as_echo_n "(cached) " >&6
14290 ac_check_lib_save_LIBS
=$LIBS
14291 LIBS
="-l$enable_thread_lib $LIBS"
14292 cat > conftest.
$ac_ext <<_ACEOF
14294 extern(C) int pthread_create();
14296 extern(C) int main() {
14297 pthread_create(); return 0;
14300 if ac_fn_d_try_link
"$LINENO"; then :
14301 eval "$as_ac_Lib=yes"
14303 eval "$as_ac_Lib=no"
14305 rm -f core conftest.err conftest.
$ac_objext \
14306 conftest
$ac_exeext conftest.
$ac_ext
14307 LIBS
=$ac_check_lib_save_LIBS
14309 eval ac_res
=\$
$as_ac_Lib
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14311 $as_echo "$ac_res" >&6; }
14312 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
14313 cat >>confdefs.h
<<_ACEOF
14314 #define `$as_echo "HAVE_LIB$enable_thread_lib" | $as_tr_cpp` 1
14317 LIBS
="-l$enable_thread_lib $LIBS"
14321 as_fn_error $?
"Thread library not found" "$LINENO" 5
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cosf" >&5
14331 $as_echo_n "checking for library containing cosf... " >&6; }
14332 if ${ac_cv_search_cosf+:} false
; then :
14333 $as_echo_n "(cached) " >&6
14335 ac_func_search_save_LIBS
=$LIBS
14336 cat > conftest.
$ac_ext <<_ACEOF
14338 extern(C) int cosf();
14340 extern(C) int main() {
14344 for ac_lib
in '' m
; do
14345 if test -z "$ac_lib"; then
14346 ac_res
="none required"
14349 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14351 if ac_fn_d_try_link
"$LINENO"; then :
14352 ac_cv_search_cosf
=$ac_res
14354 rm -f core conftest.err conftest.
$ac_objext \
14356 if ${ac_cv_search_cosf+:} false
; then :
14360 if ${ac_cv_search_cosf+:} false
; then :
14363 ac_cv_search_cosf
=no
14365 rm conftest.
$ac_ext
14366 LIBS
=$ac_func_search_save_LIBS
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cosf" >&5
14369 $as_echo "$ac_cv_search_cosf" >&6; }
14370 ac_res
=$ac_cv_search_cosf
14371 if test "$ac_res" != no
; then :
14372 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14377 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14378 if ${ac_cv_search_clock_gettime+:} false
; then :
14379 $as_echo_n "(cached) " >&6
14381 ac_func_search_save_LIBS
=$LIBS
14382 cat > conftest.
$ac_ext <<_ACEOF
14384 extern(C) int clock_gettime();
14386 extern(C) int main() {
14387 clock_gettime(); return 0;
14390 for ac_lib
in '' rt
; do
14391 if test -z "$ac_lib"; then
14392 ac_res
="none required"
14395 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14397 if ac_fn_d_try_link
"$LINENO"; then :
14398 ac_cv_search_clock_gettime
=$ac_res
14400 rm -f core conftest.err conftest.
$ac_objext \
14402 if ${ac_cv_search_clock_gettime+:} false
; then :
14406 if ${ac_cv_search_clock_gettime+:} false
; then :
14409 ac_cv_search_clock_gettime
=no
14411 rm conftest.
$ac_ext
14412 LIBS
=$ac_func_search_save_LIBS
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14415 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14416 ac_res
=$ac_cv_search_clock_gettime
14417 if test "$ac_res" != no
; then :
14418 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14423 # This checks to see if the host supports the compiler-generated builtins
14424 # for atomic operations for various integral sizes. Note, this is intended
14425 # to be an all-or-nothing switch, so all the atomic operations that are
14426 # used should be checked.
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for byte" >&5
14428 $as_echo_n "checking for atomic builtins for byte... " >&6; }
14429 if ${druntime_cv_atomic_byte+:} false
; then :
14430 $as_echo_n "(cached) " >&6
14433 cat > conftest.
$ac_ext <<_ACEOF
14435 import gcc.builtins;
14437 extern(C) int main() {
14441 __atomic_compare_exchange_1(&c1, &c2, c3, false, 5, 5);
14442 __atomic_load_1(&c1, 5);
14443 __atomic_store_1(&c1, c2, 5);
14448 if ac_fn_d_try_link
"$LINENO"; then :
14449 druntime_cv_atomic_byte
=yes
14451 druntime_cv_atomic_byte
=no
14453 rm -f core conftest.err conftest.
$ac_objext \
14454 conftest
$ac_exeext conftest.
$ac_ext
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_byte" >&5
14459 $as_echo "$druntime_cv_atomic_byte" >&6; }
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
14462 $as_echo_n "checking for atomic builtins for short... " >&6; }
14463 if ${druntime_cv_atomic_short+:} false
; then :
14464 $as_echo_n "(cached) " >&6
14467 cat > conftest.
$ac_ext <<_ACEOF
14469 import gcc.builtins;
14471 extern(C) int main() {
14475 __atomic_compare_exchange_2(&c1, &c2, c3, false, 5, 5);
14476 __atomic_load_2(&c1, 5);
14477 __atomic_store_2(&c1, c2, 5);
14482 if ac_fn_d_try_link
"$LINENO"; then :
14483 druntime_cv_atomic_short
=yes
14485 druntime_cv_atomic_short
=no
14487 rm -f core conftest.err conftest.
$ac_objext \
14488 conftest
$ac_exeext conftest.
$ac_ext
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_short" >&5
14493 $as_echo "$druntime_cv_atomic_short" >&6; }
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
14496 $as_echo_n "checking for atomic builtins for int... " >&6; }
14497 if ${druntime_cv_atomic_int+:} false
; then :
14498 $as_echo_n "(cached) " >&6
14501 cat > conftest.
$ac_ext <<_ACEOF
14503 import gcc.builtins;
14505 extern(C) int main() {
14509 __atomic_compare_exchange_4(&c1, &c2, c3, false, 5, 5);
14510 __atomic_load_4(&c1, 5);
14511 __atomic_store_4(&c1, c2, 5);
14516 if ac_fn_d_try_link
"$LINENO"; then :
14517 druntime_cv_atomic_int
=yes
14519 druntime_cv_atomic_int
=no
14521 rm -f core conftest.err conftest.
$ac_objext \
14522 conftest
$ac_exeext conftest.
$ac_ext
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_int" >&5
14527 $as_echo "$druntime_cv_atomic_int" >&6; }
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long" >&5
14530 $as_echo_n "checking for atomic builtins for long... " >&6; }
14531 if ${druntime_cv_atomic_long+:} false
; then :
14532 $as_echo_n "(cached) " >&6
14535 cat > conftest.
$ac_ext <<_ACEOF
14537 import gcc.builtins;
14539 extern(C) int main() {
14543 __atomic_compare_exchange_8(&c1, &c2, c3, false, 5, 5);
14544 __atomic_load_8(&c1, 5);
14545 __atomic_store_8(&c1, c2, 5);
14550 if ac_fn_d_try_link
"$LINENO"; then :
14551 druntime_cv_atomic_long
=yes
14553 druntime_cv_atomic_long
=no
14555 rm -f core conftest.err conftest.
$ac_objext \
14556 conftest
$ac_exeext conftest.
$ac_ext
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_long" >&5
14561 $as_echo "$druntime_cv_atomic_long" >&6; }
14563 # Have atomic builtin support if all but the long test above passes.
14564 DCFG_HAVE_ATOMIC_BUILTINS
=false
14565 if test "$druntime_cv_atomic_byte" = yes \
14566 && test "$druntime_cv_atomic_short" = yes \
14567 && test "$druntime_cv_atomic_int" = yes; then \
14568 DCFG_HAVE_ATOMIC_BUILTINS
=true
14571 # Have 64-bit atomic support if the long test above passes.
14572 DCFG_HAVE_64BIT_ATOMICS
=false
14573 if test "$druntime_cv_atomic_long" = yes; then
14574 DCFG_HAVE_64BIT_ATOMICS
=true
14581 ac_cpp
='$CPP $CPPFLAGS'
14582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14587 GDCFLAGS
=$gdc_save_DFLAGS
14592 # Check whether --with-libatomic was given.
14593 if test "${with_libatomic+set}" = set; then :
14594 withval
=$with_libatomic;
14598 DCFG_HAVE_LIBATOMIC
=false
14600 if test "x$with_libatomic" != "xno"; then :
14602 DCFG_HAVE_LIBATOMIC
=true
14603 LIBATOMIC
=..
/..
/libatomic
/libatomic_convenience.la
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic" >&5
14608 $as_echo_n "checking for libatomic... " >&6; }
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14610 $as_echo "disabled" >&6; }
14619 ac_cpp
='$CPP $CPPFLAGS'
14620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14624 BACKTRACE_SUPPORTED
=false
14625 BACKTRACE_USES_MALLOC
=false
14626 BACKTRACE_SUPPORTS_THREADS
=false
14630 # Check whether --with-libbacktrace was given.
14631 if test "${with_libbacktrace+set}" = set; then :
14632 withval
=$with_libbacktrace;
14636 if test "x$with_libbacktrace" != "xno"; then :
14638 LIBBACKTRACE
=..
/..
/libbacktrace
/libbacktrace.la
14640 gdc_save_CPPFLAGS
=$CPPFLAGS
14641 CPPFLAGS
+=" -I../libbacktrace "
14643 ac_fn_c_check_header_mongrel
"$LINENO" "backtrace-supported.h" "ac_cv_header_backtrace_supported_h" "$ac_includes_default"
14644 if test "x$ac_cv_header_backtrace_supported_h" = xyes
; then :
14645 have_libbacktrace_h
=true
14647 have_libbacktrace_h
=false
14652 if $have_libbacktrace_h; then
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_SUPPORTED" >&5
14654 $as_echo_n "checking libbacktrace: BACKTRACE_SUPPORTED... " >&6; }
14655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14658 #include <backtrace-supported.h>
14659 #if BACKTRACE_SUPPORTED
14660 FOUND_LIBBACKTRACE_RESULT_GDC
14664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14665 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14666 BACKTRACE_SUPPORTED
=true
14668 BACKTRACE_SUPPORTED
=false
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_SUPPORTED" >&5
14673 $as_echo "$BACKTRACE_SUPPORTED" >&6; }
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_USES_MALLOC" >&5
14676 $as_echo_n "checking libbacktrace: BACKTRACE_USES_MALLOC... " >&6; }
14677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14680 #include <backtrace-supported.h>
14681 #if BACKTRACE_USES_MALLOC
14682 FOUND_LIBBACKTRACE_RESULT_GDC
14686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14687 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14688 BACKTRACE_USES_MALLOC
=true
14690 BACKTRACE_USES_MALLOC
=false
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_USES_MALLOC" >&5
14695 $as_echo "$BACKTRACE_USES_MALLOC" >&6; }
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_SUPPORTS_THREADS" >&5
14698 $as_echo_n "checking libbacktrace: BACKTRACE_SUPPORTS_THREADS... " >&6; }
14699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14700 /* end confdefs.h. */
14702 #include <backtrace-supported.h>
14703 #if BACKTRACE_SUPPORTS_THREADS
14704 FOUND_LIBBACKTRACE_RESULT_GDC
14708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14709 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14710 BACKTRACE_SUPPORTS_THREADS
=true
14712 BACKTRACE_SUPPORTS_THREADS
=false
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_SUPPORTS_THREADS" >&5
14717 $as_echo "$BACKTRACE_SUPPORTS_THREADS" >&6; }
14719 CPPFLAGS
=$gdc_save_CPPFLAGS
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbacktrace" >&5
14724 $as_echo_n "checking for libbacktrace... " >&6; }
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14726 $as_echo "disabled" >&6; }
14735 ac_cpp
='$CPP $CPPFLAGS'
14736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14742 # Libtool has already checked this, so re-use the inferred dlopen lib.
14743 if test "x$enable_dlopen" = "xyes" && test -n "$lt_cv_dlopen_libs"; then :
14745 LIBS
="$LIBS $lt_cv_dlopen_libs"
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14751 $as_echo_n "checking for socket libraries... " >&6; }
14752 if ${druntime_cv_lib_sockets+:} false
; then :
14753 $as_echo_n "(cached) " >&6
14755 druntime_cv_lib_sockets
=
14756 druntime_check_both
=no
14757 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14758 if test "x$ac_cv_func_connect" = xyes
; then :
14759 druntime_check_socket
=no
14761 druntime_check_socket
=yes
14764 if test "$druntime_check_socket" = "yes"; then
14765 unset ac_cv_func_connect
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14767 $as_echo_n "checking for main in -lsocket... " >&6; }
14768 if ${ac_cv_lib_socket_main+:} false
; then :
14769 $as_echo_n "(cached) " >&6
14771 ac_check_lib_save_LIBS
=$LIBS
14772 LIBS
="-lsocket $LIBS"
14773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14785 if ac_fn_c_try_link
"$LINENO"; then :
14786 ac_cv_lib_socket_main
=yes
14788 ac_cv_lib_socket_main
=no
14790 rm -f core conftest.err conftest.
$ac_objext \
14791 conftest
$ac_exeext conftest.
$ac_ext
14792 LIBS
=$ac_check_lib_save_LIBS
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14795 $as_echo "$ac_cv_lib_socket_main" >&6; }
14796 if test "x$ac_cv_lib_socket_main" = xyes
; then :
14797 druntime_cv_lib_sockets
="-lsocket"
14799 druntime_check_both
=yes
14803 if test "$druntime_check_both" = "yes"; then
14804 druntime_old_libs
=$LIBS
14805 LIBS
="$LIBS -lsocket -lnsl"
14806 unset ac_cv_func_accept
14807 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
14808 if test "x$ac_cv_func_accept" = xyes
; then :
14809 druntime_check_nsl
=no
14810 druntime_cv_lib_sockets
="-lsocket -lnsl"
14813 unset ac_cv_func_accept
14814 LIBS
=$druntime_old_libs
14816 unset ac_cv_func_gethostbyname
14817 druntime_old_libs
="$LIBS"
14818 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14819 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
14823 $as_echo_n "checking for main in -lnsl... " >&6; }
14824 if ${ac_cv_lib_nsl_main+:} false
; then :
14825 $as_echo_n "(cached) " >&6
14827 ac_check_lib_save_LIBS
=$LIBS
14829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14830 /* end confdefs.h. */
14841 if ac_fn_c_try_link
"$LINENO"; then :
14842 ac_cv_lib_nsl_main
=yes
14844 ac_cv_lib_nsl_main
=no
14846 rm -f core conftest.err conftest.
$ac_objext \
14847 conftest
$ac_exeext conftest.
$ac_ext
14848 LIBS
=$ac_check_lib_save_LIBS
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
14851 $as_echo "$ac_cv_lib_nsl_main" >&6; }
14852 if test "x$ac_cv_lib_nsl_main" = xyes
; then :
14853 druntime_cv_lib_sockets
="$druntime_cv_lib_sockets -lnsl"
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_lib_sockets" >&5
14861 $as_echo "$druntime_cv_lib_sockets" >&6; }
14862 LIBS
="$LIBS $druntime_cv_lib_sockets"
14866 ac_cpp
='$CPP $CPPFLAGS'
14867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14874 # Check whether --with-target-system-zlib was given.
14875 if test "${with_target_system_zlib+set}" = set; then :
14876 withval
=$with_target_system_zlib;
14878 with_target_system_zlib
=no
14882 case "$with_target_system_zlib" in
14884 *) as_fn_error $?
"Invalid argument for --with-target-system-zlib" "$LINENO" 5 ;;
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for system zlib" >&5
14888 $as_echo_n "checking for system zlib... " >&6; }
14891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14892 /* end confdefs.h. */
14897 gzopen("none", "rb")
14902 if ac_fn_c_try_link
"$LINENO"; then :
14904 if test "$cross_compiling" = yes; then :
14905 system_zlib_found
=no
14908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14913 gzFile file = gzopen("none", "rb");
14918 if ac_fn_c_try_run
"$LINENO"; then :
14919 system_zlib_found
=yes
14921 system_zlib_found
=no
14923 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14924 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14929 system_zlib_found
=no
14931 rm -f core conftest.err conftest.
$ac_objext \
14932 conftest
$ac_exeext conftest.
$ac_ext
14935 if test x
$system_zlib_found = xyes
&& test x
$with_target_system_zlib != xno
; then
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14937 $as_echo "found" >&6; }
14939 elif test x
$system_zlib_found = xno
&& test x
$with_target_system_zlib = xyes
; then
14940 as_fn_error $?
"system zlib required but not found" "$LINENO" 5
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14943 $as_echo "just compiled" >&6; }
14944 LIBZ
=..
/..
/zlib
/libz_convenience.la
14949 ac_cpp
='$CPP $CPPFLAGS'
14950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking D GCC version" >&5
14959 $as_echo_n "checking D GCC version... " >&6; }
14960 gcc_version
=`eval $get_gcc_base_ver $srcdir/../gcc/BASE-VER`
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_version" >&5
14962 $as_echo "$gcc_version" >&6; }
14966 # Check whether --with-cross-host was given.
14967 if test "${with_cross_host+set}" = set; then :
14968 withval
=$with_cross_host;
14972 libphobos_toolexecdir
=no
14973 libphobos_toolexeclibdir
=no
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
14976 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
14977 # Check whether --enable-version-specific-runtime-libs was given.
14978 if test "${enable_version_specific_runtime_libs+set}" = set; then :
14979 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
14980 yes) version_specific_libs
=yes ;;
14981 no
) version_specific_libs
=no
;;
14982 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
14985 version_specific_libs
=no
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
14989 $as_echo "$version_specific_libs" >&6; }
14991 # Version-specific runtime libs processing.
14992 if test $version_specific_libs = yes; then
14993 libphobos_toolexecdir
='${libdir}/gcc/${host_alias}'
14994 libphobos_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
14996 # Calculate libphobos_toolexecdir, libphobos_toolexeclibdir
14997 # Install a library built with a cross compiler in tooldir, not libdir.
14998 if test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
14999 libphobos_toolexecdir
='${exec_prefix}/${host_alias}'
15000 libphobos_toolexeclibdir
='${toolexecdir}/lib'
15002 libphobos_toolexecdir
='${libdir}/gcc/${host_alias}'
15003 libphobos_toolexeclibdir
='${libdir}'
15005 multi_os_directory
=`$GDC -print-multi-os-directory`
15006 case $multi_os_directory in
15007 .
) ;; # Avoid trailing /.
15008 *) libphobos_toolexeclibdir
=${libphobos_toolexeclibdir}/${multi_os_directory} ;;
15014 # Default case for install directory for D sources files.
15015 gdc_include_dir
='$(libdir)/gcc/${target_alias}/${gcc_version}/include/d'
15019 # Add drtbegin.o/drtend.o to startfile/endfile specs in libgphobos.spec
15020 if test "$DCFG_MINFO_BRACKETING" = "false"; then
15021 DRTSTUFF_SPEC
=$srcdir/src
/drtstuff.spec
15023 DRTSTUFF_SPEC
=/dev
/null
15027 # Add dependencies for libgphobos.spec file
15028 SPEC_PHOBOS_DEPS
="$LIBS"
15031 # Libdruntime / phobos soname version
15032 libtool_VERSION
=76:3:0
15035 # Set default flags (after DRUNTIME_WERROR!)
15036 if test -z "$GDCFLAGS"; then
15037 GDCFLAGS
="-Wall $WERROR_FLAG -g -frelease -O2"
15041 if test -z "$GDCFLAGSX"; then
15042 GDCFLAGSX
="-Wall $WERROR_FLAG -g -fno-release -funittest"
15046 # Sanity check for the cross-compilation case:
15047 ac_fn_c_check_header_mongrel
"$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
15048 if test "x$ac_cv_header_stdio_h" = xyes
; then :
15051 as_fn_error $?
"cannot find stdio.h." "$LINENO" 5
15056 ac_config_files
="$ac_config_files Makefile"
15059 ac_config_files
="$ac_config_files libdruntime/gcc/config.d libdruntime/gcc/libbacktrace.d"
15061 ac_config_files
="$ac_config_files src/libgphobos.spec"
15063 ac_config_files
="$ac_config_files testsuite/testsuite_flags"
15066 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
15067 # that multilib installs will end up installed in the correct place.
15068 # The testsuite needs it for multilib-aware ABI baseline files.
15069 # To work around this not being passed down from config-ml.in ->
15070 # srcdir/Makefile.am -> srcdir/{src,libdruntime,...}/Makefile.am, manually
15071 # append it here. Only modify Makefiles that have just been created.
15073 # Also, get rid of this simulated-VPATH thing that automake does.
15074 ac_config_files
="$ac_config_files libdruntime/Makefile src/Makefile testsuite/Makefile"
15077 cat >confcache
<<\_ACEOF
15078 # This file is a shell script that caches the results of configure
15079 # tests run on this system so they can be shared between configure
15080 # scripts and configure runs, see configure's option --config-cache.
15081 # It is not useful on other systems. If it contains results you don't
15082 # want to keep, you may remove or edit it.
15084 # config.status only pays attention to the cache file if you give it
15085 # the --recheck option to rerun configure.
15087 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15088 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15089 # following values.
15093 # The following way of writing the cache mishandles newlines in values,
15094 # but we know of no workaround that is simple, portable, and efficient.
15095 # So, we kill variables containing newlines.
15096 # Ultrix sh set writes to stderr and can't be redirected directly,
15097 # and sets the high bit in the cache file unless we assign to the vars.
15099 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15100 eval ac_val
=\$
$ac_var
15104 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15105 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15108 _ | IFS | as_nl
) ;; #(
15109 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15110 *) { eval $ac_var=; unset $ac_var;} ;;
15116 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15117 *${as_nl}ac_space
=\
*)
15118 # `set' does not quote correctly, so add quotes: double-quote
15119 # substitution turns \\\\ into \\, and sed turns \\ into \.
15122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15125 # `set' quotes correctly as required by POSIX, so do not add quotes.
15126 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15135 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15137 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15139 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15140 if test -w "$cache_file"; then
15141 if test "x$cache_file" != "x/dev/null"; then
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15143 $as_echo "$as_me: updating cache $cache_file" >&6;}
15144 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15145 cat confcache
>"$cache_file"
15147 case $cache_file in #(
15149 mv -f confcache
"$cache_file"$$
&&
15150 mv -f "$cache_file"$$
"$cache_file" ;; #(
15152 mv -f confcache
"$cache_file" ;;
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15158 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15163 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15164 # Let make expand exec_prefix.
15165 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15167 DEFS
=-DHAVE_CONFIG_H
15172 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15173 # 1. Remove the extension, and $U if already installed.
15174 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15175 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15176 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15177 # will be set to the directory where LIBOBJS objects are built.
15178 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15179 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15181 LIBOBJS
=$ac_libobjs
15183 LTLIBOBJS
=$ac_ltlibobjs
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15187 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15188 if test -n "$am_sleep_pid"; then
15189 # Hide warnings about reused PIDs.
15190 wait $am_sleep_pid 2>/dev
/null
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15193 $as_echo "done" >&6; }
15194 if test -n "$EXEEXT"; then
15196 am__EXEEXT_FALSE
='#'
15198 am__EXEEXT_TRUE
='#'
15202 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15203 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15204 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15206 if test -z "${DRUNTIME_GC_ENABLE_TRUE}" && test -z "${DRUNTIME_GC_ENABLE_FALSE}"; then
15207 as_fn_error $?
"conditional \"DRUNTIME_GC_ENABLE\" was never defined.
15208 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15210 if test -z "${DRUNTIME_OS_UNIX_TRUE}" && test -z "${DRUNTIME_OS_UNIX_FALSE}"; then
15211 as_fn_error $?
"conditional \"DRUNTIME_OS_UNIX\" was never defined.
15212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15214 if test -z "${DRUNTIME_OS_AIX_TRUE}" && test -z "${DRUNTIME_OS_AIX_FALSE}"; then
15215 as_fn_error $?
"conditional \"DRUNTIME_OS_AIX\" was never defined.
15216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15218 if test -z "${DRUNTIME_OS_ANDROID_TRUE}" && test -z "${DRUNTIME_OS_ANDROID_FALSE}"; then
15219 as_fn_error $?
"conditional \"DRUNTIME_OS_ANDROID\" was never defined.
15220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15222 if test -z "${DRUNTIME_OS_DARWIN_TRUE}" && test -z "${DRUNTIME_OS_DARWIN_FALSE}"; then
15223 as_fn_error $?
"conditional \"DRUNTIME_OS_DARWIN\" was never defined.
15224 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15226 if test -z "${DRUNTIME_OS_DRAGONFLYBSD_TRUE}" && test -z "${DRUNTIME_OS_DRAGONFLYBSD_FALSE}"; then
15227 as_fn_error $?
"conditional \"DRUNTIME_OS_DRAGONFLYBSD\" was never defined.
15228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15230 if test -z "${DRUNTIME_OS_FREEBSD_TRUE}" && test -z "${DRUNTIME_OS_FREEBSD_FALSE}"; then
15231 as_fn_error $?
"conditional \"DRUNTIME_OS_FREEBSD\" was never defined.
15232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15234 if test -z "${DRUNTIME_OS_NETBSD_TRUE}" && test -z "${DRUNTIME_OS_NETBSD_FALSE}"; then
15235 as_fn_error $?
"conditional \"DRUNTIME_OS_NETBSD\" was never defined.
15236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15238 if test -z "${DRUNTIME_OS_OPENBSD_TRUE}" && test -z "${DRUNTIME_OS_OPENBSD_FALSE}"; then
15239 as_fn_error $?
"conditional \"DRUNTIME_OS_OPENBSD\" was never defined.
15240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15242 if test -z "${DRUNTIME_OS_LINUX_TRUE}" && test -z "${DRUNTIME_OS_LINUX_FALSE}"; then
15243 as_fn_error $?
"conditional \"DRUNTIME_OS_LINUX\" was never defined.
15244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15246 if test -z "${DRUNTIME_OS_MINGW_TRUE}" && test -z "${DRUNTIME_OS_MINGW_FALSE}"; then
15247 as_fn_error $?
"conditional \"DRUNTIME_OS_MINGW\" was never defined.
15248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15250 if test -z "${DRUNTIME_OS_SOLARIS_TRUE}" && test -z "${DRUNTIME_OS_SOLARIS_FALSE}"; then
15251 as_fn_error $?
"conditional \"DRUNTIME_OS_SOLARIS\" was never defined.
15252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15254 if test -z "${DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE}" && test -z "${DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE}"; then
15255 as_fn_error $?
"conditional \"DRUNTIME_OS_ARM_EABI_UNWINDER\" was never defined.
15256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15258 if test -z "${DRUNTIME_OS_MINFO_BRACKETING_TRUE}" && test -z "${DRUNTIME_OS_MINFO_BRACKETING_FALSE}"; then
15259 as_fn_error $?
"conditional \"DRUNTIME_OS_MINFO_BRACKETING\" was never defined.
15260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15263 : "${CONFIG_STATUS=./config.status}"
15265 ac_clean_files_save
=$ac_clean_files
15266 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15268 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15270 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15272 # Generated by $as_me.
15273 # Run this file to recreate the current configuration.
15274 # Compiler output produced by configure, useful for debugging
15275 # configure, is in config.log if it exists.
15278 ac_cs_recheck=false
15281 SHELL=\${CONFIG_SHELL-$SHELL}
15284 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15285 ## -------------------- ##
15286 ## M4sh Initialization. ##
15287 ## -------------------- ##
15289 # Be more Bourne compatible
15290 DUALCASE
=1; export DUALCASE
# for MKS sh
15291 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15294 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15295 # is contrary to our usage. Disable this feature.
15296 alias -g '${1+"$@"}'='"$@"'
15297 setopt NO_GLOB_SUBST
15299 case `(set -o) 2>/dev/null` in #(
15311 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15312 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15313 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15314 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15315 # Prefer a ksh shell builtin over an external printf program on Solaris,
15316 # but without wasting forks for bash or zsh.
15317 if test -z "$BASH_VERSION$ZSH_VERSION" \
15318 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15319 as_echo='print
-r --'
15320 as_echo_n='print
-rn --'
15321 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15322 as_echo='printf %s
\n'
15323 as_echo_n='printf %s
'
15325 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15326 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15327 as_echo_n='/usr
/ucb
/echo -n'
15329 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15330 as_echo_n_body='eval
15334 expr "X$arg" : "X\\(.*\\)$as_nl";
15335 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15337 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15339 export as_echo_n_body
15340 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15342 export as_echo_body
15343 as_echo='sh
-c $as_echo_body as_echo
'
15346 # The user is always right.
15347 if test "${PATH_SEPARATOR+set}" != set; then
15349 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15350 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15357 # We need space, tab and new line, in precisely that order. Quoting is
15358 # there to prevent editors from complaining about space-tab.
15359 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15360 # splitting by setting IFS to empty value.)
15363 # Find who we are. Look in the path if we contain no directory separator.
15366 *[\\/]* ) as_myself=$0 ;;
15367 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15368 for as_dir in $PATH
15371 test -z "$as_dir" && as_dir=.
15372 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15378 # We did not find ourselves, most probably we were run as `sh COMMAND'
15379 # in which case we are not to be found in the path.
15380 if test "x$as_myself" = x
; then
15383 if test ! -f "$as_myself"; then
15384 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15388 # Unset variables that we do not need and which cause bugs (e.g. in
15389 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15390 # suppresses any "Segmentation fault" message there. '((' could
15391 # trigger a bug in pdksh 5.2.14.
15392 for as_var
in BASH_ENV ENV MAIL MAILPATH
15393 do eval test x\
${$as_var+set} = xset \
15394 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15407 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15410 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15411 # ----------------------------------------
15412 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15413 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15414 # script with STATUS, using 1 if that was 0.
15417 as_status
=$1; test $as_status -eq 0 && as_status
=1
15419 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15420 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15422 $as_echo "$as_me: error: $2" >&2
15423 as_fn_exit
$as_status
15427 # as_fn_set_status STATUS
15428 # -----------------------
15429 # Set $? to STATUS, without forking.
15430 as_fn_set_status
()
15433 } # as_fn_set_status
15435 # as_fn_exit STATUS
15436 # -----------------
15437 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15441 as_fn_set_status
$1
15447 # Portably unset VAR.
15450 { eval $1=; unset $1;}
15452 as_unset
=as_fn_unset
15453 # as_fn_append VAR VALUE
15454 # ----------------------
15455 # Append the text in VALUE to the end of the definition contained in VAR. Take
15456 # advantage of any shell optimizations that allow amortized linear growth over
15457 # repeated appends, instead of the typical quadratic growth present in naive
15459 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15460 eval 'as_fn_append ()
15471 # as_fn_arith ARG...
15472 # ------------------
15473 # Perform arithmetic evaluation on the ARGs, and store the result in the
15474 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15475 # must be portable across $(()) and expr.
15476 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15477 eval 'as_fn_arith ()
15484 as_val
=`expr "$@" || test $? -eq 1`
15489 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15490 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15496 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15497 as_basename
=basename
15502 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15508 as_me
=`$as_basename -- "$0" ||
15509 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15510 X"$0" : 'X\(//\)$' \| \
15511 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15513 sed '/^.*\/\([^/][^/]*\)\/*$/{
15527 # Avoid depending upon Character Ranges.
15528 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15529 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15530 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15531 as_cr_digits
='0123456789'
15532 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15534 ECHO_C
= ECHO_N
= ECHO_T
=
15535 case `echo -n x` in #(((((
15537 case `echo 'xy\c'` in
15538 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15540 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15547 rm -f conf$$ conf$$.exe conf$$.
file
15548 if test -d conf$$.dir
; then
15549 rm -f conf$$.dir
/conf$$.
file
15552 mkdir conf$$.dir
2>/dev
/null
15554 if (echo >conf$$.
file) 2>/dev
/null
; then
15555 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15557 # ... but there are two gotchas:
15558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15560 # In both cases, we have to default to `cp -pR'.
15561 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15563 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15571 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15572 rmdir conf$$.dir
2>/dev
/null
15577 # Create "$as_dir" as a directory, including parents if necessary.
15582 -*) as_dir
=.
/$as_dir;;
15584 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15588 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15589 *) as_qdir
=$as_dir;;
15591 as_dirs
="'$as_qdir' $as_dirs"
15592 as_dir
=`$as_dirname -- "$as_dir" ||
15593 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15594 X"$as_dir" : 'X\(//\)[^/]' \| \
15595 X"$as_dir" : 'X\(//\)$' \| \
15596 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15597 $as_echo X"$as_dir" |
15598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15602 /^X\(\/\/\)[^/].*/{
15615 test -d "$as_dir" && break
15617 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15618 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15622 if mkdir
-p .
2>/dev
/null
; then
15623 as_mkdir_p
='mkdir -p "$as_dir"'
15625 test -d .
/-p && rmdir .
/-p
15630 # as_fn_executable_p FILE
15631 # -----------------------
15632 # Test if FILE is an executable regular file.
15633 as_fn_executable_p
()
15635 test -f "$1" && test -x "$1"
15636 } # as_fn_executable_p
15637 as_test_x
='test -x'
15638 as_executable_p
=as_fn_executable_p
15640 # Sed expression to map a string onto a valid CPP name.
15641 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15643 # Sed expression to map a string onto a valid variable name.
15644 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15648 ## ----------------------------------- ##
15649 ## Main body of $CONFIG_STATUS script. ##
15650 ## ----------------------------------- ##
15652 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15655 # Save the log message, to keep $0 and so on meaningful, and to
15656 # report actual input values of CONFIG_FILES etc. instead of their
15657 # values after options handling.
15659 This file was extended by package-unused $as_me version-unused, which was
15660 generated by GNU Autoconf 2.69. Invocation command line was
15662 CONFIG_FILES = $CONFIG_FILES
15663 CONFIG_HEADERS = $CONFIG_HEADERS
15664 CONFIG_LINKS = $CONFIG_LINKS
15665 CONFIG_COMMANDS = $CONFIG_COMMANDS
15668 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15673 case $ac_config_files in *"
15674 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15677 case $ac_config_headers in *"
15678 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15683 # Files that config.status was made for.
15684 config_files="$ac_config_files"
15685 config_headers="$ac_config_headers"
15686 config_commands="$ac_config_commands"
15690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15692 \`$as_me' instantiates files and other configuration actions
15693 from templates according to the current configuration. Unless the files
15694 and actions are specified as TAGs, all are instantiated by default.
15696 Usage: $0 [OPTION]... [TAG]...
15698 -h, --help print this help, then exit
15699 -V, --version print version number and configuration settings, then exit
15700 --config print configuration, then exit
15701 -q, --quiet, --silent
15702 do not print progress messages
15703 -d, --debug don't remove temporary files
15704 --recheck update $as_me by reconfiguring in the same conditions
15705 --file=FILE[:TEMPLATE]
15706 instantiate the configuration file FILE
15707 --header=FILE[:TEMPLATE]
15708 instantiate the configuration header FILE
15710 Configuration files:
15713 Configuration headers:
15716 Configuration commands:
15719 Report bugs to the package provider."
15722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15723 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15725 package-unused config.status version-unused
15726 configured by $0, generated by GNU Autoconf 2.69,
15727 with options \\"\$ac_cs_config\\"
15729 Copyright (C) 2012 Free Software Foundation, Inc.
15730 This config.status script is free software; the Free Software Foundation
15731 gives unlimited permission to copy, distribute and modify it."
15738 test -n "\$AWK" || AWK=awk
15741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15742 # The default lists apply if the user does not specify any file.
15748 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15749 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15753 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15765 # Handling of the options.
15766 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15768 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15769 $as_echo "$ac_cs_version"; exit ;;
15770 --config |
--confi |
--conf |
--con |
--co |
--c )
15771 $as_echo "$ac_cs_config"; exit ;;
15772 --debug |
--debu |
--deb |
--de |
--d |
-d )
15774 --file |
--fil |
--fi |
--f )
15777 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15778 '') as_fn_error $?
"missing file argument" ;;
15780 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15781 ac_need_defaults
=false
;;
15782 --header |
--heade |
--head |
--hea )
15785 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15787 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15788 ac_need_defaults
=false
;;
15790 # Conflict between --help and --header
15791 as_fn_error $?
"ambiguous option: \`$1'
15792 Try \`$0 --help' for more information.";;
15793 --help |
--hel |
-h )
15794 $as_echo "$ac_cs_usage"; exit ;;
15795 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15796 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15799 # This is an error.
15800 -*) as_fn_error $?
"unrecognized option: \`$1'
15801 Try \`$0 --help' for more information." ;;
15803 *) as_fn_append ac_config_targets
" $1"
15804 ac_need_defaults
=false
;;
15810 ac_configure_extra_args
=
15812 if $ac_cs_silent; then
15814 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15819 if \$ac_cs_recheck; then
15820 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15822 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15823 CONFIG_SHELL='$SHELL'
15824 export CONFIG_SHELL
15829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15833 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15834 ## Running $as_me. ##
15840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15848 with_multisubdir="$with_multisubdir"
15849 with_multisrctop="$with_multisrctop"
15850 with_target_subdir="$with_target_subdir"
15851 ac_configure_args="${multilib_arg} ${ac_configure_args}"
15852 multi_basedir="$multi_basedir"
15853 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
15856 GFORTRAN="$GFORTRAN"
15860 # The HP-UX ksh and POSIX shell print the target directory to stdout
15861 # if CDPATH is set.
15862 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15864 sed_quote_subst='$sed_quote_subst'
15865 double_quote_subst='$double_quote_subst'
15866 delay_variable_subst='$delay_variable_subst'
15867 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15868 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15869 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15870 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15871 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15872 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15873 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15874 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15875 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15876 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15877 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15878 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15879 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15880 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15881 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15882 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15883 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15884 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15885 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15886 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15887 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15888 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15889 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15890 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15891 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15892 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15893 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15894 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15895 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15896 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15897 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15898 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15899 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15900 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15901 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15902 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15903 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15904 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15905 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15906 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15907 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15908 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15909 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15910 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15911 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15912 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15913 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15914 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15915 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"`'
15916 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15917 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15918 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15919 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15920 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15921 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15922 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15923 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15924 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15925 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15926 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15927 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15928 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15929 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15930 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15931 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15932 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15933 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15934 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15935 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15936 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15937 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15938 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15939 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15940 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15941 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15942 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15943 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15944 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15945 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15946 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15947 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15948 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15949 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15950 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15951 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15952 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15953 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15954 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15955 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15956 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15957 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15958 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15959 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15960 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15961 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15962 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15963 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15964 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15965 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15966 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15967 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15968 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15969 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15970 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15971 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15972 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15973 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15974 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15975 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15976 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15977 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15978 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15979 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15980 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15981 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15982 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15983 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15984 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15985 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15986 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15987 LD_D='`$ECHO "$LD_D" | $SED "$delay_single_quote_subst"`'
15988 reload_flag_D='`$ECHO "$reload_flag_D" | $SED "$delay_single_quote_subst"`'
15989 reload_cmds_D='`$ECHO "$reload_cmds_D" | $SED "$delay_single_quote_subst"`'
15990 old_archive_cmds_D='`$ECHO "$old_archive_cmds_D" | $SED "$delay_single_quote_subst"`'
15991 compiler_D='`$ECHO "$compiler_D" | $SED "$delay_single_quote_subst"`'
15992 GCC_D='`$ECHO "$GCC_D" | $SED "$delay_single_quote_subst"`'
15993 lt_prog_compiler_no_builtin_flag_D='`$ECHO "$lt_prog_compiler_no_builtin_flag_D" | $SED "$delay_single_quote_subst"`'
15994 lt_prog_compiler_wl_D='`$ECHO "$lt_prog_compiler_wl_D" | $SED "$delay_single_quote_subst"`'
15995 lt_prog_compiler_pic_D='`$ECHO "$lt_prog_compiler_pic_D" | $SED "$delay_single_quote_subst"`'
15996 lt_prog_compiler_static_D='`$ECHO "$lt_prog_compiler_static_D" | $SED "$delay_single_quote_subst"`'
15997 lt_cv_prog_compiler_c_o_D='`$ECHO "$lt_cv_prog_compiler_c_o_D" | $SED "$delay_single_quote_subst"`'
15998 archive_cmds_need_lc_D='`$ECHO "$archive_cmds_need_lc_D" | $SED "$delay_single_quote_subst"`'
15999 enable_shared_with_static_runtimes_D='`$ECHO "$enable_shared_with_static_runtimes_D" | $SED "$delay_single_quote_subst"`'
16000 export_dynamic_flag_spec_D='`$ECHO "$export_dynamic_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16001 whole_archive_flag_spec_D='`$ECHO "$whole_archive_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16002 compiler_needs_object_D='`$ECHO "$compiler_needs_object_D" | $SED "$delay_single_quote_subst"`'
16003 old_archive_from_new_cmds_D='`$ECHO "$old_archive_from_new_cmds_D" | $SED "$delay_single_quote_subst"`'
16004 old_archive_from_expsyms_cmds_D='`$ECHO "$old_archive_from_expsyms_cmds_D" | $SED "$delay_single_quote_subst"`'
16005 archive_cmds_D='`$ECHO "$archive_cmds_D" | $SED "$delay_single_quote_subst"`'
16006 archive_expsym_cmds_D='`$ECHO "$archive_expsym_cmds_D" | $SED "$delay_single_quote_subst"`'
16007 module_cmds_D='`$ECHO "$module_cmds_D" | $SED "$delay_single_quote_subst"`'
16008 module_expsym_cmds_D='`$ECHO "$module_expsym_cmds_D" | $SED "$delay_single_quote_subst"`'
16009 with_gnu_ld_D='`$ECHO "$with_gnu_ld_D" | $SED "$delay_single_quote_subst"`'
16010 allow_undefined_flag_D='`$ECHO "$allow_undefined_flag_D" | $SED "$delay_single_quote_subst"`'
16011 no_undefined_flag_D='`$ECHO "$no_undefined_flag_D" | $SED "$delay_single_quote_subst"`'
16012 hardcode_libdir_flag_spec_D='`$ECHO "$hardcode_libdir_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16013 hardcode_libdir_flag_spec_ld_D='`$ECHO "$hardcode_libdir_flag_spec_ld_D" | $SED "$delay_single_quote_subst"`'
16014 hardcode_libdir_separator_D='`$ECHO "$hardcode_libdir_separator_D" | $SED "$delay_single_quote_subst"`'
16015 hardcode_direct_D='`$ECHO "$hardcode_direct_D" | $SED "$delay_single_quote_subst"`'
16016 hardcode_direct_absolute_D='`$ECHO "$hardcode_direct_absolute_D" | $SED "$delay_single_quote_subst"`'
16017 hardcode_minus_L_D='`$ECHO "$hardcode_minus_L_D" | $SED "$delay_single_quote_subst"`'
16018 hardcode_shlibpath_var_D='`$ECHO "$hardcode_shlibpath_var_D" | $SED "$delay_single_quote_subst"`'
16019 hardcode_automatic_D='`$ECHO "$hardcode_automatic_D" | $SED "$delay_single_quote_subst"`'
16020 inherit_rpath_D='`$ECHO "$inherit_rpath_D" | $SED "$delay_single_quote_subst"`'
16021 link_all_deplibs_D='`$ECHO "$link_all_deplibs_D" | $SED "$delay_single_quote_subst"`'
16022 fix_srcfile_path_D='`$ECHO "$fix_srcfile_path_D" | $SED "$delay_single_quote_subst"`'
16023 always_export_symbols_D='`$ECHO "$always_export_symbols_D" | $SED "$delay_single_quote_subst"`'
16024 export_symbols_cmds_D='`$ECHO "$export_symbols_cmds_D" | $SED "$delay_single_quote_subst"`'
16025 exclude_expsyms_D='`$ECHO "$exclude_expsyms_D" | $SED "$delay_single_quote_subst"`'
16026 include_expsyms_D='`$ECHO "$include_expsyms_D" | $SED "$delay_single_quote_subst"`'
16027 prelink_cmds_D='`$ECHO "$prelink_cmds_D" | $SED "$delay_single_quote_subst"`'
16028 file_list_spec_D='`$ECHO "$file_list_spec_D" | $SED "$delay_single_quote_subst"`'
16029 hardcode_action_D='`$ECHO "$hardcode_action_D" | $SED "$delay_single_quote_subst"`'
16032 LTCFLAGS='$LTCFLAGS'
16033 compiler='$compiler_DEFAULT'
16035 # A function that is used when there is no print builtin or printf.
16036 func_fallback_echo ()
16038 eval 'cat <<_LTECHO_EOF
16043 # Quote evaled strings.
16057 deplibs_check_method \
16066 lt_cv_sys_global_symbol_pipe \
16067 lt_cv_sys_global_symbol_to_cdecl \
16068 lt_cv_sys_global_symbol_to_c_name_address \
16069 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16070 lt_prog_compiler_no_builtin_flag \
16071 lt_prog_compiler_wl \
16072 lt_prog_compiler_pic \
16073 lt_prog_compiler_static \
16074 lt_cv_prog_compiler_c_o \
16082 export_dynamic_flag_spec \
16083 whole_archive_flag_spec \
16084 compiler_needs_object \
16086 allow_undefined_flag \
16087 no_undefined_flag \
16088 hardcode_libdir_flag_spec \
16089 hardcode_libdir_flag_spec_ld \
16090 hardcode_libdir_separator \
16095 variables_saved_for_relink \
16097 library_names_spec \
16099 install_override_mode \
16106 lt_prog_compiler_no_builtin_flag_D \
16107 lt_prog_compiler_wl_D \
16108 lt_prog_compiler_pic_D \
16109 lt_prog_compiler_static_D \
16110 lt_cv_prog_compiler_c_o_D \
16111 export_dynamic_flag_spec_D \
16112 whole_archive_flag_spec_D \
16113 compiler_needs_object_D \
16115 allow_undefined_flag_D \
16116 no_undefined_flag_D \
16117 hardcode_libdir_flag_spec_D \
16118 hardcode_libdir_flag_spec_ld_D \
16119 hardcode_libdir_separator_D \
16120 fix_srcfile_path_D \
16121 exclude_expsyms_D \
16122 include_expsyms_D \
16123 file_list_spec_D; do
16124 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16125 *[\\\\\\\`\\"\\\$]*)
16126 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16129 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16134 # Double-quote double-evaled strings.
16135 for var in reload_cmds \
16136 old_postinstall_cmds \
16137 old_postuninstall_cmds \
16139 extract_expsyms_cmds \
16140 old_archive_from_new_cmds \
16141 old_archive_from_expsyms_cmds \
16143 archive_expsym_cmds \
16145 module_expsym_cmds \
16146 export_symbols_cmds \
16149 postuninstall_cmds \
16151 sys_lib_search_path_spec \
16152 sys_lib_dlsearch_path_spec \
16154 old_archive_cmds_D \
16155 old_archive_from_new_cmds_D \
16156 old_archive_from_expsyms_cmds_D \
16158 archive_expsym_cmds_D \
16160 module_expsym_cmds_D \
16161 export_symbols_cmds_D \
16163 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16164 *[\\\\\\\`\\"\\\$]*)
16165 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16168 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16173 ac_aux_dir='$ac_aux_dir'
16174 xsi_shell='$xsi_shell'
16175 lt_shell_append='$lt_shell_append'
16177 # See if we are running on zsh, and set the options which allow our
16178 # commands through without removal of \ escapes INIT.
16179 if test -n "\${ZSH_VERSION+set}" ; then
16180 setopt NO_GLOB_SUBST
16186 TIMESTAMP='$TIMESTAMP'
16197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16199 # Handling of arguments.
16200 for ac_config_target
in $ac_config_targets
16202 case $ac_config_target in
16203 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16204 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16205 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16206 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16207 "libdruntime/gcc/config.d") CONFIG_FILES
="$CONFIG_FILES libdruntime/gcc/config.d" ;;
16208 "libdruntime/gcc/libbacktrace.d") CONFIG_FILES
="$CONFIG_FILES libdruntime/gcc/libbacktrace.d" ;;
16209 "src/libgphobos.spec") CONFIG_FILES
="$CONFIG_FILES src/libgphobos.spec" ;;
16210 "testsuite/testsuite_flags") CONFIG_FILES
="$CONFIG_FILES testsuite/testsuite_flags" ;;
16211 "libdruntime/Makefile") CONFIG_FILES
="$CONFIG_FILES libdruntime/Makefile" ;;
16212 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
16213 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16215 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16220 # If the user did not use the arguments to specify the items to instantiate,
16221 # then the envvar interface is used. Set only those that are not.
16222 # We use the long form for the default assignment because of an extremely
16223 # bizarre bug on SunOS 4.1.3.
16224 if $ac_need_defaults; then
16225 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16226 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16227 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16230 # Have a temporary directory for convenience. Make it in the build tree
16231 # simply because there is no reason against having it here, and in addition,
16232 # creating and moving files from /tmp can sometimes cause problems.
16233 # Hook for its removal unless debugging.
16234 # Note that there is a small window in which the directory will not be cleaned:
16235 # after its creation but before its name has been assigned to `$tmp'.
16239 trap 'exit_status=$?
16240 : "${ac_tmp:=$tmp}"
16241 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16243 trap 'as_fn_exit 1' 1 2 13 15
16245 # Create a (secure) tmp directory for tmp files.
16248 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16252 tmp
=.
/conf$$
-$RANDOM
16253 (umask 077 && mkdir
"$tmp")
16254 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16257 # Set up the scripts for CONFIG_FILES section.
16258 # No need to generate them if there are no CONFIG_FILES.
16259 # This happens for instance with `./config.status config.h'.
16260 if test -n "$CONFIG_FILES"; then
16262 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16263 ac_cs_awk_getline
=:
16264 ac_cs_awk_pipe_init
=
16265 ac_cs_awk_read_file
='
16266 while ((getline aline < (F[key])) > 0)
16269 ac_cs_awk_pipe_fini
=
16271 ac_cs_awk_getline
=false
16272 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16273 ac_cs_awk_read_file
='
16275 print "cat " F[key] " &&"
16276 '$ac_cs_awk_pipe_init
16277 # The final `:' finishes the AND list.
16278 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16280 ac_cr
=`echo X | tr X '\015'`
16281 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16282 # But we know of no other shell where ac_cr would be empty at this
16283 # point, so we can use a bashism as a fallback.
16284 if test "x$ac_cr" = x
; then
16285 eval ac_cr
=\$
\'\\r
\'
16287 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16288 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16291 ac_cs_awk_cr
=$ac_cr
16294 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16297 # Create commands to substitute file output variables.
16299 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16300 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16301 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16304 } >conf$
$files.sh
&&
16305 . .
/conf$
$files.sh ||
16306 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16307 rm -f conf$
$files.sh
16310 echo "cat >conf$$subs.awk <<_ACEOF" &&
16311 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16313 } >conf$$subs.sh ||
16314 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16315 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16317 for ac_last_try in false false false false false :; do
16318 . ./conf$$subs.sh ||
16319 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16321 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16322 if test $ac_delim_n = $ac_delim_num; then
16324 elif $ac_last_try; then
16325 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16327 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16330 rm -f conf$$subs.sh
16332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16333 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16337 s/^/S["/; s
/!.
*/"]=/
16347 s/\(.\{148\}\)..*/\1/
16349 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16354 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16361 s/\(.\{148\}\)..*/\1/
16363 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16367 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16372 ' <conf$$subs.awk | sed '
16377 ' >>$CONFIG_STATUS || ac_write_fail=1
16378 rm -f conf$$subs.awk
16379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16381 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16382 for (key in S) S_is_set[key] = 1
16384 \$ac_cs_awk_pipe_init
16388 nfields = split(line, field, "@
")
16390 len = length(field[1])
16391 for (i = 2; i < nfields; i++) {
16393 keylen = length(key)
16394 if (S_is_set[key]) {
16396 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16397 len += length(value) + length(field[++i])
16402 if (nfields == 3 && !substed) {
16404 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16405 \$ac_cs_awk_read_file
16411 \$ac_cs_awk_pipe_fini
16414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16415 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16416 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16419 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16420 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16423 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16424 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16425 # trailing colons and then remove the whole line if VPATH becomes empty
16426 # (actually we leave an empty line to preserve line numbers).
16427 if test "x
$srcdir" = x.; then
16428 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16447 fi # test -n "$CONFIG_FILES"
16449 # Set up the scripts for CONFIG_HEADERS section.
16450 # No need to generate them if there are no CONFIG_HEADERS.
16451 # This happens for instance with `./config.status Makefile'.
16452 if test -n "$CONFIG_HEADERS"; then
16453 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16457 # Transform confdefs.h into an awk script `defines.awk', embedded as
16458 # here-document in config.status, that substitutes the proper values into
16459 # config.h.in to produce config.h.
16461 # Create a delimiter string that does not exist in confdefs.h, to ease
16462 # handling of long lines.
16464 for ac_last_try in false false :; do
16465 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16466 if test -z "$ac_tt"; then
16468 elif $ac_last_try; then
16469 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16471 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16475 # For the awk script, D is an array of macro values keyed by name,
16476 # likewise P contains macro parameters if any. Preserve backslash
16477 # newline sequences.
16479 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16481 s/.\{148\}/&'"$ac_delim"'/g
16484 s/^[ ]*#[ ]*define[ ][ ]*/ /
16491 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16493 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16497 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16498 D["\
1"]=" \
3\\\\\\n
"\\/p
16500 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16505 s/.\{148\}/&'"$ac_delim"'/g
16510 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16513 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16515 ' <confdefs.h | sed '
16516 s/'"$ac_delim"'/"\\\
16517 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16520 for (key in D) D_is_set[key] = 1
16523 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16525 split(line, arg, " ")
16526 if (arg[1] == "#") {
16530 defundef
= substr
(arg
[1], 2)
16533 split(mac1
, mac2
, "(") #)
16535 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16536 if (D_is_set
[macro
]) {
16537 # Preserve the white space surrounding the "#".
16538 print prefix
"define", macro P
[macro
] D
[macro
]
16541 # Replace #undef with comments. This is necessary, for example,
16542 # in the case of _POSIX_SOURCE, which is predefined and required
16543 # on some systems where configure will not decide to define it.
16544 if (defundef
== "undef") {
16545 print
"/*", prefix defundef
, macro
, "*/"
16553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16554 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16555 fi # test -n "$CONFIG_HEADERS"
16558 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16563 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16565 case $ac_mode$ac_tag in
16567 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16568 :[FH
]-) ac_tag
=-:-;;
16569 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16586 -) ac_f
="$ac_tmp/stdin";;
16587 *) # Look for the file first in the build tree, then in the source tree
16588 # (if the path is not absolute). The absolute path cannot be DOS-style,
16589 # because $ac_f cannot contain `:'.
16593 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16595 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16597 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16598 as_fn_append ac_file_inputs
" '$ac_f'"
16601 # Let's still pretend it is `configure' which instantiates (i.e., don't
16602 # use $as_me), people would be surprised to read:
16603 # /* config.h. Generated by config.status. */
16604 configure_input
='Generated from '`
16605 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16607 if test x
"$ac_file" != x-
; then
16608 configure_input
="$ac_file. $configure_input"
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16610 $as_echo "$as_me: creating $ac_file" >&6;}
16612 # Neutralize special characters interpreted by sed in replacement strings.
16613 case $configure_input in #(
16614 *\
&* |
*\|
* |
*\\* )
16615 ac_sed_conf_input
=`$as_echo "$configure_input" |
16616 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16617 *) ac_sed_conf_input
=$configure_input;;
16621 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16622 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16627 ac_dir
=`$as_dirname -- "$ac_file" ||
16628 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16629 X"$ac_file" : 'X\(//\)[^/]' \| \
16630 X"$ac_file" : 'X\(//\)$' \| \
16631 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16632 $as_echo X"$ac_file" |
16633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16637 /^X\(\/\/\)[^/].*/{
16650 as_dir
="$ac_dir"; as_fn_mkdir_p
16654 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16656 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16657 # A ".." for each directory in $ac_dir_suffix.
16658 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16659 case $ac_top_builddir_sub in
16660 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16661 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16664 ac_abs_top_builddir
=$ac_pwd
16665 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16666 # for backward compatibility:
16667 ac_top_builddir
=$ac_top_build_prefix
16670 .
) # We are building in place.
16672 ac_top_srcdir
=$ac_top_builddir_sub
16673 ac_abs_top_srcdir
=$ac_pwd ;;
16674 [\\/]* | ?
:[\\/]* ) # Absolute name.
16675 ac_srcdir
=$srcdir$ac_dir_suffix;
16676 ac_top_srcdir
=$srcdir
16677 ac_abs_top_srcdir
=$srcdir ;;
16678 *) # Relative name.
16679 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16680 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16681 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16683 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16693 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16694 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16696 ac_MKDIR_P
=$MKDIR_P
16698 [\\/$
]* | ?
:[\\/]* ) ;;
16699 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16704 # If the template does not know about datarootdir, expand it.
16705 # FIXME: This hack should be removed a few years after 2.60.
16706 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16717 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16718 *datarootdir
*) ac_datarootdir_seen
=yes;;
16719 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16721 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16724 ac_datarootdir_hack='
16725 s&@datadir@&$datadir&g
16726 s&@docdir@&$docdir&g
16727 s&@infodir@&$infodir&g
16728 s&@localedir@&$localedir&g
16729 s&@mandir@&$mandir&g
16730 s&\\\${datarootdir}&$datarootdir&g' ;;
16734 # Neutralize VPATH when `$srcdir' = `.'.
16735 # Shell code in configure.ac might set extrasub.
16736 # FIXME: do we really want to maintain this feature?
16737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16738 ac_sed_extra="$ac_vpsub
16741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16743 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16744 s|@configure_input@|
$ac_sed_conf_input|
;t t
16745 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16746 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16747 s
&@srcdir@
&$ac_srcdir&;t t
16748 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16749 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16750 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16751 s
&@builddir@
&$ac_builddir&;t t
16752 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16753 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16754 s
&@INSTALL@
&$ac_INSTALL&;t t
16755 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16756 $ac_datarootdir_hack
16758 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16759 if $ac_cs_awk_getline; then
16760 $AWK -f "$ac_tmp/subs.
awk"
16762 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16764 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16766 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16767 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16768 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16769 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16771 which seems to be undefined. Please make sure it is defined" >&5
16772 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16773 which seems to be undefined. Please make sure it is defined" >&2;}
16775 rm -f "$ac_tmp/stdin"
16777 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16778 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16780 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16786 if test x"$ac_file" != x-; then
16788 $as_echo "/* $configure_input */" \
16789 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16790 } >"$ac_tmp/config.h" \
16791 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16792 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16794 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16797 mv "$ac_tmp/config.h" "$ac_file" \
16798 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16801 $as_echo "/* $configure_input */" \
16802 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16803 || as_fn_error $? "could not create -" "$LINENO" 5
16805 # Compute "$ac_file"'s index
in $config_headers.
16808 for _am_header
in $config_headers :; do
16809 case $_am_header in
16810 $_am_arg |
$_am_arg:* )
16813 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16816 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16817 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16818 X"$_am_arg" : 'X\(//\)[^/]' \| \
16819 X"$_am_arg" : 'X\(//\)$' \| \
16820 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16821 $as_echo X"$_am_arg" |
16822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16826 /^X\(\/\/\)[^/].*/{
16838 s/.*/./; q'`/stamp-h
$_am_stamp_count
16841 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16842 $as_echo "$as_me: executing $ac_file commands" >&6;}
16847 case $ac_file$ac_mode in
16849 # Only add multilib support code if we just rebuilt the top-level
16851 case " $CONFIG_FILES " in
16853 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
16858 # See if we are running on zsh, and set the options which allow our
16859 # commands through without removal of \ escapes.
16860 if test -n "${ZSH_VERSION+set}" ; then
16861 setopt NO_GLOB_SUBST
16864 cfgfile
="${ofile}T"
16865 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16868 cat <<_LT_EOF >> "$cfgfile"
16871 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16872 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16873 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16874 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16876 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16877 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16878 # Written by Gordon Matzigkeit, 1996
16880 # This file is part of GNU Libtool.
16882 # GNU Libtool is free software; you can redistribute it and/or
16883 # modify it under the terms of the GNU General Public License as
16884 # published by the Free Software Foundation; either version 2 of
16885 # the License, or (at your option) any later version.
16887 # As a special exception to the GNU General Public License,
16888 # if you distribute this file as part of a program or library that
16889 # is built using GNU Libtool, you may include this file under the
16890 # same distribution terms that you use for the rest of that program.
16892 # GNU Libtool is distributed in the hope that it will be useful,
16893 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16894 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16895 # GNU General Public License for more details.
16897 # You should have received a copy of the GNU General Public License
16898 # along with GNU Libtool; see the file COPYING. If not, a copy
16899 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16900 # obtained by writing to the Free Software Foundation, Inc.,
16901 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16904 # The names of the tagged configurations supported by this script.
16905 available_tags="D "
16907 # ### BEGIN LIBTOOL CONFIG
16909 # Which release of libtool.m4 was used?
16910 macro_version=$macro_version
16911 macro_revision=$macro_revision
16913 # Whether or not to build shared libraries.
16914 build_libtool_libs=$enable_shared
16916 # Whether or not to build static libraries.
16917 build_old_libs=$enable_static
16919 # What type of objects to build.
16922 # Whether or not to optimize for fast installation.
16923 fast_install=$enable_fast_install
16925 # Shell to use when invoking shell scripts.
16928 # An echo program that protects backslashes.
16932 host_alias=$host_alias
16936 # The build system.
16937 build_alias=$build_alias
16941 # A sed program that does not truncate output.
16944 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16945 Xsed="\$SED -e 1s/^X//"
16947 # A grep program that handles long lines.
16953 # A literal string matcher.
16956 # A BSD- or MS-compatible name lister.
16959 # Whether we need soft or hard links.
16962 # What is the maximum length of a command?
16963 max_cmd_len=$max_cmd_len
16965 # Object file suffix (normally "o").
16968 # Executable file suffix (normally "").
16971 # whether the shell understands "unset".
16974 # turn spaces into newlines.
16977 # turn newlines into spaces.
16980 # An object symbol dumper.
16981 OBJDUMP=$lt_OBJDUMP
16983 # Method to check whether dependent libraries are shared objects.
16984 deplibs_check_method=$lt_deplibs_check_method
16986 # Command to use when deplibs_check_method == "file_magic".
16987 file_magic_cmd=$lt_file_magic_cmd
16991 AR_FLAGS=$lt_AR_FLAGS
16993 # A symbol stripping program.
16996 # Commands used to install an old-style archive.
16998 old_postinstall_cmds=$lt_old_postinstall_cmds
16999 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17001 # Whether to use a lock for old archive extraction.
17002 lock_old_archive_extraction=$lock_old_archive_extraction
17007 # LTCC compiler flags.
17008 LTCFLAGS=$lt_CFLAGS
17010 # Take the output of nm and produce a listing of raw symbols and C names.
17011 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17013 # Transform the output of nm in a proper C declaration.
17014 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17016 # Transform the output of nm in a C name address pair.
17017 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17019 # Transform the output of nm in a C name address pair when lib prefix is needed.
17020 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17022 # The name of the directory that contains temporary libtool files.
17025 # Used to examine libraries when file_magic_cmd begins with "file".
17026 MAGIC_CMD=$MAGIC_CMD
17028 # Must we lock files when doing compilation?
17029 need_locks=$lt_need_locks
17031 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17032 DSYMUTIL=$lt_DSYMUTIL
17034 # Tool to change global to local symbols on Mac OS X.
17037 # Tool to manipulate fat objects and archives on Mac OS X.
17040 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17043 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17044 OTOOL64=$lt_OTOOL64
17046 # Old archive suffix (normally "a").
17049 # Shared library suffix (normally ".so").
17050 shrext_cmds=$lt_shrext_cmds
17052 # The commands to extract the exported symbol list from a shared archive.
17053 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17055 # Variables whose values should be saved in libtool wrapper scripts and
17056 # restored at link time.
17057 variables_saved_for_relink=$lt_variables_saved_for_relink
17059 # Do we need the "lib" prefix for modules?
17060 need_lib_prefix=$need_lib_prefix
17062 # Do we need a version for libraries?
17063 need_version=$need_version
17065 # Library versioning type.
17066 version_type=$version_type
17068 # Shared library runtime path variable.
17069 runpath_var=$runpath_var
17071 # Shared library path variable.
17072 shlibpath_var=$shlibpath_var
17074 # Is shlibpath searched before the hard-coded library search path?
17075 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17077 # Format of library name prefix.
17078 libname_spec=$lt_libname_spec
17080 # List of archive names. First name is the real one, the rest are links.
17081 # The last name is the one that the linker finds with -lNAME
17082 library_names_spec=$lt_library_names_spec
17084 # The coded name of the library, if different from the real name.
17085 soname_spec=$lt_soname_spec
17087 # Permission mode override for installation of shared libraries.
17088 install_override_mode=$lt_install_override_mode
17090 # Command to use after installation of a shared archive.
17091 postinstall_cmds=$lt_postinstall_cmds
17093 # Command to use after uninstallation of a shared archive.
17094 postuninstall_cmds=$lt_postuninstall_cmds
17096 # Commands used to finish a libtool library installation in a directory.
17097 finish_cmds=$lt_finish_cmds
17099 # As "finish_cmds", except a single script fragment to be evaled but
17101 finish_eval=$lt_finish_eval
17103 # Whether we should hardcode library paths into libraries.
17104 hardcode_into_libs=$hardcode_into_libs
17106 # Compile-time system search path for libraries.
17107 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17109 # Run-time system search path for libraries.
17110 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17112 # Whether dlopen is supported.
17113 dlopen_support=$enable_dlopen
17115 # Whether dlopen of programs is supported.
17116 dlopen_self=$enable_dlopen_self
17118 # Whether dlopen of statically linked programs is supported.
17119 dlopen_self_static=$enable_dlopen_self_static
17121 # Commands to strip libraries.
17122 old_striplib=$lt_old_striplib
17123 striplib=$lt_striplib
17126 # The linker used to build libraries.
17129 # How to create reloadable object files.
17130 reload_flag=$lt_reload_flag
17131 reload_cmds=$lt_reload_cmds
17133 # Commands used to build an old-style archive.
17134 old_archive_cmds=$lt_old_archive_cmds
17136 # A language specific compiler.
17139 # Is the compiler the GNU compiler?
17142 # Compiler flag to turn off builtin functions.
17143 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17145 # How to pass a linker flag through the compiler.
17146 wl=$lt_lt_prog_compiler_wl
17148 # Additional compiler flags for building library objects.
17149 pic_flag=$lt_lt_prog_compiler_pic
17151 # Compiler flag to prevent dynamic linking.
17152 link_static_flag=$lt_lt_prog_compiler_static
17154 # Does compiler simultaneously support -c and -o options?
17155 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17157 # Whether or not to add -lc for building shared libraries.
17158 build_libtool_need_lc=$archive_cmds_need_lc
17160 # Whether or not to disallow shared libs when runtime libs are static.
17161 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17163 # Compiler flag to allow reflexive dlopens.
17164 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17166 # Compiler flag to generate shared objects directly from archives.
17167 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17169 # Whether the compiler copes with passing no objects directly.
17170 compiler_needs_object=$lt_compiler_needs_object
17172 # Create an old-style archive from a shared archive.
17173 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17175 # Create a temporary old-style archive to link instead of a shared archive.
17176 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17178 # Commands used to build a shared archive.
17179 archive_cmds=$lt_archive_cmds
17180 archive_expsym_cmds=$lt_archive_expsym_cmds
17182 # Commands used to build a loadable module if different from building
17183 # a shared archive.
17184 module_cmds=$lt_module_cmds
17185 module_expsym_cmds=$lt_module_expsym_cmds
17187 # Whether we are building with GNU ld or not.
17188 with_gnu_ld=$lt_with_gnu_ld
17190 # Flag that allows shared libraries with undefined symbols to be built.
17191 allow_undefined_flag=$lt_allow_undefined_flag
17193 # Flag that enforces no undefined symbols.
17194 no_undefined_flag=$lt_no_undefined_flag
17196 # Flag to hardcode \$libdir into a binary during linking.
17197 # This must work even if \$libdir does not exist
17198 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17200 # If ld is used when linking, flag to hardcode \$libdir into a binary
17201 # during linking. This must work even if \$libdir does not exist.
17202 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17204 # Whether we need a single "-rpath" flag with a separated argument.
17205 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17207 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17208 # DIR into the resulting binary.
17209 hardcode_direct=$hardcode_direct
17211 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17212 # DIR into the resulting binary and the resulting library dependency is
17213 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17214 # library is relocated.
17215 hardcode_direct_absolute=$hardcode_direct_absolute
17217 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17218 # into the resulting binary.
17219 hardcode_minus_L=$hardcode_minus_L
17221 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17222 # into the resulting binary.
17223 hardcode_shlibpath_var=$hardcode_shlibpath_var
17225 # Set to "yes" if building a shared library automatically hardcodes DIR
17226 # into the library and all subsequent libraries and executables linked
17228 hardcode_automatic=$hardcode_automatic
17230 # Set to yes if linker adds runtime paths of dependent libraries
17231 # to runtime path list.
17232 inherit_rpath=$inherit_rpath
17234 # Whether libtool must link a program against all its dependency libraries.
17235 link_all_deplibs=$link_all_deplibs
17237 # Fix the shell variable \$srcfile for the compiler.
17238 fix_srcfile_path=$lt_fix_srcfile_path
17240 # Set to "yes" if exported symbols are required.
17241 always_export_symbols=$always_export_symbols
17243 # The commands to list exported symbols.
17244 export_symbols_cmds=$lt_export_symbols_cmds
17246 # Symbols that should not be listed in the preloaded symbols.
17247 exclude_expsyms=$lt_exclude_expsyms
17249 # Symbols that must always be exported.
17250 include_expsyms=$lt_include_expsyms
17252 # Commands necessary for linking programs (against libraries) with templates.
17253 prelink_cmds=$lt_prelink_cmds
17255 # Specify filename containing input files.
17256 file_list_spec=$lt_file_list_spec
17258 # How to hardcode a shared library path into an executable.
17259 hardcode_action=$hardcode_action
17261 # ### END LIBTOOL CONFIG
17267 cat <<\_LT_EOF
>> "$cfgfile"
17268 # AIX sometimes has problems with the GCC collect2 program. For some
17269 # reason, if we set the COLLECT_NAMES environment variable, the problems
17270 # vanish in a puff of smoke.
17271 if test "X${COLLECT_NAMES+set}" != Xset
; then
17273 export COLLECT_NAMES
17280 ltmain
="$ac_aux_dir/ltmain.sh"
17283 # We use sed instead of cat because bash on DJGPP gets confused if
17284 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17285 # text mode, it properly converts lines to CR/LF. This bash problem
17286 # is reportedly fixed, but why not run on old versions too?
17287 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17288 ||
(rm -f "$cfgfile"; exit 1)
17292 cat << \_LT_EOF
>> "$cfgfile"
17294 # func_dirname file append nondir_replacement
17295 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17296 # otherwise set result to NONDIR_REPLACEMENT.
17300 */*) func_dirname_result
="${1%/*}${2}" ;;
17301 * ) func_dirname_result
="${3}" ;;
17305 # func_basename file
17308 func_basename_result
="${1##*/}"
17311 # func_dirname_and_basename file append nondir_replacement
17312 # perform func_basename and func_dirname in a single function
17314 # dirname: Compute the dirname of FILE. If nonempty,
17315 # add APPEND to the result, otherwise set result
17316 # to NONDIR_REPLACEMENT.
17317 # value returned in "$func_dirname_result"
17318 # basename: Compute filename of FILE.
17319 # value retuned in "$func_basename_result"
17320 # Implementation must be kept synchronized with func_dirname
17321 # and func_basename. For efficiency, we do not delegate to
17322 # those functions but instead duplicate the functionality here.
17323 func_dirname_and_basename
()
17326 */*) func_dirname_result
="${1%/*}${2}" ;;
17327 * ) func_dirname_result
="${3}" ;;
17329 func_basename_result
="${1##*/}"
17332 # func_stripname prefix suffix name
17333 # strip PREFIX and SUFFIX off of NAME.
17334 # PREFIX and SUFFIX must not contain globbing or regex special
17335 # characters, hashes, percent signs, but SUFFIX may contain a leading
17336 # dot (in which case that matches only a dot).
17339 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17340 # positional parameters, so assign one to ordinary parameter first.
17341 func_stripname_result
=${3}
17342 func_stripname_result
=${func_stripname_result#"${1}"}
17343 func_stripname_result
=${func_stripname_result%"${2}"}
17349 func_opt_split_opt
=${1%%=*}
17350 func_opt_split_arg
=${1#*=}
17357 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17358 *) func_lo2o_result
=${1} ;;
17362 # func_xform libobj-or-source
17365 func_xform_result
=${1%.*}.lo
17368 # func_arith arithmetic-term...
17371 func_arith_result
=$
(( $
* ))
17375 # STRING may not start with a hyphen.
17378 func_len_result
=${#1}
17383 *) # Bourne compatible functions.
17384 cat << \_LT_EOF
>> "$cfgfile"
17386 # func_dirname file append nondir_replacement
17387 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17388 # otherwise set result to NONDIR_REPLACEMENT.
17391 # Extract subdirectory from the argument.
17392 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17393 if test "X$func_dirname_result" = "X${1}"; then
17394 func_dirname_result
="${3}"
17396 func_dirname_result
="$func_dirname_result${2}"
17400 # func_basename file
17403 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17407 # func_stripname prefix suffix name
17408 # strip PREFIX and SUFFIX off of NAME.
17409 # PREFIX and SUFFIX must not contain globbing or regex special
17410 # characters, hashes, percent signs, but SUFFIX may contain a leading
17411 # dot (in which case that matches only a dot).
17412 # func_strip_suffix prefix name
17416 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17417 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17422 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17423 my_sed_long_arg
='1s/^-[^=]*=//'
17428 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17429 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17435 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17438 # func_xform libobj-or-source
17441 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17444 # func_arith arithmetic-term...
17447 func_arith_result
=`expr "$@"`
17451 # STRING may not start with a hyphen.
17454 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17460 case $lt_shell_append in
17462 cat << \_LT_EOF
>> "$cfgfile"
17464 # func_append var value
17465 # Append VALUE to the end of shell variable VAR.
17473 cat << \_LT_EOF
>> "$cfgfile"
17475 # func_append var value
17476 # Append VALUE to the end of shell variable VAR.
17487 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17488 ||
(rm -f "$cfgfile"; exit 1)
17490 mv -f "$cfgfile" "$ofile" ||
17491 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17495 cat <<_LT_EOF >> "$ofile"
17497 # ### BEGIN LIBTOOL TAG CONFIG: D
17499 # The linker used to build libraries.
17502 # How to create reloadable object files.
17503 reload_flag=$lt_reload_flag_D
17504 reload_cmds=$lt_reload_cmds_D
17506 # Commands used to build an old-style archive.
17507 old_archive_cmds=$lt_old_archive_cmds_D
17509 # A language specific compiler.
17512 # Is the compiler the GNU compiler?
17515 # Compiler flag to turn off builtin functions.
17516 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_D
17518 # How to pass a linker flag through the compiler.
17519 wl=$lt_lt_prog_compiler_wl_D
17521 # Additional compiler flags for building library objects.
17522 pic_flag=$lt_lt_prog_compiler_pic_D
17524 # Compiler flag to prevent dynamic linking.
17525 link_static_flag=$lt_lt_prog_compiler_static_D
17527 # Does compiler simultaneously support -c and -o options?
17528 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_D
17530 # Whether or not to add -lc for building shared libraries.
17531 build_libtool_need_lc=$archive_cmds_need_lc_D
17533 # Whether or not to disallow shared libs when runtime libs are static.
17534 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_D
17536 # Compiler flag to allow reflexive dlopens.
17537 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_D
17539 # Compiler flag to generate shared objects directly from archives.
17540 whole_archive_flag_spec=$lt_whole_archive_flag_spec_D
17542 # Whether the compiler copes with passing no objects directly.
17543 compiler_needs_object=$lt_compiler_needs_object_D
17545 # Create an old-style archive from a shared archive.
17546 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_D
17548 # Create a temporary old-style archive to link instead of a shared archive.
17549 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_D
17551 # Commands used to build a shared archive.
17552 archive_cmds=$lt_archive_cmds_D
17553 archive_expsym_cmds=$lt_archive_expsym_cmds_D
17555 # Commands used to build a loadable module if different from building
17556 # a shared archive.
17557 module_cmds=$lt_module_cmds_D
17558 module_expsym_cmds=$lt_module_expsym_cmds_D
17560 # Whether we are building with GNU ld or not.
17561 with_gnu_ld=$lt_with_gnu_ld_D
17563 # Flag that allows shared libraries with undefined symbols to be built.
17564 allow_undefined_flag=$lt_allow_undefined_flag_D
17566 # Flag that enforces no undefined symbols.
17567 no_undefined_flag=$lt_no_undefined_flag_D
17569 # Flag to hardcode \$libdir into a binary during linking.
17570 # This must work even if \$libdir does not exist
17571 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_D
17573 # If ld is used when linking, flag to hardcode \$libdir into a binary
17574 # during linking. This must work even if \$libdir does not exist.
17575 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_D
17577 # Whether we need a single "-rpath" flag with a separated argument.
17578 hardcode_libdir_separator=$lt_hardcode_libdir_separator_D
17580 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17581 # DIR into the resulting binary.
17582 hardcode_direct=$hardcode_direct_D
17584 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17585 # DIR into the resulting binary and the resulting library dependency is
17586 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17587 # library is relocated.
17588 hardcode_direct_absolute=$hardcode_direct_absolute_D
17590 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17591 # into the resulting binary.
17592 hardcode_minus_L=$hardcode_minus_L_D
17594 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17595 # into the resulting binary.
17596 hardcode_shlibpath_var=$hardcode_shlibpath_var_D
17598 # Set to "yes" if building a shared library automatically hardcodes DIR
17599 # into the library and all subsequent libraries and executables linked
17601 hardcode_automatic=$hardcode_automatic_D
17603 # Set to yes if linker adds runtime paths of dependent libraries
17604 # to runtime path list.
17605 inherit_rpath=$inherit_rpath_D
17607 # Whether libtool must link a program against all its dependency libraries.
17608 link_all_deplibs=$link_all_deplibs_D
17610 # Fix the shell variable \$srcfile for the compiler.
17611 fix_srcfile_path=$lt_fix_srcfile_path_D
17613 # Set to "yes" if exported symbols are required.
17614 always_export_symbols=$always_export_symbols_D
17616 # The commands to list exported symbols.
17617 export_symbols_cmds=$lt_export_symbols_cmds_D
17619 # Symbols that should not be listed in the preloaded symbols.
17620 exclude_expsyms=$lt_exclude_expsyms_D
17622 # Symbols that must always be exported.
17623 include_expsyms=$lt_include_expsyms_D
17625 # Commands necessary for linking programs (against libraries) with templates.
17626 prelink_cmds=$lt_prelink_cmds_D
17628 # Specify filename containing input files.
17629 file_list_spec=$lt_file_list_spec_D
17631 # How to hardcode a shared library path into an executable.
17632 hardcode_action=$hardcode_action_D
17634 # ### END LIBTOOL TAG CONFIG: D
17638 "testsuite/testsuite_flags":F
) chmod +x testsuite
/testsuite_flags
;;
17639 "libdruntime/Makefile":F
) cat > vpsed$$
<< \_EOF
17640 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17642 sed -f vpsed$$
$ac_file > tmp$$
17645 echo 'MULTISUBDIR =' >> $ac_file
17647 .
${multi_basedir}/config-ml.
in
17648 { ml_norecursion
=; unset ml_norecursion
;}
17650 "src/Makefile":F
) cat > vpsed$$
<< \_EOF
17651 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17653 sed -f vpsed$$
$ac_file > tmp$$
17656 echo 'MULTISUBDIR =' >> $ac_file
17658 .
${multi_basedir}/config-ml.
in
17659 { ml_norecursion
=; unset ml_norecursion
;}
17661 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
17662 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17664 sed -f vpsed$$
$ac_file > tmp$$
17667 echo 'MULTISUBDIR =' >> $ac_file
17669 .
${multi_basedir}/config-ml.
in
17670 { ml_norecursion
=; unset ml_norecursion
;}
17679 ac_clean_files
=$ac_clean_files_save
17681 test $ac_write_fail = 0 ||
17682 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17685 # configure is writing to config.log, and then calls config.status.
17686 # config.status does its own redirection, appending to config.log.
17687 # Unfortunately, on DOS this fails, as config.log is still kept open
17688 # by configure, so config.status won't be able to write to it; its
17689 # output is simply discarded. So we exec the FD to /dev/null,
17690 # effectively closing config.log, so it can be properly (re)opened and
17691 # appended to by config.status. When coming back to configure, we
17692 # need to make the FD available again.
17693 if test "$no_create" != yes; then
17695 ac_config_status_args
=
17696 test "$silent" = yes &&
17697 ac_config_status_args
="$ac_config_status_args --quiet"
17699 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17701 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17702 # would make configure fail if this is the last instruction.
17703 $ac_cs_success || as_fn_exit
1
17705 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17707 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}