2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='package-unused'
589 PACKAGE_TARNAME
='libphobos'
590 PACKAGE_VERSION
='version-unused'
591 PACKAGE_STRING
='package-unused version-unused'
595 ac_unique_file
="libdruntime/gcc/attribute.d"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
640 libphobos_toolexeclibdir
641 libphobos_toolexecdir
644 BACKTRACE_SUPPORTS_THREADS
645 BACKTRACE_USES_MALLOC
650 DCFG_HAVE_64BIT_ATOMICS
651 DCFG_HAVE_ATOMIC_BUILTINS
655 DRUNTIME_OS_MINFO_BRACKETING_FALSE
656 DRUNTIME_OS_MINFO_BRACKETING_TRUE
657 DCFG_MINFO_BRACKETING
658 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
659 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
660 DCFG_ARM_EABI_UNWINDER
662 DRUNTIME_OS_SOLARIS_FALSE
663 DRUNTIME_OS_SOLARIS_TRUE
664 DRUNTIME_OS_MINGW_FALSE
665 DRUNTIME_OS_MINGW_TRUE
666 DRUNTIME_OS_LINUX_FALSE
667 DRUNTIME_OS_LINUX_TRUE
668 DRUNTIME_OS_OPENBSD_FALSE
669 DRUNTIME_OS_OPENBSD_TRUE
670 DRUNTIME_OS_NETBSD_FALSE
671 DRUNTIME_OS_NETBSD_TRUE
672 DRUNTIME_OS_FREEBSD_FALSE
673 DRUNTIME_OS_FREEBSD_TRUE
674 DRUNTIME_OS_DRAGONFLYBSD_FALSE
675 DRUNTIME_OS_DRAGONFLYBSD_TRUE
676 DRUNTIME_OS_DARWIN_FALSE
677 DRUNTIME_OS_DARWIN_TRUE
678 DRUNTIME_OS_ANDROID_FALSE
679 DRUNTIME_OS_ANDROID_TRUE
680 DRUNTIME_OS_AIX_FALSE
682 DRUNTIME_OS_UNIX_FALSE
683 DRUNTIME_OS_UNIX_TRUE
684 DRUNTIME_GC_ENABLE_FALSE
685 DRUNTIME_GC_ENABLE_TRUE
689 ENABLE_LIBPHOBOS_FALSE
690 ENABLE_LIBPHOBOS_TRUE
691 phobos_compiler_shared_flag
692 phobos_compiler_pic_flag
712 MAINTAINER_MODE_FALSE
730 INSTALL_STRIP_PROGRAM
795 program_transform_name
806 ac_subst_files
='DRTSTUFF_SPEC'
808 enable_option_checking
811 enable_maintainer_mode
819 with_gcc_major_version_only
826 with_target_system_zlib
828 enable_version_specific_runtime_libs
830 ac_precious_vars
='build_alias
841 # Initialize some variables set by options.
843 ac_init_version
=false
844 ac_unrecognized_opts
=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
855 program_transform_name
=s
,x
,x
,
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir
='${exec_prefix}/bin'
870 sbindir
='${exec_prefix}/sbin'
871 libexecdir
='${exec_prefix}/libexec'
872 datarootdir
='${prefix}/share'
873 datadir
='${datarootdir}'
874 sysconfdir
='${prefix}/etc'
875 sharedstatedir
='${prefix}/com'
876 localstatedir
='${prefix}/var'
877 includedir
='${prefix}/include'
878 oldincludedir
='/usr/include'
879 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
880 infodir
='${datarootdir}/info'
885 libdir
='${exec_prefix}/lib'
886 localedir
='${datarootdir}/locale'
887 mandir
='${datarootdir}/man'
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\
$ac_option
901 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906 # Accept the important Cygnus configure options, so we can diagnose typos.
908 case $ac_dashdash$ac_option in
912 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
914 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
917 -build |
--build |
--buil |
--bui |
--bu)
918 ac_prev
=build_alias
;;
919 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
920 build_alias
=$ac_optarg ;;
922 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
923 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
924 ac_prev
=cache_file
;;
925 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
926 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
927 cache_file
=$ac_optarg ;;
930 cache_file
=config.cache
;;
932 -datadir |
--datadir |
--datadi |
--datad)
934 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
935 datadir
=$ac_optarg ;;
937 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
938 |
--dataroo |
--dataro |
--datar)
939 ac_prev
=datarootdir
;;
940 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
941 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
942 datarootdir
=$ac_optarg ;;
944 -disable-* |
--disable-*)
945 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
948 as_fn_error $?
"invalid feature name: $ac_useropt"
949 ac_useropt_orig
=$ac_useropt
950 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep
=', ';;
958 eval enable_
$ac_useropt=no
;;
960 -docdir |
--docdir |
--docdi |
--doc |
--do)
962 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
965 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
967 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
970 -enable-* |
--enable-*)
971 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
974 as_fn_error $?
"invalid feature name: $ac_useropt"
975 ac_useropt_orig
=$ac_useropt
976 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982 ac_unrecognized_sep
=', ';;
984 eval enable_
$ac_useropt=\
$ac_optarg ;;
986 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
987 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
988 |
--exec |
--exe |
--ex)
989 ac_prev
=exec_prefix
;;
990 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
991 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
992 |
--exec=* |
--exe=* |
--ex=*)
993 exec_prefix
=$ac_optarg ;;
995 -gas |
--gas |
--ga |
--g)
996 # Obsolete; use --with-gas.
999 -help |
--help |
--hel |
--he |
-h)
1000 ac_init_help
=long
;;
1001 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1002 ac_init_help
=recursive
;;
1003 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1004 ac_init_help
=short
;;
1006 -host |
--host |
--hos |
--ho)
1007 ac_prev
=host_alias
;;
1008 -host=* |
--host=* |
--hos=* |
--ho=*)
1009 host_alias
=$ac_optarg ;;
1011 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1013 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1015 htmldir
=$ac_optarg ;;
1017 -includedir |
--includedir |
--includedi |
--included |
--include \
1018 |
--includ |
--inclu |
--incl |
--inc)
1019 ac_prev
=includedir
;;
1020 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1021 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1022 includedir
=$ac_optarg ;;
1024 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1026 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1027 infodir
=$ac_optarg ;;
1029 -libdir |
--libdir |
--libdi |
--libd)
1031 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1032 libdir
=$ac_optarg ;;
1034 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1035 |
--libexe |
--libex |
--libe)
1036 ac_prev
=libexecdir
;;
1037 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1038 |
--libexe=* |
--libex=* |
--libe=*)
1039 libexecdir
=$ac_optarg ;;
1041 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1042 ac_prev
=localedir
;;
1043 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1044 localedir
=$ac_optarg ;;
1046 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1047 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1048 ac_prev
=localstatedir
;;
1049 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1050 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1051 localstatedir
=$ac_optarg ;;
1053 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1055 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1056 mandir
=$ac_optarg ;;
1058 -nfp |
--nfp |
--nf)
1059 # Obsolete; use --without-fp.
1062 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1063 |
--no-cr |
--no-c |
-n)
1066 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1067 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1070 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1071 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1072 |
--oldin |
--oldi |
--old |
--ol |
--o)
1073 ac_prev
=oldincludedir
;;
1074 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1075 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1076 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1077 oldincludedir
=$ac_optarg ;;
1079 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1081 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1082 prefix
=$ac_optarg ;;
1084 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1085 |
--program-pre |
--program-pr |
--program-p)
1086 ac_prev
=program_prefix
;;
1087 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1088 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1089 program_prefix
=$ac_optarg ;;
1091 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1092 |
--program-suf |
--program-su |
--program-s)
1093 ac_prev
=program_suffix
;;
1094 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1095 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1096 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1106 -program-transform-name=* |
--program-transform-name=* \
1107 |
--program-transform-nam=* |
--program-transform-na=* \
1108 |
--program-transform-n=* |
--program-transform-=* \
1109 |
--program-transform=* |
--program-transfor=* \
1110 |
--program-transfo=* |
--program-transf=* \
1111 |
--program-trans=* |
--program-tran=* \
1112 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1113 program_transform_name
=$ac_optarg ;;
1115 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1117 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1118 pdfdir
=$ac_optarg ;;
1120 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1122 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1125 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1126 |
-silent |
--silent |
--silen |
--sile |
--sil)
1129 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1131 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1133 sbindir
=$ac_optarg ;;
1135 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1136 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1137 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1139 ac_prev
=sharedstatedir
;;
1140 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1141 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1142 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1144 sharedstatedir
=$ac_optarg ;;
1146 -site |
--site |
--sit)
1148 -site=* |
--site=* |
--sit=*)
1151 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1153 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1154 srcdir
=$ac_optarg ;;
1156 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1157 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1158 ac_prev
=sysconfdir
;;
1159 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1160 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1161 sysconfdir
=$ac_optarg ;;
1163 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1164 ac_prev
=target_alias
;;
1165 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1166 target_alias
=$ac_optarg ;;
1168 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1171 -version |
--version |
--versio |
--versi |
--vers |
-V)
1172 ac_init_version
=: ;;
1175 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1178 as_fn_error $?
"invalid package name: $ac_useropt"
1179 ac_useropt_orig
=$ac_useropt
1180 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186 ac_unrecognized_sep
=', ';;
1188 eval with_
$ac_useropt=\
$ac_optarg ;;
1190 -without-* |
--without-*)
1191 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1194 as_fn_error $?
"invalid package name: $ac_useropt"
1195 ac_useropt_orig
=$ac_useropt
1196 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202 ac_unrecognized_sep
=', ';;
1204 eval with_
$ac_useropt=no
;;
1207 # Obsolete; use --with-x.
1210 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1211 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1212 ac_prev
=x_includes
;;
1213 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1214 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1215 x_includes
=$ac_optarg ;;
1217 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1218 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1219 ac_prev
=x_libraries
;;
1220 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1221 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1222 x_libraries
=$ac_optarg ;;
1224 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
1229 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1230 # Reject names that are not valid shell variable names.
1231 case $ac_envvar in #(
1232 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1233 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1235 eval $ac_envvar=\
$ac_optarg
1236 export $ac_envvar ;;
1239 # FIXME: should be removed in autoconf 3.0.
1240 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1242 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1249 if test -n "$ac_prev"; then
1250 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1251 as_fn_error $?
"missing argument to $ac_option"
1254 if test -n "$ac_unrecognized_opts"; then
1255 case $enable_option_checking in
1257 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1258 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 # Check all directory arguments for consistency.
1263 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val
=\$
$ac_var
1269 # Remove trailing slashes.
1272 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273 eval $ac_var=\
$ac_val;;
1275 # Be sure to have absolute directory names.
1277 [\\/$
]* | ?
:[\\/]* ) continue;;
1278 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1280 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1288 target
=$target_alias
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x
; then
1292 if test "x$build_alias" = x
; then
1293 cross_compiling
=maybe
1294 elif test "x$build_alias" != "x$host_alias"; then
1300 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1302 test "$silent" = yes && exec 6>/dev
/null
1305 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1306 ac_ls_di
=`ls -di .` &&
1307 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1308 as_fn_error $?
"working directory cannot be determined"
1309 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1310 as_fn_error $?
"pwd does not report name of working directory"
1313 # Find the source files, if location was not specified.
1314 if test -z "$srcdir"; then
1315 ac_srcdir_defaulted
=yes
1316 # Try the directory containing this script, then the parent directory.
1317 ac_confdir
=`$as_dirname -- "$as_myself" ||
1318 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1319 X"$as_myself" : 'X\(//\)[^/]' \| \
1320 X"$as_myself" : 'X\(//\)$' \| \
1321 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1322 $as_echo X"$as_myself" |
1323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1345 ac_srcdir_defaulted
=no
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1348 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1349 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1351 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1353 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1355 # When building in place, set srcdir=.
1356 if test "$ac_abs_confdir" = "$ac_pwd"; then
1359 # Remove unnecessary trailing slashes from srcdir.
1360 # Double slashes in file names in object file debugging info
1361 # mess up M-x gdb in Emacs.
1363 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365 for ac_var
in $ac_precious_vars; do
1366 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1367 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1368 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1369 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1373 # Report the --help message.
1375 if test "$ac_init_help" = "long"; then
1376 # Omit some internal or obsolete options to make the list less imposing.
1377 # This message is too long to be a string in the A/UX 3.1 sh.
1379 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1381 Usage: $0 [OPTION]... [VAR=VALUE]...
1383 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1384 VAR=VALUE. See below for descriptions of some of the useful variables.
1386 Defaults for the options are specified in brackets.
1389 -h, --help display this help and exit
1390 --help=short display options specific to this package
1391 --help=recursive display the short help of all the included packages
1392 -V, --version display version information and exit
1393 -q, --quiet, --silent do not print \`checking ...' messages
1394 --cache-file=FILE cache test results in FILE [disabled]
1395 -C, --config-cache alias for \`--cache-file=config.cache'
1396 -n, --no-create do not create output files
1397 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1399 Installation directories:
1400 --prefix=PREFIX install architecture-independent files in PREFIX
1401 [$ac_default_prefix]
1402 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 By default, \`make install' will install all the files in
1406 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1407 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1408 for instance \`--prefix=\$HOME'.
1410 For better control, use the options below.
1412 Fine tuning of the installation directories:
1413 --bindir=DIR user executables [EPREFIX/bin]
1414 --sbindir=DIR system admin executables [EPREFIX/sbin]
1415 --libexecdir=DIR program executables [EPREFIX/libexec]
1416 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1417 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1418 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1419 --libdir=DIR object code libraries [EPREFIX/lib]
1420 --includedir=DIR C header files [PREFIX/include]
1421 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1422 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1423 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1424 --infodir=DIR info documentation [DATAROOTDIR/info]
1425 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1426 --mandir=DIR man documentation [DATAROOTDIR/man]
1427 --docdir=DIR documentation root [DATAROOTDIR/doc/libphobos]
1428 --htmldir=DIR html documentation [DOCDIR]
1429 --dvidir=DIR dvi documentation [DOCDIR]
1430 --pdfdir=DIR pdf documentation [DOCDIR]
1431 --psdir=DIR ps documentation [DOCDIR]
1437 --program-prefix=PREFIX prepend PREFIX to installed program names
1438 --program-suffix=SUFFIX append SUFFIX to installed program names
1439 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1442 --build=BUILD configure
for building on BUILD
[guessed
]
1443 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1444 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1448 if test -n "$ac_init_help"; then
1449 case $ac_init_help in
1450 short | recursive
) echo "Configuration of package-unused version-unused:";;
1455 --disable-option-checking ignore unrecognized
--enable/--with options
1456 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1457 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1458 --enable-multilib build many library versions
(default
)
1459 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1460 --disable-silent-rules verbose build output
(undo
: "make V=0")
1461 --enable-maintainer-mode
1462 enable make rules and dependencies not useful
(and
1463 sometimes confusing
) to the casual installer
1464 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1465 --enable-static[=PKGS
] build static libraries
[default
=yes]
1466 --enable-fast-install[=PKGS
]
1467 optimize
for fast installation
[default
=yes]
1468 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1469 --enable-libphobos Enable libphobos
1470 --enable-werror turns on
-Werror [default
=no
]
1471 --enable-druntime-gc enable D runtime garbage collector
(default
: yes)
1472 --enable-unix enables Unix runtime
(default
: yes, for Unix
1474 --enable-thread-lib=<arg
>
1475 specify linker option
for the system thread library
1476 (default
: autodetect
)
1477 --enable-version-specific-runtime-libs
1478 Specify that runtime libraries should be installed
1479 in a compiler-specific directory
1482 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1483 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1484 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1486 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1487 --with-gcc-major-version-only
1488 use only GCC major number
in filesystem paths
1489 --without-libatomic Do not use libatomic
in core.atomic
(default
: auto
)
1490 --without-libbacktrace Do not use libbacktrace
in core.runtime
(default
:
1492 --with-target-system-zlib={yes,no
,auto
}
1493 use installed libz
(default
: no
)
1494 --with-cross-host=HOST configuring with a cross compiler
1496 Some influential environment variables
:
1497 CC C compiler
command
1498 CFLAGS C compiler flags
1499 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1500 nonstandard directory
<lib dir
>
1501 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1502 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1503 you have headers
in a nonstandard directory
<include dir
>
1505 CCAS assembler compiler
command (defaults to CC
)
1506 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1507 GDC D compiler
command
1508 GDCFLAGS D compiler flags
1510 Use these variables to override the choices made by
`configure' or to help
1511 it to find libraries and programs with nonstandard names/locations.
1513 Report bugs to the package provider.
1518 if test "$ac_init_help" = "recursive"; then
1519 # If there are subdirs, report their specific --help.
1520 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1521 test -d "$ac_dir" ||
1522 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1527 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1529 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1530 # A ".." for each directory in $ac_dir_suffix.
1531 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1532 case $ac_top_builddir_sub in
1533 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1537 ac_abs_top_builddir=$ac_pwd
1538 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1539 # for backward compatibility:
1540 ac_top_builddir=$ac_top_build_prefix
1543 .) # We are building in place.
1545 ac_top_srcdir=$ac_top_builddir_sub
1546 ac_abs_top_srcdir=$ac_pwd ;;
1547 [\\/]* | ?:[\\/]* ) # Absolute name.
1548 ac_srcdir=$srcdir$ac_dir_suffix;
1549 ac_top_srcdir=$srcdir
1550 ac_abs_top_srcdir=$srcdir ;;
1552 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1553 ac_top_srcdir=$ac_top_build_prefix$srcdir
1554 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1556 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1558 cd "$ac_dir" || { ac_status=$?; continue; }
1559 # Check for guested configure.
1560 if test -f "$ac_srcdir/configure.gnu"; then
1562 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1563 elif test -f "$ac_srcdir/configure"; then
1565 $SHELL "$ac_srcdir/configure" --help=recursive
1567 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1569 cd "$ac_pwd" || { ac_status=$?; break; }
1573 test -n "$ac_init_help" && exit $ac_status
1574 if $ac_init_version; then
1576 package-unused configure version-unused
1577 generated by GNU Autoconf 2.69
1579 Copyright (C) 2012 Free Software Foundation, Inc.
1580 This configure script is free software; the Free Software Foundation
1581 gives unlimited permission to copy, distribute and modify it.
1586 ## ------------------------ ##
1587 ## Autoconf initialization. ##
1588 ## ------------------------ ##
1590 # ac_fn_c_try_compile LINENO
1591 # --------------------------
1592 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1593 ac_fn_c_try_compile ()
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 rm -f conftest.$ac_objext
1597 if { { ac_try="$ac_compile"
1599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1600 *) ac_try_echo
=$ac_try;;
1602 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_compile") 2>conftest.err
1606 if test -s conftest.err
; then
1607 grep -v '^ *+' conftest.err
>conftest.er1
1608 cat conftest.er1
>&5
1609 mv -f conftest.er1 conftest.err
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; } && {
1613 test -z "$ac_c_werror_flag" ||
1614 test ! -s conftest.err
1615 } && test -s conftest.
$ac_objext; then :
1618 $as_echo "$as_me: failed program was:" >&5
1619 sed 's/^/| /' conftest.
$ac_ext >&5
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624 as_fn_set_status
$ac_retval
1626 } # ac_fn_c_try_compile
1628 # ac_fn_c_try_cpp LINENO
1629 # ----------------------
1630 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1633 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1634 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1637 *) ac_try_echo=$ac_try;;
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1643 if test -s conftest.err; then
1644 grep -v '^ *+' conftest.err >conftest.er1
1645 cat conftest.er1 >&5
1646 mv -f conftest.er1 conftest.err
1648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649 test $ac_status = 0; } > conftest.i && {
1650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1651 test ! -s conftest.err
1655 $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.$ac_ext >&5
1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661 as_fn_set_status $ac_retval
1665 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1666 # -------------------------------------------------------
1667 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1668 # the include files in INCLUDES and setting the cache variable VAR
1670 ac_fn_c_check_header_mongrel ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 if eval \${$3+:} false; then :
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if eval \${$3+:} false; then :
1677 $as_echo_n "(cached) " >&6
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1681 $as_echo "$ac_res" >&6; }
1683 # Is the header compilable?
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1685 $as_echo_n "checking $2 usability... " >&6; }
1686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1687 /* end confdefs.h. */
1691 if ac_fn_c_try_compile "$LINENO"; then :
1692 ac_header_compiler=yes
1694 ac_header_compiler=no
1696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1698 $as_echo "$ac_header_compiler" >&6; }
1700 # Is the header present?
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1702 $as_echo_n "checking $2 presence... " >&6; }
1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1704 /* end confdefs.h. */
1707 if ac_fn_c_try_cpp "$LINENO"; then :
1708 ac_header_preproc=yes
1710 ac_header_preproc=no
1712 rm -f conftest.err conftest.i conftest.$ac_ext
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1714 $as_echo "$ac_header_preproc" >&6; }
1716 # So? What about this header?
1717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1720 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1722 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1726 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1728 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1730 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1732 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1734 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738 $as_echo_n "checking for $2... " >&6; }
1739 if eval \${$3+:} false; then :
1740 $as_echo_n "(cached) " >&6
1742 eval "$3=\$ac_header_compiler"
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1746 $as_echo "$ac_res" >&6; }
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 } # ac_fn_c_check_header_mongrel
1752 # ac_fn_c_try_run LINENO
1753 # ----------------------
1754 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1755 # that executables *can* be run.
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 if { { ac_try="$ac_link"
1761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1762 *) ac_try_echo
=$ac_try;;
1764 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_link") 2>&5
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1770 { { case "(($ac_try" in
1771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_try") 2>&5
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; }; }; then :
1782 $as_echo "$as_me: program exited with status $ac_status" >&5
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1786 ac_retval=$ac_status
1788 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 as_fn_set_status $ac_retval
1794 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1795 # -------------------------------------------------------
1796 # Tests whether HEADER exists and can be compiled using the include files in
1797 # INCLUDES, setting the cache variable VAR accordingly.
1798 ac_fn_c_check_header_compile ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval \${$3+:} false; then :
1804 $as_echo_n "(cached) " >&6
1806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1811 if ac_fn_c_try_compile "$LINENO"; then :
1816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823 } # ac_fn_c_check_header_compile
1825 # ac_fn_d_try_compile LINENO
1826 # --------------------------
1827 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_d_try_compile ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext
1832 if { { ac_try="$ac_compile"
1834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1835 *) ac_try_echo
=$ac_try;;
1837 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_compile") 2>conftest.err
1841 if test -s conftest.err
; then
1842 grep -v '^ *+' conftest.err
>conftest.er1
1843 cat conftest.er1
>&5
1844 mv -f conftest.er1 conftest.err
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_d_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest.
$ac_objext; then :
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.
$ac_ext >&5
1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 as_fn_set_status
$ac_retval
1861 } # ac_fn_d_try_compile
1863 # ac_fn_c_try_link LINENO
1864 # -----------------------
1865 # Try to link conftest.$ac_ext, and return whether this succeeded.
1868 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1869 rm -f conftest.
$ac_objext conftest
$ac_exeext
1870 if { { ac_try
="$ac_link"
1872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_link") 2>conftest.err
1879 if test -s conftest.err; then
1880 grep -v '^ *+' conftest.err >conftest.er1
1881 cat conftest.er1 >&5
1882 mv -f conftest.er1 conftest.err
1884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1885 test $ac_status = 0; } && {
1886 test -z "$ac_c_werror_flag" ||
1887 test ! -s conftest.err
1888 } && test -s conftest$ac_exeext && {
1889 test "$cross_compiling" = yes ||
1890 test -x conftest$ac_exeext
1894 $as_echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.$ac_ext >&5
1899 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1900 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1901 # interfere with the next link command; also delete a directory that is
1902 # left behind by Apple's compiler. We do this before executing the actions.
1903 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1905 as_fn_set_status $ac_retval
1907 } # ac_fn_c_try_link
1909 # ac_fn_c_check_func LINENO FUNC VAR
1910 # ----------------------------------
1911 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1912 ac_fn_c_check_func ()
1914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1916 $as_echo_n "checking for $2... " >&6; }
1917 if eval \${$3+:} false; then :
1918 $as_echo_n "(cached) " >&6
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1922 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1924 #define $2 innocuous_$2
1926 /* System header to define __stub macros and hopefully few prototypes,
1927 which can conflict with char $2 (); below.
1928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1929 <limits.h> exists even on freestanding compilers. */
1932 # include <limits.h>
1934 # include <assert.h>
1939 /* Override any GCC internal prototype to avoid an error.
1940 Use char because int might match the return type of a GCC
1941 builtin and then its argument prototype would still apply. */
1946 /* The GNU C library defines this for functions which it implements
1947 to always fail with ENOSYS. Some functions are actually named
1948 something starting with __ and the normal name is an alias. */
1949 #if defined __stub_$2 || defined __stub___$2
1961 if ac_fn_c_try_link "$LINENO"; then :
1966 rm -f core conftest.err conftest.$ac_objext \
1967 conftest$ac_exeext conftest.$ac_ext
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1974 } # ac_fn_c_check_func
1976 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1977 # ----------------------------------------------------
1978 # Tries to find if the field MEMBER exists in type AGGR, after including
1979 # INCLUDES, setting cache variable VAR accordingly.
1980 ac_fn_c_check_member ()
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1984 $as_echo_n "checking for $2.$3... " >&6; }
1985 if eval \${$4+:} false; then :
1986 $as_echo_n "(cached) " >&6
1988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h. */
2001 if ac_fn_c_try_compile "$LINENO"; then :
2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2011 if (sizeof ac_aggr.$3)
2017 if ac_fn_c_try_compile "$LINENO"; then :
2022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2028 $as_echo "$ac_res" >&6; }
2029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2031 } # ac_fn_c_check_member
2033 # ac_fn_d_try_link LINENO
2034 # -----------------------
2035 # Try to link conftest.$ac_ext, and return whether this succeeded.
2038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2039 rm -f conftest.$ac_objext conftest$ac_exeext
2040 if { { ac_try="$ac_link"
2042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2043 *) ac_try_echo
=$ac_try;;
2045 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2046 $as_echo "$ac_try_echo"; } >&5
2047 (eval "$ac_link") 2>conftest.err
2049 if test -s conftest.err
; then
2050 grep -v '^ *+' conftest.err
>conftest.er1
2051 cat conftest.er1
>&5
2052 mv -f conftest.er1 conftest.err
2054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2055 test $ac_status = 0; } && {
2056 test -z "$ac_d_werror_flag" ||
2057 test ! -s conftest.err
2058 } && test -s conftest
$ac_exeext && {
2059 test "$cross_compiling" = yes ||
2060 test -x conftest
$ac_exeext
2064 $as_echo "$as_me: failed program was:" >&5
2065 sed 's/^/| /' conftest.
$ac_ext >&5
2069 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2070 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2071 # interfere with the next link command; also delete a directory that is
2072 # left behind by Apple's compiler. We do this before executing the actions.
2073 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2074 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2075 as_fn_set_status
$ac_retval
2077 } # ac_fn_d_try_link
2078 cat >config.log
<<_ACEOF
2079 This file contains any messages produced by compilers while
2080 running configure, to aid debugging if configure makes a mistake.
2082 It was created by package-unused $as_me version-unused, which was
2083 generated by GNU Autoconf 2.69. Invocation command line was
2095 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2096 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2097 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2098 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2099 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2101 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2102 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2104 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2105 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2106 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2107 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2108 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2109 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2110 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2118 test -z "$as_dir" && as_dir
=.
2119 $as_echo "PATH: $as_dir"
2135 # Keep a trace of the command line.
2136 # Strip out --no-create and --no-recursion so they do not pile up.
2137 # Strip out --silent because we don't want to record it for future runs.
2138 # Also quote any args containing shell meta-characters.
2139 # Make two passes to allow for proper duplicate-argument suppression.
2143 ac_must_keep_next
=false
2149 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2150 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2151 |
-silent |
--silent |
--silen |
--sile |
--sil)
2154 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2157 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2159 as_fn_append ac_configure_args1
" '$ac_arg'"
2160 if test $ac_must_keep_next = true
; then
2161 ac_must_keep_next
=false
# Got value, back to normal.
2164 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2165 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2166 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2167 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2168 case "$ac_configure_args0 " in
2169 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2172 -* ) ac_must_keep_next
=true
;;
2175 as_fn_append ac_configure_args
" '$ac_arg'"
2180 { ac_configure_args0
=; unset ac_configure_args0
;}
2181 { ac_configure_args1
=; unset ac_configure_args1
;}
2183 # When interrupted or exit'd, cleanup temporary files, and complete
2184 # config.log. We remove comments because anyway the quotes in there
2185 # would cause problems or look ugly.
2186 # WARNING: Use '\'' to represent an apostrophe within the trap.
2187 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2188 trap 'exit_status=$?
2189 # Save into config.log some information that might help in debugging.
2193 $as_echo "## ---------------- ##
2194 ## Cache variables. ##
2195 ## ---------------- ##"
2197 # The following way of writing the cache mishandles newlines in values,
2199 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2200 eval ac_val=\$$ac_var
2204 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2205 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2208 _ | IFS | as_nl) ;; #(
2209 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2210 *) { eval $ac_var=; unset $ac_var;} ;;
2215 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2216 *${as_nl}ac_space=\ *)
2218 "s/'\''/'\''\\\\'\'''\''/g;
2219 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2222 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2229 $as_echo "## ----------------- ##
2230 ## Output variables. ##
2231 ## ----------------- ##"
2233 for ac_var in $ac_subst_vars
2235 eval ac_val=\$$ac_var
2237 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2239 $as_echo "$ac_var='\''$ac_val'\''"
2243 if test -n "$ac_subst_files"; then
2244 $as_echo "## ------------------- ##
2245 ## File substitutions. ##
2246 ## ------------------- ##"
2248 for ac_var
in $ac_subst_files
2250 eval ac_val
=\$
$ac_var
2252 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2254 $as_echo "$ac_var='\''$ac_val'\''"
2259 if test -s confdefs.h; then
2260 $as_echo "## ----------- ##
2267 test "$ac_signal" != 0 &&
2268 $as_echo "$as_me: caught signal $ac_signal"
2269 $as_echo "$as_me: exit $exit_status"
2271 rm -f core *.core core.conftest.* &&
2272 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2275 for ac_signal
in 1 2 13 15; do
2276 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2280 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2281 rm -f -r conftest
* confdefs.h
2283 $as_echo "/* confdefs.h */" > confdefs.h
2285 # Predefined preprocessor variables.
2287 cat >>confdefs.h
<<_ACEOF
2288 #define PACKAGE_NAME "$PACKAGE_NAME"
2291 cat >>confdefs.h
<<_ACEOF
2292 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2295 cat >>confdefs.h
<<_ACEOF
2296 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2299 cat >>confdefs.h
<<_ACEOF
2300 #define PACKAGE_STRING "$PACKAGE_STRING"
2303 cat >>confdefs.h
<<_ACEOF
2304 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2307 cat >>confdefs.h
<<_ACEOF
2308 #define PACKAGE_URL "$PACKAGE_URL"
2312 # Let the site file select an alternate cache file if it wants to.
2313 # Prefer an explicitly selected file to automatically selected ones.
2316 if test -n "$CONFIG_SITE"; then
2317 # We do not want a PATH search for config.site.
2318 case $CONFIG_SITE in #((
2319 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2320 */*) ac_site_file1
=$CONFIG_SITE;;
2321 *) ac_site_file1
=.
/$CONFIG_SITE;;
2323 elif test "x$prefix" != xNONE
; then
2324 ac_site_file1
=$prefix/share
/config.site
2325 ac_site_file2
=$prefix/etc
/config.site
2327 ac_site_file1
=$ac_default_prefix/share
/config.site
2328 ac_site_file2
=$ac_default_prefix/etc
/config.site
2330 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2332 test "x$ac_site_file" = xNONE
&& continue
2333 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2335 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2336 sed 's/^/| /' "$ac_site_file" >&5
2338 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2340 as_fn_error $?
"failed to load site script $ac_site_file
2341 See \`config.log' for more details" "$LINENO" 5; }
2345 if test -r "$cache_file"; then
2346 # Some versions of bash will fail to source /dev/null (special files
2347 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2348 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2350 $as_echo "$as_me: loading cache $cache_file" >&6;}
2352 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2353 *) .
"./$cache_file";;
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2358 $as_echo "$as_me: creating cache $cache_file" >&6;}
2362 # Check that the precious variables saved in the cache have kept the same
2364 ac_cache_corrupted
=false
2365 for ac_var
in $ac_precious_vars; do
2366 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2367 eval ac_new_set
=\
$ac_env_${ac_var}_set
2368 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2369 eval ac_new_val
=\
$ac_env_${ac_var}_value
2370 case $ac_old_set,$ac_new_set in
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2373 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2374 ac_cache_corrupted
=: ;;
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2377 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2378 ac_cache_corrupted
=: ;;
2381 if test "x$ac_old_val" != "x$ac_new_val"; then
2382 # differences in whitespace do not lead to failure.
2383 ac_old_val_w
=`echo x $ac_old_val`
2384 ac_new_val_w
=`echo x $ac_new_val`
2385 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2387 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2388 ac_cache_corrupted
=:
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2391 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2392 eval $ac_var=\
$ac_old_val
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2395 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2397 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2400 # Pass precious variables to config.status.
2401 if test "$ac_new_set" = set; then
2403 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2404 *) ac_arg
=$ac_var=$ac_new_val ;;
2406 case " $ac_configure_args " in
2407 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2408 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2412 if $ac_cache_corrupted; then
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2416 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2417 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2419 ## -------------------- ##
2420 ## Main body of script. ##
2421 ## -------------------- ##
2424 ac_cpp
='$CPP $CPPFLAGS'
2425 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2426 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2427 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2434 ac_config_headers
="$ac_config_headers config.h"
2437 # Default to --enable-multilib
2438 # Check whether --enable-multilib was given.
2439 if test "${enable_multilib+set}" = set; then :
2440 enableval
=$enable_multilib; case "$enableval" in
2441 yes) multilib
=yes ;;
2443 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
2450 # We may get other options which we leave undocumented:
2451 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2452 # See config-ml.in if you want the gory details.
2454 if test "$srcdir" = "."; then
2455 if test "$with_target_subdir" != "."; then
2456 multi_basedir
="$srcdir/$with_multisrctop../.."
2458 multi_basedir
="$srcdir/$with_multisrctop.."
2461 multi_basedir
="$srcdir/.."
2465 # Even if the default multilib is not a cross compilation,
2466 # it may be that some of the other multilibs are.
2467 if test $cross_compiling = no
&& test $multilib = yes \
2468 && test "x${with_multisubdir}" != x
; then
2469 cross_compiling
=maybe
2472 ac_config_commands
="$ac_config_commands default-1"
2475 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2476 if test -f "$ac_dir/install-sh"; then
2478 ac_install_sh
="$ac_aux_dir/install-sh -c"
2480 elif test -f "$ac_dir/install.sh"; then
2482 ac_install_sh
="$ac_aux_dir/install.sh -c"
2484 elif test -f "$ac_dir/shtool"; then
2486 ac_install_sh
="$ac_aux_dir/shtool install -c"
2490 if test -z "$ac_aux_dir"; then
2491 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2494 # These three variables are undocumented and unsupported,
2495 # and are intended to be withdrawn in a future Autoconf release.
2496 # They can cause serious problems if a builder's source tree is in a directory
2497 # whose full name contains unusual characters.
2498 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2499 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2500 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2503 # Make sure we can run config.sub.
2504 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2505 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2508 $as_echo_n "checking build system type... " >&6; }
2509 if ${ac_cv_build+:} false
; then :
2510 $as_echo_n "(cached) " >&6
2512 ac_build_alias
=$build_alias
2513 test "x$ac_build_alias" = x
&&
2514 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2515 test "x$ac_build_alias" = x
&&
2516 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2517 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2518 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2522 $as_echo "$ac_cv_build" >&6; }
2523 case $ac_cv_build in
2525 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2528 ac_save_IFS
=$IFS; IFS
='-'
2534 # Remember, the first character of IFS is used to create $*,
2535 # except with old shells:
2538 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2542 $as_echo_n "checking host system type... " >&6; }
2543 if ${ac_cv_host+:} false
; then :
2544 $as_echo_n "(cached) " >&6
2546 if test "x$host_alias" = x
; then
2547 ac_cv_host
=$ac_cv_build
2549 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2550 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2555 $as_echo "$ac_cv_host" >&6; }
2558 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2561 ac_save_IFS
=$IFS; IFS
='-'
2567 # Remember, the first character of IFS is used to create $*,
2568 # except with old shells:
2571 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2575 $as_echo_n "checking target system type... " >&6; }
2576 if ${ac_cv_target+:} false
; then :
2577 $as_echo_n "(cached) " >&6
2579 if test "x$target_alias" = x
; then
2580 ac_cv_target
=$ac_cv_host
2582 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2583 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2588 $as_echo "$ac_cv_target" >&6; }
2589 case $ac_cv_target in
2591 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2593 target
=$ac_cv_target
2594 ac_save_IFS
=$IFS; IFS
='-'
2600 # Remember, the first character of IFS is used to create $*,
2601 # except with old shells:
2604 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2607 # The aliases save the names the user supplied, while $host etc.
2608 # will get canonicalized.
2609 test -n "$target_alias" &&
2610 test "$program_prefix$program_suffix$program_transform_name" = \
2612 program_prefix
=${target_alias}-
2614 # Expand $ac_aux_dir to an absolute path.
2615 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2618 ac_cpp
='$CPP $CPPFLAGS'
2619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2622 if test -n "$ac_tool_prefix"; then
2623 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2624 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2626 $as_echo_n "checking for $ac_word... " >&6; }
2627 if ${ac_cv_prog_CC+:} false
; then :
2628 $as_echo_n "(cached) " >&6
2630 if test -n "$CC"; then
2631 ac_cv_prog_CC
="$CC" # Let the user override the test.
2633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2637 test -z "$as_dir" && as_dir
=.
2638 for ac_exec_ext
in '' $ac_executable_extensions; do
2639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2640 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2651 if test -n "$CC"; then
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2653 $as_echo "$CC" >&6; }
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2656 $as_echo "no" >&6; }
2661 if test -z "$ac_cv_prog_CC"; then
2663 # Extract the first word of "gcc", so it can be a program name with args.
2664 set dummy gcc
; ac_word
=$2
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2666 $as_echo_n "checking for $ac_word... " >&6; }
2667 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2668 $as_echo_n "(cached) " >&6
2670 if test -n "$ac_ct_CC"; then
2671 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2677 test -z "$as_dir" && as_dir
=.
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2680 ac_cv_prog_ac_ct_CC
="gcc"
2681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2691 if test -n "$ac_ct_CC"; then
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2693 $as_echo "$ac_ct_CC" >&6; }
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2696 $as_echo "no" >&6; }
2699 if test "x$ac_ct_CC" = x
; then
2702 case $cross_compiling:$ac_tool_warned in
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2706 ac_tool_warned
=yes ;;
2714 if test -z "$CC"; then
2715 if test -n "$ac_tool_prefix"; then
2716 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2717 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719 $as_echo_n "checking for $ac_word... " >&6; }
2720 if ${ac_cv_prog_CC+:} false
; then :
2721 $as_echo_n "(cached) " >&6
2723 if test -n "$CC"; then
2724 ac_cv_prog_CC
="$CC" # Let the user override the test.
2726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir
=.
2731 for ac_exec_ext
in '' $ac_executable_extensions; do
2732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2733 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 if test -n "$CC"; then
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2746 $as_echo "$CC" >&6; }
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749 $as_echo "no" >&6; }
2755 if test -z "$CC"; then
2756 # Extract the first word of "cc", so it can be a program name with args.
2757 set dummy cc
; ac_word
=$2
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2759 $as_echo_n "checking for $ac_word... " >&6; }
2760 if ${ac_cv_prog_CC+:} false
; then :
2761 $as_echo_n "(cached) " >&6
2763 if test -n "$CC"; then
2764 ac_cv_prog_CC
="$CC" # Let the user override the test.
2767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir
=.
2772 for ac_exec_ext
in '' $ac_executable_extensions; do
2773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2774 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2775 ac_prog_rejected
=yes
2779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 if test $ac_prog_rejected = yes; then
2787 # We found a bogon in the path, so make sure we never use it.
2788 set dummy
$ac_cv_prog_CC
2790 if test $# != 0; then
2791 # We chose a different compiler from the bogus one.
2792 # However, it has the same basename, so the bogon will be chosen
2793 # first if we set CC to just the basename; use the full file name.
2795 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2801 if test -n "$CC"; then
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2803 $as_echo "$CC" >&6; }
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806 $as_echo "no" >&6; }
2811 if test -z "$CC"; then
2812 if test -n "$ac_tool_prefix"; then
2813 for ac_prog
in cl.exe
2815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2816 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818 $as_echo_n "checking for $ac_word... " >&6; }
2819 if ${ac_cv_prog_CC+:} false
; then :
2820 $as_echo_n "(cached) " >&6
2822 if test -n "$CC"; then
2823 ac_cv_prog_CC
="$CC" # Let the user override the test.
2825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2829 test -z "$as_dir" && as_dir
=.
2830 for ac_exec_ext
in '' $ac_executable_extensions; do
2831 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2832 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 if test -n "$CC"; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2845 $as_echo "$CC" >&6; }
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2848 $as_echo "no" >&6; }
2852 test -n "$CC" && break
2855 if test -z "$CC"; then
2857 for ac_prog
in cl.exe
2859 # Extract the first word of "$ac_prog", so it can be a program name with args.
2860 set dummy
$ac_prog; ac_word
=$2
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2862 $as_echo_n "checking for $ac_word... " >&6; }
2863 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2864 $as_echo_n "(cached) " >&6
2866 if test -n "$ac_ct_CC"; then
2867 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2873 test -z "$as_dir" && as_dir
=.
2874 for ac_exec_ext
in '' $ac_executable_extensions; do
2875 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2876 ac_cv_prog_ac_ct_CC
="$ac_prog"
2877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2886 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2887 if test -n "$ac_ct_CC"; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2889 $as_echo "$ac_ct_CC" >&6; }
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2896 test -n "$ac_ct_CC" && break
2899 if test "x$ac_ct_CC" = x
; then
2902 case $cross_compiling:$ac_tool_warned in
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2906 ac_tool_warned
=yes ;;
2915 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2917 as_fn_error $?
"no acceptable C compiler found in \$PATH
2918 See \`config.log' for more details" "$LINENO" 5; }
2920 # Provide some information about the compiler.
2921 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2924 for ac_option
in --version -v -V -qversion; do
2925 { { ac_try
="$ac_compiler $ac_option >&5"
2927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2928 *) ac_try_echo=$ac_try;;
2930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2931 $as_echo "$ac_try_echo"; } >&5
2932 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2934 if test -s conftest.err; then
2936 ... rest of stderr output deleted ...
2937 10q' conftest.err >conftest.er1
2938 cat conftest.er1 >&5
2940 rm -f conftest.er1 conftest.err
2941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2942 test $ac_status = 0; }
2945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946 /* end confdefs.h. */
2956 ac_clean_files_save=$ac_clean_files
2957 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2958 # Try to create an executable without -o first, disregard a.out.
2959 # It will help us diagnose broken compilers, and finding out an intuition
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2962 $as_echo_n "checking whether the C compiler works... " >&6; }
2963 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2965 # The possible output files:
2966 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2969 for ac_file in $ac_files
2972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2973 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2978 if { { ac_try="$ac_link_default"
2980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2981 *) ac_try_echo
=$ac_try;;
2983 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2984 $as_echo "$ac_try_echo"; } >&5
2985 (eval "$ac_link_default") 2>&5
2987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2988 test $ac_status = 0; }; then :
2989 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2990 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2991 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2992 # so that the user can short-circuit this test for compilers unknown to
2994 for ac_file
in $ac_files ''
2996 test -f "$ac_file" ||
continue
2998 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3001 # We found the default executable, but exeext='' is most
3005 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3007 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3009 # We set ac_cv_exeext here because the later test for it is not
3010 # safe: cross compilers may not add the suffix if given an `-o'
3011 # argument, so we may need to know it at that point already.
3012 # Even if this section looks crufty: it has the advantage of
3019 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3024 if test -z "$ac_file"; then :
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3026 $as_echo "no" >&6; }
3027 $as_echo "$as_me: failed program was:" >&5
3028 sed 's/^/| /' conftest.
$ac_ext >&5
3030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3032 as_fn_error
77 "C compiler cannot create executables
3033 See \`config.log' for more details" "$LINENO" 5; }
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3036 $as_echo "yes" >&6; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3039 $as_echo_n "checking for C compiler default output file name... " >&6; }
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3041 $as_echo "$ac_file" >&6; }
3042 ac_exeext
=$ac_cv_exeext
3044 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3045 ac_clean_files
=$ac_clean_files_save
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3047 $as_echo_n "checking for suffix of executables... " >&6; }
3048 if { { ac_try
="$ac_link"
3050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3054 $as_echo "$ac_try_echo"; } >&5
3055 (eval "$ac_link") 2>&5
3057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3058 test $ac_status = 0; }; then :
3059 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3060 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3061 # work properly (i.e., refer to `conftest.exe'), while it won't with
3063 for ac_file
in conftest.exe conftest conftest.
*; do
3064 test -f "$ac_file" ||
continue
3066 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3067 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3075 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3076 See \`config.log' for more details" "$LINENO" 5; }
3078 rm -f conftest conftest
$ac_cv_exeext
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3080 $as_echo "$ac_cv_exeext" >&6; }
3082 rm -f conftest.
$ac_ext
3083 EXEEXT
=$ac_cv_exeext
3085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3091 FILE *f = fopen ("conftest.out", "w");
3092 return ferror (f) || fclose (f) != 0;
3098 ac_clean_files
="$ac_clean_files conftest.out"
3099 # Check that the compiler produces executables we can run. If not, either
3100 # the compiler is broken, or we cross compile.
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3102 $as_echo_n "checking whether we are cross compiling... " >&6; }
3103 if test "$cross_compiling" != yes; then
3104 { { ac_try
="$ac_link"
3106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3107 *) ac_try_echo=$ac_try;;
3109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110 $as_echo "$ac_try_echo"; } >&5
3111 (eval "$ac_link") 2>&5
3113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3114 test $ac_status = 0; }
3115 if { ac_try='./conftest$ac_cv_exeext'
3116 { { case "(($ac_try" in
3117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3118 *) ac_try_echo
=$ac_try;;
3120 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121 $as_echo "$ac_try_echo"; } >&5
3122 (eval "$ac_try") 2>&5
3124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3125 test $ac_status = 0; }; }; then
3128 if test "$cross_compiling" = maybe
; then
3131 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3133 as_fn_error $?
"cannot run C compiled programs.
3134 If you meant to cross compile, use \`--host'.
3135 See \`config.log' for more details" "$LINENO" 5; }
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3140 $as_echo "$cross_compiling" >&6; }
3142 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3143 ac_clean_files
=$ac_clean_files_save
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3145 $as_echo_n "checking for suffix of object files... " >&6; }
3146 if ${ac_cv_objext+:} false
; then :
3147 $as_echo_n "(cached) " >&6
3149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3160 rm -f conftest.o conftest.obj
3161 if { { ac_try
="$ac_compile"
3163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3167 $as_echo "$ac_try_echo"; } >&5
3168 (eval "$ac_compile") 2>&5
3170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3171 test $ac_status = 0; }; then :
3172 for ac_file in conftest.o conftest.obj conftest.*; do
3173 test -f "$ac_file" || continue;
3175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3176 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3181 $as_echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3186 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3187 See \
`config.log' for more details" "$LINENO" 5; }
3189 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3192 $as_echo "$ac_cv_objext" >&6; }
3193 OBJEXT=$ac_cv_objext
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3196 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3197 if ${ac_cv_c_compiler_gnu+:} false; then :
3198 $as_echo_n "(cached) " >&6
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3214 if ac_fn_c_try_compile "$LINENO"; then :
3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3220 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3224 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3225 if test $ac_compiler_gnu = yes; then
3230 ac_test_CFLAGS=${CFLAGS+set}
3231 ac_save_CFLAGS=$CFLAGS
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3233 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3234 if ${ac_cv_prog_cc_g+:} false; then :
3235 $as_echo_n "(cached) " >&6
3237 ac_save_c_werror_flag=$ac_c_werror_flag
3238 ac_c_werror_flag=yes
3241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3242 /* end confdefs.h. */
3252 if ac_fn_c_try_compile "$LINENO"; then :
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3267 if ac_fn_c_try_compile "$LINENO"; then :
3270 ac_c_werror_flag=$ac_save_c_werror_flag
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3283 if ac_fn_c_try_compile "$LINENO"; then :
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3291 ac_c_werror_flag=$ac_save_c_werror_flag
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3294 $as_echo "$ac_cv_prog_cc_g" >&6; }
3295 if test "$ac_test_CFLAGS" = set; then
3296 CFLAGS=$ac_save_CFLAGS
3297 elif test $ac_cv_prog_cc_g = yes; then
3298 if test "$GCC" = yes; then
3304 if test "$GCC" = yes; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3311 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3312 if ${ac_cv_prog_cc_c89+:} false; then :
3313 $as_echo_n "(cached) " >&6
3315 ac_cv_prog_cc_c89=no
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3322 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3323 struct buf { int x; };
3324 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3325 static char *e (p, i)
3331 static char *f (char * (*g) (char **, int), char **p, ...)
3336 s = g (p, va_arg (v,int));
3341 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3342 function prototypes and stuff, but not '\xHH' hex character constants.
3343 These don't provoke an error unfortunately, instead are silently treated
3344 as 'x'. The following induces an error, until -std is added to get
3345 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3346 array size at least. It's necessary to write '\x00'==0 to get something
3347 that's true only with -std. */
3348 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3350 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3351 inside strings and character constants. */
3353 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3355 int test (int i, double x);
3356 struct s1 {int (*f) (int a);};
3357 struct s2 {int (*f) (double a);};
3358 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3364 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3369 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3370 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3372 CC="$ac_save_CC $ac_arg"
3373 if ac_fn_c_try_compile "$LINENO"; then :
3374 ac_cv_prog_cc_c89=$ac_arg
3376 rm -f core conftest.err conftest.$ac_objext
3377 test "x$ac_cv_prog_cc_c89" != "xno" && break
3379 rm -f conftest.$ac_ext
3384 case "x$ac_cv_prog_cc_c89" in
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3387 $as_echo "none needed" >&6; } ;;
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3390 $as_echo "unsupported" >&6; } ;;
3392 CC="$CC $ac_cv_prog_cc_c89"
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3394 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3396 if test "x$ac_cv_prog_cc_c89" != xno; then :
3401 ac_cpp='$CPP $CPPFLAGS'
3402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3407 ac_cpp='$CPP $CPPFLAGS'
3408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3412 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3413 if ${am_cv_prog_cc_c_o+:} false; then :
3414 $as_echo_n "(cached) " >&6
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3427 # Make sure it works both with $CC and with simple cc.
3428 # Following AC_PROG_CC_C_O, we do the test twice because some
3429 # compilers refuse to overwrite an existing .o file with -o,
3430 # though they will create one.
3431 am_cv_prog_cc_c_o=yes
3433 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3434 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); } \
3438 && test -f conftest2.$ac_objext; then
3441 am_cv_prog_cc_c_o=no
3445 rm -f core conftest*
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3449 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3450 if test "$am_cv_prog_cc_c_o" != yes; then
3451 # Losing compiler, so override with the script.
3452 # FIXME: It is wrong to rewrite CC.
3453 # But if we don't then we get into trouble of one sort or another.
3454 # A longer-term fix would be to have automake use am__CC in this case,
3455 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3456 CC="$am_aux_dir/compile $CC"
3459 ac_cpp='$CPP $CPPFLAGS'
3460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3467 ac_cpp='$CPP $CPPFLAGS'
3468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3472 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3473 # On Suns, sometimes $CPP names a directory.
3474 if test -n "$CPP" && test -d "$CPP"; then
3477 if test -z "$CPP"; then
3478 if ${ac_cv_prog_CPP+:} false; then :
3479 $as_echo_n "(cached) " >&6
3481 # Double quotes because CPP needs to be expanded
3482 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3485 for ac_c_preproc_warn_flag in '' yes
3487 # Use a header file that comes with gcc, so configuring glibc
3488 # with a fresh cross-compiler works.
3489 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3490 # <limits.h> exists even on freestanding compilers.
3491 # On the NeXT, cc -E runs the code through the compiler's parser,
3492 # not just through cpp. "Syntax error" is here to catch this case.
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3496 # include <limits.h>
3498 # include <assert.h>
3502 if ac_fn_c_try_cpp "$LINENO"; then :
3505 # Broken: fails on valid input.
3508 rm -f conftest.err conftest.i conftest.$ac_ext
3510 # OK, works on sane cases. Now check whether nonexistent headers
3511 # can be detected and how.
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3514 #include <ac_nonexistent.h>
3516 if ac_fn_c_try_cpp "$LINENO"; then :
3517 # Broken: success on invalid input.
3520 # Passes both tests.
3524 rm -f conftest.err conftest.i conftest.$ac_ext
3527 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3528 rm -f conftest.i conftest.err conftest.
$ac_ext
3529 if $ac_preproc_ok; then :
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3542 $as_echo "$CPP" >&6; }
3544 for ac_c_preproc_warn_flag
in '' yes
3546 # Use a header file that comes with gcc, so configuring glibc
3547 # with a fresh cross-compiler works.
3548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3549 # <limits.h> exists even on freestanding compilers.
3550 # On the NeXT, cc -E runs the code through the compiler's parser,
3551 # not just through cpp. "Syntax error" is here to catch this case.
3552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3555 # include <limits.h>
3557 # include <assert.h>
3561 if ac_fn_c_try_cpp
"$LINENO"; then :
3564 # Broken: fails on valid input.
3567 rm -f conftest.err conftest.i conftest.
$ac_ext
3569 # OK, works on sane cases. Now check whether nonexistent headers
3570 # can be detected and how.
3571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3572 /* end confdefs.h. */
3573 #include <ac_nonexistent.h>
3575 if ac_fn_c_try_cpp
"$LINENO"; then :
3576 # Broken: success on invalid input.
3579 # Passes both tests.
3583 rm -f conftest.err conftest.i conftest.
$ac_ext
3586 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3587 rm -f conftest.i conftest.err conftest.
$ac_ext
3588 if $ac_preproc_ok; then :
3591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3593 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3594 See \`config.log' for more details" "$LINENO" 5; }
3598 ac_cpp
='$CPP $CPPFLAGS'
3599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3605 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3606 if ${ac_cv_path_GREP+:} false
; then :
3607 $as_echo_n "(cached) " >&6
3609 if test -z "$GREP"; then
3610 ac_path_GREP_found
=false
3611 # Loop through the user's path and test for each of PROGNAME-LIST
3612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3613 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3616 test -z "$as_dir" && as_dir
=.
3617 for ac_prog
in grep ggrep
; do
3618 for ac_exec_ext
in '' $ac_executable_extensions; do
3619 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3620 as_fn_executable_p
"$ac_path_GREP" ||
continue
3621 # Check for GNU ac_path_GREP and select it if it is found.
3622 # Check for GNU $ac_path_GREP
3623 case `"$ac_path_GREP" --version 2>&1` in
3625 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3628 $as_echo_n 0123456789 >"conftest.in"
3631 cat "conftest.in" "conftest.in" >"conftest.tmp"
3632 mv "conftest.tmp" "conftest.in"
3633 cp "conftest.in" "conftest.nl"
3634 $as_echo 'GREP' >> "conftest.nl"
3635 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3636 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3637 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3638 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3639 # Best one so far, save it but keep looking for a better one
3640 ac_cv_path_GREP
="$ac_path_GREP"
3641 ac_path_GREP_max
=$ac_count
3643 # 10*(2^10) chars as input seems more than enough
3644 test $ac_count -gt 10 && break
3646 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3649 $ac_path_GREP_found && break 3
3654 if test -z "$ac_cv_path_GREP"; then
3655 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3658 ac_cv_path_GREP
=$GREP
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3663 $as_echo "$ac_cv_path_GREP" >&6; }
3664 GREP
="$ac_cv_path_GREP"
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3668 $as_echo_n "checking for egrep... " >&6; }
3669 if ${ac_cv_path_EGREP+:} false
; then :
3670 $as_echo_n "(cached) " >&6
3672 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3673 then ac_cv_path_EGREP
="$GREP -E"
3675 if test -z "$EGREP"; then
3676 ac_path_EGREP_found
=false
3677 # Loop through the user's path and test for each of PROGNAME-LIST
3678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3679 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3682 test -z "$as_dir" && as_dir
=.
3683 for ac_prog
in egrep; do
3684 for ac_exec_ext
in '' $ac_executable_extensions; do
3685 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3686 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3687 # Check for GNU ac_path_EGREP and select it if it is found.
3688 # Check for GNU $ac_path_EGREP
3689 case `"$ac_path_EGREP" --version 2>&1` in
3691 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3694 $as_echo_n 0123456789 >"conftest.in"
3697 cat "conftest.in" "conftest.in" >"conftest.tmp"
3698 mv "conftest.tmp" "conftest.in"
3699 cp "conftest.in" "conftest.nl"
3700 $as_echo 'EGREP' >> "conftest.nl"
3701 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3702 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3703 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3704 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3705 # Best one so far, save it but keep looking for a better one
3706 ac_cv_path_EGREP
="$ac_path_EGREP"
3707 ac_path_EGREP_max
=$ac_count
3709 # 10*(2^10) chars as input seems more than enough
3710 test $ac_count -gt 10 && break
3712 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3715 $ac_path_EGREP_found && break 3
3720 if test -z "$ac_cv_path_EGREP"; then
3721 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3724 ac_cv_path_EGREP
=$EGREP
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3730 $as_echo "$ac_cv_path_EGREP" >&6; }
3731 EGREP
="$ac_cv_path_EGREP"
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3735 $as_echo_n "checking for ANSI C header files... " >&6; }
3736 if ${ac_cv_header_stdc+:} false
; then :
3737 $as_echo_n "(cached) " >&6
3739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3740 /* end confdefs.h. */
3754 if ac_fn_c_try_compile
"$LINENO"; then :
3755 ac_cv_header_stdc
=yes
3757 ac_cv_header_stdc
=no
3759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3761 if test $ac_cv_header_stdc = yes; then
3762 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h. */
3768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3769 $EGREP "memchr" >/dev
/null
2>&1; then :
3772 ac_cv_header_stdc
=no
3778 if test $ac_cv_header_stdc = yes; then
3779 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3781 /* end confdefs.h. */
3785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3786 $EGREP "free" >/dev
/null
2>&1; then :
3789 ac_cv_header_stdc
=no
3795 if test $ac_cv_header_stdc = yes; then
3796 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3797 if test "$cross_compiling" = yes; then :
3800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3801 /* end confdefs.h. */
3804 #if ((' ' & 0x0FF) == 0x020)
3805 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3806 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3808 # define ISLOWER(c) \
3809 (('a' <= (c) && (c) <= 'i') \
3810 || ('j' <= (c) && (c) <= 'r') \
3811 || ('s' <= (c) && (c) <= 'z'))
3812 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3815 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3820 for (i = 0; i < 256; i++)
3821 if (XOR (islower (i), ISLOWER (i))
3822 || toupper (i) != TOUPPER (i))
3827 if ac_fn_c_try_run
"$LINENO"; then :
3830 ac_cv_header_stdc
=no
3832 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3833 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3839 $as_echo "$ac_cv_header_stdc" >&6; }
3840 if test $ac_cv_header_stdc = yes; then
3842 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3846 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3847 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3848 inttypes.h stdint.h unistd.h
3850 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3851 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3853 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3854 cat >>confdefs.h
<<_ACEOF
3855 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3864 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3865 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
3872 if test "$MINIX" = yes; then
3874 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3877 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3880 $as_echo "#define _MINIX 1" >>confdefs.h
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3886 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3887 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
3888 $as_echo_n "(cached) " >&6
3890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3893 # define __EXTENSIONS__ 1
3894 $ac_includes_default
3903 if ac_fn_c_try_compile
"$LINENO"; then :
3904 ac_cv_safe_to_define___extensions__
=yes
3906 ac_cv_safe_to_define___extensions__
=no
3908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3911 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3912 test $ac_cv_safe_to_define___extensions__ = yes &&
3913 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3915 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3917 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3919 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3921 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3925 target_alias
=${target_alias-$target}
3928 # 1.11.1: Require that version of automake.
3929 # foreign: Don't require README, INSTALL, NEWS, etc.
3930 # no-define: Don't define PACKAGE and VERSION.
3931 # no-dependencies: Don't generate automatic dependencies.
3932 # (because it breaks when using bootstrap-lean, since some of the
3933 # headers are gone at "make install" time).
3934 # subdir-objects: Build objects in sub-directories.
3935 # -Wall: Issue all automake warnings.
3936 # -Wno-portability: Don't warn about constructs supported by GNU make.
3937 # (because GCC requires GNU make anyhow).
3938 # -Wno-override: Overrides used in testsuite.
3939 am__api_version
='1.15'
3941 # Find a good install program. We prefer a C program (faster),
3942 # so one script is as good as another. But avoid the broken or
3943 # incompatible versions:
3944 # SysV /etc/install, /usr/sbin/install
3945 # SunOS /usr/etc/install
3946 # IRIX /sbin/install
3948 # AmigaOS /C/install, which installs bootblocks on floppy discs
3949 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3950 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3951 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3952 # OS/2's system install, which has a completely different semantic
3953 # ./install, which can be erroneously created by make from ./install.sh.
3954 # Reject install programs that cannot install multiple files.
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3956 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3957 if test -z "$INSTALL"; then
3958 if ${ac_cv_path_install+:} false
; then :
3959 $as_echo_n "(cached) " >&6
3961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3965 test -z "$as_dir" && as_dir
=.
3966 # Account for people who put trailing slashes in PATH elements.
3967 case $as_dir/ in #((
3968 .
/ | .
// |
/[cC
]/* | \
3969 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3970 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3973 # OSF1 and SCO ODT 3.0 have their own names for install.
3974 # Don't use installbsd from OSF since it installs stuff as root
3976 for ac_prog
in ginstall scoinst
install; do
3977 for ac_exec_ext
in '' $ac_executable_extensions; do
3978 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3979 if test $ac_prog = install &&
3980 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3981 # AIX install. It has an incompatible calling convention.
3983 elif test $ac_prog = install &&
3984 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3985 # program-specific install script used by HP pwplus--don't use.
3988 rm -rf conftest.one conftest.two conftest.dir
3989 echo one
> conftest.one
3990 echo two
> conftest.two
3992 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3993 test -s conftest.one
&& test -s conftest.two
&&
3994 test -s conftest.dir
/conftest.one
&&
3995 test -s conftest.dir
/conftest.two
3997 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4010 rm -rf conftest.one conftest.two conftest.dir
4013 if test "${ac_cv_path_install+set}" = set; then
4014 INSTALL
=$ac_cv_path_install
4016 # As a last resort, use the slow shell script. Don't cache a
4017 # value for INSTALL within a source directory, because that will
4018 # break other packages using the cache if that directory is
4019 # removed, or if the value is a relative name.
4020 INSTALL
=$ac_install_sh
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4024 $as_echo "$INSTALL" >&6; }
4026 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4027 # It thinks the first close brace ends the variable substitution.
4028 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4030 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4032 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4035 $as_echo_n "checking whether build environment is sane... " >&6; }
4036 # Reject unsafe characters in $srcdir or the absolute working directory
4037 # name. Accept space and tab only in the latter.
4041 *[\\\"\
#\$\&\'\`$am_lf]*)
4042 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4045 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4046 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4049 # Do 'set' in a subshell so we don't clobber the current shell's
4050 # arguments. Must try -L first in case configure is actually a
4051 # symlink; some systems play weird games with the mod time of symlinks
4052 # (eg FreeBSD returns the mod time of the symlink's containing
4056 for am_try
in 1 2; do
4057 echo "timestamp, slept: $am_has_slept" > conftest.
file
4058 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4059 if test "$*" = "X"; then
4061 set X
`ls -t "$srcdir/configure" conftest.file`
4063 if test "$*" != "X $srcdir/configure conftest.file" \
4064 && test "$*" != "X conftest.file $srcdir/configure"; then
4066 # If neither matched, then we have a broken ls. This can happen
4067 # if, for instance, CONFIG_SHELL is bash and it inherits a
4068 # broken ls alias from the environment. This has actually
4069 # happened. Such a system could not be considered "sane".
4070 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4071 alias in your environment" "$LINENO" 5
4073 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4080 test "$2" = conftest.
file
4086 as_fn_error $?
"newly created file is older than distributed files!
4087 Check your system clock" "$LINENO" 5
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4090 $as_echo "yes" >&6; }
4091 # If we didn't sleep, we still need to ensure time stamps of config.status and
4092 # generated files are strictly newer.
4094 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4101 test "$program_prefix" != NONE
&&
4102 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4103 # Use a double $ so make ignores it.
4104 test "$program_suffix" != NONE
&&
4105 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4106 # Double any \ or $.
4107 # By default was `s,x,x', remove it if useless.
4108 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4109 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4111 if test x
"${MISSING+set}" != xset
; then
4114 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4116 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4119 # Use eval to expand $SHELL
4120 if eval "$MISSING --is-lightweight"; then
4121 am_missing_run
="$MISSING "
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4125 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4128 if test x
"${install_sh+set}" != xset
; then
4131 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4133 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4137 # Installed binaries are usually stripped using 'strip' when the user
4138 # run "make install-strip". However 'strip' might not be the right
4139 # tool to use in cross-compilation environments, therefore Automake
4140 # will honor the 'STRIP' environment variable to overrule this program.
4141 if test "$cross_compiling" != no
; then
4142 if test -n "$ac_tool_prefix"; then
4143 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4144 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4146 $as_echo_n "checking for $ac_word... " >&6; }
4147 if ${ac_cv_prog_STRIP+:} false
; then :
4148 $as_echo_n "(cached) " >&6
4150 if test -n "$STRIP"; then
4151 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4157 test -z "$as_dir" && as_dir
=.
4158 for ac_exec_ext
in '' $ac_executable_extensions; do
4159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4160 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4170 STRIP
=$ac_cv_prog_STRIP
4171 if test -n "$STRIP"; then
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4173 $as_echo "$STRIP" >&6; }
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4176 $as_echo "no" >&6; }
4181 if test -z "$ac_cv_prog_STRIP"; then
4183 # Extract the first word of "strip", so it can be a program name with args.
4184 set dummy strip
; ac_word
=$2
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4186 $as_echo_n "checking for $ac_word... " >&6; }
4187 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
4188 $as_echo_n "(cached) " >&6
4190 if test -n "$ac_ct_STRIP"; then
4191 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4197 test -z "$as_dir" && as_dir
=.
4198 for ac_exec_ext
in '' $ac_executable_extensions; do
4199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4200 ac_cv_prog_ac_ct_STRIP
="strip"
4201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4210 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4211 if test -n "$ac_ct_STRIP"; then
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4213 $as_echo "$ac_ct_STRIP" >&6; }
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216 $as_echo "no" >&6; }
4219 if test "x$ac_ct_STRIP" = x
; then
4222 case $cross_compiling:$ac_tool_warned in
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4226 ac_tool_warned
=yes ;;
4231 STRIP
="$ac_cv_prog_STRIP"
4235 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4238 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4239 if test -z "$MKDIR_P"; then
4240 if ${ac_cv_path_mkdir+:} false
; then :
4241 $as_echo_n "(cached) " >&6
4243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4244 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4247 test -z "$as_dir" && as_dir
=.
4248 for ac_prog
in mkdir gmkdir
; do
4249 for ac_exec_ext
in '' $ac_executable_extensions; do
4250 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
4251 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4252 'mkdir (GNU coreutils) '* | \
4253 'mkdir (coreutils) '* | \
4254 'mkdir (fileutils) '4.1*)
4255 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4265 test -d .
/--version && rmdir .
/--version
4266 if test "${ac_cv_path_mkdir+set}" = set; then
4267 MKDIR_P
="$ac_cv_path_mkdir -p"
4269 # As a last resort, use the slow shell script. Don't cache a
4270 # value for MKDIR_P within a source directory, because that will
4271 # break other packages using the cache if that directory is
4272 # removed, or if the value is a relative name.
4273 MKDIR_P
="$ac_install_sh -d"
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4277 $as_echo "$MKDIR_P" >&6; }
4279 for ac_prog
in gawk mawk nawk
awk
4281 # Extract the first word of "$ac_prog", so it can be a program name with args.
4282 set dummy
$ac_prog; ac_word
=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_prog_AWK+:} false
; then :
4286 $as_echo_n "(cached) " >&6
4288 if test -n "$AWK"; then
4289 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir
=.
4296 for ac_exec_ext
in '' $ac_executable_extensions; do
4297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_AWK
="$ac_prog"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 if test -n "$AWK"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4311 $as_echo "$AWK" >&6; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4318 test -n "$AWK" && break
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4322 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4324 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4325 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4326 $as_echo_n "(cached) " >&6
4328 cat >conftest.
make <<\_ACEOF
4331 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4333 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4334 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4336 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4338 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4342 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4344 $as_echo "yes" >&6; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4349 SET_MAKE
="MAKE=${MAKE-make}"
4352 rm -rf .tst
2>/dev
/null
4353 mkdir .tst
2>/dev
/null
4354 if test -d .tst
; then
4359 rmdir .tst
2>/dev
/null
4361 # Check whether --enable-silent-rules was given.
4362 if test "${enable_silent_rules+set}" = set; then :
4363 enableval
=$enable_silent_rules;
4366 case $enable_silent_rules in # (((
4367 yes) AM_DEFAULT_VERBOSITY
=0;;
4368 no
) AM_DEFAULT_VERBOSITY
=1;;
4369 *) AM_DEFAULT_VERBOSITY
=1;;
4371 am_make
=${MAKE-make}
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4373 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4374 if ${am_cv_make_support_nested_variables+:} false
; then :
4375 $as_echo_n "(cached) " >&6
4377 if $as_echo 'TRUE=$(BAR$(V))
4383 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4384 am_cv_make_support_nested_variables
=yes
4386 am_cv_make_support_nested_variables
=no
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4390 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4391 if test $am_cv_make_support_nested_variables = yes; then
4393 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4395 AM_V
=$AM_DEFAULT_VERBOSITY
4396 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4400 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4401 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4402 # is not polluted with repeated "-I."
4403 am__isrc
=' -I$(srcdir)'
4404 # test to see if srcdir already configured
4405 if test -f $srcdir/config.status
; then
4406 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4410 # test whether we have cygpath
4411 if test -z "$CYGPATH_W"; then
4412 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4413 CYGPATH_W
='cygpath -w'
4420 # Define the identity of the package.
4422 VERSION
='version-unused'
4425 # Some tools Automake needs.
4427 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4430 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4433 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4436 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4439 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4441 # For better backward compatibility. To be removed once Automake 1.9.x
4442 # dies out for good. For more background, see:
4443 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4444 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4445 mkdir_p
='$(MKDIR_P)'
4447 # We need awk for the "check" target (and possibly the TAP driver). The
4448 # system "awk" is bad on some platforms.
4449 # Always define AMTAR for backward compatibility. Yes, it's still used
4450 # in the wild :-( We should find a proper way to deprecate it ...
4454 # We'll loop over all known methods to create a tar archive until one works.
4455 _am_tools
='gnutar pax cpio none'
4457 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4464 # POSIX will say in a future version that running "rm -f" with no argument
4465 # is OK; and we want to be able to make that assumption in our Makefile
4466 # recipes. So use an aggressive probe to check that the usage we want is
4467 # actually supported "in the wild" to an acceptable degree.
4468 # See automake bug#10828.
4469 # To make any issue more visible, cause the running configure to be aborted
4470 # by default if the 'rm' program in use doesn't match our expectations; the
4471 # user can still override this though.
4472 if rm -f && rm -fr && rm -rf; then : OK
; else
4476 Your 'rm' program seems unable to run without file operands specified
4477 on the command line, even when the '-f' option is present. This is contrary
4478 to the behaviour of most rm programs out there, and not conforming with
4479 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4481 Please tell bug-automake@gnu.org about your system, including the value
4482 of your $PATH and any error possibly output before this message. This
4483 can help us improve future automake versions.
4486 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4487 echo 'Configuration will proceed anyway, since you have set the' >&2
4488 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4492 Aborting the configuration process, to ensure you take notice of the issue.
4494 You can download and install GNU coreutils to get an 'rm' implementation
4495 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4497 If you want to complete the configuration process using your problematic
4498 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4499 to "yes", and re-run configure.
4502 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4509 # By default we simply use the C compiler to build assembly code.
4511 test "${CCAS+set}" = set || CCAS
=$CC
4512 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4517 ac_cpp
='$CPP $CPPFLAGS'
4518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4521 if test -n "$ac_tool_prefix"; then
4522 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4523 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if ${ac_cv_prog_CC+:} false
; then :
4527 $as_echo_n "(cached) " >&6
4529 if test -n "$CC"; then
4530 ac_cv_prog_CC
="$CC" # Let the user override the test.
4532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4536 test -z "$as_dir" && as_dir
=.
4537 for ac_exec_ext
in '' $ac_executable_extensions; do
4538 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4539 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4550 if test -n "$CC"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4552 $as_echo "$CC" >&6; }
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4560 if test -z "$ac_cv_prog_CC"; then
4562 # Extract the first word of "gcc", so it can be a program name with args.
4563 set dummy gcc
; ac_word
=$2
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4565 $as_echo_n "checking for $ac_word... " >&6; }
4566 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4567 $as_echo_n "(cached) " >&6
4569 if test -n "$ac_ct_CC"; then
4570 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4576 test -z "$as_dir" && as_dir
=.
4577 for ac_exec_ext
in '' $ac_executable_extensions; do
4578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4579 ac_cv_prog_ac_ct_CC
="gcc"
4580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4590 if test -n "$ac_ct_CC"; then
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4592 $as_echo "$ac_ct_CC" >&6; }
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4595 $as_echo "no" >&6; }
4598 if test "x$ac_ct_CC" = x
; then
4601 case $cross_compiling:$ac_tool_warned in
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4605 ac_tool_warned
=yes ;;
4613 if test -z "$CC"; then
4614 if test -n "$ac_tool_prefix"; then
4615 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4616 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4618 $as_echo_n "checking for $ac_word... " >&6; }
4619 if ${ac_cv_prog_CC+:} false
; then :
4620 $as_echo_n "(cached) " >&6
4622 if test -n "$CC"; then
4623 ac_cv_prog_CC
="$CC" # Let the user override the test.
4625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4629 test -z "$as_dir" && as_dir
=.
4630 for ac_exec_ext
in '' $ac_executable_extensions; do
4631 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4632 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4643 if test -n "$CC"; then
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4645 $as_echo "$CC" >&6; }
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648 $as_echo "no" >&6; }
4654 if test -z "$CC"; then
4655 # Extract the first word of "cc", so it can be a program name with args.
4656 set dummy cc
; ac_word
=$2
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4658 $as_echo_n "checking for $ac_word... " >&6; }
4659 if ${ac_cv_prog_CC+:} false
; then :
4660 $as_echo_n "(cached) " >&6
4662 if test -n "$CC"; then
4663 ac_cv_prog_CC
="$CC" # Let the user override the test.
4666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir
=.
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4673 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4674 ac_prog_rejected
=yes
4678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4685 if test $ac_prog_rejected = yes; then
4686 # We found a bogon in the path, so make sure we never use it.
4687 set dummy
$ac_cv_prog_CC
4689 if test $# != 0; then
4690 # We chose a different compiler from the bogus one.
4691 # However, it has the same basename, so the bogon will be chosen
4692 # first if we set CC to just the basename; use the full file name.
4694 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4700 if test -n "$CC"; then
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4702 $as_echo "$CC" >&6; }
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4705 $as_echo "no" >&6; }
4710 if test -z "$CC"; then
4711 if test -n "$ac_tool_prefix"; then
4712 for ac_prog
in cl.exe
4714 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4715 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4717 $as_echo_n "checking for $ac_word... " >&6; }
4718 if ${ac_cv_prog_CC+:} false
; then :
4719 $as_echo_n "(cached) " >&6
4721 if test -n "$CC"; then
4722 ac_cv_prog_CC
="$CC" # Let the user override the test.
4724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4728 test -z "$as_dir" && as_dir
=.
4729 for ac_exec_ext
in '' $ac_executable_extensions; do
4730 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4731 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4742 if test -n "$CC"; then
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4744 $as_echo "$CC" >&6; }
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 $as_echo "no" >&6; }
4751 test -n "$CC" && break
4754 if test -z "$CC"; then
4756 for ac_prog
in cl.exe
4758 # Extract the first word of "$ac_prog", so it can be a program name with args.
4759 set dummy
$ac_prog; ac_word
=$2
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4761 $as_echo_n "checking for $ac_word... " >&6; }
4762 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4763 $as_echo_n "(cached) " >&6
4765 if test -n "$ac_ct_CC"; then
4766 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4772 test -z "$as_dir" && as_dir
=.
4773 for ac_exec_ext
in '' $ac_executable_extensions; do
4774 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4775 ac_cv_prog_ac_ct_CC
="$ac_prog"
4776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4786 if test -n "$ac_ct_CC"; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4788 $as_echo "$ac_ct_CC" >&6; }
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791 $as_echo "no" >&6; }
4795 test -n "$ac_ct_CC" && break
4798 if test "x$ac_ct_CC" = x
; then
4801 case $cross_compiling:$ac_tool_warned in
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4805 ac_tool_warned
=yes ;;
4814 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4816 as_fn_error $?
"no acceptable C compiler found in \$PATH
4817 See \`config.log' for more details" "$LINENO" 5; }
4819 # Provide some information about the compiler.
4820 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4823 for ac_option
in --version -v -V -qversion; do
4824 { { ac_try
="$ac_compiler $ac_option >&5"
4826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4827 *) ac_try_echo=$ac_try;;
4829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4830 $as_echo "$ac_try_echo"; } >&5
4831 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4833 if test -s conftest.err; then
4835 ... rest of stderr output deleted ...
4836 10q' conftest.err >conftest.er1
4837 cat conftest.er1 >&5
4839 rm -f conftest.er1 conftest.err
4840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4841 test $ac_status = 0; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4845 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4846 if ${ac_cv_c_compiler_gnu+:} false; then :
4847 $as_echo_n "(cached) " >&6
4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h. */
4863 if ac_fn_c_try_compile "$LINENO"; then :
4868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4873 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4874 if test $ac_compiler_gnu = yes; then
4879 ac_test_CFLAGS=${CFLAGS+set}
4880 ac_save_CFLAGS=$CFLAGS
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4882 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4883 if ${ac_cv_prog_cc_g+:} false; then :
4884 $as_echo_n "(cached) " >&6
4886 ac_save_c_werror_flag=$ac_c_werror_flag
4887 ac_c_werror_flag=yes
4890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4891 /* end confdefs.h. */
4901 if ac_fn_c_try_compile "$LINENO"; then :
4905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4916 if ac_fn_c_try_compile "$LINENO"; then :
4919 ac_c_werror_flag=$ac_save_c_werror_flag
4921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4922 /* end confdefs.h. */
4932 if ac_fn_c_try_compile "$LINENO"; then :
4935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4940 ac_c_werror_flag=$ac_save_c_werror_flag
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4943 $as_echo "$ac_cv_prog_cc_g" >&6; }
4944 if test "$ac_test_CFLAGS" = set; then
4945 CFLAGS=$ac_save_CFLAGS
4946 elif test $ac_cv_prog_cc_g = yes; then
4947 if test "$GCC" = yes; then
4953 if test "$GCC" = yes; then
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4960 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4961 if ${ac_cv_prog_cc_c89+:} false; then :
4962 $as_echo_n "(cached) " >&6
4964 ac_cv_prog_cc_c89=no
4966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4967 /* end confdefs.h. */
4971 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4972 struct buf { int x; };
4973 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4974 static char *e (p, i)
4980 static char *f (char * (*g) (char **, int), char **p, ...)
4985 s = g (p, va_arg (v,int));
4990 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4991 function prototypes and stuff, but not '\xHH' hex character constants.
4992 These don't provoke an error unfortunately, instead are silently treated
4993 as 'x'. The following induces an error, until -std is added to get
4994 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4995 array size at least. It's necessary to write '\x00'==0 to get something
4996 that's true only with -std. */
4997 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4999 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5000 inside strings and character constants. */
5002 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5004 int test (int i, double x);
5005 struct s1 {int (*f) (int a);};
5006 struct s2 {int (*f) (double a);};
5007 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5013 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5018 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5019 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5021 CC="$ac_save_CC $ac_arg"
5022 if ac_fn_c_try_compile "$LINENO"; then :
5023 ac_cv_prog_cc_c89=$ac_arg
5025 rm -f core conftest.err conftest.$ac_objext
5026 test "x$ac_cv_prog_cc_c89" != "xno" && break
5028 rm -f conftest.$ac_ext
5033 case "x$ac_cv_prog_cc_c89" in
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5036 $as_echo "none needed" >&6; } ;;
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5039 $as_echo "unsupported" >&6; } ;;
5041 CC="$CC $ac_cv_prog_cc_c89"
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5043 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5045 if test "x$ac_cv_prog_cc_c89" != xno; then :
5050 ac_cpp='$CPP $CPPFLAGS'
5051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5056 ac_cpp='$CPP $CPPFLAGS'
5057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5061 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5062 if ${am_cv_prog_cc_c_o+:} false; then :
5063 $as_echo_n "(cached) " >&6
5065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5066 /* end confdefs.h. */
5076 # Make sure it works both with $CC and with simple cc.
5077 # Following AC_PROG_CC_C_O, we do the test twice because some
5078 # compilers refuse to overwrite an existing .o file with -o,
5079 # though they will create one.
5080 am_cv_prog_cc_c_o=yes
5082 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5083 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); } \
5087 && test -f conftest2.$ac_objext; then
5090 am_cv_prog_cc_c_o=no
5094 rm -f core conftest*
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5098 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5099 if test "$am_cv_prog_cc_c_o" != yes; then
5100 # Losing compiler, so override with the script.
5101 # FIXME: It is wrong to rewrite CC.
5102 # But if we don't then we get into trouble of one sort or another.
5103 # A longer-term fix would be to have automake use am__CC in this case,
5104 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5105 CC="$am_aux_dir/compile $CC"
5108 ac_cpp='$CPP $CPPFLAGS'
5109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5115 ac_compile='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
5116 ac_link='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5118 if test -n "$ac_tool_prefix"; then
5119 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
5120 set dummy ${ac_tool_prefix}gdc; ac_word=$2
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5122 $as_echo_n "checking for $ac_word... " >&6; }
5123 if ${ac_cv_prog_GDC+:} false; then :
5124 $as_echo_n "(cached) " >&6
5126 if test -n "$GDC"; then
5127 ac_cv_prog_GDC="$GDC" # Let the user override the test.
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir=.
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5136 ac_cv_prog_GDC="${ac_tool_prefix}gdc"
5137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 if test -n "$GDC"; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5149 $as_echo "$GDC" >&6; }
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5157 if test -z "$ac_cv_prog_GDC"; then
5159 # Extract the first word of "gdc", so it can be a program name with args.
5160 set dummy gdc; ac_word=$2
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162 $as_echo_n "checking for $ac_word... " >&6; }
5163 if ${ac_cv_prog_ac_ct_GDC+:} false; then :
5164 $as_echo_n "(cached) " >&6
5166 if test -n "$ac_ct_GDC"; then
5167 ac_cv_prog_ac_ct_GDC="$ac_ct_GDC" # Let the user override the test.
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 test -z "$as_dir" && as_dir=.
5174 for ac_exec_ext in '' $ac_executable_extensions; do
5175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176 ac_cv_prog_ac_ct_GDC="gdc"
5177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 ac_ct_GDC=$ac_cv_prog_ac_ct_GDC
5187 if test -n "$ac_ct_GDC"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GDC" >&5
5189 $as_echo "$ac_ct_GDC" >&6; }
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5195 if test "x$ac_ct_GDC" = x; then
5198 case $cross_compiling:$ac_tool_warned in
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5202 ac_tool_warned=yes ;;
5207 GDC="$ac_cv_prog_GDC"
5210 if test -z "$GDC"; then
5211 if test -n "$ac_tool_prefix"; then
5212 # Extract the first word of "${ac_tool_prefix}gdc", so it can be a program name with args.
5213 set dummy ${ac_tool_prefix}gdc; ac_word=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if ${ac_cv_prog_GDC+:} false; then :
5217 $as_echo_n "(cached) " >&6
5219 if test -n "$GDC"; then
5220 ac_cv_prog_GDC="$GDC" # Let the user override the test.
5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5226 test -z "$as_dir" && as_dir=.
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5229 ac_cv_prog_GDC="$ac_tool_prefix}gdc"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 if test -n "$GDC"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5242 $as_echo "$GDC" >&6; }
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5251 if test -z "$GDC"; then
5252 # Extract the first word of "gdc", so it can be a program name with args.
5253 set dummy gdc; ac_word=$2
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if ${ac_cv_prog_GDC+:} false; then :
5257 $as_echo_n "(cached) " >&6
5259 if test -n "$GDC"; then
5260 ac_cv_prog_GDC="$GDC" # Let the user override the test.
5263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 test -z "$as_dir" && as_dir=.
5268 for ac_exec_ext in '' $ac_executable_extensions; do
5269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5270 if test "$as_dir/$ac_word$ac_exec_ext" = "false"; then
5271 ac_prog_rejected=yes
5274 ac_cv_prog_GDC="gdc"
5275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 if test $ac_prog_rejected = yes; then
5283 # We found a bogon in the path, so make sure we never use it.
5284 set dummy $ac_cv_prog_GDC
5286 if test $# != 0; then
5287 # We chose a different compiler from the bogus one.
5288 # However, it has the same basename, so the bogon will be chosen
5289 # first if we set GDC to just the basename; use the full file name.
5291 ac_cv_prog_GDC="$as_dir/$ac_word${1+' '}$@"
5297 if test -n "$GDC"; then
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDC" >&5
5299 $as_echo "$GDC" >&6; }
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5302 $as_echo "no" >&6; }
5309 # Provide some information about the compiler.
5310 $as_echo "$as_me:${as_lineno-$LINENO}: checking for D compiler version" >&5
5313 { { ac_try="$ac_compiler --version >&5"
5315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5316 *) ac_try_echo
=$ac_try;;
5318 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5319 $as_echo "$ac_try_echo"; } >&5
5320 (eval "$ac_compiler --version >&5") 2>conftest.err
5322 if test -s conftest.err
; then
5324 ... rest of stderr output deleted ...
5325 10q' conftest.err
>conftest.er1
5326 cat conftest.er1
>&5
5328 rm -f conftest.er1 conftest.err
5329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5330 test $ac_status = 0; }
5332 ac_cpp
='$CPP $CPPFLAGS'
5333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for absolute libphobos source path" >&5
5339 $as_echo_n "checking for absolute libphobos source path... " >&6; }
5340 if ${phobos_cv_abs_srcdir+:} false
; then :
5341 $as_echo_n "(cached) " >&6
5343 phobos_cv_abs_srcdir
=`cd $srcdir && pwd`
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $phobos_cv_abs_srcdir" >&5
5346 $as_echo "$phobos_cv_abs_srcdir" >&6; }
5347 if test -d "$phobos_cv_abs_srcdir"; then :
5350 as_fn_error $?
"can't find absolute libphobos source path" "$LINENO" 5
5356 gdc_save_DFLAGS
=$GDCFLAGS
5357 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime $GDCFLAGS"
5360 ac_compile
='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
5361 ac_link
='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking If $GDC can compile D sources" >&5
5365 $as_echo_n "checking If $GDC can compile D sources... " >&6; }
5366 cat > conftest.
$ac_ext <<_ACEOF
5370 extern(C) int main() {
5374 if ac_fn_d_try_compile
"$LINENO"; then :
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5376 $as_echo "yes" >&6; }
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379 $as_echo "no" >&6; }
5380 as_fn_error $?
"can't compile D sources!" "$LINENO" 5
5382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5384 ac_cpp
='$CPP $CPPFLAGS'
5385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5390 GDCFLAGS
=$gdc_save_DFLAGS
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5398 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5399 # Check whether --enable-maintainer-mode was given.
5400 if test "${enable_maintainer_mode+set}" = set; then :
5401 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5403 USE_MAINTAINER_MODE
=no
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5407 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5408 if test $USE_MAINTAINER_MODE = yes; then
5409 MAINTAINER_MODE_TRUE
=
5410 MAINTAINER_MODE_FALSE
='#'
5412 MAINTAINER_MODE_TRUE
='#'
5413 MAINTAINER_MODE_FALSE
=
5416 MAINT
=$MAINTAINER_MODE_TRUE
5419 if test -n "$ac_tool_prefix"; then
5420 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5421 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5423 $as_echo_n "checking for $ac_word... " >&6; }
5424 if ${ac_cv_prog_RANLIB+:} false
; then :
5425 $as_echo_n "(cached) " >&6
5427 if test -n "$RANLIB"; then
5428 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5434 test -z "$as_dir" && as_dir
=.
5435 for ac_exec_ext
in '' $ac_executable_extensions; do
5436 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5437 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5447 RANLIB
=$ac_cv_prog_RANLIB
5448 if test -n "$RANLIB"; then
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5450 $as_echo "$RANLIB" >&6; }
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453 $as_echo "no" >&6; }
5458 if test -z "$ac_cv_prog_RANLIB"; then
5459 ac_ct_RANLIB
=$RANLIB
5460 # Extract the first word of "ranlib", so it can be a program name with args.
5461 set dummy ranlib
; ac_word
=$2
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463 $as_echo_n "checking for $ac_word... " >&6; }
5464 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5465 $as_echo_n "(cached) " >&6
5467 if test -n "$ac_ct_RANLIB"; then
5468 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5474 test -z "$as_dir" && as_dir
=.
5475 for ac_exec_ext
in '' $ac_executable_extensions; do
5476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5477 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5488 if test -n "$ac_ct_RANLIB"; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5490 $as_echo "$ac_ct_RANLIB" >&6; }
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493 $as_echo "no" >&6; }
5496 if test "x$ac_ct_RANLIB" = x
; then
5499 case $cross_compiling:$ac_tool_warned in
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5503 ac_tool_warned
=yes ;;
5505 RANLIB
=$ac_ct_RANLIB
5508 RANLIB
="$ac_cv_prog_RANLIB"
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5513 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5515 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5516 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5517 $as_echo_n "(cached) " >&6
5519 cat >conftest.
make <<\_ACEOF
5522 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5524 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5525 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5527 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5529 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5533 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5535 $as_echo "yes" >&6; }
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5540 SET_MAKE
="MAKE=${MAKE-make}"
5544 # This should be inherited in the recursive make, but ensure it is defined.
5548 CC_FOR_BUILD
=${CC_FOR_BUILD:-gcc}
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5556 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5561 macro_version
='2.2.7a'
5562 macro_revision
='1.3134'
5576 ltmain
="$ac_aux_dir/ltmain.sh"
5578 # Backslashify metacharacters that are still active within
5579 # double-quoted strings.
5580 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5582 # Same as above, but do not quote variable references.
5583 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5585 # Sed substitution to delay expansion of an escaped shell variable in a
5586 # double_quote_subst'ed string.
5587 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5589 # Sed substitution to delay expansion of an escaped single quote.
5590 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5592 # Sed substitution to avoid accidental globbing in evaled expressions
5593 no_glob_subst
='s/\*/\\\*/g'
5595 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5596 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5597 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5600 $as_echo_n "checking how to print strings... " >&6; }
5601 # Test print first, because it will be a builtin if present.
5602 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5603 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5605 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5608 # Use this function as a fallback that always works.
5609 func_fallback_echo ()
5611 eval 'cat <<_LTECHO_EOF
5615 ECHO='func_fallback_echo
'
5618 # func_echo_all arg...
5619 # Invoke $ECHO with all args, space-separated.
5626 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5627 $as_echo "printf" >&6; } ;;
5628 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5629 $as_echo "print -r" >&6; } ;;
5630 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5631 $as_echo "cat" >&6; } ;;
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5648 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5649 if ${ac_cv_path_SED+:} false; then :
5650 $as_echo_n "(cached) " >&6
5652 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5653 for ac_i in 1 2 3 4 5 6 7; do
5654 ac_script="$ac_script$as_nl$ac_script"
5656 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5657 { ac_script=; unset ac_script;}
5658 if test -z "$SED"; then
5659 ac_path_SED_found=false
5660 # Loop through the user's path and
test for each of PROGNAME-LIST
5661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5665 test -z "$as_dir" && as_dir
=.
5666 for ac_prog
in sed gsed
; do
5667 for ac_exec_ext
in '' $ac_executable_extensions; do
5668 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5669 as_fn_executable_p
"$ac_path_SED" ||
continue
5670 # Check for GNU ac_path_SED and select it if it is found.
5671 # Check for GNU $ac_path_SED
5672 case `"$ac_path_SED" --version 2>&1` in
5674 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5677 $as_echo_n 0123456789 >"conftest.in"
5680 cat "conftest.in" "conftest.in" >"conftest.tmp"
5681 mv "conftest.tmp" "conftest.in"
5682 cp "conftest.in" "conftest.nl"
5683 $as_echo '' >> "conftest.nl"
5684 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5685 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5686 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5687 if test $ac_count -gt ${ac_path_SED_max-0}; then
5688 # Best one so far, save it but keep looking for a better one
5689 ac_cv_path_SED
="$ac_path_SED"
5690 ac_path_SED_max
=$ac_count
5692 # 10*(2^10) chars as input seems more than enough
5693 test $ac_count -gt 10 && break
5695 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5698 $ac_path_SED_found && break 3
5703 if test -z "$ac_cv_path_SED"; then
5704 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5712 $as_echo "$ac_cv_path_SED" >&6; }
5713 SED
="$ac_cv_path_SED"
5716 test -z "$SED" && SED
=sed
5717 Xsed
="$SED -e 1s/^X//"
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5730 $as_echo_n "checking for fgrep... " >&6; }
5731 if ${ac_cv_path_FGREP+:} false
; then :
5732 $as_echo_n "(cached) " >&6
5734 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5735 then ac_cv_path_FGREP
="$GREP -F"
5737 if test -z "$FGREP"; then
5738 ac_path_FGREP_found
=false
5739 # Loop through the user's path and test for each of PROGNAME-LIST
5740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5741 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5744 test -z "$as_dir" && as_dir
=.
5745 for ac_prog
in fgrep
; do
5746 for ac_exec_ext
in '' $ac_executable_extensions; do
5747 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5748 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5749 # Check for GNU ac_path_FGREP and select it if it is found.
5750 # Check for GNU $ac_path_FGREP
5751 case `"$ac_path_FGREP" --version 2>&1` in
5753 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5756 $as_echo_n 0123456789 >"conftest.in"
5759 cat "conftest.in" "conftest.in" >"conftest.tmp"
5760 mv "conftest.tmp" "conftest.in"
5761 cp "conftest.in" "conftest.nl"
5762 $as_echo 'FGREP' >> "conftest.nl"
5763 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5764 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5765 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5766 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5767 # Best one so far, save it but keep looking for a better one
5768 ac_cv_path_FGREP
="$ac_path_FGREP"
5769 ac_path_FGREP_max
=$ac_count
5771 # 10*(2^10) chars as input seems more than enough
5772 test $ac_count -gt 10 && break
5774 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5777 $ac_path_FGREP_found && break 3
5782 if test -z "$ac_cv_path_FGREP"; then
5783 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5786 ac_cv_path_FGREP
=$FGREP
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5792 $as_echo "$ac_cv_path_FGREP" >&6; }
5793 FGREP
="$ac_cv_path_FGREP"
5796 test -z "$GREP" && GREP
=grep
5816 # Check whether --with-gnu-ld was given.
5817 if test "${with_gnu_ld+set}" = set; then :
5818 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5824 if test "$GCC" = yes; then
5825 # Check if gcc -print-prog-name=ld gives a path.
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5827 $as_echo_n "checking for ld used by $CC... " >&6; }
5830 # gcc leaves a trailing carriage return which upsets mingw
5831 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5833 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5836 # Accept absolute paths.
5838 re_direlt
='/[^/][^/]*/\.\./'
5839 # Canonicalize the pathname of ld
5840 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5841 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5842 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5844 test -z "$LD" && LD
="$ac_prog"
5847 # If it fails, then pretend we aren't using GCC.
5851 # If it is relative, then search for the first ld in PATH.
5855 elif test "$with_gnu_ld" = yes; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5857 $as_echo_n "checking for GNU ld... " >&6; }
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5860 $as_echo_n "checking for non-GNU ld... " >&6; }
5862 if ${lt_cv_path_LD+:} false
; then :
5863 $as_echo_n "(cached) " >&6
5865 if test -z "$LD"; then
5866 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5867 for ac_dir
in $PATH; do
5869 test -z "$ac_dir" && ac_dir
=.
5870 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5871 lt_cv_path_LD
="$ac_dir/$ac_prog"
5872 # Check to see if the program is GNU ld. I'd rather use --version,
5873 # but apparently some variants of GNU ld only accept -v.
5874 # Break only if it was the GNU/non-GNU ld that we prefer.
5875 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5876 *GNU
* |
*'with BFD'*)
5877 test "$with_gnu_ld" != no
&& break
5880 test "$with_gnu_ld" != yes && break
5887 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5892 if test -n "$LD"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5894 $as_echo "$LD" >&6; }
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5899 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5901 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5902 if ${lt_cv_prog_gnu_ld+:} false
; then :
5903 $as_echo_n "(cached) " >&6
5905 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5906 case `$LD -v 2>&1 </dev/null` in
5907 *GNU
* |
*'with BFD'*)
5908 lt_cv_prog_gnu_ld
=yes
5911 lt_cv_prog_gnu_ld
=no
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5916 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5917 with_gnu_ld
=$lt_cv_prog_gnu_ld
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5928 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5929 if ${lt_cv_path_NM+:} false
; then :
5930 $as_echo_n "(cached) " >&6
5932 if test -n "$NM"; then
5933 # Let the user override the test.
5936 lt_nm_to_check
="${ac_tool_prefix}nm"
5937 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5938 lt_nm_to_check
="$lt_nm_to_check nm"
5940 for lt_tmp_nm
in $lt_nm_to_check; do
5941 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5942 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5944 test -z "$ac_dir" && ac_dir
=.
5945 tmp_nm
="$ac_dir/$lt_tmp_nm"
5946 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5947 # Check to see if the nm accepts a BSD-compat flag.
5948 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5949 # nm: unknown option "B" ignored
5950 # Tru64's nm complains that /dev/null is an invalid object file
5951 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5952 */dev
/null
* |
*'Invalid file or object type'*)
5953 lt_cv_path_NM
="$tmp_nm -B"
5957 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5959 lt_cv_path_NM
="$tmp_nm -p"
5963 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5964 continue # so that we can try to find one that supports BSD flags
5973 : ${lt_cv_path_NM=no}
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5977 $as_echo "$lt_cv_path_NM" >&6; }
5978 if test "$lt_cv_path_NM" != "no"; then
5981 # Didn't find any BSD compatible name lister, look for dumpbin.
5982 if test -n "$DUMPBIN"; then :
5983 # Let the user override the test.
5985 if test -n "$ac_tool_prefix"; then
5986 for ac_prog
in dumpbin
"link -dump"
5988 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5989 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5991 $as_echo_n "checking for $ac_word... " >&6; }
5992 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5993 $as_echo_n "(cached) " >&6
5995 if test -n "$DUMPBIN"; then
5996 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6002 test -z "$as_dir" && as_dir
=.
6003 for ac_exec_ext
in '' $ac_executable_extensions; do
6004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6005 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 DUMPBIN
=$ac_cv_prog_DUMPBIN
6016 if test -n "$DUMPBIN"; then
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6018 $as_echo "$DUMPBIN" >&6; }
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6021 $as_echo "no" >&6; }
6025 test -n "$DUMPBIN" && break
6028 if test -z "$DUMPBIN"; then
6029 ac_ct_DUMPBIN
=$DUMPBIN
6030 for ac_prog
in dumpbin
"link -dump"
6032 # Extract the first word of "$ac_prog", so it can be a program name with args.
6033 set dummy
$ac_prog; ac_word
=$2
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6035 $as_echo_n "checking for $ac_word... " >&6; }
6036 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6037 $as_echo_n "(cached) " >&6
6039 if test -n "$ac_ct_DUMPBIN"; then
6040 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6046 test -z "$as_dir" && as_dir
=.
6047 for ac_exec_ext
in '' $ac_executable_extensions; do
6048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6049 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6059 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6060 if test -n "$ac_ct_DUMPBIN"; then
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6062 $as_echo "$ac_ct_DUMPBIN" >&6; }
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6065 $as_echo "no" >&6; }
6069 test -n "$ac_ct_DUMPBIN" && break
6072 if test "x$ac_ct_DUMPBIN" = x
; then
6075 case $cross_compiling:$ac_tool_warned in
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6079 ac_tool_warned
=yes ;;
6081 DUMPBIN
=$ac_ct_DUMPBIN
6085 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6087 DUMPBIN
="$DUMPBIN -symbols"
6095 if test "$DUMPBIN" != ":"; then
6099 test -z "$NM" && NM
=nm
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6107 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6108 if ${lt_cv_nm_interface+:} false
; then :
6109 $as_echo_n "(cached) " >&6
6111 lt_cv_nm_interface
="BSD nm"
6112 echo "int some_variable = 0;" > conftest.
$ac_ext
6113 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6114 (eval "$ac_compile" 2>conftest.err
)
6115 cat conftest.err
>&5
6116 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6117 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6118 cat conftest.err
>&5
6119 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6120 cat conftest.out
>&5
6121 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6122 lt_cv_nm_interface
="MS dumpbin"
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6127 $as_echo "$lt_cv_nm_interface" >&6; }
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6130 $as_echo_n "checking whether ln -s works... " >&6; }
6132 if test "$LN_S" = "ln -s"; then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6134 $as_echo "yes" >&6; }
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6137 $as_echo "no, using $LN_S" >&6; }
6140 # find the maximum length of command line arguments
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6142 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6143 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6144 $as_echo_n "(cached) " >&6
6151 # On DJGPP, this test can blow up pretty badly due to problems in libc
6152 # (any single argument exceeding 2000 bytes causes a buffer overrun
6153 # during glob expansion). Even if it were fixed, the result of this
6154 # check would be larger than it should be.
6155 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6159 # Under GNU Hurd, this test is not required because there is
6160 # no limit to the length of command line arguments.
6161 # Libtool will interpret -1 as no limit whatsoever
6162 lt_cv_sys_max_cmd_len
=-1;
6165 cygwin
* | mingw
* | cegcc
*)
6166 # On Win9x/ME, this test blows up -- it succeeds, but takes
6167 # about 5 minutes as the teststring grows exponentially.
6168 # Worse, since 9x/ME are not pre-emptively multitasking,
6169 # you end up with a "frozen" computer, even though with patience
6170 # the test eventually succeeds (with a max line length of 256k).
6171 # Instead, let's just punt: use the minimum linelength reported by
6172 # all of the supported platforms: 8192 (on NT/2K/XP).
6173 lt_cv_sys_max_cmd_len
=8192;
6177 # On MiNT this can take a long time and run out of memory.
6178 lt_cv_sys_max_cmd_len
=8192;
6182 # On AmigaOS with pdksh, this test takes hours, literally.
6183 # So we just punt and use a minimum line length of 8192.
6184 lt_cv_sys_max_cmd_len
=8192;
6187 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6188 # This has been around since 386BSD, at least. Likely further.
6189 if test -x /sbin
/sysctl
; then
6190 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6191 elif test -x /usr
/sbin
/sysctl
; then
6192 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6194 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6196 # And add a safety zone
6197 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6198 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6202 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6203 lt_cv_sys_max_cmd_len
=196608
6207 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6208 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6209 # nice to cause kernel panics so lets avoid the loop below.
6210 # First set a reasonable default.
6211 lt_cv_sys_max_cmd_len
=16384
6213 if test -x /sbin
/sysconfig
; then
6214 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6215 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6220 lt_cv_sys_max_cmd_len
=102400
6222 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6223 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6224 if test -n "$kargmax"; then
6225 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6227 lt_cv_sys_max_cmd_len
=32768
6231 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6232 if test -n "$lt_cv_sys_max_cmd_len"; then
6233 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6234 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6236 # Make teststring a little bigger before we do anything with it.
6237 # a 1K string should be a reasonable start.
6238 for i
in 1 2 3 4 5 6 7 8 ; do
6239 teststring
=$teststring$teststring
6241 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6242 # If test is not a shell built-in, we'll probably end up computing a
6243 # maximum length that is only half of the actual maximum length, but
6245 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6246 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6247 test $i != 17 # 1/2 MB should be enough
6250 teststring
=$teststring$teststring
6252 # Only check the string length outside the loop.
6253 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6255 # Add a significant safety factor because C++ compilers can tack on
6256 # massive amounts of additional arguments before passing them to the
6257 # linker. It appears as though 1/2 is a usable value.
6258 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6265 if test -n $lt_cv_sys_max_cmd_len ; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6267 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6270 $as_echo "none" >&6; }
6272 max_cmd_len
=$lt_cv_sys_max_cmd_len
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6284 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6285 # Try some XSI features
6288 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6290 && eval 'test $(( 1 + 1 )) -eq 2 \
6291 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6294 $as_echo "$xsi_shell" >&6; }
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6298 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6300 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6302 && lt_shell_append=yes
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6304 $as_echo "$lt_shell_append" >&6; }
6307 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6317 # test EBCDIC or ASCII
6318 case `echo X|tr X '\101'` in
6319 A) # ASCII based system
6320 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6321 lt_SP2NL='tr \040 \012'
6322 lt_NL2SP='tr \015\012 \040\040'
6324 *) # EBCDIC based system
6325 lt_SP2NL='tr \100 \n'
6326 lt_NL2SP='tr \r\n \100\100'
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6339 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6340 if ${lt_cv_ld_reload_flag+:} false; then :
6341 $as_echo_n "(cached
) " >&6
6343 lt_cv_ld_reload_flag='-r'
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6346 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6347 reload_flag=$lt_cv_ld_reload_flag
6348 case $reload_flag in
6350 *) reload_flag=" $reload_flag" ;;
6352 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6355 if test "$GCC" = yes; then
6356 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6358 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6371 if test -n "$ac_tool_prefix"; then
6372 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6373 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6375 $as_echo_n "checking
for $ac_word...
" >&6; }
6376 if ${ac_cv_prog_OBJDUMP+:} false; then :
6377 $as_echo_n "(cached
) " >&6
6379 if test -n "$OBJDUMP"; then
6380 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6389 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6399 OBJDUMP=$ac_cv_prog_OBJDUMP
6400 if test -n "$OBJDUMP"; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6402 $as_echo "$OBJDUMP" >&6; }
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6405 $as_echo "no
" >&6; }
6410 if test -z "$ac_cv_prog_OBJDUMP"; then
6411 ac_ct_OBJDUMP=$OBJDUMP
6412 # Extract the first word of "objdump
", so it can be a program name with args.
6413 set dummy objdump; ac_word=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6415 $as_echo_n "checking
for $ac_word...
" >&6; }
6416 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6417 $as_echo_n "(cached
) " >&6
6419 if test -n "$ac_ct_OBJDUMP"; then
6420 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir=.
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6429 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6430 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6439 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6440 if test -n "$ac_ct_OBJDUMP"; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6442 $as_echo "$ac_ct_OBJDUMP" >&6; }
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6445 $as_echo "no
" >&6; }
6448 if test "x
$ac_ct_OBJDUMP" = x; then
6451 case $cross_compiling:$ac_tool_warned in
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6454 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6455 ac_tool_warned=yes ;;
6457 OBJDUMP=$ac_ct_OBJDUMP
6460 OBJDUMP="$ac_cv_prog_OBJDUMP"
6463 test -z "$OBJDUMP" && OBJDUMP=objdump
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6474 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6475 if ${lt_cv_deplibs_check_method+:} false; then :
6476 $as_echo_n "(cached
) " >&6
6478 lt_cv_file_magic_cmd='$MAGIC_CMD'
6479 lt_cv_file_magic_test_file=
6480 lt_cv_deplibs_check_method='unknown'
6481 # Need to set the preceding variable on all platforms that support
6482 # interlibrary dependencies.
6483 # 'none' -- dependencies not supported.
6484 # `unknown' -- same as none, but documents that we really don't know.
6485 # 'pass_all' -- all dependencies passed with no checks.
6486 # 'test_compile' -- check by making test program.
6487 # 'file_magic [[regex]]' -- check by looking for files in library path
6488 # which responds to the $file_magic_cmd with a given extended regex.
6489 # If you have `file' or equivalent on your system and you're not sure
6490 # whether `pass_all' will *always* work, you probably want this one.
6494 lt_cv_deplibs_check_method=pass_all
6498 lt_cv_deplibs_check_method=pass_all
6502 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6503 lt_cv_file_magic_cmd='/usr/bin/file -L'
6504 lt_cv_file_magic_test_file=/shlib/libc.so
6508 # func_win32_libid is a shell function defined in ltmain.sh
6509 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6510 lt_cv_file_magic_cmd='func_win32_libid'
6514 # Base MSYS/MinGW do not provide the 'file' command needed by
6515 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6516 # unless we find 'file', for example because we are cross-compiling.
6517 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6518 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6519 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6520 lt_cv_file_magic_cmd='func_win32_libid'
6522 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6523 lt_cv_file_magic_cmd='$OBJDUMP -f'
6528 # use the weaker test based on 'objdump'. See mingw*.
6529 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6530 lt_cv_file_magic_cmd='$OBJDUMP -f'
6533 darwin* | rhapsody*)
6534 lt_cv_deplibs_check_method=pass_all
6537 freebsd* | dragonfly*)
6538 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6541 # Not sure whether the presence of OpenBSD here was a mistake.
6542 # Let's accept both of them until this is cleared up.
6543 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6544 lt_cv_file_magic_cmd=/usr/bin/file
6545 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6549 lt_cv_deplibs_check_method=pass_all
6554 lt_cv_deplibs_check_method=pass_all
6558 lt_cv_deplibs_check_method=pass_all
6561 hpux10.20* | hpux11*)
6562 lt_cv_file_magic_cmd=/usr/bin/file
6565 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6566 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6569 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]'
6570 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6573 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6574 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6580 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6581 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6584 irix5* | irix6* | nonstopux*)
6586 *-32|*"-32 ") libmagic=32-bit;;
6587 *-n32|*"-n32 ") libmagic=N32;;
6588 *-64|*"-64 ") libmagic=64-bit;;
6589 *) libmagic=never-match;;
6591 lt_cv_deplibs_check_method=pass_all
6594 # This must be Linux ELF.
6595 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6596 lt_cv_deplibs_check_method=pass_all
6600 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6601 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6603 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6608 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6609 lt_cv_file_magic_cmd=/usr/bin/file
6610 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6614 lt_cv_deplibs_check_method=pass_all
6618 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6619 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6621 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6625 osf3* | osf4* | osf5*)
6626 lt_cv_deplibs_check_method=pass_all
6630 lt_cv_deplibs_check_method=pass_all
6634 lt_cv_deplibs_check_method=pass_all
6637 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6638 lt_cv_deplibs_check_method=pass_all
6642 case $host_vendor in
6644 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]'
6645 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6648 lt_cv_deplibs_check_method=pass_all
6651 lt_cv_file_magic_cmd='/bin/file'
6652 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6655 lt_cv_file_magic_cmd='/bin/file'
6656 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6657 lt_cv_file_magic_test_file=/lib/libc.so
6660 lt_cv_deplibs_check_method=pass_all
6663 lt_cv_deplibs_check_method=pass_all
6669 lt_cv_deplibs_check_method=pass_all
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6675 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6676 file_magic_cmd=$lt_cv_file_magic_cmd
6677 deplibs_check_method=$lt_cv_deplibs_check_method
6678 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6691 if test -n "$ac_tool_prefix"; then
6692 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6693 set dummy ${ac_tool_prefix}ar; ac_word=$2
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6695 $as_echo_n "checking
for $ac_word...
" >&6; }
6696 if ${ac_cv_prog_AR+:} false; then :
6697 $as_echo_n "(cached
) " >&6
6699 if test -n "$AR"; then
6700 ac_cv_prog_AR="$AR" # Let the user override the test.
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6706 test -z "$as_dir" && as_dir=.
6707 for ac_exec_ext in '' $ac_executable_extensions; do
6708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6709 ac_cv_prog_AR="${ac_tool_prefix}ar"
6710 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6720 if test -n "$AR"; then
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6722 $as_echo "$AR" >&6; }
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6725 $as_echo "no
" >&6; }
6730 if test -z "$ac_cv_prog_AR"; then
6732 # Extract the first word of "ar", so it can be a program name with args.
6733 set dummy ar; ac_word=$2
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6735 $as_echo_n "checking
for $ac_word...
" >&6; }
6736 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6737 $as_echo_n "(cached
) " >&6
6739 if test -n "$ac_ct_AR"; then
6740 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 test -z "$as_dir" && as_dir=.
6747 for ac_exec_ext in '' $ac_executable_extensions; do
6748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6749 ac_cv_prog_ac_ct_AR="ar"
6750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6759 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6760 if test -n "$ac_ct_AR"; then
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6762 $as_echo "$ac_ct_AR" >&6; }
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6765 $as_echo "no
" >&6; }
6768 if test "x
$ac_ct_AR" = x; then
6771 case $cross_compiling:$ac_tool_warned in
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6774 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6775 ac_tool_warned=yes ;;
6783 test -z "$AR" && AR=ar
6784 test -z "$AR_FLAGS" && AR_FLAGS=cru
6796 if test -n "$ac_tool_prefix"; then
6797 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6798 set dummy ${ac_tool_prefix}strip; ac_word=$2
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6800 $as_echo_n "checking
for $ac_word...
" >&6; }
6801 if ${ac_cv_prog_STRIP+:} false; then :
6802 $as_echo_n "(cached
) " >&6
6804 if test -n "$STRIP"; then
6805 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811 test -z "$as_dir" && as_dir=.
6812 for ac_exec_ext in '' $ac_executable_extensions; do
6813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6814 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6815 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6824 STRIP=$ac_cv_prog_STRIP
6825 if test -n "$STRIP"; then
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6827 $as_echo "$STRIP" >&6; }
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6830 $as_echo "no
" >&6; }
6835 if test -z "$ac_cv_prog_STRIP"; then
6837 # Extract the first word of "strip
", so it can be a program name with args.
6838 set dummy strip; ac_word=$2
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6840 $as_echo_n "checking
for $ac_word...
" >&6; }
6841 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6842 $as_echo_n "(cached
) " >&6
6844 if test -n "$ac_ct_STRIP"; then
6845 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6851 test -z "$as_dir" && as_dir=.
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6854 ac_cv_prog_ac_ct_STRIP="strip
"
6855 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6864 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6865 if test -n "$ac_ct_STRIP"; then
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6867 $as_echo "$ac_ct_STRIP" >&6; }
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6870 $as_echo "no
" >&6; }
6873 if test "x
$ac_ct_STRIP" = x; then
6876 case $cross_compiling:$ac_tool_warned in
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6879 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6880 ac_tool_warned=yes ;;
6885 STRIP="$ac_cv_prog_STRIP"
6888 test -z "$STRIP" && STRIP=:
6895 if test -n "$ac_tool_prefix"; then
6896 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6897 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6899 $as_echo_n "checking
for $ac_word...
" >&6; }
6900 if ${ac_cv_prog_RANLIB+:} false; then :
6901 $as_echo_n "(cached
) " >&6
6903 if test -n "$RANLIB"; then
6904 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6910 test -z "$as_dir" && as_dir=.
6911 for ac_exec_ext in '' $ac_executable_extensions; do
6912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6913 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6923 RANLIB=$ac_cv_prog_RANLIB
6924 if test -n "$RANLIB"; then
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6926 $as_echo "$RANLIB" >&6; }
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6929 $as_echo "no
" >&6; }
6934 if test -z "$ac_cv_prog_RANLIB"; then
6935 ac_ct_RANLIB=$RANLIB
6936 # Extract the first word of "ranlib
", so it can be a program name with args.
6937 set dummy ranlib; ac_word=$2
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6939 $as_echo_n "checking
for $ac_word...
" >&6; }
6940 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6941 $as_echo_n "(cached
) " >&6
6943 if test -n "$ac_ct_RANLIB"; then
6944 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950 test -z "$as_dir" && as_dir=.
6951 for ac_exec_ext in '' $ac_executable_extensions; do
6952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6953 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6963 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6964 if test -n "$ac_ct_RANLIB"; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6966 $as_echo "$ac_ct_RANLIB" >&6; }
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6969 $as_echo "no
" >&6; }
6972 if test "x
$ac_ct_RANLIB" = x; then
6975 case $cross_compiling:$ac_tool_warned in
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6978 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6979 ac_tool_warned=yes ;;
6981 RANLIB=$ac_ct_RANLIB
6984 RANLIB="$ac_cv_prog_RANLIB"
6987 test -z "$RANLIB" && RANLIB=:
6994 # Determine commands to create old-style static archives.
6995 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6996 old_postinstall_cmds='chmod 644 $oldlib'
6997 old_postuninstall_cmds=
6999 if test -n "$RANLIB"; then
7002 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7005 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7008 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7013 lock_old_archive_extraction=yes ;;
7015 lock_old_archive_extraction=no ;;
7056 # If no C compiler was specified, use CC.
7059 # If no C compiler flags were specified, use CFLAGS.
7060 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7062 # Allow CC to be a program name with arguments.
7066 # Check for command to grab the raw symbol name followed by C symbol from nm.
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7068 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7069 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7070 $as_echo_n "(cached
) " >&6
7073 # These are sane defaults that work on at least a few old systems.
7074 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7076 # Character class describing NM global symbol codes.
7077 symcode='[BCDEGRST]'
7079 # Regexp to match symbols that can be accessed directly from C.
7080 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7082 # Define system-specific variables.
7087 cygwin* | mingw* | pw32* | cegcc*)
7088 symcode='[ABCDGISTW]'
7091 if test "$host_cpu" = ia64; then
7092 symcode='[ABCDEGRST]'
7096 symcode='[BCDEGRST]'
7099 symcode='[BCDEGQRST]'
7110 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7118 # If we're using GNU nm, then use its standard symbol codes.
7119 case `$NM -V 2>&1` in
7120 *GNU* | *'with BFD'*)
7121 symcode='[ABCDGIRSTW]' ;;
7124 # Transform an extracted symbol line into a proper C declaration.
7125 # Some systems (esp. on ia64) link data and code symbols differently,
7126 # so use this general approach.
7127 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7129 # Transform an extracted symbol line into symbol name and symbol address
7130 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7131 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'"
7133 # Handle CRLF in mingw tool chain
7137 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7141 # Try without a prefix underscore, then with it.
7142 for ac_symprfx in "" "_
"; do
7144 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7145 symxfrm="\\1 $ac_symprfx\\2 \\2"
7147 # Write the raw and C identifiers.
7148 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7149 # Fake it for dumpbin and say T for any non-static function
7150 # and D for any global variable.
7151 # Also find C++ and __fastcall symbols from MSVC++,
7152 # which start with @ or ?.
7153 lt_cv_sys_global_symbol_pipe="$AWK '"\
7154 " {last_section=section; section=\$ 3};"\
7155 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7156 " \$ 0!~/External *\|/{next};"\
7157 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7158 " {if(hide[section]) next};"\
7159 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7160 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7161 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7162 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7163 " ' prfx
=^
$ac_symprfx"
7165 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7168 # Check to see that the pipe works correctly.
7172 cat > conftest.$ac_ext <<_LT_EOF
7177 void nm_test_func(void);
7178 void nm_test_func(void){}
7182 int main(){nm_test_var='a';nm_test_func();return(0);}
7185 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7186 (eval $ac_compile) 2>&5
7188 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7189 test $ac_status = 0; }; then
7190 # Now try to grab the symbols.
7192 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7193 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7195 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7196 test $ac_status = 0; } && test -s "$nlist"; then
7197 # Try sorting and uniquifying the output.
7198 if sort "$nlist" | uniq > "$nlist"T; then
7199 mv -f "$nlist"T "$nlist"
7204 # Make sure that we snagged all the symbols we need.
7205 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7206 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7207 cat <<_LT_EOF > conftest.$ac_ext
7213 # Now generate the symbol file.
7214 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7216 cat <<_LT_EOF >> conftest.$ac_ext
7218 /* The mapping between symbol names and symbols. */
7223 lt__PROGRAM__LTX_preloaded_symbols[] =
7225 { "@PROGRAM@
", (void *) 0 },
7227 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7228 cat <<\_LT_EOF >> conftest.$ac_ext
7232 /* This works around a problem in FreeBSD linker */
7233 #ifdef FREEBSD_WORKAROUND
7234 static const void *lt_preloaded_setup() {
7235 return lt__PROGRAM__LTX_preloaded_symbols;
7243 # Now try linking the two files.
7244 mv conftest.$ac_objext conftstm.$ac_objext
7245 lt_save_LIBS="$LIBS"
7246 lt_save_CFLAGS="$CFLAGS"
7247 LIBS="conftstm.
$ac_objext"
7248 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7249 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7250 (eval $ac_link) 2>&5
7252 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7253 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7256 LIBS="$lt_save_LIBS"
7257 CFLAGS="$lt_save_CFLAGS"
7259 echo "cannot
find nm_test_func
in $nlist" >&5
7262 echo "cannot
find nm_test_var
in $nlist" >&5
7265 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7268 echo "$progname: failed program was
:" >&5
7269 cat conftest.$ac_ext >&5
7271 rm -rf conftest* conftst*
7273 # Do not use the global_symbol_pipe unless it works.
7274 if test "$pipe_works" = yes; then
7277 lt_cv_sys_global_symbol_pipe=
7283 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7284 lt_cv_sys_global_symbol_to_cdecl=
7286 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7288 $as_echo "failed
" >&6; }
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7291 $as_echo "ok
" >&6; }
7315 # Check whether --enable-libtool-lock was given.
7316 if test "${enable_libtool_lock+set}" = set; then :
7317 enableval=$enable_libtool_lock;
7320 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7322 # Some flags need to be propagated to the compiler or linker for good
7326 # Find out which ABI we are using.
7327 echo 'int i;' > conftest.$ac_ext
7328 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7329 (eval $ac_compile) 2>&5
7331 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7332 test $ac_status = 0; }; then
7333 case `/usr/bin/file conftest.$ac_objext` in
7345 # Find out which ABI we are using.
7346 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7347 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7348 (eval $ac_compile) 2>&5
7350 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7351 test $ac_status = 0; }; then
7352 if test "$lt_cv_prog_gnu_ld" = yes; then
7353 case `/usr/bin/file conftest.$ac_objext` in
7355 LD="${LD-ld} -melf32bsmip"
7358 LD="${LD-ld} -melf32bmipn32"
7361 LD="${LD-ld} -melf64bmip"
7365 case `/usr/bin/file conftest.$ac_objext` in
7381 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7382 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7383 # Find out which ABI we are using.
7384 echo 'int i;' > conftest.$ac_ext
7385 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7386 (eval $ac_compile) 2>&5
7388 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7389 test $ac_status = 0; }; then
7390 case `/usr/bin/file conftest.o` in
7393 x86_64-*kfreebsd*-gnu)
7394 LD="${LD-ld} -m elf_i386_fbsd
"
7397 case `/usr/bin/file conftest.o` in
7399 LD="${LD-ld} -m elf32_x86_64
"
7402 LD="${LD-ld} -m elf_i386
"
7406 powerpc64le-*linux*)
7407 LD="${LD-ld} -m elf32lppclinux
"
7410 LD="${LD-ld} -m elf32ppclinux
"
7413 LD="${LD-ld} -m elf_s390
"
7416 LD="${LD-ld} -m elf32_sparc
"
7422 x86_64-*kfreebsd*-gnu)
7423 LD="${LD-ld} -m elf_x86_64_fbsd
"
7426 LD="${LD-ld} -m elf_x86_64
"
7429 LD="${LD-ld} -m elf64lppc
"
7432 LD="${LD-ld} -m elf64ppc
"
7434 s390*-*linux*|s390*-*tpf*)
7435 LD="${LD-ld} -m elf64_s390
"
7438 LD="${LD-ld} -m elf64_sparc
"
7448 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7449 SAVE_CFLAGS="$CFLAGS"
7450 CFLAGS="$CFLAGS -belf"
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7452 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7453 if ${lt_cv_cc_needs_belf+:} false; then :
7454 $as_echo_n "(cached
) " >&6
7457 ac_cpp='$CPP $CPPFLAGS'
7458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7463 /* end confdefs.h. */
7473 if ac_fn_c_try_link "$LINENO"; then :
7474 lt_cv_cc_needs_belf=yes
7476 lt_cv_cc_needs_belf=no
7478 rm -f core conftest.err conftest.$ac_objext \
7479 conftest$ac_exeext conftest.$ac_ext
7481 ac_cpp='$CPP $CPPFLAGS'
7482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7488 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7489 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7490 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7491 CFLAGS="$SAVE_CFLAGS"
7495 # Find out which ABI we are using.
7496 echo 'int i;' > conftest.$ac_ext
7497 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7498 (eval $ac_compile) 2>&5
7500 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7501 test $ac_status = 0; }; then
7502 case `/usr/bin/file conftest.o` in
7504 case $lt_cv_prog_gnu_ld in
7505 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7507 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7519 need_locks="$enable_libtool_lock"
7523 rhapsody* | darwin*)
7524 if test -n "$ac_tool_prefix"; then
7525 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7526 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7528 $as_echo_n "checking
for $ac_word...
" >&6; }
7529 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7530 $as_echo_n "(cached
) " >&6
7532 if test -n "$DSYMUTIL"; then
7533 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7539 test -z "$as_dir" && as_dir=.
7540 for ac_exec_ext in '' $ac_executable_extensions; do
7541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7542 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7552 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7553 if test -n "$DSYMUTIL"; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7555 $as_echo "$DSYMUTIL" >&6; }
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7558 $as_echo "no
" >&6; }
7563 if test -z "$ac_cv_prog_DSYMUTIL"; then
7564 ac_ct_DSYMUTIL=$DSYMUTIL
7565 # Extract the first word of "dsymutil
", so it can be a program name with args.
7566 set dummy dsymutil; ac_word=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7568 $as_echo_n "checking
for $ac_word...
" >&6; }
7569 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7570 $as_echo_n "(cached
) " >&6
7572 if test -n "$ac_ct_DSYMUTIL"; then
7573 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7579 test -z "$as_dir" && as_dir=.
7580 for ac_exec_ext in '' $ac_executable_extensions; do
7581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7582 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7583 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7592 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7593 if test -n "$ac_ct_DSYMUTIL"; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7595 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7598 $as_echo "no
" >&6; }
7601 if test "x
$ac_ct_DSYMUTIL" = x; then
7604 case $cross_compiling:$ac_tool_warned in
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7607 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7608 ac_tool_warned=yes ;;
7610 DSYMUTIL=$ac_ct_DSYMUTIL
7613 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7616 if test -n "$ac_tool_prefix"; then
7617 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7618 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7620 $as_echo_n "checking
for $ac_word...
" >&6; }
7621 if ${ac_cv_prog_NMEDIT+:} false; then :
7622 $as_echo_n "(cached
) " >&6
7624 if test -n "$NMEDIT"; then
7625 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7631 test -z "$as_dir" && as_dir=.
7632 for ac_exec_ext in '' $ac_executable_extensions; do
7633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7634 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7635 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7644 NMEDIT=$ac_cv_prog_NMEDIT
7645 if test -n "$NMEDIT"; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7647 $as_echo "$NMEDIT" >&6; }
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7650 $as_echo "no
" >&6; }
7655 if test -z "$ac_cv_prog_NMEDIT"; then
7656 ac_ct_NMEDIT=$NMEDIT
7657 # Extract the first word of "nmedit
", so it can be a program name with args.
7658 set dummy nmedit; ac_word=$2
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7660 $as_echo_n "checking
for $ac_word...
" >&6; }
7661 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7662 $as_echo_n "(cached
) " >&6
7664 if test -n "$ac_ct_NMEDIT"; then
7665 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7671 test -z "$as_dir" && as_dir=.
7672 for ac_exec_ext in '' $ac_executable_extensions; do
7673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7674 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7675 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7684 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7685 if test -n "$ac_ct_NMEDIT"; then
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7687 $as_echo "$ac_ct_NMEDIT" >&6; }
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7690 $as_echo "no
" >&6; }
7693 if test "x
$ac_ct_NMEDIT" = x; then
7696 case $cross_compiling:$ac_tool_warned in
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7699 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7700 ac_tool_warned=yes ;;
7702 NMEDIT=$ac_ct_NMEDIT
7705 NMEDIT="$ac_cv_prog_NMEDIT"
7708 if test -n "$ac_tool_prefix"; then
7709 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7710 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7712 $as_echo_n "checking
for $ac_word...
" >&6; }
7713 if ${ac_cv_prog_LIPO+:} false; then :
7714 $as_echo_n "(cached
) " >&6
7716 if test -n "$LIPO"; then
7717 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7723 test -z "$as_dir" && as_dir=.
7724 for ac_exec_ext in '' $ac_executable_extensions; do
7725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7726 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7736 LIPO=$ac_cv_prog_LIPO
7737 if test -n "$LIPO"; then
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7739 $as_echo "$LIPO" >&6; }
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7742 $as_echo "no
" >&6; }
7747 if test -z "$ac_cv_prog_LIPO"; then
7749 # Extract the first word of "lipo
", so it can be a program name with args.
7750 set dummy lipo; ac_word=$2
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7752 $as_echo_n "checking
for $ac_word...
" >&6; }
7753 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7754 $as_echo_n "(cached
) " >&6
7756 if test -n "$ac_ct_LIPO"; then
7757 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7763 test -z "$as_dir" && as_dir=.
7764 for ac_exec_ext in '' $ac_executable_extensions; do
7765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7766 ac_cv_prog_ac_ct_LIPO="lipo
"
7767 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7776 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7777 if test -n "$ac_ct_LIPO"; then
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7779 $as_echo "$ac_ct_LIPO" >&6; }
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7782 $as_echo "no
" >&6; }
7785 if test "x
$ac_ct_LIPO" = x; then
7788 case $cross_compiling:$ac_tool_warned in
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7791 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7792 ac_tool_warned=yes ;;
7797 LIPO="$ac_cv_prog_LIPO"
7800 if test -n "$ac_tool_prefix"; then
7801 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7802 set dummy ${ac_tool_prefix}otool; ac_word=$2
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7804 $as_echo_n "checking
for $ac_word...
" >&6; }
7805 if ${ac_cv_prog_OTOOL+:} false; then :
7806 $as_echo_n "(cached
) " >&6
7808 if test -n "$OTOOL"; then
7809 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7815 test -z "$as_dir" && as_dir=.
7816 for ac_exec_ext in '' $ac_executable_extensions; do
7817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7818 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7819 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7828 OTOOL=$ac_cv_prog_OTOOL
7829 if test -n "$OTOOL"; then
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7831 $as_echo "$OTOOL" >&6; }
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7834 $as_echo "no
" >&6; }
7839 if test -z "$ac_cv_prog_OTOOL"; then
7841 # Extract the first word of "otool
", so it can be a program name with args.
7842 set dummy otool; ac_word=$2
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7844 $as_echo_n "checking
for $ac_word...
" >&6; }
7845 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7846 $as_echo_n "(cached
) " >&6
7848 if test -n "$ac_ct_OTOOL"; then
7849 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7855 test -z "$as_dir" && as_dir=.
7856 for ac_exec_ext in '' $ac_executable_extensions; do
7857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7858 ac_cv_prog_ac_ct_OTOOL="otool
"
7859 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7868 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7869 if test -n "$ac_ct_OTOOL"; then
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7871 $as_echo "$ac_ct_OTOOL" >&6; }
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7874 $as_echo "no
" >&6; }
7877 if test "x
$ac_ct_OTOOL" = x; then
7880 case $cross_compiling:$ac_tool_warned in
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7883 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7884 ac_tool_warned=yes ;;
7889 OTOOL="$ac_cv_prog_OTOOL"
7892 if test -n "$ac_tool_prefix"; then
7893 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7894 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7896 $as_echo_n "checking
for $ac_word...
" >&6; }
7897 if ${ac_cv_prog_OTOOL64+:} false; then :
7898 $as_echo_n "(cached
) " >&6
7900 if test -n "$OTOOL64"; then
7901 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7907 test -z "$as_dir" && as_dir=.
7908 for ac_exec_ext in '' $ac_executable_extensions; do
7909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7910 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7920 OTOOL64=$ac_cv_prog_OTOOL64
7921 if test -n "$OTOOL64"; then
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7923 $as_echo "$OTOOL64" >&6; }
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7926 $as_echo "no
" >&6; }
7931 if test -z "$ac_cv_prog_OTOOL64"; then
7932 ac_ct_OTOOL64=$OTOOL64
7933 # Extract the first word of "otool64
", so it can be a program name with args.
7934 set dummy otool64; ac_word=$2
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7936 $as_echo_n "checking
for $ac_word...
" >&6; }
7937 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7938 $as_echo_n "(cached
) " >&6
7940 if test -n "$ac_ct_OTOOL64"; then
7941 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7947 test -z "$as_dir" && as_dir=.
7948 for ac_exec_ext in '' $ac_executable_extensions; do
7949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7950 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7960 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7961 if test -n "$ac_ct_OTOOL64"; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7963 $as_echo "$ac_ct_OTOOL64" >&6; }
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7966 $as_echo "no
" >&6; }
7969 if test "x
$ac_ct_OTOOL64" = x; then
7972 case $cross_compiling:$ac_tool_warned in
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7975 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7976 ac_tool_warned=yes ;;
7978 OTOOL64=$ac_ct_OTOOL64
7981 OTOOL64="$ac_cv_prog_OTOOL64"
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8011 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8012 if ${lt_cv_apple_cc_single_mod+:} false; then :
8013 $as_echo_n "(cached
) " >&6
8015 lt_cv_apple_cc_single_mod=no
8016 if test -z "${LT_MULTI_MODULE}"; then
8017 # By default we will add the -single_module flag. You can override
8018 # by either setting the environment variable LT_MULTI_MODULE
8019 # non-empty at configure time, or by adding -multi_module to the
8021 rm -rf libconftest.dylib*
8022 echo "int foo
(void
){return 1;}" > conftest.c
8023 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8024 -dynamiclib -Wl,-single_module conftest.c
" >&5
8025 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8026 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8028 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8029 lt_cv_apple_cc_single_mod=yes
8031 cat conftest.err >&5
8033 rm -rf libconftest.dylib*
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8038 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8040 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8041 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8042 $as_echo_n "(cached
) " >&6
8044 lt_cv_ld_exported_symbols_list=no
8045 save_LDFLAGS=$LDFLAGS
8046 echo "_main
" > conftest.sym
8047 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8049 /* end confdefs.h. */
8059 if ac_fn_c_try_link "$LINENO"; then :
8060 lt_cv_ld_exported_symbols_list=yes
8062 lt_cv_ld_exported_symbols_list=no
8064 rm -f core conftest.err conftest.$ac_objext \
8065 conftest$ac_exeext conftest.$ac_ext
8066 LDFLAGS="$save_LDFLAGS"
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8070 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8072 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8073 if ${lt_cv_ld_force_load+:} false; then :
8074 $as_echo_n "(cached
) " >&6
8076 lt_cv_ld_force_load=no
8077 cat > conftest.c << _LT_EOF
8078 int forced_loaded() { return 2;}
8080 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8081 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8082 echo "$AR cru libconftest.a conftest.o
" >&5
8083 $AR cru libconftest.a conftest.o 2>&5
8084 cat > conftest.c << _LT_EOF
8085 int main() { return 0;}
8087 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8088 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8090 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8091 lt_cv_ld_force_load=yes
8093 cat conftest.err >&5
8095 rm -f conftest.err libconftest.a conftest conftest.c
8096 rm -rf conftest.dSYM
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8100 $as_echo "$lt_cv_ld_force_load" >&6; }
8102 rhapsody* | darwin1.[012])
8103 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8105 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8106 darwin*) # darwin 5.x on
8107 # if running on 10.5 or later, the deployment target defaults
8108 # to the OS version, if on x86, and 10.4, the deployment
8109 # target defaults to 10.4. Don't you love it?
8110 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8111 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8112 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8114 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8116 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8120 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8121 _lt_dar_single_mod='$single_module'
8123 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8124 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8126 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8128 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8129 _lt_dsymutil='~$DSYMUTIL $lib || :'
8136 for ac_header in dlfcn.h
8138 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
8140 if test "x
$ac_cv_header_dlfcn_h" = xyes; then :
8141 cat >>confdefs.h <<_ACEOF
8142 #define HAVE_DLFCN_H 1
8162 # Check whether --enable-shared was given.
8163 if test "${enable_shared+set}" = set; then :
8164 enableval=$enable_shared; p=${PACKAGE-default}
8166 yes) enable_shared=yes ;;
8167 no) enable_shared=no ;;
8170 # Look at the argument we got. We use all the common list separators.
8171 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8172 for pkg in $enableval; do
8174 if test "X
$pkg" = "X
$p"; then
8193 # Check whether --enable-static was given.
8194 if test "${enable_static+set}" = set; then :
8195 enableval=$enable_static; p=${PACKAGE-default}
8197 yes) enable_static=yes ;;
8198 no) enable_static=no ;;
8201 # Look at the argument we got. We use all the common list separators.
8202 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8203 for pkg in $enableval; do
8205 if test "X
$pkg" = "X
$p"; then
8225 # Check whether --with-pic was given.
8226 if test "${with_pic+set}" = set; then :
8227 withval=$with_pic; pic_mode="$withval"
8233 test -z "$pic_mode" && pic_mode=default
8241 # Check whether --enable-fast-install was given.
8242 if test "${enable_fast_install+set}" = set; then :
8243 enableval=$enable_fast_install; p=${PACKAGE-default}
8245 yes) enable_fast_install=yes ;;
8246 no) enable_fast_install=no ;;
8248 enable_fast_install=no
8249 # Look at the argument we got. We use all the common list separators.
8250 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8251 for pkg in $enableval; do
8253 if test "X
$pkg" = "X
$p"; then
8254 enable_fast_install=yes
8261 enable_fast_install=yes
8274 # This can be used to rebuild libtool when needed
8275 LIBTOOL_DEPS="$ltmain"
8277 # Always use our own libtool.
8278 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8305 test -z "$LN_S" && LN_S="ln -s"
8320 if test -n "${ZSH_VERSION+set}" ; then
8321 setopt NO_GLOB_SUBST
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
8325 $as_echo_n "checking
for objdir...
" >&6; }
8326 if ${lt_cv_objdir+:} false; then :
8327 $as_echo_n "(cached
) " >&6
8329 rm -f .libs 2>/dev/null
8330 mkdir .libs 2>/dev/null
8331 if test -d .libs; then
8334 # MS-DOS does not allow filenames that begin with a dot.
8337 rmdir .libs 2>/dev/null
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
8340 $as_echo "$lt_cv_objdir" >&6; }
8341 objdir=$lt_cv_objdir
8347 cat >>confdefs.h <<_ACEOF
8348 #define LT_OBJDIR "$lt_cv_objdir/"
8356 # AIX sometimes has problems with the GCC collect2 program. For some
8357 # reason, if we set the COLLECT_NAMES environment variable, the problems
8358 # vanish in a puff of smoke.
8359 if test "X
${COLLECT_NAMES+set}" != Xset; then
8361 export COLLECT_NAMES
8368 can_build_shared=yes
8370 # All known linkers require a `.a' archive for static linking (except MSVC,
8371 # which needs '.lib').
8374 with_gnu_ld="$lt_cv_prog_gnu_ld"
8377 old_CFLAGS="$CFLAGS"
8379 # Set sane defaults for various variables
8380 test -z "$CC" && CC=cc
8381 test -z "$LTCC" && LTCC=$CC
8382 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8383 test -z "$LD" && LD=ld
8384 test -z "$ac_objext" && ac_objext=o
8386 for cc_temp in $compiler""; do
8388 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8389 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8394 cc_basename=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
8397 # Only perform the check for file, if the check method requires it
8398 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8399 case $deplibs_check_method in
8401 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ac_tool_prefix}file" >&5
8403 $as_echo_n "checking
for ${ac_tool_prefix}file...
" >&6; }
8404 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8405 $as_echo_n "(cached
) " >&6
8409 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8412 lt_save_MAGIC_CMD="$MAGIC_CMD"
8413 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8414 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8415 for ac_dir in $ac_dummy; do
8417 test -z "$ac_dir" && ac_dir=.
8418 if test -f $ac_dir/${ac_tool_prefix}file; then
8419 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8420 if test -n "$file_magic_test_file"; then
8421 case $deplibs_check_method in
8423 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8424 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8425 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8426 $EGREP "$file_magic_regex" > /dev/null; then
8431 *** Warning: the command libtool uses to detect shared libraries,
8432 *** $file_magic_cmd, produces output that libtool cannot recognize.
8433 *** The result is that libtool may fail to recognize shared libraries
8434 *** as such. This will affect the creation of libtool libraries that
8435 *** depend on shared libraries, but programs linked with such libtool
8436 *** libraries will work regardless of this problem. Nevertheless, you
8437 *** may want to report the problem to your system manager and/or to
8438 *** bug-libtool@gnu.org
8448 MAGIC_CMD="$lt_save_MAGIC_CMD"
8453 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8454 if test -n "$MAGIC_CMD"; then
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8456 $as_echo "$MAGIC_CMD" >&6; }
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8459 $as_echo "no
" >&6; }
8466 if test -z "$lt_cv_path_MAGIC_CMD"; then
8467 if test -n "$ac_tool_prefix"; then
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for file" >&5
8469 $as_echo_n "checking
for file...
" >&6; }
8470 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8471 $as_echo_n "(cached
) " >&6
8475 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8478 lt_save_MAGIC_CMD="$MAGIC_CMD"
8479 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8480 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
8481 for ac_dir in $ac_dummy; do
8483 test -z "$ac_dir" && ac_dir=.
8484 if test -f $ac_dir/file; then
8485 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8486 if test -n "$file_magic_test_file"; then
8487 case $deplibs_check_method in
8489 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
8490 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8491 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8492 $EGREP "$file_magic_regex" > /dev/null; then
8497 *** Warning: the command libtool uses to detect shared libraries,
8498 *** $file_magic_cmd, produces output that libtool cannot recognize.
8499 *** The result is that libtool may fail to recognize shared libraries
8500 *** as such. This will affect the creation of libtool libraries that
8501 *** depend on shared libraries, but programs linked with such libtool
8502 *** libraries will work regardless of this problem. Nevertheless, you
8503 *** may want to report the problem to your system manager and/or to
8504 *** bug-libtool@gnu.org
8514 MAGIC_CMD="$lt_save_MAGIC_CMD"
8519 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8520 if test -n "$MAGIC_CMD"; then
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAGIC_CMD" >&5
8522 $as_echo "$MAGIC_CMD" >&6; }
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8525 $as_echo "no
" >&6; }
8538 # Use C for the default configuration in the libtool script
8542 ac_cpp='$CPP $CPPFLAGS'
8543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8548 # Source file extension for C test sources.
8551 # Object file extension for compiled C test sources.
8555 # Code to be used in simple compile tests
8556 lt_simple_compile_test_code="int some_variable
= 0;"
8558 # Code to be used in simple link tests
8559 lt_simple_link_test_code='int main(){return(0);}'
8567 # If no C compiler was specified, use CC.
8570 # If no C compiler flags were specified, use CFLAGS.
8571 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8573 # Allow CC to be a program name with arguments.
8576 # Save the default compiler, since it gets overwritten when the other
8577 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8578 compiler_DEFAULT=$CC
8580 # save warnings/boilerplate of simple test code
8581 ac_outfile=conftest.$ac_objext
8582 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8583 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8584 _lt_compiler_boilerplate=`cat conftest.err`
8587 ac_outfile=conftest.$ac_objext
8588 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8589 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8590 _lt_linker_boilerplate=`cat conftest.err`
8595 ## There is no encapsulation within the following macros, do not change
8596 ## the running order or otherwise move them around unless you know exactly
8597 ## what you are doing...
8598 if test -n "$compiler"; then
8600 lt_prog_compiler_no_builtin_flag=
8602 if test "$GCC" = yes; then
8603 case $cc_basename in
8605 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8607 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
8611 $as_echo_n "checking
if $compiler supports
-fno-rtti -fno-exceptions...
" >&6; }
8612 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8613 $as_echo_n "(cached
) " >&6
8615 lt_cv_prog_compiler_rtti_exceptions=no
8616 ac_outfile=conftest.$ac_objext
8617 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8618 lt_compiler_flag="-fno-rtti -fno-exceptions"
8619 # Insert the option either (1) after the last *FLAGS variable, or
8620 # (2) before a word containing "conftest.
", or (3) at the end.
8621 # Note that $ac_compile itself does not contain backslashes and begins
8622 # with a dollar sign (not a hyphen), so the echo should work correctly.
8623 # The option is referenced via a variable to avoid confusing sed.
8624 lt_compile=`echo "$ac_compile" | $SED \
8625 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8626 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8627 -e 's:$: $lt_compiler_flag:'`
8628 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8629 (eval "$lt_compile" 2>conftest.err)
8631 cat conftest.err >&5
8632 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8633 if (exit $ac_status) && test -s "$ac_outfile"; then
8634 # The compiler can only warn and ignore the option if not recognized
8635 # So say no if there are warnings other than the usual output.
8636 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8637 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8638 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8639 lt_cv_prog_compiler_rtti_exceptions=yes
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
8646 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8648 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8649 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8661 lt_prog_compiler_wl=
8662 lt_prog_compiler_pic=
8663 lt_prog_compiler_static=
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $compiler option to produce PIC
" >&5
8666 $as_echo_n "checking
for $compiler option to produce PIC...
" >&6; }
8668 if test "$GCC" = yes; then
8669 lt_prog_compiler_wl='-Wl,'
8670 lt_prog_compiler_static='-static'
8674 # All AIX code is PIC.
8675 if test "$host_cpu" = ia64; then
8676 # AIX 5 now supports IA64 processor
8677 lt_prog_compiler_static='-Bstatic'
8679 lt_prog_compiler_pic='-fPIC'
8685 # see comment about AmigaOS4 .so support
8686 lt_prog_compiler_pic='-fPIC'
8689 # FIXME: we need at least 68020 code to build shared libraries, but
8690 # adding the `-m68020' flag to GCC prevents building anything better,
8692 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8697 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8698 # PIC is the default for these OSes.
8701 mingw* | cygwin* | pw32* | os2* | cegcc*)
8702 # This hack is so that the source file can tell whether it is being
8703 # built for inclusion in a dll (and should export symbols for example).
8704 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8705 # (--disable-auto-import) libraries
8706 lt_prog_compiler_pic='-DDLL_EXPORT'
8709 darwin* | rhapsody*)
8710 # PIC is the default on this platform
8711 # Common symbols not allowed in MH_DYLIB files
8712 lt_prog_compiler_pic='-fno-common'
8716 # PIC is the default for Haiku.
8717 # The "-static" flag exists, but is broken.
8718 lt_prog_compiler_static=
8722 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8723 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8724 # sets the default TLS model and affects inlining.
8730 lt_prog_compiler_pic='-fPIC'
8736 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8737 # Instead, we relocate shared libraries at runtime.
8741 # Just because we use GCC doesn't mean we suddenly get shared libraries
8742 # on systems that don't support them.
8743 lt_prog_compiler_can_build_shared=no
8748 # QNX uses GNU C++, but need to define -shared option too, otherwise
8750 lt_prog_compiler_pic='-fPIC -shared'
8754 if test -d /usr/nec; then
8755 lt_prog_compiler_pic=-Kconform_pic
8760 lt_prog_compiler_pic='-fPIC'
8764 case $cc_basename in
8765 nvcc*) # Cuda Compiler Driver 2.2
8766 lt_prog_compiler_wl='-Xlinker '
8767 lt_prog_compiler_pic='-Xcompiler -fPIC'
8771 # PORTME Check for flag to pass linker flags through the system compiler.
8774 lt_prog_compiler_wl='-Wl,'
8775 if test "$host_cpu" = ia64; then
8776 # AIX 5 now supports IA64 processor
8777 lt_prog_compiler_static='-Bstatic'
8779 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8783 mingw* | cygwin* | pw32* | os2* | cegcc*)
8784 # This hack is so that the source file can tell whether it is being
8785 # built for inclusion in a dll (and should export symbols for example).
8786 lt_prog_compiler_pic='-DDLL_EXPORT'
8789 hpux9* | hpux10* | hpux11*)
8790 lt_prog_compiler_wl='-Wl,'
8791 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8798 lt_prog_compiler_pic='+Z'
8801 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8802 lt_prog_compiler_static='${wl}-a ${wl}archive'
8805 irix5* | irix6* | nonstopux*)
8806 lt_prog_compiler_wl='-Wl,'
8807 # PIC (with -KPIC) is the default.
8808 lt_prog_compiler_static='-non_shared'
8811 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8812 case $cc_basename in
8813 # old Intel for x86_64 which still supported -KPIC.
8815 lt_prog_compiler_wl='-Wl,'
8816 lt_prog_compiler_pic='-KPIC'
8817 lt_prog_compiler_static='-static'
8819 # icc used to be incompatible with GCC.
8820 # ICC 10 doesn't accept -KPIC any more.
8822 lt_prog_compiler_wl='-Wl,'
8823 lt_prog_compiler_pic='-fPIC'
8824 lt_prog_compiler_static='-static'
8826 # Lahey Fortran 8.1.
8828 lt_prog_compiler_wl='-Wl,'
8829 lt_prog_compiler_pic='--shared'
8830 lt_prog_compiler_static='--static'
8832 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8833 # Portland Group compilers (*not* the Pentium gcc compiler,
8834 # which looks to be a dead project)
8835 lt_prog_compiler_wl='-Wl,'
8836 lt_prog_compiler_pic='-fpic'
8837 lt_prog_compiler_static='-Bstatic'
8840 lt_prog_compiler_wl='-Wl,'
8841 # All Alpha code is PIC.
8842 lt_prog_compiler_static='-non_shared'
8844 xl* | bgxl* | bgf* | mpixl*)
8845 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8846 lt_prog_compiler_wl='-Wl,'
8847 lt_prog_compiler_pic='-qpic'
8848 lt_prog_compiler_static='-qstaticlink'
8851 case `$CC -V 2>&1 | sed 5q` in
8852 *Sun\ F* | *Sun*Fortran*)
8853 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8854 lt_prog_compiler_pic='-KPIC'
8855 lt_prog_compiler_static='-Bstatic'
8856 lt_prog_compiler_wl=''
8860 lt_prog_compiler_pic='-KPIC'
8861 lt_prog_compiler_static='-Bstatic'
8862 lt_prog_compiler_wl='-Wl,'
8870 lt_prog_compiler_pic='-KPIC'
8871 lt_prog_compiler_static='-Bstatic'
8875 # QNX uses GNU C++, but need to define -shared option too, otherwise
8877 lt_prog_compiler_pic='-fPIC -shared'
8880 osf3* | osf4* | osf5*)
8881 lt_prog_compiler_wl='-Wl,'
8882 # All OSF/1 code is PIC.
8883 lt_prog_compiler_static='-non_shared'
8887 lt_prog_compiler_static='-non_shared'
8891 lt_prog_compiler_pic='-KPIC'
8892 lt_prog_compiler_static='-Bstatic'
8893 case $cc_basename in
8895 lt_prog_compiler_wl='-Qoption ld ';;
8897 lt_prog_compiler_wl='-Wl,';;
8902 lt_prog_compiler_wl='-Qoption ld '
8903 lt_prog_compiler_pic='-PIC'
8904 lt_prog_compiler_static='-Bstatic'
8907 sysv4 | sysv4.2uw2* | sysv4.3*)
8908 lt_prog_compiler_wl='-Wl,'
8909 lt_prog_compiler_pic='-KPIC'
8910 lt_prog_compiler_static='-Bstatic'
8914 if test -d /usr/nec ;then
8915 lt_prog_compiler_pic='-Kconform_pic'
8916 lt_prog_compiler_static='-Bstatic'
8920 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8921 lt_prog_compiler_wl='-Wl,'
8922 lt_prog_compiler_pic='-KPIC'
8923 lt_prog_compiler_static='-Bstatic'
8927 lt_prog_compiler_wl='-Wl,'
8928 lt_prog_compiler_can_build_shared=no
8932 lt_prog_compiler_pic='-pic'
8933 lt_prog_compiler_static='-Bstatic'
8937 lt_prog_compiler_can_build_shared=no
8943 # For platforms which do not support PIC, -DPIC is meaningless:
8945 lt_prog_compiler_pic=
8948 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_prog_compiler_pic" >&5
8952 $as_echo "$lt_prog_compiler_pic" >&6; }
8960 # Check to make sure the PIC flag actually works.
8962 if test -n "$lt_prog_compiler_pic"; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
8964 $as_echo_n "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
" >&6; }
8965 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8966 $as_echo_n "(cached
) " >&6
8968 lt_cv_prog_compiler_pic_works=no
8969 ac_outfile=conftest.$ac_objext
8970 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8971 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8972 # Insert the option either (1) after the last *FLAGS variable, or
8973 # (2) before a word containing "conftest.
", or (3) at the end.
8974 # Note that $ac_compile itself does not contain backslashes and begins
8975 # with a dollar sign (not a hyphen), so the echo should work correctly.
8976 # The option is referenced via a variable to avoid confusing sed.
8977 lt_compile=`echo "$ac_compile" | $SED \
8978 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8979 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8980 -e 's:$: $lt_compiler_flag:'`
8981 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
8982 (eval "$lt_compile" 2>conftest.err)
8984 cat conftest.err >&5
8985 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8986 if (exit $ac_status) && test -s "$ac_outfile"; then
8987 # The compiler can only warn and ignore the option if not recognized
8988 # So say no if there are warnings other than the usual output.
8989 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8990 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8991 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8992 lt_cv_prog_compiler_pic_works=yes
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_pic_works" >&5
8999 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9001 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9002 case $lt_prog_compiler_pic in
9004 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9007 lt_prog_compiler_pic=
9008 lt_prog_compiler_can_build_shared=no
9019 # Check to make sure the static flag actually works.
9021 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
9023 $as_echo_n "checking
if $compiler static flag
$lt_tmp_static_flag works...
" >&6; }
9024 if ${lt_cv_prog_compiler_static_works+:} false; then :
9025 $as_echo_n "(cached
) " >&6
9027 lt_cv_prog_compiler_static_works=no
9028 save_LDFLAGS="$LDFLAGS"
9029 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9030 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9031 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9032 # The linker can only warn and ignore the option if not recognized
9033 # So say no if there are warnings
9034 if test -s conftest.err; then
9035 # Append any errors to the config.log.
9036 cat conftest.err 1>&5
9037 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9038 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9039 if diff conftest.exp conftest.er2 >/dev/null; then
9040 lt_cv_prog_compiler_static_works=yes
9043 lt_cv_prog_compiler_static_works=yes
9047 LDFLAGS="$save_LDFLAGS"
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_static_works" >&5
9051 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9053 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9056 lt_prog_compiler_static=
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9066 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9067 if ${lt_cv_prog_compiler_c_o+:} false; then :
9068 $as_echo_n "(cached
) " >&6
9070 lt_cv_prog_compiler_c_o=no
9071 $RM -r conftest 2>/dev/null
9075 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9077 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9078 # Insert the option either (1) after the last *FLAGS variable, or
9079 # (2) before a word containing "conftest.
", or (3) at the end.
9080 # Note that $ac_compile itself does not contain backslashes and begins
9081 # with a dollar sign (not a hyphen), so the echo should work correctly.
9082 lt_compile=`echo "$ac_compile" | $SED \
9083 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9084 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9085 -e 's:$: $lt_compiler_flag:'`
9086 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9087 (eval "$lt_compile" 2>out/conftest.err)
9089 cat out/conftest.err >&5
9090 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9091 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9093 # The compiler can only warn and ignore the option if not recognized
9094 # So say no if there are warnings
9095 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9096 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9097 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9098 lt_cv_prog_compiler_c_o=yes
9103 # SGI C++ compiler will create directory out/ii_files/ for
9104 # template instantiation
9105 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9106 $RM out/* && rmdir out
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9113 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
9121 $as_echo_n "checking
if $compiler supports
-c -o file.
$ac_objext...
" >&6; }
9122 if ${lt_cv_prog_compiler_c_o+:} false; then :
9123 $as_echo_n "(cached
) " >&6
9125 lt_cv_prog_compiler_c_o=no
9126 $RM -r conftest 2>/dev/null
9130 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9132 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
9133 # Insert the option either (1) after the last *FLAGS variable, or
9134 # (2) before a word containing "conftest.
", or (3) at the end.
9135 # Note that $ac_compile itself does not contain backslashes and begins
9136 # with a dollar sign (not a hyphen), so the echo should work correctly.
9137 lt_compile=`echo "$ac_compile" | $SED \
9138 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9139 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9140 -e 's:$: $lt_compiler_flag:'`
9141 (eval echo "\"\
$as_me:$LINENO: $lt_compile\"" >&5)
9142 (eval "$lt_compile" 2>out/conftest.err)
9144 cat out/conftest.err >&5
9145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9146 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9148 # The compiler can only warn and ignore the option if not recognized
9149 # So say no if there are warnings
9150 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9151 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9152 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9153 lt_cv_prog_compiler_c_o=yes
9158 # SGI C++ compiler will create directory out/ii_files/ for
9159 # template instantiation
9160 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9161 $RM out/* && rmdir out
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_compiler_c_o" >&5
9168 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9173 hard_links="nottested
"
9174 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9175 # do not overwrite the value of need_locks provided by the user
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if we can lock with hard links
" >&5
9177 $as_echo_n "checking
if we can lock with hard links...
" >&6; }
9180 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9182 ln conftest.a conftest.b 2>&5 || hard_links=no
9183 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $hard_links" >&5
9185 $as_echo "$hard_links" >&6; }
9186 if test "$hard_links" = no; then
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
9188 $as_echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
9201 $as_echo_n "checking whether the
$compiler linker
($LD) supports shared libraries...
" >&6; }
9204 allow_undefined_flag=
9205 always_export_symbols=no
9207 archive_expsym_cmds=
9208 compiler_needs_object=no
9209 enable_shared_with_static_runtimes=no
9210 export_dynamic_flag_spec=
9211 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9212 hardcode_automatic=no
9214 hardcode_direct_absolute=no
9215 hardcode_libdir_flag_spec=
9216 hardcode_libdir_flag_spec_ld=
9217 hardcode_libdir_separator=
9219 hardcode_shlibpath_var=unsupported
9221 link_all_deplibs=unknown
9224 old_archive_from_new_cmds=
9225 old_archive_from_expsyms_cmds=
9226 thread_safe_flag_spec=
9227 whole_archive_flag_spec=
9228 # include_expsyms should be a list of space-separated symbols to be *always*
9229 # included in the symbol list
9231 # exclude_expsyms can be an extended regexp of symbols to exclude
9232 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9233 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9234 # as well as any symbol that contains `d'.
9235 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9236 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9237 # platforms (ab)use it in PIC code, but their linkers get confused if
9238 # the symbol is explicitly referenced. Since portable code cannot
9239 # rely on this symbol name, it's probably fine to never include it in
9240 # preloaded symbol tables.
9241 # Exclude shared library initialization/finalization symbols.
9242 extract_expsyms_cmds=
9245 cygwin* | mingw* | pw32* | cegcc*)
9246 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9247 # When not using gcc, we currently assume that we are using
9248 # Microsoft Visual C++.
9249 if test "$GCC" != yes; then
9254 # we just hope/assume this is gcc and not c89 (= MSVC++)
9264 # On some targets, GNU ld is compatible enough with the native linker
9265 # that we're better off using the native interface for both.
9266 lt_use_gnu_ld_interface=no
9267 if test "$with_gnu_ld" = yes; then
9270 # The AIX port of GNU ld has always aspired to compatibility
9271 # with the native linker. However, as the warning in the GNU ld
9272 # block says, versions before 2.19.5* couldn't really create working
9273 # shared libraries, regardless of the interface used.
9274 case `$LD -v 2>&1` in
9275 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9276 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9277 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9279 lt_use_gnu_ld_interface=yes
9284 lt_use_gnu_ld_interface=yes
9289 if test "$lt_use_gnu_ld_interface" = yes; then
9290 # If archive_cmds runs LD, not CC, wlarc should be empty
9293 # Set some defaults for GNU ld with shared library support. These
9294 # are reset later if shared libraries are not supported. Putting them
9295 # here allows them to be overridden if necessary.
9296 runpath_var=LD_RUN_PATH
9297 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9298 export_dynamic_flag_spec='${wl}--export-dynamic'
9299 # ancient GNU ld didn't support --whole-archive et. al.
9300 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9301 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9303 whole_archive_flag_spec=
9305 supports_anon_versioning=no
9306 case `$LD -v 2>&1` in
9307 *GNU\ gold*) supports_anon_versioning=yes ;;
9308 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9309 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9310 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9311 *\ 2.11.*) ;; # other 2.11 versions
9312 *) supports_anon_versioning=yes ;;
9315 # See if GNU ld supports shared libraries.
9318 # On AIX/PPC, the GNU linker is very broken
9319 if test "$host_cpu" != ia64; then
9323 *** Warning: the GNU linker, at least up to release 2.19, is reported
9324 *** to be unable to reliably create shared libraries on AIX.
9325 *** Therefore, libtool is disabling shared libraries support. If you
9326 *** really care for shared libraries, you may want to install binutils
9327 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9328 *** You will then need to restart the configuration process.
9337 # see comment about AmigaOS4 .so support
9338 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9339 archive_expsym_cmds=''
9342 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)'
9343 hardcode_libdir_flag_spec
='-L$libdir'
9344 hardcode_minus_L
=yes
9350 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9351 allow_undefined_flag
=unsupported
9352 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9353 # support --undefined. This deserves some investigation. FIXME
9354 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9360 cygwin
* | mingw
* | pw32
* | cegcc
*)
9361 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9362 # as there is no search path for DLLs.
9363 hardcode_libdir_flag_spec
='-L$libdir'
9364 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9365 allow_undefined_flag
=unsupported
9366 always_export_symbols
=no
9367 enable_shared_with_static_runtimes
=yes
9368 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9370 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9371 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9372 # If the export-symbols file already is a .def file (1st line
9373 # is EXPORTS), use it as is; otherwise, prepend...
9374 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9375 cp $export_symbols $output_objdir/$soname.def;
9377 echo EXPORTS > $output_objdir/$soname.def;
9378 cat $export_symbols >> $output_objdir/$soname.def;
9380 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9387 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9388 link_all_deplibs
=yes
9393 hardcode_shlibpath_var
=no
9394 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9395 export_dynamic_flag_spec
='${wl}-E'
9396 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9397 # Instead, shared libraries are loaded at an image base (0x10000000 by
9398 # default) and relocated if they conflict, which is a slow very memory
9399 # consuming and fragmenting process. To avoid this, we pick a random,
9400 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9401 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9402 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9403 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'
9406 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9408 if test "$host_os" = linux-dietlibc
; then
9409 case $cc_basename in
9410 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9413 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9414 && test "$tmp_diet" = no
9416 tmp_addflag
=' $pic_flag'
9417 tmp_sharedflag
='-shared'
9418 case $cc_basename,$host_cpu in
9419 pgcc
*) # Portland Group C compiler
9420 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'
9421 tmp_addflag
=' $pic_flag'
9423 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9424 # Portland Group f77 and f90 compilers
9425 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'
9426 tmp_addflag
=' $pic_flag -Mnomain' ;;
9427 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9428 tmp_addflag
=' -i_dynamic' ;;
9429 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9430 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9431 ifc
* | ifort
*) # Intel Fortran compiler
9432 tmp_addflag
=' -nofor_main' ;;
9433 lf95
*) # Lahey Fortran 8.1
9434 whole_archive_flag_spec
=
9435 tmp_sharedflag
='--shared' ;;
9436 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9437 tmp_sharedflag
='-qmkshrobj'
9439 nvcc
*) # Cuda Compiler Driver 2.2
9440 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'
9441 compiler_needs_object
=yes
9444 case `$CC -V 2>&1 | sed 5q` in
9445 *Sun\ C
*) # Sun C 5.9
9446 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'
9447 compiler_needs_object
=yes
9448 tmp_sharedflag
='-G' ;;
9449 *Sun\ F
*) # Sun Fortran 8.3
9450 tmp_sharedflag
='-G' ;;
9452 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9454 if test "x$supports_anon_versioning" = xyes
; then
9455 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9456 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9457 echo "local: *; };" >> $output_objdir/$libname.ver~
9458 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9461 case $cc_basename in
9462 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9463 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9464 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9465 hardcode_libdir_flag_spec
=
9466 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9467 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9468 if test "x$supports_anon_versioning" = xyes
; then
9469 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9470 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9471 echo "local: *; };" >> $output_objdir/$libname.ver~
9472 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9482 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9483 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9486 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9487 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9492 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9496 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9497 *** create shared libraries on Solaris systems. Therefore, libtool
9498 *** is disabling shared libraries support. We urge you to upgrade GNU
9499 *** binutils to release 2.9.1 or newer. Another option is to modify
9500 *** your PATH or compiler configuration so that the native linker is
9501 *** used, and then restart.
9504 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9505 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9506 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9512 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9513 case `$LD -v 2>&1` in
9514 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9518 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9519 *** reliably create shared libraries on SCO systems. Therefore, libtool
9520 *** is disabling shared libraries support. We urge you to upgrade GNU
9521 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9522 *** your PATH or compiler configuration so that the native linker is
9523 *** used, and then restart.
9528 # For security reasons, it is highly recommended that you always
9529 # use absolute paths for naming shared libraries, and exclude the
9530 # DT_RUNPATH tag from executables and libraries. But doing so
9531 # requires that you compile everything twice, which is a pain.
9532 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9533 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9534 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9535 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9544 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9547 hardcode_shlibpath_var
=no
9551 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9552 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9553 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9560 if test "$ld_shlibs" = no
; then
9562 hardcode_libdir_flag_spec
=
9563 export_dynamic_flag_spec
=
9564 whole_archive_flag_spec
=
9567 # PORTME fill in a description of your system's linker (not GNU ld)
9570 allow_undefined_flag
=unsupported
9571 always_export_symbols
=yes
9572 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'
9573 # Note: this linker hardcodes the directories in LIBPATH if there
9574 # are no directories specified by -L.
9575 hardcode_minus_L
=yes
9576 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9577 # Neither direct hardcoding nor static linking is supported with a
9579 hardcode_direct
=unsupported
9584 if test "$host_cpu" = ia64
; then
9585 # On IA64, the linker does run time linking by default, so we don't
9586 # have to do anything special.
9587 aix_use_runtimelinking
=no
9588 exp_sym_flag
='-Bexport'
9591 # If we're using GNU nm, then we don't want the "-C" option.
9592 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9593 # Also, AIX nm treats weak defined symbols like other global
9594 # defined symbols, whereas GNU nm marks them as "W".
9595 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9596 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'
9598 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'
9600 aix_use_runtimelinking
=no
9602 # Test if we are trying to use run time linking or normal
9603 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9604 # need to do runtime linking.
9605 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9606 for ld_flag
in $LDFLAGS; do
9607 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9608 aix_use_runtimelinking
=yes
9615 exp_sym_flag
='-bexport'
9616 no_entry_flag
='-bnoentry'
9619 # When large executables or shared objects are built, AIX ld can
9620 # have problems creating the table of contents. If linking a library
9621 # or program results in "error TOC overflow" add -mminimal-toc to
9622 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9623 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9627 hardcode_direct_absolute
=yes
9628 hardcode_libdir_separator
=':'
9629 link_all_deplibs
=yes
9630 file_list_spec
='${wl}-f,'
9632 if test "$GCC" = yes; then
9633 case $host_os in aix4.
[012]|aix4.
[012].
*)
9634 # We only want to do this on AIX 4.2 and lower, the check
9635 # below for broken collect2 doesn't work under 4.3+
9636 collect2name
=`${CC} -print-prog-name=collect2`
9637 if test -f "$collect2name" &&
9638 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9640 # We have reworked collect2
9643 # We have old collect2
9644 hardcode_direct
=unsupported
9645 # It fails to find uninstalled libraries when the uninstalled
9646 # path is not listed in the libpath. Setting hardcode_minus_L
9647 # to unsupported forces relinking
9648 hardcode_minus_L
=yes
9649 hardcode_libdir_flag_spec
='-L$libdir'
9650 hardcode_libdir_separator
=
9654 shared_flag
='-shared'
9655 if test "$aix_use_runtimelinking" = yes; then
9656 shared_flag
="$shared_flag "'${wl}-G'
9660 if test "$host_cpu" = ia64
; then
9661 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9662 # chokes on -Wl,-G. The following line is correct:
9665 if test "$aix_use_runtimelinking" = yes; then
9666 shared_flag
='${wl}-G'
9668 shared_flag
='${wl}-bM:SRE'
9673 export_dynamic_flag_spec
='${wl}-bexpall'
9674 # It seems that -bexpall does not export symbols beginning with
9675 # underscore (_), so it is better to generate a list of symbols to export.
9676 always_export_symbols
=yes
9677 if test "$aix_use_runtimelinking" = yes; then
9678 # Warning - without using the other runtime loading flags (-brtl),
9679 # -berok will link without error, but may produce a broken library.
9680 allow_undefined_flag
='-berok'
9681 # Determine the default libpath from the value encoded in an
9683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9684 /* end confdefs.h. */
9694 if ac_fn_c_try_link
"$LINENO"; then :
9696 lt_aix_libpath_sed
='
9697 /Import File Strings/,/^$/ {
9703 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9704 # Check for a 64-bit object if we didn't find anything.
9705 if test -z "$aix_libpath"; then
9706 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9709 rm -f core conftest.err conftest.
$ac_objext \
9710 conftest
$ac_exeext conftest.
$ac_ext
9711 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9713 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9714 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"
9716 if test "$host_cpu" = ia64
; then
9717 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9718 allow_undefined_flag
="-z nodefs"
9719 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"
9721 # Determine the default libpath from the value encoded in an
9723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9734 if ac_fn_c_try_link
"$LINENO"; then :
9736 lt_aix_libpath_sed
='
9737 /Import File Strings/,/^$/ {
9743 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9744 # Check for a 64-bit object if we didn't find anything.
9745 if test -z "$aix_libpath"; then
9746 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9749 rm -f core conftest.err conftest.
$ac_objext \
9750 conftest
$ac_exeext conftest.
$ac_ext
9751 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9753 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9754 # Warning - without using the other run time loading flags,
9755 # -berok will link without error, but may produce a broken library.
9756 no_undefined_flag
=' ${wl}-bernotok'
9757 allow_undefined_flag
=' ${wl}-berok'
9758 if test "$with_gnu_ld" = yes; then
9759 # We only use this code for GNU lds that support --whole-archive.
9760 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9762 # Exported symbols can be pulled into shared objects from archives
9763 whole_archive_flag_spec
='$convenience'
9765 archive_cmds_need_lc
=yes
9766 # This is similar to how AIX traditionally builds its shared libraries.
9767 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'
9775 # see comment about AmigaOS4 .so support
9776 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9777 archive_expsym_cmds
=''
9780 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)'
9781 hardcode_libdir_flag_spec
='-L$libdir'
9782 hardcode_minus_L
=yes
9788 export_dynamic_flag_spec
=-rdynamic
9791 cygwin
* | mingw
* | pw32
* | cegcc
*)
9792 # When not using gcc, we currently assume that we are using
9793 # Microsoft Visual C++.
9794 # hardcode_libdir_flag_spec is actually meaningless, as there is
9795 # no search path for DLLs.
9796 hardcode_libdir_flag_spec
=' '
9797 allow_undefined_flag
=unsupported
9798 # Tell ltmain to make .lib files, not .a files.
9800 # Tell ltmain to make .dll files, not .so files.
9802 # FIXME: Setting linknames here is a bad hack.
9803 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9804 # The linker will automatically build a .lib file if we build a DLL.
9805 old_archive_from_new_cmds
='true'
9806 # FIXME: Should let the user specify the lib program.
9807 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9808 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9809 enable_shared_with_static_runtimes
=yes
9812 darwin
* | rhapsody
*)
9815 archive_cmds_need_lc
=no
9817 hardcode_automatic
=yes
9818 hardcode_shlibpath_var
=unsupported
9819 if test "$lt_cv_ld_force_load" = "yes"; then
9820 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\"`'
9822 whole_archive_flag_spec
=''
9824 link_all_deplibs
=yes
9825 allow_undefined_flag
="$_lt_dar_allow_undefined"
9826 case $cc_basename in
9827 ifort
*) _lt_dar_can_shared
=yes ;;
9828 *) _lt_dar_can_shared
=$GCC ;;
9830 if test "$_lt_dar_can_shared" = "yes"; then
9831 output_verbose_link_cmd
=func_echo_all
9832 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9833 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9834 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}"
9835 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}"
9844 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9845 hardcode_libdir_flag_spec
='-L$libdir'
9846 hardcode_shlibpath_var
=no
9849 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9850 # support. Future versions do this automatically, but an explicit c++rt0.o
9851 # does not break anything, and helps significantly (at the cost of a little
9854 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9855 hardcode_libdir_flag_spec
='-R$libdir'
9857 hardcode_shlibpath_var
=no
9860 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9862 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9864 hardcode_minus_L
=yes
9865 hardcode_shlibpath_var
=no
9868 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9869 freebsd
* | dragonfly
*)
9870 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9871 hardcode_libdir_flag_spec
='-R$libdir'
9873 hardcode_shlibpath_var
=no
9877 if test "$GCC" = yes; then
9878 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'
9880 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'
9882 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9883 hardcode_libdir_separator
=:
9886 # hardcode_minus_L: Not really in the search PATH,
9887 # but as the default location of the library.
9888 hardcode_minus_L
=yes
9889 export_dynamic_flag_spec
='${wl}-E'
9893 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9894 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9896 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9898 if test "$with_gnu_ld" = no
; then
9899 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9900 hardcode_libdir_flag_spec_ld
='+b $libdir'
9901 hardcode_libdir_separator
=:
9903 hardcode_direct_absolute
=yes
9904 export_dynamic_flag_spec
='${wl}-E'
9905 # hardcode_minus_L: Not really in the search PATH,
9906 # but as the default location of the library.
9907 hardcode_minus_L
=yes
9912 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9915 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9918 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9921 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9927 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9930 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9934 # Older versions of the 11.00 compiler do not understand -b yet
9935 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9937 $as_echo_n "checking if $CC understands -b... " >&6; }
9938 if ${lt_cv_prog_compiler__b+:} false
; then :
9939 $as_echo_n "(cached) " >&6
9941 lt_cv_prog_compiler__b
=no
9942 save_LDFLAGS
="$LDFLAGS"
9943 LDFLAGS
="$LDFLAGS -b"
9944 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9945 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9946 # The linker can only warn and ignore the option if not recognized
9947 # So say no if there are warnings
9948 if test -s conftest.err
; then
9949 # Append any errors to the config.log.
9950 cat conftest.err
1>&5
9951 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9952 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9953 if diff conftest.exp conftest.er2
>/dev
/null
; then
9954 lt_cv_prog_compiler__b
=yes
9957 lt_cv_prog_compiler__b
=yes
9961 LDFLAGS
="$save_LDFLAGS"
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9965 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9967 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9968 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9970 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9976 if test "$with_gnu_ld" = no
; then
9977 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9978 hardcode_libdir_separator
=:
9983 hardcode_shlibpath_var
=no
9987 hardcode_direct_absolute
=yes
9988 export_dynamic_flag_spec
='${wl}-E'
9990 # hardcode_minus_L: Not really in the search PATH,
9991 # but as the default location of the library.
9992 hardcode_minus_L
=yes
9998 irix5
* | irix6
* | nonstopux
*)
9999 if test "$GCC" = yes; then
10000 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'
10001 # Try to use the -exported_symbol ld option, if it does not
10002 # work, assume that -exports_file does not work either and
10003 # implicitly export all symbols.
10004 save_LDFLAGS
="$LDFLAGS"
10005 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10010 if ac_fn_c_try_link
"$LINENO"; then :
10011 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'
10014 rm -f core conftest.err conftest.
$ac_objext \
10015 conftest
$ac_exeext conftest.
$ac_ext
10016 LDFLAGS
="$save_LDFLAGS"
10018 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'
10019 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'
10021 archive_cmds_need_lc
='no'
10022 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10023 hardcode_libdir_separator
=:
10025 link_all_deplibs
=yes
10029 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10030 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10032 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10034 hardcode_libdir_flag_spec
='-R$libdir'
10035 hardcode_direct
=yes
10036 hardcode_shlibpath_var
=no
10040 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10041 hardcode_direct
=yes
10042 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10043 hardcode_libdir_separator
=:
10044 hardcode_shlibpath_var
=no
10051 if test -f /usr
/libexec
/ld.so
; then
10052 hardcode_direct
=yes
10053 hardcode_shlibpath_var
=no
10054 hardcode_direct_absolute
=yes
10055 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10056 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10057 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10058 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10059 export_dynamic_flag_spec
='${wl}-E'
10062 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10063 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10064 hardcode_libdir_flag_spec
='-R$libdir'
10067 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10068 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10078 hardcode_libdir_flag_spec
='-L$libdir'
10079 hardcode_minus_L
=yes
10080 allow_undefined_flag
=unsupported
10081 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'
10082 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10086 if test "$GCC" = yes; then
10087 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10088 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'
10090 allow_undefined_flag
=' -expect_unresolved \*'
10091 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'
10093 archive_cmds_need_lc
='no'
10094 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10095 hardcode_libdir_separator
=:
10098 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10099 if test "$GCC" = yes; then
10100 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10101 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'
10102 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10104 allow_undefined_flag
=' -expect_unresolved \*'
10105 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'
10106 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~
10107 $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'
10109 # Both c and cxx compiler support -rpath directly
10110 hardcode_libdir_flag_spec
='-rpath $libdir'
10112 archive_cmds_need_lc
='no'
10113 hardcode_libdir_separator
=:
10117 no_undefined_flag
=' -z defs'
10118 if test "$GCC" = yes; then
10120 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10121 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10122 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10124 case `$CC -V 2>&1` in
10127 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10128 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10129 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10133 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10134 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10135 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10139 hardcode_libdir_flag_spec
='-R$libdir'
10140 hardcode_shlibpath_var
=no
10142 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10144 # The compiler driver will combine and reorder linker options,
10145 # but understands `-z linker_flag'. GCC discards it without `$wl',
10146 # but is careful enough not to reorder.
10147 # Supported since Solaris 2.6 (maybe 2.5.1?)
10148 if test "$GCC" = yes; then
10149 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10151 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10155 link_all_deplibs
=yes
10159 if test "x$host_vendor" = xsequent
; then
10160 # Use $CC to link under sequent, because it throws in some extra .o
10161 # files that make .init and .fini sections work.
10162 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10164 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10166 hardcode_libdir_flag_spec
='-L$libdir'
10167 hardcode_direct
=yes
10168 hardcode_minus_L
=yes
10169 hardcode_shlibpath_var
=no
10173 case $host_vendor in
10175 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10176 hardcode_direct
=yes # is this really true???
10179 ## LD is ld it makes a PLAMLIB
10180 ## CC just makes a GrossModule.
10181 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10182 reload_cmds
='$CC -r -o $output$reload_objs'
10186 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10187 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10190 runpath_var
='LD_RUN_PATH'
10191 hardcode_shlibpath_var
=no
10195 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10196 hardcode_shlibpath_var
=no
10197 export_dynamic_flag_spec
='-Bexport'
10201 if test -d /usr
/nec
; then
10202 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10203 hardcode_shlibpath_var
=no
10204 runpath_var
=LD_RUN_PATH
10205 hardcode_runpath_var
=yes
10210 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10211 no_undefined_flag
='${wl}-z,text'
10212 archive_cmds_need_lc
=no
10213 hardcode_shlibpath_var
=no
10214 runpath_var
='LD_RUN_PATH'
10216 if test "$GCC" = yes; then
10217 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10218 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10220 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10221 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10225 sysv5
* | sco3.2v5
* | sco5v6
*)
10226 # Note: We can NOT use -z defs as we might desire, because we do not
10227 # link with -lc, and that would cause any symbols used from libc to
10228 # always be unresolved, which means just about no library would
10229 # ever link correctly. If we're not using GNU ld we use -z text
10230 # though, which does catch some bad symbols but isn't as heavy-handed
10232 no_undefined_flag
='${wl}-z,text'
10233 allow_undefined_flag
='${wl}-z,nodefs'
10234 archive_cmds_need_lc
=no
10235 hardcode_shlibpath_var
=no
10236 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10237 hardcode_libdir_separator
=':'
10238 link_all_deplibs
=yes
10239 export_dynamic_flag_spec
='${wl}-Bexport'
10240 runpath_var
='LD_RUN_PATH'
10242 if test "$GCC" = yes; then
10243 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10244 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10246 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10247 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10252 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10253 hardcode_libdir_flag_spec
='-L$libdir'
10254 hardcode_shlibpath_var
=no
10262 if test x
$host_vendor = xsni
; then
10264 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10265 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10272 $as_echo "$ld_shlibs" >&6; }
10273 test "$ld_shlibs" = no
&& can_build_shared
=no
10275 with_gnu_ld
=$with_gnu_ld
10292 # Do we need to explicitly link libc?
10294 case "x$archive_cmds_need_lc" in
10296 # Assume -lc should be added
10297 archive_cmds_need_lc
=yes
10299 if test "$enable_shared" = yes && test "$GCC" = yes; then
10300 case $archive_cmds in
10302 # FIXME: we may have to deal with multi-command sequences.
10305 # Test whether the compiler implicitly links with -lc since on some
10306 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10307 # to ld, don't add -lc before -lgcc.
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10309 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10310 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10311 $as_echo_n "(cached) " >&6
10314 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10317 (eval $ac_compile) 2>&5
10319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10320 test $ac_status = 0; } 2>conftest.err
; then
10323 libobjs
=conftest.
$ac_objext
10325 wl
=$lt_prog_compiler_wl
10326 pic_flag
=$lt_prog_compiler_pic
10332 lt_save_allow_undefined_flag
=$allow_undefined_flag
10333 allow_undefined_flag
=
10334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10335 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10338 test $ac_status = 0; }
10340 lt_cv_archive_cmds_need_lc
=no
10342 lt_cv_archive_cmds_need_lc
=yes
10344 allow_undefined_flag
=$lt_save_allow_undefined_flag
10346 cat conftest.err
1>&5
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10352 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10353 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10517 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10519 if test "$GCC" = yes; then
10521 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10522 *) lt_awk_arg
="/^libraries:/" ;;
10525 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10526 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10528 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10529 case $lt_search_path_spec in
10531 # if the path contains ";" then we assume it to be the separator
10532 # otherwise default to the standard path separator (i.e. ":") - it is
10533 # assumed that no part of a normal pathname contains ";" but that should
10534 # okay in the real world where ";" in dirpaths is itself problematic.
10535 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10538 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10541 # Ok, now we have the path, separated by spaces, we can step through it
10542 # and add multilib dir if necessary.
10543 lt_tmp_lt_search_path_spec
=
10544 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10545 for lt_sys_path
in $lt_search_path_spec; do
10546 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10547 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10549 test -d "$lt_sys_path" && \
10550 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10553 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10554 BEGIN {RS=" "; FS="/|\n";} {
10557 for (lt_i = NF; lt_i > 0; lt_i--) {
10558 if ($lt_i != "" && $lt_i != ".") {
10559 if ($lt_i == "..") {
10562 if (lt_count == 0) {
10563 lt_foo="/" $lt_i lt_foo;
10570 if (lt_foo != "") { lt_freq[lt_foo]++; }
10571 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10573 # AWK program above erroneously prepends '/' to C:/dos/paths
10576 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10577 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10579 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10581 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10583 library_names_spec
=
10584 libname_spec
='lib$name'
10588 postuninstall_cmds
=
10592 shlibpath_overrides_runpath
=unknown
10594 dynamic_linker
="$host_os ld.so"
10595 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10596 need_lib_prefix
=unknown
10597 hardcode_into_libs
=no
10599 # when you set need_version to no, make sure it does not cause -set_version
10600 # flags to be left without arguments
10601 need_version
=unknown
10606 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10607 shlibpath_var
=LIBPATH
10609 # AIX 3 has no versioning support, so we append a major version to the name.
10610 soname_spec
='${libname}${release}${shared_ext}$major'
10617 hardcode_into_libs
=yes
10618 if test "$host_cpu" = ia64
; then
10619 # AIX 5 supports IA64
10620 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10621 shlibpath_var
=LD_LIBRARY_PATH
10623 # With GCC up to 2.95.x, collect2 would create an import file
10624 # for dependence libraries. The import file would start with
10625 # the line `#! .'. This would cause the generated library to
10626 # depend on `.', always an invalid library. This was fixed in
10627 # development snapshots of GCC prior to 3.0.
10629 aix4 | aix4.
[01] | aix4.
[01].
*)
10630 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10632 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10635 can_build_shared
=no
10639 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10640 # soname into executable. Probably we can add versioning support to
10641 # collect2, so additional links can be useful in future.
10642 if test "$aix_use_runtimelinking" = yes; then
10643 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10644 # instead of lib<name>.a to let people know that these are not
10645 # typical AIX shared libraries.
10646 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648 # We preserve .a as extension for shared libraries through AIX4.2
10649 # and later when we are not doing run time linking.
10650 library_names_spec
='${libname}${release}.a $libname.a'
10651 soname_spec
='${libname}${release}${shared_ext}$major'
10653 shlibpath_var
=LIBPATH
10660 # Since July 2007 AmigaOS4 officially supports .so libraries.
10661 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10665 library_names_spec
='$libname.ixlibrary $libname.a'
10666 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10667 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'
10673 library_names_spec
='${libname}${shared_ext}'
10674 dynamic_linker
="$host_os ld.so"
10675 shlibpath_var
=LIBRARY_PATH
10681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10682 soname_spec
='${libname}${release}${shared_ext}$major'
10683 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10684 shlibpath_var
=LD_LIBRARY_PATH
10685 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10686 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10687 # the default ld.so.conf also contains /usr/contrib/lib and
10688 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10689 # libtool to hard-code these into programs
10692 cygwin
* | mingw
* | pw32
* | cegcc
*)
10693 version_type
=windows
10698 case $GCC,$host_os in
10699 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10700 library_names_spec
='$libname.dll.a'
10701 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10702 postinstall_cmds
='base_file=`basename \${file}`~
10703 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10704 dldir=$destdir/`dirname \$dlpath`~
10705 test -d \$dldir || mkdir -p \$dldir~
10706 $install_prog $dir/$dlname \$dldir/$dlname~
10707 chmod a+x \$dldir/$dlname~
10708 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10709 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10711 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10712 dlpath=$dir/\$dldll~
10714 shlibpath_overrides_runpath
=yes
10718 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10719 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10721 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10724 # MinGW DLLs use traditional 'lib' prefix
10725 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10728 # pw32 DLLs use 'pw' prefix rather than 'lib'
10729 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10735 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10738 dynamic_linker
='Win32 ld.exe'
10739 # FIXME: first we should search . and the directory the executable is in
10743 darwin
* | rhapsody
*)
10744 dynamic_linker
="$host_os dyld"
10745 version_type
=darwin
10748 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10749 soname_spec
='${libname}${release}${major}$shared_ext'
10750 shlibpath_overrides_runpath
=yes
10751 shlibpath_var
=DYLD_LIBRARY_PATH
10752 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10754 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10755 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10762 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10763 soname_spec
='${libname}${release}${shared_ext}$major'
10764 shlibpath_var
=LD_LIBRARY_PATH
10767 freebsd
* | dragonfly
*)
10768 # DragonFly does not have aout. When/if they implement a new
10769 # versioning mechanism, adjust this.
10770 if test -x /usr
/bin
/objformat
; then
10771 objformat
=`/usr/bin/objformat`
10774 freebsd
[23].
*) objformat
=aout
;;
10775 *) objformat
=elf
;;
10778 version_type
=freebsd-
$objformat
10779 case $version_type in
10781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10786 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10790 shlibpath_var
=LD_LIBRARY_PATH
10793 shlibpath_overrides_runpath
=yes
10795 freebsd3.
[01]* | freebsdelf3.
[01]*)
10796 shlibpath_overrides_runpath
=yes
10797 hardcode_into_libs
=yes
10799 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10800 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10801 shlibpath_overrides_runpath
=no
10802 hardcode_into_libs
=yes
10804 *) # from 4.6 on, and DragonFly
10805 shlibpath_overrides_runpath
=yes
10806 hardcode_into_libs
=yes
10815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10816 soname_spec
='${libname}${release}${shared_ext}$major'
10817 shlibpath_var
=LD_LIBRARY_PATH
10818 hardcode_into_libs
=yes
10825 dynamic_linker
="$host_os runtime_loader"
10826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10827 soname_spec
='${libname}${release}${shared_ext}$major'
10828 shlibpath_var
=LIBRARY_PATH
10829 shlibpath_overrides_runpath
=yes
10830 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10831 hardcode_into_libs
=yes
10834 hpux9
* | hpux10
* | hpux11
*)
10835 # Give a soname corresponding to the major version so that dld.sl refuses to
10836 # link against other versions.
10843 hardcode_into_libs
=yes
10844 dynamic_linker
="$host_os dld.so"
10845 shlibpath_var
=LD_LIBRARY_PATH
10846 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10848 soname_spec
='${libname}${release}${shared_ext}$major'
10849 if test "X$HPUX_IA64_MODE" = X32
; then
10850 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10852 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10854 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10858 hardcode_into_libs
=yes
10859 dynamic_linker
="$host_os dld.sl"
10860 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10861 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10863 soname_spec
='${libname}${release}${shared_ext}$major'
10864 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10865 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10869 dynamic_linker
="$host_os dld.sl"
10870 shlibpath_var
=SHLIB_PATH
10871 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873 soname_spec
='${libname}${release}${shared_ext}$major'
10876 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10877 postinstall_cmds
='chmod 555 $lib'
10878 # or fails outright, so override atomically:
10879 install_override_mode
=555
10886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10887 soname_spec
='${libname}${release}${shared_ext}$major'
10888 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10889 shlibpath_var
=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath
=no
10891 hardcode_into_libs
=yes
10894 irix5
* | irix6
* | nonstopux
*)
10896 nonstopux
*) version_type
=nonstopux
;;
10898 if test "$lt_cv_prog_gnu_ld" = yes; then
10906 soname_spec
='${libname}${release}${shared_ext}$major'
10907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10909 irix5
* | nonstopux
*)
10910 libsuff
= shlibsuff
=
10913 case $LD in # libtool.m4 will add one of these switches to LD
10914 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10915 libsuff
= shlibsuff
= libmagic
=32-bit;;
10916 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10917 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10918 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10919 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10920 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10924 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10925 shlibpath_overrides_runpath
=no
10926 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10927 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10928 hardcode_into_libs
=yes
10931 # No shared lib support for Linux oldld, aout, or coff.
10932 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10936 # This must be Linux ELF.
10937 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10942 soname_spec
='${libname}${release}${shared_ext}$major'
10943 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10944 shlibpath_var
=LD_LIBRARY_PATH
10945 shlibpath_overrides_runpath
=no
10947 # Some binutils ld are patched to set DT_RUNPATH
10948 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10949 $as_echo_n "(cached) " >&6
10951 lt_cv_shlibpath_overrides_runpath
=no
10952 save_LDFLAGS
=$LDFLAGS
10953 save_libdir
=$libdir
10954 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10955 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10967 if ac_fn_c_try_link
"$LINENO"; then :
10968 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10969 lt_cv_shlibpath_overrides_runpath
=yes
10972 rm -f core conftest.err conftest.
$ac_objext \
10973 conftest
$ac_exeext conftest.
$ac_ext
10974 LDFLAGS
=$save_LDFLAGS
10975 libdir
=$save_libdir
10979 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10981 # This implies no fast_install, which is unacceptable.
10982 # Some rework will be needed to allow for fast_install
10983 # before this can be enabled.
10984 hardcode_into_libs
=yes
10986 # Append ld.so.conf contents to the search path
10987 if test -f /etc
/ld.so.conf
; then
10988 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' ' '`
10989 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10992 # We used to test for /lib/ld.so.1 and disable shared libraries on
10993 # powerpc, because MkLinux only supported shared libraries with the
10994 # GNU dynamic linker. Since this was broken with cross compilers,
10995 # most powerpc-linux boxes support dynamic linking these days and
10996 # people can always --disable-shared, the test was removed, and we
10997 # assume the GNU/Linux dynamic linker is in use.
10998 dynamic_linker
='GNU/Linux ld.so'
11005 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11007 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11008 dynamic_linker
='NetBSD (a.out) ld.so'
11010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11011 soname_spec
='${libname}${release}${shared_ext}$major'
11012 dynamic_linker
='NetBSD ld.elf_so'
11014 shlibpath_var
=LD_LIBRARY_PATH
11015 shlibpath_overrides_runpath
=yes
11016 hardcode_into_libs
=yes
11021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11022 shlibpath_var
=LD_LIBRARY_PATH
11023 shlibpath_overrides_runpath
=yes
11030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11031 soname_spec
='${libname}${release}${shared_ext}$major'
11032 shlibpath_var
=LD_LIBRARY_PATH
11033 shlibpath_overrides_runpath
=no
11034 hardcode_into_libs
=yes
11035 dynamic_linker
='ldqnx.so'
11040 sys_lib_dlsearch_path_spec
="/usr/lib"
11042 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11044 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11045 *) need_version
=no
;;
11047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11048 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11049 shlibpath_var
=LD_LIBRARY_PATH
11050 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11052 openbsd2.
[89] | openbsd2.
[89].
*)
11053 shlibpath_overrides_runpath
=no
11056 shlibpath_overrides_runpath
=yes
11060 shlibpath_overrides_runpath
=yes
11065 libname_spec
='$name'
11068 library_names_spec
='$libname${shared_ext} $libname.a'
11069 dynamic_linker
='OS/2 ld.exe'
11070 shlibpath_var
=LIBPATH
11073 osf3
* | osf4
* | osf5
*)
11077 soname_spec
='${libname}${release}${shared_ext}$major'
11078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11079 shlibpath_var
=LD_LIBRARY_PATH
11080 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11081 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11093 soname_spec
='${libname}${release}${shared_ext}$major'
11094 shlibpath_var
=LD_LIBRARY_PATH
11095 shlibpath_overrides_runpath
=yes
11096 hardcode_into_libs
=yes
11097 # ldd complains unless libraries are executable
11098 postinstall_cmds
='chmod +x $lib'
11103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11104 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11105 shlibpath_var
=LD_LIBRARY_PATH
11106 shlibpath_overrides_runpath
=yes
11107 if test "$with_gnu_ld" = yes; then
11115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11116 soname_spec
='${libname}${release}${shared_ext}$major'
11117 shlibpath_var
=LD_LIBRARY_PATH
11118 case $host_vendor in
11120 shlibpath_overrides_runpath
=no
11122 runpath_var
=LD_RUN_PATH
11130 shlibpath_overrides_runpath
=no
11131 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11137 if test -d /usr
/nec
;then
11139 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11140 soname_spec
='$libname${shared_ext}.$major'
11141 shlibpath_var
=LD_LIBRARY_PATH
11145 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11146 version_type
=freebsd-elf
11149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11150 soname_spec
='${libname}${release}${shared_ext}$major'
11151 shlibpath_var
=LD_LIBRARY_PATH
11152 shlibpath_overrides_runpath
=yes
11153 hardcode_into_libs
=yes
11154 if test "$with_gnu_ld" = yes; then
11155 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11157 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11160 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11164 sys_lib_dlsearch_path_spec
='/usr/lib'
11168 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11173 shlibpath_var
=LD_LIBRARY_PATH
11174 shlibpath_overrides_runpath
=no
11175 hardcode_into_libs
=yes
11180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11181 soname_spec
='${libname}${release}${shared_ext}$major'
11182 shlibpath_var
=LD_LIBRARY_PATH
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11190 $as_echo "$dynamic_linker" >&6; }
11191 test "$dynamic_linker" = no
&& can_build_shared
=no
11193 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11194 if test "$GCC" = yes; then
11195 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11198 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11199 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11201 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11202 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11297 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11299 if test -n "$hardcode_libdir_flag_spec" ||
11300 test -n "$runpath_var" ||
11301 test "X$hardcode_automatic" = "Xyes" ; then
11303 # We can hardcode non-existent directories.
11304 if test "$hardcode_direct" != no
&&
11305 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11306 # have to relink, otherwise we might link with an installed library
11307 # when we should be linking with a yet-to-be-installed one
11308 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11309 test "$hardcode_minus_L" != no
; then
11310 # Linking always hardcodes the temporary library directory.
11311 hardcode_action
=relink
11313 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11314 hardcode_action
=immediate
11317 # We cannot hardcode anything, or else we can only hardcode existing
11319 hardcode_action
=unsupported
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11322 $as_echo "$hardcode_action" >&6; }
11324 if test "$hardcode_action" = relink ||
11325 test "$inherit_rpath" = yes; then
11326 # Fast installation is not supported
11327 enable_fast_install
=no
11328 elif test "$shlibpath_overrides_runpath" = yes ||
11329 test "$enable_shared" = no
; then
11330 # Fast installation is not necessary
11331 enable_fast_install
=needless
11339 if test "x$enable_dlopen" != xyes
; then
11340 enable_dlopen
=unknown
11341 enable_dlopen_self
=unknown
11342 enable_dlopen_self_static
=unknown
11349 lt_cv_dlopen
="load_add_on"
11351 lt_cv_dlopen_self
=yes
11354 mingw
* | pw32
* | cegcc
*)
11355 lt_cv_dlopen
="LoadLibrary"
11360 lt_cv_dlopen
="dlopen"
11365 # if libdl is installed we need to link against it
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11367 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11368 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11369 $as_echo_n "(cached) " >&6
11371 ac_check_lib_save_LIBS
=$LIBS
11373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h. */
11376 /* Override any GCC internal prototype to avoid an error.
11377 Use char because int might match the return type of a GCC
11378 builtin and then its argument prototype would still apply. */
11391 if ac_fn_c_try_link
"$LINENO"; then :
11392 ac_cv_lib_dl_dlopen
=yes
11394 ac_cv_lib_dl_dlopen
=no
11396 rm -f core conftest.err conftest.
$ac_objext \
11397 conftest
$ac_exeext conftest.
$ac_ext
11398 LIBS
=$ac_check_lib_save_LIBS
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11401 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11402 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11403 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11406 lt_cv_dlopen
="dyld"
11408 lt_cv_dlopen_self
=yes
11415 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11416 if test "x$ac_cv_func_shl_load" = xyes
; then :
11417 lt_cv_dlopen
="shl_load"
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11420 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11421 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11422 $as_echo_n "(cached) " >&6
11424 ac_check_lib_save_LIBS
=$LIBS
11426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11429 /* Override any GCC internal prototype to avoid an error.
11430 Use char because int might match the return type of a GCC
11431 builtin and then its argument prototype would still apply. */
11439 return shl_load ();
11444 if ac_fn_c_try_link
"$LINENO"; then :
11445 ac_cv_lib_dld_shl_load
=yes
11447 ac_cv_lib_dld_shl_load
=no
11449 rm -f core conftest.err conftest.
$ac_objext \
11450 conftest
$ac_exeext conftest.
$ac_ext
11451 LIBS
=$ac_check_lib_save_LIBS
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11454 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11455 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11456 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11458 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11459 if test "x$ac_cv_func_dlopen" = xyes
; then :
11460 lt_cv_dlopen
="dlopen"
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11463 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11464 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11465 $as_echo_n "(cached) " >&6
11467 ac_check_lib_save_LIBS
=$LIBS
11469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11472 /* Override any GCC internal prototype to avoid an error.
11473 Use char because int might match the return type of a GCC
11474 builtin and then its argument prototype would still apply. */
11487 if ac_fn_c_try_link
"$LINENO"; then :
11488 ac_cv_lib_dl_dlopen
=yes
11490 ac_cv_lib_dl_dlopen
=no
11492 rm -f core conftest.err conftest.
$ac_objext \
11493 conftest
$ac_exeext conftest.
$ac_ext
11494 LIBS
=$ac_check_lib_save_LIBS
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11497 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11498 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11499 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11502 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11503 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11504 $as_echo_n "(cached) " >&6
11506 ac_check_lib_save_LIBS
=$LIBS
11507 LIBS
="-lsvld $LIBS"
11508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11511 /* Override any GCC internal prototype to avoid an error.
11512 Use char because int might match the return type of a GCC
11513 builtin and then its argument prototype would still apply. */
11526 if ac_fn_c_try_link
"$LINENO"; then :
11527 ac_cv_lib_svld_dlopen
=yes
11529 ac_cv_lib_svld_dlopen
=no
11531 rm -f core conftest.err conftest.
$ac_objext \
11532 conftest
$ac_exeext conftest.
$ac_ext
11533 LIBS
=$ac_check_lib_save_LIBS
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11536 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11537 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11538 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11541 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11542 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11543 $as_echo_n "(cached) " >&6
11545 ac_check_lib_save_LIBS
=$LIBS
11547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11550 /* Override any GCC internal prototype to avoid an error.
11551 Use char because int might match the return type of a GCC
11552 builtin and then its argument prototype would still apply. */
11560 return dld_link ();
11565 if ac_fn_c_try_link
"$LINENO"; then :
11566 ac_cv_lib_dld_dld_link
=yes
11568 ac_cv_lib_dld_dld_link
=no
11570 rm -f core conftest.err conftest.
$ac_objext \
11571 conftest
$ac_exeext conftest.
$ac_ext
11572 LIBS
=$ac_check_lib_save_LIBS
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11575 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11576 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11577 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11598 if test "x$lt_cv_dlopen" != xno
; then
11604 case $lt_cv_dlopen in
11606 save_CPPFLAGS
="$CPPFLAGS"
11607 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11609 save_LDFLAGS
="$LDFLAGS"
11610 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11613 LIBS
="$lt_cv_dlopen_libs $LIBS"
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11616 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11617 if ${lt_cv_dlopen_self+:} false
; then :
11618 $as_echo_n "(cached) " >&6
11620 if test "$cross_compiling" = yes; then :
11621 lt_cv_dlopen_self
=cross
11623 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11624 lt_status
=$lt_dlunknown
11625 cat > conftest.
$ac_ext <<_LT_EOF
11626 #line 11626 "configure"
11627 #include "confdefs.h"
11636 # define LT_DLGLOBAL RTLD_GLOBAL
11639 # define LT_DLGLOBAL DL_GLOBAL
11641 # define LT_DLGLOBAL 0
11645 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11646 find out it does not work in some platform. */
11647 #ifndef LT_DLLAZY_OR_NOW
11649 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11652 # define LT_DLLAZY_OR_NOW DL_LAZY
11655 # define LT_DLLAZY_OR_NOW RTLD_NOW
11658 # define LT_DLLAZY_OR_NOW DL_NOW
11660 # define LT_DLLAZY_OR_NOW 0
11667 /* When -fvisbility=hidden is used, assume the code has been annotated
11668 correspondingly for the symbols needed. */
11669 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11670 void fnord () __attribute__((visibility("default")));
11673 void fnord () { int i=42; }
11676 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11677 int status = $lt_dlunknown;
11681 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11684 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11685 else puts (dlerror ());
11687 /* dlclose (self); */
11695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11696 (eval $ac_link) 2>&5
11698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11699 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11700 (.
/conftest
; exit; ) >&5 2>/dev
/null
11702 case x
$lt_status in
11703 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11704 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11705 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11708 # compilation failed
11709 lt_cv_dlopen_self
=no
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11717 $as_echo "$lt_cv_dlopen_self" >&6; }
11719 if test "x$lt_cv_dlopen_self" = xyes
; then
11720 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11722 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11723 if ${lt_cv_dlopen_self_static+:} false
; then :
11724 $as_echo_n "(cached) " >&6
11726 if test "$cross_compiling" = yes; then :
11727 lt_cv_dlopen_self_static
=cross
11729 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11730 lt_status
=$lt_dlunknown
11731 cat > conftest.
$ac_ext <<_LT_EOF
11732 #line 11732 "configure"
11733 #include "confdefs.h"
11742 # define LT_DLGLOBAL RTLD_GLOBAL
11745 # define LT_DLGLOBAL DL_GLOBAL
11747 # define LT_DLGLOBAL 0
11751 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11752 find out it does not work in some platform. */
11753 #ifndef LT_DLLAZY_OR_NOW
11755 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11758 # define LT_DLLAZY_OR_NOW DL_LAZY
11761 # define LT_DLLAZY_OR_NOW RTLD_NOW
11764 # define LT_DLLAZY_OR_NOW DL_NOW
11766 # define LT_DLLAZY_OR_NOW 0
11773 /* When -fvisbility=hidden is used, assume the code has been annotated
11774 correspondingly for the symbols needed. */
11775 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11776 void fnord () __attribute__((visibility("default")));
11779 void fnord () { int i=42; }
11782 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11783 int status = $lt_dlunknown;
11787 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11790 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11791 else puts (dlerror ());
11793 /* dlclose (self); */
11801 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11802 (eval $ac_link) 2>&5
11804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11805 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11806 (.
/conftest
; exit; ) >&5 2>/dev
/null
11808 case x
$lt_status in
11809 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11810 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11811 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11814 # compilation failed
11815 lt_cv_dlopen_self_static
=no
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11823 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11826 CPPFLAGS
="$save_CPPFLAGS"
11827 LDFLAGS
="$save_LDFLAGS"
11832 case $lt_cv_dlopen_self in
11833 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11834 *) enable_dlopen_self
=unknown
;;
11837 case $lt_cv_dlopen_self_static in
11838 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11839 *) enable_dlopen_self_static
=unknown
;;
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11862 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11863 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11864 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11865 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11867 $as_echo "yes" >&6; }
11869 # FIXME - insert some real tests, host_os isn't really good enough
11872 if test -n "$STRIP" ; then
11873 striplib
="$STRIP -x"
11874 old_striplib
="$STRIP -S"
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11876 $as_echo "yes" >&6; }
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11879 $as_echo "no" >&6; }
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11884 $as_echo "no" >&6; }
11900 # Report which library types will actually be built
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11902 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11904 $as_echo "$can_build_shared" >&6; }
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11907 $as_echo_n "checking whether to build shared libraries... " >&6; }
11908 test "$can_build_shared" = "no" && enable_shared
=no
11910 # On AIX, shared libraries and static libraries use the same namespace, and
11911 # are all built from PIC.
11914 test "$enable_shared" = yes && enable_static
=no
11915 if test -n "$RANLIB"; then
11916 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11917 postinstall_cmds
='$RANLIB $lib'
11922 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11923 test "$enable_shared" = yes && enable_static
=no
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11928 $as_echo "$enable_shared" >&6; }
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11931 $as_echo_n "checking whether to build static libraries... " >&6; }
11932 # Make sure either enable_shared or enable_static is yes.
11933 test "$enable_shared" = yes || enable_static
=yes
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11935 $as_echo "$enable_static" >&6; }
11942 ac_cpp
='$CPP $CPPFLAGS'
11943 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11944 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11945 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11961 ac_config_commands
="$ac_config_commands libtool"
11966 # Only expand once:
11972 gdc_save_DFLAGS
=$GDCFLAGS
11973 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime $GDCFLAGS"
11976 # Source file extension for D test sources.
11979 # Object file extension for compiled D test sources.
11983 # Code to be used in simple compile tests
11984 lt_simple_compile_test_code
="module mod; extern(C) int main() { return 0; }"
11986 # Code to be used in simple link tests
11987 lt_simple_link_test_code
='module mod; extern(C) int main() { return 0; }'
11989 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11996 # If no C compiler was specified, use CC.
11999 # If no C compiler flags were specified, use CFLAGS.
12000 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12002 # Allow CC to be a program name with arguments.
12006 # save warnings/boilerplate of simple test code
12007 ac_outfile
=conftest.
$ac_objext
12008 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12009 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12010 _lt_compiler_boilerplate
=`cat conftest.err`
12013 ac_outfile
=conftest.
$ac_objext
12014 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12015 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12016 _lt_linker_boilerplate
=`cat conftest.err`
12020 # Allow CC to be a program name with arguments.
12022 lt_save_CFLAGS
=$CFLAGS
12023 lt_save_DFLAGS
=$GDCFLAGS
12027 # Need to specify location for object.d
12028 GDCFLAGS
="-nophoboslib $GDCFLAGS"
12033 for cc_temp
in $compiler""; do
12035 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12036 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12041 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12044 # GDC did not exist at the time GCC didn't implicitly link libc in.
12045 archive_cmds_need_lc_D
=no
12047 old_archive_cmds_D
=$old_archive_cmds
12048 reload_flag_D
=$reload_flag
12049 reload_cmds_D
=$reload_cmds
12052 ## There is no encapsulation within the following macros, do not change
12053 ## the running order or otherwise move them around unless you know exactly
12054 ## what you are doing...
12055 if test -n "$compiler"; then
12057 lt_prog_compiler_no_builtin_flag_D
=
12059 if test "$GCC" = yes; then
12060 case $cc_basename in
12062 lt_prog_compiler_no_builtin_flag_D
=' -Xcompiler -fno-builtin' ;;
12064 lt_prog_compiler_no_builtin_flag_D
=' -fno-builtin' ;;
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
12068 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
12069 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
12070 $as_echo_n "(cached) " >&6
12072 lt_cv_prog_compiler_rtti_exceptions
=no
12073 ac_outfile
=conftest.
$ac_objext
12074 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12075 lt_compiler_flag
="-fno-rtti -fno-exceptions"
12076 # Insert the option either (1) after the last *FLAGS variable, or
12077 # (2) before a word containing "conftest.", or (3) at the end.
12078 # Note that $ac_compile itself does not contain backslashes and begins
12079 # with a dollar sign (not a hyphen), so the echo should work correctly.
12080 # The option is referenced via a variable to avoid confusing sed.
12081 lt_compile
=`echo "$ac_compile" | $SED \
12082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12084 -e 's:$: $lt_compiler_flag:'`
12085 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12086 (eval "$lt_compile" 2>conftest.err
)
12088 cat conftest.err
>&5
12089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12090 if (exit $ac_status) && test -s "$ac_outfile"; then
12091 # The compiler can only warn and ignore the option if not recognized
12092 # So say no if there are warnings other than the usual output.
12093 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12094 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12095 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12096 lt_cv_prog_compiler_rtti_exceptions
=yes
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12103 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
12105 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
12106 lt_prog_compiler_no_builtin_flag_D
="$lt_prog_compiler_no_builtin_flag_D -fno-rtti -fno-exceptions"
12115 lt_prog_compiler_wl_D
=
12116 lt_prog_compiler_pic_D
=
12117 lt_prog_compiler_static_D
=
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12120 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12122 if test "$GCC" = yes; then
12123 lt_prog_compiler_wl_D
='-Wl,'
12124 lt_prog_compiler_static_D
='-static'
12128 # All AIX code is PIC.
12129 if test "$host_cpu" = ia64
; then
12130 # AIX 5 now supports IA64 processor
12131 lt_prog_compiler_static_D
='-Bstatic'
12133 lt_prog_compiler_pic_D
='-fPIC'
12139 # see comment about AmigaOS4 .so support
12140 lt_prog_compiler_pic_D
='-fPIC'
12143 # FIXME: we need at least 68020 code to build shared libraries, but
12144 # adding the `-m68020' flag to GCC prevents building anything better,
12146 lt_prog_compiler_pic_D
='-m68020 -resident32 -malways-restore-a4'
12151 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12152 # PIC is the default for these OSes.
12155 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12156 # This hack is so that the source file can tell whether it is being
12157 # built for inclusion in a dll (and should export symbols for example).
12158 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12159 # (--disable-auto-import) libraries
12160 lt_prog_compiler_pic_D
='-DDLL_EXPORT'
12163 darwin
* | rhapsody
*)
12164 # PIC is the default on this platform
12165 # Common symbols not allowed in MH_DYLIB files
12166 lt_prog_compiler_pic_D
='-fno-common'
12170 # PIC is the default for Haiku.
12171 # The "-static" flag exists, but is broken.
12172 lt_prog_compiler_static_D
=
12176 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12177 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12178 # sets the default TLS model and affects inlining.
12184 lt_prog_compiler_pic_D
='-fPIC'
12190 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12191 # Instead, we relocate shared libraries at runtime.
12195 # Just because we use GCC doesn't mean we suddenly get shared libraries
12196 # on systems that don't support them.
12197 lt_prog_compiler_can_build_shared_D
=no
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'
12208 if test -d /usr
/nec
; then
12209 lt_prog_compiler_pic_D
=-Kconform_pic
12214 lt_prog_compiler_pic_D
='-fPIC'
12218 case $cc_basename in
12219 nvcc
*) # Cuda Compiler Driver 2.2
12220 lt_prog_compiler_wl_D
='-Xlinker '
12221 lt_prog_compiler_pic_D
='-Xcompiler -fPIC'
12225 # PORTME Check for flag to pass linker flags through the system compiler.
12228 lt_prog_compiler_wl_D
='-Wl,'
12229 if test "$host_cpu" = ia64
; then
12230 # AIX 5 now supports IA64 processor
12231 lt_prog_compiler_static_D
='-Bstatic'
12233 lt_prog_compiler_static_D
='-bnso -bI:/lib/syscalls.exp'
12237 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
12238 # This hack is so that the source file can tell whether it is being
12239 # built for inclusion in a dll (and should export symbols for example).
12240 lt_prog_compiler_pic_D
='-DDLL_EXPORT'
12243 hpux9
* | hpux10
* | hpux11
*)
12244 lt_prog_compiler_wl_D
='-Wl,'
12245 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12246 # not for PA HP-UX.
12252 lt_prog_compiler_pic_D
='+Z'
12255 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12256 lt_prog_compiler_static_D
='${wl}-a ${wl}archive'
12259 irix5
* | irix6
* | nonstopux
*)
12260 lt_prog_compiler_wl_D
='-Wl,'
12261 # PIC (with -KPIC) is the default.
12262 lt_prog_compiler_static_D
='-non_shared'
12265 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12266 case $cc_basename in
12267 # old Intel for x86_64 which still supported -KPIC.
12269 lt_prog_compiler_wl_D
='-Wl,'
12270 lt_prog_compiler_pic_D
='-KPIC'
12271 lt_prog_compiler_static_D
='-static'
12273 # icc used to be incompatible with GCC.
12274 # ICC 10 doesn't accept -KPIC any more.
12276 lt_prog_compiler_wl_D
='-Wl,'
12277 lt_prog_compiler_pic_D
='-fPIC'
12278 lt_prog_compiler_static_D
='-static'
12280 # Lahey Fortran 8.1.
12282 lt_prog_compiler_wl_D
='-Wl,'
12283 lt_prog_compiler_pic_D
='--shared'
12284 lt_prog_compiler_static_D
='--static'
12286 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12287 # Portland Group compilers (*not* the Pentium gcc compiler,
12288 # which looks to be a dead project)
12289 lt_prog_compiler_wl_D
='-Wl,'
12290 lt_prog_compiler_pic_D
='-fpic'
12291 lt_prog_compiler_static_D
='-Bstatic'
12294 lt_prog_compiler_wl_D
='-Wl,'
12295 # All Alpha code is PIC.
12296 lt_prog_compiler_static_D
='-non_shared'
12298 xl
* | bgxl
* | bgf
* | mpixl
*)
12299 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12300 lt_prog_compiler_wl_D
='-Wl,'
12301 lt_prog_compiler_pic_D
='-qpic'
12302 lt_prog_compiler_static_D
='-qstaticlink'
12305 case `$CC -V 2>&1 | sed 5q` in
12306 *Sun\ F
* |
*Sun
*Fortran
*)
12307 # Sun Fortran 8.3 passes all unrecognized flags to the linker
12308 lt_prog_compiler_pic_D
='-KPIC'
12309 lt_prog_compiler_static_D
='-Bstatic'
12310 lt_prog_compiler_wl_D
=''
12314 lt_prog_compiler_pic_D
='-KPIC'
12315 lt_prog_compiler_static_D
='-Bstatic'
12316 lt_prog_compiler_wl_D
='-Wl,'
12324 lt_prog_compiler_pic_D
='-KPIC'
12325 lt_prog_compiler_static_D
='-Bstatic'
12329 # QNX uses GNU C++, but need to define -shared option too, otherwise
12330 # it will coredump.
12331 lt_prog_compiler_pic_D
='-fPIC -shared'
12334 osf3
* | osf4
* | osf5
*)
12335 lt_prog_compiler_wl_D
='-Wl,'
12336 # All OSF/1 code is PIC.
12337 lt_prog_compiler_static_D
='-non_shared'
12341 lt_prog_compiler_static_D
='-non_shared'
12345 lt_prog_compiler_pic_D
='-KPIC'
12346 lt_prog_compiler_static_D
='-Bstatic'
12347 case $cc_basename in
12348 f77
* | f90
* | f95
*)
12349 lt_prog_compiler_wl_D
='-Qoption ld ';;
12351 lt_prog_compiler_wl_D
='-Wl,';;
12356 lt_prog_compiler_wl_D
='-Qoption ld '
12357 lt_prog_compiler_pic_D
='-PIC'
12358 lt_prog_compiler_static_D
='-Bstatic'
12361 sysv4 | sysv4.2uw2
* | sysv4.3
*)
12362 lt_prog_compiler_wl_D
='-Wl,'
12363 lt_prog_compiler_pic_D
='-KPIC'
12364 lt_prog_compiler_static_D
='-Bstatic'
12368 if test -d /usr
/nec
;then
12369 lt_prog_compiler_pic_D
='-Kconform_pic'
12370 lt_prog_compiler_static_D
='-Bstatic'
12374 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12375 lt_prog_compiler_wl_D
='-Wl,'
12376 lt_prog_compiler_pic_D
='-KPIC'
12377 lt_prog_compiler_static_D
='-Bstatic'
12381 lt_prog_compiler_wl_D
='-Wl,'
12382 lt_prog_compiler_can_build_shared_D
=no
12386 lt_prog_compiler_pic_D
='-pic'
12387 lt_prog_compiler_static_D
='-Bstatic'
12391 lt_prog_compiler_can_build_shared_D
=no
12397 # For platforms which do not support PIC, -DPIC is meaningless:
12399 lt_prog_compiler_pic_D
=
12402 lt_prog_compiler_pic_D
="$lt_prog_compiler_pic_D"
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_D" >&5
12406 $as_echo "$lt_prog_compiler_pic_D" >&6; }
12411 # Check to make sure the PIC flag actually works.
12413 if test -n "$lt_prog_compiler_pic_D"; then
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_D works" >&5
12415 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_D works... " >&6; }
12416 if ${lt_cv_prog_compiler_pic_works_D+:} false
; then :
12417 $as_echo_n "(cached) " >&6
12419 lt_cv_prog_compiler_pic_works_D
=no
12420 ac_outfile
=conftest.
$ac_objext
12421 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12422 lt_compiler_flag
="$lt_prog_compiler_pic_D"
12423 # Insert the option either (1) after the last *FLAGS variable, or
12424 # (2) before a word containing "conftest.", or (3) at the end.
12425 # Note that $ac_compile itself does not contain backslashes and begins
12426 # with a dollar sign (not a hyphen), so the echo should work correctly.
12427 # The option is referenced via a variable to avoid confusing sed.
12428 lt_compile
=`echo "$ac_compile" | $SED \
12429 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12430 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12431 -e 's:$: $lt_compiler_flag:'`
12432 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12433 (eval "$lt_compile" 2>conftest.err
)
12435 cat conftest.err
>&5
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 if (exit $ac_status) && test -s "$ac_outfile"; then
12438 # The compiler can only warn and ignore the option if not recognized
12439 # So say no if there are warnings other than the usual output.
12440 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
12441 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12442 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12443 lt_cv_prog_compiler_pic_works_D
=yes
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_D" >&5
12450 $as_echo "$lt_cv_prog_compiler_pic_works_D" >&6; }
12452 if test x
"$lt_cv_prog_compiler_pic_works_D" = xyes
; then
12453 case $lt_prog_compiler_pic_D in
12455 *) lt_prog_compiler_pic_D
=" $lt_prog_compiler_pic_D" ;;
12458 lt_prog_compiler_pic_D
=
12459 lt_prog_compiler_can_build_shared_D
=no
12467 # Check to make sure the static flag actually works.
12469 wl
=$lt_prog_compiler_wl_D eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_D\"
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12471 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12472 if ${lt_cv_prog_compiler_static_works_D+:} false
; then :
12473 $as_echo_n "(cached) " >&6
12475 lt_cv_prog_compiler_static_works_D
=no
12476 save_LDFLAGS
="$LDFLAGS"
12477 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12478 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12479 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12480 # The linker can only warn and ignore the option if not recognized
12481 # So say no if there are warnings
12482 if test -s conftest.err
; then
12483 # Append any errors to the config.log.
12484 cat conftest.err
1>&5
12485 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
12486 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12487 if diff conftest.exp conftest.er2
>/dev
/null
; then
12488 lt_cv_prog_compiler_static_works_D
=yes
12491 lt_cv_prog_compiler_static_works_D
=yes
12495 LDFLAGS
="$save_LDFLAGS"
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_D" >&5
12499 $as_echo "$lt_cv_prog_compiler_static_works_D" >&6; }
12501 if test x
"$lt_cv_prog_compiler_static_works_D" = xyes
; then
12504 lt_prog_compiler_static_D
=
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12511 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12512 if ${lt_cv_prog_compiler_c_o_D+:} false
; then :
12513 $as_echo_n "(cached) " >&6
12515 lt_cv_prog_compiler_c_o_D
=no
12516 $RM -r conftest
2>/dev
/null
12520 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12522 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12523 # Insert the option either (1) after the last *FLAGS variable, or
12524 # (2) before a word containing "conftest.", or (3) at the end.
12525 # Note that $ac_compile itself does not contain backslashes and begins
12526 # with a dollar sign (not a hyphen), so the echo should work correctly.
12527 lt_compile
=`echo "$ac_compile" | $SED \
12528 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12529 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12530 -e 's:$: $lt_compiler_flag:'`
12531 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12532 (eval "$lt_compile" 2>out
/conftest.err
)
12534 cat out
/conftest.err
>&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12538 # The compiler can only warn and ignore the option if not recognized
12539 # So say no if there are warnings
12540 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12541 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12542 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12543 lt_cv_prog_compiler_c_o_D
=yes
12548 # SGI C++ compiler will create directory out/ii_files/ for
12549 # template instantiation
12550 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12551 $RM out
/* && rmdir out
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_D" >&5
12558 $as_echo "$lt_cv_prog_compiler_c_o_D" >&6; }
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12563 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12564 if ${lt_cv_prog_compiler_c_o_D+:} false
; then :
12565 $as_echo_n "(cached) " >&6
12567 lt_cv_prog_compiler_c_o_D
=no
12568 $RM -r conftest
2>/dev
/null
12572 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12574 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12575 # Insert the option either (1) after the last *FLAGS variable, or
12576 # (2) before a word containing "conftest.", or (3) at the end.
12577 # Note that $ac_compile itself does not contain backslashes and begins
12578 # with a dollar sign (not a hyphen), so the echo should work correctly.
12579 lt_compile
=`echo "$ac_compile" | $SED \
12580 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12581 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12582 -e 's:$: $lt_compiler_flag:'`
12583 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12584 (eval "$lt_compile" 2>out
/conftest.err
)
12586 cat out
/conftest.err
>&5
12587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12590 # The compiler can only warn and ignore the option if not recognized
12591 # So say no if there are warnings
12592 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
12593 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12594 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12595 lt_cv_prog_compiler_c_o_D
=yes
12600 # SGI C++ compiler will create directory out/ii_files/ for
12601 # template instantiation
12602 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12603 $RM out
/* && rmdir out
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_D" >&5
12610 $as_echo "$lt_cv_prog_compiler_c_o_D" >&6; }
12615 hard_links
="nottested"
12616 if test "$lt_cv_prog_compiler_c_o_D" = no
&& test "$need_locks" != no
; then
12617 # do not overwrite the value of need_locks provided by the user
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12619 $as_echo_n "checking if we can lock with hard links... " >&6; }
12622 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12624 ln conftest.a conftest.b
2>&5 || hard_links
=no
12625 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12627 $as_echo "$hard_links" >&6; }
12628 if test "$hard_links" = no
; then
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12630 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12640 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12643 allow_undefined_flag_D
=
12644 always_export_symbols_D
=no
12646 archive_expsym_cmds_D
=
12647 compiler_needs_object_D
=no
12648 enable_shared_with_static_runtimes_D
=no
12649 export_dynamic_flag_spec_D
=
12650 export_symbols_cmds_D
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12651 hardcode_automatic_D
=no
12652 hardcode_direct_D
=no
12653 hardcode_direct_absolute_D
=no
12654 hardcode_libdir_flag_spec_D
=
12655 hardcode_libdir_flag_spec_ld_D
=
12656 hardcode_libdir_separator_D
=
12657 hardcode_minus_L_D
=no
12658 hardcode_shlibpath_var_D
=unsupported
12660 link_all_deplibs_D
=unknown
12662 module_expsym_cmds_D
=
12663 old_archive_from_new_cmds_D
=
12664 old_archive_from_expsyms_cmds_D
=
12665 thread_safe_flag_spec_D
=
12666 whole_archive_flag_spec_D
=
12667 # include_expsyms should be a list of space-separated symbols to be *always*
12668 # included in the symbol list
12670 # exclude_expsyms can be an extended regexp of symbols to exclude
12671 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12672 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12673 # as well as any symbol that contains `d'.
12674 exclude_expsyms_D
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12675 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12676 # platforms (ab)use it in PIC code, but their linkers get confused if
12677 # the symbol is explicitly referenced. Since portable code cannot
12678 # rely on this symbol name, it's probably fine to never include it in
12679 # preloaded symbol tables.
12680 # Exclude shared library initialization/finalization symbols.
12681 extract_expsyms_cmds
=
12684 cygwin
* | mingw
* | pw32
* | cegcc
*)
12685 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12686 # When not using gcc, we currently assume that we are using
12687 # Microsoft Visual C++.
12688 if test "$GCC" != yes; then
12693 # we just hope/assume this is gcc and not c89 (= MSVC++)
12703 # On some targets, GNU ld is compatible enough with the native linker
12704 # that we're better off using the native interface for both.
12705 lt_use_gnu_ld_interface
=no
12706 if test "$with_gnu_ld" = yes; then
12709 # The AIX port of GNU ld has always aspired to compatibility
12710 # with the native linker. However, as the warning in the GNU ld
12711 # block says, versions before 2.19.5* couldn't really create working
12712 # shared libraries, regardless of the interface used.
12713 case `$LD -v 2>&1` in
12714 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
12715 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
12716 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
12718 lt_use_gnu_ld_interface
=yes
12723 lt_use_gnu_ld_interface
=yes
12728 if test "$lt_use_gnu_ld_interface" = yes; then
12729 # If archive_cmds runs LD, not CC, wlarc should be empty
12732 # Set some defaults for GNU ld with shared library support. These
12733 # are reset later if shared libraries are not supported. Putting them
12734 # here allows them to be overridden if necessary.
12735 runpath_var
=LD_RUN_PATH
12736 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
12737 export_dynamic_flag_spec_D
='${wl}--export-dynamic'
12738 # ancient GNU ld didn't support --whole-archive et. al.
12739 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12740 whole_archive_flag_spec_D
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12742 whole_archive_flag_spec_D
=
12744 supports_anon_versioning
=no
12745 case `$LD -v 2>&1` in
12746 *GNU\ gold
*) supports_anon_versioning
=yes ;;
12747 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12748 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12749 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12750 *\
2.11.
*) ;; # other 2.11 versions
12751 *) supports_anon_versioning
=yes ;;
12754 # See if GNU ld supports shared libraries.
12757 # On AIX/PPC, the GNU linker is very broken
12758 if test "$host_cpu" != ia64
; then
12762 *** Warning: the GNU linker, at least up to release 2.19, is reported
12763 *** to be unable to reliably create shared libraries on AIX.
12764 *** Therefore, libtool is disabling shared libraries support. If you
12765 *** really care for shared libraries, you may want to install binutils
12766 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12767 *** You will then need to restart the configuration process.
12776 # see comment about AmigaOS4 .so support
12777 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778 archive_expsym_cmds_D
=''
12781 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)'
12782 hardcode_libdir_flag_spec_D
='-L$libdir'
12783 hardcode_minus_L_D
=yes
12789 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12790 allow_undefined_flag_D
=unsupported
12791 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12792 # support --undefined. This deserves some investigation. FIXME
12793 archive_cmds_D
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12799 cygwin
* | mingw
* | pw32
* | cegcc
*)
12800 # _LT_TAGVAR(hardcode_libdir_flag_spec, D) is actually meaningless,
12801 # as there is no search path for DLLs.
12802 hardcode_libdir_flag_spec_D
='-L$libdir'
12803 export_dynamic_flag_spec_D
='${wl}--export-all-symbols'
12804 allow_undefined_flag_D
=unsupported
12805 always_export_symbols_D
=no
12806 enable_shared_with_static_runtimes_D
=yes
12807 export_symbols_cmds_D
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12809 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12810 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12811 # If the export-symbols file already is a .def file (1st line
12812 # is EXPORTS), use it as is; otherwise, prepend...
12813 archive_expsym_cmds_D
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12814 cp $export_symbols $output_objdir/$soname.def;
12816 echo EXPORTS > $output_objdir/$soname.def;
12817 cat $export_symbols >> $output_objdir/$soname.def;
12819 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12826 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12827 link_all_deplibs_D
=yes
12831 hardcode_direct_D
=no
12832 hardcode_shlibpath_var_D
=no
12833 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
12834 export_dynamic_flag_spec_D
='${wl}-E'
12835 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12836 # Instead, shared libraries are loaded at an image base (0x10000000 by
12837 # default) and relocated if they conflict, which is a slow very memory
12838 # consuming and fragmenting process. To avoid this, we pick a random,
12839 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12840 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12841 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'
12842 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'
12845 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12847 if test "$host_os" = linux-dietlibc
; then
12848 case $cc_basename in
12849 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12852 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12853 && test "$tmp_diet" = no
12855 tmp_addflag
=' $pic_flag'
12856 tmp_sharedflag
='-shared'
12857 case $cc_basename,$host_cpu in
12858 pgcc
*) # Portland Group C compiler
12859 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'
12860 tmp_addflag
=' $pic_flag'
12862 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
12863 # Portland Group f77 and f90 compilers
12864 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'
12865 tmp_addflag
=' $pic_flag -Mnomain' ;;
12866 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12867 tmp_addflag
=' -i_dynamic' ;;
12868 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12869 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12870 ifc
* | ifort
*) # Intel Fortran compiler
12871 tmp_addflag
=' -nofor_main' ;;
12872 lf95
*) # Lahey Fortran 8.1
12873 whole_archive_flag_spec_D
=
12874 tmp_sharedflag
='--shared' ;;
12875 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12876 tmp_sharedflag
='-qmkshrobj'
12878 nvcc
*) # Cuda Compiler Driver 2.2
12879 whole_archive_flag_spec_D
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12880 compiler_needs_object_D
=yes
12883 case `$CC -V 2>&1 | sed 5q` in
12884 *Sun\ C
*) # Sun C 5.9
12885 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'
12886 compiler_needs_object_D
=yes
12887 tmp_sharedflag
='-G' ;;
12888 *Sun\ F
*) # Sun Fortran 8.3
12889 tmp_sharedflag
='-G' ;;
12891 archive_cmds_D
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12893 if test "x$supports_anon_versioning" = xyes
; then
12894 archive_expsym_cmds_D
='echo "{ global:" > $output_objdir/$libname.ver~
12895 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12896 echo "local: *; };" >> $output_objdir/$libname.ver~
12897 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12900 case $cc_basename in
12901 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
12902 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12903 whole_archive_flag_spec_D
='--whole-archive$convenience --no-whole-archive'
12904 hardcode_libdir_flag_spec_D
=
12905 hardcode_libdir_flag_spec_ld_D
='-rpath $libdir'
12906 archive_cmds_D
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12907 if test "x$supports_anon_versioning" = xyes
; then
12908 archive_expsym_cmds_D
='echo "{ global:" > $output_objdir/$libname.ver~
12909 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12910 echo "local: *; };" >> $output_objdir/$libname.ver~
12911 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12921 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12922 archive_cmds_D
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12925 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12926 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12931 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12935 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12936 *** create shared libraries on Solaris systems. Therefore, libtool
12937 *** is disabling shared libraries support. We urge you to upgrade GNU
12938 *** binutils to release 2.9.1 or newer. Another option is to modify
12939 *** your PATH or compiler configuration so that the native linker is
12940 *** used, and then restart.
12943 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12944 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12945 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12951 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12952 case `$LD -v 2>&1` in
12953 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12957 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12958 *** reliably create shared libraries on SCO systems. Therefore, libtool
12959 *** is disabling shared libraries support. We urge you to upgrade GNU
12960 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12961 *** your PATH or compiler configuration so that the native linker is
12962 *** used, and then restart.
12967 # For security reasons, it is highly recommended that you always
12968 # use absolute paths for naming shared libraries, and exclude the
12969 # DT_RUNPATH tag from executables and libraries. But doing so
12970 # requires that you compile everything twice, which is a pain.
12971 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12972 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
12973 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12974 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12983 archive_cmds_D
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12985 hardcode_direct_D
=yes
12986 hardcode_shlibpath_var_D
=no
12990 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12991 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12992 archive_expsym_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12999 if test "$ld_shlibs_D" = no
; then
13001 hardcode_libdir_flag_spec_D
=
13002 export_dynamic_flag_spec_D
=
13003 whole_archive_flag_spec_D
=
13006 # PORTME fill in a description of your system's linker (not GNU ld)
13009 allow_undefined_flag_D
=unsupported
13010 always_export_symbols_D
=yes
13011 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'
13012 # Note: this linker hardcodes the directories in LIBPATH if there
13013 # are no directories specified by -L.
13014 hardcode_minus_L_D
=yes
13015 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13016 # Neither direct hardcoding nor static linking is supported with a
13018 hardcode_direct_D
=unsupported
13023 if test "$host_cpu" = ia64
; then
13024 # On IA64, the linker does run time linking by default, so we don't
13025 # have to do anything special.
13026 aix_use_runtimelinking
=no
13027 exp_sym_flag
='-Bexport'
13030 # If we're using GNU nm, then we don't want the "-C" option.
13031 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13032 # Also, AIX nm treats weak defined symbols like other global
13033 # defined symbols, whereas GNU nm marks them as "W".
13034 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
13035 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'
13037 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'
13039 aix_use_runtimelinking
=no
13041 # Test if we are trying to use run time linking or normal
13042 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13043 # need to do runtime linking.
13044 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13045 for ld_flag
in $LDFLAGS; do
13046 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
13047 aix_use_runtimelinking
=yes
13054 exp_sym_flag
='-bexport'
13055 no_entry_flag
='-bnoentry'
13058 # When large executables or shared objects are built, AIX ld can
13059 # have problems creating the table of contents. If linking a library
13060 # or program results in "error TOC overflow" add -mminimal-toc to
13061 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13062 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13065 hardcode_direct_D
=yes
13066 hardcode_direct_absolute_D
=yes
13067 hardcode_libdir_separator_D
=':'
13068 link_all_deplibs_D
=yes
13069 file_list_spec_D
='${wl}-f,'
13071 if test "$GCC" = yes; then
13072 case $host_os in aix4.
[012]|aix4.
[012].
*)
13073 # We only want to do this on AIX 4.2 and lower, the check
13074 # below for broken collect2 doesn't work under 4.3+
13075 collect2name
=`${CC} -print-prog-name=collect2`
13076 if test -f "$collect2name" &&
13077 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13079 # We have reworked collect2
13082 # We have old collect2
13083 hardcode_direct_D
=unsupported
13084 # It fails to find uninstalled libraries when the uninstalled
13085 # path is not listed in the libpath. Setting hardcode_minus_L
13086 # to unsupported forces relinking
13087 hardcode_minus_L_D
=yes
13088 hardcode_libdir_flag_spec_D
='-L$libdir'
13089 hardcode_libdir_separator_D
=
13093 shared_flag
='-shared'
13094 if test "$aix_use_runtimelinking" = yes; then
13095 shared_flag
="$shared_flag "'${wl}-G'
13099 if test "$host_cpu" = ia64
; then
13100 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13101 # chokes on -Wl,-G. The following line is correct:
13104 if test "$aix_use_runtimelinking" = yes; then
13105 shared_flag
='${wl}-G'
13107 shared_flag
='${wl}-bM:SRE'
13112 export_dynamic_flag_spec_D
='${wl}-bexpall'
13113 # It seems that -bexpall does not export symbols beginning with
13114 # underscore (_), so it is better to generate a list of symbols to export.
13115 always_export_symbols_D
=yes
13116 if test "$aix_use_runtimelinking" = yes; then
13117 # Warning - without using the other runtime loading flags (-brtl),
13118 # -berok will link without error, but may produce a broken library.
13119 allow_undefined_flag_D
='-berok'
13120 # Determine the default libpath from the value encoded in an
13121 # empty executable.
13122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13123 /* end confdefs.h. */
13133 if ac_fn_c_try_link
"$LINENO"; then :
13135 lt_aix_libpath_sed
='
13136 /Import File Strings/,/^$/ {
13142 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13143 # Check for a 64-bit object if we didn't find anything.
13144 if test -z "$aix_libpath"; then
13145 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13148 rm -f core conftest.err conftest.
$ac_objext \
13149 conftest
$ac_exeext conftest.
$ac_ext
13150 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13152 hardcode_libdir_flag_spec_D
='${wl}-blibpath:$libdir:'"$aix_libpath"
13153 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"
13155 if test "$host_cpu" = ia64
; then
13156 hardcode_libdir_flag_spec_D
='${wl}-R $libdir:/usr/lib:/lib'
13157 allow_undefined_flag_D
="-z nodefs"
13158 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"
13160 # Determine the default libpath from the value encoded in an
13161 # empty executable.
13162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13163 /* end confdefs.h. */
13173 if ac_fn_c_try_link
"$LINENO"; then :
13175 lt_aix_libpath_sed
='
13176 /Import File Strings/,/^$/ {
13182 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13183 # Check for a 64-bit object if we didn't find anything.
13184 if test -z "$aix_libpath"; then
13185 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13188 rm -f core conftest.err conftest.
$ac_objext \
13189 conftest
$ac_exeext conftest.
$ac_ext
13190 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13192 hardcode_libdir_flag_spec_D
='${wl}-blibpath:$libdir:'"$aix_libpath"
13193 # Warning - without using the other run time loading flags,
13194 # -berok will link without error, but may produce a broken library.
13195 no_undefined_flag_D
=' ${wl}-bernotok'
13196 allow_undefined_flag_D
=' ${wl}-berok'
13197 if test "$with_gnu_ld" = yes; then
13198 # We only use this code for GNU lds that support --whole-archive.
13199 whole_archive_flag_spec_D
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13201 # Exported symbols can be pulled into shared objects from archives
13202 whole_archive_flag_spec_D
='$convenience'
13204 archive_cmds_need_lc_D
=yes
13205 # This is similar to how AIX traditionally builds its shared libraries.
13206 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'
13214 # see comment about AmigaOS4 .so support
13215 archive_cmds_D
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13216 archive_expsym_cmds_D
=''
13219 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)'
13220 hardcode_libdir_flag_spec_D
='-L$libdir'
13221 hardcode_minus_L_D
=yes
13227 export_dynamic_flag_spec_D
=-rdynamic
13230 cygwin
* | mingw
* | pw32
* | cegcc
*)
13231 # When not using gcc, we currently assume that we are using
13232 # Microsoft Visual C++.
13233 # hardcode_libdir_flag_spec is actually meaningless, as there is
13234 # no search path for DLLs.
13235 hardcode_libdir_flag_spec_D
=' '
13236 allow_undefined_flag_D
=unsupported
13237 # Tell ltmain to make .lib files, not .a files.
13239 # Tell ltmain to make .dll files, not .so files.
13241 # FIXME: Setting linknames here is a bad hack.
13242 archive_cmds_D
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13243 # The linker will automatically build a .lib file if we build a DLL.
13244 old_archive_from_new_cmds_D
='true'
13245 # FIXME: Should let the user specify the lib program.
13246 old_archive_cmds_D
='lib -OUT:$oldlib$oldobjs$old_deplibs'
13247 fix_srcfile_path_D
='`cygpath -w "$srcfile"`'
13248 enable_shared_with_static_runtimes_D
=yes
13251 darwin
* | rhapsody
*)
13254 archive_cmds_need_lc_D
=no
13255 hardcode_direct_D
=no
13256 hardcode_automatic_D
=yes
13257 hardcode_shlibpath_var_D
=unsupported
13258 if test "$lt_cv_ld_force_load" = "yes"; then
13259 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\"`'
13261 whole_archive_flag_spec_D
=''
13263 link_all_deplibs_D
=yes
13264 allow_undefined_flag_D
="$_lt_dar_allow_undefined"
13265 case $cc_basename in
13266 ifort
*) _lt_dar_can_shared
=yes ;;
13267 *) _lt_dar_can_shared
=$GCC ;;
13269 if test "$_lt_dar_can_shared" = "yes"; then
13270 output_verbose_link_cmd
=func_echo_all
13271 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}"
13272 module_cmds_D
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13273 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}"
13274 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}"
13283 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13284 hardcode_libdir_flag_spec_D
='-L$libdir'
13285 hardcode_shlibpath_var_D
=no
13288 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13289 # support. Future versions do this automatically, but an explicit c++rt0.o
13290 # does not break anything, and helps significantly (at the cost of a little
13293 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13294 hardcode_libdir_flag_spec_D
='-R$libdir'
13295 hardcode_direct_D
=yes
13296 hardcode_shlibpath_var_D
=no
13299 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13301 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13302 hardcode_direct_D
=yes
13303 hardcode_minus_L_D
=yes
13304 hardcode_shlibpath_var_D
=no
13307 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13308 freebsd
* | dragonfly
*)
13309 archive_cmds_D
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13310 hardcode_libdir_flag_spec_D
='-R$libdir'
13311 hardcode_direct_D
=yes
13312 hardcode_shlibpath_var_D
=no
13316 if test "$GCC" = yes; then
13317 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'
13319 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'
13321 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13322 hardcode_libdir_separator_D
=:
13323 hardcode_direct_D
=yes
13325 # hardcode_minus_L: Not really in the search PATH,
13326 # but as the default location of the library.
13327 hardcode_minus_L_D
=yes
13328 export_dynamic_flag_spec_D
='${wl}-E'
13332 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13333 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13335 archive_cmds_D
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13337 if test "$with_gnu_ld" = no
; then
13338 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13339 hardcode_libdir_flag_spec_ld_D
='+b $libdir'
13340 hardcode_libdir_separator_D
=:
13341 hardcode_direct_D
=yes
13342 hardcode_direct_absolute_D
=yes
13343 export_dynamic_flag_spec_D
='${wl}-E'
13344 # hardcode_minus_L: Not really in the search PATH,
13345 # but as the default location of the library.
13346 hardcode_minus_L_D
=yes
13351 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
13354 archive_cmds_D
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13357 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13360 archive_cmds_D
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13366 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13369 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13372 archive_cmds_D
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13376 if test "$with_gnu_ld" = no
; then
13377 hardcode_libdir_flag_spec_D
='${wl}+b ${wl}$libdir'
13378 hardcode_libdir_separator_D
=:
13382 hardcode_direct_D
=no
13383 hardcode_shlibpath_var_D
=no
13386 hardcode_direct_D
=yes
13387 hardcode_direct_absolute_D
=yes
13388 export_dynamic_flag_spec_D
='${wl}-E'
13390 # hardcode_minus_L: Not really in the search PATH,
13391 # but as the default location of the library.
13392 hardcode_minus_L_D
=yes
13398 irix5
* | irix6
* | nonstopux
*)
13399 if test "$GCC" = yes; then
13400 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'
13401 # Try to use the -exported_symbol ld option, if it does not
13402 # work, assume that -exports_file does not work either and
13403 # implicitly export all symbols.
13404 save_LDFLAGS
="$LDFLAGS"
13405 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13407 /* end confdefs.h. */
13410 if ac_fn_c_try_link
"$LINENO"; then :
13411 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'
13414 rm -f core conftest.err conftest.
$ac_objext \
13415 conftest
$ac_exeext conftest.
$ac_ext
13416 LDFLAGS
="$save_LDFLAGS"
13418 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'
13419 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'
13421 archive_cmds_need_lc_D
='no'
13422 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13423 hardcode_libdir_separator_D
=:
13424 inherit_rpath_D
=yes
13425 link_all_deplibs_D
=yes
13429 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13430 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13432 archive_cmds_D
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13434 hardcode_libdir_flag_spec_D
='-R$libdir'
13435 hardcode_direct_D
=yes
13436 hardcode_shlibpath_var_D
=no
13440 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13441 hardcode_direct_D
=yes
13442 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13443 hardcode_libdir_separator_D
=:
13444 hardcode_shlibpath_var_D
=no
13451 if test -f /usr
/libexec
/ld.so
; then
13452 hardcode_direct_D
=yes
13453 hardcode_shlibpath_var_D
=no
13454 hardcode_direct_absolute_D
=yes
13455 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13456 archive_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13457 archive_expsym_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13458 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
13459 export_dynamic_flag_spec_D
='${wl}-E'
13462 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13463 archive_cmds_D
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13464 hardcode_libdir_flag_spec_D
='-R$libdir'
13467 archive_cmds_D
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13468 hardcode_libdir_flag_spec_D
='${wl}-rpath,$libdir'
13478 hardcode_libdir_flag_spec_D
='-L$libdir'
13479 hardcode_minus_L_D
=yes
13480 allow_undefined_flag_D
=unsupported
13481 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'
13482 old_archive_from_new_cmds_D
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13486 if test "$GCC" = yes; then
13487 allow_undefined_flag_D
=' ${wl}-expect_unresolved ${wl}\*'
13488 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'
13490 allow_undefined_flag_D
=' -expect_unresolved \*'
13491 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'
13493 archive_cmds_need_lc_D
='no'
13494 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13495 hardcode_libdir_separator_D
=:
13498 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13499 if test "$GCC" = yes; then
13500 allow_undefined_flag_D
=' ${wl}-expect_unresolved ${wl}\*'
13501 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'
13502 hardcode_libdir_flag_spec_D
='${wl}-rpath ${wl}$libdir'
13504 allow_undefined_flag_D
=' -expect_unresolved \*'
13505 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'
13506 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~
13507 $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'
13509 # Both c and cxx compiler support -rpath directly
13510 hardcode_libdir_flag_spec_D
='-rpath $libdir'
13512 archive_cmds_need_lc_D
='no'
13513 hardcode_libdir_separator_D
=:
13517 no_undefined_flag_D
=' -z defs'
13518 if test "$GCC" = yes; then
13520 archive_cmds_D
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13521 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13522 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13524 case `$CC -V 2>&1` in
13527 archive_cmds_D
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13528 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13529 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13533 archive_cmds_D
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13534 archive_expsym_cmds_D
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13535 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13539 hardcode_libdir_flag_spec_D
='-R$libdir'
13540 hardcode_shlibpath_var_D
=no
13542 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13544 # The compiler driver will combine and reorder linker options,
13545 # but understands `-z linker_flag'. GCC discards it without `$wl',
13546 # but is careful enough not to reorder.
13547 # Supported since Solaris 2.6 (maybe 2.5.1?)
13548 if test "$GCC" = yes; then
13549 whole_archive_flag_spec_D
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13551 whole_archive_flag_spec_D
='-z allextract$convenience -z defaultextract'
13555 link_all_deplibs_D
=yes
13559 if test "x$host_vendor" = xsequent
; then
13560 # Use $CC to link under sequent, because it throws in some extra .o
13561 # files that make .init and .fini sections work.
13562 archive_cmds_D
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13564 archive_cmds_D
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13566 hardcode_libdir_flag_spec_D
='-L$libdir'
13567 hardcode_direct_D
=yes
13568 hardcode_minus_L_D
=yes
13569 hardcode_shlibpath_var_D
=no
13573 case $host_vendor in
13575 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13576 hardcode_direct_D
=yes # is this really true???
13579 ## LD is ld it makes a PLAMLIB
13580 ## CC just makes a GrossModule.
13581 archive_cmds_D
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13582 reload_cmds_D
='$CC -r -o $output$reload_objs'
13583 hardcode_direct_D
=no
13586 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13587 hardcode_direct_D
=no
#Motorola manual says yes, but my tests say they lie
13590 runpath_var
='LD_RUN_PATH'
13591 hardcode_shlibpath_var_D
=no
13595 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13596 hardcode_shlibpath_var_D
=no
13597 export_dynamic_flag_spec_D
='-Bexport'
13601 if test -d /usr
/nec
; then
13602 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13603 hardcode_shlibpath_var_D
=no
13604 runpath_var
=LD_RUN_PATH
13605 hardcode_runpath_var
=yes
13610 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13611 no_undefined_flag_D
='${wl}-z,text'
13612 archive_cmds_need_lc_D
=no
13613 hardcode_shlibpath_var_D
=no
13614 runpath_var
='LD_RUN_PATH'
13616 if test "$GCC" = yes; then
13617 archive_cmds_D
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13618 archive_expsym_cmds_D
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13620 archive_cmds_D
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13621 archive_expsym_cmds_D
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13625 sysv5
* | sco3.2v5
* | sco5v6
*)
13626 # Note: We can NOT use -z defs as we might desire, because we do not
13627 # link with -lc, and that would cause any symbols used from libc to
13628 # always be unresolved, which means just about no library would
13629 # ever link correctly. If we're not using GNU ld we use -z text
13630 # though, which does catch some bad symbols but isn't as heavy-handed
13632 no_undefined_flag_D
='${wl}-z,text'
13633 allow_undefined_flag_D
='${wl}-z,nodefs'
13634 archive_cmds_need_lc_D
=no
13635 hardcode_shlibpath_var_D
=no
13636 hardcode_libdir_flag_spec_D
='${wl}-R,$libdir'
13637 hardcode_libdir_separator_D
=':'
13638 link_all_deplibs_D
=yes
13639 export_dynamic_flag_spec_D
='${wl}-Bexport'
13640 runpath_var
='LD_RUN_PATH'
13642 if test "$GCC" = yes; then
13643 archive_cmds_D
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13644 archive_expsym_cmds_D
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13646 archive_cmds_D
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13647 archive_expsym_cmds_D
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13652 archive_cmds_D
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13653 hardcode_libdir_flag_spec_D
='-L$libdir'
13654 hardcode_shlibpath_var_D
=no
13662 if test x
$host_vendor = xsni
; then
13664 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13665 export_dynamic_flag_spec_D
='${wl}-Blargedynsym'
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_D" >&5
13672 $as_echo "$ld_shlibs_D" >&6; }
13673 test "$ld_shlibs_D" = no
&& can_build_shared
=no
13675 with_gnu_ld_D
=$with_gnu_ld
13683 # Do we need to explicitly link libc?
13685 case "x$archive_cmds_need_lc_D" in
13687 # Assume -lc should be added
13688 archive_cmds_need_lc_D
=yes
13690 if test "$enable_shared" = yes && test "$GCC" = yes; then
13691 case $archive_cmds_D in
13693 # FIXME: we may have to deal with multi-command sequences.
13696 # Test whether the compiler implicitly links with -lc since on some
13697 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13698 # to ld, don't add -lc before -lgcc.
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13700 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13701 if ${lt_cv_archive_cmds_need_lc_D+:} false
; then :
13702 $as_echo_n "(cached) " >&6
13705 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13707 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13708 (eval $ac_compile) 2>&5
13710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13711 test $ac_status = 0; } 2>conftest.err
; then
13714 libobjs
=conftest.
$ac_objext
13716 wl
=$lt_prog_compiler_wl_D
13717 pic_flag
=$lt_prog_compiler_pic_D
13723 lt_save_allow_undefined_flag
=$allow_undefined_flag_D
13724 allow_undefined_flag_D
=
13725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_D 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13726 (eval $archive_cmds_D 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13729 test $ac_status = 0; }
13731 lt_cv_archive_cmds_need_lc_D
=no
13733 lt_cv_archive_cmds_need_lc_D
=yes
13735 allow_undefined_flag_D
=$lt_save_allow_undefined_flag
13737 cat conftest.err
1>&5
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_D" >&5
13743 $as_echo "$lt_cv_archive_cmds_need_lc_D" >&6; }
13744 archive_cmds_need_lc_D
=$lt_cv_archive_cmds_need_lc_D
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13815 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13817 if test -n "$hardcode_libdir_flag_spec_D" ||
13818 test -n "$runpath_var_D" ||
13819 test "X$hardcode_automatic_D" = "Xyes" ; then
13821 # We can hardcode non-existent directories.
13822 if test "$hardcode_direct_D" != no
&&
13823 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13824 # have to relink, otherwise we might link with an installed library
13825 # when we should be linking with a yet-to-be-installed one
13826 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, D)" != no &&
13827 test "$hardcode_minus_L_D" != no
; then
13828 # Linking always hardcodes the temporary library directory.
13829 hardcode_action_D
=relink
13831 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13832 hardcode_action_D
=immediate
13835 # We cannot hardcode anything, or else we can only hardcode existing
13837 hardcode_action_D
=unsupported
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_D" >&5
13840 $as_echo "$hardcode_action_D" >&6; }
13842 if test "$hardcode_action_D" = relink ||
13843 test "$inherit_rpath_D" = yes; then
13844 # Fast installation is not supported
13845 enable_fast_install
=no
13846 elif test "$shlibpath_overrides_runpath" = yes ||
13847 test "$enable_shared" = no
; then
13848 # Fast installation is not necessary
13849 enable_fast_install
=needless
13861 ac_cpp
='$CPP $CPPFLAGS'
13862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13869 CFLAGS
=$lt_save_CFLAGS
13870 GDCFLAGS
=$lt_save_DFLAGS
13872 GDCFLAGS
=$gdc_save_DFLAGS
13875 # libtool variables for Phobos shared and position-independent compiles.
13877 # Use phobos_compiler_shared_flag to designate the compile-time flags for
13878 # creating shared objects. Default: -fversion=Shared.
13880 # Use phobos_compiler_pic_flag to designate the compile-time flags for
13881 # creating position-independent objects. This varies with the target
13882 # hardware and operating system, but is often: -fPIC.
13884 # The distinction between pic and shared compilation flags is not present in
13885 # libtool, and so we make it here. How it is handled is that in shared
13886 # compilations the `lt_prog_compiler_pic_D' variable is used to instead
13887 # ensure that conditional compilation of shared runtime code is compiled in.
13888 # The original PIC flags are then used in the compilation of every object.
13890 # Why are objects destined for libgphobos.a compiled with -fPIC?
13891 # Because -fPIC is not harmful to use for objects destined for static
13892 # libraries. In addition, using -fPIC will allow the use of static
13893 # libgphobos.a in the creation of other D shared libraries.
13894 if test "$enable_shared" = yes; then
13895 phobos_compiler_pic_flag
="$lt_prog_compiler_pic_D"
13896 phobos_compiler_shared_flag
="-fversion=Shared"
13898 phobos_compiler_pic_flag
=
13899 phobos_compiler_shared_flag
=
13904 # Override the libtool's pic_flag and pic_mode.
13905 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
13906 # NB: this impacts --with-pic and --without-pic.
13907 lt_prog_compiler_pic_D
="$phobos_compiler_shared_flag"
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-libphobos" >&5
13911 $as_echo_n "checking for --enable-libphobos... " >&6; }
13912 # Check whether --enable-libphobos was given.
13913 if test "${enable_libphobos+set}" = set; then :
13914 enableval
=$enable_libphobos;
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libphobos" >&5
13918 $as_echo "$enable_libphobos" >&6; }
13920 # See if supported.
13921 unset LIBPHOBOS_SUPPORTED
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for host support for libphobos" >&5
13923 $as_echo_n "checking for host support for libphobos... " >&6; }
13924 .
${srcdir}/configure.tgt
13926 x86_64-
*-solaris2.
* | i?
86-*-solaris2.
*)
13927 # libphobos doesn't compile with the Solaris/x86 assembler due to a
13928 # relatively low linelength limit.
13929 as_prog
=`$CC -print-prog-name=as`
13930 if test -n "$as_prog" && $as_prog -v /dev
/null
2>&1 |
grep GNU
> /dev
/null
2>&1; then
13931 druntime_cv_use_gas
=yes;
13933 druntime_cv_use_gas
=no
;
13936 if test x
$druntime_cv_use_gas = xno
; then
13937 LIBPHOBOS_SUPPORTED
=no
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPHOBOS_SUPPORTED" >&5
13942 $as_echo "$LIBPHOBOS_SUPPORTED" >&6; }
13944 # Decide if it's usable.
13945 case $LIBPHOBOS_SUPPORTED:$enable_libphobos in
13946 *:no
) use_libphobos
=no
;;
13947 *:yes) use_libphobos
=yes ;;
13948 yes:*) use_libphobos
=yes ;;
13949 *:*) use_libphobos
=no
;;
13951 if test x
$use_libphobos = xyes
; then
13952 ENABLE_LIBPHOBOS_TRUE
=
13953 ENABLE_LIBPHOBOS_FALSE
='#'
13955 ENABLE_LIBPHOBOS_TRUE
='#'
13956 ENABLE_LIBPHOBOS_FALSE
=
13960 # Determine what GCC version number to use in filesystem paths.
13962 get_gcc_base_ver
="cat"
13964 # Check whether --with-gcc-major-version-only was given.
13965 if test "${with_gcc_major_version_only+set}" = set; then :
13966 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
13967 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
13975 # libphobos/libdruntime specific options and feature detection
13977 # These need to be absolute paths, yet at the same time need to
13978 # canonicalize only relative paths, because then amd will not unmount
13979 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
13980 libphobos_builddir
=`${PWDCMD-pwd}`
13982 \\/$
* | ?
:\\/*) libphobos_srcdir
=${srcdir} ;;
13983 *) libphobos_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
13989 if test ${multilib} = yes; then
13990 multilib_arg
="--enable-multilib"
13996 # Check whether --enable-werror was given.
13997 if test "${enable_werror+set}" = set; then :
13998 enableval
=$enable_werror;
14002 if test "x$enable_werror" = "xyes"; then
14003 WERROR_FLAG
="-Werror"
14007 # Check whether --enable-druntime-gc was given.
14008 if test "${enable_druntime_gc+set}" = set; then :
14009 enableval
=$enable_druntime_gc; enable_druntime_gc
=no
14011 enable_druntime_gc
=yes
14015 if test "$enable_druntime_gc" = "yes"; then
14016 DRUNTIME_GC_ENABLE_TRUE
=
14017 DRUNTIME_GC_ENABLE_FALSE
='#'
14019 DRUNTIME_GC_ENABLE_TRUE
='#'
14020 DRUNTIME_GC_ENABLE_FALSE
=
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target OS" >&5
14026 $as_echo_n "checking for target OS... " >&6; }
14027 if ${druntime_cv_target_os+:} false
; then :
14028 $as_echo_n "(cached) " >&6
14030 druntime_cv_target_os
=`echo $target_os | sed 's/^\([A-Za-z_]+\)/\1/'`
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_target_os" >&5
14033 $as_echo "$druntime_cv_target_os" >&6; }
14034 if test -z "$druntime_cv_target_os"; then :
14035 as_fn_error $?
"can't detect target OS" "$LINENO" 5
14040 # Check whether --enable-unix was given.
14041 if test "${enable_unix+set}" = set; then :
14042 enableval
=$enable_unix; :
14048 case "$druntime_cv_target_os" in
14049 aix
*|
*bsd
*|cygwin
*|darwin
*|gnu
*|linux
*|skyos
*|
*solaris
*|sysv
*) d_have_unix
=1 ;;
14051 if test -n "$d_have_unix" && test "$enable_unix" = auto
; then
14054 if test "$enable_unix" = "yes"; then
14055 DRUNTIME_OS_UNIX_TRUE
=
14056 DRUNTIME_OS_UNIX_FALSE
='#'
14058 DRUNTIME_OS_UNIX_TRUE
='#'
14059 DRUNTIME_OS_UNIX_FALSE
=
14066 druntime_target_os_parsed
=""
14067 case "$druntime_cv_target_os" in
14068 aix
*) druntime_target_os_parsed
="aix"
14071 druntime_target_os_parsed
="android"
14073 darwin
*) druntime_target_os_parsed
="darwin"
14076 druntime_target_os_parsed
="dragonflybsd"
14078 freebsd
*|k
*bsd
*-gnu)
14079 druntime_target_os_parsed
="freebsd"
14082 druntime_target_os_parsed
="openbsd"
14085 druntime_target_os_parsed
="netbsd"
14087 linux
*) druntime_target_os_parsed
="linux"
14089 mingw
*) druntime_target_os_parsed
="mingw"
14091 *solaris
*) druntime_target_os_parsed
="solaris"
14093 if test "$druntime_target_os_parsed" = "aix"; then
14094 DRUNTIME_OS_AIX_TRUE
=
14095 DRUNTIME_OS_AIX_FALSE
='#'
14097 DRUNTIME_OS_AIX_TRUE
='#'
14098 DRUNTIME_OS_AIX_FALSE
=
14101 if test "$druntime_target_os_parsed" = "android"; then
14102 DRUNTIME_OS_ANDROID_TRUE
=
14103 DRUNTIME_OS_ANDROID_FALSE
='#'
14105 DRUNTIME_OS_ANDROID_TRUE
='#'
14106 DRUNTIME_OS_ANDROID_FALSE
=
14109 if test "$druntime_target_os_parsed" = "darwin"; then
14110 DRUNTIME_OS_DARWIN_TRUE
=
14111 DRUNTIME_OS_DARWIN_FALSE
='#'
14113 DRUNTIME_OS_DARWIN_TRUE
='#'
14114 DRUNTIME_OS_DARWIN_FALSE
=
14117 if test "$druntime_target_os_parsed" = "dragonflybsd"; then
14118 DRUNTIME_OS_DRAGONFLYBSD_TRUE
=
14119 DRUNTIME_OS_DRAGONFLYBSD_FALSE
='#'
14121 DRUNTIME_OS_DRAGONFLYBSD_TRUE
='#'
14122 DRUNTIME_OS_DRAGONFLYBSD_FALSE
=
14125 if test "$druntime_target_os_parsed" = "freebsd"; then
14126 DRUNTIME_OS_FREEBSD_TRUE
=
14127 DRUNTIME_OS_FREEBSD_FALSE
='#'
14129 DRUNTIME_OS_FREEBSD_TRUE
='#'
14130 DRUNTIME_OS_FREEBSD_FALSE
=
14133 if test "$druntime_target_os_parsed" = "netbsd"; then
14134 DRUNTIME_OS_NETBSD_TRUE
=
14135 DRUNTIME_OS_NETBSD_FALSE
='#'
14137 DRUNTIME_OS_NETBSD_TRUE
='#'
14138 DRUNTIME_OS_NETBSD_FALSE
=
14141 if test "$druntime_target_os_parsed" = "openbsd"; then
14142 DRUNTIME_OS_OPENBSD_TRUE
=
14143 DRUNTIME_OS_OPENBSD_FALSE
='#'
14145 DRUNTIME_OS_OPENBSD_TRUE
='#'
14146 DRUNTIME_OS_OPENBSD_FALSE
=
14149 if test "$druntime_target_os_parsed" = "linux"; then
14150 DRUNTIME_OS_LINUX_TRUE
=
14151 DRUNTIME_OS_LINUX_FALSE
='#'
14153 DRUNTIME_OS_LINUX_TRUE
='#'
14154 DRUNTIME_OS_LINUX_FALSE
=
14157 if test "$druntime_target_os_parsed" = "mingw"; then
14158 DRUNTIME_OS_MINGW_TRUE
=
14159 DRUNTIME_OS_MINGW_FALSE
='#'
14161 DRUNTIME_OS_MINGW_TRUE
='#'
14162 DRUNTIME_OS_MINGW_FALSE
=
14165 if test "$druntime_target_os_parsed" = "solaris"; then
14166 DRUNTIME_OS_SOLARIS_TRUE
=
14167 DRUNTIME_OS_SOLARIS_FALSE
='#'
14169 DRUNTIME_OS_SOLARIS_TRUE
='#'
14170 DRUNTIME_OS_SOLARIS_FALSE
=
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GDC" >&5
14177 $as_echo_n "checking for thread model used by GDC... " >&6; }
14178 d_thread_model
=`$GDC -v 2>&1 | sed -n 's/^Thread model: //p'`
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $d_thread_model" >&5
14180 $as_echo "$d_thread_model" >&6; }
14182 # Map from thread model to thread interface.
14184 case $d_thread_model in
14185 aix
) DCFG_THREAD_MODEL
="Posix" ;;
14186 lynx
) DCFG_THREAD_MODEL
="Posix" ;;
14187 posix
) DCFG_THREAD_MODEL
="Posix" ;;
14188 single
) DCFG_THREAD_MODEL
="Single" ;;
14189 win32
) DCFG_THREAD_MODEL
="Win32" ;;
14190 # TODO: These targets need porting.
14191 dce|mipssde|rtems|tpf|vxworks
)
14192 DCFG_THREAD_MODEL
="Single" ;;
14193 *) as_fn_error
"Thread implementation '$d_thread_model' not recognised" "$LINENO" 5 ;;
14200 ac_cpp
='$CPP $CPPFLAGS'
14201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARM unwinder" >&5
14206 $as_echo_n "checking for ARM unwinder... " >&6; }
14207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14209 #include <unwind.h>
14214 #if __ARM_EABI_UNWINDER__
14222 if ac_fn_c_try_compile
"$LINENO"; then :
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14224 $as_echo "no" >&6; }
14225 DCFG_ARM_EABI_UNWINDER
=false
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14228 $as_echo "yes" >&6; }
14229 DCFG_ARM_EABI_UNWINDER
=true
14231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14233 if test "$DCFG_ARM_EABI_UNWINDER" = "true"; then
14234 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
=
14235 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
='#'
14237 DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE
='#'
14238 DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE
=
14242 ac_cpp
='$CPP $CPPFLAGS'
14243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14250 ac_cpp
='$CPP $CPPFLAGS'
14251 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14252 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14253 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minfo section bracketing" >&5
14256 $as_echo_n "checking for minfo section bracketing... " >&6; }
14257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 void* module_info_ptr __attribute__((section ("minfo")));
14261 extern void* __start_minfo __attribute__((visibility ("hidden")));
14262 extern void* __stop_minfo __attribute__((visibility ("hidden")));
14266 // Never run, just to prevent compiler from optimizing access
14267 return &__start_minfo == &__stop_minfo;
14271 if ac_fn_c_try_link
"$LINENO"; then :
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14273 $as_echo "yes" >&6; }
14274 DCFG_MINFO_BRACKETING
=true
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14277 $as_echo "no" >&6; }
14278 DCFG_MINFO_BRACKETING
=false
14280 rm -f core conftest.err conftest.
$ac_objext \
14281 conftest
$ac_exeext conftest.
$ac_ext
14283 if test "$DCFG_MINFO_BRACKETING" = "true"; then
14284 DRUNTIME_OS_MINFO_BRACKETING_TRUE
=
14285 DRUNTIME_OS_MINFO_BRACKETING_FALSE
='#'
14287 DRUNTIME_OS_MINFO_BRACKETING_TRUE
='#'
14288 DRUNTIME_OS_MINFO_BRACKETING_FALSE
=
14292 ac_cpp
='$CPP $CPPFLAGS'
14293 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14294 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14300 ac_cpp
='$CPP $CPPFLAGS'
14301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14305 ac_fn_c_check_member
"$LINENO" "struct dl_phdr_info" "dlpi_tls_modid" "ac_cv_member_struct_dl_phdr_info_dlpi_tls_modid" "#include <link.h>
14307 if test "x$ac_cv_member_struct_dl_phdr_info_dlpi_tls_modid" = xyes
; then :
14308 DCFG_DLPI_TLS_MODID
=true
14310 DCFG_DLPI_TLS_MODID
=false
14315 ac_cpp
='$CPP $CPPFLAGS'
14316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14323 i?
86-*-solaris2.
* | x86_64-
*-solaris2.
*)
14324 # 64-bit Solaris/x86 ld breaks calls to __tls_get_addr with non-TLS
14325 # relocs. Work around by disabling TLS transitions. Not necessary
14326 # on 32-bit x86, but cannot be distinguished reliably in specs.
14327 druntime_ld_prog
=`$CC -print-prog-name=ld`
14328 if test -n "$druntime_ld_prog" \
14329 && $druntime_ld_prog -v 2>&1 |
grep GNU
> /dev
/null
2>&1; then
14332 OS_LINK_SPEC
='-z relax=transtls'
14340 ac_cpp
='$CPP $CPPFLAGS'
14341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14345 DCFG_HAVE_QSORT_R
=false
14346 ac_fn_c_check_func
"$LINENO" "qsort_r" "ac_cv_func_qsort_r"
14347 if test "x$ac_cv_func_qsort_r" = xyes
; then :
14348 DCFG_HAVE_QSORT_R
=true
14353 ac_cpp
='$CPP $CPPFLAGS'
14354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14362 gdc_save_DFLAGS
=$GDCFLAGS
14363 GDCFLAGS
="-fno-moduleinfo -nostdinc -I $phobos_cv_abs_srcdir/libdruntime -nophoboslib $GDCFLAGS"
14366 ac_compile
='$GDC -c $GDCFLAGS conftest.$ac_ext >&5'
14367 ac_link
='$GDC -o conftest$ac_exeext $GDCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14368 ac_compiler_gnu
=yes
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing malloc" >&5
14371 $as_echo_n "checking for library containing malloc... " >&6; }
14372 if ${ac_cv_search_malloc+:} false
; then :
14373 $as_echo_n "(cached) " >&6
14375 ac_func_search_save_LIBS
=$LIBS
14376 cat > conftest.
$ac_ext <<_ACEOF
14378 extern(C) int malloc();
14380 extern(C) int main() {
14381 malloc(); return 0;
14384 for ac_lib
in '' c
; do
14385 if test -z "$ac_lib"; then
14386 ac_res
="none required"
14389 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14391 if ac_fn_d_try_link
"$LINENO"; then :
14392 ac_cv_search_malloc
=$ac_res
14394 rm -f core conftest.err conftest.
$ac_objext \
14396 if ${ac_cv_search_malloc+:} false
; then :
14400 if ${ac_cv_search_malloc+:} false
; then :
14403 ac_cv_search_malloc
=no
14405 rm conftest.
$ac_ext
14406 LIBS
=$ac_func_search_save_LIBS
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_malloc" >&5
14409 $as_echo "$ac_cv_search_malloc" >&6; }
14410 ac_res
=$ac_cv_search_malloc
14411 if test "$ac_res" != no
; then :
14412 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14417 enable_thread_lib
=yes
14418 # Check whether --enable-thread-lib was given.
14419 if test "${enable_thread_lib+set}" = set; then :
14420 enableval
=$enable_thread_lib;
14424 if test "x$enable_thread_lib" = "xyes"; then :
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
14427 $as_echo_n "checking for library containing pthread_create... " >&6; }
14428 if ${ac_cv_search_pthread_create+:} false
; then :
14429 $as_echo_n "(cached) " >&6
14431 ac_func_search_save_LIBS
=$LIBS
14432 cat > conftest.
$ac_ext <<_ACEOF
14434 extern(C) int pthread_create();
14436 extern(C) int main() {
14437 pthread_create(); return 0;
14440 for ac_lib
in '' pthread
; do
14441 if test -z "$ac_lib"; then
14442 ac_res
="none required"
14445 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14447 if ac_fn_d_try_link
"$LINENO"; then :
14448 ac_cv_search_pthread_create
=$ac_res
14450 rm -f core conftest.err conftest.
$ac_objext \
14452 if ${ac_cv_search_pthread_create+:} false
; then :
14456 if ${ac_cv_search_pthread_create+:} false
; then :
14459 ac_cv_search_pthread_create
=no
14461 rm conftest.
$ac_ext
14462 LIBS
=$ac_func_search_save_LIBS
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
14465 $as_echo "$ac_cv_search_pthread_create" >&6; }
14466 ac_res
=$ac_cv_search_pthread_create
14467 if test "$ac_res" != no
; then :
14468 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14475 if test "x$enable_thread_lib" = "xno"; then :
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread library" >&5
14478 $as_echo_n "checking for thread library... " >&6; }
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14480 $as_echo "disabled" >&6; }
14484 as_ac_Lib
=`$as_echo "ac_cv_lib_$enable_thread_lib''_pthread_create" | $as_tr_sh`
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -l$enable_thread_lib" >&5
14486 $as_echo_n "checking for pthread_create in -l$enable_thread_lib... " >&6; }
14487 if eval \
${$as_ac_Lib+:} false
; then :
14488 $as_echo_n "(cached) " >&6
14490 ac_check_lib_save_LIBS
=$LIBS
14491 LIBS
="-l$enable_thread_lib $LIBS"
14492 cat > conftest.
$ac_ext <<_ACEOF
14494 extern(C) int pthread_create();
14496 extern(C) int main() {
14497 pthread_create(); return 0;
14500 if ac_fn_d_try_link
"$LINENO"; then :
14501 eval "$as_ac_Lib=yes"
14503 eval "$as_ac_Lib=no"
14505 rm -f core conftest.err conftest.
$ac_objext \
14506 conftest
$ac_exeext conftest.
$ac_ext
14507 LIBS
=$ac_check_lib_save_LIBS
14509 eval ac_res
=\$
$as_ac_Lib
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14511 $as_echo "$ac_res" >&6; }
14512 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
14513 cat >>confdefs.h
<<_ACEOF
14514 #define `$as_echo "HAVE_LIB$enable_thread_lib" | $as_tr_cpp` 1
14517 LIBS
="-l$enable_thread_lib $LIBS"
14521 as_fn_error $?
"Thread library not found" "$LINENO" 5
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cosf" >&5
14531 $as_echo_n "checking for library containing cosf... " >&6; }
14532 if ${ac_cv_search_cosf+:} false
; then :
14533 $as_echo_n "(cached) " >&6
14535 ac_func_search_save_LIBS
=$LIBS
14536 cat > conftest.
$ac_ext <<_ACEOF
14538 extern(C) int cosf();
14540 extern(C) int main() {
14544 for ac_lib
in '' m
; do
14545 if test -z "$ac_lib"; then
14546 ac_res
="none required"
14549 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14551 if ac_fn_d_try_link
"$LINENO"; then :
14552 ac_cv_search_cosf
=$ac_res
14554 rm -f core conftest.err conftest.
$ac_objext \
14556 if ${ac_cv_search_cosf+:} false
; then :
14560 if ${ac_cv_search_cosf+:} false
; then :
14563 ac_cv_search_cosf
=no
14565 rm conftest.
$ac_ext
14566 LIBS
=$ac_func_search_save_LIBS
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cosf" >&5
14569 $as_echo "$ac_cv_search_cosf" >&6; }
14570 ac_res
=$ac_cv_search_cosf
14571 if test "$ac_res" != no
; then :
14572 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14577 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14578 if ${ac_cv_search_clock_gettime+:} false
; then :
14579 $as_echo_n "(cached) " >&6
14581 ac_func_search_save_LIBS
=$LIBS
14582 cat > conftest.
$ac_ext <<_ACEOF
14584 extern(C) int clock_gettime();
14586 extern(C) int main() {
14587 clock_gettime(); return 0;
14590 for ac_lib
in '' rt
; do
14591 if test -z "$ac_lib"; then
14592 ac_res
="none required"
14595 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14597 if ac_fn_d_try_link
"$LINENO"; then :
14598 ac_cv_search_clock_gettime
=$ac_res
14600 rm -f core conftest.err conftest.
$ac_objext \
14602 if ${ac_cv_search_clock_gettime+:} false
; then :
14606 if ${ac_cv_search_clock_gettime+:} false
; then :
14609 ac_cv_search_clock_gettime
=no
14611 rm conftest.
$ac_ext
14612 LIBS
=$ac_func_search_save_LIBS
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14615 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14616 ac_res
=$ac_cv_search_clock_gettime
14617 if test "$ac_res" != no
; then :
14618 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14623 # This checks to see if the host supports the compiler-generated builtins
14624 # for atomic operations for various integral sizes. Note, this is intended
14625 # to be an all-or-nothing switch, so all the atomic operations that are
14626 # used should be checked.
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for byte" >&5
14628 $as_echo_n "checking for atomic builtins for byte... " >&6; }
14629 if ${druntime_cv_atomic_byte+:} false
; then :
14630 $as_echo_n "(cached) " >&6
14633 cat > conftest.
$ac_ext <<_ACEOF
14635 import gcc.builtins;
14637 extern(C) int main() {
14641 __atomic_compare_exchange_1(&c1, &c2, c3, false, 5, 5);
14642 __atomic_load_1(&c1, 5);
14643 __atomic_store_1(&c1, c2, 5);
14648 if ac_fn_d_try_link
"$LINENO"; then :
14649 druntime_cv_atomic_byte
=yes
14651 druntime_cv_atomic_byte
=no
14653 rm -f core conftest.err conftest.
$ac_objext \
14654 conftest
$ac_exeext conftest.
$ac_ext
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_byte" >&5
14659 $as_echo "$druntime_cv_atomic_byte" >&6; }
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
14662 $as_echo_n "checking for atomic builtins for short... " >&6; }
14663 if ${druntime_cv_atomic_short+:} false
; then :
14664 $as_echo_n "(cached) " >&6
14667 cat > conftest.
$ac_ext <<_ACEOF
14669 import gcc.builtins;
14671 extern(C) int main() {
14675 __atomic_compare_exchange_2(&c1, &c2, c3, false, 5, 5);
14676 __atomic_load_2(&c1, 5);
14677 __atomic_store_2(&c1, c2, 5);
14682 if ac_fn_d_try_link
"$LINENO"; then :
14683 druntime_cv_atomic_short
=yes
14685 druntime_cv_atomic_short
=no
14687 rm -f core conftest.err conftest.
$ac_objext \
14688 conftest
$ac_exeext conftest.
$ac_ext
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_short" >&5
14693 $as_echo "$druntime_cv_atomic_short" >&6; }
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
14696 $as_echo_n "checking for atomic builtins for int... " >&6; }
14697 if ${druntime_cv_atomic_int+:} false
; then :
14698 $as_echo_n "(cached) " >&6
14701 cat > conftest.
$ac_ext <<_ACEOF
14703 import gcc.builtins;
14705 extern(C) int main() {
14709 __atomic_compare_exchange_4(&c1, &c2, c3, false, 5, 5);
14710 __atomic_load_4(&c1, 5);
14711 __atomic_store_4(&c1, c2, 5);
14716 if ac_fn_d_try_link
"$LINENO"; then :
14717 druntime_cv_atomic_int
=yes
14719 druntime_cv_atomic_int
=no
14721 rm -f core conftest.err conftest.
$ac_objext \
14722 conftest
$ac_exeext conftest.
$ac_ext
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_int" >&5
14727 $as_echo "$druntime_cv_atomic_int" >&6; }
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long" >&5
14730 $as_echo_n "checking for atomic builtins for long... " >&6; }
14731 if ${druntime_cv_atomic_long+:} false
; then :
14732 $as_echo_n "(cached) " >&6
14735 cat > conftest.
$ac_ext <<_ACEOF
14737 import gcc.builtins;
14739 extern(C) int main() {
14743 __atomic_compare_exchange_8(&c1, &c2, c3, false, 5, 5);
14744 __atomic_load_8(&c1, 5);
14745 __atomic_store_8(&c1, c2, 5);
14750 if ac_fn_d_try_link
"$LINENO"; then :
14751 druntime_cv_atomic_long
=yes
14753 druntime_cv_atomic_long
=no
14755 rm -f core conftest.err conftest.
$ac_objext \
14756 conftest
$ac_exeext conftest.
$ac_ext
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_atomic_long" >&5
14761 $as_echo "$druntime_cv_atomic_long" >&6; }
14763 # Have atomic builtin support if all but the long test above passes.
14764 DCFG_HAVE_ATOMIC_BUILTINS
=false
14765 if test "$druntime_cv_atomic_byte" = yes \
14766 && test "$druntime_cv_atomic_short" = yes \
14767 && test "$druntime_cv_atomic_int" = yes; then \
14768 DCFG_HAVE_ATOMIC_BUILTINS
=true
14771 # Have 64-bit atomic support if the long test above passes.
14772 DCFG_HAVE_64BIT_ATOMICS
=false
14773 if test "$druntime_cv_atomic_long" = yes; then
14774 DCFG_HAVE_64BIT_ATOMICS
=true
14781 ac_cpp
='$CPP $CPPFLAGS'
14782 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14783 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14784 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14787 GDCFLAGS
=$gdc_save_DFLAGS
14792 # Check whether --with-libatomic was given.
14793 if test "${with_libatomic+set}" = set; then :
14794 withval
=$with_libatomic;
14798 DCFG_HAVE_LIBATOMIC
=false
14800 if test "x$with_libatomic" != "xno"; then :
14802 DCFG_HAVE_LIBATOMIC
=true
14803 LIBATOMIC
=..
/..
/libatomic
/libatomic_convenience.la
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic" >&5
14808 $as_echo_n "checking for libatomic... " >&6; }
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14810 $as_echo "disabled" >&6; }
14819 ac_cpp
='$CPP $CPPFLAGS'
14820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14824 BACKTRACE_SUPPORTED
=false
14825 BACKTRACE_USES_MALLOC
=false
14826 BACKTRACE_SUPPORTS_THREADS
=false
14830 # Check whether --with-libbacktrace was given.
14831 if test "${with_libbacktrace+set}" = set; then :
14832 withval
=$with_libbacktrace;
14836 if test "x$with_libbacktrace" != "xno"; then :
14838 LIBBACKTRACE
=..
/..
/libbacktrace
/libbacktrace.la
14840 gdc_save_CPPFLAGS
=$CPPFLAGS
14841 CPPFLAGS
+=" -I../libbacktrace "
14843 ac_fn_c_check_header_mongrel
"$LINENO" "backtrace-supported.h" "ac_cv_header_backtrace_supported_h" "$ac_includes_default"
14844 if test "x$ac_cv_header_backtrace_supported_h" = xyes
; then :
14845 have_libbacktrace_h
=true
14847 have_libbacktrace_h
=false
14852 if $have_libbacktrace_h; then
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_SUPPORTED" >&5
14854 $as_echo_n "checking libbacktrace: BACKTRACE_SUPPORTED... " >&6; }
14855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14858 #include <backtrace-supported.h>
14859 #if BACKTRACE_SUPPORTED
14860 FOUND_LIBBACKTRACE_RESULT_GDC
14864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14865 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14866 BACKTRACE_SUPPORTED
=true
14868 BACKTRACE_SUPPORTED
=false
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_SUPPORTED" >&5
14873 $as_echo "$BACKTRACE_SUPPORTED" >&6; }
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_USES_MALLOC" >&5
14876 $as_echo_n "checking libbacktrace: BACKTRACE_USES_MALLOC... " >&6; }
14877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14880 #include <backtrace-supported.h>
14881 #if BACKTRACE_USES_MALLOC
14882 FOUND_LIBBACKTRACE_RESULT_GDC
14886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14887 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14888 BACKTRACE_USES_MALLOC
=true
14890 BACKTRACE_USES_MALLOC
=false
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_USES_MALLOC" >&5
14895 $as_echo "$BACKTRACE_USES_MALLOC" >&6; }
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libbacktrace: BACKTRACE_SUPPORTS_THREADS" >&5
14898 $as_echo_n "checking libbacktrace: BACKTRACE_SUPPORTS_THREADS... " >&6; }
14899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14902 #include <backtrace-supported.h>
14903 #if BACKTRACE_SUPPORTS_THREADS
14904 FOUND_LIBBACKTRACE_RESULT_GDC
14908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14909 $EGREP "FOUND_LIBBACKTRACE_RESULT_GDC" >/dev
/null
2>&1; then :
14910 BACKTRACE_SUPPORTS_THREADS
=true
14912 BACKTRACE_SUPPORTS_THREADS
=false
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKTRACE_SUPPORTS_THREADS" >&5
14917 $as_echo "$BACKTRACE_SUPPORTS_THREADS" >&6; }
14919 CPPFLAGS
=$gdc_save_CPPFLAGS
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbacktrace" >&5
14924 $as_echo_n "checking for libbacktrace... " >&6; }
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14926 $as_echo "disabled" >&6; }
14935 ac_cpp
='$CPP $CPPFLAGS'
14936 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14937 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14938 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14942 # Libtool has already checked this, so re-use the inferred dlopen lib.
14943 if test "x$enable_dlopen" = "xyes" && test -n "$lt_cv_dlopen_libs"; then :
14945 LIBS
="$LIBS $lt_cv_dlopen_libs"
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
14951 $as_echo_n "checking for socket libraries... " >&6; }
14952 if ${druntime_cv_lib_sockets+:} false
; then :
14953 $as_echo_n "(cached) " >&6
14955 druntime_cv_lib_sockets
=
14956 druntime_check_both
=no
14957 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
14958 if test "x$ac_cv_func_connect" = xyes
; then :
14959 druntime_check_socket
=no
14961 druntime_check_socket
=yes
14964 if test "$druntime_check_socket" = "yes"; then
14965 unset ac_cv_func_connect
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
14967 $as_echo_n "checking for main in -lsocket... " >&6; }
14968 if ${ac_cv_lib_socket_main+:} false
; then :
14969 $as_echo_n "(cached) " >&6
14971 ac_check_lib_save_LIBS
=$LIBS
14972 LIBS
="-lsocket $LIBS"
14973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14974 /* end confdefs.h. */
14985 if ac_fn_c_try_link
"$LINENO"; then :
14986 ac_cv_lib_socket_main
=yes
14988 ac_cv_lib_socket_main
=no
14990 rm -f core conftest.err conftest.
$ac_objext \
14991 conftest
$ac_exeext conftest.
$ac_ext
14992 LIBS
=$ac_check_lib_save_LIBS
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
14995 $as_echo "$ac_cv_lib_socket_main" >&6; }
14996 if test "x$ac_cv_lib_socket_main" = xyes
; then :
14997 druntime_cv_lib_sockets
="-lsocket"
14999 druntime_check_both
=yes
15003 if test "$druntime_check_both" = "yes"; then
15004 druntime_old_libs
=$LIBS
15005 LIBS
="$LIBS -lsocket -lnsl"
15006 unset ac_cv_func_accept
15007 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
15008 if test "x$ac_cv_func_accept" = xyes
; then :
15009 druntime_check_nsl
=no
15010 druntime_cv_lib_sockets
="-lsocket -lnsl"
15013 unset ac_cv_func_accept
15014 LIBS
=$druntime_old_libs
15016 unset ac_cv_func_gethostbyname
15017 druntime_old_libs
="$LIBS"
15018 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
15019 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
15023 $as_echo_n "checking for main in -lnsl... " >&6; }
15024 if ${ac_cv_lib_nsl_main+:} false
; then :
15025 $as_echo_n "(cached) " >&6
15027 ac_check_lib_save_LIBS
=$LIBS
15029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15041 if ac_fn_c_try_link
"$LINENO"; then :
15042 ac_cv_lib_nsl_main
=yes
15044 ac_cv_lib_nsl_main
=no
15046 rm -f core conftest.err conftest.
$ac_objext \
15047 conftest
$ac_exeext conftest.
$ac_ext
15048 LIBS
=$ac_check_lib_save_LIBS
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
15051 $as_echo "$ac_cv_lib_nsl_main" >&6; }
15052 if test "x$ac_cv_lib_nsl_main" = xyes
; then :
15053 druntime_cv_lib_sockets
="$druntime_cv_lib_sockets -lnsl"
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $druntime_cv_lib_sockets" >&5
15061 $as_echo "$druntime_cv_lib_sockets" >&6; }
15062 LIBS
="$LIBS $druntime_cv_lib_sockets"
15066 ac_cpp
='$CPP $CPPFLAGS'
15067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15074 # Check whether --with-target-system-zlib was given.
15075 if test "${with_target_system_zlib+set}" = set; then :
15076 withval
=$with_target_system_zlib;
15078 with_target_system_zlib
=no
15082 case "$with_target_system_zlib" in
15084 *) as_fn_error $?
"Invalid argument for --with-target-system-zlib" "$LINENO" 5 ;;
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for system zlib" >&5
15088 $as_echo_n "checking for system zlib... " >&6; }
15091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15092 /* end confdefs.h. */
15097 gzopen("none", "rb")
15102 if ac_fn_c_try_link
"$LINENO"; then :
15104 if test "$cross_compiling" = yes; then :
15105 system_zlib_found
=no
15108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h. */
15113 gzFile file = gzopen("none", "rb");
15118 if ac_fn_c_try_run
"$LINENO"; then :
15119 system_zlib_found
=yes
15121 system_zlib_found
=no
15123 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15124 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15129 system_zlib_found
=no
15131 rm -f core conftest.err conftest.
$ac_objext \
15132 conftest
$ac_exeext conftest.
$ac_ext
15135 if test x
$system_zlib_found = xyes
&& test x
$with_target_system_zlib != xno
; then
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15137 $as_echo "found" >&6; }
15139 elif test x
$system_zlib_found = xno
&& test x
$with_target_system_zlib = xyes
; then
15140 as_fn_error $?
"system zlib required but not found" "$LINENO" 5
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
15143 $as_echo "just compiled" >&6; }
15144 LIBZ
=..
/..
/zlib
/libz_convenience.la
15149 ac_cpp
='$CPP $CPPFLAGS'
15150 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15151 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15152 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking D GCC version" >&5
15159 $as_echo_n "checking D GCC version... " >&6; }
15160 gcc_version
=`eval $get_gcc_base_ver $srcdir/../gcc/BASE-VER`
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_version" >&5
15162 $as_echo "$gcc_version" >&6; }
15166 # Check whether --with-cross-host was given.
15167 if test "${with_cross_host+set}" = set; then :
15168 withval
=$with_cross_host;
15172 libphobos_toolexecdir
=no
15173 libphobos_toolexeclibdir
=no
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
15176 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
15177 # Check whether --enable-version-specific-runtime-libs was given.
15178 if test "${enable_version_specific_runtime_libs+set}" = set; then :
15179 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
15180 yes) version_specific_libs
=yes ;;
15181 no
) version_specific_libs
=no
;;
15182 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
15185 version_specific_libs
=no
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
15189 $as_echo "$version_specific_libs" >&6; }
15191 # Version-specific runtime libs processing.
15192 if test $version_specific_libs = yes; then
15193 libphobos_toolexecdir
='${libdir}/gcc/${host_alias}'
15194 libphobos_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
15196 # Calculate libphobos_toolexecdir, libphobos_toolexeclibdir
15197 # Install a library built with a cross compiler in tooldir, not libdir.
15198 if test -n "$with_cross_host" && test x
"$with_cross_host" != x
"no"; then
15199 libphobos_toolexecdir
='${exec_prefix}/${host_alias}'
15200 libphobos_toolexeclibdir
='${toolexecdir}/lib'
15202 libphobos_toolexecdir
='${libdir}/gcc/${host_alias}'
15203 libphobos_toolexeclibdir
='${libdir}'
15205 multi_os_directory
=`$GDC -print-multi-os-directory`
15206 case $multi_os_directory in
15207 .
) ;; # Avoid trailing /.
15208 *) libphobos_toolexeclibdir
=${libphobos_toolexeclibdir}/${multi_os_directory} ;;
15214 # Default case for install directory for D sources files.
15215 gdc_include_dir
='$(libdir)/gcc/${target_alias}/${gcc_version}/include/d'
15219 # Add drtbegin.o/drtend.o to startfile/endfile specs in libgphobos.spec
15220 if test "$DCFG_MINFO_BRACKETING" = "false"; then
15221 DRTSTUFF_SPEC
=$srcdir/src
/drtstuff.spec
15223 DRTSTUFF_SPEC
=/dev
/null
15227 # Add dependencies for libgphobos.spec file
15228 SPEC_PHOBOS_DEPS
="$LIBS"
15231 # Libdruntime / phobos soname version
15232 libtool_VERSION
=76:3:0
15235 # Set default flags (after DRUNTIME_WERROR!)
15236 if test -z "$GDCFLAGS"; then
15237 GDCFLAGS
="-Wall $WERROR_FLAG -g -frelease -O2"
15241 if test -z "$GDCFLAGSX"; then
15242 GDCFLAGSX
="-Wall $WERROR_FLAG -g -fno-release -funittest"
15246 # Sanity check for the cross-compilation case:
15247 ac_fn_c_check_header_mongrel
"$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
15248 if test "x$ac_cv_header_stdio_h" = xyes
; then :
15251 as_fn_error $?
"cannot find stdio.h." "$LINENO" 5
15256 ac_config_files
="$ac_config_files Makefile"
15259 ac_config_files
="$ac_config_files libdruntime/gcc/config.d libdruntime/gcc/libbacktrace.d"
15261 ac_config_files
="$ac_config_files src/libgphobos.spec"
15263 ac_config_files
="$ac_config_files testsuite/testsuite_flags"
15266 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
15267 # that multilib installs will end up installed in the correct place.
15268 # The testsuite needs it for multilib-aware ABI baseline files.
15269 # To work around this not being passed down from config-ml.in ->
15270 # srcdir/Makefile.am -> srcdir/{src,libdruntime,...}/Makefile.am, manually
15271 # append it here. Only modify Makefiles that have just been created.
15273 # Also, get rid of this simulated-VPATH thing that automake does.
15274 ac_config_files
="$ac_config_files libdruntime/Makefile src/Makefile testsuite/Makefile"
15277 cat >confcache
<<\_ACEOF
15278 # This file is a shell script that caches the results of configure
15279 # tests run on this system so they can be shared between configure
15280 # scripts and configure runs, see configure's option --config-cache.
15281 # It is not useful on other systems. If it contains results you don't
15282 # want to keep, you may remove or edit it.
15284 # config.status only pays attention to the cache file if you give it
15285 # the --recheck option to rerun configure.
15287 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15288 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15289 # following values.
15293 # The following way of writing the cache mishandles newlines in values,
15294 # but we know of no workaround that is simple, portable, and efficient.
15295 # So, we kill variables containing newlines.
15296 # Ultrix sh set writes to stderr and can't be redirected directly,
15297 # and sets the high bit in the cache file unless we assign to the vars.
15299 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15300 eval ac_val
=\$
$ac_var
15304 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15305 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15308 _ | IFS | as_nl
) ;; #(
15309 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15310 *) { eval $ac_var=; unset $ac_var;} ;;
15316 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15317 *${as_nl}ac_space
=\
*)
15318 # `set' does not quote correctly, so add quotes: double-quote
15319 # substitution turns \\\\ into \\, and sed turns \\ into \.
15322 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15325 # `set' quotes correctly as required by POSIX, so do not add quotes.
15326 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15335 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15337 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15339 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15340 if test -w "$cache_file"; then
15341 if test "x$cache_file" != "x/dev/null"; then
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15343 $as_echo "$as_me: updating cache $cache_file" >&6;}
15344 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15345 cat confcache
>"$cache_file"
15347 case $cache_file in #(
15349 mv -f confcache
"$cache_file"$$
&&
15350 mv -f "$cache_file"$$
"$cache_file" ;; #(
15352 mv -f confcache
"$cache_file" ;;
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15358 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15363 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15364 # Let make expand exec_prefix.
15365 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15367 DEFS
=-DHAVE_CONFIG_H
15372 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15373 # 1. Remove the extension, and $U if already installed.
15374 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15375 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15376 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15377 # will be set to the directory where LIBOBJS objects are built.
15378 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15379 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15381 LIBOBJS
=$ac_libobjs
15383 LTLIBOBJS
=$ac_ltlibobjs
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15387 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15388 if test -n "$am_sleep_pid"; then
15389 # Hide warnings about reused PIDs.
15390 wait $am_sleep_pid 2>/dev
/null
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15393 $as_echo "done" >&6; }
15394 if test -n "$EXEEXT"; then
15396 am__EXEEXT_FALSE
='#'
15398 am__EXEEXT_TRUE
='#'
15402 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15403 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15406 if test -z "${ENABLE_LIBPHOBOS_TRUE}" && test -z "${ENABLE_LIBPHOBOS_FALSE}"; then
15407 as_fn_error $?
"conditional \"ENABLE_LIBPHOBOS\" was never defined.
15408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15410 if test -z "${DRUNTIME_GC_ENABLE_TRUE}" && test -z "${DRUNTIME_GC_ENABLE_FALSE}"; then
15411 as_fn_error $?
"conditional \"DRUNTIME_GC_ENABLE\" was never defined.
15412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15414 if test -z "${DRUNTIME_OS_UNIX_TRUE}" && test -z "${DRUNTIME_OS_UNIX_FALSE}"; then
15415 as_fn_error $?
"conditional \"DRUNTIME_OS_UNIX\" was never defined.
15416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15418 if test -z "${DRUNTIME_OS_AIX_TRUE}" && test -z "${DRUNTIME_OS_AIX_FALSE}"; then
15419 as_fn_error $?
"conditional \"DRUNTIME_OS_AIX\" was never defined.
15420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15422 if test -z "${DRUNTIME_OS_ANDROID_TRUE}" && test -z "${DRUNTIME_OS_ANDROID_FALSE}"; then
15423 as_fn_error $?
"conditional \"DRUNTIME_OS_ANDROID\" was never defined.
15424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15426 if test -z "${DRUNTIME_OS_DARWIN_TRUE}" && test -z "${DRUNTIME_OS_DARWIN_FALSE}"; then
15427 as_fn_error $?
"conditional \"DRUNTIME_OS_DARWIN\" was never defined.
15428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15430 if test -z "${DRUNTIME_OS_DRAGONFLYBSD_TRUE}" && test -z "${DRUNTIME_OS_DRAGONFLYBSD_FALSE}"; then
15431 as_fn_error $?
"conditional \"DRUNTIME_OS_DRAGONFLYBSD\" was never defined.
15432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15434 if test -z "${DRUNTIME_OS_FREEBSD_TRUE}" && test -z "${DRUNTIME_OS_FREEBSD_FALSE}"; then
15435 as_fn_error $?
"conditional \"DRUNTIME_OS_FREEBSD\" was never defined.
15436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15438 if test -z "${DRUNTIME_OS_NETBSD_TRUE}" && test -z "${DRUNTIME_OS_NETBSD_FALSE}"; then
15439 as_fn_error $?
"conditional \"DRUNTIME_OS_NETBSD\" was never defined.
15440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15442 if test -z "${DRUNTIME_OS_OPENBSD_TRUE}" && test -z "${DRUNTIME_OS_OPENBSD_FALSE}"; then
15443 as_fn_error $?
"conditional \"DRUNTIME_OS_OPENBSD\" was never defined.
15444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15446 if test -z "${DRUNTIME_OS_LINUX_TRUE}" && test -z "${DRUNTIME_OS_LINUX_FALSE}"; then
15447 as_fn_error $?
"conditional \"DRUNTIME_OS_LINUX\" was never defined.
15448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15450 if test -z "${DRUNTIME_OS_MINGW_TRUE}" && test -z "${DRUNTIME_OS_MINGW_FALSE}"; then
15451 as_fn_error $?
"conditional \"DRUNTIME_OS_MINGW\" was never defined.
15452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15454 if test -z "${DRUNTIME_OS_SOLARIS_TRUE}" && test -z "${DRUNTIME_OS_SOLARIS_FALSE}"; then
15455 as_fn_error $?
"conditional \"DRUNTIME_OS_SOLARIS\" was never defined.
15456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15458 if test -z "${DRUNTIME_OS_ARM_EABI_UNWINDER_TRUE}" && test -z "${DRUNTIME_OS_ARM_EABI_UNWINDER_FALSE}"; then
15459 as_fn_error $?
"conditional \"DRUNTIME_OS_ARM_EABI_UNWINDER\" was never defined.
15460 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15462 if test -z "${DRUNTIME_OS_MINFO_BRACKETING_TRUE}" && test -z "${DRUNTIME_OS_MINFO_BRACKETING_FALSE}"; then
15463 as_fn_error $?
"conditional \"DRUNTIME_OS_MINFO_BRACKETING\" was never defined.
15464 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15467 : "${CONFIG_STATUS=./config.status}"
15469 ac_clean_files_save
=$ac_clean_files
15470 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15472 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15474 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15476 # Generated by $as_me.
15477 # Run this file to recreate the current configuration.
15478 # Compiler output produced by configure, useful for debugging
15479 # configure, is in config.log if it exists.
15482 ac_cs_recheck=false
15485 SHELL=\${CONFIG_SHELL-$SHELL}
15488 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15489 ## -------------------- ##
15490 ## M4sh Initialization. ##
15491 ## -------------------- ##
15493 # Be more Bourne compatible
15494 DUALCASE
=1; export DUALCASE
# for MKS sh
15495 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15498 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15499 # is contrary to our usage. Disable this feature.
15500 alias -g '${1+"$@"}'='"$@"'
15501 setopt NO_GLOB_SUBST
15503 case `(set -o) 2>/dev/null` in #(
15515 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15516 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15517 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15518 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15519 # Prefer a ksh shell builtin over an external printf program on Solaris,
15520 # but without wasting forks for bash or zsh.
15521 if test -z "$BASH_VERSION$ZSH_VERSION" \
15522 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15523 as_echo='print
-r --'
15524 as_echo_n='print
-rn --'
15525 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15526 as_echo='printf %s
\n'
15527 as_echo_n='printf %s
'
15529 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15530 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15531 as_echo_n='/usr
/ucb
/echo -n'
15533 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15534 as_echo_n_body='eval
15538 expr "X$arg" : "X\\(.*\\)$as_nl";
15539 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15541 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15543 export as_echo_n_body
15544 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15546 export as_echo_body
15547 as_echo='sh
-c $as_echo_body as_echo
'
15550 # The user is always right.
15551 if test "${PATH_SEPARATOR+set}" != set; then
15553 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15554 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15561 # We need space, tab and new line, in precisely that order. Quoting is
15562 # there to prevent editors from complaining about space-tab.
15563 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15564 # splitting by setting IFS to empty value.)
15567 # Find who we are. Look in the path if we contain no directory separator.
15570 *[\\/]* ) as_myself=$0 ;;
15571 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15572 for as_dir in $PATH
15575 test -z "$as_dir" && as_dir=.
15576 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15582 # We did not find ourselves, most probably we were run as `sh COMMAND'
15583 # in which case we are not to be found in the path.
15584 if test "x$as_myself" = x
; then
15587 if test ! -f "$as_myself"; then
15588 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15592 # Unset variables that we do not need and which cause bugs (e.g. in
15593 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15594 # suppresses any "Segmentation fault" message there. '((' could
15595 # trigger a bug in pdksh 5.2.14.
15596 for as_var
in BASH_ENV ENV MAIL MAILPATH
15597 do eval test x\
${$as_var+set} = xset \
15598 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15611 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15614 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15615 # ----------------------------------------
15616 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15617 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15618 # script with STATUS, using 1 if that was 0.
15621 as_status
=$1; test $as_status -eq 0 && as_status
=1
15623 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15624 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15626 $as_echo "$as_me: error: $2" >&2
15627 as_fn_exit
$as_status
15631 # as_fn_set_status STATUS
15632 # -----------------------
15633 # Set $? to STATUS, without forking.
15634 as_fn_set_status
()
15637 } # as_fn_set_status
15639 # as_fn_exit STATUS
15640 # -----------------
15641 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15645 as_fn_set_status
$1
15651 # Portably unset VAR.
15654 { eval $1=; unset $1;}
15656 as_unset
=as_fn_unset
15657 # as_fn_append VAR VALUE
15658 # ----------------------
15659 # Append the text in VALUE to the end of the definition contained in VAR. Take
15660 # advantage of any shell optimizations that allow amortized linear growth over
15661 # repeated appends, instead of the typical quadratic growth present in naive
15663 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15664 eval 'as_fn_append ()
15675 # as_fn_arith ARG...
15676 # ------------------
15677 # Perform arithmetic evaluation on the ARGs, and store the result in the
15678 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15679 # must be portable across $(()) and expr.
15680 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15681 eval 'as_fn_arith ()
15688 as_val
=`expr "$@" || test $? -eq 1`
15693 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15694 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15700 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15701 as_basename
=basename
15706 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15712 as_me
=`$as_basename -- "$0" ||
15713 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15714 X"$0" : 'X\(//\)$' \| \
15715 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15717 sed '/^.*\/\([^/][^/]*\)\/*$/{
15731 # Avoid depending upon Character Ranges.
15732 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15733 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15734 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15735 as_cr_digits
='0123456789'
15736 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15738 ECHO_C
= ECHO_N
= ECHO_T
=
15739 case `echo -n x` in #(((((
15741 case `echo 'xy\c'` in
15742 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15744 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15751 rm -f conf$$ conf$$.exe conf$$.
file
15752 if test -d conf$$.dir
; then
15753 rm -f conf$$.dir
/conf$$.
file
15756 mkdir conf$$.dir
2>/dev
/null
15758 if (echo >conf$$.
file) 2>/dev
/null
; then
15759 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15761 # ... but there are two gotchas:
15762 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15763 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15764 # In both cases, we have to default to `cp -pR'.
15765 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15767 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15775 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15776 rmdir conf$$.dir
2>/dev
/null
15781 # Create "$as_dir" as a directory, including parents if necessary.
15786 -*) as_dir
=.
/$as_dir;;
15788 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15792 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15793 *) as_qdir
=$as_dir;;
15795 as_dirs
="'$as_qdir' $as_dirs"
15796 as_dir
=`$as_dirname -- "$as_dir" ||
15797 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15798 X"$as_dir" : 'X\(//\)[^/]' \| \
15799 X"$as_dir" : 'X\(//\)$' \| \
15800 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15801 $as_echo X"$as_dir" |
15802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15806 /^X\(\/\/\)[^/].*/{
15819 test -d "$as_dir" && break
15821 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15822 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15826 if mkdir
-p .
2>/dev
/null
; then
15827 as_mkdir_p
='mkdir -p "$as_dir"'
15829 test -d .
/-p && rmdir .
/-p
15834 # as_fn_executable_p FILE
15835 # -----------------------
15836 # Test if FILE is an executable regular file.
15837 as_fn_executable_p
()
15839 test -f "$1" && test -x "$1"
15840 } # as_fn_executable_p
15841 as_test_x
='test -x'
15842 as_executable_p
=as_fn_executable_p
15844 # Sed expression to map a string onto a valid CPP name.
15845 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15847 # Sed expression to map a string onto a valid variable name.
15848 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15852 ## ----------------------------------- ##
15853 ## Main body of $CONFIG_STATUS script. ##
15854 ## ----------------------------------- ##
15856 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15859 # Save the log message, to keep $0 and so on meaningful, and to
15860 # report actual input values of CONFIG_FILES etc. instead of their
15861 # values after options handling.
15863 This file was extended by package-unused $as_me version-unused, which was
15864 generated by GNU Autoconf 2.69. Invocation command line was
15866 CONFIG_FILES = $CONFIG_FILES
15867 CONFIG_HEADERS = $CONFIG_HEADERS
15868 CONFIG_LINKS = $CONFIG_LINKS
15869 CONFIG_COMMANDS = $CONFIG_COMMANDS
15872 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15877 case $ac_config_files in *"
15878 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15881 case $ac_config_headers in *"
15882 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15887 # Files that config.status was made for.
15888 config_files="$ac_config_files"
15889 config_headers="$ac_config_headers"
15890 config_commands="$ac_config_commands"
15894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15896 \`$as_me' instantiates files and other configuration actions
15897 from templates according to the current configuration. Unless the files
15898 and actions are specified as TAGs, all are instantiated by default.
15900 Usage: $0 [OPTION]... [TAG]...
15902 -h, --help print this help, then exit
15903 -V, --version print version number and configuration settings, then exit
15904 --config print configuration, then exit
15905 -q, --quiet, --silent
15906 do not print progress messages
15907 -d, --debug don't remove temporary files
15908 --recheck update $as_me by reconfiguring in the same conditions
15909 --file=FILE[:TEMPLATE]
15910 instantiate the configuration file FILE
15911 --header=FILE[:TEMPLATE]
15912 instantiate the configuration header FILE
15914 Configuration files:
15917 Configuration headers:
15920 Configuration commands:
15923 Report bugs to the package provider."
15926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15927 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15929 package-unused config.status version-unused
15930 configured by $0, generated by GNU Autoconf 2.69,
15931 with options \\"\$ac_cs_config\\"
15933 Copyright (C) 2012 Free Software Foundation, Inc.
15934 This config.status script is free software; the Free Software Foundation
15935 gives unlimited permission to copy, distribute and modify it."
15942 test -n "\$AWK" || AWK=awk
15945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15946 # The default lists apply if the user does not specify any file.
15952 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15953 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15957 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15969 # Handling of the options.
15970 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15972 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15973 $as_echo "$ac_cs_version"; exit ;;
15974 --config |
--confi |
--conf |
--con |
--co |
--c )
15975 $as_echo "$ac_cs_config"; exit ;;
15976 --debug |
--debu |
--deb |
--de |
--d |
-d )
15978 --file |
--fil |
--fi |
--f )
15981 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15982 '') as_fn_error $?
"missing file argument" ;;
15984 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15985 ac_need_defaults
=false
;;
15986 --header |
--heade |
--head |
--hea )
15989 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15991 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15992 ac_need_defaults
=false
;;
15994 # Conflict between --help and --header
15995 as_fn_error $?
"ambiguous option: \`$1'
15996 Try \`$0 --help' for more information.";;
15997 --help |
--hel |
-h )
15998 $as_echo "$ac_cs_usage"; exit ;;
15999 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16000 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16003 # This is an error.
16004 -*) as_fn_error $?
"unrecognized option: \`$1'
16005 Try \`$0 --help' for more information." ;;
16007 *) as_fn_append ac_config_targets
" $1"
16008 ac_need_defaults
=false
;;
16014 ac_configure_extra_args
=
16016 if $ac_cs_silent; then
16018 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16023 if \$ac_cs_recheck; then
16024 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16026 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16027 CONFIG_SHELL='$SHELL'
16028 export CONFIG_SHELL
16033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16037 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16038 ## Running $as_me. ##
16044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16052 with_multisubdir="$with_multisubdir"
16053 with_multisrctop="$with_multisrctop"
16054 with_target_subdir="$with_target_subdir"
16055 ac_configure_args="${multilib_arg} ${ac_configure_args}"
16056 multi_basedir="$multi_basedir"
16057 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
16060 GFORTRAN="$GFORTRAN"
16064 # The HP-UX ksh and POSIX shell print the target directory to stdout
16065 # if CDPATH is set.
16066 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16068 sed_quote_subst='$sed_quote_subst'
16069 double_quote_subst='$double_quote_subst'
16070 delay_variable_subst='$delay_variable_subst'
16071 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16072 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16073 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16074 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16075 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16076 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16077 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16078 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16079 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16080 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16081 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16082 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16083 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16084 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16085 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16086 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16087 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16088 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16089 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16090 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16091 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16092 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16093 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16094 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16095 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16096 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16097 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16098 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16099 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16100 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16101 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16102 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16103 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16104 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16105 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16106 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16107 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16108 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16109 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16110 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16111 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16112 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16113 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16114 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16115 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16116 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16117 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16118 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16119 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"`'
16120 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16121 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16122 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16123 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16124 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16125 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16126 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16127 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16128 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16129 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16130 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16131 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16132 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16133 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16134 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16135 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16136 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16137 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16138 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16139 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16140 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16141 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16142 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16143 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16144 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16145 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16146 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16147 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16148 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16149 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16150 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16151 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16152 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16153 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16154 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16155 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16156 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16157 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16158 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16159 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16160 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16161 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16162 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16163 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16164 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16165 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16166 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16167 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16168 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16169 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16170 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16171 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16172 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16173 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16174 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16175 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16176 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16177 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16178 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16179 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16180 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16181 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16182 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16183 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16184 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16185 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16186 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16187 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16188 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16189 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16190 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16191 LD_D='`$ECHO "$LD_D" | $SED "$delay_single_quote_subst"`'
16192 reload_flag_D='`$ECHO "$reload_flag_D" | $SED "$delay_single_quote_subst"`'
16193 reload_cmds_D='`$ECHO "$reload_cmds_D" | $SED "$delay_single_quote_subst"`'
16194 old_archive_cmds_D='`$ECHO "$old_archive_cmds_D" | $SED "$delay_single_quote_subst"`'
16195 compiler_D='`$ECHO "$compiler_D" | $SED "$delay_single_quote_subst"`'
16196 GCC_D='`$ECHO "$GCC_D" | $SED "$delay_single_quote_subst"`'
16197 lt_prog_compiler_no_builtin_flag_D='`$ECHO "$lt_prog_compiler_no_builtin_flag_D" | $SED "$delay_single_quote_subst"`'
16198 lt_prog_compiler_wl_D='`$ECHO "$lt_prog_compiler_wl_D" | $SED "$delay_single_quote_subst"`'
16199 lt_prog_compiler_pic_D='`$ECHO "$lt_prog_compiler_pic_D" | $SED "$delay_single_quote_subst"`'
16200 lt_prog_compiler_static_D='`$ECHO "$lt_prog_compiler_static_D" | $SED "$delay_single_quote_subst"`'
16201 lt_cv_prog_compiler_c_o_D='`$ECHO "$lt_cv_prog_compiler_c_o_D" | $SED "$delay_single_quote_subst"`'
16202 archive_cmds_need_lc_D='`$ECHO "$archive_cmds_need_lc_D" | $SED "$delay_single_quote_subst"`'
16203 enable_shared_with_static_runtimes_D='`$ECHO "$enable_shared_with_static_runtimes_D" | $SED "$delay_single_quote_subst"`'
16204 export_dynamic_flag_spec_D='`$ECHO "$export_dynamic_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16205 whole_archive_flag_spec_D='`$ECHO "$whole_archive_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16206 compiler_needs_object_D='`$ECHO "$compiler_needs_object_D" | $SED "$delay_single_quote_subst"`'
16207 old_archive_from_new_cmds_D='`$ECHO "$old_archive_from_new_cmds_D" | $SED "$delay_single_quote_subst"`'
16208 old_archive_from_expsyms_cmds_D='`$ECHO "$old_archive_from_expsyms_cmds_D" | $SED "$delay_single_quote_subst"`'
16209 archive_cmds_D='`$ECHO "$archive_cmds_D" | $SED "$delay_single_quote_subst"`'
16210 archive_expsym_cmds_D='`$ECHO "$archive_expsym_cmds_D" | $SED "$delay_single_quote_subst"`'
16211 module_cmds_D='`$ECHO "$module_cmds_D" | $SED "$delay_single_quote_subst"`'
16212 module_expsym_cmds_D='`$ECHO "$module_expsym_cmds_D" | $SED "$delay_single_quote_subst"`'
16213 with_gnu_ld_D='`$ECHO "$with_gnu_ld_D" | $SED "$delay_single_quote_subst"`'
16214 allow_undefined_flag_D='`$ECHO "$allow_undefined_flag_D" | $SED "$delay_single_quote_subst"`'
16215 no_undefined_flag_D='`$ECHO "$no_undefined_flag_D" | $SED "$delay_single_quote_subst"`'
16216 hardcode_libdir_flag_spec_D='`$ECHO "$hardcode_libdir_flag_spec_D" | $SED "$delay_single_quote_subst"`'
16217 hardcode_libdir_flag_spec_ld_D='`$ECHO "$hardcode_libdir_flag_spec_ld_D" | $SED "$delay_single_quote_subst"`'
16218 hardcode_libdir_separator_D='`$ECHO "$hardcode_libdir_separator_D" | $SED "$delay_single_quote_subst"`'
16219 hardcode_direct_D='`$ECHO "$hardcode_direct_D" | $SED "$delay_single_quote_subst"`'
16220 hardcode_direct_absolute_D='`$ECHO "$hardcode_direct_absolute_D" | $SED "$delay_single_quote_subst"`'
16221 hardcode_minus_L_D='`$ECHO "$hardcode_minus_L_D" | $SED "$delay_single_quote_subst"`'
16222 hardcode_shlibpath_var_D='`$ECHO "$hardcode_shlibpath_var_D" | $SED "$delay_single_quote_subst"`'
16223 hardcode_automatic_D='`$ECHO "$hardcode_automatic_D" | $SED "$delay_single_quote_subst"`'
16224 inherit_rpath_D='`$ECHO "$inherit_rpath_D" | $SED "$delay_single_quote_subst"`'
16225 link_all_deplibs_D='`$ECHO "$link_all_deplibs_D" | $SED "$delay_single_quote_subst"`'
16226 fix_srcfile_path_D='`$ECHO "$fix_srcfile_path_D" | $SED "$delay_single_quote_subst"`'
16227 always_export_symbols_D='`$ECHO "$always_export_symbols_D" | $SED "$delay_single_quote_subst"`'
16228 export_symbols_cmds_D='`$ECHO "$export_symbols_cmds_D" | $SED "$delay_single_quote_subst"`'
16229 exclude_expsyms_D='`$ECHO "$exclude_expsyms_D" | $SED "$delay_single_quote_subst"`'
16230 include_expsyms_D='`$ECHO "$include_expsyms_D" | $SED "$delay_single_quote_subst"`'
16231 prelink_cmds_D='`$ECHO "$prelink_cmds_D" | $SED "$delay_single_quote_subst"`'
16232 file_list_spec_D='`$ECHO "$file_list_spec_D" | $SED "$delay_single_quote_subst"`'
16233 hardcode_action_D='`$ECHO "$hardcode_action_D" | $SED "$delay_single_quote_subst"`'
16236 LTCFLAGS='$LTCFLAGS'
16237 compiler='$compiler_DEFAULT'
16239 # A function that is used when there is no print builtin or printf.
16240 func_fallback_echo ()
16242 eval 'cat <<_LTECHO_EOF
16247 # Quote evaled strings.
16261 deplibs_check_method \
16270 lt_cv_sys_global_symbol_pipe \
16271 lt_cv_sys_global_symbol_to_cdecl \
16272 lt_cv_sys_global_symbol_to_c_name_address \
16273 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16274 lt_prog_compiler_no_builtin_flag \
16275 lt_prog_compiler_wl \
16276 lt_prog_compiler_pic \
16277 lt_prog_compiler_static \
16278 lt_cv_prog_compiler_c_o \
16286 export_dynamic_flag_spec \
16287 whole_archive_flag_spec \
16288 compiler_needs_object \
16290 allow_undefined_flag \
16291 no_undefined_flag \
16292 hardcode_libdir_flag_spec \
16293 hardcode_libdir_flag_spec_ld \
16294 hardcode_libdir_separator \
16299 variables_saved_for_relink \
16301 library_names_spec \
16303 install_override_mode \
16310 lt_prog_compiler_no_builtin_flag_D \
16311 lt_prog_compiler_wl_D \
16312 lt_prog_compiler_pic_D \
16313 lt_prog_compiler_static_D \
16314 lt_cv_prog_compiler_c_o_D \
16315 export_dynamic_flag_spec_D \
16316 whole_archive_flag_spec_D \
16317 compiler_needs_object_D \
16319 allow_undefined_flag_D \
16320 no_undefined_flag_D \
16321 hardcode_libdir_flag_spec_D \
16322 hardcode_libdir_flag_spec_ld_D \
16323 hardcode_libdir_separator_D \
16324 fix_srcfile_path_D \
16325 exclude_expsyms_D \
16326 include_expsyms_D \
16327 file_list_spec_D; do
16328 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16329 *[\\\\\\\`\\"\\\$]*)
16330 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16333 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16338 # Double-quote double-evaled strings.
16339 for var in reload_cmds \
16340 old_postinstall_cmds \
16341 old_postuninstall_cmds \
16343 extract_expsyms_cmds \
16344 old_archive_from_new_cmds \
16345 old_archive_from_expsyms_cmds \
16347 archive_expsym_cmds \
16349 module_expsym_cmds \
16350 export_symbols_cmds \
16353 postuninstall_cmds \
16355 sys_lib_search_path_spec \
16356 sys_lib_dlsearch_path_spec \
16358 old_archive_cmds_D \
16359 old_archive_from_new_cmds_D \
16360 old_archive_from_expsyms_cmds_D \
16362 archive_expsym_cmds_D \
16364 module_expsym_cmds_D \
16365 export_symbols_cmds_D \
16367 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16368 *[\\\\\\\`\\"\\\$]*)
16369 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16372 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16377 ac_aux_dir='$ac_aux_dir'
16378 xsi_shell='$xsi_shell'
16379 lt_shell_append='$lt_shell_append'
16381 # See if we are running on zsh, and set the options which allow our
16382 # commands through without removal of \ escapes INIT.
16383 if test -n "\${ZSH_VERSION+set}" ; then
16384 setopt NO_GLOB_SUBST
16390 TIMESTAMP='$TIMESTAMP'
16401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16403 # Handling of arguments.
16404 for ac_config_target
in $ac_config_targets
16406 case $ac_config_target in
16407 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16408 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
16409 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16410 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16411 "libdruntime/gcc/config.d") CONFIG_FILES
="$CONFIG_FILES libdruntime/gcc/config.d" ;;
16412 "libdruntime/gcc/libbacktrace.d") CONFIG_FILES
="$CONFIG_FILES libdruntime/gcc/libbacktrace.d" ;;
16413 "src/libgphobos.spec") CONFIG_FILES
="$CONFIG_FILES src/libgphobos.spec" ;;
16414 "testsuite/testsuite_flags") CONFIG_FILES
="$CONFIG_FILES testsuite/testsuite_flags" ;;
16415 "libdruntime/Makefile") CONFIG_FILES
="$CONFIG_FILES libdruntime/Makefile" ;;
16416 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
16417 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
16419 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16424 # If the user did not use the arguments to specify the items to instantiate,
16425 # then the envvar interface is used. Set only those that are not.
16426 # We use the long form for the default assignment because of an extremely
16427 # bizarre bug on SunOS 4.1.3.
16428 if $ac_need_defaults; then
16429 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16430 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16431 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16434 # Have a temporary directory for convenience. Make it in the build tree
16435 # simply because there is no reason against having it here, and in addition,
16436 # creating and moving files from /tmp can sometimes cause problems.
16437 # Hook for its removal unless debugging.
16438 # Note that there is a small window in which the directory will not be cleaned:
16439 # after its creation but before its name has been assigned to `$tmp'.
16443 trap 'exit_status=$?
16444 : "${ac_tmp:=$tmp}"
16445 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16447 trap 'as_fn_exit 1' 1 2 13 15
16449 # Create a (secure) tmp directory for tmp files.
16452 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16456 tmp
=.
/conf$$
-$RANDOM
16457 (umask 077 && mkdir
"$tmp")
16458 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16461 # Set up the scripts for CONFIG_FILES section.
16462 # No need to generate them if there are no CONFIG_FILES.
16463 # This happens for instance with `./config.status config.h'.
16464 if test -n "$CONFIG_FILES"; then
16466 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16467 ac_cs_awk_getline
=:
16468 ac_cs_awk_pipe_init
=
16469 ac_cs_awk_read_file
='
16470 while ((getline aline < (F[key])) > 0)
16473 ac_cs_awk_pipe_fini
=
16475 ac_cs_awk_getline
=false
16476 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16477 ac_cs_awk_read_file
='
16479 print "cat " F[key] " &&"
16480 '$ac_cs_awk_pipe_init
16481 # The final `:' finishes the AND list.
16482 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16484 ac_cr
=`echo X | tr X '\015'`
16485 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16486 # But we know of no other shell where ac_cr would be empty at this
16487 # point, so we can use a bashism as a fallback.
16488 if test "x$ac_cr" = x
; then
16489 eval ac_cr
=\$
\'\\r
\'
16491 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16492 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16495 ac_cs_awk_cr
=$ac_cr
16498 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16501 # Create commands to substitute file output variables.
16503 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16504 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16505 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16508 } >conf$
$files.sh
&&
16509 . .
/conf$
$files.sh ||
16510 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16511 rm -f conf$
$files.sh
16514 echo "cat >conf$$subs.awk <<_ACEOF" &&
16515 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16517 } >conf$$subs.sh ||
16518 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16519 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16521 for ac_last_try in false false false false false :; do
16522 . ./conf$$subs.sh ||
16523 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16525 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16526 if test $ac_delim_n = $ac_delim_num; then
16528 elif $ac_last_try; then
16529 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16531 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16534 rm -f conf$$subs.sh
16536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16537 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16541 s/^/S["/; s
/!.
*/"]=/
16551 s/\(.\{148\}\)..*/\1/
16553 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16558 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16565 s/\(.\{148\}\)..*/\1/
16567 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16571 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16576 ' <conf$$subs.awk | sed '
16581 ' >>$CONFIG_STATUS || ac_write_fail=1
16582 rm -f conf$$subs.awk
16583 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16585 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16586 for (key in S) S_is_set[key] = 1
16588 \$ac_cs_awk_pipe_init
16592 nfields = split(line, field, "@
")
16594 len = length(field[1])
16595 for (i = 2; i < nfields; i++) {
16597 keylen = length(key)
16598 if (S_is_set[key]) {
16600 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16601 len += length(value) + length(field[++i])
16606 if (nfields == 3 && !substed) {
16608 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16609 \$ac_cs_awk_read_file
16615 \$ac_cs_awk_pipe_fini
16618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16619 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16620 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16623 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16624 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16627 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16628 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16629 # trailing colons and then remove the whole line if VPATH becomes empty
16630 # (actually we leave an empty line to preserve line numbers).
16631 if test "x
$srcdir" = x.; then
16632 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16651 fi # test -n "$CONFIG_FILES"
16653 # Set up the scripts for CONFIG_HEADERS section.
16654 # No need to generate them if there are no CONFIG_HEADERS.
16655 # This happens for instance with `./config.status Makefile'.
16656 if test -n "$CONFIG_HEADERS"; then
16657 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16661 # Transform confdefs.h into an awk script `defines.awk', embedded as
16662 # here-document in config.status, that substitutes the proper values into
16663 # config.h.in to produce config.h.
16665 # Create a delimiter string that does not exist in confdefs.h, to ease
16666 # handling of long lines.
16668 for ac_last_try in false false :; do
16669 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16670 if test -z "$ac_tt"; then
16672 elif $ac_last_try; then
16673 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16675 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16679 # For the awk script, D is an array of macro values keyed by name,
16680 # likewise P contains macro parameters if any. Preserve backslash
16681 # newline sequences.
16683 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16685 s/.\{148\}/&'"$ac_delim"'/g
16688 s/^[ ]*#[ ]*define[ ][ ]*/ /
16695 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16697 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16701 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16702 D["\
1"]=" \
3\\\\\\n
"\\/p
16704 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16709 s/.\{148\}/&'"$ac_delim"'/g
16714 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16717 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16719 ' <confdefs.h | sed '
16720 s/'"$ac_delim"'/"\\\
16721 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16724 for (key in D) D_is_set[key] = 1
16727 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16729 split(line, arg, " ")
16730 if (arg[1] == "#") {
16734 defundef
= substr
(arg
[1], 2)
16737 split(mac1
, mac2
, "(") #)
16739 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16740 if (D_is_set
[macro
]) {
16741 # Preserve the white space surrounding the "#".
16742 print prefix
"define", macro P
[macro
] D
[macro
]
16745 # Replace #undef with comments. This is necessary, for example,
16746 # in the case of _POSIX_SOURCE, which is predefined and required
16747 # on some systems where configure will not decide to define it.
16748 if (defundef
== "undef") {
16749 print
"/*", prefix defundef
, macro
, "*/"
16757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16758 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16759 fi # test -n "$CONFIG_HEADERS"
16762 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16767 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16769 case $ac_mode$ac_tag in
16771 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16772 :[FH
]-) ac_tag
=-:-;;
16773 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16790 -) ac_f
="$ac_tmp/stdin";;
16791 *) # Look for the file first in the build tree, then in the source tree
16792 # (if the path is not absolute). The absolute path cannot be DOS-style,
16793 # because $ac_f cannot contain `:'.
16797 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16799 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16801 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16802 as_fn_append ac_file_inputs
" '$ac_f'"
16805 # Let's still pretend it is `configure' which instantiates (i.e., don't
16806 # use $as_me), people would be surprised to read:
16807 # /* config.h. Generated by config.status. */
16808 configure_input
='Generated from '`
16809 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16811 if test x
"$ac_file" != x-
; then
16812 configure_input
="$ac_file. $configure_input"
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16814 $as_echo "$as_me: creating $ac_file" >&6;}
16816 # Neutralize special characters interpreted by sed in replacement strings.
16817 case $configure_input in #(
16818 *\
&* |
*\|
* |
*\\* )
16819 ac_sed_conf_input
=`$as_echo "$configure_input" |
16820 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16821 *) ac_sed_conf_input
=$configure_input;;
16825 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16826 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16831 ac_dir
=`$as_dirname -- "$ac_file" ||
16832 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16833 X"$ac_file" : 'X\(//\)[^/]' \| \
16834 X"$ac_file" : 'X\(//\)$' \| \
16835 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16836 $as_echo X"$ac_file" |
16837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16841 /^X\(\/\/\)[^/].*/{
16854 as_dir
="$ac_dir"; as_fn_mkdir_p
16858 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16860 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16861 # A ".." for each directory in $ac_dir_suffix.
16862 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16863 case $ac_top_builddir_sub in
16864 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16865 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16868 ac_abs_top_builddir
=$ac_pwd
16869 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16870 # for backward compatibility:
16871 ac_top_builddir
=$ac_top_build_prefix
16874 .
) # We are building in place.
16876 ac_top_srcdir
=$ac_top_builddir_sub
16877 ac_abs_top_srcdir
=$ac_pwd ;;
16878 [\\/]* | ?
:[\\/]* ) # Absolute name.
16879 ac_srcdir
=$srcdir$ac_dir_suffix;
16880 ac_top_srcdir
=$srcdir
16881 ac_abs_top_srcdir
=$srcdir ;;
16882 *) # Relative name.
16883 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16884 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16885 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16887 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16897 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16898 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16900 ac_MKDIR_P
=$MKDIR_P
16902 [\\/$
]* | ?
:[\\/]* ) ;;
16903 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16908 # If the template does not know about datarootdir, expand it.
16909 # FIXME: This hack should be removed a few years after 2.60.
16910 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16921 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16922 *datarootdir
*) ac_datarootdir_seen
=yes;;
16923 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16925 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16928 ac_datarootdir_hack='
16929 s&@datadir@&$datadir&g
16930 s&@docdir@&$docdir&g
16931 s&@infodir@&$infodir&g
16932 s&@localedir@&$localedir&g
16933 s&@mandir@&$mandir&g
16934 s&\\\${datarootdir}&$datarootdir&g' ;;
16938 # Neutralize VPATH when `$srcdir' = `.'.
16939 # Shell code in configure.ac might set extrasub.
16940 # FIXME: do we really want to maintain this feature?
16941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16942 ac_sed_extra="$ac_vpsub
16945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16947 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16948 s|@configure_input@|
$ac_sed_conf_input|
;t t
16949 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16950 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16951 s
&@srcdir@
&$ac_srcdir&;t t
16952 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16953 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16954 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16955 s
&@builddir@
&$ac_builddir&;t t
16956 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16957 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16958 s
&@INSTALL@
&$ac_INSTALL&;t t
16959 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16960 $ac_datarootdir_hack
16962 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16963 if $ac_cs_awk_getline; then
16964 $AWK -f "$ac_tmp/subs.
awk"
16966 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16968 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16970 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16971 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16972 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16973 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16975 which seems to be undefined. Please make sure it is defined" >&5
16976 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16977 which seems to be undefined. Please make sure it is defined" >&2;}
16979 rm -f "$ac_tmp/stdin"
16981 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16982 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16984 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16990 if test x"$ac_file" != x-; then
16992 $as_echo "/* $configure_input */" \
16993 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16994 } >"$ac_tmp/config.h" \
16995 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16996 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16998 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17001 mv "$ac_tmp/config.h" "$ac_file" \
17002 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17005 $as_echo "/* $configure_input */" \
17006 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17007 || as_fn_error $? "could not create -" "$LINENO" 5
17009 # Compute "$ac_file"'s index
in $config_headers.
17012 for _am_header
in $config_headers :; do
17013 case $_am_header in
17014 $_am_arg |
$_am_arg:* )
17017 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17020 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17021 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17022 X"$_am_arg" : 'X\(//\)[^/]' \| \
17023 X"$_am_arg" : 'X\(//\)$' \| \
17024 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17025 $as_echo X"$_am_arg" |
17026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17030 /^X\(\/\/\)[^/].*/{
17042 s/.*/./; q'`/stamp-h
$_am_stamp_count
17045 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17046 $as_echo "$as_me: executing $ac_file commands" >&6;}
17051 case $ac_file$ac_mode in
17053 # Only add multilib support code if we just rebuilt the top-level
17055 case " $CONFIG_FILES " in
17057 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
17062 # See if we are running on zsh, and set the options which allow our
17063 # commands through without removal of \ escapes.
17064 if test -n "${ZSH_VERSION+set}" ; then
17065 setopt NO_GLOB_SUBST
17068 cfgfile
="${ofile}T"
17069 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17072 cat <<_LT_EOF >> "$cfgfile"
17075 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17076 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17077 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17078 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17080 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17081 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
17082 # Written by Gordon Matzigkeit, 1996
17084 # This file is part of GNU Libtool.
17086 # GNU Libtool is free software; you can redistribute it and/or
17087 # modify it under the terms of the GNU General Public License as
17088 # published by the Free Software Foundation; either version 2 of
17089 # the License, or (at your option) any later version.
17091 # As a special exception to the GNU General Public License,
17092 # if you distribute this file as part of a program or library that
17093 # is built using GNU Libtool, you may include this file under the
17094 # same distribution terms that you use for the rest of that program.
17096 # GNU Libtool is distributed in the hope that it will be useful,
17097 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17098 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17099 # GNU General Public License for more details.
17101 # You should have received a copy of the GNU General Public License
17102 # along with GNU Libtool; see the file COPYING. If not, a copy
17103 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17104 # obtained by writing to the Free Software Foundation, Inc.,
17105 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17108 # The names of the tagged configurations supported by this script.
17109 available_tags="D "
17111 # ### BEGIN LIBTOOL CONFIG
17113 # Which release of libtool.m4 was used?
17114 macro_version=$macro_version
17115 macro_revision=$macro_revision
17117 # Whether or not to build shared libraries.
17118 build_libtool_libs=$enable_shared
17120 # Whether or not to build static libraries.
17121 build_old_libs=$enable_static
17123 # What type of objects to build.
17126 # Whether or not to optimize for fast installation.
17127 fast_install=$enable_fast_install
17129 # Shell to use when invoking shell scripts.
17132 # An echo program that protects backslashes.
17136 host_alias=$host_alias
17140 # The build system.
17141 build_alias=$build_alias
17145 # A sed program that does not truncate output.
17148 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17149 Xsed="\$SED -e 1s/^X//"
17151 # A grep program that handles long lines.
17157 # A literal string matcher.
17160 # A BSD- or MS-compatible name lister.
17163 # Whether we need soft or hard links.
17166 # What is the maximum length of a command?
17167 max_cmd_len=$max_cmd_len
17169 # Object file suffix (normally "o").
17172 # Executable file suffix (normally "").
17175 # whether the shell understands "unset".
17178 # turn spaces into newlines.
17181 # turn newlines into spaces.
17184 # An object symbol dumper.
17185 OBJDUMP=$lt_OBJDUMP
17187 # Method to check whether dependent libraries are shared objects.
17188 deplibs_check_method=$lt_deplibs_check_method
17190 # Command to use when deplibs_check_method == "file_magic".
17191 file_magic_cmd=$lt_file_magic_cmd
17195 AR_FLAGS=$lt_AR_FLAGS
17197 # A symbol stripping program.
17200 # Commands used to install an old-style archive.
17202 old_postinstall_cmds=$lt_old_postinstall_cmds
17203 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17205 # Whether to use a lock for old archive extraction.
17206 lock_old_archive_extraction=$lock_old_archive_extraction
17211 # LTCC compiler flags.
17212 LTCFLAGS=$lt_CFLAGS
17214 # Take the output of nm and produce a listing of raw symbols and C names.
17215 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17217 # Transform the output of nm in a proper C declaration.
17218 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17220 # Transform the output of nm in a C name address pair.
17221 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17223 # Transform the output of nm in a C name address pair when lib prefix is needed.
17224 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17226 # The name of the directory that contains temporary libtool files.
17229 # Used to examine libraries when file_magic_cmd begins with "file".
17230 MAGIC_CMD=$MAGIC_CMD
17232 # Must we lock files when doing compilation?
17233 need_locks=$lt_need_locks
17235 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17236 DSYMUTIL=$lt_DSYMUTIL
17238 # Tool to change global to local symbols on Mac OS X.
17241 # Tool to manipulate fat objects and archives on Mac OS X.
17244 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17247 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17248 OTOOL64=$lt_OTOOL64
17250 # Old archive suffix (normally "a").
17253 # Shared library suffix (normally ".so").
17254 shrext_cmds=$lt_shrext_cmds
17256 # The commands to extract the exported symbol list from a shared archive.
17257 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17259 # Variables whose values should be saved in libtool wrapper scripts and
17260 # restored at link time.
17261 variables_saved_for_relink=$lt_variables_saved_for_relink
17263 # Do we need the "lib" prefix for modules?
17264 need_lib_prefix=$need_lib_prefix
17266 # Do we need a version for libraries?
17267 need_version=$need_version
17269 # Library versioning type.
17270 version_type=$version_type
17272 # Shared library runtime path variable.
17273 runpath_var=$runpath_var
17275 # Shared library path variable.
17276 shlibpath_var=$shlibpath_var
17278 # Is shlibpath searched before the hard-coded library search path?
17279 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17281 # Format of library name prefix.
17282 libname_spec=$lt_libname_spec
17284 # List of archive names. First name is the real one, the rest are links.
17285 # The last name is the one that the linker finds with -lNAME
17286 library_names_spec=$lt_library_names_spec
17288 # The coded name of the library, if different from the real name.
17289 soname_spec=$lt_soname_spec
17291 # Permission mode override for installation of shared libraries.
17292 install_override_mode=$lt_install_override_mode
17294 # Command to use after installation of a shared archive.
17295 postinstall_cmds=$lt_postinstall_cmds
17297 # Command to use after uninstallation of a shared archive.
17298 postuninstall_cmds=$lt_postuninstall_cmds
17300 # Commands used to finish a libtool library installation in a directory.
17301 finish_cmds=$lt_finish_cmds
17303 # As "finish_cmds", except a single script fragment to be evaled but
17305 finish_eval=$lt_finish_eval
17307 # Whether we should hardcode library paths into libraries.
17308 hardcode_into_libs=$hardcode_into_libs
17310 # Compile-time system search path for libraries.
17311 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17313 # Run-time system search path for libraries.
17314 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17316 # Whether dlopen is supported.
17317 dlopen_support=$enable_dlopen
17319 # Whether dlopen of programs is supported.
17320 dlopen_self=$enable_dlopen_self
17322 # Whether dlopen of statically linked programs is supported.
17323 dlopen_self_static=$enable_dlopen_self_static
17325 # Commands to strip libraries.
17326 old_striplib=$lt_old_striplib
17327 striplib=$lt_striplib
17330 # The linker used to build libraries.
17333 # How to create reloadable object files.
17334 reload_flag=$lt_reload_flag
17335 reload_cmds=$lt_reload_cmds
17337 # Commands used to build an old-style archive.
17338 old_archive_cmds=$lt_old_archive_cmds
17340 # A language specific compiler.
17343 # Is the compiler the GNU compiler?
17346 # Compiler flag to turn off builtin functions.
17347 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17349 # How to pass a linker flag through the compiler.
17350 wl=$lt_lt_prog_compiler_wl
17352 # Additional compiler flags for building library objects.
17353 pic_flag=$lt_lt_prog_compiler_pic
17355 # Compiler flag to prevent dynamic linking.
17356 link_static_flag=$lt_lt_prog_compiler_static
17358 # Does compiler simultaneously support -c and -o options?
17359 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17361 # Whether or not to add -lc for building shared libraries.
17362 build_libtool_need_lc=$archive_cmds_need_lc
17364 # Whether or not to disallow shared libs when runtime libs are static.
17365 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17367 # Compiler flag to allow reflexive dlopens.
17368 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17370 # Compiler flag to generate shared objects directly from archives.
17371 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17373 # Whether the compiler copes with passing no objects directly.
17374 compiler_needs_object=$lt_compiler_needs_object
17376 # Create an old-style archive from a shared archive.
17377 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17379 # Create a temporary old-style archive to link instead of a shared archive.
17380 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17382 # Commands used to build a shared archive.
17383 archive_cmds=$lt_archive_cmds
17384 archive_expsym_cmds=$lt_archive_expsym_cmds
17386 # Commands used to build a loadable module if different from building
17387 # a shared archive.
17388 module_cmds=$lt_module_cmds
17389 module_expsym_cmds=$lt_module_expsym_cmds
17391 # Whether we are building with GNU ld or not.
17392 with_gnu_ld=$lt_with_gnu_ld
17394 # Flag that allows shared libraries with undefined symbols to be built.
17395 allow_undefined_flag=$lt_allow_undefined_flag
17397 # Flag that enforces no undefined symbols.
17398 no_undefined_flag=$lt_no_undefined_flag
17400 # Flag to hardcode \$libdir into a binary during linking.
17401 # This must work even if \$libdir does not exist
17402 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17404 # If ld is used when linking, flag to hardcode \$libdir into a binary
17405 # during linking. This must work even if \$libdir does not exist.
17406 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17408 # Whether we need a single "-rpath" flag with a separated argument.
17409 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17411 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17412 # DIR into the resulting binary.
17413 hardcode_direct=$hardcode_direct
17415 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17416 # DIR into the resulting binary and the resulting library dependency is
17417 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17418 # library is relocated.
17419 hardcode_direct_absolute=$hardcode_direct_absolute
17421 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17422 # into the resulting binary.
17423 hardcode_minus_L=$hardcode_minus_L
17425 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17426 # into the resulting binary.
17427 hardcode_shlibpath_var=$hardcode_shlibpath_var
17429 # Set to "yes" if building a shared library automatically hardcodes DIR
17430 # into the library and all subsequent libraries and executables linked
17432 hardcode_automatic=$hardcode_automatic
17434 # Set to yes if linker adds runtime paths of dependent libraries
17435 # to runtime path list.
17436 inherit_rpath=$inherit_rpath
17438 # Whether libtool must link a program against all its dependency libraries.
17439 link_all_deplibs=$link_all_deplibs
17441 # Fix the shell variable \$srcfile for the compiler.
17442 fix_srcfile_path=$lt_fix_srcfile_path
17444 # Set to "yes" if exported symbols are required.
17445 always_export_symbols=$always_export_symbols
17447 # The commands to list exported symbols.
17448 export_symbols_cmds=$lt_export_symbols_cmds
17450 # Symbols that should not be listed in the preloaded symbols.
17451 exclude_expsyms=$lt_exclude_expsyms
17453 # Symbols that must always be exported.
17454 include_expsyms=$lt_include_expsyms
17456 # Commands necessary for linking programs (against libraries) with templates.
17457 prelink_cmds=$lt_prelink_cmds
17459 # Specify filename containing input files.
17460 file_list_spec=$lt_file_list_spec
17462 # How to hardcode a shared library path into an executable.
17463 hardcode_action=$hardcode_action
17465 # ### END LIBTOOL CONFIG
17471 cat <<\_LT_EOF
>> "$cfgfile"
17472 # AIX sometimes has problems with the GCC collect2 program. For some
17473 # reason, if we set the COLLECT_NAMES environment variable, the problems
17474 # vanish in a puff of smoke.
17475 if test "X${COLLECT_NAMES+set}" != Xset
; then
17477 export COLLECT_NAMES
17484 ltmain
="$ac_aux_dir/ltmain.sh"
17487 # We use sed instead of cat because bash on DJGPP gets confused if
17488 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17489 # text mode, it properly converts lines to CR/LF. This bash problem
17490 # is reportedly fixed, but why not run on old versions too?
17491 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17492 ||
(rm -f "$cfgfile"; exit 1)
17496 cat << \_LT_EOF
>> "$cfgfile"
17498 # func_dirname file append nondir_replacement
17499 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17500 # otherwise set result to NONDIR_REPLACEMENT.
17504 */*) func_dirname_result
="${1%/*}${2}" ;;
17505 * ) func_dirname_result
="${3}" ;;
17509 # func_basename file
17512 func_basename_result
="${1##*/}"
17515 # func_dirname_and_basename file append nondir_replacement
17516 # perform func_basename and func_dirname in a single function
17518 # dirname: Compute the dirname of FILE. If nonempty,
17519 # add APPEND to the result, otherwise set result
17520 # to NONDIR_REPLACEMENT.
17521 # value returned in "$func_dirname_result"
17522 # basename: Compute filename of FILE.
17523 # value retuned in "$func_basename_result"
17524 # Implementation must be kept synchronized with func_dirname
17525 # and func_basename. For efficiency, we do not delegate to
17526 # those functions but instead duplicate the functionality here.
17527 func_dirname_and_basename
()
17530 */*) func_dirname_result
="${1%/*}${2}" ;;
17531 * ) func_dirname_result
="${3}" ;;
17533 func_basename_result
="${1##*/}"
17536 # func_stripname prefix suffix name
17537 # strip PREFIX and SUFFIX off of NAME.
17538 # PREFIX and SUFFIX must not contain globbing or regex special
17539 # characters, hashes, percent signs, but SUFFIX may contain a leading
17540 # dot (in which case that matches only a dot).
17543 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17544 # positional parameters, so assign one to ordinary parameter first.
17545 func_stripname_result
=${3}
17546 func_stripname_result
=${func_stripname_result#"${1}"}
17547 func_stripname_result
=${func_stripname_result%"${2}"}
17553 func_opt_split_opt
=${1%%=*}
17554 func_opt_split_arg
=${1#*=}
17561 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17562 *) func_lo2o_result
=${1} ;;
17566 # func_xform libobj-or-source
17569 func_xform_result
=${1%.*}.lo
17572 # func_arith arithmetic-term...
17575 func_arith_result
=$
(( $
* ))
17579 # STRING may not start with a hyphen.
17582 func_len_result
=${#1}
17587 *) # Bourne compatible functions.
17588 cat << \_LT_EOF
>> "$cfgfile"
17590 # func_dirname file append nondir_replacement
17591 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17592 # otherwise set result to NONDIR_REPLACEMENT.
17595 # Extract subdirectory from the argument.
17596 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
17597 if test "X$func_dirname_result" = "X${1}"; then
17598 func_dirname_result
="${3}"
17600 func_dirname_result
="$func_dirname_result${2}"
17604 # func_basename file
17607 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
17611 # func_stripname prefix suffix name
17612 # strip PREFIX and SUFFIX off of NAME.
17613 # PREFIX and SUFFIX must not contain globbing or regex special
17614 # characters, hashes, percent signs, but SUFFIX may contain a leading
17615 # dot (in which case that matches only a dot).
17616 # func_strip_suffix prefix name
17620 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17621 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17626 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17627 my_sed_long_arg
='1s/^-[^=]*=//'
17632 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
17633 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17639 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
17642 # func_xform libobj-or-source
17645 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17648 # func_arith arithmetic-term...
17651 func_arith_result
=`expr "$@"`
17655 # STRING may not start with a hyphen.
17658 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17664 case $lt_shell_append in
17666 cat << \_LT_EOF
>> "$cfgfile"
17668 # func_append var value
17669 # Append VALUE to the end of shell variable VAR.
17677 cat << \_LT_EOF
>> "$cfgfile"
17679 # func_append var value
17680 # Append VALUE to the end of shell variable VAR.
17691 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17692 ||
(rm -f "$cfgfile"; exit 1)
17694 mv -f "$cfgfile" "$ofile" ||
17695 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17699 cat <<_LT_EOF >> "$ofile"
17701 # ### BEGIN LIBTOOL TAG CONFIG: D
17703 # The linker used to build libraries.
17706 # How to create reloadable object files.
17707 reload_flag=$lt_reload_flag_D
17708 reload_cmds=$lt_reload_cmds_D
17710 # Commands used to build an old-style archive.
17711 old_archive_cmds=$lt_old_archive_cmds_D
17713 # A language specific compiler.
17716 # Is the compiler the GNU compiler?
17719 # Compiler flag to turn off builtin functions.
17720 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_D
17722 # How to pass a linker flag through the compiler.
17723 wl=$lt_lt_prog_compiler_wl_D
17725 # Additional compiler flags for building library objects.
17726 pic_flag=$lt_lt_prog_compiler_pic_D
17728 # Compiler flag to prevent dynamic linking.
17729 link_static_flag=$lt_lt_prog_compiler_static_D
17731 # Does compiler simultaneously support -c and -o options?
17732 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_D
17734 # Whether or not to add -lc for building shared libraries.
17735 build_libtool_need_lc=$archive_cmds_need_lc_D
17737 # Whether or not to disallow shared libs when runtime libs are static.
17738 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_D
17740 # Compiler flag to allow reflexive dlopens.
17741 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_D
17743 # Compiler flag to generate shared objects directly from archives.
17744 whole_archive_flag_spec=$lt_whole_archive_flag_spec_D
17746 # Whether the compiler copes with passing no objects directly.
17747 compiler_needs_object=$lt_compiler_needs_object_D
17749 # Create an old-style archive from a shared archive.
17750 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_D
17752 # Create a temporary old-style archive to link instead of a shared archive.
17753 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_D
17755 # Commands used to build a shared archive.
17756 archive_cmds=$lt_archive_cmds_D
17757 archive_expsym_cmds=$lt_archive_expsym_cmds_D
17759 # Commands used to build a loadable module if different from building
17760 # a shared archive.
17761 module_cmds=$lt_module_cmds_D
17762 module_expsym_cmds=$lt_module_expsym_cmds_D
17764 # Whether we are building with GNU ld or not.
17765 with_gnu_ld=$lt_with_gnu_ld_D
17767 # Flag that allows shared libraries with undefined symbols to be built.
17768 allow_undefined_flag=$lt_allow_undefined_flag_D
17770 # Flag that enforces no undefined symbols.
17771 no_undefined_flag=$lt_no_undefined_flag_D
17773 # Flag to hardcode \$libdir into a binary during linking.
17774 # This must work even if \$libdir does not exist
17775 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_D
17777 # If ld is used when linking, flag to hardcode \$libdir into a binary
17778 # during linking. This must work even if \$libdir does not exist.
17779 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_D
17781 # Whether we need a single "-rpath" flag with a separated argument.
17782 hardcode_libdir_separator=$lt_hardcode_libdir_separator_D
17784 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17785 # DIR into the resulting binary.
17786 hardcode_direct=$hardcode_direct_D
17788 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17789 # DIR into the resulting binary and the resulting library dependency is
17790 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17791 # library is relocated.
17792 hardcode_direct_absolute=$hardcode_direct_absolute_D
17794 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17795 # into the resulting binary.
17796 hardcode_minus_L=$hardcode_minus_L_D
17798 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17799 # into the resulting binary.
17800 hardcode_shlibpath_var=$hardcode_shlibpath_var_D
17802 # Set to "yes" if building a shared library automatically hardcodes DIR
17803 # into the library and all subsequent libraries and executables linked
17805 hardcode_automatic=$hardcode_automatic_D
17807 # Set to yes if linker adds runtime paths of dependent libraries
17808 # to runtime path list.
17809 inherit_rpath=$inherit_rpath_D
17811 # Whether libtool must link a program against all its dependency libraries.
17812 link_all_deplibs=$link_all_deplibs_D
17814 # Fix the shell variable \$srcfile for the compiler.
17815 fix_srcfile_path=$lt_fix_srcfile_path_D
17817 # Set to "yes" if exported symbols are required.
17818 always_export_symbols=$always_export_symbols_D
17820 # The commands to list exported symbols.
17821 export_symbols_cmds=$lt_export_symbols_cmds_D
17823 # Symbols that should not be listed in the preloaded symbols.
17824 exclude_expsyms=$lt_exclude_expsyms_D
17826 # Symbols that must always be exported.
17827 include_expsyms=$lt_include_expsyms_D
17829 # Commands necessary for linking programs (against libraries) with templates.
17830 prelink_cmds=$lt_prelink_cmds_D
17832 # Specify filename containing input files.
17833 file_list_spec=$lt_file_list_spec_D
17835 # How to hardcode a shared library path into an executable.
17836 hardcode_action=$hardcode_action_D
17838 # ### END LIBTOOL TAG CONFIG: D
17842 "testsuite/testsuite_flags":F
) chmod +x testsuite
/testsuite_flags
;;
17843 "libdruntime/Makefile":F
) cat > vpsed$$
<< \_EOF
17844 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17846 sed -f vpsed$$
$ac_file > tmp$$
17849 echo 'MULTISUBDIR =' >> $ac_file
17851 .
${multi_basedir}/config-ml.
in
17852 { ml_norecursion
=; unset ml_norecursion
;}
17854 "src/Makefile":F
) cat > vpsed$$
<< \_EOF
17855 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17857 sed -f vpsed$$
$ac_file > tmp$$
17860 echo 'MULTISUBDIR =' >> $ac_file
17862 .
${multi_basedir}/config-ml.
in
17863 { ml_norecursion
=; unset ml_norecursion
;}
17865 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
17866 s
!`test -f '$<' || echo '$(srcdir)/'`!!
17868 sed -f vpsed$$
$ac_file > tmp$$
17871 echo 'MULTISUBDIR =' >> $ac_file
17873 .
${multi_basedir}/config-ml.
in
17874 { ml_norecursion
=; unset ml_norecursion
;}
17883 ac_clean_files
=$ac_clean_files_save
17885 test $ac_write_fail = 0 ||
17886 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17889 # configure is writing to config.log, and then calls config.status.
17890 # config.status does its own redirection, appending to config.log.
17891 # Unfortunately, on DOS this fails, as config.log is still kept open
17892 # by configure, so config.status won't be able to write to it; its
17893 # output is simply discarded. So we exec the FD to /dev/null,
17894 # effectively closing config.log, so it can be properly (re)opened and
17895 # appended to by config.status. When coming back to configure, we
17896 # need to make the FD available again.
17897 if test "$no_create" != yes; then
17899 ac_config_status_args
=
17900 test "$silent" = yes &&
17901 ac_config_status_args
="$ac_config_status_args --quiet"
17903 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17905 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17906 # would make configure fail if this is the last instruction.
17907 $ac_cs_success || as_fn_exit
1
17909 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17911 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}